| Package | Description |
|---|---|
| de.adorsys.psd2.xs2a.service.validator | |
| de.adorsys.psd2.xs2a.web.validator |
| Modifier and Type | Method and Description |
|---|---|
static ValidationResult |
ValidationResult.invalid(@NotNull ErrorType errorType,
MessageErrorCode messageErrorCode) |
static ValidationResult |
ValidationResult.invalid(@NotNull ErrorType errorType,
TppMessageInformation tppMessageInformation) |
static ValidationResult |
ValidationResult.invalid(@NotNull MessageError messageError) |
static ValidationResult |
ValidationResult.valid() |
ValidationResult |
CreateConsentRequestValidator.validateRequest(CreateConsentReq request)
Validates Create consent request according to:
supporting of global consent for All Psd2
supporting of bank offered consent
expiration date of consent
If there are new consent requirements, this method has to be updated.
|
ValidationResult |
GetCommonPaymentByIdResponseValidator.validateRequest(@Nullable PisCommonPaymentResponse pisCommonPayment,
PaymentType paymentType,
String paymentProduct)
Validates get payment by id response for cancel payment, get payment and payment status calls according to:
if get payment by id result contains data
if payment type is valid
if payment type is valid
If there are new get payment by id response validation requirements, this method has to be updated.
|
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
ConsentControllerHeadersValidationService.validateCreateConsent()
Validates headers of createConsent(...) method of ConsentController.
|
ValidationResult |
PaymentControllerHeadersValidationService.validateInitiatePayment()
Validates headers of initiatePayment(...) methods of PaymentController.
|
Copyright © 2019. All rights reserved.