org.broadleafcommerce.core.catalog.service.dynamic
Class DefaultDynamicSkuPricingServiceImpl

java.lang.Object
  extended by org.broadleafcommerce.core.catalog.service.dynamic.DefaultDynamicSkuPricingServiceImpl
All Implemented Interfaces:
DynamicSkuPricingService

@Service(value="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
DefaultDynamicSkuPricingServiceImpl()
           
 
Method Summary
 DynamicSkuPrices getPriceAdjustment(ProductOptionValueImpl productOptionValueImpl, Money priceAdjustment, HashMap skuPricingConsiderationContext)
          Execute dynamic pricing on the price of a product option value.
 DynamicSkuPrices getSkuBundleItemPrice(SkuBundleItem skuBundleItem, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDynamicSkuPricingServiceImpl

public DefaultDynamicSkuPricingServiceImpl()
Method Detail

getSkuPrices

public DynamicSkuPrices getSkuPrices(Sku sku,
                                     HashMap skuPricingConsiderations)
Description copied from interface: DynamicSkuPricingService
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

Specified by:
getSkuPrices in interface DynamicSkuPricingService
Returns:

getSkuBundleItemPrice

public DynamicSkuPrices getSkuBundleItemPrice(SkuBundleItem skuBundleItem,
                                              HashMap skuPricingConsiderations)
Description copied from interface: DynamicSkuPricingService
Used for t

Specified by:
getSkuBundleItemPrice in interface DynamicSkuPricingService
Returns:

getPriceAdjustment

public DynamicSkuPrices getPriceAdjustment(ProductOptionValueImpl productOptionValueImpl,
                                           Money priceAdjustment,
                                           HashMap skuPricingConsiderationContext)
Description copied from interface: DynamicSkuPricingService
Execute dynamic pricing on the price of a product option value.

Specified by:
getPriceAdjustment in interface DynamicSkuPricingService
Returns:


Copyright © 2013. All Rights Reserved.