import { DaffMagentoCartShippingInformationService } from '@daffodil/cart/driver/magento'
A service for making Magento GraphQL queries for carts.
@Injectable()
class DaffMagentoCartShippingInformationService implements DaffCartShippingInformationServiceInterface {
get(cartId: string): any
update(
cartId: string
shippingInfo: Partial<DaffCartShippingRate>
): any
delete(
cartId: string
id?: string
): any
}
anyGet the currently selected shipping method of a cart.
| Parameter | cartId: string |
|---|---|
| Description |
anyUpdate the currently selected shipping method of a cart.
| Parameter | cartId: string |
|---|---|
| Description |
| Parameter | shippingInfo: Partial<DaffCartShippingRate> |
|---|---|
| Description |
anyRemove the currently selected shipping method from a cart.
| Parameter | cartId: string |
|---|---|
| Description |
| Parameter | id: string |
|---|---|
| Description |