Class BonusDiscount
Represents a bonus discount in the discount plan, for example "Get a free DVD with your purchase of any DVD player."
| Property | Description |
|---|---|
bonusProducts: Collection (read-only) | Returns the bonus products associated with this discount that are in stock, online and assigned to site catalog. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getBonusProducts() | Returns the bonus products associated with this discount that are in stock, online and assigned to site catalog. |
getItemPromotionTiers, getPromotion, getPromotionTier, getQuantity, getType
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
- bonusProducts: Collection
(read-only) Returns the bonus products associated with this discount that are in stock, online and assigned to site catalog.
- 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