Interfaces

Interface: UseOrder

react-autonomy.UseOrder

UseOrder contains all the data and methods returned by the useOrder hook.

Properties

error

error: Error

Defined in



isFetching

isFetching: boolean

Defined in



isLoaded

isLoaded: boolean

Defined in



loadOrder

loadOrder: (orderNumber: string) => Promise<OrderBig>

Type declaration

▸ (orderNumber): Promise<OrderBig>

Parameters

Name

Type

orderNumber

string

Returns

Promise<OrderBig>

Defined in



order

order: OrderBig | OrderSmall

Defined in