Application Load

IOrderPrices

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

IOrderPrices

Order totals, payments and refunds by currency.

interfaces/orionplace/orders/IOrderHistory.ts
TypeScript
export interface IOrderPrices {
  // Combined products/options before discounts.
  total_price_no_discount: ICurrencyAmounts;
  // Ordinary discount amount.
  discount_value: ICurrencyAmounts;
  // Combined products/options before the promo.
  total_price_before_promo: ICurrencyAmounts;
  // Promo discount amount.
  promo_value: ICurrencyAmounts;
  // Combined products/options after the promo.
  total_price_after_promo: ICurrencyAmounts;
  // Ordinary and promo discounts combined.
  discount_total: ICurrencyAmounts;
  // Delivery total before the promo.
  total_delivery_price_before_promo: ICurrencyAmounts;
  // Delivery total after the promo.
  total_delivery_price_after_promo: ICurrencyAmounts;
  // Delivery after promo minus delivery before promo; can be negative.
  delivery_discount: ICurrencyAmounts;
  // Order total including delivery.
  order_total: ICurrencyAmounts;
  // Amount already paid.
  order_total_paid: ICurrencyAmounts;
  // Remaining amount payable.
  order_total_paid_left: ICurrencyAmounts;
  // Whether delivery is still provisionally priced.
  delivery_price_is_estimate: boolean;
  // Combined amount awaiting refund payment.
  total_refund_price_to_pay: ICurrencyAmounts;
  // Refund amount already paid.
  total_refund_price_paid: ICurrencyAmounts;
}