| 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 |
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 |
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(CommonConsentObject consentObject)
Validates get transaction details request
|
protected @NotNull ValidationResult |
GetBalancesReportValidator.executeBusinessValidation(CommonConsentObject consentObject)
Validates get balances report 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 |
AccountConsentValidator.validate(AccountConsent accountConsent) |
ValidationResult |
AccountAccessValidator.validate(AccountConsent accountConsent,
boolean withBalance) |
ValidationResult |
PermittedAccountReferenceValidator.validate(AccountConsent accountConsent,
List<AccountReference> references,
String accountId,
boolean withBalance) |
| 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 CreateConsentReq request)
Validates Create consent request according to:
support of global consent for All Psd2
support of bank offered consent
expiration date of the consent
requested frequency per day of the consent
support of available account access
requested access of the consent
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 PaymentInitiationParameters paymentInitiationParameters)
Validates create payment request by checking whether:
PSU is present in the request if it's mandated by the profile
|
| 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 |
|---|---|
ValidationResult |
XRequestIdValidationService.validateXRequestId(String xRequestId)
Validates the 'X-Request-ID' header for non-null state and correct structure.
|
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
PsuIpAddressValidationService.validatePsuIdAddress(String psuIpAddress)
Validates the 'PSU-IP-Address' header for non-null state and correct structure.
|
Copyright © 2019. All rights reserved.