package com.best.javaSdk.kdUpdateOrderNotify.request; import com.best.javaSdk.kdUpdateOrderNotify.request.Params; import com.best.javaSdk.BaseRequest; import com.best.javaSdk.BaseResponse; import com.best.javaSdk.Parser; public class KdUpdateOrderNotifyReq implements BaseRequest { private String txLogisticId; private Params params; private boolean pdfStream; public String getTxLogisticId() { return this.txLogisticId; } public void setTxLogisticId(String value) { this.txLogisticId = value; } public Params getParams() { return this.params; } public void setParams(Params value) { this.params = value; } public boolean getPdfStream() { return this.pdfStream; } public void setPdfStream(boolean value) { this.pdfStream = value; } public String obtainServiceType() { return "KD_UPDATE_ORDER_NOTIFY"; } public BaseResponse makeResponse(String rsp, String format) { if ("xml".equalsIgnoreCase(format)) { return Parser.coverXml2Object(rsp, com.best.javaSdk.kdUpdateOrderNotify.response.KdUpdateOrderNotifyRsp.class); } return Parser.convertJson2Object(rsp, com.best.javaSdk.kdUpdateOrderNotify.response.KdUpdateOrderNotifyRsp.class); } }