what-the-bank/sources/com/kofax/mobile/sdk/x/u.java

45 lines
1.3 KiB
Java

package com.kofax.mobile.sdk.x;
import com.kofax.mobile.sdk.extract.id.DataField;
import com.kofax.mobile.sdk.w.r;
import java.util.List;
import o.InterfaceC13391fZD;
/* loaded from: classes3.dex */
public class u implements r.a {
private static final String COUNTRY = "Country";
private static final String Ra = "CountryShort";
private final com.kofax.mobile.sdk._internal.extraction.id.e Ls;
@InterfaceC13391fZD
public u(com.kofax.mobile.sdk._internal.extraction.id.e eVar) {
this.Ls = eVar;
}
@Override // com.kofax.mobile.sdk.w.r.a
public boolean k(com.kofax.mobile.sdk.e.a aVar) {
return aVar.ht().equals(com.kofax.mobile.sdk.e.a.vM);
}
@Override // com.kofax.mobile.sdk.w.r.a
public DataField l(com.kofax.mobile.sdk.e.a aVar) {
return this.Ls.a("Country", aVar.hz());
}
@Override // com.kofax.mobile.sdk.w.r.a
public void a(com.kofax.mobile.sdk.e.a aVar, DataField dataField) {
DataField a = this.Ls.a("Country", aVar.hz());
List<DataField> hz = aVar.hz();
if (a == null || hz == null) {
return;
}
hz.remove(a);
hz.add(dataField);
}
@Override // com.kofax.mobile.sdk.w.r.a
public DataField m(com.kofax.mobile.sdk.e.a aVar) {
return this.Ls.a(Ra, aVar.hz());
}
}