ofx4js
Version:
A javascript OFX library, ported from OFX4J
63 lines (62 loc) • 2.07 kB
TypeScript
import { BaseInvestmentTransaction } from "./BaseInvestmentTransaction";
import { InvestmentBankTransaction } from "./InvestmentBankTransaction";
/**
* The transaction list aggregate.
* @see "Section 13.9.1.2, OFX Spec"
*/
export declare class InvestmentTransactionList {
private start;
private end;
private transactions;
private bankTransactions;
/**
* Gets the start date. This is a required field according to the OFX spec.
*
* @return The start date
*/
getStart(): Date;
/**
* Sets the start date. This is a required field according to the OFX spec.
*
* @param start The start date
*/
setStart(start: Date): void;
/**
* Gets the end date. This is a required field according to the OFX spec.
*
* @return he end date
*/
getEnd(): Date;
/**
* Sets the end date. This is a required field according to the OFX spec.
*
* @param end the end date
*/
setEnd(end: Date): void;
/**
* Gets the investment transaction list. This is a heterogenous list of different types of
* transactions returned in the order the brokerage provides them.
*
* @return the investment transaction list
*/
getInvestmentTransactions(): Array<BaseInvestmentTransaction>;
/**
* Sets the investment transaction list. This is a heterogenous list of different types of
* transactions returned in the order the brokerage provides them.
*
* @param transactions the investment transaction list
*/
setInvestmentTransactions(transactions: Array<BaseInvestmentTransaction>): void;
/**
* Gets the bank transaction list.
*
* @return the bank transaction list
*/
getBankTransactions(): Array<InvestmentBankTransaction>;
/**
* Sets the bank transaction list.
*
* @param bankTransactions the bank transaction list
*/
setBankTransactions(bankTransactions: Array<InvestmentBankTransaction>): void;
}