Last active
May 6, 2016 18:26
-
-
Save fdc263/65c0d71bc1bd5dfbd2cfafc85785d025 to your computer and use it in GitHub Desktop.
Proposal of default json mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"code": "", | |
"status": "", | |
"createdDate": "", | |
"confirmedDate": "", | |
"canceledDate": "", | |
"fulfillmentStatus": "", | |
"shippedDate": "", | |
"deliveredDate": "", | |
"paymentInformation": { | |
"type": "", | |
"id": "", | |
"total": 0, | |
"approvalDate": "Date" | |
}, | |
"shippingInformation": { | |
"carrier": "", | |
"method": "", | |
"price": 0, | |
"deliveryTime": 0, | |
"tracking_code": "", | |
"addressInformation": { | |
"recipientName": "", | |
"address": "", | |
"number": "", | |
"complement": "", | |
"neighborhood": "", | |
"city": "", | |
"state": "", | |
"zip": "" | |
} | |
}, | |
"client": { | |
"first_name": "", | |
"last_name": "", | |
"document": "", | |
"email": "", | |
"phoneNumber": "" | |
}, | |
"items": [ | |
{ | |
"sku": "", | |
"name": "", | |
"price": 0, | |
"quantity": 0, | |
"imageUrl": "" | |
} | |
] | |
} |
gustavoreis
commented
May 6, 2016
- Data prometida e data entregue
- Infos extras do item (o que tu acha?)
fiz umas modificações ali. algumas relevantes, outras nem tanto.
acho mais importante o prazo de entrega (que já está ali) do que a data propriamente. a data depende do pagamento...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment