// Sync
 public virtual StripeSku Create(StripeSkuCreateOptions options, StripeRequestOptions requestOptions = null)
 {
     return(Post($"{Urls.BaseUrl}/skus", requestOptions, options));
 }
 // Async
 public virtual Task <StripeSku> CreateAsync(StripeSkuCreateOptions options, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(PostAsync($"{Urls.BaseUrl}/skus", requestOptions, cancellationToken, options));
 }
示例#3
0
 public virtual StripeSku Create(StripeSkuCreateOptions createOptions = null, StripeRequestOptions requestOptions = null)
 {
     return(Post(Urls.Skus, requestOptions));
 }