Application Load

IOrderLinePrices

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

IOrderLinePrices

Shipment-line product and option totals by currency.

interfaces/orionplace/orders/IOrderHistory.ts
TypeScript
export interface IOrderLinePrices {
  // Product total before discounts.
  products_price_no_discount: ICurrencyAmounts;
  // Product total after ordinary discounts, before the promo.
  products_price_before_promo: ICurrencyAmounts;
  // Product amount of the whole line after the promo; the ordered quantity is
  // already included.
  products_price_after_promo: ICurrencyAmounts;
  // Additional-product total before discounts.
  options_price_no_discount: ICurrencyAmounts;
  // Additional-product total before the promo.
  options_price_before_promo: ICurrencyAmounts;
  // Amount of every option of the line after the promo.
  options_price_after_promo: ICurrencyAmounts;
  // Combined products/options before discounts.
  total_price_no_discount: ICurrencyAmounts;
  // Combined products/options before the promo.
  total_price_before_promo: ICurrencyAmounts;
  // Products of the line plus its options, after the promo.
  total_price_after_promo: ICurrencyAmounts;
  // Product amount awaiting refund payment.
  products_refund_price_to_pay: ICurrencyAmounts;
  // Additional-product amount awaiting refund payment.
  options_refund_price_to_pay: ICurrencyAmounts;
  // Combined amount awaiting refund payment.
  total_refund_price_to_pay: ICurrencyAmounts;
}