예제 #1
0
 // Sync
 public virtual StripeOrder Create(StripeOrderCreateOptions options, StripeRequestOptions requestOptions = null)
 {
     return(Post($"{Urls.BaseUrl}/orders", requestOptions, options));
 }
예제 #2
0
 // Async
 public virtual Task <StripeOrder> CreateAsync(StripeOrderCreateOptions options, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(PostAsync($"{Urls.BaseUrl}/orders", requestOptions, cancellationToken, options));
 }
예제 #3
0
 public virtual StripeOrder Create(StripeOrderCreateOptions createOptions = null, StripeRequestOptions requestOptions = null)
 {
     return(Post(Urls.Orders, requestOptions, createOptions));
 }