44 lines
1.3 KiB
Java
44 lines
1.3 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 SendImageResponse implements KofaxWebServiceResponseBase {
|
||
|
private String errorMessage;
|
||
|
private int resultCode;
|
||
|
private boolean retryOk;
|
||
|
|
||
|
public static SendImageResponse populateFromResponse(gmO gmo) {
|
||
|
SendImageResponse sendImageResponse = new SendImageResponse();
|
||
|
sendImageResponse.setErrorMessage(KofaxWebServiceConnectorService.getVerySafeSoapProperty(gmo, "errorMessage", null));
|
||
|
sendImageResponse.setResultCode(Integer.parseInt(KofaxWebServiceConnectorService.getVerySafeSoapProperty(gmo, "resultCode", "-1")));
|
||
|
sendImageResponse.setRetryOk("true".equals(KofaxWebServiceConnectorService.getVerySafeSoapProperty(gmo, "retryOk", "false")));
|
||
|
return sendImageResponse;
|
||
|
}
|
||
|
|
||
|
public void setRetryOk(boolean z) {
|
||
|
this.retryOk = z;
|
||
|
}
|
||
|
|
||
|
public void setResultCode(int i) {
|
||
|
this.resultCode = i;
|
||
|
}
|
||
|
|
||
|
public void setErrorMessage(String str) {
|
||
|
this.errorMessage = str;
|
||
|
}
|
||
|
|
||
|
public boolean isRetryOk() {
|
||
|
return this.retryOk;
|
||
|
}
|
||
|
|
||
|
public int getResultCode() {
|
||
|
return this.resultCode;
|
||
|
}
|
||
|
|
||
|
public String getErrorMessage() {
|
||
|
return this.errorMessage;
|
||
|
}
|
||
|
}
|