Esempio n. 1
0
 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));
 }
Esempio n. 2
0
 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));
 }
Esempio n. 3
0
 public virtual Source Attach(string customerId, SourceAttachOptions options, RequestOptions requestOptions = null)
 {
     return(this.Request <Source>(HttpMethod.Post, $"/v1/customers/{customerId}/sources", options, requestOptions));
 }
Esempio n. 4
0
 public virtual Source Attach(string customerId, SourceAttachOptions options, RequestOptions requestOptions = null)
 {
     return(this.PostRequest <Source>($"{Urls.BaseUrl}/customers/{customerId}/sources", options, requestOptions));
 }