@Component public class CreatePaymentValidator extends Object implements BusinessValidator<PaymentInitiationParameters>
| Constructor and Description |
|---|
CreatePaymentValidator() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ValidationResult |
validate(@NotNull PaymentInitiationParameters paymentInitiationParameters)
Validates create payment request by checking whether:
PSU is present in the request if it's mandated by the profile
|
@NotNull public @NotNull ValidationResult validate(@NotNull @NotNull PaymentInitiationParameters paymentInitiationParameters)
validate in interface BusinessValidator<PaymentInitiationParameters>paymentInitiationParameters - payment initiation parameters, passed to the service methodCopyright © 2019. All rights reserved.