import { DaffCustomerOrderMagentoService } from '@daffodil/customer-order/driver/magento/2-4-6'
A service for making Magento GraphQL queries for customers.
@Injectable()
class DaffCustomerOrderMagentoService implements DaffOrderServiceInterface {
list(
cartId?: string
request: DaffCollectionRequest = {}
): Observable<DaffOrderCollection>
get(
orderId: string
cartId?: string
): Observable<DaffOrder>
}
Observable<DaffOrderCollection>
List all order objects for the logged-in user.
Parameter | cartId: string |
---|---|
Description |
Parameter | request: DaffCollectionRequest |
---|---|
Default | {} |
Description |
Observable<DaffOrder>
Get an order object with the specified order ID.
Parameter | orderId: string |
---|---|
Description |
Parameter | cartId: string |
---|---|
Description |