Application Load

ICartOptionPrices

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

ICartOptionPrices

Option-product price fields.

src/lib/interfaces/orionplace/cart/ICartData.ts
TypeScript
export interface ICartOptionPrices {
  // Option amount before discounts.
  options_price_no_discount: ICurrencyAmounts;
  // Difference between the undiscounted and pre-promo option amounts.
  option_regular_discount_value: ICurrencyAmounts;
  // Option amount before promo discounts.
  options_price_before_promo: ICurrencyAmounts;
  // Option amount before promo codes minus the amount before all discounts; can
  // be negative.
  option_promo_discount_value: ICurrencyAmounts;
  // Option amount after promo discounts.
  options_price_after_promo: ICurrencyAmounts;
  // Total of the regular and promo discounts for the option.
  options_discount_total: ICurrencyAmounts;
}