what-the-bank/sources/o/C0349Eq.java

47 lines
1.6 KiB
Java

package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import java.util.ArrayList;
import java.util.List;
import o.C15715hv;
/* renamed from: o.Eq, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0349Eq extends C16157lj {
@InterfaceC13391fZD
public C0349Eq(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
}
private static List<XL> d(Jky jky) {
ArrayList arrayList = new ArrayList();
if (jky != null && jky.e != null && !jky.e.isEmpty()) {
for (jSX jsx : jky.e) {
arrayList.add(new XL(jsx.f, jsx.i, jsx.d, jsx.c, jsx.e, jsx.b, jsx.a));
}
}
return arrayList;
}
public final C1191Xp b(DpR dpR, C1189Xo c1189Xo) {
c1189Xo.a(i(c1189Xo.S));
String e = e(c1189Xo.at == null ? C15715hv.tOB.review_success_top_up : C15715hv.tOB.topup_successful_001);
if ("PURCHASE_TOPUP_FUNCTION".equalsIgnoreCase(c1189Xo.j())) {
e = e(C15715hv.tOB.successful_purchase_payment);
}
if ("PREPAID".equalsIgnoreCase(c1189Xo.p)) {
c1189Xo.s = b(c1189Xo.t, (String) null);
}
C1191Xp c1191Xp = new C1191Xp();
c1191Xp.f = dpR.x == null ? "" : d(dpR.x);
c1191Xp.l = dpR.n;
c1191Xp.r = String.format(e(C15715hv.tOB.reference_id), dpR.n);
c1191Xp.s = e;
c1191Xp.t = c1189Xo.an;
c1191Xp.p = c1189Xo;
c1191Xp.j = new TO(d(dpR.e));
return c1191Xp;
}
}