Class SavedPaymentMethodAnonymizationHandler

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

public class SavedPaymentMethodAnonymizationHandler extends AbstractAnonymizationHandler
Updates PII fields for the SavedPaymentMethod domain.
Author:
Dima Myroniuk (dmyroniuk)
  • 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)
    • anonymize

      protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> anonymize(@NonNull @NonNull String owningUserType, @NonNull @NonNull String owningUserId, @NonNull @NonNull String tenantId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • handleRecords

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

      protected SavedPaymentMethodService<SavedPaymentMethod> getSavedPaymentMethodService()
    • getProperties

      protected PaymentAnonymizationProperties getProperties()