File

apps/recallassess/recallassess-api/src/api/shared/stripe/services/stripe-payment/stripe-payment.types.ts

Description

Quote returned by StripePaymentSubscriptionAdminService.previewImmediateExpiredRecoveryCharge.

Index

Properties

Properties

base_amount
base_amount: number
Type : number
billing_cycle
billing_cycle: "QUARTERLY" | "HALF_YEARLY" | "ANNUAL"
Type : "QUARTERLY" | "HALF_YEARLY" | "ANNUAL"
currency
currency: unknown
Type : unknown
end_date
end_date: string
Type : string
from_date
from_date: string
Type : string
immediate_charge_amount
immediate_charge_amount: number
Type : number
next_recurring_charge_amount
next_recurring_charge_amount: number
Type : number
next_stripe_billing_date
next_stripe_billing_date: string
Type : string
processing_fee
processing_fee: number
Type : number
vat_fee
vat_fee: number
Type : number
vip_offer_applied
vip_offer_applied: boolean
Type : boolean
vip_offer_summary
vip_offer_summary: string | null
Type : string | null
import type Stripe from "stripe";

/** API responses include fields not always present on generated Stripe typings. */
export type StripeSubscriptionApi = Stripe.Subscription & {
  current_period_start?: number;
  current_period_end?: number;
};

/** Quote returned by {@link StripePaymentSubscriptionAdminService.previewImmediateExpiredRecoveryCharge}. */
export interface ImmediateRecoveryQuote {
  currency: "USD";
  base_amount: number;
  processing_fee: number;
  vat_fee: number;
  immediate_charge_amount: number;
  next_recurring_charge_amount: number;
  vip_offer_applied: boolean;
  vip_offer_summary: string | null;
  billing_cycle: "QUARTERLY" | "HALF_YEARLY" | "ANNUAL";
  from_date: string;
  end_date: string;
  next_stripe_billing_date: string;
}

results matching ""

    No results matching ""