Class CustomerAnonymizationProperties


  • @ConfigurationProperties(prefix="broadleaf.customer.anonymization")
    public class CustomerAnonymizationProperties
    extends Object
    Controls anonymization behavior for the customer service
    • Constructor Detail

      • CustomerAnonymizationProperties

        public CustomerAnonymizationProperties()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Whether or not anonymization is enabled at all
      • isAccountEnabled

        public boolean isAccountEnabled()
        Whether or not anonymization specific to the Account domain is supported
      • isAccountMemberEnabled

        public boolean isAccountMemberEnabled()
        Whether or not anonymization specific to the AccountMember domain is supported
      • isCustomerAddressEnabled

        public boolean isCustomerAddressEnabled()
        Whether or not anonymization specific to the CustomerAddress domain is supported
      • isCustomerEnabled

        public boolean isCustomerEnabled()
        Whether or not anonymization specific to the Customer domain is supported
      • isCustomerNoteEnabled

        public boolean isCustomerNoteEnabled()
        Whether or not anonymization specific to the CustomerNote domain is supported
      • isPaymentAccountEnabled

        @Deprecated
        public boolean isPaymentAccountEnabled()
        Deprecated.
        since 1.7.2, in favor of using SavedPaymentMethod in PaymentTransactionServices to manage saved payment methods
        Whether or not anonymization specific to the PaymentAccount domain is supported
      • setEnabled

        public void setEnabled​(boolean enabled)
        Whether or not anonymization is enabled at all
      • setAccountEnabled

        public void setAccountEnabled​(boolean accountEnabled)
        Whether or not anonymization specific to the Account domain is supported
      • setAccountMemberEnabled

        public void setAccountMemberEnabled​(boolean accountMemberEnabled)
        Whether or not anonymization specific to the AccountMember domain is supported
      • setCustomerAddressEnabled

        public void setCustomerAddressEnabled​(boolean customerAddressEnabled)
        Whether or not anonymization specific to the CustomerAddress domain is supported
      • setCustomerEnabled

        public void setCustomerEnabled​(boolean customerEnabled)
        Whether or not anonymization specific to the Customer domain is supported
      • setCustomerNoteEnabled

        public void setCustomerNoteEnabled​(boolean customerNoteEnabled)
        Whether or not anonymization specific to the CustomerNote domain is supported
      • setPaymentAccountEnabled

        @Deprecated
        public void setPaymentAccountEnabled​(boolean paymentAccountEnabled)
        Deprecated.
        since 1.7.2, in favor of using SavedPaymentMethod in PaymentTransactionServices to manage saved payment methods
        Whether or not anonymization specific to the PaymentAccount domain is supported
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object