122 lines
4.2 KiB
Java
122 lines
4.2 KiB
Java
package o;
|
|
|
|
import android.content.SharedPreferences;
|
|
import android.content.res.Resources;
|
|
import java.text.NumberFormat;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import o.C15715hv;
|
|
import o.QO;
|
|
import o.TPf;
|
|
|
|
/* renamed from: o.oH, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C16421oH extends C16412oC {
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C16421oH(Resources resources, SharedPreferences sharedPreferences) {
|
|
super(resources, sharedPreferences);
|
|
C14957gcv.e(resources, "");
|
|
C14957gcv.e(sharedPreferences, "");
|
|
}
|
|
|
|
/* renamed from: o.oH$RVV */
|
|
/* loaded from: classes3.dex */
|
|
public static final class RVV {
|
|
private RVV() {
|
|
}
|
|
|
|
public /* synthetic */ RVV(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
public final C0509Ig e(Dhj dhj, TPf tPf, C5762bzF c5762bzF) {
|
|
C14957gcv.e(dhj, "");
|
|
C14957gcv.e(tPf, "");
|
|
C14957gcv.e(c5762bzF, "");
|
|
NumberFormat numberFormat = (NumberFormat) C6583cXR.c(new Object[]{2}, -1969602709, 1969602717, 2);
|
|
String b = C6583cXR.b(tPf.b.h, false);
|
|
String str = dhj.c;
|
|
String d = dhj.a == null ? "" : d(dhj.a);
|
|
C14957gcv.c((Object) d, "");
|
|
String str2 = tPf.b.f;
|
|
C14957gcv.c((Object) b, "");
|
|
EY ey = new EY(str2, b, tPf.b.d, e(tPf.b.k, c5762bzF.m), tPf.b.i);
|
|
String format = numberFormat.format(tPf.b.a);
|
|
C14957gcv.c((Object) format, "");
|
|
String format2 = numberFormat.format(tPf.b.b);
|
|
C14957gcv.c((Object) format2, "");
|
|
double d2 = tPf.b.g;
|
|
if (d2 > 0.0d) {
|
|
d2 = -d2;
|
|
}
|
|
String format3 = numberFormat.format(d2);
|
|
C14957gcv.c((Object) format3, "");
|
|
double d3 = tPf.b.c;
|
|
if (d3 > 0.0d) {
|
|
d3 = -d3;
|
|
}
|
|
String format4 = numberFormat.format(d3);
|
|
C14957gcv.c((Object) format4, "");
|
|
double d4 = tPf.b.e;
|
|
if (d4 > 0.0d) {
|
|
d4 = -d4;
|
|
}
|
|
String format5 = numberFormat.format(d4);
|
|
C14957gcv.c((Object) format5, "");
|
|
String format6 = numberFormat.format(tPf.b.j);
|
|
C14957gcv.c((Object) format6, "");
|
|
C0501Ia c0501Ia = new C0501Ia(format, format2, format3, format4, format5, format6);
|
|
String str3 = tPf.a.b;
|
|
C14957gcv.e(str3);
|
|
IX ix = new IX(str3, C6583cXR.b(tPf.a.c, true), C6583cXR.VR_(C15715hv.IeS.bankicon_scb).toString());
|
|
List<TPf.IeS> list = tPf.d;
|
|
NumberFormat c = C6583cXR.c();
|
|
ArrayList arrayList = new ArrayList();
|
|
if (list != null) {
|
|
for (TPf.IeS ieS : list) {
|
|
this.a = new ArrayList();
|
|
QO.IeS d5 = QO.d();
|
|
d5.g = e(C15715hv.tOB.close_account_details_amount_success);
|
|
d5.h = c.format(ieS.b);
|
|
d5.n = true;
|
|
this.a.add(d5.d());
|
|
this.a.add(new QQ());
|
|
QO.IeS d6 = QO.d();
|
|
d6.g = e(C15715hv.tOB.close_account_details_interest);
|
|
d6.h = c.format(ieS.a);
|
|
d6.n = true;
|
|
this.a.add(d6.d());
|
|
this.a.add(new QQ());
|
|
QO.IeS d7 = QO.d();
|
|
d7.g = e(C15715hv.tOB.close_account_details_withholding);
|
|
double d8 = ieS.h;
|
|
if (d8 > 0.0d) {
|
|
d8 = -d8;
|
|
}
|
|
d7.h = c.format(d8);
|
|
d7.n = true;
|
|
this.a.add(d7.d());
|
|
this.a.add(new QQ());
|
|
QO.IeS d9 = QO.d();
|
|
d9.g = e(C15715hv.tOB.close_account_details_total_amount);
|
|
d9.h = c.format(ieS.g);
|
|
d9.n = true;
|
|
QO d10 = d9.d();
|
|
List<EM> list2 = this.a;
|
|
C14957gcv.c(list2, "");
|
|
List d11 = C14881gav.d((Iterable) list2);
|
|
String str4 = ieS.f;
|
|
C14957gcv.c(d10, "");
|
|
arrayList.add(new C0512Ii(str4, d11, d10));
|
|
}
|
|
}
|
|
return new C0509Ig(str, d, ey, c0501Ia, ix, arrayList, "CloseConfirmationFile");
|
|
}
|
|
|
|
static {
|
|
new RVV((byte) 0);
|
|
}
|
|
}
|