toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['ID'] = this.iD;
  data['TrxnDate'] = this.trxnDate;
  data['TransactionType'] = this.transactionType;
  data['OrderID'] = this.orderID;
  data['TransactionID'] = this.transactionID;
  data['ReferenceNo'] = this.referenceNo;
  data['TransactionRemarks'] = this.transactionRemarks;
  data['Credit'] = this.credit;
  data['Debit'] = this.debit;
  data['Balance'] = this.balance;
  data['TrxnStatus'] = this.trxnStatus;
  data['ParameterInfo'] = this.parameterInfo;
  data['Optional1'] = this.optional1;
  data['Optional2'] = this.optional2;
  data['Optional3'] = this.optional3;
  data['Optional4'] = this.optional4;
  data['Optional5'] = this.optional5;
  data['Optional6'] = this.optional6;
  data['CustomerID'] = this.customerID;
  data['BillerId'] = this.billerId;
  data['billerCategory'] = this.billerCategory;
  return data;
}