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 |
Observable<Partial<DaffCart>>
Update the currently selected shipping method of a cart.
Parameter | cartId: string |
---|---|
Description |
Parameter | info: Partial<DaffCartShippingRate> |
---|---|
Description |
Observable<Partial<DaffCart>>
Remove the currently selected shipping method from a cart.
Parameter | cartId: string |
---|---|
Description |