| | |
|---|
getAdvertistingSource
| string getAdvertisingSource()
| |
getBaseCurrencyCode
| string getBaseCurrencyCode()
| the base currency code of the merchant. useful only when doing currency conversions. rarely explicitly used in pages or emails |
getBillingAddress1
| string getBillingAddress1()
| |
getBillingAddress2
| string getBillingAddress2()
| |
getBillingCity
| string getBillingCity()
| |
getBillingCompany
| string getBillingCompany()
| |
getBillingCountry
| string getBillingCountry()
| |
getBillingCountry3LetterCode
| string getBillingCountry3LetterCode()
| |
getBillToDayPhone
| string getBillToDayPhone()
| alias getBillingDayPhone() |
getBillingFirstName
| string getBillingFirstName()
| |
getBillingLastName
| string getBillingLastName()
| |
getBillingPostalCode
| string getBillingPostalCode()
| |
getBillingState
| string getBillingState()
| |
getCcEmails
| string[ ] getCcEmails()
| |
getCouponCodes
| string[ ] getCouponCodes()
| |
getCoupons
| Coupons[ ] getCoupons() | |
getComments
| string[ ] getComments()
| |
getCreationDate
| Date getCreationDate() | |
getCurrencyCode
| string getCurrencyCode()
| |
getCustomField1
| string getCustomField1()
| |
getCustomField2
| string getCustomField2()
| |
getCustomField3
| string getCustomField3()
| |
getCustomField4
| string getCustomField4()
| |
getCustomField5
| string getCustomField5()
| |
getCustomField6
| string getCustomField6()
| |
getCustomField7
| string getCustomField7()
| |
getDeliveryDate
| Date getDeliveryDate() | |
getDirectTrackProducts
| string getDirectTrackProducts()
| |
getDirectTrackProducts2
| string getDirectTrackProducts2()
| |
getDirectTrackProducts3
| string getDirectTrackProducts3()
| |
getDiscount
| BigDecimal getDiscount() | this is the subtotal discount |
getDiscountFormatted
| string getDiscountFormatted
| |
getEmail
| string getEmail()
| |
getGiftCertificateAmount
| BigDecimal getGiftCertificateAmount() | |
getGiftCertificateAmountFormatted
| string getGiftCertificateAmountFormatted()
| |
getGiftCharge
| BigDecimal getGiftCharge() | |
getGiftChargeFormatted
| string getGiftChargeFormatted()
| |
getGiftWrapCost
| BigDecimal getGiftWrapCost() | |
getGiftWrapCostFormatted
| string getGiftWrapCostFormatted()
| |
getGiftEmail
| string getGiftEmail()
| |
getGiftMessage
| string[] getGiftMessage()
| returns an array of the gift message. Each line of the gift message is a maximum of 80 characters long. |
getItemDescriptions
| string getItemDescriptions()
| returns a csv delimited string of item descriptions |
getItemIds
| string getItemIds()
| returns a csv delimited string of item ids |
getItemIdsAsJson
| string getItemIdsAsJson()
| returns a json array of item ids. very useful if you need the cart item ids in a javascript array. |
getItemQuantities
| string getItemQuantities()
| returns a csv delimited string of item quantities |
getItems
| OrderItem[] getItems() | |
getMerchantId
| string getMerchantId()
| |
getOmnitureProducts
| string getOmnitureProducts()
| |
getOmnitureProductsWithShipping
| string getOmnitureProductsWithShipping()
| |
getorderHash
| string getorderHash()
| |
getOrderId
| string getOrderId()
| |
getPaymentDate
| Date getPaymentDate() | |
getReceiptEmail
| string getReceiptEmail()
| |
getShippingAddress1
| string getShippingAddress1()
| |
getShippingAddress2
| string getShippingAddress2()
| |
getShippingCity
| string getShippingCity()
| |
getShippingCompany
| string getShippingCompany()
| |
getShippingCountry
| string getShippingCountry()
| |
getShippingCountry3LetterCode
| string getShippingCountry3LetterCode()
| |
getShippingDate
| Date getShippingDate() | |
getShippingFirstName
| string getShippingFirstName()
| |
getShippingHandlingDiscount
| BigDecimal getShippingHandlingDiscount() | |
getShippingHandlingDiscountFormatted
| string getShippingHandlingDiscountFormatted()
| |
getShippingHandling
| BigDecimal getShippingHandling() | |
getShippingHandlingFormatted
| string getShippingHandlingFormatted()
| |
getShippingHandlingRefunded
| BigDecimal getShippingHandlingRefunded() | |
getShippingHandlingRefundedFormatted
| string getShippingHandlingRefundedFormatted()
| |
getShippingLastName
| string getShippingLastName()
| |
getShippingPostalCode
| string getShippingPostalCode()
| |
getShippingState
| string getShippingState()
| |
getSpecialInstructions
| string[ ] getSpecialInstructions()
| |
getSubtotal
| BigDecimal getSubtotal() | |
getSubtotalFormatted
| string getSubtotalFormatted()
| |
getSubtotalBeforeDiscount
| BigDecimal getSubtotalBeforeDiscount() | |
getSubtotalBeforeDiscountFormatted
| string getSubtotalBeforeDiscountFormatted()
| |
getTax
| BigDecimal getTax() | |
getTaxFormatted
| string getTaxFormatted() | |
getTaxRate
| BigDecimal getTaxRate() | |
getTaxRateFormatted
| string getTaxRateFormatted()
| |
getTier1AffiliateId
| integer getTier1AffiliateId()
| |
getTotal
| BigDecimal getTotal() | |
getTotalFormatted
| string getTotalFormatted()
| |
getTotalRefunded
| BigDecimal getTotalRefunded() | |
getTotalRefundedFormatted
| string getTotalRefundFormatted()
| |
getTrackingNumbers
| string[] getTrackingNumbers()
| Returns the tracking numbers that are available on the order. |
getTrackingUrl
| string getTrackingUrl(string trackingNumber)
| Returns the URL that the customer can click to track the given tracking number. Use this in a loop of getTrackingNumbers to output tracking information for the customer on the shipment notification. |
getUnshippedItems
| Item[] getUnshippedItems() | Returns the items that have not been shipped on the order. Useful in the shipment notification email. |
hasItemWithOption
| boolean hasItemWithOption(string itemId, string optionName, string optionValue)
| |
ifPurchased
| boolean ifPurchased(string itemIds)
| itemIds is a csv string of item ids |
isContainsDigitalDelivery
| boolean isContainsDigitalDelivery()
| |
isContainsPreorder
| boolean isContainsPreorder()
| |
isDeclined
| boolean isDeclined()
| if true, payment was declined. a more thorough check for a good payment is isPaymentProcessed. If that boolean is true, then successful payment has been made. Otherwise, payment is pending or declined. See isPaymentProcessed for a good example of how to show a warning to a customer that payment was not successful. this property is most useful from within the customer portal |
isCouponCodeUsed
| boolean isCouponCodeUsed(string code)
| |
isGift
| boolean isGift()
| |
isHasDiscount
| boolean isHasDiscount()
| |
isHasRefund
| boolean isHasRefund()
| |
isHidePaymentInformation
| boolean isHidePaymentInformation()
| this will be true if cost was zero AND gift certificates were used |
isInShipping
| boolean isInShipping()
| true if the order is in the shipping department |
isLiftGate
| boolean isLiftGate()
| true if the customer has requested a lift gate for a heavy delivery |
isMailingListOptIn
| boolean isMailingListOptIn()
| |
isNeedShipping
| boolean isNeedShipping()
| |
isPaymentProcessed
| boolean isPaymentProcessed()
| true if the customer has finalized payment. this is a very important method if you are embedded download links or codes within your receipt using the $order.isPurchased('ITEM') calls. this method should always wrap those calls to ensure a customer with declined payment does not receive digital goods. #if($order.isPaymentProcessed())
#if($order.isPurchased('ItemA')
Here is your download code: ABCDEFG
#end
#else
There was a problem verifying your payment information, please contact our customer support. Thank you.
#end |
isPaymentMethod
| boolean isPaymentMethod(string paymentMethod)
| |
isPrepaidCreditCard
| boolean isPrepaidCreditCard()
| |
|