package com.kofax.kmc.klo.logistics.webservice; import com.kofax.kmc.klo.logistics.service.KofaxWebServiceConnectorService; import com.kofax.mobile.sdk._internal.k; import java.util.ArrayList; import java.util.List; import o.C15281gmQ; import o.gmO; /* loaded from: classes3.dex */ public class RetrieveScanSettingsResponse implements KofaxWebServiceResponseBase { private String errorMessage; private int resultCode; private List scanSettings = new ArrayList(); public static KofaxWebServiceResponseBase populateFromResponse(gmO gmo) { WscScanSetting populateFromResponse; RetrieveScanSettingsResponse retrieveScanSettingsResponse = new RetrieveScanSettingsResponse(); String name = retrieveScanSettingsResponse.getClass().getName(); StringBuilder sb = new StringBuilder("***************Called populateFromResponse with "); sb.append(gmo.toString()); k.b(name, sb.toString()); retrieveScanSettingsResponse.setErrorMessage(KofaxWebServiceConnectorService.getVerySafeSoapProperty(gmo, "errorMessage", null)); retrieveScanSettingsResponse.setResultCode(Integer.parseInt(KofaxWebServiceConnectorService.getVerySafeSoapProperty(gmo, "resultCode", "-1"))); for (int i = 0; i < gmo.getPropertyCount(); i++) { C15281gmQ c15281gmQ = new C15281gmQ(); gmo.a(i, c15281gmQ); if (c15281gmQ.c() != null && c15281gmQ.m.equals("settings") && (populateFromResponse = WscScanSetting.populateFromResponse((gmO) c15281gmQ.c())) != null) { retrieveScanSettingsResponse.scanSettings.add(populateFromResponse); } } return retrieveScanSettingsResponse; } public void setScanSettings(List list) { this.scanSettings = list; } public void setResultCode(int i) { this.resultCode = i; } public void setErrorMessage(String str) { this.errorMessage = str; } public List getScanSettings() { return this.scanSettings; } public int getResultCode() { return this.resultCode; } public String getErrorMessage() { return this.errorMessage; } }