C# Class Stripe.StripeCouponService

Afficher le fichier Open project: jaymedavis/stripe.net Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Create ( Stripe.StripeCouponCreateOptions createOptions, Stripe.StripeRequestOptions requestOptions = null ) : Stripe.StripeCoupon
createOptions Stripe.StripeCouponCreateOptions
requestOptions Stripe.StripeRequestOptions
Résultat Stripe.StripeCoupon

CreateAsync() public méthode

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

Delete() public méthode

public Delete ( string couponId, StripeRequestOptions requestOptions = null ) : StripeDeleted
couponId string
requestOptions StripeRequestOptions
Résultat StripeDeleted

DeleteAsync() public méthode

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

Get() public méthode

public Get ( string couponId, StripeRequestOptions requestOptions = null ) : StripeCoupon
couponId string
requestOptions StripeRequestOptions
Résultat StripeCoupon

GetAsync() public méthode

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

List() public méthode

public List ( StripeListOptions listOptions = null, StripeRequestOptions requestOptions = null ) : IEnumerable
listOptions StripeListOptions
requestOptions StripeRequestOptions
Résultat IEnumerable

ListAsync() public méthode

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

StripeCouponService() public méthode

public StripeCouponService ( string apiKey = null ) : System.Collections.Generic
apiKey string
Résultat System.Collections.Generic

Update() public méthode

public Update ( string couponId, StripeCouponUpdateOptions updateOptions, StripeRequestOptions requestOptions = null ) : StripeCoupon
couponId string
updateOptions StripeCouponUpdateOptions
requestOptions StripeRequestOptions
Résultat StripeCoupon

UpdateAsync() public méthode

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