Interface DynamicSkuActiveDatesService
public interface DynamicSkuActiveDatesService
Interface for dynamically determining the activity dates.
Provides an ability to set active dates programatically. Intended for use by add-on modules like the PriceList module which supports activeDates dates by PriceList.
Even if the dates are being overridden dynamically, the master activeStart and activeEnd dates still control the global activeDates of a SKU.
Rather than implementing this interface directly, consider sub-classing the DefaultDynamicSkuActiveDatesServiceImpl
and providing overrides to methods there.
- Author:
- bpolster
-
Method Summary
Modifier and TypeMethodDescriptionReturns the activeEndDate for the SKU if it has been overridden.Returns the activeStartDate for the SKU if it has been overridden.
-
Method Details
-
getDynamicSkuActiveStartDate
Returns the activeStartDate for the SKU if it has been overridden.- Parameters:
sku-- Returns:
-
getDynamicSkuActiveEndDate
Returns the activeEndDate for the SKU if it has been overridden.- Parameters:
sku-- Returns:
-