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

107 lines
3.5 KiB
Java

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.zG, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C17721zG extends AbstractC17778zg<kkD> {
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C17721zG(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
}
/* renamed from: o.zG$HBt */
/* loaded from: classes3.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(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 a(InterfaceC1027Ua interfaceC1027Ua, kkD kkd) {
C14957gcv.e(interfaceC1027Ua, "");
C14957gcv.e(kkd, "");
d((C17721zG) kkd);
Jky jky = kkd.c;
OffsetDateTime offsetDateTime = kkd.q;
String str = kkd.s;
if (str == null) {
str = "";
}
EW.LWm b = EW.b(c(interfaceC1027Ua, jky, offsetDateTime, str), "Point_X_Qr_Transfer_".concat(String.valueOf(kkd.s)));
b.g = Boolean.TRUE.booleanValue();
b.n = true;
b.f = a(interfaceC1027Ua.k(), Double.valueOf(kkd.i), Double.valueOf(kkd.l), false);
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) {
String obj;
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;
if (interfaceC1027Ua.c().length() <= 10) {
obj = C6583cXR.VR_(C15715hv.IeS.icon_prompt_pay_mobile).toString();
C14957gcv.c((Object) obj, "");
} else {
obj = C6583cXR.VR_(C15715hv.IeS.icon_prompt_pay_cid).toString();
C14957gcv.c((Object) obj, "");
}
e.c = obj;
e.k = true;
QK qk = new QK(e, (byte) 0);
C14957gcv.c(qk, "");
return qk;
}
static {
new HBt((byte) 0);
}
}