feat: add payment
This commit is contained in:
@@ -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 = '',
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user