ofx4js
Version:
A javascript OFX library, ported from OFX4J
58 lines (57 loc) • 1.9 kB
TypeScript
import { AssetClass } from "./AssetClass";
import { BaseSecurityInfo } from "./BaseSecurityInfo";
/**
* Info about any other type of security.
* @see "Section 13.8.5.5, OFX Spec"
*/
export declare class OtherSecurityInfo extends BaseSecurityInfo {
private typeDesc;
private assetClass;
private fiAssetClass;
/**
* Gets a description of the type of security. This is an optional field according to the OFX
* spec.
*
* @return the description of the security
*/
getTypeDesc(): string;
/**
* Sets a description of the type of security. This is an optional field according to the OFX
* spec.
*
* @param typeDesc the description of the security
*/
setTypeDesc(typeDesc: string): void;
/**
* Gets the asset class of the option. This is an optional field according to the OFX spec.
*
* @return the asset class of the debt
*/
getAssetClass(): string;
/**
* Sets the asset class of the debt. This is an optional field according to the OFX spec.
*
* @param assetClass the asset class of the debt
*/
setAssetClass(assetClass: string): void;
/**
* Gets the assert class as one of the well-known types.
*
* @return the asset class or null if it's not one of the well-known types
*/
getAssetClassEnum(): AssetClass;
/**
* Gets the FI-defined asset class of the debt. This is an optional field according to the OFX
* spec.
*
* @return the FI-defined asset class of the debt
*/
getFiAssetClass(): string;
/**
* Sets the FI-defined asset class of the debt. This is an optional field according to the OFX
* spec.
*
* @param fiAssetClass the FI-defined asset class of the debt
*/
setFiAssetClass(fiAssetClass: string): void;
}