fixparser
Version:
FIX.Latest / 5.0 SP2 Parser
33 lines (32 loc) • 1.19 kB
TypeScript
import type { EnumType } from '../enums/EnumType';
import type { ISpecDatatypes } from '../spec/SpecDatatypes';
import type { FIXValue } from '../util/util';
import type { CategoryType } from './categories/CategoryType';
import type { SectionType } from './sections/SectionType';
/**
* Field is a predefined data element, identified by a unique tag number,
* that represents a specific piece of information within a message
* (such as price, quantity, or order ID).
*
* @public
*/
export declare class Field {
tag: number;
value: FIXValue;
name: string | undefined;
description: string | undefined;
type: ISpecDatatypes | undefined;
category: CategoryType | undefined;
section: SectionType | undefined;
enumeration: EnumType | undefined;
constructor(tag: number, value: FIXValue);
setTag(tag: number): void;
setValue(value: FIXValue): void;
setName(name: string): void;
setDescription(description: string): void;
setType(type: ISpecDatatypes | undefined): void;
setCategory(category: CategoryType): void;
setSection(section: SectionType): void;
setEnumeration(enumeration: EnumType): void;
toString(): string;
}