static void |
ValidationErrorUtils.checkCmBr0010(List<ValidationError> validationErrors,
String messageRefId,
Set<String> docRefIds,
String docRefId) |
Checks if the DocRefId is not unique in the message (20010).
|
static void |
ValidationErrorUtils.checkCmBr0050(List<ValidationError> validationErrors,
String messageRefId,
DocTypeEnum docTypeEnum,
String corrDocRefId,
String docRefId) |
Checks if the CorrDocRefId is not specified for new data (20050).
|
static void |
ValidationErrorUtils.checkCmBr0060(List<ValidationError> validationErrors,
String messageRefId,
DocTypeEnum docTypeEnum,
String corrDocRefId,
String docRefId) |
Checks if the corrDocRefId is provided in case of correction (20060).
|
static void |
ValidationErrorUtils.checkCmBr0100(List<ValidationError> validationErrors,
String messageRefId,
XmlTypeAndValue pspId) |
Checks Psp BIC conforms ISO-9362.
|
static void |
ValidationErrorUtils.checkCmBr0110(List<ValidationError> validationErrors,
String messageRefId,
MessageTypeIndicEnum messageTypeIndic) |
Given there's no payees in the message, check if it is allowed for the specified type of message.
|
static void |
ValidationErrorUtils.checkCmTr0020(List<ValidationError> validationErrors,
String messageRefId) |
Failed Decryption (50020).
|
static void |
ValidationErrorUtils.checkCmTr0030(List<ValidationError> validationErrors,
String messageRefId) |
Failed Decompression (50030).
|
static void |
ValidationErrorUtils.checkCmTr0040(List<ValidationError> validationErrors,
String messageRefId) |
Failed Signature Check (50040).
|
static void |
ValidationErrorUtils.checkCmTr0050(List<ValidationError> validationErrors,
String messageRefId) |
Failed Threat Scan (50050).
|
static void |
ValidationErrorUtils.checkCmTr0060(List<ValidationError> validationErrors,
String messageRefId) |
Failed Virus Scan (50060).
|
static void |
ValidationErrorUtils.checkCmTr0070(List<ValidationError> validationErrors,
String messageRefId,
long size,
long maxSize) |
Message size exceeded (50070).
|
static void |
ValidationErrorUtils.checkDuplicateReportedPayees(List<ValidationError> validationErrors,
String messageRefId,
HashMap<Set<XmlTypeAndValue>,String> reportedPayees,
List<XmlTypeAndValue> names,
XmlCountryTypeAndValue account,
String docRefId) |
Checks if the current reported payee is not a duplicate of a previously reported payee.
|
static void |
ValidationErrorUtils.checkMhBr0020(List<ValidationError> validationErrors,
String messageRefId,
String timestamp) |
Checks if the 'Timestamp' element does not refer to a wrong (future) value (10020).
|
static void |
ValidationErrorUtils.checkMhBr0030(List<ValidationError> validationErrors,
String messageRefId,
Integer period,
Integer minPeriod) |
Checks if the period is not before 01/01/2024 (10030).
|
static void |
ValidationErrorUtils.checkMhBr0070AndMhBr0080(List<ValidationError> validationErrors,
String messageRefId,
MessageTypeIndicEnum messageTypeIndic,
DocTypeEnum docType,
String docRefId) |
Checks if an initial Payment data message only contains new data and if a correction message only
contains corrections/deletions (10070 and 10080).
|
static void |
ValidationErrorUtils.checkMhBr0090(List<ValidationError> validationErrors,
String messageRefId,
MessageTypeEnum messageType,
boolean hasPaymentDataBody) |
A payment data message (MessageType = 'PMT') must contain the 'PaymentDataBody' element.
|
static void |
ValidationErrorUtils.checkMhBr0100(List<ValidationError> validationErrors,
String messageRefId,
MessageTypeIndicEnum messageTypeIndic,
Integer period,
Integer correlatedPeriod) |
In a correction message, the reporting period must be identical to the reporting period of the correlated message.
|
static void |
ValidationErrorUtils.checkMhBr0110(List<ValidationError> validationErrors,
String messageRefId,
String corrMessageRefId,
MessageTypeIndicEnum messageTypeIndic) |
CorrMessageRefId in the 'MessageSpec' element must only be provided in correction messages
(when 'MessageTypeIndic' = CESOP101).
|
static void |
ValidationErrorUtils.checkMhBr0120(List<ValidationError> validationErrors,
String messageRefId,
String transmittingCountry,
String requiredCountry) |
TransmittingCountry in the 'MessageSpec' element must be the same as required country if that is passed.
|
static void |
ValidationErrorUtils.checkRpBr0010(List<ValidationError> validationErrors,
String messageRefId,
String payeeCountry,
String payerMsCountry,
String transactionIdentifier) |
Checks if the country code of the 'Country' element within the 'ReportedPayee' element is not the same as
the country code of the 'PayerMS' element (40010).
|
static void |
ValidationErrorUtils.checkRpBr0020(List<ValidationError> validationErrors,
String messageRefId,
String accountIdentifierType,
String iban,
String docRefId) |
Checks the IBAN format (40020).
|
static void |
ValidationErrorUtils.checkRpBr0030(List<ValidationError> validationErrors,
String messageRefId,
String accountIdentifierType,
String countryCode,
String iban,
String docRefId) |
Validates the IBAN (40030) based on the countryCode IBAN length and the MOD97 algorithm.
|
static void |
ValidationErrorUtils.checkRpBr0040(List<ValidationError> validationErrors,
String messageRefId,
boolean hasPaymentData,
MessageTypeIndicEnum messageTypeIndic) |
Checks if no Reported payee is listed in no payment data for the requested period handler (40040).
|
static void |
ValidationErrorUtils.checkRpBr0050(List<ValidationError> validationErrors,
String messageRefId,
DocTypeEnum docType,
boolean emptyTransactions) |
Checks if the 'ReportedTransaction' element is present, except in case of deletion of the related Reported Payee.
|
static void |
ValidationErrorUtils.checkRpBr0060(List<ValidationError> validationErrors,
XmlCountryTypeAndValue account,
String messageRefId) |
Checks if there is no discrepancy in the 'AccountIdentifier' attributes.
|
static void |
ValidationErrorUtils.checkRpBr0070(List<ValidationError> validationErrors,
String messageRefId,
XmlTypeAndValue representativeId,
String docRefId) |
Checks if the representative's BIC conforms ISO-9362.
|
static void |
ValidationErrorUtils.checkRpBr0080(List<ValidationError> validationErrors,
String messageRefId,
XmlCountryTypeAndValue accountIdentifier,
XmlPsp representative,
String docRefId) |
|
static void |
ValidationErrorUtils.checkRtBr0010(List<ValidationError> validationErrors,
String messageRefId,
boolean isRefund,
XmlTypeAndValue amount,
String transactionIdentifier) |
Checks the amount value.
|
static void |
ValidationErrorUtils.checkRtBr0030(List<ValidationError> validationErrors,
String messageRefId,
Integer period,
EnumMap<TransactionDateEnum,String> dates,
String transactionIdentifier) |
Checks if at least one 'DateTime' element in the 'ReportedTransaction' element refers to a date within the period and year
declared in the 'ReportingPeriod' element (45030).
|
static void |
ValidationErrorUtils.checkRtBr0040(List<ValidationError> validationErrors,
String messageRefId,
Set<String> transactionIdentifiers,
String transactionIdentifier) |
Checks if the transaction identifier is unique in message handler (45040).
|
static void |
ValidationErrorUtils.checkRtBr0060(List<ValidationError> validationErrors,
String messageRefId,
String amount,
String transactionIdentifier) |
Checks if the value of the 'Amount' element is not equal to zero (45060).
|
static void |
ValidationErrorUtils.checkRtBr0080(List<ValidationError> validationErrors,
String messageRefId,
boolean isInErrorRtBr0080,
String transactionIdentifier) |
Checks if the same type of transaction date has not been provided more than once (45080).
|