Skip to content

Instantly share code, notes, and snippets.

@palasgaonkar-vishal
Last active November 7, 2016 08:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save palasgaonkar-vishal/c66fb148351c50174e85eae14d28afcf to your computer and use it in GitHub Desktop.
Save palasgaonkar-vishal/c66fb148351c50174e85eae14d28afcf to your computer and use it in GitHub Desktop.
{
"order_id": 1,
"created_at": "2016-11-04 12:33:00",
"restaurant_id": 1,
"visit_id": 1,
"user": {
"user_id": 1,
"user_name": "John Smith",
},
"status": "pending | completed | cancelled",
"items": [
{
"item_id": 1,
"label": "Some fancy dish 1",
"quantity": 1,
"price_per_item": {
"amount": 10,
"currency": "$",
}
},
{
"item_id": 2,
"label": "Some fancy dish 2",
"quantity": 2,
"price_per_item": {
"amount": 15,
"currency": "$",
}
}
],
"paymentDetails": {
"totalAmount": {
"amount": 40,
"currency": "$"
},
"transactionId": "123456789",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment