C# Class Stripe.StripeCouponService

Datei anzeigen Open project: jaymedavis/stripe.net Class Usage Examples

Public Methods

Method Description
Create ( Stripe.StripeCouponCreateOptions createOptions, Stripe.StripeRequestOptions requestOptions = null ) : Stripe.StripeCoupon
CreateAsync ( StripeCouponCreateOptions createOptions, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task
Delete ( string couponId, StripeRequestOptions requestOptions = null ) : StripeDeleted
DeleteAsync ( string couponId, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task
Get ( string couponId, StripeRequestOptions requestOptions = null ) : StripeCoupon
GetAsync ( string couponId, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task
List ( StripeListOptions listOptions = null, StripeRequestOptions requestOptions = null ) : IEnumerable
ListAsync ( StripeListOptions listOptions = null, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task>
StripeCouponService ( string apiKey = null ) : System.Collections.Generic
Update ( string couponId, StripeCouponUpdateOptions updateOptions, StripeRequestOptions requestOptions = null ) : StripeCoupon
UpdateAsync ( string couponId, StripeCouponUpdateOptions updateOptions, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Method Details

Create() public method

public Create ( Stripe.StripeCouponCreateOptions createOptions, Stripe.StripeRequestOptions requestOptions = null ) : Stripe.StripeCoupon
createOptions Stripe.StripeCouponCreateOptions
requestOptions Stripe.StripeRequestOptions
return Stripe.StripeCoupon

CreateAsync() public method

public CreateAsync ( StripeCouponCreateOptions createOptions, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task
createOptions StripeCouponCreateOptions
requestOptions StripeRequestOptions
cancellationToken CancellationToken
return Task

Delete() public method

public Delete ( string couponId, StripeRequestOptions requestOptions = null ) : StripeDeleted
couponId string
requestOptions StripeRequestOptions
return StripeDeleted

DeleteAsync() public method

public DeleteAsync ( string couponId, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task
couponId string
requestOptions StripeRequestOptions
cancellationToken CancellationToken
return Task

Get() public method

public Get ( string couponId, StripeRequestOptions requestOptions = null ) : StripeCoupon
couponId string
requestOptions StripeRequestOptions
return StripeCoupon

GetAsync() public method

public GetAsync ( string couponId, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task
couponId string
requestOptions StripeRequestOptions
cancellationToken CancellationToken
return Task

List() public method

public List ( StripeListOptions listOptions = null, StripeRequestOptions requestOptions = null ) : IEnumerable
listOptions StripeListOptions
requestOptions StripeRequestOptions
return IEnumerable

ListAsync() public method

public ListAsync ( StripeListOptions listOptions = null, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task>
listOptions StripeListOptions
requestOptions StripeRequestOptions
cancellationToken CancellationToken
return Task>

StripeCouponService() public method

public StripeCouponService ( string apiKey = null ) : System.Collections.Generic
apiKey string
return System.Collections.Generic

Update() public method

public Update ( string couponId, StripeCouponUpdateOptions updateOptions, StripeRequestOptions requestOptions = null ) : StripeCoupon
couponId string
updateOptions StripeCouponUpdateOptions
requestOptions StripeRequestOptions
return StripeCoupon

UpdateAsync() public method

public UpdateAsync ( string couponId, StripeCouponUpdateOptions updateOptions, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task
couponId string
updateOptions StripeCouponUpdateOptions
requestOptions StripeRequestOptions
cancellationToken CancellationToken
return Task