Home > @vsf-enterprise/commercetools > UseShipping
# UseShipping interface
Signature:
export interface UseShipping<SHIPPING, SHIPPING_PARAMS, API extends PlatformApi = any> extends Composable<API>
Extends: Composable<API>
# Properties
Property | Type | Description |
---|---|---|
clear | (params: { customQuery?: CustomQuery; }) => Promise<void> | |
error | ComputedProperty<UseShippingErrors> | |
loading | ComputedProperty<boolean> | |
save | (params: { params: SHIPPING_PARAMS; shippingDetails: SHIPPING; customQuery?: CustomQuery; }) => Promise<void> | |
saveCollectable | (params: { params: SHIPPING_PARAMS; shippingDetails: SHIPPING; customQuery?: CustomQuery; }) => Promise<void> | |
shipping | ComputedProperty<SHIPPING> |
# Methods
Method | Description |
---|---|
load() | |
load(params) |