# SquareConnect::Order ### Description Contains all information related to a single order to process with Square, including line items that specify the products to purchase. Order objects also include information on any associated tenders, refunds, and returns. All Connect V2 Transactions have all been converted to Orders including all associated itemization data. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **String** | The order's unique ID. This field is read-only. | [optional] **location_id** | **String** | The ID of the merchant location this order is associated with. | **reference_id** | **String** | A client specified identifier to associate an entity in another system with this order. | [optional] **source** | [**OrderSource**](OrderSource.md) | The origination details of the order. | [optional] **customer_id** | **String** | The [Customer](#type-customer) ID of the customer associated with the order. | [optional] **line_items** | [**Array<OrderLineItem>**](OrderLineItem.md) | The line items included in the order. | [optional] **taxes** | [**Array<OrderLineItemTax>**](OrderLineItemTax.md) | 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** | [**Array<OrderLineItemDiscount>**](OrderLineItemDiscount.md) | 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] **service_charges** | [**Array<OrderServiceCharge>**](OrderServiceCharge.md) | A list of service charges applied to the order. | [optional] **fulfillments** | [**Array<OrderFulfillment>**](OrderFulfillment.md) | 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] **returns** | [**Array<OrderReturn>**](OrderReturn.md) | Collection of items from sale Orders being returned in this one. Normally part of an Itemized Return or Exchange. There will be exactly one `Return` object per sale Order being referenced. This field is read-only. | [optional] **return_amounts** | [**OrderMoneyAmounts**](OrderMoneyAmounts.md) | Rollup of returned money amounts. This field is read-only. | [optional] **net_amounts** | [**OrderMoneyAmounts**](OrderMoneyAmounts.md) | Net money amounts (sale money - return money). This field is read-only. | [optional] **rounding_adjustment** | [**OrderRoundingAdjustment**](OrderRoundingAdjustment.md) | A positive or negative rounding adjustment to the total of the order, commonly used to apply Cash Rounding when the minimum unit of account is smaller than the lowest physical denomination of currency. This field is read-only. | [optional] **tenders** | [**Array<Tender>**](Tender.md) | The Tenders which were used to pay for the Order. This field is read-only. | [optional] **refunds** | [**Array<Refund>**](Refund.md) | The Refunds that are part of this Order. This field is read-only. | [optional] **created_at** | **String** | Timestamp for when the order was created. In RFC 3339 format, e.g., \"2016-09-04T23:59:33.123Z\". This field is read-only. | [optional] **updated_at** | **String** | Timestamp for when the order was last updated. In RFC 3339 format, e.g., \"2016-09-04T23:59:33.123Z\". This field is read-only. | [optional] **closed_at** | **String** | Timestamp for when the order was closed. In RFC 3339 format, e.g., \"2016-09-04T23:59:33.123Z\". This field is read-only. | [optional] **state** | **String** | The current state of the order. `OPEN`,`COMPLETED`,`CANCELED` See [OrderState](#type-orderstate) for possible values | [optional] **total_money** | [**Money**](Money.md) | The total amount of money to collect for the order. This field is read-only. | [optional] **total_tax_money** | [**Money**](Money.md) | The total tax amount of money to collect for the order. This field is read-only. | [optional] **total_discount_money** | [**Money**](Money.md) | The total discount amount of money to collect for the order. This field is read-only. | [optional] **total_service_charge_money** | [**Money**](Money.md) | The total amount of money collected in service charges for the order. Note: `total_service_charge_money` is the sum of `applied_money` fields for each individual service charge. Therefore, `total_service_charge_money` will only include inclusive tax amounts, not additive tax amounts. This field is read-only. | [optional]