@Component public class BulkPaymentTypeValidatorImpl extends SinglePaymentTypeValidatorImpl
validationConfigerrorBuildingService, xs2aObjectMapper| Constructor and Description |
|---|
BulkPaymentTypeValidatorImpl(ErrorBuildingService errorBuildingService,
Xs2aObjectMapper xs2aObjectMapper,
PaymentMapper paymentMapper,
AmountValidator amountValidator,
PaymentValidationConfig validationConfig) |
| Modifier and Type | Method and Description |
|---|---|
PaymentType |
getPaymentType() |
void |
validate(Object body,
MessageError messageError) |
checkFieldForMaxLength, extractErrorField, mapBodyToInstance, validate, validateBodyFields, validateRawData@Autowired public BulkPaymentTypeValidatorImpl(ErrorBuildingService errorBuildingService, Xs2aObjectMapper xs2aObjectMapper, PaymentMapper paymentMapper, AmountValidator amountValidator, PaymentValidationConfig validationConfig)
public PaymentType getPaymentType()
getPaymentType in interface PaymentTypeValidatorgetPaymentType in class SinglePaymentTypeValidatorImplpublic void validate(Object body, MessageError messageError)
validate in interface PaymentTypeValidatorvalidate in class SinglePaymentTypeValidatorImplCopyright © 2019. All rights reserved.