The POSOrder indicates the detail order information from POS system.
| Name | Type | Description | Notes |
|---|---|---|---|
| order_id | str | The long orderID in grab system. | [optional] |
| partner_order_id | str | The orderID in pos system. | [optional] |
| merchant_id | str | The merchant's ID is the one in GrabFood's database. | [optional] |
| partner_merchant_id | str | The merchant ID in pos system. | [optional] |
| order_time | datetime | The UTC time that a consumer places the order, based on ISO_8601/RFC3339. | [optional] |
| order_state | str | The order state in POS system, eg, COMPLETED. | [optional] |
| currency | Currency | [optional] | |
| items | List[POSItem] | The ordered items in an array of JSON Object. | [optional] |
| price | PosPriceDetails | [optional] | |
| dine_in | DineIn | [optional] | |
| payments | List[Payment] | An array of payment objects. `null` when there is no payment info from pos. This is only applicable for STO order | [optional] |
from grabfood.models.pos_order import PosOrder
# TODO update the JSON string below
json = "{}"
# create an instance of PosOrder from a JSON string
pos_order_instance = PosOrder.from_json(json)
# print the JSON string representation of the object
print(PosOrder.to_json())
# convert the object into a dict
pos_order_dict = pos_order_instance.to_dict()
# create an instance of PosOrder from a dict
pos_order_from_dict = PosOrder.from_dict(pos_order_dict)