import { DaffInMemoryCartOrderService } from '@daffodil/cart/driver/in-memory'
@Injectable()
class DaffInMemoryCartOrderService extends DaffInMemoryDriverBase implements DaffCartOrderServiceInterface {
placeOrder(
cartId: string
payment?: DaffCartPaymentMethod
): Observable<DaffCartOrderResult>
}
Observable<DaffCartOrderResult>
Place an order and return the order ID.
Parameter | cartId: string |
---|---|
Description |
Parameter | payment: DaffCartPaymentMethod |
---|---|
Description |