ofx4js
Version:
A javascript OFX library, ported from OFX4J
87 lines (86 loc) • 2.05 kB
TypeScript
import { AccountDetails } from "../common/AccountDetails";
import { AccountType } from "./AccountType";
/**
* Base bank account details.
*
* @see "OFX Spec, Section 11.3.1"
*/
export declare class BankAccountDetails implements AccountDetails {
private bankId;
private branchId;
private accountNumber;
private accountType;
private accountKey;
/**
* The routing and transit number.
*
* @return The routing and transit number.
*/
getBankId(): string;
/**
* The routing and transit number.
*
* @param bankId The routing and transit number.
*/
setBankId(bankId: string): void;
/**
* The routing and transit number.
*
* @return The routing and transit number.
*/
getRoutingNumber(): string;
/**
* The routing and transit number.
*
* @param routingNumber The routing and transit number.
*/
setRoutingNumber(routingNumber: string): void;
/**
* The branch id.
*
* @return The branch id.
*/
getBranchId(): string;
/**
* The branch id.
*
* @param branchId The branch id.
*/
setBranchId(branchId: string): void;
/**
* The account number.
*
* @return The account number.
*/
getAccountNumber(): string;
/**
* The account number.
*
* @param accountNumber The account number.
*/
setAccountNumber(accountNumber: string): void;
/**
* The account type.
*
* @return The account type.
*/
getAccountType(): AccountType;
/**
* The account type.
*
* @param accountType The account type.
*/
setAccountType(accountType: AccountType): void;
/**
* The account key.
*
* @return The account key.
*/
getAccountKey(): string;
/**
* The account key.
*
* @param accountKey The account key.
*/
setAccountKey(accountKey: string): void;
}