package com.kofax.kmc.klo.logistics.webservice; import java.util.Hashtable; import o.C15281gmQ; /* loaded from: classes3.dex */ public class WscRetrieveScanSettingsRequest extends WscRequest { public static final int PROPERTY_COUNT = 2; private String shortcutName; private String shortcutTypeOrdinal; /* loaded from: classes3.dex */ public interface FIELD_INDEXES { public static final int IDX_SHORTCUT_NAME = 0; public static final int IDX_SHORTCUT_TYPE_ORDINAL = 1; } private void initBaseFields(WscRetrieveScanSettingsRequest wscRetrieveScanSettingsRequest) { super.initialize(); } public static WscRetrieveScanSettingsRequest initializeRequest(WscDestination wscDestination, String str, String str2) { WscRetrieveScanSettingsRequest wscRetrieveScanSettingsRequest = new WscRetrieveScanSettingsRequest(); wscRetrieveScanSettingsRequest.setShortcutName(wscDestination.getShortcutName()); wscRetrieveScanSettingsRequest.setShortcutTypeOrdinal(String.valueOf(wscDestination.getShortcutTypeOrdinal())); wscRetrieveScanSettingsRequest.setUserName(str); wscRetrieveScanSettingsRequest.setPassword(str2); wscRetrieveScanSettingsRequest.initBaseFields(wscRetrieveScanSettingsRequest); return wscRetrieveScanSettingsRequest; } @Override // com.kofax.kmc.klo.logistics.webservice.WscRequest, com.kofax.kmc.klo.logistics.webservice.KofaxWebServiceObjectBase, o.InterfaceC15276gmJ public int getPropertyCount() { return super.getPropertyCount() + 2; } @Override // com.kofax.kmc.klo.logistics.webservice.WscRequest, com.kofax.kmc.klo.logistics.webservice.KofaxWebServiceObjectBase, o.InterfaceC15276gmJ public Object getProperty(int i) { if (i >= 2) { return super.getProperty(i - 2); } if (i == 0) { return getShortcutName(); } if (i != 1) { return null; } return getShortcutTypeOrdinal(); } @Override // com.kofax.kmc.klo.logistics.webservice.WscRequest, com.kofax.kmc.klo.logistics.webservice.KofaxWebServiceObjectBase, o.InterfaceC15276gmJ public void getPropertyInfo(int i, Hashtable hashtable, C15281gmQ c15281gmQ) { if (i >= 2) { super.getPropertyInfo(i - 2, hashtable, c15281gmQ); } else if (i == 0) { c15281gmQ.m = "shortcutName"; c15281gmQ.k = C15281gmQ.j; } else if (i == 1) { c15281gmQ.m = "shortcutTypeOrdinal"; c15281gmQ.k = C15281gmQ.j; } c15281gmQ.a(getProperty(i)); } @Override // com.kofax.kmc.klo.logistics.webservice.WscRequest, com.kofax.kmc.klo.logistics.webservice.KofaxWebServiceObjectBase, o.InterfaceC15276gmJ public void setProperty(int i, Object obj) { if (i < 2) { String obj2 = obj != null ? obj.toString() : ""; if (i == 0) { setShortcutName(obj2); return; } else { if (i == 1) { setShortcutTypeOrdinal(obj2); return; } return; } } super.setProperty(i - 2, obj); } public void setShortcutTypeOrdinal(String str) { this.shortcutTypeOrdinal = str; } public void setShortcutName(String str) { this.shortcutName = str; } public String getShortcutTypeOrdinal() { return this.shortcutTypeOrdinal; } public String getShortcutName() { return this.shortcutName; } }