useGetMerchantInformation
Ce contenu n’est pas encore disponible dans votre langue.
useGetMerchantInformation(
args?):UseQueryResult<GetMerchantInformationReturnType,FrakRpcError<undefined>>
Defined in: react/src/hook/useGetMerchantInformation.ts:45
Hook that return a query helping to get the current merchant information
It’s a @tanstack/react-query!home | `tanstack` wrapper around the `getMerchantInformation()` action
Parameters
Section titled “Parameters”Optional config object with query for customizing the underlying @tanstack/react-query!useQuery | `useQuery()`
cacheTime?
Section titled “cacheTime?”number
Time in ms to cache the result at the core SDK level. Default: 30_000 (30s). Set to 0 to disable.
query?
Section titled “query?”QueryOptions
Optional query options, see @tanstack/react-query!useQuery | `useQuery()` for more infos
Returns
Section titled “Returns”UseQueryResult<GetMerchantInformationReturnType, FrakRpcError<undefined>>
The query hook wrapping the getMerchantInformation() action
The data result is a `GetMerchantInformationReturnType`
- `getMerchantInformation()` for more info about the underlying action
- @tanstack/react-query!useQuery | `useQuery()` for more info about the useQuery options and response