33 lines
749 B
Dart
33 lines
749 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 {
|
|
'stFromAccDetails': fromAccount,
|
|
'stBenAccNo': toAccount,
|
|
'stTransferAmount': amount,
|
|
'stBenIFSC': ifscCode,
|
|
//'remitterName': remitterName,
|
|
'stBeneName': beneficiaryName,
|
|
'stRemarks': "Check",
|
|
'tpin': tpin,
|
|
};
|
|
}
|
|
}
|