Interface PaymentAccessValidationService

All Known Implementing Classes:
DefaultPaymentAccessValidationService

public interface PaymentAccessValidationService
Validates access to the payment based on passed in context.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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 - the Payment requiring access
      customerRef - the CustomerRef to validate against
      lockToken - the current lock token
      context - context information surrounding multitenant state