import { DaffTestingCartShippingInformationService } from '@daffodil/cart/driver/testing'
@Injectable()
class DaffTestingCartShippingInformationService implements DaffCartShippingInformationServiceInterface {
get(cartId: string): Observable<DaffCartShippingRate>
update(
cartId: string
info: Partial<DaffCartShippingRate>
): Observable<Partial<DaffCart>>
delete(cartId: string): Observable<Partial<DaffCart>>
}
Observable<DaffCartShippingRate>Get the currently selected shipping method of a cart.
| Parameter | cartId: string |
|---|---|
| Description |
ObservableDaffCart>> Update the currently selected shipping method of a cart.
| Parameter | cartId: string |
|---|---|
| Description |
| Parameter | info: Partial<DaffCartShippingRate> |
|---|---|
| Description |
ObservableDaffCart>> Remove the currently selected shipping method from a cart.
| Parameter | cartId: string |
|---|---|
| Description |