class paymentRequisitionPaymentsReceiptsListResponse { List? receiptsList; String? error; String? message; paymentRequisitionPaymentsReceiptsListResponse( {this.receiptsList, this.error, this.message}); paymentRequisitionPaymentsReceiptsListResponse.fromJson( Map json) { if (json['receipts_list'] != null) { receiptsList = []; json['receipts_list'].forEach((v) { receiptsList!.add(new ReceiptsList.fromJson(v)); }); } error = json['error']; message = json['message']; } Map toJson() { final Map data = new Map(); if (this.receiptsList != null) { data['receipts_list'] = this.receiptsList!.map((v) => v.toJson()).toList(); } data['error'] = this.error; data['message'] = this.message; return data; } } class ReceiptsList { String? id; String? amount; String? bankName; String? bankBranchName; String? bankIfscCode; String? bankAccountHolderName; String? bankAccountNumber; String? attachmentDirFilePath; String? attachmentViewFileName; String? accountId; String? description; String? paymentReferenceNumber; String? receiptDate; String? receipientAccount; String? payAccount; String? requestMode; String? createdEmployee; String? createdDatetime; String? updatedDatetime; String? receiptAccountId; ReceiptsList( {this.id, this.amount, this.bankName, this.bankBranchName, this.bankIfscCode, this.bankAccountHolderName, this.bankAccountNumber, this.attachmentDirFilePath, this.attachmentViewFileName, this.accountId, this.description, this.paymentReferenceNumber, this.receiptDate, this.receipientAccount, this.payAccount, this.requestMode, this.createdEmployee, this.createdDatetime, this.updatedDatetime, this.receiptAccountId}); ReceiptsList.fromJson(Map json) { id = json['id']; amount = json['amount']; bankName = json['bank_name']; bankBranchName = json['bank_branch_name']; bankIfscCode = json['bank_ifsc_code']; bankAccountHolderName = json['bank_account_holder_name']; bankAccountNumber = json['bank_account_number']; attachmentDirFilePath = json['attachment_dir_file_path']; attachmentViewFileName = json['attachment_view_file_name']; accountId = json['account_id']; description = json['description']; paymentReferenceNumber = json['payment_reference_number']; receiptDate = json['receipt_date']; receipientAccount = json['receipient_account']; payAccount = json['pay_account']; requestMode = json['request_mode']; createdEmployee = json['created_employee']; createdDatetime = json['created_datetime']; updatedDatetime = json['updated_datetime']; receiptAccountId = json['receipt_account_id']; } Map toJson() { final Map data = new Map(); data['id'] = this.id; data['amount'] = this.amount; data['bank_name'] = this.bankName; data['bank_branch_name'] = this.bankBranchName; data['bank_ifsc_code'] = this.bankIfscCode; data['bank_account_holder_name'] = this.bankAccountHolderName; data['bank_account_number'] = this.bankAccountNumber; data['attachment_dir_file_path'] = this.attachmentDirFilePath; data['attachment_view_file_name'] = this.attachmentViewFileName; data['account_id'] = this.accountId; data['description'] = this.description; data['payment_reference_number'] = this.paymentReferenceNumber; data['receipt_date'] = this.receiptDate; data['receipient_account'] = this.receipientAccount; data['pay_account'] = this.payAccount; data['request_mode'] = this.requestMode; data['created_employee'] = this.createdEmployee; data['created_datetime'] = this.createdDatetime; data['updated_datetime'] = this.updatedDatetime; data['receipt_account_id'] = this.receiptAccountId; return data; } }