INFRA: Set Up Project.

This commit is contained in:
2025-11-28 11:10:49 +05:00
commit c798279f7d
609 changed files with 77436 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
class PayFastModel {
String? returnUrl;
String? cancelUrl;
String? notifyUrl;
String? merchantKey;
bool? isEnable;
String? merchantId;
bool? isSandbox;
PayFastModel({this.returnUrl, this.cancelUrl, this.notifyUrl, this.merchantKey, this.isEnable, this.merchantId, this.isSandbox});
PayFastModel.fromJson(Map<String, dynamic> json) {
returnUrl = json['return_url'];
cancelUrl = json['cancel_url'];
notifyUrl = json['notify_url'];
merchantKey = json['merchant_key'];
isEnable = json['isEnable'];
merchantId = json['merchant_id'];
isSandbox = json['isSandbox'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['return_url'] = returnUrl;
data['cancel_url'] = cancelUrl;
data['notify_url'] = notifyUrl;
data['merchant_key'] = merchantKey;
data['isEnable'] = isEnable;
data['merchant_id'] = merchantId;
data['isSandbox'] = isSandbox;
return data;
}
}