class paymentRequisitionPaymentsReceiptsDetailsResponse { ReceiptDetails? receiptDetails; String? error; String? message; paymentRequisitionPaymentsReceiptsDetailsResponse( {this.receiptDetails, this.error, this.message}); paymentRequisitionPaymentsReceiptsDetailsResponse.fromJson( Map json) { receiptDetails = json['receipt_details'] != null ? new ReceiptDetails.fromJson(json['receipt_details']) : null; error = json['error']; message = json['message']; } Map toJson() { final Map data = new Map(); if (this.receiptDetails != null) { data['receipt_details'] = this.receiptDetails!.toJson(); } data['error'] = this.error; data['message'] = this.message; return data; } } class ReceiptDetails { 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; String? bankUpiId; ReceiptDetails( {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, this.bankUpiId}); ReceiptDetails.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']; bankUpiId = json['bank_upi_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; data['bank_upi_id'] =this.bankUpiId; return data; } }