import { DaffConfigurableProductToggleAttribute } from '@daffodil/product-configurable/state'
Toggles an attribute of a particular configurable product. If the attribute type of the configurable product already has a different value than the one provided in the action, the attribute value in state will be overwritten by the value provided in the action.
class DaffConfigurableProductToggleAttribute<<T extends DaffConfigurableProduct>> implements Action {
readonly type: DaffConfigurableProductActionTypes.ConfigurableProductToggleAttributeAction = DaffConfigurableProductActionTypes.ConfigurableProductToggleAttributeAction
id: T["id"]
attributeId: string
attributeValue: string
}