Class DefaultSapC4cAddressPopulator

    • Constructor Detail

      • DefaultSapC4cAddressPopulator

        public DefaultSapC4cAddressPopulator()
    • Method Detail

      • populateAddressUsageCodes

        protected java.util.List<java.lang.String> populateAddressUsageCodes​(CustomerModel customerModel,
                                                                             AddressModel addressModel)
        Creates and populates address usage data
      • populatePhoneNumbers

        protected java.util.List<C4CAddressPhoneData> populatePhoneNumbers​(AddressModel addressModel)
        Creates and populates phone number data list
      • getConfigurationProperty

        protected java.lang.String getConfigurationProperty​(java.lang.String propertyKey)
        Reads configuration from the properties file for given propertyKey
      • populatePhoneNumber

        protected C4CAddressPhoneData populatePhoneNumber​(java.lang.String phoneNumber,
                                                          java.lang.Boolean mobileNumberIndicator,
                                                          java.lang.String usageCode)
        Creates and populates phone number data
      • getConfigurationService

        public ConfigurationService getConfigurationService()
        Returns:
        the configurationService
      • setConfigurationService

        public void setConfigurationService​(ConfigurationService configurationService)
        Parameters:
        configurationService - the configurationService to set