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

Home > @vue-storefront/core > useUserOrderFactory

useUserOrderFactory() function

Signature:

export declare function useUserOrderFactory<ORDERS, ORDER_SEARCH_PARAMS, API extends PlatformApi = any>(factoryParams: UseUserOrderFactoryParams<ORDERS, ORDER_SEARCH_PARAMS, API>): () => UseUserOrder<ORDERS, ORDER_SEARCH_PARAMS, API>;

Parameters

Parameter Type Description
factoryParams UseUserOrderFactoryParams<ORDERS, ORDER_SEARCH_PARAMS, API>

Returns:

() => UseUserOrder<ORDERS, ORDER_SEARCH_PARAMS, API>