Dictionary

A dictionary with fields

Field Type Description
name String A String value
orders [Dictionary] Array of Dictionary
totals Dictionary A dictionary with fields

Examples

Example 1

{
    "name": "...",
    "orders": [
        {
            "shop": {
                "id": 19,
                "name": "..."
            },
            "order_date": "2019-01-31",
            "amount": 17,
            "gram": 15,
            "product_name": "...",
            "matched_on": "...",
            "multi": true,
            "price_unit": 18,
            "price_unit_with_discount": 14,
            "price_total": 17,
            "price_total_with_discount": 11,
            "currency": "...",
            "country": "...",
            "isop": true,
            "payment_method": "...",
            "acquire_method": "...",
            "customer_id": 19
        },
        {
            "shop": {
                "id": 19,
                "name": "..."
            },
            "order_date": "2019-01-31",
            "amount": 14,
            "gram": 11,
            "product_name": "...",
            "matched_on": "...",
            "multi": false,
            "price_unit": 17,
            "price_unit_with_discount": 12,
            "price_total": 10,
            "price_total_with_discount": 18,
            "currency": "...",
            "country": "...",
            "isop": true,
            "payment_method": "...",
            "acquire_method": "...",
            "customer_id": 17
        },
        {
            "shop": {
                "id": 19,
                "name": "..."
            },
            "order_date": "2019-01-31",
            "amount": 15,
            "gram": 12,
            "product_name": "...",
            "matched_on": "...",
            "multi": false,
            "price_unit": 12,
            "price_unit_with_discount": 16,
            "price_total": 13,
            "price_total_with_discount": 17,
            "currency": "...",
            "country": "...",
            "isop": true,
            "payment_method": "...",
            "acquire_method": "...",
            "customer_id": 16
        }
    ],
    "totals": {
        "amount": 19,
        "gram": 18,
        "price_unit_average": 11,
        "price_total": 12
    }
}
This is a development version Do not use this version in production
1.10.0 development