Application Load

IOrderCreated

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

IOrderCreated

Created order and optional payment navigation.

interfaces/orionplace/orders/IOrderActions.ts
TypeScript
export interface IOrderCreated {
  // Created order ID.
  order_id: number;
  // External payment URL, or an empty string.
  link: string;
  // Payment-link opening mode, or null.
  link_type: EPaymentLinkType | null;
  // Applied promo code, when present.
  promo_value?: string;
  // The order exists, but the payment provider gave no link (`link` is
  // empty): the customer pays later from the order.
  // Present when the order was placed but the payment provider gave no link
  // (`link` is empty): the reason. The customer pays later from the order.
  payment_error?: string;
}