Class DefaultSapC4cCustomerPopulator

java.lang.Object
com.sap.hybris.c4c.customer.populator.DefaultSapC4cCustomerPopulator
All Implemented Interfaces:
de.hybris.platform.converters.Populator<CustomerModel,C4CCustomerData>

public class DefaultSapC4cCustomerPopulator extends Object implements de.hybris.platform.converters.Populator<CustomerModel,C4CCustomerData>
Populates C4CCustomerData DTO
  • Constructor Details

    • DefaultSapC4cCustomerPopulator

      public DefaultSapC4cCustomerPopulator()
  • Method Details

    • populate

      public void populate(CustomerModel customerModel, C4CCustomerData customerData) throws de.hybris.platform.servicelayer.dto.converter.ConversionException
      Specified by:
      populate in interface de.hybris.platform.converters.Populator<CustomerModel,C4CCustomerData>
      Throws:
      de.hybris.platform.servicelayer.dto.converter.ConversionException
    • populateHeaderData

      protected C4CHeaderData populateHeaderData()
      Creates and populate header data
    • getConfigurationProperty

      protected String getConfigurationProperty(String propertyKey)
      Reads configuration from the properties file for given propertyKey
    • getCustomerNameStrategy

      public de.hybris.platform.commerceservices.strategies.CustomerNameStrategy getCustomerNameStrategy()
      Returns:
      the customerNameStrategy
    • setCustomerNameStrategy

      public void setCustomerNameStrategy(de.hybris.platform.commerceservices.strategies.CustomerNameStrategy customerNameStrategy)
      Parameters:
      customerNameStrategy - the customerNameStrategy to set
    • getConfigurationService

      public de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()
      Returns:
      the configurationService
    • setConfigurationService

      public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService)
      Parameters:
      configurationService - the configurationService to set