{
    "totals": [
        {
            "subtotal": 100,
            "discount": 0,
            "taxPercent": 0,
            "shipping": 0,
            "wallet": 0,
            "taxValue": 0.0,
            "total": 100.0
        },
        {
            "subtotal": 100,
            "discount": 10,
            "taxPercent": 5,
            "shipping": 0,
            "wallet": 0,
            "taxValue": 4.5,
            "total": 94.5
        },
        {
            "subtotal": 99.99,
            "discount": 12.5,
            "taxPercent": 7.25,
            "shipping": 0,
            "wallet": 0,
            "taxValue": 6.34,
            "total": 93.83
        },
        {
            "subtotal": 100,
            "discount": 150,
            "taxPercent": 5,
            "shipping": 0,
            "wallet": 0,
            "taxValue": 0.0,
            "total": 0.0
        },
        {
            "subtotal": 0,
            "discount": 0,
            "taxPercent": 5,
            "shipping": 0,
            "wallet": 0,
            "taxValue": 0.0,
            "total": 0.0
        },
        {
            "subtotal": 1.005,
            "discount": 0,
            "taxPercent": 0,
            "shipping": 0,
            "wallet": 0,
            "taxValue": 0.0,
            "total": 1.01
        },
        {
            "subtotal": 10.05,
            "discount": 0,
            "taxPercent": 10,
            "shipping": 0,
            "wallet": 0,
            "taxValue": 1.01,
            "total": 11.06
        },
        {
            "subtotal": 0.285,
            "discount": 0,
            "taxPercent": 0,
            "shipping": 0,
            "wallet": 0,
            "taxValue": 0.0,
            "total": 0.29
        },
        {
            "subtotal": 250,
            "discount": 25,
            "taxPercent": 7,
            "shipping": 12.99,
            "wallet": 0,
            "taxValue": 15.75,
            "total": 253.74
        },
        {
            "subtotal": 80,
            "discount": 0,
            "taxPercent": 20,
            "shipping": 5,
            "wallet": 30,
            "taxValue": 16.0,
            "total": 71.0
        },
        {
            "subtotal": 50,
            "discount": 0,
            "taxPercent": 0,
            "shipping": 0,
            "wallet": 80,
            "taxValue": 0.0,
            "total": 0.0
        },
        {
            "subtotal": 33.33,
            "discount": 11.11,
            "taxPercent": 5,
            "shipping": 0,
            "wallet": 0,
            "taxValue": 1.11,
            "total": 23.33
        },
        {
            "subtotal": 2.675,
            "discount": 0,
            "taxPercent": 0,
            "shipping": 0,
            "wallet": 0,
            "taxValue": 0.0,
            "total": 2.68
        },
        {
            "subtotal": 1234567.89,
            "discount": 123456.789,
            "taxPercent": 5,
            "shipping": 25,
            "wallet": 100,
            "taxValue": 55555.56,
            "total": 1166591.66
        },
        {
            "subtotal": 0.01,
            "discount": 0,
            "taxPercent": 5,
            "shipping": 0,
            "wallet": 0,
            "taxValue": 0.0,
            "total": 0.01
        },
        {
            "subtotal": 199.99,
            "discount": 0,
            "taxPercent": 18.5,
            "shipping": 9.95,
            "wallet": 0.5,
            "taxValue": 37.0,
            "total": 246.44
        }
    ],
    "promoDiscounts": [
        {
            "type": "percentage",
            "value": 10,
            "subtotal": 100,
            "discount": 10.0
        },
        {
            "type": "percentage",
            "value": 12.5,
            "subtotal": 99.99,
            "discount": 12.5
        },
        {
            "type": "percentage",
            "value": 33.3333,
            "subtotal": 33.33,
            "discount": 11.11
        },
        {
            "type": "percentage",
            "value": 100,
            "subtotal": 49.5,
            "discount": 49.5
        },
        {
            "type": "percentage",
            "value": 10,
            "subtotal": -5,
            "discount": 0.0
        },
        {
            "type": "fixed amount",
            "value": 10,
            "subtotal": 100,
            "discount": 10.0
        },
        {
            "type": "fixed amount",
            "value": 50,
            "subtotal": 30,
            "discount": 30.0
        },
        {
            "type": "fixed amount",
            "value": 0,
            "subtotal": 100,
            "discount": 0.0
        },
        {
            "type": "fixed amount",
            "value": 1.005,
            "subtotal": 100,
            "discount": 1.01
        },
        {
            "type": "percentage",
            "value": 0.5,
            "subtotal": 2.5,
            "discount": 0.01
        }
    ]
}
