@Component public class FundsConfirmationBodyValidatorImpl extends AbstractBodyValidatorImpl implements FundsConfirmationBodyValidator
errorBuildingService, xs2aObjectMapper| Constructor and Description |
|---|
FundsConfirmationBodyValidatorImpl(ErrorBuildingService errorBuildingService,
Xs2aObjectMapper xs2aObjectMapper,
AccountReferenceValidator accountReferenceValidator,
AmountValidator amountValidator,
CurrencyValidator currencyValidator) |
| Modifier and Type | Method and Description |
|---|---|
MessageError |
validate(javax.servlet.http.HttpServletRequest request,
MessageError messageError)
Validates HTTP requests payloads and populates given error with error text if parameters are invalid.
|
checkFieldForMaxLength, extractErrorField, mapBodyToInstance, validateBodyFields, validateRawDatapublic FundsConfirmationBodyValidatorImpl(ErrorBuildingService errorBuildingService, Xs2aObjectMapper xs2aObjectMapper, AccountReferenceValidator accountReferenceValidator, AmountValidator amountValidator, CurrencyValidator currencyValidator)
public MessageError validate(javax.servlet.http.HttpServletRequest request, MessageError messageError)
BodyValidatorvalidate in interface BodyValidatorvalidate in class AbstractBodyValidatorImplrequest - incoming HttpServletRequest objectmessageError - error to be populatedMessageError object, enriched or not.Copyright © 2020. All rights reserved.