146 lines
4.4 KiB
Java
146 lines
4.4 KiB
Java
|
package o;
|
||
|
|
||
|
import com.scb.phone.data.entity.transfer.SingleDataEntity;
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.List;
|
||
|
import java.util.Objects;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class SwZ implements OzO {
|
||
|
private String a;
|
||
|
private final TWM b;
|
||
|
final C2724ajx c;
|
||
|
private final C17551xjg d;
|
||
|
final xJa e;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public SwZ(C17551xjg c17551xjg, xJa xja, C2724ajx c2724ajx, TWM twm, String str) {
|
||
|
this.d = c17551xjg;
|
||
|
this.e = xja;
|
||
|
this.c = c2724ajx;
|
||
|
this.b = twm;
|
||
|
this.a = str;
|
||
|
}
|
||
|
|
||
|
@Override // o.OzO
|
||
|
public final AbstractC13163fSk<List<C16588pYG>> e() {
|
||
|
return this.d.b.getPersonalLimit(null, null).flatMap(new fSS(this) { // from class: o.qas
|
||
|
private SwZ d;
|
||
|
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
return AbstractC13163fSk.just(this.d.e.e((naT) obj));
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.OzO
|
||
|
public final AbstractC13163fSk<SoA> e(String str) {
|
||
|
C17551xjg c17551xjg = this.d;
|
||
|
return c17551xjg.b.getLimitTransfer(this.a, str).flatMap(new fSS(this) { // from class: o.TRX
|
||
|
private SwZ a;
|
||
|
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
List<C15966jxa> arrayList;
|
||
|
naT nat = (naT) obj;
|
||
|
xJa xja = this.a.e;
|
||
|
List<C16588pYG> e = xja.e(nat);
|
||
|
if (nat == null || nat.b == null || !"1000".equalsIgnoreCase(nat.b.b.c) || nat.b.d == null || nat.b.d.isEmpty()) {
|
||
|
arrayList = new ArrayList<>();
|
||
|
} else {
|
||
|
arrayList = xja.b(nat.b);
|
||
|
}
|
||
|
return AbstractC13163fSk.just(new SoA(e, arrayList, nat.d));
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.OzO
|
||
|
public final AbstractC13163fSk<Boolean> d(String str, String str2, C2019aV c2019aV) {
|
||
|
AbstractC13163fSk<C16562pOe> putPersonalLimitWithOtp = this.d.b.putPersonalLimitWithOtp(str, str2, c2019aV);
|
||
|
xJa xja = this.e;
|
||
|
Objects.requireNonNull(xja);
|
||
|
return putPersonalLimitWithOtp.map(new IHs(xja));
|
||
|
}
|
||
|
|
||
|
@Override // o.OzO
|
||
|
public final AbstractC13163fSk<Boolean> d(C2019aV c2019aV) {
|
||
|
AbstractC13163fSk<C16562pOe> putPersonalLimit = this.d.b.putPersonalLimit(c2019aV);
|
||
|
xJa xja = this.e;
|
||
|
Objects.requireNonNull(xja);
|
||
|
return putPersonalLimit.map(new IHs(xja));
|
||
|
}
|
||
|
|
||
|
@Override // o.OzO
|
||
|
public final AbstractC13163fSk<HNz> b(String str, String str2) {
|
||
|
return this.d.b.getPersonalLimitUsage(str, str2).flatMap(new fSS(this) { // from class: o.pkM
|
||
|
private SwZ e;
|
||
|
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
xJa xja = this.e.e;
|
||
|
return AbstractC13163fSk.just(xJa.b((C4531bbt) ((SingleDataEntity) obj).getData()));
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.OzO
|
||
|
public final AbstractC13175fSw<HNz> c(String str, String str2) {
|
||
|
return new C13366fYe(this.d.b.getSinglePersonalLimitUsage(str, str2), new fSS(this) { // from class: o.tjl
|
||
|
private SwZ c;
|
||
|
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
xJa xja = this.c.e;
|
||
|
return AbstractC13175fSw.d(xJa.b((C4531bbt) ((SingleDataEntity) obj).getData()));
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.OzO
|
||
|
public final C2019aV d() {
|
||
|
return this.b.b;
|
||
|
}
|
||
|
|
||
|
@Override // o.OzO
|
||
|
public final AbstractC13163fSk<LcV> d(C1847aQ c1847aQ) {
|
||
|
C17551xjg c17551xjg = this.d;
|
||
|
DiG.e("8101");
|
||
|
return c17551xjg.b.postBotValidation(c1847aQ).doFinally(new Cbf()).flatMap(new fSS(this) { // from class: o.bHr
|
||
|
private SwZ b;
|
||
|
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
C2724ajx c2724ajx = this.b.c;
|
||
|
return AbstractC13163fSk.just(C2724ajx.a((SingleDataEntity<XGq>) obj));
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.OzO
|
||
|
public final void c(C2019aV c2019aV) {
|
||
|
this.b.b = c2019aV;
|
||
|
}
|
||
|
}
|