111 lines
3.9 KiB
Java
111 lines
3.9 KiB
Java
package o;
|
|
|
|
import java.util.Arrays;
|
|
|
|
/* renamed from: o.cOe, reason: case insensitive filesystem */
|
|
/* loaded from: classes4.dex */
|
|
public final class C6291cOe extends ZI<InterfaceC6638cYp> {
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C6291cOe(C16903sI c16903sI) {
|
|
super(c16903sI);
|
|
C14957gcv.e(c16903sI, "");
|
|
}
|
|
|
|
public static String c(String str, C1203Xy c1203Xy) {
|
|
C14957gcv.e(str, "");
|
|
if (str.length() == 0) {
|
|
return "";
|
|
}
|
|
if (c1203Xy == null) {
|
|
return str;
|
|
}
|
|
String str2 = c1203Xy.a;
|
|
if (str2 != null && str2.length() != 0) {
|
|
gcH gch = gcH.d;
|
|
String format = String.format("&serviceNumber=%s&serviceNumberType=BILLERID", Arrays.copyOf(new Object[]{c1203Xy.a}, 1));
|
|
C14957gcv.c((Object) format, "");
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append((Object) str);
|
|
sb.append(format);
|
|
str = sb.toString();
|
|
} else {
|
|
String str3 = c1203Xy.g;
|
|
if (str3 != null && str3.length() != 0) {
|
|
gcH gch2 = gcH.d;
|
|
String format2 = String.format("&serviceNumber=%s&serviceNumberType=COMPCODE", Arrays.copyOf(new Object[]{c1203Xy.g}, 1));
|
|
C14957gcv.c((Object) format2, "");
|
|
StringBuilder sb2 = new StringBuilder();
|
|
sb2.append((Object) str);
|
|
sb2.append(format2);
|
|
str = sb2.toString();
|
|
}
|
|
}
|
|
String str4 = c1203Xy.j;
|
|
if (str4 != null && str4.length() != 0) {
|
|
gcH gch3 = gcH.d;
|
|
String format3 = String.format("&ref1=%s", Arrays.copyOf(new Object[]{c1203Xy.j}, 1));
|
|
C14957gcv.c((Object) format3, "");
|
|
StringBuilder sb3 = new StringBuilder();
|
|
sb3.append((Object) str);
|
|
sb3.append(format3);
|
|
str = sb3.toString();
|
|
}
|
|
String str5 = c1203Xy.l;
|
|
if (str5 != null && str5.length() != 0) {
|
|
gcH gch4 = gcH.d;
|
|
String format4 = String.format("&ref2=%s", Arrays.copyOf(new Object[]{c1203Xy.l}, 1));
|
|
C14957gcv.c((Object) format4, "");
|
|
StringBuilder sb4 = new StringBuilder();
|
|
sb4.append((Object) str);
|
|
sb4.append(format4);
|
|
str = sb4.toString();
|
|
}
|
|
String str6 = c1203Xy.m;
|
|
if (str6 != null && str6.length() != 0) {
|
|
gcH gch5 = gcH.d;
|
|
String format5 = String.format("&ref3=%s", Arrays.copyOf(new Object[]{c1203Xy.m}, 1));
|
|
C14957gcv.c((Object) format5, "");
|
|
StringBuilder sb5 = new StringBuilder();
|
|
sb5.append((Object) str);
|
|
sb5.append(format5);
|
|
str = sb5.toString();
|
|
}
|
|
if (c1203Xy.c != 0.0d) {
|
|
gcH gch6 = gcH.d;
|
|
String format6 = String.format("&amount=%s", Arrays.copyOf(new Object[]{Double.valueOf(c1203Xy.c)}, 1));
|
|
C14957gcv.c((Object) format6, "");
|
|
StringBuilder sb6 = new StringBuilder();
|
|
sb6.append((Object) str);
|
|
sb6.append(format6);
|
|
str = sb6.toString();
|
|
}
|
|
String str7 = c1203Xy.f8457o;
|
|
if (str7 == null || str7.length() == 0) {
|
|
return str;
|
|
}
|
|
gcH gch7 = gcH.d;
|
|
String format7 = String.format("&scanToken=%s", Arrays.copyOf(new Object[]{c1203Xy.f8457o}, 1));
|
|
C14957gcv.c((Object) format7, "");
|
|
StringBuilder sb7 = new StringBuilder();
|
|
sb7.append((Object) str);
|
|
sb7.append(format7);
|
|
return sb7.toString();
|
|
}
|
|
|
|
/* renamed from: o.cOe$IeS */
|
|
/* loaded from: classes4.dex */
|
|
public static final class IeS {
|
|
private IeS() {
|
|
}
|
|
|
|
public /* synthetic */ IeS(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
static {
|
|
new IeS((byte) 0);
|
|
}
|
|
}
|