import { DaffCartOrderServiceInterface } from '@daffodil/cart/driver'
The interface responsible for placing an order for the customer's cart.
interface DaffCartOrderServiceInterface<T extends DaffCart = DaffCart, R extends DaffCartOrderResult = DaffCartOrderResult> {
placeOrder(
id: T["id"]
payment?: T["payment"]
): Observable<R>
}
Observable<R>
Place an order and return the order ID.
Parameter | id: T["id"] |
---|---|
Description |
Parameter | payment: T["payment"] |
---|---|
Description |