package com.kofax.kmc.klo.logistics.webservice; import com.kofax.kmc.klo.logistics.service.NetworkService; import java.util.Hashtable; import o.C15281gmQ; import o.gmO; /* loaded from: classes3.dex */ public class WscRequest extends KofaxWebServiceObjectBase { public static final int PROPERTY_COUNT = 4; private String encryptedPassword; private String jobId; private String password; private String userName; private String wscClientId; private String wscClientIp; /* loaded from: classes3.dex */ public interface FIELD_INDEXES { public static final int IDX_CLIENT_ID = 2; public static final int IDX_CLIENT_IP = 5; public static final int IDX_ENC_PW = 4; public static final int IDX_JOB_ID = 3; public static final int IDX_PW = 1; public static final int IDX_USERNAME = 0; } @Override // com.kofax.kmc.klo.logistics.webservice.KofaxWebServiceObjectBase, o.InterfaceC15276gmJ public int getPropertyCount() { return 4; } @Override // com.kofax.kmc.klo.logistics.webservice.KofaxWebServiceObjectBase, o.InterfaceC15276gmJ public Object getProperty(int i) { if (i == 0) { return getUserName(); } if (i == 1) { return getPassword(); } if (i == 2) { return getWscClientId(); } if (i == 3) { return getJobId(); } if (i == 4) { return getEncryptedPassword(); } if (i != 5) { return null; } return getWscClientIp(); } @Override // com.kofax.kmc.klo.logistics.webservice.KofaxWebServiceObjectBase, o.InterfaceC15276gmJ public void getPropertyInfo(int i, Hashtable hashtable, C15281gmQ c15281gmQ) { if (i == 0) { c15281gmQ.m = "userName"; c15281gmQ.k = C15281gmQ.j; } else if (i == 1) { c15281gmQ.m = "password"; c15281gmQ.k = C15281gmQ.j; } else if (i == 2) { c15281gmQ.m = "wscClientId"; c15281gmQ.k = C15281gmQ.j; } else if (i == 3) { c15281gmQ.m = "jobId"; c15281gmQ.k = C15281gmQ.j; } else if (i == 4) { c15281gmQ.m = "encryptedPassword"; c15281gmQ.k = C15281gmQ.j; } else if (i == 5) { c15281gmQ.m = "wscClientIp"; c15281gmQ.k = C15281gmQ.j; } c15281gmQ.a(getProperty(i)); } @Override // com.kofax.kmc.klo.logistics.webservice.KofaxWebServiceObjectBase, o.InterfaceC15276gmJ public void setProperty(int i, Object obj) { String obj2 = obj != null ? obj.toString() : ""; if (i == 0) { setUserName(obj2); return; } if (i == 1) { setPassword(obj2); return; } if (i == 2) { setWscClientId(obj2); return; } if (i == 3) { setJobId(obj2); } else if (i == 4) { setEncryptedPassword(obj2); } else if (i == 5) { setWscClientIp(obj2); } } public gmO toSoapObject(String str, String str2) { gmO gmo = new gmO(str, str2); toSoapObject(gmo, str); return gmo; } public void toSoapObject(gmO gmo, String str) { gmo.b.addElement(createPropertyInfo(str, "encryptedPassword", getEncryptedPassword(), C15281gmQ.j)); gmo.b.addElement(createPropertyInfo(str, "jobId", getJobId(), C15281gmQ.j)); gmo.b.addElement(createPropertyInfo(str, "password", getPassword(), C15281gmQ.j)); gmo.b.addElement(createPropertyInfo(str, "userName", getUserName(), C15281gmQ.j)); gmo.b.addElement(createPropertyInfo(str, "wscClientId", getWscClientId(), C15281gmQ.j)); gmo.b.addElement(createPropertyInfo(str, "wscClientIp", getWscClientIp(), C15281gmQ.j)); } public boolean initialize() { setWscClientId(NetworkService.getSystemIdentifier()); setUserName(this.userName); setPassword(this.password); return true; } public static WscRequest initializeRequest() { WscRequest wscRequest = new WscRequest(); wscRequest.initialize(); return wscRequest; } public void setWscClientIp(String str) { this.wscClientIp = str; } public void setWscClientId(String str) { this.wscClientId = str; } public void setUserName(String str) { this.userName = str; } public void setPassword(String str) { this.password = str; } public void setJobId(String str) { this.jobId = str; } public void setEncryptedPassword(String str) { this.encryptedPassword = str; } public String getWscClientIp() { return this.wscClientIp; } public String getWscClientId() { return this.wscClientId; } public String getUserName() { return this.userName; } public String getPassword() { return this.password; } public String getJobId() { return this.jobId; } public String getEncryptedPassword() { return this.encryptedPassword; } }