Class PaymentAnonymizationHandler

java.lang.Object
com.broadleafcommerce.paymenttransaction.service.anonymization.AbstractAnonymizationHandler
com.broadleafcommerce.paymenttransaction.service.anonymization.PaymentAnonymizationHandler
All Implemented Interfaces:
com.broadleafcommerce.common.extension.data.DataRoutePartitionAware, com.broadleafcommerce.common.privacy.anonymization.AnonymizationHandler, org.springframework.core.Ordered

public class PaymentAnonymizationHandler extends AbstractAnonymizationHandler
Updates PII fields for the Payment domain.
  • Constructor Details

  • Method Details

    • getDataRoutePartition

      public String getDataRoutePartition()
    • getOrder

      public int getOrder()
    • anonymize

      public List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> anonymize(@NonNull @NonNull String boundedContextIdentifier, @Nullable Object context)
    • handleRecords

      protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> handleRecords(@NonNull @NonNull String boundedContextIdentifier, @NonNull @NonNull Stream<Payment> payments, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • processAddresses

      protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> processAddresses(@NonNull @NonNull String boundedContextIdentifier, @Nullable Map<String,Address> addressByType, @NonNull @NonNull String type, @NonNull @NonNull String fieldName)
    • processTransactions

      protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> processTransactions(@NonNull @NonNull String boundedContextIdentifier, @Nullable List<PaymentTransaction> transactions, @NonNull @NonNull String type, @NonNull @NonNull String fieldName, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • getPaymentService

      protected PaymentService<Payment> getPaymentService()
    • getPaymentTransactionService

      protected PaymentTransactionService<PaymentTransaction> getPaymentTransactionService()
    • getProperties

      protected PaymentAnonymizationProperties getProperties()