GitHub

DaffCartShippingMethodsServiceInterface

import { DaffCartShippingMethodsServiceInterface } from '@daffodil/cart/driver'

The interface responsible for retrieving the available shipping methods of a cart.

interface DaffCartShippingMethodsServiceInterface<T extends DaffCartShippingRate = DaffCartShippingRate> {
  list(cartId: string): Observable<T[]>
}

() Methods

list
Observable<T[]>

List the available shipping methods for a cart.

Parameters
ParametercartId: string
Description