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

106 lines
2.5 KiB
JSON

{
"users": [
{
"id": 1,
"id_language": null,
"passw": "$2y$10$XOrAFoQ35fIumBYNTLapZeXF8unQ9Bd4WPv/4LRwDKVBBwPh5y.RW",
"user_key": "8bc712e8ce1b11e9859a0cc47aabf5a6",
"figure": "Y",
"name": "Petr",
"surname": "Jebavý",
"firm": "wpj s.r.o.",
"street": "Nádražní 471",
"city": "Vrchlabí",
"zip": "54301",
"country": "CZ",
"currency": "CZK",
"email": "petr@wpj.cz",
"ico": "",
"dic": "",
"phone": "775131400",
"mobile": "",
"fax": "",
"gender": null,
"delivery_name": "",
"delivery_surname": "",
"delivery_firm": "",
"delivery_street": "",
"delivery_city": "",
"delivery_zip": "",
"delivery_country": "CZ",
"account_no": "",
"account_bank": "",
"account_symbol": "",
"get_news": "N",
"prefer_transport": 1,
"date_reg": "2013-09-30 12:09:05",
"date_updated": "2024-06-04 11:21:08",
"date_logged": "2024-06-03 11:33:32",
"custom_address": "",
"state": "",
"delivery_custom_address": "",
"delivery_state": "",
"date_subscribe": "2013-09-30 12:09:05",
"date_unsubscribe": "2019-04-20 04:56:13",
"note": null,
"custom_data": null,
"delivery_phone": "",
"due_days": null,
"birthdate": null
}
],
"bonus_points": [
{
"id": 3888,
"id_user": 1,
"points": 1000,
"date_created": "2019-09-03 09:22:06",
"note": "test",
"status": "active",
"id_order": null,
"data": null
}
],
"order_discounts": [
{
"id": 11,
"date_created": "2022-03-24 21:45:42",
"name": "Uplatnění bodů",
"display_name": "Uplatnění bodů",
"uses_count": 309,
"active": "Y",
"data": null,
"position": 8,
"type": null
}
],
"order_discounts_actions": [
{
"id": 11,
"id_order_discount": 11,
"type": "bonus_program",
"data": "{\"discount\":\"1\",\"unit\":\"CZK\",\"messages\":{\"success\":\"Blahop\\u0159ejeme, Va\\u0161e sleva byla \\u00fasp\\u011b\\u0161n\\u011b aplikov\\u00e1na\"}}"
}
],
"order_discounts_triggers": [
{
"id": 32,
"id_order_discount": 11,
"type": "bonus_points",
"data": "{\"min\":\"100\"}"
},
{
"id": 36,
"id_order_discount": 11,
"type": "currency",
"data": "{\"currency\":[\"CZK\"]}"
},
{
"id": 37,
"id_order_discount": 11,
"type": "country",
"data": "{\"country\":[\"CZ\"]}"
}
]
}