66 lines
2.1 KiB
Java
66 lines
2.1 KiB
Java
package o;
|
|
|
|
import com.scb.phone.domain.entity.mwpartner.EntityMappingException;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class guG extends ZTC {
|
|
@InterfaceC13391fZD
|
|
public guG() {
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public static final class HBt {
|
|
private HBt() {
|
|
}
|
|
|
|
public /* synthetic */ HBt(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
public static kLA b(ATV atv) {
|
|
C14957gcv.e(atv, "");
|
|
return new kLA(atv.e, atv.a, atv.d, atv.b, atv.c);
|
|
}
|
|
|
|
public static void e(kLA kla) {
|
|
C14957gcv.e(kla, "");
|
|
String str = kla.d;
|
|
if (str == null || str.length() == 0) {
|
|
throw new EntityMappingException("BScanCEntryPoint.function must not be null or empty");
|
|
}
|
|
String[] strArr = {"LANDING", "ONBOARDING"};
|
|
C14957gcv.e(strArr, "");
|
|
C14957gcv.e(strArr, "");
|
|
List asList = Arrays.asList(strArr);
|
|
C14957gcv.c(asList, "");
|
|
String str2 = kla.d;
|
|
if (!asList.contains(str2 != null ? str2 : "")) {
|
|
throw new EntityMappingException("BScanCEntryPoint.function must not be null or empty");
|
|
}
|
|
if (C14957gcv.b((Object) kla.d, (Object) "LANDING")) {
|
|
String str3 = kla.c;
|
|
if (str3 == null || str3.length() == 0) {
|
|
throw new EntityMappingException("BScanCEntryPoint.expiryDateTime must not be null or empty");
|
|
}
|
|
String str4 = kla.a;
|
|
if (str4 == null || str4.length() == 0) {
|
|
throw new EntityMappingException("BScanCEntryPoint.validDuration must not be null or empty");
|
|
}
|
|
String str5 = kla.b;
|
|
if (str5 == null || str5.length() == 0) {
|
|
throw new EntityMappingException("BScanCEntryPoint.qrCode must not be null or empty");
|
|
}
|
|
if (kla.e == null) {
|
|
throw new EntityMappingException("BScanCEntryPoint.remainingLimit must not be null");
|
|
}
|
|
}
|
|
}
|
|
|
|
static {
|
|
new HBt((byte) 0);
|
|
}
|
|
}
|