Class DefaultProductInterestConfigService
- java.lang.Object
-
- de.hybris.platform.customerinterestsservices.productinterest.impl.DefaultProductInterestConfigService
-
- All Implemented Interfaces:
ProductInterestConfigService
public class DefaultProductInterestConfigService extends java.lang.Object implements ProductInterestConfigService
Service to deal with the product interests configuration.
-
-
Constructor Summary
Constructors Constructor Description DefaultProductInterestConfigService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetConfiguredExpiryDay()java.util.DategetProductInterestExpiryDate(java.util.Date creationTime)Finds product interest expiry date according to the creation date.intgetProductInterestExpiryDay()Finds product interest expiry day.
-
-
-
Method Detail
-
getProductInterestExpiryDay
public int getProductInterestExpiryDay()
Description copied from interface:ProductInterestConfigServiceFinds product interest expiry day.- Specified by:
getProductInterestExpiryDayin interfaceProductInterestConfigService- Returns:
-
getConfiguredExpiryDay
protected int getConfiguredExpiryDay()
-
getProductInterestExpiryDate
public java.util.Date getProductInterestExpiryDate(java.util.Date creationTime)
Description copied from interface:ProductInterestConfigServiceFinds product interest expiry date according to the creation date.- Specified by:
getProductInterestExpiryDatein interfaceProductInterestConfigService- Parameters:
creationTime- product interest creation date- Returns:
- product interest expiry date
-
-