class Afterpay::Components::Order
Attributes
@attribute amount @return [Afterpay::Components::Money] Total amount for order to be charged to consumer.
@attribute billing @return [Afterpay::Components::Contact] Billing address.
@attribute consumer @return [Afterpay::Components::Consumer] The consumer requesting the order.
@attribute courier @return [Afterpay::Components::Courier] Shipping Courier
details.
@attribute discounts @return [Array<Afterpay::Components::Discount>] An array of discounts.
@attribute items @return [Array<Afterpay::Components::Item>] An array of order items.
@attribute merchant @return [Afterpay::Components::Merchant] Merchant's redirection links..
@attribute merchant_reference
@return [String] The merchant's id / reference that this order corresponds to.
@attribute mode @return [String] Set to `express` for an express-flow checkout.
@attribute payment_type
@return [String] Supported payment types: 'PAY_BY_INSTALLMENT'. Default is 'PAY_BY_INSTALLMENT'.
@attribute shipping @return [Afterpay::Components::Contact] Shipping address.
@attribute shipping_amount
@return [Afterpay::Components::Money] The shipping amount.
@attribute tax_amount
@return [Afterpay::Components::Money] The included tax amount after applying all discounts.