GitHub

DaffMagentoCartShippingMethodsService

import { DaffMagentoCartShippingMethodsService } from '@daffodil/cart/driver/magento'

A service for making Magento GraphQL queries for carts' shipping methods.

@Injectable()
class DaffMagentoCartShippingMethodsService implements DaffCartShippingMethodsServiceInterface {
  list(cartId: string): Observable<DaffCartShippingRate[]>
}

() Methods

list
Observable<DaffCartShippingRate[]>

List the available shipping methods for a cart.

Parameters
ParametercartId: string
Description