Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.51 KB

OrderPrice.md

File metadata and controls

21 lines (13 loc) · 1.51 KB

OrderPrice

A JSON object containing order's price in the minor unit format.

Properties

Name Type Description Notes
subtotal Long Total item and modifier price (tax-inclusive) in the minor unit. `Sum of all (Item price * quantity) 2550*1=2550`.
tax Long GrabFood's tax in the minor unit. `(subtotal-merchantFundPromo)* Tax /(1+Tax) (2550-475)*0.06/1.06=117`. Refer to FAQs for more details about tax.
merchantChargeFee Long Any additional fee charged by merchant, which is 100% paid out to the merchant. Eg. Takeaway, packaging costs, dine-in charge. [optional]
grabFundPromo Long GrabFood's promo fund in the minor unit. Calculated based on funded ratio. [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. Delivery fee is excluded. `(grabFundPromo + merchantFundPromo) 300 + 475 = 775`
deliveryFee Long The delivery fee in the minor unit. [optional]
eaterPayment Long The total amount consumer paid in the minor unit. `(subtotal + deliveryFee) - (sum of all promo) (2550+400)-775=2175`