UNPKG

ofx4js

Version:

A javascript OFX library, ported from OFX4J

28 lines (27 loc) 886 B
import { BasePosition } from "./BasePosition"; import { ShortOptionSecurity } from "./ShortOptionSecurity"; /** * Represents an options position. * @see "Section 13.9.2.6.1, OFX Spec" */ export declare class OptionsPosition extends BasePosition { private secured; /** * Gets how the options position is secured (for short positions). * * @return how the options position is secured */ getSecured(): string; /** * Sets how the options position is secured (for short positions). * * @param secured how the options position is secured */ setSecured(secured: string): void; /** * Gets how the options position is secured as a well-known type. * * @return how the option position is secured or null if it's not a well-known type */ getSecuredEnum(): ShortOptionSecurity; }