Method | Signature | Comments/Sample |
---|
hasActivationCodes
| boolean hasActivationCodes(itemId) | true if the item has activation codes that might need displaying to the customer in the email
|
getActivationCodes
| string getActivationCodes(itemId)
| returns the activation codes for the given itemÂ
|
getAllActivationCodes
| string[ ] getAllActivationCodes()
| returns an array of all activation codes for all items orderedÂ
|
hasCoupon
| boolean hasCoupon(couponCode) | true if the order contains the given couponÂ
|
purchased
| boolean purchased(itemIds) | true if any of the comma separated list of items were purchasedÂ
|
notPurchased
| boolean notPurchased(itemIds)
| true if none of the comma separated list of items were purchased
|
gift
| boolean gift()
| true if the order was a giftÂ
|