A JSON object containing order's price in the minor unit format.
| Name | Type | Description | Notes |
|---|---|---|---|
| subtotal | Long | Total item and modifier price (tax-inclusive) in the minor unit. ``` subtotal = Sum of all (item price * quantity) | 2550*1=2550 |
| tax | Long | GrabFood's tax in the minor unit. Refer to FAQs for more details about tax. ``` tax = (subtotal + merchantChargeFee - merchantFundPromo) * Tax / (1+Tax) | (2550-475)*0.06/1.06=117 |
| merchantChargeFee | Long | Any additional fee charged by merchant (tax-inclusive), which is 100% paid out to the merchant. Reach out to your integration support team for the configuration. Eg. Takeaway, packaging costs, dine-in charge. | [optional] |
| serviceChargeFee | Long | Additional service charge fee charged by merchant (tax-inclusive), which is 100% paid out to the merchant. Reach out to your integration support team for the configuration. | [optional] |
| grabFundPromo | Long | GrabFood's promo fund in the minor unit. Calculated based on funded ratio. Only present when `paymentType:CASH` or `orderType:DeliveredByRestaurant`. Otherwise, it will be set to `0`. | [optional] |
| merchantFundPromo | Long | The merchant's promo fund in the minor unit. Calculated based on funded ratio. | [optional] |
| basketPromo | Long | The total amount promo applied to the basket items only (item level/order level) in the minor unit, excluding delivery fee. Only present when `paymentType: CASH` or `orderType: DeliveredByRestaurant`. Otherwise, it will be set to `0`. ``` basketPromo = (grabFundPromo + merchantFundPromo) | 300 + 475 = 775 |
| deliveryFee | Long | The delivery fee in the minor unit. Only present when `paymentType:CASH` or `orderType:DeliveredByRestaurant`. Otherwise, it will be set to `0`. | [optional] |
| smallOrderFee | Long | The fee charged by GrabFood for order that does not meet a certain minimum order value. Only present when `paymentType:CASH` and `orderType:DeliveredByRestaurant`. | [optional] |
| eaterPayment | Long | The total amount paid by the consumer in the minor unit, excluding some additional fees charged by GrabFood. Only present when `paymentType:CASH` or `orderType:DeliveredByRestaurant`. Otherwise, it will be set to `0`. ``` eaterPayment = (subtotal + merchantChargeFee + deliveryFee) - (sum of all promo) | (2550+400)-775=2175 |
| total | Long | The total merchant-related amount calculated exclusive of commission charges. Formulae is the same for all delivery method. ``` total = subtotal + merchantChargeFee - merchantFundPromo | 2550+0-475=2075 |
| merchantEarning | MerchantEarning | [optional] |