Class DefaultProductInterestConfigService
java.lang.Object
de.hybris.platform.customerinterestsservices.productinterest.impl.DefaultProductInterestConfigService
- All Implemented Interfaces:
ProductInterestConfigService
public class DefaultProductInterestConfigService
extends Object
implements ProductInterestConfigService
Service to deal with the product interests configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetProductInterestExpiryDate(Date creationTime) Finds product interest expiry date according to the creation date.intFinds product interest expiry day.
-
Constructor Details
-
DefaultProductInterestConfigService
public DefaultProductInterestConfigService()
-
-
Method Details
-
getProductInterestExpiryDay
public int getProductInterestExpiryDay()Description copied from interface:ProductInterestConfigServiceFinds product interest expiry day.- Specified by:
getProductInterestExpiryDayin interfaceProductInterestConfigService- Returns:
-
getConfiguredExpiryDay
protected int getConfiguredExpiryDay() -
getProductInterestExpiryDate
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
-