Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

create

  • create(cartId: string, cartVersion: number, orderNumber: string | null, token: string): Promise<Order>
  • Parameters

    • cartId: string
    • cartVersion: number
    • orderNumber: string | null
    • token: string

    Returns Promise<Order>

fetchAll

  • fetchAll(token: string, isAdmin?: boolean, options?: QueryOptions): Promise<PaginatedOrderResult>
  • Parameters

    • token: string
    • Default value isAdmin: boolean = false
    • Default value options: QueryOptions = {}

    Returns Promise<PaginatedOrderResult>

findById

  • findById(orderId: string, token: string, isAdmin?: boolean): Promise<Order>

remove

  • remove(orderId: string, orderVersion: number, token: string): Promise<Order>

update

  • update(orderId: string, orderVersion: number, actions: UpdateAction[], token: string): Promise<Order>
  • Parameters

    • orderId: string
    • orderVersion: number
    • actions: UpdateAction[]
    • token: string

    Returns Promise<Order>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc