Application Load

IPaymentMethod

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

IPaymentMethod

Public payment-method details.

src/lib/interfaces/orionplace/cart/ICartData.ts
TypeScript
export interface IPaymentMethod {
  // Payment-method ID.
  id: number;
  // Translated name and description.
  locale: Record<
    string,
    {
      // Optional value of payment_name; it may be omitted.
      payment_name?: string;
      // Optional value of payment_description; it may be omitted.
      payment_description?: string;
    }
  >;
  // Payment logo URL, or null.
  logo: string | null;
  // Payment on delivery.
  is_payment_on_delivery: boolean;
  // Payment from the customer’s balance.
  is_from_balance_payment: boolean;
}