Interfaces
Interface: UseOrder
react-autonomy.UseOrder
UseOrder contains all the data and methods returned by the useOrder hook.
• error: Error
• isFetching: boolean
• isLoaded: boolean
• loadOrder: (orderNumber: string) => Promise<OrderBig>
▸ (orderNumber): Promise<OrderBig>
Name | Type |
---|---|
orderNumber | string |
Promise<OrderBig>
• order: OrderBig | OrderSmall