@Component public class BulkPaymentTypeValidatorImpl extends SinglePaymentTypeValidatorImpl
errorBuildingService, objectMapper| Constructor and Description |
|---|
BulkPaymentTypeValidatorImpl(ErrorBuildingService errorBuildingService,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
PaymentMapper paymentMapper) |
| Modifier and Type | Method and Description |
|---|---|
PaymentType |
getPaymentType() |
void |
validate(Object body,
MessageError messageError) |
checkOptionalFieldForMaxLength, checkRequiredFieldForMaxLength, mapBodyToInstance@Autowired public BulkPaymentTypeValidatorImpl(ErrorBuildingService errorBuildingService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, PaymentMapper paymentMapper)
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.