public virtual Task <Source> AttachAsync(string customerId, SourceAttachOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return(this.RequestAsync <Source>(HttpMethod.Post, $"/v1/customers/{customerId}/sources", options, requestOptions, cancellationToken)); }
public virtual Task <Source> AttachAsync(string customerId, SourceAttachOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken)) { return(this.PostRequestAsync <Source>($"{Urls.BaseUrl}/customers/{customerId}/sources", options, requestOptions, cancellationToken)); }
public virtual Source Attach(string customerId, SourceAttachOptions options, RequestOptions requestOptions = null) { return(this.Request <Source>(HttpMethod.Post, $"/v1/customers/{customerId}/sources", options, requestOptions)); }
public virtual Source Attach(string customerId, SourceAttachOptions options, RequestOptions requestOptions = null) { return(this.PostRequest <Source>($"{Urls.BaseUrl}/customers/{customerId}/sources", options, requestOptions)); }