Links a product category to a promotion, defining a window in which that promotion is available to products in that category. Persisted as XML (XStream alias "promotional-availability") as part of a store's PricingConfiguration, and used by PricingRulesSet to look up the promotions that apply to a category during pricing.

Group: E-commerce


Properties

PropertyReturnsDescription
categoryNameStringThe name of the product category this promotional availability applies to.
idStringThe unique identifier for this promotional availability, used to look it up in a PricingRulesSet. Never null once persisted.
promotionNameStringThe name of the promotion made available to products in the linked category.

Methods

getId()

Returns: String

The unique identifier for this promotional availability, used to look it up in a PricingRulesSet. Never null once persisted.

getCategoryName()

Returns: String

The name of the product category this promotional availability applies to.

getPromotionName()

Returns: String

The name of the promotion made available to products in the linked category.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.