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
Updates PII fields for the
SavedPaymentMethod
domain.- Author:
- Dima Myroniuk (dmyroniuk)
-
Field Summary
Fields inherited from interface com.broadleafcommerce.common.extension.data.DataRoutePartitionAware
ALL_MATCH
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionSavedPaymentMethodAnonymizationHandler
(SavedPaymentMethodService<SavedPaymentMethod> savedPaymentMethodService, PaymentAnonymizationProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
anonymize
(@NonNull String owningUserType, @NonNull String owningUserId, @NonNull String tenantId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
int
getOrder()
protected PaymentAnonymizationProperties
protected SavedPaymentMethodService<SavedPaymentMethod>
protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
handleRecords
(@NonNull String boundedContextIdentifier, @NonNull Stream<SavedPaymentMethod> payments, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Methods inherited from class com.broadleafcommerce.paymenttransaction.service.anonymization.AbstractAnonymizationHandler
process, process, process, process
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.common.privacy.anonymization.AnonymizationHandler
empty, fail, process
-
Constructor Details
-
SavedPaymentMethodAnonymizationHandler
public SavedPaymentMethodAnonymizationHandler(SavedPaymentMethodService<SavedPaymentMethod> savedPaymentMethodService, PaymentAnonymizationProperties properties)
-
-
Method Details
-
getDataRoutePartition
-
getOrder
public int getOrder() -
anonymize
-
anonymize
-
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
-
getProperties
-