Skip to content

Instantly share code, notes, and snippets.

@eLafo
Last active May 29, 2018 14:12
Show Gist options
  • Save eLafo/75dbdda63f7cba41a60fa44aa0853154 to your computer and use it in GitHub Desktop.
Save eLafo/75dbdda63f7cba41a60fa44aa0853154 to your computer and use it in GitHub Desktop.
{
"id": "1",
"customerId": 1,
"items": [
{
"productId": "B102",
"quantity": 10,
"unitPrice": 4.99,
"total": 49.9
},
{
"productId": "A102",
"quantity": 1,
"unitPrice": 49.5,
"total": 49.5
}
],
"total": 99.4
}
{
"id": "2",
"customerId": "2",
"items": [
{
"productId": "B102",
"quantity": "5",
"unitPrice": "4.99",
"total": "24.95"
}
],
"total": "24.95"
}
{
"id": "3",
"customerId": "3",
"items": [
{
"productId": "A101",
"quantity": "2",
"unitPrice": "9.75",
"total": "19.50"
},
{
"productId": "A102",
"quantity": "1",
"unitPrice": "49.50",
"total": "49.50"
}
],
"total": "69.00"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment