Dictionary

A dictionary with fields

Field Type Description
type String Whether the settings define a certain amount of days or an amount of hours as its upfront time. Or use the default settings from the shop
days Int How many days a person must order upfront if that person wants to order during this holiday. (x-days)
time Time Part of x-days, this time defines when a day is concidered over. e.g. 1 day upfront until 20:00AM. Then the user must order before 20:00AM if he wants to order for tomorrow. (x-days)
hours Int How many hours upfront (x-hours)
minutes Int How many minutes upfront (x-hours)

Examples

Example 1

{
    "type": "default",
    "days": 13,
    "time": "12:00",
    "hours": 11,
    "minutes": 14
}
This is a development version Do not use this version in production
1.10.0 development