Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Optional acceptBankTransfer

acceptBankTransfer: boolean

Optional acceptPaypal

acceptPaypal: boolean

Optional acceptPhonePayment

acceptPhonePayment: boolean

Optional acceptStripe

acceptStripe: boolean

Optional acceptUtrust

acceptUtrust: boolean

Optional archived

archived: null | Date

Readonly backObjects

backObjects: Set<Entity> = ...

Optional buySide

buySide: boolean

Optional cart

cart: Cart

Optional client

client: User

Optional clientCompany

clientCompany: null | Company

Optional clientCompanyEmail

clientCompanyEmail: null | EmailAddress

Optional clientCompanyPhone

clientCompanyPhone: null | PhoneNumber

Optional clientEmail

clientEmail: null | EmailAddress

Optional clientPhone

clientPhone: null | PhoneNumber

create

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

Type declaration

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

      • Optional options: CreateOptions

      Returns Promise<Invoice>

Optional creationDate

creationDate: null | Date

Optional creator

creator: null | User

Optional currency

currency: string

Optional domain

domain: Domain

Optional forceReminders

forceReminders: boolean

Optional id

id: number

Optional invoiceToken

invoiceToken: null | string

Optional isCompletelyPaid

isCompletelyPaid: boolean

isDirty

isDirty: boolean = false

Optional isRemindable

isRemindable: boolean

Optional items

items: Item[]

Optional jobs

jobs: Job[]

key

key: string = ...

merchi

merchi: Merchi

Optional note

note: null | string

Optional notifications

notifications: Notification[]

Optional owedMoney

owedMoney: number

Optional paidMoney

paidMoney: number

Optional paymentDeadline

paymentDeadline: null | Date

Optional payments

payments: Payment[]

Optional pdf

pdf: null | MerchiFile

propertiesMap

propertiesMap: Map<string, PropertyInfo>

Optional quotes

quotes: Quote[]

Optional receipt

receipt: null | MerchiFile

Optional reminded

reminded: null | Date

Optional reminderMessage

reminderMessage: string

Optional responsibleManager

responsibleManager: null | User

Optional sendEmail

sendEmail: null | boolean

Optional sendSms

sendSms: null | boolean

Optional shipments

shipments: Shipment[]

Optional shipping

shipping: null | Address

Optional subscriptionCompanies

subscriptionCompanies: Company[]

Optional subtotalCost

subtotalCost: null | number

Optional tags

tags: DomainTag[]

Optional taxAmount

taxAmount: null | number

Optional terms

terms: null | Date

Optional totalCost

totalCost: null | number

Optional unpaid

unpaid: null | boolean

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