use of com.netsuite.webservices.v2016_2.platform.core.StatusDetail in project components by Talend.
the class NetSuiteClientServiceImpl method toNsStatus.
public static NsStatus toNsStatus(Status status) {
if (status == null) {
return null;
}
NsStatus nsStatus = new NsStatus();
nsStatus.setSuccess(status.getIsSuccess());
for (StatusDetail detail : status.getStatusDetail()) {
nsStatus.getDetails().add(toNsStatusDetail(detail));
}
return nsStatus;
}
use of com.netsuite.webservices.v2016_2.platform.core.StatusDetail in project components by Talend.
the class NetSuiteClientServiceImpl method toNsStatus.
public static NsStatus toNsStatus(Status status) {
if (status == null) {
return null;
}
NsStatus nsStatus = new NsStatus();
nsStatus.setSuccess(status.getIsSuccess());
for (StatusDetail detail : status.getStatusDetail()) {
nsStatus.getDetails().add(toNsStatusDetail(detail));
}
return nsStatus;
}
Aggregations