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": 18,
    "cost_per_day": {
        "d1": 11,
        "d2": 14,
        "d3": 17,
        "d4": 16,
        "d5": 19,
        "d6": 12,
        "d7": 10
    }
}
1.9.0 stable