Class CustomerAnonymizationProperties
java.lang.Object
com.broadleafcommerce.customer.service.anonymization.CustomerAnonymizationProperties
@ConfigurationProperties(prefix="broadleaf.customer.anonymization")
public class CustomerAnonymizationProperties
extends Object
Controls anonymization behavior for the customer service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()booleanWhether or not anonymization specific to theAccountdomain is supportedbooleanWhether or not anonymization specific to theAccountMemberdomain is supportedbooleanWhether or not anonymization specific to theCustomerAddressdomain is supportedbooleanWhether or not anonymization specific to theCustomerdomain is supportedbooleanWhether or not anonymization specific to theCustomerNotedomain is supportedbooleanWhether or not anonymization is enabled at allbooleanDeprecated.voidsetAccountEnabled(boolean accountEnabled) Whether or not anonymization specific to theAccountdomain is supportedvoidsetAccountMemberEnabled(boolean accountMemberEnabled) Whether or not anonymization specific to theAccountMemberdomain is supportedvoidsetCustomerAddressEnabled(boolean customerAddressEnabled) Whether or not anonymization specific to theCustomerAddressdomain is supportedvoidsetCustomerEnabled(boolean customerEnabled) Whether or not anonymization specific to theCustomerdomain is supportedvoidsetCustomerNoteEnabled(boolean customerNoteEnabled) Whether or not anonymization specific to theCustomerNotedomain is supportedvoidsetEnabled(boolean enabled) Whether or not anonymization is enabled at allvoidsetPaymentAccountEnabled(boolean paymentAccountEnabled) Deprecated.since 1.7.2, in favor of usingSavedPaymentMethodin PaymentTransactionServices to manage saved payment methodstoString()
-
Constructor Details
-
CustomerAnonymizationProperties
public CustomerAnonymizationProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Whether or not anonymization is enabled at all -
isAccountEnabled
public boolean isAccountEnabled()Whether or not anonymization specific to theAccountdomain is supported -
isAccountMemberEnabled
public boolean isAccountMemberEnabled()Whether or not anonymization specific to theAccountMemberdomain is supported -
isCustomerAddressEnabled
public boolean isCustomerAddressEnabled()Whether or not anonymization specific to theCustomerAddressdomain is supported -
isCustomerEnabled
public boolean isCustomerEnabled()Whether or not anonymization specific to theCustomerdomain is supported -
isCustomerNoteEnabled
public boolean isCustomerNoteEnabled()Whether or not anonymization specific to theCustomerNotedomain is supported -
isPaymentAccountEnabled
Deprecated.since 1.7.2, in favor of usingSavedPaymentMethodin PaymentTransactionServices to manage saved payment methodsWhether or not anonymization specific to thePaymentAccountdomain 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 theAccountdomain is supported -
setAccountMemberEnabled
public void setAccountMemberEnabled(boolean accountMemberEnabled) Whether or not anonymization specific to theAccountMemberdomain is supported -
setCustomerAddressEnabled
public void setCustomerAddressEnabled(boolean customerAddressEnabled) Whether or not anonymization specific to theCustomerAddressdomain is supported -
setCustomerEnabled
public void setCustomerEnabled(boolean customerEnabled) Whether or not anonymization specific to theCustomerdomain is supported -
setCustomerNoteEnabled
public void setCustomerNoteEnabled(boolean customerNoteEnabled) Whether or not anonymization specific to theCustomerNotedomain is supported -
setPaymentAccountEnabled
Deprecated.since 1.7.2, in favor of usingSavedPaymentMethodin PaymentTransactionServices to manage saved payment methodsWhether or not anonymization specific to thePaymentAccountdomain is supported -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
SavedPaymentMethodin PaymentTransactionServices to manage saved payment methods