File

apps/recallassess/recallassess-api/src/api/shared/stripe/dto/immediate-charge-result.dto.ts

Index

Properties

Properties

id
id: number
Type : number
paid_date
paid_date: string | null
Type : string | null
status
status: string
Type : string
stripe_invoice_id
stripe_invoice_id: string | null
Type : string | null
stripe_payment_intent_id
stripe_payment_intent_id: string | null
Type : string | null
total_amount
total_amount: number
Type : number
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;
}

results matching ""

    No results matching ""