apps/recallassess/recallassess-api/src/api/shared/stripe/dto/immediate-charge-result.dto.ts
Properties |
|
| company |
company:
|
Type : ImmediateChargeCompanySnapshot
|
| Optional |
| invoice |
invoice:
|
Type : ImmediateChargeInvoiceSnapshot | null
|
| Optional |
| message |
message:
|
Type : string
|
| stripe_subscription_status |
stripe_subscription_status:
|
Type : string | null
|
| subscription |
subscription:
|
Type : ImmediateChargeSubscriptionSnapshot | null
|
| Optional |
| success |
success:
|
Type : boolean
|
export interface ImmediateChargeCompanySnapshot {
is_subscription_expiry: boolean;
stripe_subscription_id: string | null;
}
export interface ImmediateChargeSubscriptionSnapshot {
id: number;
status: string;
is_current: boolean;
stripe_subscription_id: string | null;
}
export interface ImmediateChargeInvoiceSnapshot {
id: number;
stripe_invoice_id: string | null;
stripe_payment_intent_id: string | null;
status: string;
total_amount: number;
paid_date: string | null;
}
export interface ImmediateChargeResult {
success: boolean;
message: string;
stripe_subscription_status: string | null;
company?: ImmediateChargeCompanySnapshot;
subscription?: ImmediateChargeSubscriptionSnapshot | null;
invoice?: ImmediateChargeInvoiceSnapshot | null;
}