Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 1.41 KB

CampaignDiscount.md

File metadata and controls

12 lines (9 loc) · 1.41 KB

# CampaignDiscount

Properties

Name Type Description Notes
type string The type of discount
cap float The maximum discount dollar amount. It is not required and will be ignored when the `discount.type` is: - `net` - `delivery` - `freeItem` - `bundleSameNet` - `bundleSamePercentage` - `bundleSameFixPrice` - `bundleDiffNet` - `bundleDiffPercentage` - `bundleDiffFixPrice` [optional]
value float Specify the discount amount. Decimal number is not supported For VN, ID and TH. For example, `10.5` is not allowed and it should be `10.0`. * Dollar amount value when `discount.type` is `net`, `delivery`, `bundleSameNet`, `bundleSameFixPrice`, `bundleDiffNet`, `bundleDiffFixPrice`. * Percentage value (0-100) when `discount.type` is `percentage`, `bundleSamePercentage`, `bundleDiffPercentage`. * Not required when `discount.type` is `freeItem`. [optional]
scope \Grab\GrabfoodApiSdk\Model\CampaignScope

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