Skip to content

Instantly share code, notes, and snippets.

@ringular
Last active August 29, 2015 14:06
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 ringular/c53b64aa0f47a2d98d15 to your computer and use it in GitHub Desktop.
Save ringular/c53b64aa0f47a2d98d15 to your computer and use it in GitHub Desktop.
merchant
{
"id": 12345,
"name": "International Beer Company",
"status": 1, // Incomplete, Approved, Disabled, Rejected
"images": {
"banner": {
"url": "....",
"w": 600,
"h": 200
},
"icon": {
"url": "...",
"w": 64,
"h": 64
}
},
"branches": [{
"address" : {
"street": "7 Siglap Road",
"Unit": "#05-63",
"zip": "448909"
},
"operating_hours": "...", // Need to store per day Info
"printer_ip": "123.251.123.21",
"pickup": [{
"start": 1000,
"duration": 4,
"max_products": 40,
}]
}],
"finance": {
"pick_rate": "2.00",
"storage_rate": "..", // Need to figure out,
"delivery_rate": "3.00"
"bank_details": { // May not want to store this here.
"..."
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment