Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Optional agreedDeadline

agreedDeadline: null | Date

Optional archived

archived: null | Date

Optional assignments

assignments: Assignment[]

Readonly backObjects

backObjects: Set<Entity> = ...

calculateTotal

calculateTotal: (options?: CalculateOptions) => string = ...

Type declaration

    • (options?: CalculateOptions): string
    • Parameters

      • Optional options: CalculateOptions

      Returns string

create

create: (options?: CreateOptions) => Promise<Quote> = ...

Type declaration

    • (options?: CreateOptions): Promise<Quote>
    • Parameters

      • Optional options: CreateOptions

      Returns Promise<Quote>

Optional currency

currency: string

Optional id

id: number

Optional invoice

invoice: null | Invoice

isDirty

isDirty: boolean = false

key

key: string = ...

merchi

merchi: Merchi

propertiesMap

propertiesMap: Map<string, PropertyInfo>

Optional quoteItems

quoteItems: QuoteItem[]

Optional shipments

shipments: Shipment[]

Static merchi

merchi: Merchi

Methods

calculateSubTotal

  • calculateSubTotal(options?: CalculateOptions): string

calculateTaxAmount

  • calculateTaxAmount(options?: CalculateOptions): string

cleanDirty

  • cleanDirty(): void

createFactory

  • createFactory(__namedParameters: Object): (options?: CreateOptions) => Promise<this>
  • Parameters

    • __namedParameters: Object

    Returns (options?: CreateOptions) => Promise<this>

      • (options?: CreateOptions): Promise<this>
      • Parameters

        • Optional options: CreateOptions

        Returns Promise<this>

deadlineTimeDifference

  • deadlineTimeDifference(): null | number

delete

  • delete(options?: DeleteOptions): Promise<this>

findQuoteItemIndex

  • findQuoteItemIndex(quoteItemId: number): number

fromJson

  • fromJson(json: any, options?: FromJsonOptions): this

getPrimaryKeyValue

  • getPrimaryKeyValue(): any

quoteTotal

  • quoteTotal(options?: CalculateOptions): string

recover

  • recover(options?: SaveOptions): Promise<this>

removeQuoteItem

  • removeQuoteItem(quoteItem: QuoteItem): void

save

  • save(options?: SaveOptions): Promise<this>

toFormData

  • toFormData(options?: SerialiseOptions, fileIndex?: Counter): FormData

toJson

  • toJson(): any

updateOrder

  • updateOrder(property: string): void

Static get

  • get<T>(key: string | number, options?: GetOptions): Promise<InstanceType<T>>
  • Type parameters

    Parameters

    • key: string | number
    • Optional options: GetOptions

    Returns Promise<InstanceType<T>>

Static list

  • list<T>(options?: ListOptions): Promise<ListResponse<InstanceType<T>>>

Generated using TypeDoc