mirror of
https://github.com/Motion-Games/MotionWebStudio.git
synced 2026-04-21 09:00:53 +02:00
stripe
This commit is contained in:
19
types.ts
19
types.ts
@@ -9,11 +9,14 @@ export interface Service {
|
||||
export interface ProductPackage {
|
||||
id: string;
|
||||
name: string;
|
||||
price: string;
|
||||
desc: string; // Description
|
||||
price: string; // Megjelenített ár szöveg (pl. "150.000 Ft" vagy "Egyedi árazás")
|
||||
total_price?: number; // Numerikus teljes ár
|
||||
advance_price?: number; // Numerikus előleg
|
||||
is_custom_price?: boolean; // Egyedi árazás jelző
|
||||
desc: string;
|
||||
features: string[];
|
||||
isPopular?: boolean;
|
||||
cta: string; // Call to Action button text
|
||||
cta: string;
|
||||
}
|
||||
|
||||
export interface Reference {
|
||||
@@ -42,3 +45,13 @@ export interface Invoice {
|
||||
status: 'paid' | 'pending' | 'overdue';
|
||||
pdf_url?: string;
|
||||
}
|
||||
|
||||
export interface MaintenanceSubscription {
|
||||
id: string;
|
||||
order_id: string;
|
||||
client_email: string;
|
||||
start_date: string;
|
||||
next_billing_date: string;
|
||||
status: 'active' | 'overdue' | 'cancelled';
|
||||
last_notified_at?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user