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

112 lines
3.7 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.data.entity.transfer.SingleDataEntity;
import java.util.Objects;
import org.threeten.bp.OffsetDateTime;
/* loaded from: classes3.dex */
public final class FYH implements InterfaceC14210fos {
private final C14829gRE a;
private final String c;
private final kXu d;
private final Nuq e;
@InterfaceC13391fZD
public FYH(String str, kXu kxu, Nuq nuq, C14829gRE c14829gRE) {
this.c = str;
this.d = kxu;
this.e = nuq;
this.a = c14829gRE;
}
@Override // o.InterfaceC14210fos
public final AbstractC13163fSk<C16155liV> a(C5983cF c5983cF) {
AbstractC13163fSk<sxM> otpCode = this.d.a.getOtpCode(c5983cF);
Nuq nuq = this.e;
Objects.requireNonNull(nuq);
return otpCode.map(new oUf(nuq));
}
@Override // o.InterfaceC14210fos
public final AbstractC13163fSk<C16155liV> c(C5983cF c5983cF) {
AbstractC13163fSk<sxM> ekycOtpCode = this.d.a.getEkycOtpCode(c5983cF);
Nuq nuq = this.e;
Objects.requireNonNull(nuq);
return ekycOtpCode.map(new oUf(nuq));
}
@Override // o.InterfaceC14210fos
public final AbstractC13163fSk<C16994swm> b(C5879cC c5879cC) {
AbstractC13163fSk<R> map = this.d.a.getLoanoriginationOtpCode(c5879cC).map(new fSS() { // from class: o.fHh
@Override // o.fSS
public final Object a(Object obj) {
return (nyQ) ((SingleDataEntity) obj).getData();
}
});
final Nuq nuq = this.e;
Objects.requireNonNull(nuq);
return map.map(new fSS(nuq) { // from class: o.cdi
private Nuq a;
@Override // o.fSS
public final Object a(Object obj) {
nyQ nyq = (nyQ) obj;
return new C16994swm(nyq.a, nyq.b, nyq.c);
}
{
this.a = nuq;
}
});
}
@Override // o.InterfaceC14210fos
public final AbstractC13163fSk<GDQ> c() {
AbstractC13163fSk<SingleDataEntity<Ayp>> requestEmailOtp = this.d.a.requestEmailOtp();
final C14829gRE c14829gRE = this.a;
Objects.requireNonNull(c14829gRE);
return requestEmailOtp.map(new fSS(c14829gRE) { // from class: o.cqu
private C14829gRE c;
@Override // o.fSS
public final Object a(Object obj) {
Ayp ayp = (Ayp) ((SingleDataEntity) obj).getData();
GDQ gdq = new GDQ();
gdq.a = ayp.e;
gdq.c = ayp.c;
gdq.b = ayp.b != null ? (OffsetDateTime) ZTC.e(new Object[]{ayp.b, null}, 267499366, -267499366, (int) System.currentTimeMillis()) : null;
return gdq;
}
{
this.c = c14829gRE;
}
});
}
@Override // o.InterfaceC14210fos
public final AbstractC13163fSk<C16155liV> e(String str, C5810cA c5810cA) {
c5810cA.b = this.c;
AbstractC13163fSk<SingleDataEntity<nOs>> easycashOtpCode = this.d.a.getEasycashOtpCode(str, c5810cA);
final Nuq nuq = this.e;
Objects.requireNonNull(nuq);
return easycashOtpCode.map(new fSS(nuq) { // from class: o.NBk
private Nuq c;
@Override // o.fSS
public final Object a(Object obj) {
SingleDataEntity singleDataEntity = (SingleDataEntity) obj;
C16155liV c16155liV = new C16155liV();
c16155liV.b = ((nOs) singleDataEntity.getData()).a;
c16155liV.d = singleDataEntity.getStatus().e;
c16155liV.a = ((nOs) singleDataEntity.getData()).c;
return c16155liV;
}
{
this.c = nuq;
}
});
}
}