Home > @vsf-enterprise/sapcc > UseCartDeliveryModesComposable

UseCartDeliveryModesComposable interface

Composable method allowing to fetch and set delivery modes for a cart

Signature:

export interface UseCartDeliveryModesComposable 

Properties

Property Type Description
deliveryModes ComputedRef<DeliveryMode[]> An array of Delivery Modes available for a cart.
error ComputedRef<UseCartDeliveryModesError> An indicator of UseCartDeliveryModes composable methods errors
load (props?: BaseProps) => Promise<void> A method for loading delivery modes available for a cart.
loading ComputedRef<UseCartDeliveryModesLoading> An indicator of UseCartDeliveryModes composable methods progress
set (props: SetCartDeliveryModesProps) => Promise<void> A method for setting a delivery mode for a cart.