C# Class Recurly.CouponRedemption

Represents an instance where a coupon has been redeemed for a subscription
Afficher le fichier Open project: recurly/recurly-client-net Class Usage Examples

Méthodes publiques

Méthode Description
Delete ( ) : void

Removes a coupon from an account

Equals ( CouponRedemption coupon ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
ToString ( ) : string

Private Methods

Méthode Description
CouponRedemption ( ) : System
CouponRedemption ( XmlTextReader reader ) : System
ReadXml ( XmlTextReader reader ) : void
Redeem ( string accountCode, string couponCode, string currency, string subscriptionUuid = null ) : CouponRedemption

Redeem an active coupon for an account

WriteXml ( XmlTextWriter xmlWriter ) : void

Method Details

Delete() public méthode

Removes a coupon from an account
public Delete ( ) : void
Résultat void

Equals() public méthode

public Equals ( CouponRedemption coupon ) : bool
coupon CouponRedemption
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

ToString() public méthode

public ToString ( ) : string
Résultat string