Class DefaultDynamicSkuPricingServiceImpl
java.lang.Object
org.broadleafcommerce.core.catalog.service.dynamic.DefaultDynamicSkuPricingServiceImpl
- All Implemented Interfaces:
DynamicSkuPricingService
@Service("blDynamicSkuPricingService")
public class DefaultDynamicSkuPricingServiceImpl
extends Object
implements DynamicSkuPricingService
Default implementation of the
DynamicSkuPricingService which simply ignores the considerations hashmap in all
method implementations- Author:
- jfischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPriceAdjustment(ProductOptionValueImpl productOptionValueImpl, Money priceAdjustment, HashMap skuPricingConsiderationContext) Execute dynamic pricing on the price of a product option value.getSkuBundleItemPrice(SkuBundleItem skuBundleItem, HashMap skuPricingConsiderations) Used for tgetSkuPrices(SkuPriceWrapper skuWrapper, HashMap skuPricingConsiderations) While this method should return aDynamicSkuPrices(and not just null) the members of the result can all be null; they do not have to be set
-
Constructor Details
-
DefaultDynamicSkuPricingServiceImpl
public DefaultDynamicSkuPricingServiceImpl()
-
-
Method Details
-
getSkuPrices
Description copied from interface:DynamicSkuPricingServiceWhile this method should return aDynamicSkuPrices(and not just null) the members of the result can all be null; they do not have to be set- Specified by:
getSkuPricesin interfaceDynamicSkuPricingService- Returns:
-
getSkuBundleItemPrice
public DynamicSkuPrices getSkuBundleItemPrice(SkuBundleItem skuBundleItem, HashMap skuPricingConsiderations) Description copied from interface:DynamicSkuPricingServiceUsed for t- Specified by:
getSkuBundleItemPricein interfaceDynamicSkuPricingService- Returns:
-
getPriceAdjustment
public DynamicSkuPrices getPriceAdjustment(ProductOptionValueImpl productOptionValueImpl, Money priceAdjustment, HashMap skuPricingConsiderationContext) Description copied from interface:DynamicSkuPricingServiceExecute dynamic pricing on the price of a product option value.- Specified by:
getPriceAdjustmentin interfaceDynamicSkuPricingService- Returns:
-