Class CustomerCouponPopulator
- java.lang.Object
-
- de.hybris.platform.customercouponfacades.converter.populators.CustomerCouponPopulator
-
- All Implemented Interfaces:
Populator<CustomerCouponModel,CustomerCouponData>
public class CustomerCouponPopulator extends java.lang.Object implements Populator<CustomerCouponModel,CustomerCouponData>
PopulatesCustomerCouponModeltoCustomerCouponData
-
-
Constructor Summary
Constructors Constructor Description CustomerCouponPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CommerceCommonI18NServicegetCommerceCommonI18NService()protected intgetCouponExpireNotificationDays()CustomerCouponServicegetCustomerCouponService()protected java.lang.StringgetSolrRootCategory()protected booleanisBindingAnyProduct(java.util.List<PromotionSourceRuleModel> list)voidpopulate(CustomerCouponModel source, CustomerCouponData target)Populate the target instance with values from the source instance.voidsetCommerceCommonI18NService(CommerceCommonI18NService commerceCommonI18NService)voidsetCustomerCouponService(CustomerCouponService customerCouponService)
-
-
-
Method Detail
-
populate
public void populate(CustomerCouponModel source, CustomerCouponData target)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<CustomerCouponModel,CustomerCouponData>- Parameters:
source- the source objecttarget- the target to fill
-
isBindingAnyProduct
protected boolean isBindingAnyProduct(java.util.List<PromotionSourceRuleModel> list)
-
getSolrRootCategory
protected java.lang.String getSolrRootCategory()
-
getCouponExpireNotificationDays
protected int getCouponExpireNotificationDays()
-
getCommerceCommonI18NService
protected CommerceCommonI18NService getCommerceCommonI18NService()
-
setCommerceCommonI18NService
public void setCommerceCommonI18NService(CommerceCommonI18NService commerceCommonI18NService)
-
getCustomerCouponService
public CustomerCouponService getCustomerCouponService()
-
setCustomerCouponService
public void setCustomerCouponService(CustomerCouponService customerCouponService)
-
-