Class PaymentAnonymizationProperties
java.lang.Object
com.broadleafcommerce.paymenttransaction.service.anonymization.PaymentAnonymizationProperties
@ConfigurationProperties(prefix="broadleaf.paymenttransaction.anonymization")
public class PaymentAnonymizationProperties
extends Object
Controls anonymization behavior for the cart service
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The list ofPayment.getAttributes()
keys whose values should be anonymizedThe list ofPayment.getDisplayAttributes()
keys whose values should be anonymizedThe list ofPayment.getPaymentMethodProperties()
keys whose values should be anonymizedThe list ofPaymentTransaction.getAttributes()
keys whose values should be anonymizedint
hashCode()
boolean
Whether or not anonymization is enabled at allboolean
Whether or not anonymization specific to thePayment
domain is supportedvoid
setAttributesToProcess
(List<String> attributesToProcess) The list ofPayment.getAttributes()
keys whose values should be anonymizedvoid
setDisplayAttributesToProcess
(List<String> displayAttributesToProcess) The list ofPayment.getDisplayAttributes()
keys whose values should be anonymizedvoid
setEnabled
(boolean enabled) Whether or not anonymization is enabled at allvoid
setPaymentEnabled
(boolean paymentEnabled) Whether or not anonymization specific to thePayment
domain is supportedvoid
setPaymentMethodPropertiesToProcess
(List<String> paymentMethodPropertiesToProcess) The list ofPayment.getPaymentMethodProperties()
keys whose values should be anonymizedvoid
setTransactionAttributesToProcess
(List<String> transactionAttributesToProcess) The list ofPaymentTransaction.getAttributes()
keys whose values should be anonymizedtoString()
-
Constructor Details
-
PaymentAnonymizationProperties
public PaymentAnonymizationProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Whether or not anonymization is enabled at all -
isPaymentEnabled
public boolean isPaymentEnabled()Whether or not anonymization specific to thePayment
domain is supported -
getPaymentMethodPropertiesToProcess
The list ofPayment.getPaymentMethodProperties()
keys whose values should be anonymized -
getAttributesToProcess
The list ofPayment.getAttributes()
keys whose values should be anonymized -
getDisplayAttributesToProcess
The list ofPayment.getDisplayAttributes()
keys whose values should be anonymized -
getTransactionAttributesToProcess
The list ofPaymentTransaction.getAttributes()
keys whose values should be anonymized -
setEnabled
public void setEnabled(boolean enabled) Whether or not anonymization is enabled at all -
setPaymentEnabled
public void setPaymentEnabled(boolean paymentEnabled) Whether or not anonymization specific to thePayment
domain is supported -
setPaymentMethodPropertiesToProcess
The list ofPayment.getPaymentMethodProperties()
keys whose values should be anonymized -
setAttributesToProcess
The list ofPayment.getAttributes()
keys whose values should be anonymized -
setDisplayAttributesToProcess
The list ofPayment.getDisplayAttributes()
keys whose values should be anonymized -
setTransactionAttributesToProcess
The list ofPaymentTransaction.getAttributes()
keys whose values should be anonymized -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-