Module: cart

Functions

default

default(context): Object

module!Foo Foo

Parameters

Name Type
context any

Returns

Object

Name Type
addBillingAddress () => Promise<void>
checkCartStock (cartLines: CartLine[]) => boolean
clearCart () => void
createOrder (origin: any, originId: any) => Promise<any>
createOrderWithPayment (origin: any, originId: any, paymentOption: String) => Promise<any>
deleteCart () => any
getCartDetail (jwt: any) => Promise<void>
getCartErrorReport () => Promise<any>
getCartErrorReportData () => Promise<any>
getCartStatus () => Promise<any>
removeProductFromCart (cartLine: any) => Promise<void>
updateCartLines (data: any) => Promise<{ message: string = ''; value: boolean = true }>
uploadCartFile (file: any) => Promise<any>
validAddress () => Promise<void>