Interface PaymentBodyFieldsValidator
-
public interface PaymentBodyFieldsValidator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description de.adorsys.psd2.xs2a.core.error.MessageErrorvalidate(javax.servlet.http.HttpServletRequest request, String paymentService, de.adorsys.psd2.xs2a.core.error.MessageError messageError)Validates payment body format.
-
-
-
Method Detail
-
validate
de.adorsys.psd2.xs2a.core.error.MessageError validate(javax.servlet.http.HttpServletRequest request, String paymentService, de.adorsys.psd2.xs2a.core.error.MessageError messageError)Validates payment body format.- Parameters:
request- information about incoming requestpaymentService- payment service for which the initiation request has been sentmessageError- error holder that contains already found errors- Returns:
- error container with no errors if the payment is correct, container with populated errors to be displayed to the TPP otherwise
-
-