115 lines
4.5 KiB
Java
115 lines
4.5 KiB
Java
package o;
|
|
|
|
import com.scb.phone.data.entity.transfer.SingleDataEntity;
|
|
import com.scb.phone.data.network.service.prepaid.PrepaidTravelService;
|
|
import java.util.ArrayList;
|
|
import java.util.Collection;
|
|
import java.util.List;
|
|
|
|
/* renamed from: o.hEO, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C15617hEO implements gWM {
|
|
private final PrepaidTravelService a;
|
|
final qLi d;
|
|
|
|
@InterfaceC13391fZD
|
|
public C15617hEO(PrepaidTravelService prepaidTravelService, qLi qli) {
|
|
C14957gcv.e(prepaidTravelService, "");
|
|
C14957gcv.e(qli, "");
|
|
this.a = prepaidTravelService;
|
|
this.d = qli;
|
|
}
|
|
|
|
/* renamed from: o.hEO$HBt */
|
|
/* loaded from: classes3.dex */
|
|
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<BzA>, NFa> {
|
|
private C15617hEO d;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ NFa invoke(SingleDataEntity<BzA> singleDataEntity) {
|
|
C14851gaI c14851gaI;
|
|
C14851gaI c14851gaI2;
|
|
Double d;
|
|
Double d2;
|
|
Integer num;
|
|
qLi qli = this.d.d;
|
|
BzA data = singleDataEntity.getData();
|
|
C14957gcv.c(data, "");
|
|
BzA bzA = data;
|
|
C14957gcv.e(bzA, "");
|
|
String str = bzA.d;
|
|
if (str == null) {
|
|
str = "";
|
|
}
|
|
C10816ePn c10816ePn = bzA.e;
|
|
if (c10816ePn == null || (c14851gaI = c10816ePn.e) == null) {
|
|
c14851gaI = C14851gaI.c;
|
|
}
|
|
IQF iqf = new IQF(c14851gaI, (c10816ePn == null || (num = c10816ePn.c) == null) ? 0 : num.intValue(), Double.valueOf((c10816ePn == null || (d2 = c10816ePn.b) == null) ? 0.0d : d2.doubleValue()), (c10816ePn == null || (d = c10816ePn.d) == null) ? 0.0d : d.doubleValue());
|
|
List<SLx> list = bzA.b;
|
|
List<SLx> list2 = list;
|
|
if (list2 != null && !list2.isEmpty()) {
|
|
List<SLx> list3 = list;
|
|
C14957gcv.e(list3, "");
|
|
ArrayList arrayList = new ArrayList(list3 instanceof Collection ? list3.size() : 10);
|
|
for (SLx sLx : list3) {
|
|
String str2 = sLx.e;
|
|
String str3 = str2 == null ? "" : str2;
|
|
String str4 = sLx.b;
|
|
String str5 = str4 == null ? "" : str4;
|
|
String str6 = sLx.j;
|
|
String str7 = str6 == null ? "" : str6;
|
|
Double d3 = sLx.a;
|
|
double doubleValue = d3 != null ? d3.doubleValue() : 0.0d;
|
|
C14851gaI c14851gaI3 = sLx.d;
|
|
if (c14851gaI3 == null) {
|
|
c14851gaI3 = C14851gaI.c;
|
|
}
|
|
List<String> list4 = c14851gaI3;
|
|
Double d4 = sLx.i;
|
|
double doubleValue2 = d4 != null ? d4.doubleValue() : 0.0d;
|
|
Integer num2 = sLx.g;
|
|
int intValue = num2 != null ? num2.intValue() : 0;
|
|
Integer num3 = sLx.f;
|
|
int intValue2 = num3 != null ? num3.intValue() : 0;
|
|
Integer num4 = sLx.c;
|
|
arrayList.add(new wZk(str3, str5, str7, doubleValue, doubleValue2, intValue, list4, intValue2, num4 != null ? num4.intValue() : 0));
|
|
}
|
|
c14851gaI2 = arrayList;
|
|
} else {
|
|
c14851gaI2 = C14851gaI.c;
|
|
}
|
|
return new NFa(str, iqf, c14851gaI2);
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
HBt(C15617hEO c15617hEO) {
|
|
super(1);
|
|
this.d = c15617hEO;
|
|
}
|
|
}
|
|
|
|
@Override // o.gWM
|
|
public final AbstractC13175fSw<NFa> d(C10030dv c10030dv) {
|
|
C14957gcv.e(c10030dv, "");
|
|
AbstractC13175fSw<SingleDataEntity<BzA>> travelWalletSummary = this.a.getTravelWalletSummary(c10030dv);
|
|
final HBt hBt = new HBt(this);
|
|
C13372fYk c13372fYk = new C13372fYk(travelWalletSummary, new fSS(hBt) { // from class: o.AQb
|
|
private InterfaceC14894gbR c;
|
|
|
|
@Override // o.fSS
|
|
public final Object a(Object obj) {
|
|
InterfaceC14894gbR interfaceC14894gbR = this.c;
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
return (NFa) interfaceC14894gbR.invoke(obj);
|
|
}
|
|
|
|
{
|
|
this.c = hBt;
|
|
}
|
|
});
|
|
C14957gcv.c(c13372fYk, "");
|
|
return c13372fYk;
|
|
}
|
|
}
|