Dictionary

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

Examples

Example 1

{
    "enable": false,
    "auto_approve_orders": false,
    "payment_methods": {
        "cash": true,
        "cash_if_targetprice_isop": false,
        "online": true,
        "online_if_targetprice": true,
        "banktransfer": false,
        "banktransfer_with_invoice": false,
        "bank_account_numbers": [
            {
                "name": "...",
                "number": "..."
            },
            {
                "name": "...",
                "number": "..."
            },
            {
                "name": "...",
                "number": "..."
            }
        ]
    },
    "max_orders": {
        "items": [
            {
                "max_per": "hour",
                "max_amount": 12,
                "days": {
                    "all": true,
                    "custom": [
                        18,
                        11,
                        19
                    ]
                },
                "intervals": [
                    {
                        "max_amount": 10,
                        "start": "12:00",
                        "end": "12:00"
                    },
                    {
                        "max_amount": 11,
                        "start": "12:00",
                        "end": "12:00"
                    },
                    {
                        "max_amount": 10,
                        "start": "12:00",
                        "end": "12:00"
                    }
                ]
            },
            {
                "max_per": "hour",
                "max_amount": 12,
                "days": {
                    "all": true,
                    "custom": [
                        10,
                        13,
                        17
                    ]
                },
                "intervals": [
                    {
                        "max_amount": 18,
                        "start": "12:00",
                        "end": "12:00"
                    },
                    {
                        "max_amount": 18,
                        "start": "12:00",
                        "end": "12:00"
                    },
                    {
                        "max_amount": 11,
                        "start": "12:00",
                        "end": "12:00"
                    }
                ]
            },
            {
                "max_per": "hour",
                "max_amount": 11,
                "days": {
                    "all": false,
                    "custom": [
                        10,
                        18,
                        12
                    ]
                },
                "intervals": [
                    {
                        "max_amount": 19,
                        "start": "12:00",
                        "end": "12:00"
                    },
                    {
                        "max_amount": 14,
                        "start": "12:00",
                        "end": "12:00"
                    },
                    {
                        "max_amount": 16,
                        "start": "12:00",
                        "end": "12:00"
                    }
                ]
            }
        ]
    }
}
This is a development version Do not use this version in production
1.10.0 development