Package net.officefloor.pay.paypal.mock
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 theHttpRequest
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validate(R request)
Validates theHttpRequest
.
-
-
-
Method Detail
-
validate
void validate(R request) throws java.lang.Throwable
Validates theHttpRequest
.- Parameters:
request
-HttpRequest
.- Throws:
java.lang.Throwable
- Possible validation failure.
-
-