Files
Neo_wallet/neowallet_mobile/lib/model/transfer_history_model.dart
Manasit.K 43c32ef6cf init
2024-10-31 15:57:57 +07:00

116 lines
3.4 KiB
Dart

class TransferHistoryModel {
String? id;
var requestTranId;
String? phoneNumber;
String? payeeUserAccountId;
var payeeName;
var payeeFullName;
String? payerUserAccountId;
var payerName;
var payerFullName;
var invoiceId;
var referencE1;
var referencE2;
var referencE3;
String? paymentStatus;
String? paymentChannel;
String? qrId;
String? createDate;
String? updateDate;
String? sattleDate;
String? voidDate;
String? refundDate;
String? cancelDate;
var amount;
String? createBy;
String? updateBy;
String? note;
TransferHistoryModel(
{this.id,
this.requestTranId,
this.phoneNumber,
this.payeeUserAccountId,
this.payeeName,
this.payeeFullName,
this.payerUserAccountId,
this.payerName,
this.payerFullName,
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.updateBy,
this.note});
TransferHistoryModel.fromJson(Map<String, dynamic> json) {
id = json['id'];
requestTranId = json['requestTranId'];
phoneNumber = json['phoneNumber'];
payeeUserAccountId = json['payeeUserAccountId'];
payeeName = json['payeeName'];
payeeFullName = json['payeeFullName'];
payerUserAccountId = json['payerUserAccountId'];
payerName = json['payerName'];
payerFullName = json['payerFullName'];
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'];
updateBy = json['updateBy'];
note = json['note'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['id'] = this.id;
data['requestTranId'] = this.requestTranId;
data['phoneNumber'] = this.phoneNumber;
data['payeeUserAccountId'] = this.payeeUserAccountId;
data['payeeName'] = this.payeeName;
data['payeeFullName'] = this.payeeFullName;
data['payerUserAccountId'] = this.payerUserAccountId;
data['payerName'] = this.payerName;
data['payerFullName'] = this.payerFullName;
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['updateBy'] = this.updateBy;
data['note'] = this.note;
return data;
}
}