DaffCartItemUpdate
Triggers the update of a specific cart item.
import { DaffCartItemUpdate } from '@daffodil/cart/state'
class DaffCartItemUpdate<<T extends DaffCartItem = DaffCartItem>> implements Action {
readonly type: DaffCartItemActionTypes.CartItemUpdateAction
itemId: T['id']
changes: Partial<T>
}
Properties
Name | Type | Description |
---|---|---|
type | DaffCartItemActionTypes.CartItemUpdateAction | |
itemId | T['id'] | |
changes | Partial<T> |