154 lines
5.0 KiB
Java
154 lines
5.0 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.zp, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C17799zp extends AbstractC17778zg<DpR> {
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C17799zp(Resources resources, SharedPreferences sharedPreferences) {
|
|
super(resources, sharedPreferences);
|
|
C14957gcv.e(resources, "");
|
|
C14957gcv.e(sharedPreferences, "");
|
|
}
|
|
|
|
/* renamed from: o.zp$RVV */
|
|
/* loaded from: classes3.dex */
|
|
public static final class RVV {
|
|
private RVV() {
|
|
}
|
|
|
|
public /* synthetic */ RVV(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 e(InterfaceC1027Ua interfaceC1027Ua, DpR dpR) {
|
|
C14957gcv.e(interfaceC1027Ua, "");
|
|
C14957gcv.e(dpR, "");
|
|
d((C17799zp) dpR);
|
|
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_Payment_".concat(String.valueOf(dpR.n)));
|
|
b.g = Boolean.TRUE.booleanValue();
|
|
boolean z = true;
|
|
b.n = true;
|
|
String k = interfaceC1027Ua.k();
|
|
Double d = dpR.u;
|
|
Double d2 = dpR.v;
|
|
if (dpR.u != null && dpR.v != null) {
|
|
z = false;
|
|
}
|
|
b.f = a(k, d, d2, 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();
|
|
DpR h = h();
|
|
StringBuilder sb = new StringBuilder();
|
|
String string = this.e.getString(C15715hv.tOB.biller_ac, C6583cXR.u(interfaceC1027Ua.c()));
|
|
StringBuilder sb2 = new StringBuilder();
|
|
sb2.append(string);
|
|
sb2.append("\n");
|
|
sb.append(sb2.toString());
|
|
if (interfaceC1027Ua instanceof TW) {
|
|
TW tw = (TW) interfaceC1027Ua;
|
|
if (h.k) {
|
|
tw.j = h.r;
|
|
tw.f = h.s;
|
|
tw.h = h.q;
|
|
}
|
|
String str = tw.g;
|
|
String str2 = tw.j;
|
|
StringBuilder sb3 = new StringBuilder();
|
|
sb3.append(str);
|
|
sb3.append(" : ");
|
|
sb3.append(str2);
|
|
sb.append(sb3.toString());
|
|
String str3 = tw.f;
|
|
if (!(str3 == null || gdZ.d((CharSequence) str3))) {
|
|
String str4 = tw.i;
|
|
if (!(str4 == null || gdZ.d((CharSequence) str4))) {
|
|
String str5 = tw.i;
|
|
String str6 = tw.f;
|
|
StringBuilder sb4 = new StringBuilder("\n");
|
|
sb4.append(str5);
|
|
sb4.append(" : ");
|
|
sb4.append(str6);
|
|
sb.append(sb4.toString());
|
|
}
|
|
}
|
|
String str7 = tw.h;
|
|
if (!(str7 == null || gdZ.d((CharSequence) str7))) {
|
|
String str8 = tw.l;
|
|
if (!(str8 == null || gdZ.d((CharSequence) str8))) {
|
|
String str9 = tw.l;
|
|
String str10 = tw.h;
|
|
StringBuilder sb5 = new StringBuilder("\n");
|
|
sb5.append(str9);
|
|
sb5.append(" : ");
|
|
sb5.append(str10);
|
|
sb.append(sb5.toString());
|
|
}
|
|
}
|
|
}
|
|
String obj = sb.toString();
|
|
C14957gcv.c((Object) obj, "");
|
|
e.a = obj;
|
|
e.c = interfaceC1027Ua.b();
|
|
e.d = C15715hv.IeS.ic_biller_default;
|
|
e.k = true;
|
|
QK qk = new QK(e, (byte) 0);
|
|
C14957gcv.c(qk, "");
|
|
return qk;
|
|
}
|
|
|
|
static {
|
|
new RVV((byte) 0);
|
|
}
|
|
}
|