feat: add payment

This commit is contained in:
2026-07-05 16:03:15 +03:30
parent c2356b3242
commit 5017e9a613
30 changed files with 470 additions and 65 deletions
@@ -6,6 +6,7 @@ class CoinPackage {
final int vipDays;
final int priceToman;
final int bonusPct;
final String sku; // شناسه‌ی محصول در پنلِ فروشگاه (برای پرداختِ native)
const CoinPackage({
required this.id,
required this.title,
@@ -13,6 +14,7 @@ class CoinPackage {
required this.vipDays,
required this.priceToman,
required this.bonusPct,
this.sku = '',
});
}
@@ -21,11 +23,13 @@ class TicketPackage {
final String title;
final int tickets;
final int priceToman;
final String sku;
const TicketPackage({
required this.id,
required this.title,
required this.tickets,
required this.priceToman,
this.sku = '',
});
}
@@ -43,12 +47,14 @@ class Booster {
final int multiplier;
final int hours;
final int priceToman;
final String sku;
const Booster({
required this.id,
required this.title,
required this.multiplier,
required this.hours,
required this.priceToman,
this.sku = '',
});
}
@@ -57,11 +63,13 @@ class VipPackage {
final String title;
final int months;
final int priceToman;
final String sku;
const VipPackage({
required this.id,
required this.title,
required this.months,
required this.priceToman,
this.sku = '',
});
}