|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DynamicSkuPricingService
Interface for calculating dynamic pricing for a Sku. This should be hooked up via a custom subclass of
org.broadleafcommerce.core.web.catalog.DefaultDynamicSkuPricingFilter where an implementation of this class
should be injected and returned in the getPricing() method.
Rather than implementing this interface directly, consider subclassing the DefaultDynamicSkuPricingServiceImpl
and providing overrides to methods there.
DefaultDynamicSkuPricingServiceImpl},
org.broadleafcommerce.core.web.catalog.DefaultDynamicSkuPricingFilter},
SkuPricingConsiderationContext}| Method Summary | |
|---|---|
DynamicSkuPrices |
getPriceAdjustment(ProductOptionValueImpl productOptionValueImpl,
Money priceAdjustment,
HashMap skuPricingConsiderationContext)
Execute dynamic pricing on the price of a product option value. |
DynamicSkuPrices |
getSkuBundleItemPrice(SkuBundleItem sku,
HashMap skuPricingConsiderations)
Used for t |
DynamicSkuPrices |
getSkuPrices(Sku sku,
HashMap skuPricingConsiderations)
While this method should return a DynamicSkuPrices (and not just null) the members of the result can all
be null; they do not have to be set |
| Method Detail |
|---|
@Nonnull
DynamicSkuPrices getSkuPrices(Sku sku,
HashMap skuPricingConsiderations)
DynamicSkuPrices (and not just null) the members of the result can all
be null; they do not have to be set
sku - skuPricingConsiderations -
DynamicSkuPrices getSkuBundleItemPrice(SkuBundleItem sku,
HashMap skuPricingConsiderations)
sku - skuPricingConsiderations -
DynamicSkuPrices getPriceAdjustment(ProductOptionValueImpl productOptionValueImpl,
Money priceAdjustment,
HashMap skuPricingConsiderationContext)
productOptionValueImpl - priceAdjustment - skuPricingConsiderationContext -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||