squareconnect.models.order
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 | str | The order's unique ID. This value is only present for Order objects created by the Orders API through the CreateOrder endpoint. | [optional] |
| location_id | str | The ID of the merchant location this order is associated with. | |
| reference_id | str | A client specified identifier to associate an entity in another system with this order. | [optional] |
| source | OrderSource | The origination details of the order. | [optional] |
| line_items | 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] |
| total_money | Money | The total amount of money to collect for the order. | [optional] |
| total_tax_money | Money | The total tax amount of money to collect for the order. | [optional] |
| total_discount_money | Money | The total discount amount of money to collect for the order. | [optional] |