Class CustomerProfileDataPopulator
- java.lang.Object
-
- de.hybris.platform.assistedservicestorefront.customer360.populators.CustomerProfileDataPopulator
-
- All Implemented Interfaces:
Populator<CustomerModel,CustomerProfileData>
public class CustomerProfileDataPopulator extends java.lang.Object implements Populator<CustomerModel,CustomerProfileData>
CustomerModel -> CustomerProfileData populator
-
-
Constructor Summary
Constructors Constructor Description CustomerProfileDataPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Converter<AddressModel,AddressData>getAddressConverter()protected Converter<CreditCardPaymentInfoModel,CCPaymentInfoData>getCreditCardPaymentInfoConverter()protected CustomerAccountServicegetCustomerAccountService()protected java.util.List<CCPaymentInfoData>getPaymentInfoList(CustomerModel userModel)protected intgetPaymentMethodsListSize()voidpopulate(CustomerModel userModel, CustomerProfileData customerProfileData)Populate the target instance with values from the source instance.voidsetAddressConverter(Converter<AddressModel,AddressData> addressConverter)voidsetCreditCardPaymentInfoConverter(Converter<CreditCardPaymentInfoModel,CCPaymentInfoData> creditCardPaymentInfoConverter)voidsetCustomerAccountService(CustomerAccountService customerAccountService)voidsetPaymentMethodsListSize(int paymentMethodsListSize)
-
-
-
Method Detail
-
populate
public void populate(CustomerModel userModel, CustomerProfileData customerProfileData)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<CustomerModel,CustomerProfileData>- Parameters:
userModel- the source objectcustomerProfileData- the target to fill
-
getPaymentInfoList
protected java.util.List<CCPaymentInfoData> getPaymentInfoList(CustomerModel userModel)
-
getAddressConverter
protected Converter<AddressModel,AddressData> getAddressConverter()
-
setAddressConverter
public void setAddressConverter(Converter<AddressModel,AddressData> addressConverter)
-
getCustomerAccountService
protected CustomerAccountService getCustomerAccountService()
-
setCustomerAccountService
public void setCustomerAccountService(CustomerAccountService customerAccountService)
-
getCreditCardPaymentInfoConverter
protected Converter<CreditCardPaymentInfoModel,CCPaymentInfoData> getCreditCardPaymentInfoConverter()
-
setCreditCardPaymentInfoConverter
public void setCreditCardPaymentInfoConverter(Converter<CreditCardPaymentInfoModel,CCPaymentInfoData> creditCardPaymentInfoConverter)
-
getPaymentMethodsListSize
protected int getPaymentMethodsListSize()
-
setPaymentMethodsListSize
public void setPaymentMethodsListSize(int paymentMethodsListSize)
-
-