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

110 lines
3.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import o.C15715hv;
import o.EW;
import o.QK;
import o.QN;
import org.threeten.bp.OffsetDateTime;
/* renamed from: o.zz, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C17819zz extends AbstractC17778zg<DpR> {
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C17819zz(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
}
/* renamed from: o.zz$LWm */
/* loaded from: classes3.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
@Override // o.AbstractC17778zg
public final void b(OffsetDateTime offsetDateTime, String str) {
C14957gcv.e(str, "");
QN.HBt a = QN.a();
a.f = e(C15715hv.tOB.pointx_successful_payment);
a.d = C15715hv.IeS.ic_check_circle_black_48dp;
a.a = d(offsetDateTime);
a.c = c(C15715hv.tOB.reference_id, str);
this.a.add(new QN(a, YD.REVAMP_SUCCESS_HEADER, (byte) 0));
this.a.add(new QQ(true));
}
public final EW c(InterfaceC1027Ua interfaceC1027Ua, DpR dpR) {
C14957gcv.e(interfaceC1027Ua, "");
C14957gcv.e(dpR, "");
d((C17819zz) dpR);
Double valueOf = interfaceC1027Ua instanceof TX ? Double.valueOf(((TX) interfaceC1027Ua).j) : null;
Jky jky = dpR.e;
OffsetDateTime offsetDateTime = dpR.x;
String str = dpR.n;
if (str == null) {
str = "";
}
EW.LWm b = EW.b(c(interfaceC1027Ua, jky, offsetDateTime, str), "Point_X_Qr_TopUp_".concat(String.valueOf(dpR.n)));
b.g = Boolean.TRUE.booleanValue();
boolean z = true;
b.n = true;
String k = interfaceC1027Ua.k();
Double d = dpR.v;
if (valueOf != null && dpR.v != null) {
z = false;
}
b.f = a(k, valueOf, d, z);
EW c = b.c();
C14957gcv.c(c, "");
return c;
}
@Override // o.AbstractC17778zg
public final void a(InterfaceC1027Ua interfaceC1027Ua) {
C14957gcv.e(interfaceC1027Ua, "");
if (C14957gcv.b((Object) interfaceC1027Ua.k(), (Object) "PWCASA")) {
QK.LWm e = QK.e();
e.h = interfaceC1027Ua.a();
e.a = c(interfaceC1027Ua.d(), true);
e.c = C6583cXR.VR_(C15715hv.IeS.bankicon_scb).toString();
e.d = C15715hv.IeS.bankicon_scb;
e.k = true;
this.a.add(new QK(e, (byte) 0));
}
}
@Override // o.AbstractC17778zg
public final QK e(InterfaceC1027Ua interfaceC1027Ua) {
C14957gcv.e(interfaceC1027Ua, "");
QK.LWm e = QK.e();
e.g = e(C15715hv.tOB.to);
e.h = interfaceC1027Ua.e();
String c = interfaceC1027Ua.c();
String str = (String) C6583cXR.c(new Object[]{true, Boolean.valueOf(c.length() <= 10), c}, -1092823629, 1092823630, (int) System.currentTimeMillis());
C14957gcv.c((Object) str, "");
e.a = str;
String b = interfaceC1027Ua.b();
if (b == null) {
b = "";
}
e.c = b;
e.k = true;
QK qk = new QK(e, (byte) 0);
C14957gcv.c(qk, "");
return qk;
}
static {
new LWm((byte) 0);
}
}