class Afterpay::Components::Order

Attributes

amount[RW]

@attribute amount @return [Afterpay::Components::Money] Total amount for order to be charged to consumer.

billing[RW]

@attribute billing @return [Afterpay::Components::Contact] Billing address.

consumer[RW]

@attribute consumer @return [Afterpay::Components::Consumer] The consumer requesting the order.

courier[RW]

@attribute courier @return [Afterpay::Components::Courier] Shipping Courier details.

discounts[RW]

@attribute discounts @return [Array<Afterpay::Components::Discount>] An array of discounts.

items[RW]

@attribute items @return [Array<Afterpay::Components::Item>] An array of order items.

merchant[RW]

@attribute merchant @return [Afterpay::Components::Merchant] Merchant's redirection links..

merchant_reference[RW]

@attribute merchant_reference @return [String] The merchant's id / reference that this order corresponds to.

mode[RW]

@attribute mode @return [String] Set to `express` for an express-flow checkout.

payment_type[RW]

@attribute payment_type @return [String] Supported payment types: 'PAY_BY_INSTALLMENT'. Default is 'PAY_BY_INSTALLMENT'.

shipping[RW]

@attribute shipping @return [Afterpay::Components::Contact] Shipping address.

shipping_amount[RW]

@attribute shipping_amount @return [Afterpay::Components::Money] The shipping amount.

tax_amount[RW]

@attribute tax_amount @return [Afterpay::Components::Money] The included tax amount after applying all discounts.