| Modifier and Type | Method and Description |
|---|---|
static ValidationResult |
ValidationResult.invalid(@NotNull ErrorType errorType,
MessageErrorCode messageErrorCode) |
static ValidationResult |
ValidationResult.invalid(@NotNull ErrorType errorType,
TppMessageInformation... tppMessageInformations) |
static ValidationResult |
ValidationResult.invalid(@NotNull ErrorType errorType,
TppMessageInformation tppMessageInformation) |
static ValidationResult |
ValidationResult.invalid(@NotNull MessageError messageError) |
static ValidationResult |
ValidationResult.valid() |
@NotNull ValidationResult |
SupportedAccountReferenceValidator.validate(@NotNull Collection<AccountReference> accountReferences) |
@NotNull ValidationResult |
PsuDataInInitialRequestValidator.validate(@NotNull PsuIdData psuIdData)
Validates PSU Data that was sent in initial request
|
@NotNull ValidationResult |
BusinessValidator.validate(T object)
Validates some object according to some business rules
|
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 |
|---|---|
protected abstract @NotNull ValidationResult |
AbstractAisTppValidator.executeBusinessValidation(T consentObject)
Executes request-specific business validation
|
@NotNull ValidationResult |
AbstractAisTppValidator.validate(T object) |
| Modifier and Type | Method and Description |
|---|---|
protected @NotNull ValidationResult |
GetBalancesReportValidator.executeBusinessValidation(CommonAccountBalanceRequestObject consentObject)
Validates get balances report request
|
protected @NotNull ValidationResult |
GetAccountDetailsValidator.executeBusinessValidation(CommonAccountRequestObject commonAccountRequestObject)
Validates get account details request
|
protected @NotNull ValidationResult |
GetTransactionDetailsValidator.executeBusinessValidation(CommonAccountTransactionsRequestObject consentObject)
Validates get transaction details request
|
protected @NotNull ValidationResult |
GetAccountListValidator.executeBusinessValidation(GetAccountListConsentObject consentObject)
Validates get account list request by checking whether:
consent has access to balances if the balance information was requested
|
protected @NotNull ValidationResult |
GetTransactionsReportValidator.executeBusinessValidation(TransactionsReportByPeriodObject requestObject)
Validates get transactions report request
|
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
AccountAccessValidator.validate(AccountConsent accountConsent,
boolean withBalance) |
ValidationResult |
AccountAccessMultipleAccountsValidator.validate(AccountConsent accountConsent,
boolean withBalance) |
ValidationResult |
AccountConsentValidator.validate(AccountConsent accountConsent,
String requestUri) |
ValidationResult |
PermittedAccountReferenceValidator.validate(AccountConsent accountConsent,
String accountId,
boolean withBalance) |
ValidationResult |
TransactionReportAcceptHeaderValidator.validate(String acceptHeader) |
ValidationResult |
AccountReferenceAccessValidator.validate(Xs2aAccountAccess accountAccess,
List<AccountReference> references,
String accountId) |
| Modifier and Type | Method and Description |
|---|---|
protected @NotNull ValidationResult |
DeleteAccountConsentsByIdValidator.executeBusinessValidation(CommonConsentObject consentObject)
Validates delete account consent by id request
|
protected @NotNull ValidationResult |
CreateConsentAuthorisationValidator.executeBusinessValidation(CommonConsentObject consentObject)
Validates create consent authorisation request
|
protected @NotNull ValidationResult |
GetConsentAuthorisationScaStatusValidator.executeBusinessValidation(CommonConsentObject consentObject)
Validates get consent authorisation sca status request
|
protected @NotNull ValidationResult |
GetAccountConsentsStatusByIdValidator.executeBusinessValidation(CommonConsentObject consentObject)
Validates get account consent status by id request
|
protected @NotNull ValidationResult |
UpdateConsentPsuDataValidator.executeBusinessValidation(CommonConsentObject consentObject)
Validates update consent psu data request
|
protected @NotNull ValidationResult |
GetConsentAuthorisationsValidator.executeBusinessValidation(CommonConsentObject consentObject)
Validates get consent authorisations request
|
protected @NotNull ValidationResult |
GetAccountConsentByIdValidator.executeBusinessValidation(CommonConsentObject consentObject)
Validates get account consent by id request
|
@NotNull ValidationResult |
CreateConsentRequestValidator.validate(@NotNull CreateConsentRequestObject requestObject)
Validates Create consent request according to:
the presence of PSU Data in the request if it's mandated by the profile
support of account reference types
support of global consent for All Psd2
support of bank offered consent
support of available account access
support of combined service indicator
If there are new consent requirements, this method has to be updated.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract ValidationResult |
AbstractPisTppValidator.executeBusinessValidation(T paymentObject)
Executes request-specific business validation
|
@NotNull ValidationResult |
AbstractPisTppValidator.validate(T object) |
@NotNull ValidationResult |
PaymentTypeAndProductValidator.validateTypeAndProduct(@NotNull PaymentType paymentType,
String paymentProduct)
Validates payment type and payment product by checking whether it's supported by the ASPSP profile
|
| Modifier and Type | Method and Description |
|---|---|
protected ValidationResult |
GetPaymentCancellationAuthorisationScaStatusValidator.executeBusinessValidation(CommonPaymentObject paymentObject)
Validates get payment cancellation authorisation SCA status request
|
protected ValidationResult |
GetPaymentCancellationAuthorisationsValidator.executeBusinessValidation(CommonPaymentObject paymentObject)
Validates get payment cancellation authorisations request
|
protected ValidationResult |
CreatePisCancellationAuthorisationValidator.executeBusinessValidation(CreatePisCancellationAuthorisationPO paymentObject)
Validates create PIS cancellation authorisation request by checking whether:
PSU Data in request matches the PSU Data in payment
|
protected ValidationResult |
UpdatePisCancellationPsuDataValidator.executeBusinessValidation(UpdatePisCancellationPsuDataPO paymentObject)
Validates update PSU Data in payment authorisation request by checking whether:
endpoint is accessible for given authorisation
|
| Modifier and Type | Method and Description |
|---|---|
protected ValidationResult |
CreatePisAuthorisationValidator.executeBusinessValidation(CommonPaymentObject paymentObject)
Validates create PIS authorisation request by checking whether:
payment is not expired
|
protected ValidationResult |
GetPaymentInitiationAuthorisationScaStatusValidator.executeBusinessValidation(CommonPaymentObject paymentObject)
Validates get payment initiation authorisation SCA status request
|
protected ValidationResult |
GetPaymentInitiationAuthorisationsValidator.executeBusinessValidation(CommonPaymentObject paymentObject)
Validates get payment initiation authorisations request
|
protected ValidationResult |
UpdatePisCommonPaymentPsuDataValidator.executeBusinessValidation(UpdatePisCommonPaymentPsuDataPO paymentObject)
Validates update PSU Data in payment authorisation request by checking whether:
endpoint is accessible for given authorisation
payment is not expired
|
| Modifier and Type | Method and Description |
|---|---|
protected ValidationResult |
CancelPaymentValidator.executeBusinessValidation(CancelPaymentPO paymentObject)
Validates cancel payment request by checking whether:
given payment's type and product are valid for the payment
|
protected ValidationResult |
GetPaymentByIdValidator.executeBusinessValidation(GetPaymentByIdPO paymentObject)
Validates get payment by ID request by checking whether:
given payment's type and product are valid for the payment
|
protected ValidationResult |
GetPaymentStatusByIdValidator.executeBusinessValidation(GetPaymentStatusByIdPO paymentObject)
Validates get payment status by ID request by checking whether:
given payment's type and product are valid for the payment
|
@NotNull ValidationResult |
CreatePaymentValidator.validate(@NotNull CreatePaymentRequestObject createPaymentRequestObject)
Validates create payment request by checking whether:
Payment product and payment type are correct
PSU Data is present in the request if it's mandated by the profile
Account references are supported by ASPSP
|
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
TppInfoValidator.validateTpp(@Nullable TppInfo tppInfo)
Validates the TPP object contained in the consent/payment by checking whether it matches the current TPP in the request
|
| Modifier and Type | Method and Description |
|---|---|
protected ValidationResult |
AbstractHeaderValidatorImpl.checkHeaderContent(Map<String,String> headers) |
protected ValidationResult |
PsuIPAddressHeaderValidatorImpl.checkHeaderContent(Map<String,String> headers) |
protected ValidationResult |
XRequestIdHeaderValidatorImpl.checkHeaderContent(Map<String,String> headers) |
protected ValidationResult |
AbstractHeaderValidatorImpl.checkIfHeaderIsPresented(Map<String,String> headers) |
protected ValidationResult |
AbstractHeaderValidatorImpl.validate(Map<String,String> headers) |
protected ValidationResult |
TppRedirectURIHeaderValidatorImpl.validate(Map<String,String> headers) |
| Modifier and Type | Method and Description |
|---|---|
protected ValidationResult |
AbstractQueryParameterValidatorImpl.validateMandatoryParameterPresence(Map<String,List<String>> queryParameterMap)
Validates the presence of mandatory query parameter by checking whether:
the parameter is present in the request
the parameter's value is contained only once in the request
the parameter's value is not blank
|
Copyright © 2019. All rights reserved.