Contains all information related to a single order to process with Square, including line items that specify the products to purchase
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The order's unique ID. This value is only present for Order objects created by the Orders API through the CreateOrder endpoint. | [optional] |
| locationId | String | The ID of the merchant location this order is associated with. | |
| referenceId | String | A client specified identifier to associate an entity in another system with this order. | [optional] |
| source | OrderSource | The origination details of the order. | [optional] |
| lineItems | List<OrderLineItem> | The line items included in the order. | [optional] |
| taxes | List<OrderLineItemTax> | A list of taxes applied to this order. On read or retrieve, this list includes both order-level and item-level taxes. When creating an Order, set your order-level taxes in this list. | [optional] |
| discounts | List<OrderLineItemDiscount> | A list of discounts applied to this order. On read or retrieve, this list includes both order-level and item-level discounts. When creating an Order, set your order-level discounts in this list. | [optional] |
| fulfillments | List<OrderFulfillment> | Details on order fulfillment. Orders can only be created with at most one fulfillment. However, orders returned by the API may contain multiple fulfillments. | [optional] |
| totalMoney | Money | The total amount of money to collect for the order. | [optional] |
| totalTaxMoney | Money | The total tax amount of money to collect for the order. | [optional] |
| totalDiscountMoney | Money | The total discount amount of money to collect for the order. | [optional] |