Skip to main content
Reference

OrderHelper

Properties

Methods

MethodSignatureComments/Sample
hasActivationCodesboolean hasActivationCodes(itemId)true if the item has activation codes that might need displaying to the customer in the email
getActivationCodesstring getActivationCodes(itemId)returns the activation codes for the given item 
getAllActivationCodesstring[ ] getAllActivationCodes()returns an array of all activation codes for all items ordered 
hasCouponboolean hasCoupon(couponCode)true if the order contains the given coupon 
purchasedboolean purchased(itemIds)true if any of the comma separated list of items were purchased 
notPurchasedboolean notPurchased(itemIds)true if none of the comma separated list of items were purchased
giftboolean gift()true if the order was a gift 

See Also

Was this page helpful?