Sylius/tests/Responses/Expected/checkout/completed_order_response.json
2016-09-17 13:49:38 +02:00

36 lines
981 B
JSON

{
"id": @integer@,
"completed_at": "@string@.isDateTime()",
"number": @string@,
"items": @array@,
"items_total": @integer@,
"adjustments": @array@,
"comments": [],
"adjustments_total": @integer@,
"total": @integer@,
"state": "new",
"created_at": "@string@.isDateTime()",
"updated_at": "@string@.isDateTime()",
"channel": {
"id": @integer@,
"code": "CHANNEL",
"name": "Channel",
"description": "Lorem ipsum",
"hostname": "localhost",
"color": "black",
"created_at": "@string@.isDateTime()",
"updated_at": "@string@.isDateTime()",
"enabled": true,
"tax_calculation_strategy": "order_items_based",
"_links": {
"self": {
"href": @string@
}
}
},
"shipping_address": @...@,
"billing_address": @...@,
"payments": @array@,
"shipments": @array@,
"checkout_state": "completed"
}