Class PaymentAnonymizationEndpoint
java.lang.Object
com.broadleafcommerce.paymenttransaction.web.endpoint.PaymentAnonymizationEndpoint
@FrameworkRestController
@FrameworkMapping("/pii/payments")
@DataRouteByKey("paymentTransaction")
@ConditionalOnProperty(value="broadleaf.paymenttrransaction.anonymization.enabled",
matchIfMissing=true)
public class PaymentAnonymizationEndpoint
extends Object
Supply the anonymization related endpoint to the service. Supplies the entrypoint for
anonymization of PII data for a cart.
-
Constructor Summary
ConstructorDescriptionPaymentAnonymizationEndpoint
(com.broadleafcommerce.common.privacy.anonymization.AnonymizationService anonymizationService) -
Method Summary
-
Constructor Details
-
PaymentAnonymizationEndpoint
public PaymentAnonymizationEndpoint(com.broadleafcommerce.common.privacy.anonymization.AnonymizationService anonymizationService)
-
-
Method Details
-
anonymize
@Policy(permissionRoots="PAYMENT", identityTypes=ADMIN) @FrameworkDeleteMapping("/{id}") public com.broadleafcommerce.common.privacy.anonymization.AnonymizationReport anonymize(@PathVariable("id") String customerId, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-