@Component public class SinglePaymentTypeValidatorImpl extends AbstractBodyValidatorImpl implements PaymentTypeValidator
errorBuildingService, objectMapper| Constructor and Description |
|---|
SinglePaymentTypeValidatorImpl(ErrorBuildingService errorBuildingService,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
PaymentMapper paymentMapper,
AmountValidator amountValidator) |
| Modifier and Type | Method and Description |
|---|---|
PaymentType |
getPaymentType() |
void |
validate(Object body,
MessageError messageError) |
checkOptionalFieldForMaxLength, checkRequiredFieldForMaxLength, mapBodyToInstance, validate, validateBodyFields, validateRawData, validateRemittanceInformationStructured, validateUltimateCreditor, validateUltimateDebtor@Autowired public SinglePaymentTypeValidatorImpl(ErrorBuildingService errorBuildingService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, PaymentMapper paymentMapper, AmountValidator amountValidator)
public PaymentType getPaymentType()
getPaymentType in interface PaymentTypeValidatorpublic void validate(Object body, MessageError messageError)
validate in interface PaymentTypeValidatorCopyright © 2019. All rights reserved.