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
@@ -14,8 +14,9 @@ class SelectCardEvent extends ShopEvent {
class PurchaseEvent extends ShopEvent {
final String kind;
final String productId;
PurchaseEvent(this.kind, this.productId);
final String productId; // شناسه‌ی کاتالوگ (برای اعتباردهی در بک‌اند)
final String sku; // شناسه‌ی محصول در پنلِ فروشگاه (برای پرداختِ native)
PurchaseEvent(this.kind, this.productId, {this.sku = ''});
}
class AdRewardEvent extends ShopEvent {}