diff --git a/ocpi-tariffs/test_data/multiple_flat_fees/cdr.json b/ocpi-tariffs/test_data/multiple_flat_fees/cdr.json new file mode 100644 index 0000000..3b9c0d3 --- /dev/null +++ b/ocpi-tariffs/test_data/multiple_flat_fees/cdr.json @@ -0,0 +1,45 @@ +{ + "country_code": "BE", + "start_date_time": "2015-06-29T15:00:00Z", + "end_date_time": "2015-06-29T16:30:00Z", + "currency": "EUR", + "tariffs": [], + "cdr_location": { + "country": "NLD" + }, + "charging_periods": [ + { + "start_date_time": "2015-06-29T15:00:00Z", + "dimensions": [{ + "type": "TIME", + "volume": 0.5 + }] + }, + { + "start_date_time": "2015-06-29T15:30:00Z", + "dimensions": [{ + "type": "TIME", + "volume": 0.5 + }] + }, + { + "start_date_time": "2015-06-29T16:00:00Z", + "dimensions": [{ + "type": "TIME", + "volume": 0.5 + }] + } + ], + "total_fixed_cost": { + "excl_vat": 1.0, + "incl_vat": 1.0 + }, + "total_cost": { + "excl_vat": 1.0, + "incl_vat": 1.0 + }, + "total_energy": 0, + "total_time": 1.5, + "total_parking_time": 0, + "last_updated": "2015-06-29T22:01:13Z" +} diff --git a/ocpi-tariffs/test_data/multiple_flat_fees/tariff.json b/ocpi-tariffs/test_data/multiple_flat_fees/tariff.json new file mode 100644 index 0000000..6ba6c18 --- /dev/null +++ b/ocpi-tariffs/test_data/multiple_flat_fees/tariff.json @@ -0,0 +1,15 @@ +{ + "country_code": "DE", + "party_id": "ALL", + "id": "12", + "currency": "EUR", + "elements": [{ + "price_components": [{ + "type": "FLAT", + "price": 1.00, + "vat": 0.0, + "step_size": 0 + }] + }], + "last_updated": "2015-06-29T20:39:09Z" +}