Script: Class dw.campaign.CouponRedemption

Class CouponRedemption

  • Object
    • dw.campaign.CouponRedemption

Represents a redeemed coupon.

Properties

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

getCustomerEmail() : String

Returns email of redeeming customer.

getOrderNo() : String

Returns number of the order the code was redeemed with.

getRedemptionDate() : Date

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

Method Detail

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.