@Component public class PaymentTypeAndProductValidator extends Object
| Constructor and Description |
|---|
PaymentTypeAndProductValidator() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ValidationResult |
validateTypeAndProduct(@NotNull PaymentType paymentType,
String paymentProduct)
Validates payment type and payment product by checking whether it's supported by the ASPSP profile
|
@NotNull public @NotNull ValidationResult validateTypeAndProduct(@NotNull @NotNull PaymentType paymentType, String paymentProduct)
paymentType - payment typepaymentProduct - payment productCopyright © 2019. All rights reserved.