Name | Type | Description | Notes |
---|---|---|---|
order_id | string | The order's ID that is returned from GrabFood. Refer to FAQs for more details about orderID and shortOrderNumber. | |
short_order_number | string | The GrabFood short order number. This is unique for each merchant per day. Refer to FAQs for more details about orderID and shortOrderNumber. | |
merchant_id | string | The merchant's ID that is in GrabFood's database. | |
partner_merchant_id | string | The merchant's ID that is on the partner's database. | [optional] |
payment_type | string | The payment method used. Refer to FAQs for more details about paymentType. | |
cutlery | bool | The boolean value to indicate whether cutlery are needed or not. Refer to FAQs for more details about cutlery. | |
order_time | string | The UTC time that a consumer places the order, based on ISO_8601/RFC3339. | |
submit_time | \DateTime | The order submit time, based on ISO_8601/RFC3339. `null` in Submit Order payload. Only present in the List Orders response. | [optional] |
complete_time | \DateTime | The order complete time, based on ISO_8601/RFC3339. `null` in Submit Order payload. Only present in the List Orders response. | [optional] |
scheduled_time | string | The order scheduled time, based on ISO_8601/RFC3339. Empty for non-scheduled orders. | [optional] |
order_state | string | The state of the order. Empty in Submit Order payload. Only present in the List Orders response. Refer to Order States. | [optional] |
currency | \Grab\GrabfoodApiSdk\Model\Currency | ||
feature_flags | \Grab\GrabfoodApiSdk\Model\OrderFeatureFlags | ||
items | \Grab\GrabfoodApiSdk\Model\OrderItem[] | The ordered items in an array of JSON Object. | |
campaigns | \Grab\GrabfoodApiSdk\Model\OrderCampaign[] | The campaigns that are applicable for the order. `null` when there is no campaign applied. Only campaigns that are funded by merchants will be sent. | [optional] |
promos | \Grab\GrabfoodApiSdk\Model\OrderPromo[] | An array of promotion objects. `null` when there is no promo code applied. Only promotions that are funded by merchants will be sent. | [optional] |
price | \Grab\GrabfoodApiSdk\Model\OrderPrice | ||
dine_in | \Grab\GrabfoodApiSdk\Model\DineIn | [optional] | |
receiver | \Grab\GrabfoodApiSdk\Model\Receiver | [optional] | |
order_ready_estimation | \Grab\GrabfoodApiSdk\Model\OrderReadyEstimation | [optional] | |
membership_id | string | Membership ID for loyalty project. Only present for loyalty program partners. Empty if not applicable. | [optional] |