Interface PaymentAccessValidationService
- All Known Implementing Classes:
DefaultPaymentAccessValidationService
public interface PaymentAccessValidationService
Validates access to the payment based on passed in context.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validateCustomerPaymentRequest
(@NonNull Payment payment, @NonNull CustomerRef customerRef, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Validates access to the payment based on the passed in context
-
Method Details
-
validateCustomerPaymentRequest
void validateCustomerPaymentRequest(@NonNull @NonNull Payment payment, @NonNull @NonNull CustomerRef customerRef, @Nullable String lockToken, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Validates access to the payment based on the passed in context- Parameters:
payment
- thePayment
requiring accesscustomerRef
- theCustomerRef
to validate againstlockToken
- the current lock tokencontext
- context information surrounding multitenant state
-