Class DefaultDynamicSkuPricingInvocationHandler

java.lang.Object
org.broadleafcommerce.core.catalog.service.dynamic.DefaultDynamicSkuPricingInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class DefaultDynamicSkuPricingInvocationHandler extends Object implements InvocationHandler
  • Field Details

    • FIELD_CACHE

      protected static final ConcurrentHashMap<String,Field> FIELD_CACHE
    • delegate

      protected Sku delegate
    • retailPrice

      protected org.broadleafcommerce.common.money.Money retailPrice
    • salePrice

      protected org.broadleafcommerce.common.money.Money salePrice
  • Constructor Details

    • DefaultDynamicSkuPricingInvocationHandler

      public DefaultDynamicSkuPricingInvocationHandler(Sku sku)
    • DefaultDynamicSkuPricingInvocationHandler

      public DefaultDynamicSkuPricingInvocationHandler(Sku sku, BigDecimal salePriceOverride)
      This is used with SkuBundleItem to allow the bundle override price.
      Parameters:
      sku -
      salePriceOverride -
    • DefaultDynamicSkuPricingInvocationHandler

      public DefaultDynamicSkuPricingInvocationHandler(BigDecimal salePriceOverride)
      This is used with SkuBundleItem to allow the bundle override price.
      Parameters:
      salePriceOverride -
    • DefaultDynamicSkuPricingInvocationHandler

      public DefaultDynamicSkuPricingInvocationHandler(Sku sku, org.broadleafcommerce.common.money.Money adjustments)
      Used to add ProductOptionValue price adjustments to the proxy Sku
      Parameters:
      sku -
      adjustments - - the sum total of the ProductOptionValue price adjustments. If null, this functions the same as the default constructor. This value is added to both the salePrice and retailPrice
  • Method Details