Interface CountryValidatorHolder
-
public interface CountryValidatorHolder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCountryIdentifier()Returns country identifier for which payment validators will be appliedPaymentBodyFieldsValidatorgetPaymentBodyFieldsValidator()Returns payment body fields validator for validating format of the paymentPaymentBusinessValidatorgetPaymentBusinessValidator()Returns payment business validator for executing custom validation according to specific business rules.
-
-
-
Method Detail
-
getCountryIdentifier
String getCountryIdentifier()
Returns country identifier for which payment validators will be applied- Returns:
- country identifier
-
getPaymentBodyFieldsValidator
PaymentBodyFieldsValidator getPaymentBodyFieldsValidator()
Returns payment body fields validator for validating format of the payment- Returns:
- body validator
-
getPaymentBusinessValidator
PaymentBusinessValidator getPaymentBusinessValidator()
Returns payment business validator for executing custom validation according to specific business rules.Will be executed after validating payment fields, but before any call to SPI.
- Returns:
- business validator
-
-