class Transactions { int? id; String? merchantLocalID; String? amount; String? invoice; String? ref1; String? ref2; String? paymentChannel; String? ePaymentTransactionID; var pgwTransactionID; String? responseURL; String? requestUserID; String? remark; String? topupStatus; String? createDate; String? updateDate; String? createBy; String? updateBy; String? requestName; String? fullName; Transactions( {this.id, this.merchantLocalID, this.amount, this.invoice, this.ref1, this.ref2, this.paymentChannel, this.ePaymentTransactionID, this.pgwTransactionID, this.responseURL, this.requestUserID, this.remark, this.topupStatus, this.createDate, this.updateDate, this.createBy, this.updateBy, this.requestName, this.fullName}); Transactions.fromJson(Map json) { id = json['id']; merchantLocalID = json['merchantLocalID']; amount = json['amount']; invoice = json['invoice']; ref1 = json['ref1']; ref2 = json['ref2']; paymentChannel = json['paymentChannel']; ePaymentTransactionID = json['ePaymentTransactionID']; pgwTransactionID = json['pgwTransactionID']; responseURL = json['responseURL']; requestUserID = json['requestUserID']; remark = json['remark']; topupStatus = json['topupStatus']; createDate = json['createDate']; updateDate = json['updateDate']; createBy = json['createBy']; updateBy = json['updateBy']; requestName = json['requestName']; fullName = json['fullName']; } Map toJson() { final Map data = new Map(); data['id'] = this.id; data['merchantLocalID'] = this.merchantLocalID; data['amount'] = this.amount; data['invoice'] = this.invoice; data['ref1'] = this.ref1; data['ref2'] = this.ref2; data['paymentChannel'] = this.paymentChannel; data['ePaymentTransactionID'] = this.ePaymentTransactionID; data['pgwTransactionID'] = this.pgwTransactionID; data['responseURL'] = this.responseURL; data['requestUserID'] = this.requestUserID; data['remark'] = this.remark; data['topupStatus'] = this.topupStatus; data['createDate'] = this.createDate; data['updateDate'] = this.updateDate; data['createBy'] = this.createBy; data['updateBy'] = this.updateBy; data['requestName'] = this.requestName; data['fullName'] = this.fullName; return data; } }