Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

addLineItems

  • addLineItems(cartId: string, cartVersion: number, lineItems: IAddLineItem | IAddLineItem[], token: string): Promise<Cart>
  • Parameters

    • cartId: string
    • cartVersion: number
    • lineItems: IAddLineItem | IAddLineItem[]
    • token: string

    Returns Promise<Cart>

changeLineItemQuantity

  • changeLineItemQuantity(cartId: string, cartVersion: number, action: IChangeLineItemQuantity, token: string): Promise<Cart>
  • Parameters

    • cartId: string
    • cartVersion: number
    • action: IChangeLineItemQuantity
    • token: string

    Returns Promise<Cart>

create

  • create(token: string): Promise<Cart>

createFromOrder

  • createFromOrder(orderId: string, token: string): Promise<Cart>

findActiveCart

  • findActiveCart(token: string): Promise<Cart>

findById

  • findById(cartId: string, token: string): Promise<Cart>

removeLineItem

  • removeLineItem(cartId: string, cartVersion: number, lineItemId: string, token: string): Promise<Cart>

setBillingAddress

  • setBillingAddress(cartId: string, cartVersion: number, address: Address, token: string): Promise<Cart>

setShippingAddress

  • setShippingAddress(cartId: string, cartVersion: number, address: Address, token: string): Promise<Cart>

setShippingMethod

  • setShippingMethod(cartId: string, cartVersion: number, shippingMethodId: string, token: string): Promise<Cart>
  • Parameters

    • cartId: string
    • cartVersion: number
    • shippingMethodId: string
    • token: string

    Returns Promise<Cart>

updateByActions

  • updateByActions(cartId: string, cartVersion: number, actions: ICartAction | ICartAction[], token: string): Promise<Cart>
  • Parameters

    • cartId: string
    • cartVersion: number
    • actions: ICartAction | ICartAction[]
    • token: string

    Returns Promise<Cart>

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