package o; import com.scb.phone.data.entity.transfer.SingleDataEntity; import com.scb.phone.domain.entity.mwpartner.EntityMappingException; /* renamed from: o.dmS, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C9580dmS implements InterfaceC0809PSc { private final JNa d; private final String e; @InterfaceC13391fZD public C9580dmS(JNa jNa, String str) { C14957gcv.e(jNa, ""); C14957gcv.e(str, ""); this.d = jNa; this.e = str; } @Override // o.InterfaceC0809PSc public final fRY e(C6087cIa c6087cIa) { C14957gcv.e(c6087cIa, ""); JNa jNa = this.d; C14957gcv.e(c6087cIa, ""); fRY e = fRY.e(jNa.c.postNcbConsent(c6087cIa)); C14957gcv.c(e, ""); return e; } @Override // o.InterfaceC0809PSc public final AbstractC13175fSw c(String str, String str2) { C14957gcv.e(str, ""); C14957gcv.e(str2, ""); JNa jNa = this.d; String str3 = this.e; C14957gcv.e(str, ""); C14957gcv.e(str2, ""); C14957gcv.e(str3, ""); AbstractC13175fSw> declineNCBCardReview = jNa.c.getDeclineNCBCardReview(str, str2, str3); final IeS ieS = IeS.b; C13372fYk c13372fYk = new C13372fYk(declineNCBCardReview, new fSS(ieS) { // from class: o.oVz private InterfaceC14894gbR b; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.b; C14957gcv.e(interfaceC14894gbR, ""); return (WCS) interfaceC14894gbR.invoke(obj); } { this.b = ieS; } }); C14957gcv.c(c13372fYk, ""); return c13372fYk; } /* renamed from: o.dmS$IeS */ /* loaded from: classes3.dex */ static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR, WCS> { public static final IeS b = new IeS(); @Override // o.InterfaceC14894gbR public final /* synthetic */ WCS invoke(SingleDataEntity singleDataEntity) { C5783bza data = singleDataEntity.getData(); String str = data.d; if (str == null) { throw new EntityMappingException("firstName can not be null"); } String str2 = data.b; if (str2 == null) { throw new EntityMappingException("lastName can not be null"); } String str3 = data.c; if (str3 == null) { throw new EntityMappingException("productCode can not be null"); } String str4 = data.i; if (str4 == null) { throw new EntityMappingException("subProductCode can not be null"); } String str5 = data.e; if (str5 == null) { throw new EntityMappingException("creditCardImageURL can not be null"); } String str6 = data.a; if (str6 != null) { return new WCS(str, str2, str3, str4, str5, str6); } throw new EntityMappingException("productName can not be null"); } IeS() { super(1); } } /* renamed from: o.dmS$RVV */ /* loaded from: classes3.dex */ static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR, C1256ZaQ> { public static final RVV b = new RVV(); @Override // o.InterfaceC14894gbR public final /* synthetic */ C1256ZaQ invoke(SingleDataEntity singleDataEntity) { Unn data = singleDataEntity.getData(); String str = data.c; if (str != null) { return new C1256ZaQ(str, data.b); } throw new EntityMappingException("ncbImageData can not be null"); } RVV() { super(1); } } @Override // o.InterfaceC0809PSc public final AbstractC13175fSw d(String str, String str2) { C14957gcv.e(str, ""); JNa jNa = this.d; C14957gcv.e(str, ""); AbstractC13175fSw> documentNcbJpg = jNa.c.getDocumentNcbJpg(str, str2); final RVV rvv = RVV.b; C13372fYk c13372fYk = new C13372fYk(documentNcbJpg, new fSS(rvv) { // from class: o.CuA private InterfaceC14894gbR c; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.c; C14957gcv.e(interfaceC14894gbR, ""); return (C1256ZaQ) interfaceC14894gbR.invoke(obj); } { this.c = rvv; } }); C14957gcv.c(c13372fYk, ""); return c13372fYk; } }