import { AbstractEntity } from '../../../abstractEntity'; import { OrderProduct, OrderProductsType } from './products/products'; import { OrderPartner, OrderPartnerType } from './partner/partner'; import { ReferenceLink, ReferenceLinkType } from '../referenceLink'; import { AdditionalExtraInformation, AdditionalExtraInformationType } from '../../../shared'; import { OrderCustomField, OrderCustomFieldType } from './customField/customField'; export declare enum OrderFields { COLUMN_REFERENCE = "reference", COLUMN_STATUS = "status", COLUMN_DATESTATUS = "dateStatus", COLUMN_DATECREATION = "dateCreation", COLUMN_ORDER_REFERENCE = "order_reference", COLUMN_PARTNER = "partner", COLUMN_CUSTOMER = "customer", COLUMN_PONUMBER = "ponumber", COLUMN_END_CUSTOMER_PO_NUMBER = "endCustomerPONumber", COLUMN_PRODUCTS = "products", COLUMN_EXTRA_INFORMATION = "extraInformation", COLUMN_ORGANIZATION_UNIT_REF = "organizationUnitRef", COLUMN_CUSTOM_FIELDS = "customFields", COLUMN_QUOTE_REF = "quoteRef" } export declare type OrderType = { [OrderFields.COLUMN_REFERENCE]: string; [OrderFields.COLUMN_STATUS]: string; [OrderFields.COLUMN_DATESTATUS]: string; [OrderFields.COLUMN_DATECREATION]: string; [OrderFields.COLUMN_ORDER_REFERENCE]: string; [OrderFields.COLUMN_PARTNER]?: OrderPartnerType; [OrderFields.COLUMN_CUSTOMER]: ReferenceLinkType; [OrderFields.COLUMN_PONUMBER]: string | null; [OrderFields.COLUMN_END_CUSTOMER_PO_NUMBER]?: string | null; [OrderFields.COLUMN_PRODUCTS]: Array; [OrderFields.COLUMN_EXTRA_INFORMATION]?: AdditionalExtraInformationType; [OrderFields.COLUMN_ORGANIZATION_UNIT_REF]?: string; [OrderFields.COLUMN_CUSTOM_FIELDS]?: Array; [OrderFields.COLUMN_QUOTE_REF]?: string; }; export declare class Order extends AbstractEntity { #private; constructor(getOrderDataInput: OrderType); get reference(): string; get status(): string; get dateStatus(): string; get dateCreation(): string; get order_reference(): string; get partner(): OrderPartner | undefined; get customer(): ReferenceLink; get ponumber(): string | null; get endCustomerPONumber(): string | null | undefined; get products(): Array; get extraInformation(): AdditionalExtraInformation | undefined; get organizationUnitRef(): string | undefined; get customFields(): Array | undefined; get quoteRef(): string | undefined; toJSON(): OrderType; }