Application Load

ICartLinePrices

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

ICartLinePrices

Main and additional item amounts without delivery.

src/lib/interfaces/orionplace/cart/ICartData.ts
TypeScript
export interface ICartLinePrices {
  // Main products before discounts. Keyed by currency ID.
  products_price_no_discount: ICurrencyAmounts;
  // Main-product discount amount. Keyed by currency ID.
  products_regular_discount_value: ICurrencyAmounts;
  // Main products before promo discounts. Keyed by currency ID.
  products_price_before_promo: ICurrencyAmounts;
  // Promo discount on main products. Keyed by currency ID.
  products_promo_discount_value: ICurrencyAmounts;
  // Main products after all discounts. Keyed by currency ID.
  products_price_after_promo: ICurrencyAmounts;
  // All discounts on main products. Keyed by currency ID.
  products_discount_total: ICurrencyAmounts;
  // Additional products before discounts. Keyed by currency ID.
  options_price_no_discount: ICurrencyAmounts;
  // Additional-product discount amount. Keyed by currency ID.
  option_discount_value: ICurrencyAmounts;
  // Additional products before promo discounts. Keyed by currency ID.
  options_price_before_promo: ICurrencyAmounts;
  // Promo discount on additional products. Keyed by currency ID.
  option_promo_discount_value: ICurrencyAmounts;
  // Additional products after all discounts. Keyed by currency ID.
  options_price_after_promo: ICurrencyAmounts;
  // All discounts on additional products. Keyed by currency ID.
  options_discount_total: ICurrencyAmounts;
  // Main and additional products before discounts. Keyed by currency ID.
  total_price_no_discount: ICurrencyAmounts;
  // Main and additional products before promo discounts. Keyed by currency ID.
  total_price_before_promo: ICurrencyAmounts;
  // Main and additional products after all discounts. Keyed by currency ID.
  total_price_after_promo: ICurrencyAmounts;
}