Class DefaultDynamicSkuPricingInvocationHandler
java.lang.Object
org.broadleafcommerce.core.catalog.service.dynamic.DefaultDynamicSkuPricingInvocationHandler
- All Implemented Interfaces:
InvocationHandler
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultDynamicSkuPricingInvocationHandler(BigDecimal salePriceOverride) This is used with SkuBundleItem to allow the bundle override price.DefaultDynamicSkuPricingInvocationHandler(Sku sku, BigDecimal salePriceOverride) This is used with SkuBundleItem to allow the bundle override price.DefaultDynamicSkuPricingInvocationHandler(Sku sku, Money adjustments) Used to add ProductOptionValue price adjustments to the proxy Sku -
Method Summary
-
Field Details
-
FIELD_CACHE
-
delegate
-
retailPrice
-
salePrice
-
-
Constructor Details
-
DefaultDynamicSkuPricingInvocationHandler
-
DefaultDynamicSkuPricingInvocationHandler
This is used with SkuBundleItem to allow the bundle override price.- Parameters:
sku-salePriceOverride-
-
DefaultDynamicSkuPricingInvocationHandler
This is used with SkuBundleItem to allow the bundle override price.- Parameters:
salePriceOverride-
-
DefaultDynamicSkuPricingInvocationHandler
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
-
getSingleField
- Throws:
IllegalStateException
-
invoke
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-
unwrap
-
reset
public void reset()
-