This commit is contained in:
parent
0170de8e73
commit
2ac98d9f39
1 changed files with 20 additions and 20 deletions
|
|
@ -71,37 +71,37 @@ public class BankAccountValidationConfig {
|
|||
AccountError.RequiredFieldEmpty,
|
||||
AccountError.DictionaryNotFound,
|
||||
false),
|
||||
ValidateSymbolsRule.required("bankIdentificationCode",
|
||||
ValidateSymbolsRule.required("БИК",
|
||||
BankAccountNewRequest::getBankIdentificationCode,
|
||||
AccountError.RequiredFieldEmpty,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.required("bankName",
|
||||
ValidateSymbolsRule.required("Наименование компании",
|
||||
BankAccountNewRequest::getBankName,
|
||||
AccountError.RequiredFieldEmpty,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.notRequired("correspondentAccount",
|
||||
ValidateSymbolsRule.notRequired("Корр. счет",
|
||||
BankAccountNewRequest::getCorrespondentAccount,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.notRequired("correspondentAccountName",
|
||||
ValidateSymbolsRule.notRequired("Наименование корр. счета",
|
||||
BankAccountNewRequest::getCorrespondentAccountName,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.notRequired("destination",
|
||||
ValidateSymbolsRule.notRequired("Назначение платежа",
|
||||
BankAccountNewRequest::getDestination,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.required("account",
|
||||
ValidateSymbolsRule.required("Счет",
|
||||
BankAccountNewRequest::getAccount,
|
||||
AccountError.RequiredFieldEmpty,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.notRequired("taxpayerIdentificationNumber",
|
||||
ValidateSymbolsRule.notRequired("ИНН",
|
||||
BankAccountNewRequest::getTaxpayerIdentificationNumber,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.notRequired("taxRegistrationReasonCode",
|
||||
ValidateSymbolsRule.notRequired("КПП",
|
||||
BankAccountNewRequest::getTaxRegistrationReasonCode,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.notRequired("swiftCode",
|
||||
ValidateSymbolsRule.notRequired("SWIFT",
|
||||
BankAccountNewRequest::getSwiftCode,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.notRequired("intermediarySwiftCode",
|
||||
ValidateSymbolsRule.notRequired("SWIFT посредника",
|
||||
BankAccountNewRequest::getIntermediarySwiftCode,
|
||||
AccountError.BadSymbol)
|
||||
);
|
||||
|
|
@ -145,34 +145,34 @@ public class BankAccountValidationConfig {
|
|||
AccountError.RequiredFieldEmpty,
|
||||
AccountError.DictionaryNotFound,
|
||||
false),
|
||||
ValidateSymbolsRule.notRequired("bankIdentificationCode",
|
||||
ValidateSymbolsRule.notRequired("БИК",
|
||||
BankAccountUpdateRequest::getBankIdentificationCode,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.notRequired("bankName",
|
||||
ValidateSymbolsRule.notRequired("Наименование компании",
|
||||
BankAccountUpdateRequest::getBankName,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.notRequired("correspondentAccount",
|
||||
ValidateSymbolsRule.notRequired("Корр. счет",
|
||||
BankAccountUpdateRequest::getCorrespondentAccount,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.notRequired("correspondentAccountName",
|
||||
ValidateSymbolsRule.notRequired("Наименование корр. счета",
|
||||
BankAccountUpdateRequest::getCorrespondentAccountName,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.notRequired("destination",
|
||||
ValidateSymbolsRule.notRequired("Назначение платежа",
|
||||
BankAccountUpdateRequest::getDestination,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.notRequired("account",
|
||||
ValidateSymbolsRule.notRequired("Счет",
|
||||
BankAccountUpdateRequest::getAccount,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.notRequired("taxpayerIdentificationNumber",
|
||||
ValidateSymbolsRule.notRequired("ИНН",
|
||||
BankAccountUpdateRequest::getTaxpayerIdentificationNumber,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.notRequired("taxRegistrationReasonCode",
|
||||
ValidateSymbolsRule.notRequired("КПП",
|
||||
BankAccountUpdateRequest::getTaxRegistrationReasonCode,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.notRequired("swiftCode",
|
||||
ValidateSymbolsRule.notRequired("SWIFT",
|
||||
BankAccountUpdateRequest::getSwiftCode,
|
||||
AccountError.BadSymbol),
|
||||
ValidateSymbolsRule.notRequired("intermediarySwiftCode",
|
||||
ValidateSymbolsRule.notRequired("SWIFT посредника",
|
||||
BankAccountUpdateRequest::getIntermediarySwiftCode,
|
||||
AccountError.BadSymbol)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue