what-the-bank/sources/com/kofax/mobile/sdk/capture/check/RttiJsonCheck.java

605 lines
23 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.mobile.sdk.capture.check;
import android.content.Context;
import com.kofax.mobile.sdk._internal.dagger.Injector;
import com.kofax.mobile.sdk._internal.extraction.IJsonExactionHelper;
import com.kofax.mobile.sdk._internal.i;
import com.kofax.mobile.sdk.capture.model.Check;
import com.kofax.mobile.sdk.capture.model.CheckIQAData;
import com.kofax.mobile.sdk.capture.model.CheckUsabilityData;
import com.kofax.mobile.sdk.capture.model.Field;
import o.InterfaceC13390fZB;
import o.InterfaceC13391fZD;
/* loaded from: classes3.dex */
public class RttiJsonCheck extends Check implements i {
@InterfaceC13390fZB(a = CheckExtractor.CHECK_EXTRACT_RTTI)
@InterfaceC13391fZD
IJsonExactionHelper ZW;
private String ZX;
private final String aaz = "A2iA_CheckAmount";
private final String aaA = "CheckUsable";
private final String aaB = "A2iA_CheckCodeline";
private final String aaC = "A2iA_CheckCAR";
private final String aaD = "A2iA_CheckLAR";
private final String aaE = "A2iA_CheckPayeeName";
private final String aaF = "A2iA_CheckNumber";
private final String aaG = "A2iA_CheckDate";
private final String aaP = "A2iA_CheckCodeline_Amount";
private final String aaH = "A2iA_CheckCodeline_Transit";
private final String aaI = "A2iA_CheckCodeline_OnUs1";
private final String aaJ = "A2iA_CheckCodeline_AuxiliaryOnUs";
private final String aaK = "A2iA_CheckCodeline_OnUs2";
private final String aaL = "A2iA_CheckCodeline_EPC";
private final String aaM = "RestrictiveEndorsementPresent";
private final String aaN = "RestrictiveEndorsement";
private final String aaO = "ReasonForRejection";
public RttiJsonCheck(Context context, String str) {
if (str == null) {
throw new IllegalArgumentException("json cannot be null");
}
Injector.getInjector(context).injectMembers(this);
this.ZW.init(str);
setJson(str);
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getUsable() {
return this.ZW.getString("CheckUsable");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getAmount() {
return this.ZW.getString("A2iA_CheckAmount");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getCar() {
return this.ZW.getString("A2iA_CheckCAR");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getLar() {
return this.ZW.getString("A2iA_CheckLAR");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getPayee() {
return this.ZW.getString("A2iA_CheckPayeeName");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getCheckNumber() {
return this.ZW.getString("A2iA_CheckNumber");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getDate() {
return this.ZW.getString("A2iA_CheckDate");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getMicr() {
return this.ZW.getString("A2iA_CheckCodeline");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getRestrictiveEndorsementPresent() {
return this.ZW.getString("RestrictiveEndorsementPresent");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getRestrictiveEndorsement() {
return this.ZW.getString("RestrictiveEndorsement");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getReasonForRejection() {
return this.ZW.getString("ReasonForRejection");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getOnUs1() {
return this.ZW.getString("A2iA_CheckCodeline_OnUs1");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getTransit() {
return this.ZW.getString("A2iA_CheckCodeline_Transit");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getEpc() {
return this.ZW.getString("A2iA_CheckCodeline_EPC");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getAuxiliaryOnUs() {
return this.ZW.getString("A2iA_CheckCodeline_AuxiliaryOnUs");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getOnUs2() {
return this.ZW.getString("A2iA_CheckCodeline_OnUs2");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public Field<String> getMicrAmount() {
return this.ZW.getString("A2iA_CheckCodeline_Amount");
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public CheckIQAData getCheckIQAData() {
return new a();
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public CheckUsabilityData getCheckUsabilityData() {
return new b();
}
/* loaded from: classes3.dex */
class b extends CheckUsabilityData {
private final String DATE;
private final String aaC;
private final String aaD;
private final String abU;
private final String abV;
private final String abW;
private final String abX;
final RttiJsonCheck abY;
private b(RttiJsonCheck rttiJsonCheck) {
this.abY = rttiJsonCheck;
this.aaC = "UsabilityFailure_CAR";
this.aaD = "UsabilityFailure_LAR";
this.abU = "UsabilityFailure_Signature";
this.abV = "UsabilityFailure_PayeeName";
this.DATE = "UsabilityFailure_Date";
this.abW = "UsabilityFailure_Codeline";
this.abX = "UsabilityFailure_PayeeEndorsement";
}
@Override // com.kofax.mobile.sdk.capture.model.CheckUsabilityData
public Field<String> getCAR() {
return this.abY.ZW.getString("UsabilityFailure_CAR");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckUsabilityData
public Field<String> getLAR() {
return this.abY.ZW.getString("UsabilityFailure_LAR");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckUsabilityData
public Field<String> getSignature() {
return this.abY.ZW.getString("UsabilityFailure_Signature");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckUsabilityData
public Field<String> gePayeeName() {
return this.abY.ZW.getString("UsabilityFailure_PayeeName");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckUsabilityData
public Field<String> getDate() {
return this.abY.ZW.getString("UsabilityFailure_Date");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckUsabilityData
public Field<String> getCodeline() {
return this.abY.ZW.getString("UsabilityFailure_Codeline");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckUsabilityData
public Field<String> getPayeeEndorsement() {
return this.abY.ZW.getString("UsabilityFailure_PayeeEndorsement");
}
}
/* loaded from: classes3.dex */
class a extends CheckIQAData {
private final String aaQ;
private final String aaR;
private final String aaS;
private final String aaT;
private final String aaU;
private final String aaV;
private final String aaW;
private final String aaX;
private final String aaY;
private final String aaZ;
private final String abA;
private final String abB;
private final String abC;
private final String abD;
private final String abE;
private final String abF;
private final String abG;
private final String abH;
private final String abI;
private final String abJ;
private final String abK;
private final String abL;
private final String abM;
private final String abN;
private final String abO;
private final String abP;
private final String abQ;
private final String abR;
private final String abS;
final RttiJsonCheck abY;
private final String aba;
private final String abb;
private final String abc;
private final String abd;
private final String abe;
private final String abf;
private final String abg;
private final String abh;
private final String abi;
private final String abj;
private final String abk;
private final String abl;
private final String abm;
private final String abn;
private final String abo;
private final String abp;
private final String abq;
private final String abr;
private final String abs;
private final String abt;
private final String abu;
private final String abv;
private final String abw;
private final String abx;
private final String aby;
private final String abz;
private a(RttiJsonCheck rttiJsonCheck) {
this.abY = rttiJsonCheck;
this.aaQ = "IQA_ImageWidth";
this.aaR = "IQA_ImageHeight";
this.aaS = "IQA_TopLeftCornerWidth";
this.aaT = "IQA_TopLeftCornerHeight";
this.aaU = "IQA_BottomLeftCornerWidth";
this.aaV = "IQA_BottomLeftCornerHeight";
this.aaW = "IQA_TopRightCornerWidth";
this.aaX = "IQA_TopRightCornerHeight";
this.aaY = "IQA_BottomRightCornerWidth";
this.aaZ = "IQA_BottomRightCornerHeight";
this.aba = "IQA_TopEdgeTearWidth";
this.abb = "IQA_TopEdgeTearHeight";
this.abc = "IQA_RightEdgeTearWidth";
this.abd = "IQA_RightEdgeTearHeight";
this.abe = "IQA_BottomEdgeTearWidth";
this.abf = "IQA_BottomEdgeTearHeight";
this.abg = "IQA_LeftEdgeTearWidth";
this.abh = "IQA_LeftEdgeTearHeight";
this.abi = "IQA_AdditionalLeftScanLinesWidth";
this.abj = "IQA_AdditionalTopScanLinesHeight";
this.abk = "IQA_AdditionalRightScanLinesWidth";
this.abl = "IQA_AdditionalBottomScanLinesHeight";
this.abm = "IQA_DocumentSkewAngle";
this.abn = "IQA_PercentBlackPixels";
this.abo = "IQA_PercentAverageImageBrightness";
this.abp = "IQA_PercentAverageImageContrast";
this.abq = "IQA_BlackStreakCount";
this.abr = "IQA_BlackStreakMaxHeight";
this.abs = "IQA_GrayLevelStreakCount";
this.abt = "IQA_GrayLevelStreakMaxHeight";
this.abu = "IQA_AverageSpotNoiseGroupingsPerSquareInch";
this.abv = "IQA_FrontRearWidthDifference";
this.abw = "IQA_FrontRearHeightDifference";
this.abx = "IQA_CarbonStripHeight";
this.aby = "IQA_ImageFocusScore";
this.abz = "IQA_CompressedFrontImageSize";
this.abA = "IQA_CompressedRearImageSize";
this.abB = "IQAFailure_UndersizeImage";
this.abC = "IQAFailure_FoldedOrTornDocumentCorners";
this.abD = "IQAFailure_FoldedOrTornDocumentEdges";
this.abE = "IQAFailure_DocumentFramingError";
this.abF = "IQAFailure_DocumentSkew";
this.abG = "IQAFailure_OversizeImage";
this.abH = "IQAFailure_PiggybackDocument";
this.abI = "IQAFailure_ImageTooLight";
this.abJ = "IQAFailure_ImageTooDark";
this.abK = "IQAFailure_HorizontalStreaks";
this.abL = "IQAFailure_BelowMinFrontImageSize";
this.abM = "IQAFailure_AboveMaxFrontImageSize";
this.abN = "IQAFailure_BelowMinRearImageSize";
this.abO = "IQAFailure_AboveMaxRearImageSize";
this.abP = "IQAFailure_SpotNoise";
this.abQ = "IQAFailure_ImageDimensionMismatch";
this.abR = "IQAFailure_CarbonStrip";
this.abS = "IQAFailure_OutOfFocus";
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getImageWidth() {
return this.abY.ZW.getString("IQA_ImageWidth");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getImageHeight() {
return this.abY.ZW.getString("IQA_ImageHeight");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getTopLeftCornerWidth() {
return this.abY.ZW.getString("IQA_TopLeftCornerWidth");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getTopLeftCornerHeight() {
return this.abY.ZW.getString("IQA_TopLeftCornerHeight");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getBottomLeftCornerWidth() {
return this.abY.ZW.getString("IQA_BottomLeftCornerWidth");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getBottomLeftCornerHeight() {
return this.abY.ZW.getString("IQA_BottomLeftCornerHeight");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getTopRightCornerWidth() {
return this.abY.ZW.getString("IQA_TopRightCornerWidth");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getTopRightCornerHeight() {
return this.abY.ZW.getString("IQA_TopRightCornerHeight");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getBottomRightCornerWidth() {
return this.abY.ZW.getString("IQA_BottomRightCornerWidth");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getBottomRightCornerHeight() {
return this.abY.ZW.getString("IQA_BottomRightCornerHeight");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getTopEdgeTearWidth() {
return this.abY.ZW.getString("IQA_TopEdgeTearWidth");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getTopEdgeTearHeight() {
return this.abY.ZW.getString("IQA_TopEdgeTearHeight");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getRightEdgeTearWidth() {
return this.abY.ZW.getString("IQA_RightEdgeTearWidth");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getRightEdgeTearHeight() {
return this.abY.ZW.getString("IQA_RightEdgeTearHeight");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getBottomEdgeTearWidth() {
return this.abY.ZW.getString("IQA_BottomEdgeTearWidth");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getBottomEdgeTearHeight() {
return this.abY.ZW.getString("IQA_BottomEdgeTearHeight");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getLeftEdgeTearWidth() {
return this.abY.ZW.getString("IQA_LeftEdgeTearWidth");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getLeftEdgeTearHeight() {
return this.abY.ZW.getString("IQA_LeftEdgeTearHeight");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getAdditionalLeftScanLinesWidth() {
return this.abY.ZW.getString("IQA_AdditionalLeftScanLinesWidth");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getAdditionalTopScanLinesHeight() {
return this.abY.ZW.getString("IQA_AdditionalTopScanLinesHeight");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getAdditionalRightScanLinesWidth() {
return this.abY.ZW.getString("IQA_AdditionalRightScanLinesWidth");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getAdditionalBottomScanLinesHeight() {
return this.abY.ZW.getString("IQA_AdditionalBottomScanLinesHeight");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getDocumentSkewAngle() {
return this.abY.ZW.getString("IQA_DocumentSkewAngle");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getPercentBlackPixels() {
return this.abY.ZW.getString("IQA_PercentBlackPixels");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getPercentAverageImageBrightness() {
return this.abY.ZW.getString("IQA_PercentAverageImageBrightness");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getPercentAverageImageContrast() {
return this.abY.ZW.getString("IQA_PercentAverageImageContrast");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getBlackStreakCount() {
return this.abY.ZW.getString("IQA_BlackStreakCount");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getBlackStreakMaxHeight() {
return this.abY.ZW.getString("IQA_BlackStreakMaxHeight");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getGrayLevelStreakCount() {
return this.abY.ZW.getString("IQA_GrayLevelStreakCount");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getGrayLevelStreakMaxHeight() {
return this.abY.ZW.getString("IQA_GrayLevelStreakMaxHeight");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getAverageSpotNoiseGroupingsPerSquareInch() {
return this.abY.ZW.getString("IQA_AverageSpotNoiseGroupingsPerSquareInch");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getFrontRearWidthDifference() {
return this.abY.ZW.getString("IQA_FrontRearWidthDifference");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getFrontRearHeightDifference() {
return this.abY.ZW.getString("IQA_FrontRearHeightDifference");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getCarbonStripHeight() {
return this.abY.ZW.getString("IQA_CarbonStripHeight");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getImageFocusScore() {
return this.abY.ZW.getString("IQA_ImageFocusScore");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getCompressedFrontImageSize() {
return this.abY.ZW.getString("IQA_CompressedFrontImageSize");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getCompressedRearImageSize() {
return this.abY.ZW.getString("IQA_CompressedRearImageSize");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getUndersizeImage() {
return this.abY.ZW.getString("IQAFailure_UndersizeImage");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getFoldedOrTornDocumentCorners() {
return this.abY.ZW.getString("IQAFailure_FoldedOrTornDocumentCorners");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getFoldedOrTornDocumentEdges() {
return this.abY.ZW.getString("IQAFailure_FoldedOrTornDocumentEdges");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getDocumentFramingError() {
return this.abY.ZW.getString("IQAFailure_DocumentFramingError");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getDocumentSkew() {
return this.abY.ZW.getString("IQAFailure_DocumentSkew");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getOversizeImage() {
return this.abY.ZW.getString("IQAFailure_OversizeImage");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getPiggybackDocument() {
return this.abY.ZW.getString("IQAFailure_PiggybackDocument");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getImageTooLight() {
return this.abY.ZW.getString("IQAFailure_ImageTooLight");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getImageTooDark() {
return this.abY.ZW.getString("IQAFailure_ImageTooDark");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getHorizontalStreaks() {
return this.abY.ZW.getString("IQAFailure_HorizontalStreaks");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getBelowMinFrontImageSize() {
return this.abY.ZW.getString("IQAFailure_BelowMinFrontImageSize");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getAboveMaxFrontImageSize() {
return this.abY.ZW.getString("IQAFailure_AboveMaxFrontImageSize");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getBelowMinRearImageSize() {
return this.abY.ZW.getString("IQAFailure_BelowMinRearImageSize");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getAboveMaxRearImageSize() {
return this.abY.ZW.getString("IQAFailure_AboveMaxRearImageSize");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getSpotNoise() {
return this.abY.ZW.getString("IQAFailure_SpotNoise");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getImageDimensionMismatch() {
return this.abY.ZW.getString("IQAFailure_ImageDimensionMismatch");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getCarbonStrip() {
return this.abY.ZW.getString("IQAFailure_CarbonStrip");
}
@Override // com.kofax.mobile.sdk.capture.model.CheckIQAData
public Field<String> getOutOfFocus() {
return this.abY.ZW.getString("IQAFailure_OutOfFocus");
}
}
@Override // com.kofax.mobile.sdk._internal.i
public void setJson(String str) {
this.ZX = str;
}
@Override // com.kofax.mobile.sdk.capture.model.Check
public String getRawData() {
return this.ZX;
}
}