GitHub

DaffInMemoryOrderService

import { DaffInMemoryOrderService } from '@daffodil/order/driver/in-memory'

@Injectable()
class DaffInMemoryOrderService extends DaffInMemoryDriverBase implements DaffOrderServiceInterface<DaffOrder> {
  get(orderId: string): Observable<DaffOrder>
  list(
    cartId?: string
    request?: DaffCollectionRequest
  ): Observable<DaffOrderCollection>
}

() Methods

get
Observable<DaffOrder>

Get an order object with the specified order ID.

Parameters
ParameterorderId: string
Description
list
Observable<DaffOrderCollection>

List all order objects for the logged-in user.

Parameters
ParametercartId: string
Description
Parameterrequest: DaffCollectionRequest
Description