package com.kofax.mobile.sdk.capture.passport; import com.kofax.mobile.sdk._internal.extraction.IJsonExactionHelper; import com.kofax.mobile.sdk._internal.extraction.id.IIdFieldNameConvention; import com.kofax.mobile.sdk._internal.i; import com.kofax.mobile.sdk.capture.model.Field; import com.kofax.mobile.sdk.capture.model.Passport; /* loaded from: classes3.dex */ class a extends Passport implements i { private final IJsonExactionHelper ZW; private String ZX; private final IIdFieldNameConvention acl; /* JADX INFO: Access modifiers changed from: package-private */ public a(IIdFieldNameConvention iIdFieldNameConvention, IJsonExactionHelper iJsonExactionHelper, String str) { if (str == null) { throw new IllegalArgumentException("json cannot be null"); } if (iIdFieldNameConvention == null) { throw new IllegalArgumentException("convention cannot be null"); } if (iJsonExactionHelper == null) { throw new IllegalArgumentException("helper cannot be null"); } this.ZW = iJsonExactionHelper; iJsonExactionHelper.init(str); this.acl = iIdFieldNameConvention; setJson(str); } @Override // com.kofax.mobile.sdk.capture.model.Passport public Field getFirstName() { return this.ZW.getString(this.acl.getFirstNameFieldName()); } @Override // com.kofax.mobile.sdk.capture.model.Passport public Field getMiddleName() { return this.ZW.getString(this.acl.getMiddleNameFieldName()); } @Override // com.kofax.mobile.sdk.capture.model.Passport public Field getLastName() { return this.ZW.getString(this.acl.getLastNameFieldName()); } @Override // com.kofax.mobile.sdk.capture.model.Passport public Field getDateOfBirth() { return this.ZW.getString(this.acl.getDateOfBirthFieldName()); } @Override // com.kofax.mobile.sdk.capture.model.Passport public Field getGender() { return this.ZW.getString(this.acl.getGenderFieldName()); } @Override // com.kofax.mobile.sdk.capture.model.Passport public Field getIssueDate() { return this.ZW.getString(this.acl.getDateOfIssueFieldName()); } @Override // com.kofax.mobile.sdk.capture.model.Passport public Field getExpirationDate() { return this.ZW.getString(this.acl.getDateOfExpirationFieldName()); } @Override // com.kofax.mobile.sdk.capture.model.Passport public Field getPassportNumber() { return this.ZW.getString("PassportNumber"); } @Override // com.kofax.mobile.sdk.capture.model.Passport public Field getCountry() { return this.ZW.getString(this.acl.getCountryShortFieldName()); } @Override // com.kofax.mobile.sdk.capture.model.Passport public Field getCountryLong() { return this.ZW.getString(this.acl.getCountryFieldName()); } @Override // com.kofax.mobile.sdk.capture.model.Passport public Field getNationality() { return this.ZW.getString(this.acl.getNationalityFieldName()); } @Override // com.kofax.mobile.sdk.capture.model.Passport public Field getPersonalNumber() { return this.ZW.getString("PersonalNumber"); } @Override // com.kofax.mobile.sdk.capture.model.Passport public Field getMRZ1() { return this.ZW.getString("MRZ1"); } @Override // com.kofax.mobile.sdk.capture.model.Passport public Field getMRZ2() { return this.ZW.getString("MRZ2"); } @Override // com.kofax.mobile.sdk._internal.i public void setJson(String str) { this.ZX = str; } @Override // com.kofax.mobile.sdk.capture.model.Passport public String getRawData() { return this.ZX; } }