Class SapC4cCustomerUtils

java.lang.Object
com.sap.hybris.c4c.customer.util.SapC4cCustomerUtils

public class SapC4cCustomerUtils extends Object
Utility Class for creating Data Transfer objects
  • Constructor Details

    • SapC4cCustomerUtils

      public SapC4cCustomerUtils()
  • Method Details

    • getCustomerDataForCustomer

      public C4CCustomerData getCustomerDataForCustomer(CustomerModel customerModel, Collection<AddressModel> addressModels)
      Returns C4CCustomerData for given customerModel and list of addressModel
      Parameters:
      customerModel -
      addressModels -
      Returns:
      c4cCustomerData
    • getAdressListForCustomer

      public List<C4CAddressData> getAdressListForCustomer(Collection<AddressModel> addressModels)
      Returns List of C4CAddressData for given list of addressModel
      Parameters:
      addressModels -
      Returns:
      list of C4CAddressData
    • getAddressWithEmail

      public C4CAddressData getAddressWithEmail(String email)
      Returns C4CAddressData populated with given email
      Parameters:
      email -
      Returns:
      C4CAddressData
    • getAddressPopulator

      public de.hybris.platform.converters.Populator getAddressPopulator()
      Returns:
      the addressPopulator
    • setAddressPopulator

      public void setAddressPopulator(de.hybris.platform.converters.Populator addressPopulator)
      Parameters:
      addressPopulator - the addressPopulator 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
    • getCustomerPopulator

      public de.hybris.platform.converters.Populator getCustomerPopulator()
      Returns:
      the customerPopulator
    • setCustomerPopulator

      public void setCustomerPopulator(de.hybris.platform.converters.Populator customerPopulator)
      Parameters:
      customerPopulator - the customerPopulator to set