Hierarchy

  • ProductUtils

Constructors

Methods

  • This will calculate the best product combination from provided preferred options.

    Parameters

    • model: Product

      The composite product model

    • options: {
          [key: string]: string | number | boolean;
      }

      Preferred options to use when calculating best combination

      • [key: string]: string | number | boolean
    • products: readonly Product[]

      All the available products to use to combine the derived product

    Returns Product

Generated using TypeDoc