Application Load

ISubscribeTariffPrice

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

ISubscribeTariffPrice

Tariff price and duration for a billing period.

app/interfaces/orionplace/subscribeTariff/ISubscribeTariff.ts
TypeScript
export interface ISubscribeTariffPrice {
  // Period ID used to match an option surcharge.
  period_id: number;
  // Tariff cost ID sent as request.period for a paid subscription.
  tariff_cost_id: number;
  // Whole-period prices by currency ID. transform_value contains the
  // amount.
  amount: Record<string, ITransformValue>;
  // The complete duration of this period in days.
  days: number;
}