Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 1.72 KB

OrderCampaign.md

File metadata and controls

19 lines (16 loc) · 1.72 KB

# OrderCampaign

Properties

Name Type Description Notes
id string The campaign's ID returned by GrabFood upon campaign creation. [optional]
name string The name of the campaign. This campaign name has been automatically generated by Grab for display in the customer app. [optional]
campaign_name_for_mex string The campaign name provided by the merchant in Create Campaign. Whitelist required, reach out to your integration manager. [optional]
level string The campaign level. [optional]
type string The type of campaign. [optional]
usage_count int The redemption count of same campaign in this order. [optional]
mex_funded_ratio int The ratio funded by the merchant in percentage. [optional]
deducted_amount int The total discount amount in minor unit format applied to the order based on the campaign's usage count. The amount is rounded to the nearest value for `VND`, `IDR`, and `THB`, as decimals are not supported. ``` deductedAmount = Item price(tax inclusive) * 20% discount 2375*0.2=475
deducted_part string The part that the campaign is applied. [optional]
applied_item_ids string[] An array of item IDs that get discount under this campaign. `null` if no item applied in this campaign. [optional]
free_item \Grab\GrabfoodApiSdk\Model\OrderFreeItem [optional]

[Back to Model list] [Back to API list] [Back to README]