| 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() |
@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 |
GetTransactionsReportValidator.executeBusinessValidation(CommonAccountRequestObject commonAccountRequestObject)
Validates get transactions 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
|
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
AccountAccessValidator.validate(AccountConsent accountConsent,
boolean withBalance) |
ValidationResult |
PermittedAccountReferenceValidator.validate(AccountConsent accountConsent,
List<AccountReference> references,
String accountId,
boolean withBalance) |
ValidationResult |
AccountConsentValidator.validate(AccountConsent accountConsent,
String requestUri) |
| Modifier and Type | Method and Description |
|---|---|
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 |
UpdateConsentPsuDataValidator.executeBusinessValidation(CommonConsentObject consentObject)
Validates update consent psu data request
|
protected @NotNull ValidationResult |
GetAccountConsentByIdValidator.executeBusinessValidation(CommonConsentObject consentObject)
Validates get account consent by id request
|
protected @NotNull ValidationResult |
GetAccountConsentsStatusByIdValidator.executeBusinessValidation(CommonConsentObject consentObject)
Validates get account consent status by id request
|
protected @NotNull ValidationResult |
DeleteAccountConsentsByIdValidator.executeBusinessValidation(CommonConsentObject consentObject)
Validates delete account consent by id request
|
protected @NotNull ValidationResult |
GetConsentAuthorisationsValidator.executeBusinessValidation(CommonConsentObject consentObject)
Validates get consent authorisations 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) |
| Modifier and Type | Method and Description |
|---|---|
protected ValidationResult |
GetPaymentCancellationAuthorisationsValidator.executeBusinessValidation(CommonPaymentObject paymentObject)
Validates get payment cancellation authorisations request
|
protected ValidationResult |
GetPaymentCancellationAuthorisationScaStatusValidator.executeBusinessValidation(CommonPaymentObject paymentObject)
Validates get payment cancellation authorisation SCA status 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 |
GetPaymentInitiationAuthorisationsValidator.executeBusinessValidation(CommonPaymentObject paymentObject)
Validates get payment initiation authorisations request
|
protected ValidationResult |
GetPaymentInitiationAuthorisationScaStatusValidator.executeBusinessValidation(CommonPaymentObject paymentObject)
Validates get payment initiation authorisation SCA status request
|
protected ValidationResult |
CreatePisAuthorisationValidator.executeBusinessValidation(CommonPaymentObject paymentObject)
Validates create PIS authorisation request by checking whether:
payment is not expired
|
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:
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 |
PisTppInfoValidator.validateTpp(@Nullable TppInfo tppInfoInPayment)
Validates the TPP object contained in the payment by checking whether it matches current TPP
|
ValidationResult |
AisTppInfoValidator.validateTpp(@Nullable TppInfo tppInfoInConsent)
Validates the TPP object contained in the consent by checking whether it matches the current TPP in the request
|
| Modifier and Type | Method and Description |
|---|---|
protected ValidationResult |
PsuIPAddressHeaderValidatorImpl.checkHeaderContent(Map<String,String> headers) |
protected ValidationResult |
AbstractHeaderValidatorImpl.checkHeaderContent(Map<String,String> headers) |
protected ValidationResult |
XRequestIdHeaderValidatorImpl.checkHeaderContent(Map<String,String> headers) |
protected ValidationResult |
AbstractHeaderValidatorImpl.validate(Map<String,String> headers) |
Copyright © 2019. All rights reserved.