package com.kofax.mobile.sdk.capture.bill; 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._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.kofax.mobile.sdk.capture.model.Bill; import com.kofax.mobile.sdk.capture.model.Field; import o.InterfaceC13390fZB; import o.InterfaceC13391fZD; /* loaded from: classes3.dex */ public class KtaJsonBill extends Bill implements i { @InterfaceC13390fZB(a = BillExtractor.BILL_EXTRACT_KTA) @InterfaceC13391fZD IJsonExactionHelper ZW; private String ZX; private final String NAME = KtaJsonExactionHelper.NAME; private final String ZY = "AddressLine1"; private final String ZZ = "AddressLine2"; private final String CITY = "City"; private final String STATE = "State"; private final String aaa = "Zip"; private final String aab = "AccountNumber"; private final String aac = "AmountDue"; private final String aad = "DueDate"; private final String aae = "PhoneNumber"; private final String aaf = "Source"; private final String aag = "Billers"; public KtaJsonBill(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.Bill public Field getAmount() { return this.ZW.getString("AmountDue"); } @Override // com.kofax.mobile.sdk.capture.model.Bill public Field getDueDate() { return this.ZW.getString("DueDate"); } @Override // com.kofax.mobile.sdk.capture.model.Bill public Field getName() { return this.ZW.getString(KtaJsonExactionHelper.NAME); } @Override // com.kofax.mobile.sdk.capture.model.Bill public Field getAddressLine1() { return this.ZW.getString("AddressLine1"); } @Override // com.kofax.mobile.sdk.capture.model.Bill public Field getAddressLine2() { return this.ZW.getString("AddressLine2"); } @Override // com.kofax.mobile.sdk.capture.model.Bill public Field getCity() { return this.ZW.getString("City"); } @Override // com.kofax.mobile.sdk.capture.model.Bill public Field getState() { return this.ZW.getString("State"); } @Override // com.kofax.mobile.sdk.capture.model.Bill public Field getZip() { return this.ZW.getString("Zip"); } @Override // com.kofax.mobile.sdk.capture.model.Bill public Field getAccountNumber() { return this.ZW.getString("AccountNumber"); } @Override // com.kofax.mobile.sdk.capture.model.Bill public Field getPhoneNumber() { return this.ZW.getString("PhoneNumber"); } @Override // com.kofax.mobile.sdk.capture.model.Bill public Field getSource() { return this.ZW.getString("Source"); } @Override // com.kofax.mobile.sdk.capture.model.Bill public Field getBillers() { return this.ZW.getString("Billers"); } @Override // com.kofax.mobile.sdk._internal.i public void setJson(String str) { this.ZX = str; } @Override // com.kofax.mobile.sdk.capture.model.Bill public String getRawData() { return this.ZX; } }