GitHub

DaffTestingCartOrderService

Service

import { DaffTestingCartOrderService } from '@daffodil/cart/driver/testing'

@Injectable()
class DaffTestingCartOrderService implements DaffCartOrderServiceInterface {
  placeOrder(
    cartId: string
    payment?: DaffCartPaymentMethod
  ): any
}

() Methods

placeOrder
any

Place an order and return the order ID.

Parameters
ParametercartId: string
Description
Parameterpayment: DaffCartPaymentMethod
Description