Class CouponRedemption

Represents a redeemed coupon.

Property Summary 

PropertyDescription
customerEmail: String (read-only)Returns email of redeeming customer.
orderNo: String (read-only)Returns number of the order the code was redeemed with.
redemptionDate: Date (read-only)Returns date of redemption.

Constructor Summary 

This class does not have a constructor, so you cannot create it directly.

Method Summary 

MethodDescription
getCustomerEmail()Returns email of redeeming customer.
getOrderNo()Returns number of the order the code was redeemed with.
getRedemptionDate()Returns date of redemption.

Methods inherited from class Object 

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Property Details 

customerEmail 

customerEmail: String (read-only)

Returns email of redeeming customer.


orderNo 

orderNo: String (read-only)

Returns number of the order the code was redeemed with.


redemptionDate 

redemptionDate: Date (read-only)

Returns date of redemption.


Method Details 

getCustomerEmail() 

getCustomerEmail(): String

Returns email of redeeming customer.

Returns:

  • email of redeeming customer.

getOrderNo() 

getOrderNo(): String

Returns number of the order the code was redeemed with.

Returns:

  • number of the order the code was redeemed with.

getRedemptionDate() 

getRedemptionDate(): Date

Returns date of redemption.

Returns:

  • date of redemption.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!