54 lines
1.6 KiB
Java
54 lines
1.6 KiB
Java
|
package com.kofax.kmc.klo.logistics.webservice;
|
||
|
|
||
|
import com.kofax.kmc.klo.logistics.service.KofaxWebServiceConnectorService;
|
||
|
import o.gmO;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class StartJobResponse implements KofaxWebServiceResponseBase {
|
||
|
private String errorMessage;
|
||
|
private String jobId;
|
||
|
private int resultCode;
|
||
|
private boolean retryOk;
|
||
|
|
||
|
public static StartJobResponse populateFromResponse(gmO gmo) {
|
||
|
StartJobResponse startJobResponse = new StartJobResponse();
|
||
|
startJobResponse.setErrorMessage(KofaxWebServiceConnectorService.getVerySafeSoapProperty(gmo, "errorMessage", null));
|
||
|
startJobResponse.setJobId(KofaxWebServiceConnectorService.getVerySafeSoapProperty(gmo, "jobId", null));
|
||
|
startJobResponse.setResultCode(Integer.parseInt(KofaxWebServiceConnectorService.getVerySafeSoapProperty(gmo, "resultCode", "-1")));
|
||
|
startJobResponse.setRetryOk("true".equals(KofaxWebServiceConnectorService.getVerySafeSoapProperty(gmo, "retryOk", "false")));
|
||
|
return startJobResponse;
|
||
|
}
|
||
|
|
||
|
public void setRetryOk(boolean z) {
|
||
|
this.retryOk = z;
|
||
|
}
|
||
|
|
||
|
public void setResultCode(int i) {
|
||
|
this.resultCode = i;
|
||
|
}
|
||
|
|
||
|
public void setJobId(String str) {
|
||
|
this.jobId = str;
|
||
|
}
|
||
|
|
||
|
public void setErrorMessage(String str) {
|
||
|
this.errorMessage = str;
|
||
|
}
|
||
|
|
||
|
public boolean isRetryOk() {
|
||
|
return this.retryOk;
|
||
|
}
|
||
|
|
||
|
public int getResultCode() {
|
||
|
return this.resultCode;
|
||
|
}
|
||
|
|
||
|
public String getJobId() {
|
||
|
return this.jobId;
|
||
|
}
|
||
|
|
||
|
public String getErrorMessage() {
|
||
|
return this.errorMessage;
|
||
|
}
|
||
|
}
|