Dictionary

A dictionary with fields

Field Type Description
allow Bool Whether or not the customer is allowed to request an invoice
cost Int Extra cost for requesting an invoice in cents
ignore_cost_if_above Int Ignore extra cost when order is above a certain value (in cents)
ignore_cost_if_above_enable Bool A boolean value
generate Dictionary Generate invoices automatically

Examples

Example 1

{
    "allow": true,
    "cost": 16,
    "ignore_cost_if_above": 11,
    "ignore_cost_if_above_enable": true,
    "generate": {
        "enable": false,
        "expire_days": 10
    }
}
1.9.0 stable