Application Load

ICartPrices

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

ICartPrices

Current cart totals.

interfaces/orionplace/cart/ICartData.ts
TypeScript
export interface ICartPrices {
  // Items before product and promo discounts. Keyed by currency ID.
  total_price_no_discount: ICurrencyAmounts;
  // Product-discount amount. Keyed by currency ID.
  discount_value: ICurrencyAmounts;
  // Items after product discounts, before promo discounts. Keyed by currency
  // ID.
  total_price_before_promo: ICurrencyAmounts;
  // Promo-code discount amount. Keyed by currency ID.
  promo_value: ICurrencyAmounts;
  // Items after product and promo discounts. Keyed by currency ID.
  total_price_after_promo: ICurrencyAmounts;
  // Delivery before promo discounts. Keyed by currency ID.
  total_delivery_price_before_promo: ICurrencyAmounts;
  // Delivery after promo discounts. Keyed by currency ID.
  total_delivery_price_after_promo: ICurrencyAmounts;
  // Delivery-discount amount. Keyed by currency ID.
  delivery_discount: ICurrencyAmounts;
  // Total product, promotion and delivery discounts. Keyed by currency ID.
  discount_total: ICurrencyAmounts;
  // Items and delivery after discounts. Keyed by currency ID.
  summary_price: ICurrencyAmounts;
  // Delivery price is an estimate.
  delivery_price_is_estimate: boolean;
}