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.
| Modifier and Type | Method and Description |
|---|---|
Date |
getDynamicSkuActiveEndDate(Sku sku)
Returns the activeEndDate for the SKU if it has been overridden.
|
Date |
getDynamicSkuActiveStartDate(Sku sku)
Returns the activeStartDate for the SKU if it has been overridden.
|
Copyright © 2015. All Rights Reserved.