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

141 lines
4.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.res.Resources;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import o.C15715hv;
import o.InterfaceC9481dkZ;
/* renamed from: o.clt, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C7313clt extends ZI<InterfaceC9481dkZ.HBt> {
public boolean a;
public ArrayList<WW> b;
public final List<String> c;
public C1171Xc d;
public ArrayList<C0367Fb> e;
public final C17636yZ g;
public String h;
public boolean i;
private final Resources k;
public final Xky l;
private final List<String> m;
public static int e(boolean z, int i) {
return (i <= 1 || z) ? 0 : 1;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C7313clt(C16903sI c16903sI, C17636yZ c17636yZ, Xky xky, Resources resources) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c17636yZ, "");
C14957gcv.e(xky, "");
C14957gcv.e(resources, "");
this.g = c17636yZ;
this.l = xky;
this.k = resources;
this.b = new ArrayList<>();
this.e = new ArrayList<>();
this.h = "";
String[] strArr = {"BP", "TP", "PP", "PBP", "PTP", "PPP", "HYBRID", "REPAYMENT"};
C14957gcv.e(strArr, "");
C14957gcv.e(strArr, "");
List<String> asList = Arrays.asList(strArr);
C14957gcv.c(asList, "");
this.c = asList;
String[] strArr2 = {"PBP", "PTP", "PPP", "PCC", "CCFA", "HYBRID"};
C14957gcv.e(strArr2, "");
C14957gcv.e(strArr2, "");
List<String> asList2 = Arrays.asList(strArr2);
C14957gcv.c(asList2, "");
this.m = asList2;
}
/* renamed from: o.clt$HBt */
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
public final String a(String str) {
C14957gcv.e(str, "");
if (C14957gcv.b((Object) str, (Object) "REPAYMENT")) {
String string = this.k.getString(C15715hv.tOB.point_change_payment_method_repayment);
C14957gcv.c((Object) string, "");
return string;
}
String string2 = this.k.getString(C15715hv.tOB.point_change_payment_method);
C14957gcv.c((Object) string2, "");
return string2;
}
public static /* synthetic */ void c(C7313clt c7313clt, InterfaceC9481dkZ.HBt hBt) {
C14957gcv.e(c7313clt, "");
if (c7313clt.a) {
hBt.c();
} else {
if (c7313clt.b.isEmpty()) {
String string = c7313clt.k.getString(C15715hv.tOB.error_do_not_have_deposit_paywise);
C14957gcv.c((Object) string, "");
hBt.d(string);
return;
}
hBt.a();
}
}
public static /* synthetic */ void a(C7313clt c7313clt, InterfaceC9481dkZ.HBt hBt) {
C14957gcv.e(c7313clt, "");
if (c7313clt.i) {
hBt.c();
} else {
if (c7313clt.e.isEmpty()) {
String string = c7313clt.k.getString(C15715hv.tOB.error_do_not_have_credit_card);
C14957gcv.c((Object) string, "");
hBt.d(string);
return;
}
hBt.a();
}
}
public static /* synthetic */ void d(C7313clt c7313clt, InterfaceC9481dkZ.HBt hBt) {
C14957gcv.e(c7313clt, "");
if (c7313clt.c.contains(c7313clt.h)) {
C1171Xc c1171Xc = c7313clt.d;
if (c1171Xc == null) {
C14957gcv.a("");
c1171Xc = null;
}
hBt.b(c1171Xc);
}
if (c7313clt.m.contains(c7313clt.h)) {
hBt.e();
}
hBt.d();
}
public static /* synthetic */ void b(C7313clt c7313clt, InterfaceC9481dkZ.HBt hBt) {
C14957gcv.e(c7313clt, "");
String str = c7313clt.h;
int hashCode = str.hashCode();
if (hashCode == 2126 ? str.equals("BP") : !(hashCode == 2560 ? !str.equals("PP") : !(hashCode == 2684 ? str.equals("TP") : hashCode == 79024 ? str.equals("PCC") : hashCode == 2062619 ? str.equals("CCFA") : hashCode == 2038719571 && str.equals("REPAYMENT")))) {
hBt.b();
} else {
hBt.i();
}
}
static {
new HBt((byte) 0);
}
}