apps/recallassess/recallassess-api/src/api/shared/stripe/services/stripe-payment/stripe-payment.types.ts
Quote returned by StripePaymentSubscriptionAdminService.previewImmediateExpiredRecoveryCharge.
Properties |
| base_amount |
base_amount:
|
Type : number
|
| billing_cycle |
billing_cycle:
|
Type : "QUARTERLY" | "HALF_YEARLY" | "ANNUAL"
|
| currency |
currency:
|
Type : unknown
|
| end_date |
end_date:
|
Type : string
|
| from_date |
from_date:
|
Type : string
|
| immediate_charge_amount |
immediate_charge_amount:
|
Type : number
|
| next_recurring_charge_amount |
next_recurring_charge_amount:
|
Type : number
|
| next_stripe_billing_date |
next_stripe_billing_date:
|
Type : string
|
| processing_fee |
processing_fee:
|
Type : number
|
| vat_fee |
vat_fee:
|
Type : number
|
| vip_offer_applied |
vip_offer_applied:
|
Type : boolean
|
| vip_offer_summary |
vip_offer_summary:
|
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;
}