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.
uco-mobile-poc/lib/app/models/CreateTransactionPinOTPRequ...

58 lines
1.7 KiB
Dart

class CreateTransactionPinOTPRequest {
String newTransPincode = "";
String channelCode = "";
String pctCstycode = "";
String porOrgacode = "";
String cmpCustcode = "";
bool isOtpRequire = false;
String pinType = "";
CreateTransactionPinOTPRequest({
this.newTransPincode = "",
this.channelCode = "",
this.pctCstycode = "",
this.porOrgacode = "",
this.cmpCustcode = "",
this.isOtpRequire = false,
this.pinType = "",
});
CreateTransactionPinOTPRequest.empty()
: this.newTransPincode = "",
this.channelCode = "",
this.pctCstycode = "",
this.porOrgacode = "",
this.cmpCustcode = "",
this.isOtpRequire = false,
this.pinType = "";
Map<String, dynamic> toMap() {
return {
'newTransPincode': newTransPincode,
'channelCode': channelCode,
'pctCstycode': pctCstycode,
'porOrgacode': porOrgacode,
'cmpCustcode': cmpCustcode,
'isOtpRequire': isOtpRequire,
'pinType': pinType,
};
}
factory CreateTransactionPinOTPRequest.fromMap(Map<String, dynamic> map) {
return CreateTransactionPinOTPRequest(
newTransPincode: map['newTransPincode'],
channelCode: map['channelCode'],
pctCstycode: map['pctCstycode'],
porOrgacode: map['porOrgacode'],
cmpCustcode: map['cmpCustcode'],
isOtpRequire: map['isOtpRequire'],
pinType: map['pinType'],
);
}
@override
String toString() {
return 'CreateTransactionPinOTPRequest{newTransPincode: $newTransPincode, channelCode: $channelCode, pctCstycode: $pctCstycode, porOrgacode: $porOrgacode, cmpCustcode: $cmpCustcode, isOtpRequire: $isOtpRequire, pinType: $pinType}';
}
}