@Component public class PaymentTypeAndProductValidator extends Object
| Constructor and Description |
|---|
PaymentTypeAndProductValidator() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ValidationResult |
validateTypeAndProduct(@NotNull de.adorsys.psd2.xs2a.core.profile.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 de.adorsys.psd2.xs2a.core.profile.PaymentType paymentType, String paymentProduct)
paymentType - payment typepaymentProduct - payment productCopyright © 2020. All rights reserved.