A dictionary with fields
Field | Type | Description |
---|---|---|
enable | Bool | A boolean value |
auto_approve_orders | Bool | A boolean value |
payment_methods | Dictionary | A dictionary with fields |
max_orders | MaxOrders | Max order settings |
{
"enable": false,
"auto_approve_orders": true,
"payment_methods": {
"cash": false,
"cash_if_targetprice_isop": false,
"online": true,
"online_if_targetprice": true,
"banktransfer": false,
"banktransfer_with_invoice": true,
"bank_account_numbers": [
{
"name": "...",
"number": "..."
},
{
"name": "...",
"number": "..."
},
{
"name": "...",
"number": "..."
}
]
},
"max_orders": {
"items": [
{
"max_per": "hour",
"max_amount": 14,
"days": {
"all": false,
"custom": [
16,
15,
14
]
},
"intervals": [
{
"max_amount": 12,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 17,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 15,
"start": "12:00",
"end": "12:00"
}
]
},
{
"max_per": "hour",
"max_amount": 11,
"days": {
"all": false,
"custom": [
19,
11,
16
]
},
"intervals": [
{
"max_amount": 11,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 14,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 17,
"start": "12:00",
"end": "12:00"
}
]
},
{
"max_per": "hour",
"max_amount": 10,
"days": {
"all": true,
"custom": [
18,
13,
14
]
},
"intervals": [
{
"max_amount": 13,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 13,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 16,
"start": "12:00",
"end": "12:00"
}
]
}
]
}
}