Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
186f517
commit acf8760
Showing
5 changed files
with
752 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
export interface BankObject { | ||
code: string; | ||
entity: string; | ||
category: string; | ||
participation: string; | ||
representative: string; | ||
} | ||
export declare const NOT_STRING_ERROR: Error; | ||
export declare const INVALID_IBAN_ERROR: Error; | ||
export declare const getCountryPrefixFromIBAN: (iban: string) => string; | ||
export declare const verifyIBANCountryPrefix: (iban: string) => boolean; | ||
export declare const verifyIBANLength: (iban: string) => boolean; | ||
export declare const verifyIBANFormat: (iban: string) => boolean; | ||
export declare const getBankCodeFromIBAN: (iban: string) => string; | ||
export declare const getBankObjectFromIBAN: (iban: string) => BankObject; | ||
export declare const getBankNameFromIBAN: (iban: string, returnRepresentative?: boolean) => string; | ||
export declare const getBankCategoryFromIBAN: (iban: string, returnRepresentative?: boolean) => string; | ||
declare class CostaRicaIBAN { | ||
iban: string; | ||
constructor(iban: string); | ||
getCountryPrefix(): string; | ||
getBankCode(): string; | ||
getBankObject(): BankObject; | ||
getBankName(): string; | ||
getBankCategory(): string; | ||
getVersion: () => string; | ||
} | ||
export default CostaRicaIBAN; |
Oops, something went wrong.