GitHub

DaffMagentoCartShippingMethodsService

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

import { DaffMagentoCartShippingMethodsService } from '@daffodil/cart/driver/magento'
@Injectable()
class DaffMagentoCartShippingMethodsService implements DaffCartShippingMethodsServiceInterface {
  list(cartId: string): Observable<DaffCartShippingRate[]>
}

Properties

Name Type Description
list Observable<DaffCartShippingRate[]>

List the available shipping methods for a cart.