Dictionary

A dictionary with fields

Field Type Description
distance Int Use this delivery cost when delivery distance is equal or bigger than this value (in km).
cost_per_day Week The delivery cost in cents for each day, must contain 7 items, first is monday, last is sunday

Examples

Example 1

{
    "distance": 14,
    "cost_per_day": {
        "d1": 11,
        "d2": 13,
        "d3": 15,
        "d4": 15,
        "d5": 10,
        "d6": 16,
        "d7": 17
    }
}
This is a development version Do not use this version in production
1.10.0 development