32 lines
707 B
Dart
32 lines
707 B
Dart
class ImpsTransaction {
|
|
final String fromAccount;
|
|
final String toAccount;
|
|
final String amount;
|
|
final String ifscCode;
|
|
final String? remitterName;
|
|
final String beneficiaryName;
|
|
final String tpin;
|
|
|
|
ImpsTransaction({
|
|
required this.fromAccount,
|
|
required this.toAccount,
|
|
required this.amount,
|
|
required this.ifscCode,
|
|
this.remitterName,
|
|
required this.beneficiaryName,
|
|
required this.tpin,
|
|
});
|
|
|
|
Map<String, dynamic> toJson() {
|
|
return {
|
|
'fromAccount': fromAccount,
|
|
'toAccount': toAccount,
|
|
'amount': amount,
|
|
'ifscCode': ifscCode,
|
|
'remitterName': remitterName,
|
|
'beneficiaryName': beneficiaryName,
|
|
'tpin': tpin,
|
|
};
|
|
}
|
|
}
|