| 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 |
PsuDataUpdateAuthorisationCheckerValidator.validate(@NotNull PsuIdData psuIdDataRequest,
@Nullable PsuIdData psuIdDataAuthorisation) |
@NotNull ValidationResult |
BusinessValidator.validate(T object)
Validates some object according to some business rules
|
| 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 |
DownloadTransactionsReportValidator.executeBusinessValidation(DownloadTransactionListRequestObject consentObject) |
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 |
GetAccountConsentsStatusByIdValidator.executeBusinessValidation(CommonConsentObject consentObject)
Validates get account consent status by id 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
|
protected @NotNull ValidationResult |
GetConsentAuthorisationScaStatusValidator.executeBusinessValidation(GetConsentAuthorisationScaStatusPO consentObject)
Validates get consent authorisation sca status request
|
protected @NotNull ValidationResult |
UpdateConsentPsuDataValidator.executeBusinessValidation(UpdateConsentPsuDataRequestObject requestObject)
Validates update consent psu data 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.
|
@NotNull ValidationResult |
AisAuthorisationValidator.validate(@NotNull String authorisationId,
@NotNull AccountConsent consent) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ValidationResult |
AuthorisationStatusValidator.validate(@NotNull ScaStatus scaStatus) |
ValidationResult |
AuthorisationStageCheckValidator.validate(@NotNull UpdateAuthorisationRequest updateRequest,
@NotNull ScaStatus scaStatus,
@NotNull AuthorisationServiceType authType) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ValidationResult |
AbstractPisValidator.executeBusinessValidation(T paymentObject)
Executes request-specific business validation
|
@NotNull ValidationResult |
AbstractPisValidator.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 |
AbstractUpdatePisPsuDataValidator.executeBusinessValidation(UpdatePisPsuDataPO paymentObject)
Validates update PSU Data in payment authorisation request by checking whether:
endpoint is accessible for given authorisation
payment is not expired
|
@NotNull ValidationResult |
PisAuthorisationValidator.validate(@NotNull String authorisationId,
@NotNull PisCommonPaymentResponse commonPaymentResponse) |
protected ValidationResult |
AbstractUpdatePisPsuDataValidator.validateTransactionStatus(UpdatePisPsuDataPO paymentObject) |
| Modifier and Type | Method and Description |
|---|---|
protected ValidationResult |
GetPaymentCancellationAuthorisationsValidator.executeBusinessValidation(CommonPaymentObject paymentObject)
Validates get payment cancellation authorisations request
|
protected ValidationResult |
CreatePisCancellationAuthorisationValidator.executeBusinessValidation(CreatePisCancellationAuthorisationPO paymentObject)
Validates get payment cancellation authorisations request
|
protected ValidationResult |
GetPaymentCancellationAuthorisationScaStatusValidator.executeBusinessValidation(GetPaymentCancellationAuthorisationScaStatusPO paymentObject)
Validates get payment cancellation authorisation SCA status request
|
| 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 |
GetPaymentInitiationAuthorisationsValidator.executeBusinessValidation(CommonPaymentObject paymentObject)
Validates get payment initiation authorisations request
|
protected ValidationResult |
GetPaymentInitiationAuthorisationScaStatusValidator.executeBusinessValidation(GetPaymentInitiationAuthorisationScaStatusPO paymentObject)
Validates get payment initiation authorisation SCA status request
|
protected ValidationResult |
UpdatePisCommonPaymentPsuDataValidator.validateTransactionStatus(UpdatePisPsuDataPO paymentObject) |
| 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 |
PiisTppInfoValidator.validateTpp(String authorisationNumber) |
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) |
ValidationResult |
TppRedirectUriHeaderValidatorImpl.validate(Map<String,String> headers) |
ValidationResult |
TppNokRedirectUriHeaderValidatorImpl.validate(Map<String,String> headers) |
ValidationResult |
TppDomainValidator.validate(String header) |
| 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.