You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.4 KiB
Dart
50 lines
1.4 KiB
Dart
class CreateTransactionPinRequest {
|
|
String channelCode = "";
|
|
String pctCstycode = "";
|
|
String porOrgacode = "";
|
|
String cmpCustcode = "";
|
|
String email = "";
|
|
String obpPincode = "";
|
|
String pinType = "";
|
|
|
|
|
|
CreateTransactionPinRequest({
|
|
this.channelCode = "",
|
|
this.pctCstycode = "",
|
|
this.porOrgacode = "",
|
|
this.cmpCustcode = "",
|
|
this.email = "",
|
|
this.obpPincode = "",
|
|
this.pinType = "",
|
|
});
|
|
|
|
Map<String, dynamic> toMap() {
|
|
return {
|
|
'channelCode': this.channelCode,
|
|
'pctCstycode': this.pctCstycode,
|
|
'porOrgacode': this.porOrgacode,
|
|
'cmpCustcode': this.cmpCustcode,
|
|
'email': this.email,
|
|
'obpPincode': this.obpPincode,
|
|
'pinType': this.pinType,
|
|
};
|
|
}
|
|
|
|
factory CreateTransactionPinRequest.fromMap(Map<String, dynamic> map) {
|
|
return CreateTransactionPinRequest(
|
|
channelCode: map['channelCode'] ?? "",
|
|
pctCstycode: map['pctCstycode'] ?? "",
|
|
porOrgacode: map['porOrgacode'] ?? "",
|
|
cmpCustcode: map['cmpCustcode'] ?? "",
|
|
email: map['email'] ?? "",
|
|
obpPincode: map['obpPincode'] ?? "",
|
|
pinType: map['pinType'] ?? "",
|
|
);
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return 'CreateTransactionPinRequest{channelCode: $channelCode, pctCstycode: $pctCstycode, porOrgacode: $porOrgacode, cmpCustcode: $cmpCustcode, email: $email, obpPincode: $obpPincode, pinType: $pinType}';
|
|
}
|
|
}
|