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 Details

    • TravelCustomerReversePopulator

      public TravelCustomerReversePopulator()
  • Method Details

    • populate

      public void populate(CustomerData source, CustomerModel target)
      Specified by:
      populate in interface de.hybris.platform.converters.Populator<CustomerData,CustomerModel>
      Overrides:
      populate in class de.hybris.platform.commercefacades.user.converters.populator.CustomerReversePopulator
    • addLanguage

      protected void addLanguage(CustomerData source, CustomerModel target)
      Populates language from CustomerData to CustomerModel
      Parameters:
      source - the source
      target - the target
    • addCurrency

      protected void addCurrency(CustomerData source, CustomerModel target)
      Populates currency from CustomerData to CustomerModel
      Parameters:
      source - the source
      target - the target
    • addAddressEntryToProfile

      protected void addAddressEntryToProfile(CustomerModel customerModel, AddressModel addressModel)
      Adds address entry to customer profile.
      Parameters:
      customerModel - the customer model
      addressModel - the address model
    • createAddress

      protected AddressModel createAddress(AddressData addressData)
      Creates new address from given address data.
      Parameters:
      addressData - the address data
      Returns:
      the address model