Home > @shopware-pwa/composables > IUseCustomerOrders
# IUseCustomerOrders interface
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
interface for useCustomerOrders() composable
Signature:
export interface IUseCustomerOrders
# Properties
Property | Type | Description |
---|---|---|
changeCurrentPage | (pageNumber?: number | string) => Promise<void> | (BETA) |
errors | UnwrapRef<{ loadOrders: ShopwareError[]; }> | (BETA) |
getCurrentPage | ComputedRef<number> | (BETA) |
getLimit | ComputedRef<number> | (BETA) |
getOrderDetails | (orderId: string) => Promise<Order | undefined> | (BETA) |
getTotal | ComputedRef<number> | (BETA) |
getTotalPagesCount | ComputedRef<number> | (BETA) |
loadOrders | () => Promise<void> | (BETA) |
orders | Ref<Order[] | null> | (BETA) |