Beneficiary Localization Chamges
This commit is contained in:
16
lib/data/models/imps_response.dart
Normal file
16
lib/data/models/imps_response.dart
Normal file
@@ -0,0 +1,16 @@
|
||||
class ImpsResponse {
|
||||
final String message;
|
||||
final String utr;
|
||||
|
||||
ImpsResponse({
|
||||
required this.message,
|
||||
required this.utr,
|
||||
});
|
||||
|
||||
factory ImpsResponse.fromJson(Map<String, dynamic> json) {
|
||||
return ImpsResponse(
|
||||
message: json['message'] ?? '',
|
||||
utr: json['utr'] ?? '',
|
||||
);
|
||||
}
|
||||
}
|
32
lib/data/models/imps_transaction.dart
Normal file
32
lib/data/models/imps_transaction.dart
Normal file
@@ -0,0 +1,32 @@
|
||||
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,
|
||||
};
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user