GitHub

DaffInMemoryCartOrderService

API

@Injectable()
class DaffInMemoryCartOrderService extends DaffInMemoryDriverBase implements DaffCartOrderServiceInterface {
  placeOrder(
    cartId: string
    payment?: DaffCartPaymentMethod
  ): Observable<DaffCartOrderResult>
}

Properties

Name Type Description
placeOrder Observable<DaffCartOrderResult> Place an order and return the order ID.