graycoreio/daffodil

View on GitHub
libs/product-composite/src/models/composite-configuration-item.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { ID } from '@daffodil/core';

/**
 * An object to denote the configuration chosen for a particular {@link DaffCompositeProductItem}.
 */
export interface DaffCompositeConfigurationItem {
  /**
   * The quantity chosen for the configuration of the {@link DaffCompositeProductItem}.
   */
  qty?: number;
  /**
   * The value of the {@link DaffCompositeProductItemOption} chosen for the configuration of the {@link DaffCompositeProductItem}.
   */
  value?: ID;
}