package o; import com.scb.phone.domain.entity.mwpartner.EntityMappingException; import java.util.ArrayList; import java.util.Collection; import java.util.List; /* loaded from: classes3.dex */ public final class BXY extends ZTC { @InterfaceC13391fZD public BXY() { } /* loaded from: classes3.dex */ public static final class RVV { private RVV() { } public /* synthetic */ RVV(byte b) { this(); } } public static List a(Twr twr) { C14957gcv.e(twr, ""); List list = twr.b; C14957gcv.e(list, ""); ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10); for (C15866jJa c15866jJa : list) { if (c15866jJa.c == null) { throw new EntityMappingException("EasycashConsentDocumentEntity: data.consentDocuments.content is null", null); } if (c15866jJa.e == null) { throw new EntityMappingException("EasycashConsentDocumentEntity: data.consentDocuments.consentType is null", null); } arrayList.add(new ZYw(c15866jJa.d, c15866jJa.c, c15866jJa.e, c15866jJa.b, c15866jJa.a)); } return arrayList; } static { new RVV((byte) 0); } }