@@ -91,7 +91,8 @@ protected ProcessParams() { }
9191 /// <param name="checkAuth">This parameter is used to enable authenticity checks.</param>
9292 /// <param name="authParams">authParams.</param>
9393 /// <param name="mrzDetectMode">mrzDetectMode.</param>
94- public ProcessParams ( List < int > lcidFilter = default ( List < int > ) , List < int > lcidIgnoreFilter = default ( List < int > ) , bool oneShotIdentification = default ( bool ) , bool useFaceApi = default ( bool ) , FaceApi faceApi = default ( FaceApi ) , bool doDetectCan = default ( bool ) , int imageOutputMaxHeight = default ( int ) , int imageOutputMaxWidth = default ( int ) , string scenario = default ( string ) , List < int > resultTypeOutput = default ( List < int > ) , bool doublePageSpread = default ( bool ) , bool generateDoublePageSpreadImage = default ( bool ) , List < int > fieldTypesFilter = default ( List < int > ) , string dateFormat = default ( string ) , int measureSystem = default ( int ) , int imageDpiOutMax = default ( int ) , bool alreadyCropped = default ( bool ) , Dictionary < string , Object > customParams = default ( Dictionary < string , Object > ) , List < PerDocumentConfig > config = default ( List < PerDocumentConfig > ) , bool log = default ( bool ) , string logLevel = default ( string ) , int forceDocID = default ( int ) , bool matchTextFieldMask = default ( bool ) , bool fastDocDetect = default ( bool ) , bool updateOCRValidityByGlare = default ( bool ) , bool checkRequiredTextFields = default ( bool ) , bool returnCroppedBarcode = default ( bool ) , ImageQA imageQa = default ( ImageQA ) , bool respectImageQuality = default ( bool ) , int forceDocFormat = default ( int ) , bool noGraphics = default ( bool ) , bool depersonalizeLog = default ( bool ) , bool multiDocOnImage = default ( bool ) , int shiftExpiryDate = default ( int ) , int minimalHolderAge = default ( int ) , bool returnUncroppedImage = default ( bool ) , List < string > mrzFormatsFilter = default ( List < string > ) , bool forceReadMrzBeforeLocate = default ( bool ) , bool parseBarcodes = default ( bool ) , int convertCase = default ( int ) , bool splitNames = default ( bool ) , bool disablePerforationOCR = default ( bool ) , List < int > documentGroupFilter = default ( List < int > ) , long processAuth = default ( long ) , int deviceId = default ( int ) , int deviceType = default ( int ) , string deviceTypeHex = default ( string ) , bool ignoreDeviceIdFromImage = default ( bool ) , List < int > documentIdList = default ( List < int > ) , ProcessParamsRfid rfid = default ( ProcessParamsRfid ) , bool checkAuth = default ( bool ) , AuthParams authParams = default ( AuthParams ) , MrzDetectModeEnum mrzDetectMode = default ( MrzDetectModeEnum ) )
94+ /// <param name="generateNumericCodes">This parameter is used to generate numeric representation for issuing state and nationality codes.</param>
95+ public ProcessParams ( List < int > lcidFilter = default ( List < int > ) , List < int > lcidIgnoreFilter = default ( List < int > ) , bool oneShotIdentification = default ( bool ) , bool useFaceApi = default ( bool ) , FaceApi faceApi = default ( FaceApi ) , bool doDetectCan = default ( bool ) , int imageOutputMaxHeight = default ( int ) , int imageOutputMaxWidth = default ( int ) , string scenario = default ( string ) , List < int > resultTypeOutput = default ( List < int > ) , bool doublePageSpread = default ( bool ) , bool generateDoublePageSpreadImage = default ( bool ) , List < int > fieldTypesFilter = default ( List < int > ) , string dateFormat = default ( string ) , int measureSystem = default ( int ) , int imageDpiOutMax = default ( int ) , bool alreadyCropped = default ( bool ) , Dictionary < string , Object > customParams = default ( Dictionary < string , Object > ) , List < PerDocumentConfig > config = default ( List < PerDocumentConfig > ) , bool log = default ( bool ) , string logLevel = default ( string ) , int forceDocID = default ( int ) , bool matchTextFieldMask = default ( bool ) , bool fastDocDetect = default ( bool ) , bool updateOCRValidityByGlare = default ( bool ) , bool checkRequiredTextFields = default ( bool ) , bool returnCroppedBarcode = default ( bool ) , ImageQA imageQa = default ( ImageQA ) , bool respectImageQuality = default ( bool ) , int forceDocFormat = default ( int ) , bool noGraphics = default ( bool ) , bool depersonalizeLog = default ( bool ) , bool multiDocOnImage = default ( bool ) , int shiftExpiryDate = default ( int ) , int minimalHolderAge = default ( int ) , bool returnUncroppedImage = default ( bool ) , List < string > mrzFormatsFilter = default ( List < string > ) , bool forceReadMrzBeforeLocate = default ( bool ) , bool parseBarcodes = default ( bool ) , int convertCase = default ( int ) , bool splitNames = default ( bool ) , bool disablePerforationOCR = default ( bool ) , List < int > documentGroupFilter = default ( List < int > ) , long processAuth = default ( long ) , int deviceId = default ( int ) , int deviceType = default ( int ) , string deviceTypeHex = default ( string ) , bool ignoreDeviceIdFromImage = default ( bool ) , List < int > documentIdList = default ( List < int > ) , ProcessParamsRfid rfid = default ( ProcessParamsRfid ) , bool checkAuth = default ( bool ) , AuthParams authParams = default ( AuthParams ) , MrzDetectModeEnum mrzDetectMode = default ( MrzDetectModeEnum ) , bool generateNumericCodes = default ( bool ) )
9596 {
9697 // to ensure "scenario" is required (not null)
9798 if ( scenario == null )
@@ -155,6 +156,7 @@ protected ProcessParams() { }
155156 this . CheckAuth = checkAuth ;
156157 this . AuthParams = authParams ;
157158 this . MrzDetectMode = mrzDetectMode ;
159+ this . GenerateNumericCodes = generateNumericCodes ;
158160 }
159161
160162 /// <summary>
@@ -518,6 +520,13 @@ protected ProcessParams() { }
518520 [ DataMember ( Name = "mrzDetectMode" , EmitDefaultValue = false ) ]
519521 public MrzDetectModeEnum MrzDetectMode { get ; set ; }
520522
523+ /// <summary>
524+ /// This parameter is used to generate numeric representation for issuing state and nationality codes
525+ /// </summary>
526+ /// <value>This parameter is used to generate numeric representation for issuing state and nationality codes</value>
527+ [ DataMember ( Name = "generateNumericCodes" , EmitDefaultValue = false ) ]
528+ public bool GenerateNumericCodes { get ; set ; }
529+
521530 /// <summary>
522531 /// Returns the string presentation of the object
523532 /// </summary>
@@ -579,6 +588,7 @@ public override string ToString()
579588 sb . Append ( " CheckAuth: " ) . Append ( CheckAuth ) . Append ( "\n " ) ;
580589 sb . Append ( " AuthParams: " ) . Append ( AuthParams ) . Append ( "\n " ) ;
581590 sb . Append ( " MrzDetectMode: " ) . Append ( MrzDetectMode ) . Append ( "\n " ) ;
591+ sb . Append ( " GenerateNumericCodes: " ) . Append ( GenerateNumericCodes ) . Append ( "\n " ) ;
582592 sb . Append ( "}\n " ) ;
583593 return sb . ToString ( ) ;
584594 }
@@ -886,6 +896,11 @@ public bool Equals(ProcessParams input)
886896 this . MrzDetectMode == input . MrzDetectMode ||
887897 ( this . MrzDetectMode != null &&
888898 this . MrzDetectMode . Equals ( input . MrzDetectMode ) )
899+ ) &&
900+ (
901+ this . GenerateNumericCodes == input . GenerateNumericCodes ||
902+ ( this . GenerateNumericCodes != null &&
903+ this . GenerateNumericCodes . Equals ( input . GenerateNumericCodes ) )
889904 ) ;
890905 }
891906
@@ -1004,6 +1019,8 @@ public override int GetHashCode()
10041019 hashCode = hashCode * 59 + this . AuthParams . GetHashCode ( ) ;
10051020 if ( this . MrzDetectMode != null )
10061021 hashCode = hashCode * 59 + this . MrzDetectMode . GetHashCode ( ) ;
1022+ if ( this . GenerateNumericCodes != null )
1023+ hashCode = hashCode * 59 + this . GenerateNumericCodes . GetHashCode ( ) ;
10071024 return hashCode ;
10081025 }
10091026 }
0 commit comments