Application Load

IOrderOptionPrices

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

IOrderOptionPrices

Purchased additional-product totals by currency.

src/lib/interfaces/orionplace/orders/IOrderHistory.ts
TypeScript
export interface IOrderOptionPrices {
  // Amount of the whole option line before discounts; the ordered quantity is
  // already included.
  options_price_no_discount: ICurrencyAmounts;
  // Ordinary additional-product discount amount.
  option_regular_discount_value: ICurrencyAmounts;
  // Amount of the whole option line before the promo; the ordered quantity is
  // already included.
  options_price_before_promo: ICurrencyAmounts;
  // Difference between the option amount before promo codes and the amount
  // before all discounts. Use the returned final amount for the charge.
  option_promo_discount_value: ICurrencyAmounts;
  // Amount of the whole option line after the promo; the ordered quantity is
  // already included. The price of one piece is this amount divided by
  // `quantity`.
  options_price_after_promo: ICurrencyAmounts;
  // Sum of the two option discount values above.
  options_discount_total: ICurrencyAmounts;
  // Amount awaiting refund payment for this option.
  refund_price_to_pay: ICurrencyAmounts;
}