Class TravelCustomerReversePopulator
java.lang.Object
de.hybris.platform.commercefacades.user.converters.populator.CustomerReversePopulator
de.hybris.platform.travelfacades.facades.user.converters.populator.TravelCustomerReversePopulator
- All Implemented Interfaces:
de.hybris.platform.converters.Populator<CustomerData,CustomerModel>
public class TravelCustomerReversePopulator
extends de.hybris.platform.commercefacades.user.converters.populator.CustomerReversePopulator
Populator to populate
CustomerModel from CustomerData-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAddressEntryToProfile(CustomerModel customerModel, AddressModel addressModel) Adds address entry to customer profile.protected voidaddCurrency(CustomerData source, CustomerModel target) Populates currency fromCustomerDatatoCustomerModelprotected voidaddLanguage(CustomerData source, CustomerModel target) Populates language fromCustomerDatatoCustomerModelprotected AddressModelcreateAddress(AddressData addressData) Creates new address from given address data.voidpopulate(CustomerData source, CustomerModel target) Methods inherited from class de.hybris.platform.commercefacades.user.converters.populator.CustomerReversePopulator
getAddressReversePopulator, getBaseSiteService, getCommonI18NService, getCustomerNameStrategy, getModelService, getSitePreferenceReverseConverter, getUserService, setAddressReversePopulator, setBaseSiteService, setCommonI18NService, setCustomerNameStrategy, setModelService, setSitePreferenceReverseConverter, setUid, setUserService
-
Constructor Details
-
TravelCustomerReversePopulator
public TravelCustomerReversePopulator()
-
-
Method Details
-
populate
- Specified by:
populatein interfacede.hybris.platform.converters.Populator<CustomerData,CustomerModel> - Overrides:
populatein classde.hybris.platform.commercefacades.user.converters.populator.CustomerReversePopulator
-
addLanguage
Populates language fromCustomerDatatoCustomerModel- Parameters:
source- the sourcetarget- the target
-
addCurrency
Populates currency fromCustomerDatatoCustomerModel- Parameters:
source- the sourcetarget- the target
-
addAddressEntryToProfile
Adds address entry to customer profile.- Parameters:
customerModel- the customer modeladdressModel- the address model
-
createAddress
Creates new address from given address data.- Parameters:
addressData- the address data- Returns:
- the address model
-