You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > UseShippingProviderParams

UseShippingProviderParams interface

Signature:

export interface UseShippingProviderParams<STATE, SHIPPING_METHOD, API extends PlatformApi = any> extends FactoryParams<API> 

Extends: FactoryParams

Properties

Property Modifiers Type Description
load (context: Context, params: { state: Ref<STATE>; customQuery?: CustomQuery; }) => Promise<STATE>
save (context: Context, params: { state: Ref<STATE>; shippingMethod: SHIPPING_METHOD; customQuery?: CustomQuery; }) => Promise<STATE>