GitHub

DaffCompositeProductApplyOption

import { DaffCompositeProductApplyOption } from '@daffodil/product-composite/state'

Applies a product option to a particular composite product.

class DaffCompositeProductApplyOption<<T extends DaffCompositeProduct = DaffCompositeProduct>>  implements Action {
  readonly type: DaffCompositeProductActionTypes.CompositeProductApplyOptionAction = DaffCompositeProductActionTypes.CompositeProductApplyOptionAction
  id: T["id"]
  itemId: string
  optionId: string
  qty: number
}