Salesforce B2C Commerce 23.6 > B2C Commerce API > B2C Commerce Script > dw.campaign
dw.campaign
Class BonusDiscount
Object
dw.campaign.Discount
dw.campaign.BonusDiscount
Represents a bonus discount in the discount plan, for example "Get a free DVD with your purchase of any DVD player."
Properties
bonusProducts  :  Collection  (Read Only)
The bonus products associated with this discount that are in stock, online and assigned to site catalog.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getBonusProducts() : Collection
Returns the bonus products associated with this discount that are in stock, online and assigned to site catalog.
Methods inherited from class Discount
Methods inherited from class Object
Method Detail
getBonusProducts
getBonusProducts() : Collection
Returns the bonus products associated with this discount that are in stock, online and assigned to site catalog.
Returns:
Collection of bonus products

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.