Redeem() static private method

Redeem an active coupon for an account
static private Redeem ( string accountCode, string couponCode, string currency, string subscriptionUuid = null ) : CouponRedemption
accountCode string
couponCode string
currency string
subscriptionUuid string
return CouponRedemption
Exemplo n.º 1
0
 /// <summary>
 /// Redeems a coupon on this account
 /// </summary>
 /// <param name="couponCode"></param>
 /// <param name="currency"></param>
 /// <returns></returns>
 public CouponRedemption RedeemCoupon(string couponCode, string currency)
 {
     return(CouponRedemption.Redeem(AccountCode, couponCode, currency));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Redeems a coupon on this account
 /// </summary>
 /// <param name="couponCode"></param>
 /// <param name="currency"></param>
 /// <returns></returns>
 public CouponRedemption RedeemCoupon(string couponCode, string currency, string subscriptionUuid = null)
 {
     return(CouponRedemption.Redeem(AccountCode, couponCode, currency, subscriptionUuid));
 }