Class NotificationPreferencePopulator

    • Constructor Detail

      • NotificationPreferencePopulator

        public NotificationPreferencePopulator()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • getSmsNotificationChannelStrategy

        public SmsNotificationChannelStrategy getSmsNotificationChannelStrategy()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setSmsNotificationChannelStrategy

        public void setSmsNotificationChannelStrategy​(SmsNotificationChannelStrategy smsNotificationChannelStrategy)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • populate

        public void populate​(CustomerModel source,
                             NotificationPreferenceData target)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Populate notification preference data into target.CustomerModel contains UID which is the email address SmsNotificationChannelStrategy will provide the phone number
        Specified by:
        populate in interface Populator<CustomerModel,​NotificationPreferenceData>
        Parameters:
        source - The UID in CustomerModel will be used to fill emailAddress in target
        target - The target will contain the populated notification preference data about whether email and sms are enabled and what their detail informations are