Get the total price of the given add-ons - not counting any deleted add-ons

  • Parameters

    • addOns: (Pick<AddOn, "quantity" | "unitPriceWithFee"> & Partial<Pick<AddOn, "deleted">>)[] = []

      The add-ons to total up

    Returns number

    Sum of add-on prices