UNPKG

ofx4js

Version:

A javascript OFX library, ported from OFX4J

26 lines (25 loc) 897 B
import { BaseBuyInvestmentTransaction } from "./BaseBuyInvestmentTransaction"; /** * Transaction for buying debt (i.e. bonds, CDs, etc.,). * @see "Section 13.9.2.4.4, OFX Spec" */ export declare class BuyDebtTransaction extends BaseBuyInvestmentTransaction { private accruedInterest; constructor(); /** * Gets the amount of accrued interest on the debt. This is an optional field according to the * OFX spec. * @see "Section 13.9.2.4.4, OFX Spec" * * @return the amount of accrued interest */ getAccruedInterest(): number; /** * Sets the amount of accrued interest on the debt. This is an optional field according to the * OFX spec. * @see "Section 13.9.2.4.4, OFX Spec" * * @param accruedInterest the amount of accrued interest */ setAccruedInterest(accruedInterest: number): void; }