From a57bc32dcf141cc03b9581c6d4ca0516accf8bea Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 22 Feb 2024 16:23:49 +0100 Subject: [PATCH] Add "Product" entry into tariff file --- etc/psa_tariff/tariff01.json | 65 ++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/etc/psa_tariff/tariff01.json b/etc/psa_tariff/tariff01.json index fbeda6e..96df85f 100644 --- a/etc/psa_tariff/tariff01.json +++ b/etc/psa_tariff/tariff01.json @@ -110,6 +110,71 @@ "pop_business_hours": 128 } ], + "Product" : [ + { + "tariff_product_id": 1, + "tariff_product_price": 0, + "tariff_product_name": "DAY_TICKET", + "tariff_product_start": "00:00:00", + "tariff_product_end": "00:00:00", + "tariff_product_from_in_minutes_from_start": 0, + "tariff_product_to_in_minutes_from_start": 0 + }, + { + "tariff_product_id": 2, + "tariff_product_price": 0, + "tariff_product_name": "SZEGED_START", + "tariff_product_start": "00:00:00", + "tariff_product_end": "00:00:00", + "tariff_product_from_in_minutes_from_start": 0, + "tariff_product_to_in_minutes_from_start": 0 + }, + { + "tariff_product_id": 3, + "tariff_product_price": 0, + "tariff_product_name": "SZEGED_STOP", + "tariff_product_start": "00:00:00", + "tariff_product_end": "00:00:00", + "tariff_product_from_in_minutes_from_start": 0, + "tariff_product_to_in_minutes_from_start": 0 + }, + { + "tariff_product_id": 4, + "tariff_product_price": 800, + "tariff_product_name": "DAY_TICKET_ADULT", + "tariff_product_start": "08:00:00", + "tariff_product_end": "20:00:00", + "tariff_product_from_in_minutes_from_start": 0, + "tariff_product_to_in_minutes_from_start": 720 + }, + { + "tariff_product_id": 5, + "tariff_product_price": 400, + "tariff_product_name": "DAY_TICKET_TEEN", + "tariff_product_start": "08:00:00", + "tariff_product_end": "20:00:00", + "tariff_product_from_in_minutes_from_start": 0, + "tariff_product_to_in_minutes_from_start": 720 + }, + { + "tariff_product_id": 6, + "tariff_product_price": 0, + "tariff_product_name": "DAY_TICKET_CHILD", + "tariff_product_start": "00:00:00", + "tariff_product_end": "00:00:00", + "tariff_product_from_in_minutes_from_start": 0, + "tariff_product_to_in_minutes_from_start": 0 + }, + { + "tariff_product_id": 7, + "tariff_product_price": 0, + "tariff_product_name": "INVALID", + "tariff_product_start": "00:00:00", + "tariff_product_end": "00:00:00", + "tariff_product_from_in_minutes_from_start": 0, + "tariff_product_to_in_minutes_from_start": 0 + } + ], "PaymentRate": [ { "pra_payment_option_id": 1049,