Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Optional archived

archived: null | Date

Readonly backObjects

backObjects: Set<Entity> = ...

Optional banks

banks: Bank[]

Optional city

city: null | string

Optional companies

companies: Company[]

Optional country

country: null | string

create

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

Type declaration

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

      • Optional options: CreateOptions

      Returns Promise<Address>

Optional id

id: number

Optional inventories

inventories: Inventory[]

isDirty

isDirty: boolean = false

Optional jobs

jobs: Job[]

key

key: string = ...

Optional lineOne

lineOne: null | string

Optional lineTwo

lineTwo: null | string

merchi

merchi: Merchi

Optional postcode

postcode: null | string

Optional productedJobs

productedJobs: Job[]

propertiesMap

propertiesMap: Map<string, PropertyInfo>

Optional shipmentAsSenderAddress

shipmentAsSenderAddress: Shipment[]

Optional shipmentsAsReceiverAddress

shipmentsAsReceiverAddress: Shipment[]

Optional shippingTo

shippingTo: Invoice[]

Optional state

state: null | string

Optional users

users: User[]

Static merchi

merchi: Merchi

Methods

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>

delete

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

fromJson

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

getPrimaryKeyValue

  • getPrimaryKeyValue(): any

recover

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

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