class ImpsTransaction {
  final String fromAccount;
  final String toAccount;
  final String amount;
  final String ifscCode;
  final String? remitterName;
  final String beneficiaryName;
  final String tpin;
  final String? remarks;

  ImpsTransaction({
    required this.fromAccount,
    required this.toAccount,
    required this.amount,
    required this.ifscCode,
    this.remitterName,
    required this.beneficiaryName,
    required this.tpin,
    this.remarks,
  });

  Map<String, dynamic> toJson() {
    return {
      'fromAccount': fromAccount,
      'toAccount': toAccount,
      'amount': amount,
      'ifscCode': ifscCode,
      'remitterName': remitterName,
      'beneficiaryName': beneficiaryName,
      'tpin': tpin,
      'remarks': remarks,
    };
  }
}
