142 lines
4.7 KiB
Java
142 lines
4.7 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 o.QO;
|
||
|
import org.threeten.bp.OffsetDateTime;
|
||
|
|
||
|
/* renamed from: o.zs, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class C17806zs extends AbstractC17778zg<DGg> {
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
@InterfaceC13391fZD
|
||
|
public C17806zs(Resources resources, SharedPreferences sharedPreferences) {
|
||
|
super(resources, sharedPreferences);
|
||
|
C14957gcv.e(resources, "");
|
||
|
C14957gcv.e(sharedPreferences, "");
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.zs$Sts */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class Sts {
|
||
|
private Sts() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ Sts(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 b(InterfaceC1027Ua interfaceC1027Ua, DGg dGg) {
|
||
|
C14957gcv.e(interfaceC1027Ua, "");
|
||
|
C14957gcv.e(dGg, "");
|
||
|
d((C17806zs) dGg);
|
||
|
EW.LWm b = EW.b(c(interfaceC1027Ua, (Jky) null, dGg.b, dGg.a), "Point_X_Qr_Purchase_".concat(String.valueOf(dGg.a)));
|
||
|
b.g = Boolean.TRUE.booleanValue();
|
||
|
boolean z = true;
|
||
|
b.n = true;
|
||
|
String k = interfaceC1027Ua.k();
|
||
|
double parseDouble = Double.parseDouble(dGg.e);
|
||
|
double parseDouble2 = Double.parseDouble(dGg.c);
|
||
|
if (dGg.e.length() != 0 && dGg.c.length() != 0) {
|
||
|
z = false;
|
||
|
}
|
||
|
b.f = a(k, Double.valueOf(parseDouble), Double.valueOf(parseDouble2), z);
|
||
|
EW c = b.c();
|
||
|
C14957gcv.c(c, "");
|
||
|
return c;
|
||
|
}
|
||
|
|
||
|
@Override // o.AbstractC17778zg
|
||
|
public final void e(InterfaceC1027Ua interfaceC1027Ua, Jky jky) {
|
||
|
C14957gcv.e(interfaceC1027Ua, "");
|
||
|
AbstractC17778zg.e(this, interfaceC1027Ua);
|
||
|
}
|
||
|
|
||
|
@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();
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
sb.append(interfaceC1027Ua.c());
|
||
|
if (interfaceC1027Ua instanceof TY) {
|
||
|
TY ty = (TY) interfaceC1027Ua;
|
||
|
String str = ty.e;
|
||
|
if (!(str == null || gdZ.d((CharSequence) str))) {
|
||
|
String str2 = ty.i;
|
||
|
if (!(str2 == null || gdZ.d((CharSequence) str2))) {
|
||
|
String str3 = ty.i;
|
||
|
String str4 = ty.e;
|
||
|
StringBuilder sb2 = new StringBuilder("\n");
|
||
|
sb2.append(str3);
|
||
|
sb2.append(" : ");
|
||
|
sb2.append(str4);
|
||
|
sb.append(sb2.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;
|
||
|
}
|
||
|
|
||
|
@Override // o.AbstractC17778zg
|
||
|
public final void b(InterfaceC1027Ua interfaceC1027Ua) {
|
||
|
C14957gcv.e(interfaceC1027Ua, "");
|
||
|
boolean z = Double.parseDouble(interfaceC1027Ua.l()) <= 0.0d;
|
||
|
QO.IeS a = QO.a();
|
||
|
String e = e(C15715hv.tOB.review_fees);
|
||
|
C14957gcv.c((Object) e, "");
|
||
|
a.g = C2974aoj.b(e);
|
||
|
a.h = c(Double.valueOf(Double.parseDouble(interfaceC1027Ua.l())));
|
||
|
if (z) {
|
||
|
a.m = true;
|
||
|
}
|
||
|
String h = interfaceC1027Ua.h();
|
||
|
if (!(h == null || gdZ.d((CharSequence) h))) {
|
||
|
QO.IeS a2 = QO.a();
|
||
|
String e2 = e(C15715hv.tOB.point_x_pay_with_account_card);
|
||
|
C14957gcv.c((Object) e2, "");
|
||
|
a2.g = C2974aoj.b(e2);
|
||
|
String h2 = interfaceC1027Ua.h();
|
||
|
a2.h = c(h2 != null ? Double.valueOf(Double.parseDouble(h2)) : null);
|
||
|
a2.l = true;
|
||
|
this.a.add(a2.d());
|
||
|
a.k = true;
|
||
|
this.a.add(a.d());
|
||
|
this.a.add(new QQ(true));
|
||
|
return;
|
||
|
}
|
||
|
this.a.add(a.d());
|
||
|
this.a.add(new QQ(true, (byte) 0));
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
new Sts((byte) 0);
|
||
|
}
|
||
|
}
|