Interface AbstractPayPalJUnit.Validator<R extends com.paypal.http.HttpRequest<? extends java.lang.Object>>

  • Enclosing class:
    AbstractPayPalJUnit
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface AbstractPayPalJUnit.Validator<R extends com.paypal.http.HttpRequest<? extends java.lang.Object>>
    Validates the HttpRequest.
    • Method Detail

      • validate

        void validate​(R request)
               throws java.lang.Throwable
        Validates the HttpRequest.
        Parameters:
        request - HttpRequest.
        Throws:
        java.lang.Throwable - Possible validation failure.