bug fixed

This commit is contained in:
nutchayut
2025-01-07 15:02:31 +07:00
parent f16e5f491a
commit 4f344e5e00
2634 changed files with 46314 additions and 9884 deletions

View File

@@ -86,3 +86,117 @@ class Transactions {
return data;
}
}
class TransactionsV4 {
String? id;
String? phoneNumber;
String? payeeUserAccountId;
String? payeeName;
String? payerUserAccountId;
String? payerName;
dynamic? invoiceId;
dynamic? referencE1;
dynamic? referencE2;
dynamic? referencE3;
String? paymentStatus;
String? paymentChannel;
String? qrId;
String? createDate;
String? updateDate;
String? sattleDate;
String? voidDate;
String? refundDate;
String? cancelDate;
double? amount;
String? createBy;
String? createByName;
String? updateBy;
String? updateByName;
String? note;
TransactionsV4(
{this.id,
this.phoneNumber,
this.payeeUserAccountId,
this.payeeName,
this.payerUserAccountId,
this.payerName,
this.invoiceId,
this.referencE1,
this.referencE2,
this.referencE3,
this.paymentStatus,
this.paymentChannel,
this.qrId,
this.createDate,
this.updateDate,
this.sattleDate,
this.voidDate,
this.refundDate,
this.cancelDate,
this.amount,
this.createBy,
this.createByName,
this.updateBy,
this.updateByName,
this.note});
TransactionsV4.fromJson(Map<String, dynamic> json) {
id = json['id'];
phoneNumber = json['phoneNumber'];
payeeUserAccountId = json['payeeUserAccountId'];
payeeName = json['payeeName'];
payerUserAccountId = json['payerUserAccountId'];
payerName = json['payerName'];
invoiceId = json['invoiceId'];
referencE1 = json['referencE1'];
referencE2 = json['referencE2'];
referencE3 = json['referencE3'];
paymentStatus = json['paymentStatus'];
paymentChannel = json['paymentChannel'];
qrId = json['qrId'];
createDate = json['createDate'];
updateDate = json['updateDate'];
sattleDate = json['sattleDate'];
voidDate = json['voidDate'];
refundDate = json['refundDate'];
cancelDate = json['cancelDate'];
amount = json['amount'];
createBy = json['createBy'];
createByName = json['createByName'];
updateBy = json['updateBy'];
updateByName = json['updateByName'];
note = json['note'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['id'] = this.id;
data['phoneNumber'] = this.phoneNumber;
data['payeeUserAccountId'] = this.payeeUserAccountId;
data['payeeName'] = this.payeeName;
data['payerUserAccountId'] = this.payerUserAccountId;
data['payerName'] = this.payerName;
data['invoiceId'] = this.invoiceId;
data['referencE1'] = this.referencE1;
data['referencE2'] = this.referencE2;
data['referencE3'] = this.referencE3;
data['paymentStatus'] = this.paymentStatus;
data['paymentChannel'] = this.paymentChannel;
data['qrId'] = this.qrId;
data['createDate'] = this.createDate;
data['updateDate'] = this.updateDate;
data['sattleDate'] = this.sattleDate;
data['voidDate'] = this.voidDate;
data['refundDate'] = this.refundDate;
data['cancelDate'] = this.cancelDate;
data['amount'] = this.amount;
data['createBy'] = this.createBy;
data['createByName'] = this.createByName;
data['updateBy'] = this.updateBy;
data['updateByName'] = this.updateByName;
data['note'] = this.note;
return data;
}
}