Class CustomerProfileDataPopulator
java.lang.Object
de.hybris.platform.assistedservicefacades.customer360.populators.CustomerProfileDataPopulator
- All Implemented Interfaces:
Populator<CustomerModel,CustomerProfileData>
public class CustomerProfileDataPopulator
extends Object
implements Populator<CustomerModel,CustomerProfileData>
CustomerModel -> CustomerProfileData populator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Converter<AddressModel,AddressData> protected Converter<CreditCardPaymentInfoModel,CCPaymentInfoData> protected CustomerAccountServiceprotected List<CCPaymentInfoData>getPaymentInfoList(CustomerModel userModel) protected intvoidpopulate(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)
-
Constructor Details
-
CustomerProfileDataPopulator
public CustomerProfileDataPopulator()
-
-
Method Details
-
populate
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
-
getAddressConverter
-
setAddressConverter
-
getCustomerAccountService
-
setCustomerAccountService
-
getCreditCardPaymentInfoConverter
protected Converter<CreditCardPaymentInfoModel,CCPaymentInfoData> getCreditCardPaymentInfoConverter() -
setCreditCardPaymentInfoConverter
public void setCreditCardPaymentInfoConverter(Converter<CreditCardPaymentInfoModel, CCPaymentInfoData> creditCardPaymentInfoConverter) -
getPaymentMethodsListSize
protected int getPaymentMethodsListSize() -
setPaymentMethodsListSize
public void setPaymentMethodsListSize(int paymentMethodsListSize)
-