isoxml-angular
Version:
JavaScript library to parse and generate ISOXML (ISO11783-10) files
23 lines (22 loc) • 840 B
TypeScript
import { TAGS } from './constants';
import { ISOXMLManager } from '../ISOXMLManager';
import { XMLElement } from '../types';
import { Entity, EntityConstructor, ISOXMLReference } from '../types';
export type ProductRelationAttributes = {
ProductIdRef: ISOXMLReference;
QuantityValue: number;
ProprietaryAttributes?: {
[name: string]: string;
};
ProprietaryTags?: {
[tag: string]: XMLElement[];
};
};
export declare class ProductRelation implements Entity {
attributes: ProductRelationAttributes;
isoxmlManager: ISOXMLManager;
tag: TAGS;
constructor(attributes: ProductRelationAttributes, isoxmlManager: ISOXMLManager);
static fromXML(xml: XMLElement, isoxmlManager: ISOXMLManager, internalId?: string, targetClass?: EntityConstructor): Promise<Entity>;
toXML(): XMLElement;
}