コード例 #1
0
 public virtual StripeOrder Pay(string orderId, StripeOrderPayOptions options, StripeRequestOptions requestOptions = null)
 {
     return(Post($"{Urls.BaseUrl}/orders/{orderId}/pay", requestOptions, options));
 }
コード例 #2
0
 public virtual Task <StripeOrder> PayAsync(string orderId, StripeOrderPayOptions options, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(PostAsync($"{Urls.BaseUrl}/orders/{orderId}/pay", requestOptions, cancellationToken, options));
 }
コード例 #3
0
 public virtual StripeOrder Pay(string orderId, StripeOrderPayOptions payOptions, StripeRequestOptions requestOptions = null)
 {
     return(Post($"{Urls.Orders}/{orderId}/pay", requestOptions, payOptions));
 }