Home > @vsf-enterprise/sapcc > UseUserCartsComposable
UseUserCartsComposable interface
Composable method allowing to fetch and store user carts
Signature:
export interface UseUserCartsComposable
Properties
Property | Type | Description |
---|---|---|
carts | ComputedRef<Cart[]> | A list of user carts |
error | ComputedRef<UseUserCartsError> | An indicator of useUserCarts composable methods errors |
load | (props?: LoadUserCartsProps) => Promise<void> | A method for loading user carts |
loading | ComputedRef<UseUserCartsLoading> | An indicator of useUserCarts composable methods progress |