Files
kupshop/bundles/KupShop/GTMBundle/Tests/GTMSSChargesTest.json
2025-08-02 16:30:27 +02:00

141 lines
3.8 KiB
JSON

{
"charges": [
{
"id": 1,
"title": "Volitelny za 100",
"figure": "Y",
"price": "82.6446",
"vat": 1,
"descr": "pokus",
"included": "N",
"required": "N",
"checked": "Y",
"type": "product"
},
{
"id": 4,
"title": "Objednavkovy priplatek 100 Kc",
"figure": "Y",
"price": "82.6446",
"vat": 1,
"descr": "pokus",
"included": "N",
"required": "Y",
"checked": "N",
"type": "order"
}
],
"orders": [
{
"id": 123456789,
"order_no": "123456789",
"currency_rate": 1.0000,
"id_user": 2,
"date_created": "2020-07-29 07:16:00",
"date_accept": "2020-07-29 08:03:00",
"date_handle": "2020-07-29 14:10:30",
"date_updated": "2020-07-29 15:49:59",
"date_due": null,
"status": 2,
"status_payed": 0,
"status_dispatch": 0,
"status_storno": 0,
"total_price": 303.0000,
"invoice_name": "Wpj",
"invoice_surname": "Wpj",
"invoice_firm": "",
"invoice_ico": "",
"invoice_dic": "",
"invoice_street": "Fügnerova 1288",
"invoice_city": "Vrchlabí",
"invoice_zip": "54301",
"invoice_country": "CZ",
"invoice_phone": "+420777123456",
"invoice_email": "wpj@wpj.cz",
"delivery_name": "Wpj",
"delivery_surname": "Wpj",
"delivery_firm": "",
"delivery_street": "Fügnerova 1288",
"delivery_city": "Vrchlabí",
"delivery_zip": "54301",
"delivery_country": "CZ",
"delivery_type": "Dobírka - Balík Do ruky - Česká pošta",
"id_delivery": 8,
"delivery_complete": "",
"note_user": "",
"note_admin": "{\"ip_address\":\"127.0.0.1\",\"remote_port\":\"48619\",\"heurekaDisagree\":\"0\",\"discounts\":{\"email\":\"montyklima@seznam.cz\"},\"payment_data\":[],\"conversion_sent\":1}",
"admin": null,
"flags": "",
"note_invoice": null,
"package_id": null,
"invoice_state": "",
"invoice_custom_address": "",
"delivery_state": "",
"delivery_custom_address": "",
"delivery_phone": "+420777123456"
}
],
"order_items":[
{
"id": 99991,
"id_order": 123456789,
"id_product": 6,
"id_variation": 17,
"pieces": 1,
"pieces_reserved": 1,
"piece_price": 115.7025,
"total_price": 115.7025,
"descr": "Cívka zapalovací rotoru malá Babetta (Kód: 120431)",
"tax": 21,
"date": "2020-07-29 07:16:04",
"note": "",
"discount": 0.0000
},
{
"id": 9999,
"id_order": 123456789,
"id_product": null,
"id_variation": null,
"pieces": 1,
"pieces_reserved": 0,
"piece_price": 114.0496,
"total_price": 114.0496,
"descr": "Dobírka - Balík Do ruky - Česká pošta",
"tax": 21,
"date": "2020-07-29 07:16:04",
"note": "{\"item_type\":\"delivery\"}",
"discount": 0.0000
},
{
"id": 10001,
"id_order": 123456789,
"id_product": null,
"id_variation": null,
"pieces": 1,
"pieces_reserved": 0,
"piece_price": 23,
"total_price": 23,
"descr": "Priplatek_OBJ_TEST_XX",
"tax": 21,
"date": "2020-07-29 07:16:04",
"note": "{\"item_type\":\"orders_charge\", \"id_charge\":\"4\"}",
"discount": 0.0000
},
{
"id": 10002,
"id_order": 123456789,
"id_product": null,
"id_variation": null,
"pieces": 1,
"pieces_reserved": 0,
"piece_price": 114,
"total_price": 114,
"descr": "Priplatek_PROD_TEST_XX",
"tax": 21,
"date": "2020-07-29 07:16:04",
"note": "{\"charge\":{\"id_product_charge\":1,\"id_charge\":1,\"id_product\":6,\"id_item_parent\":2},\"item_type\":\"orders_charge\"}",
"discount": 0.0000
}
]
}