| Line 1109... |
Line 1109... |
| 1109 |
|
1109 |
|
| 1110 |
public boolean acceptPackageOrders(List<Long> orders) throws TransactionServiceException, org.apache.thrift.TException;
|
1110 |
public boolean acceptPackageOrders(List<Long> orders) throws TransactionServiceException, org.apache.thrift.TException;
|
| 1111 |
|
1111 |
|
| 1112 |
public List<Order> getGroupOrdersByLogisticsTxnId(String logisticsTxnId) throws TransactionServiceException, org.apache.thrift.TException;
|
1112 |
public List<Order> getGroupOrdersByLogisticsTxnId(String logisticsTxnId) throws TransactionServiceException, org.apache.thrift.TException;
|
| 1113 |
|
1113 |
|
| 1114 |
public boolean addBillingDetailsForGrouppedOrders(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize, String invoiceType, String packageDimensions) throws TransactionServiceException, org.apache.thrift.TException;
|
1114 |
public boolean addBillingDetailsForGrouppedOrders(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize, String invoiceType) throws TransactionServiceException, org.apache.thrift.TException;
|
| 1115 |
|
1115 |
|
| 1116 |
public String getInvoiceFormatLogisticsTxnId(long transactionId, long shipementSeq) throws TransactionServiceException, org.apache.thrift.TException;
|
1116 |
public String getInvoiceFormatLogisticsTxnId(long transactionId, long shipementSeq) throws TransactionServiceException, org.apache.thrift.TException;
|
| 1117 |
|
1117 |
|
| 1118 |
public void createHomeShopOrder(HsOrder snapdealOrder) throws org.apache.thrift.TException;
|
1118 |
public void createHomeShopOrder(HsOrder snapdealOrder) throws org.apache.thrift.TException;
|
| 1119 |
|
1119 |
|
| Line 1250... |
Line 1250... |
| 1250 |
|
1250 |
|
| 1251 |
public List<Long> addShipmentDelay(List<ShipmentDelayDetail> shipmentDelayDetail) throws org.apache.thrift.TException;
|
1251 |
public List<Long> addShipmentDelay(List<ShipmentDelayDetail> shipmentDelayDetail) throws org.apache.thrift.TException;
|
| 1252 |
|
1252 |
|
| 1253 |
public ShipmentLogisticsCostDetail getCostDetailForLogisticsTxnId(String logisticsTxnId) throws org.apache.thrift.TException;
|
1253 |
public ShipmentLogisticsCostDetail getCostDetailForLogisticsTxnId(String logisticsTxnId) throws org.apache.thrift.TException;
|
| 1254 |
|
1254 |
|
| - |
|
1255 |
public void addShipmentLogisticDetail(ShipmentLogisticsCostDetail shipmentLogisticsCostDetail) throws org.apache.thrift.TException;
|
| - |
|
1256 |
|
| 1255 |
}
|
1257 |
}
|
| 1256 |
|
1258 |
|
| 1257 |
public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
|
1259 |
public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
|
| 1258 |
|
1260 |
|
| 1259 |
public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
|
1261 |
public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
|
| Line 1744... |
Line 1746... |
| 1744 |
|
1746 |
|
| 1745 |
public void acceptPackageOrders(List<Long> orders, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.acceptPackageOrders_call> resultHandler) throws org.apache.thrift.TException;
|
1747 |
public void acceptPackageOrders(List<Long> orders, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.acceptPackageOrders_call> resultHandler) throws org.apache.thrift.TException;
|
| 1746 |
|
1748 |
|
| 1747 |
public void getGroupOrdersByLogisticsTxnId(String logisticsTxnId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getGroupOrdersByLogisticsTxnId_call> resultHandler) throws org.apache.thrift.TException;
|
1749 |
public void getGroupOrdersByLogisticsTxnId(String logisticsTxnId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getGroupOrdersByLogisticsTxnId_call> resultHandler) throws org.apache.thrift.TException;
|
| 1748 |
|
1750 |
|
| 1749 |
public void addBillingDetailsForGrouppedOrders(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize, String invoiceType, String packageDimensions, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBillingDetailsForGrouppedOrders_call> resultHandler) throws org.apache.thrift.TException;
|
1751 |
public void addBillingDetailsForGrouppedOrders(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize, String invoiceType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBillingDetailsForGrouppedOrders_call> resultHandler) throws org.apache.thrift.TException;
|
| 1750 |
|
1752 |
|
| 1751 |
public void getInvoiceFormatLogisticsTxnId(long transactionId, long shipementSeq, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getInvoiceFormatLogisticsTxnId_call> resultHandler) throws org.apache.thrift.TException;
|
1753 |
public void getInvoiceFormatLogisticsTxnId(long transactionId, long shipementSeq, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getInvoiceFormatLogisticsTxnId_call> resultHandler) throws org.apache.thrift.TException;
|
| 1752 |
|
1754 |
|
| 1753 |
public void createHomeShopOrder(HsOrder snapdealOrder, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createHomeShopOrder_call> resultHandler) throws org.apache.thrift.TException;
|
1755 |
public void createHomeShopOrder(HsOrder snapdealOrder, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createHomeShopOrder_call> resultHandler) throws org.apache.thrift.TException;
|
| 1754 |
|
1756 |
|
| Line 1868... |
Line 1870... |
| 1868 |
|
1870 |
|
| 1869 |
public void addShipmentDelay(List<ShipmentDelayDetail> shipmentDelayDetail, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addShipmentDelay_call> resultHandler) throws org.apache.thrift.TException;
|
1871 |
public void addShipmentDelay(List<ShipmentDelayDetail> shipmentDelayDetail, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addShipmentDelay_call> resultHandler) throws org.apache.thrift.TException;
|
| 1870 |
|
1872 |
|
| 1871 |
public void getCostDetailForLogisticsTxnId(String logisticsTxnId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCostDetailForLogisticsTxnId_call> resultHandler) throws org.apache.thrift.TException;
|
1873 |
public void getCostDetailForLogisticsTxnId(String logisticsTxnId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCostDetailForLogisticsTxnId_call> resultHandler) throws org.apache.thrift.TException;
|
| 1872 |
|
1874 |
|
| - |
|
1875 |
public void addShipmentLogisticDetail(ShipmentLogisticsCostDetail shipmentLogisticsCostDetail, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addShipmentLogisticDetail_call> resultHandler) throws org.apache.thrift.TException;
|
| - |
|
1876 |
|
| 1873 |
}
|
1877 |
}
|
| 1874 |
|
1878 |
|
| 1875 |
public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
|
1879 |
public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
|
| 1876 |
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
|
1880 |
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
|
| 1877 |
public Factory() {}
|
1881 |
public Factory() {}
|
| Line 7924... |
Line 7928... |
| 7924 |
throw result.ex;
|
7928 |
throw result.ex;
|
| 7925 |
}
|
7929 |
}
|
| 7926 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getGroupOrdersByLogisticsTxnId failed: unknown result");
|
7930 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getGroupOrdersByLogisticsTxnId failed: unknown result");
|
| 7927 |
}
|
7931 |
}
|
| 7928 |
|
7932 |
|
| 7929 |
public boolean addBillingDetailsForGrouppedOrders(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize, String invoiceType, String packageDimensions) throws TransactionServiceException, org.apache.thrift.TException
|
7933 |
public boolean addBillingDetailsForGrouppedOrders(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize, String invoiceType) throws TransactionServiceException, org.apache.thrift.TException
|
| 7930 |
{
|
7934 |
{
|
| 7931 |
send_addBillingDetailsForGrouppedOrders(order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize, invoiceType, packageDimensions);
|
7935 |
send_addBillingDetailsForGrouppedOrders(order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize, invoiceType);
|
| 7932 |
return recv_addBillingDetailsForGrouppedOrders();
|
7936 |
return recv_addBillingDetailsForGrouppedOrders();
|
| 7933 |
}
|
7937 |
}
|
| 7934 |
|
7938 |
|
| 7935 |
public void send_addBillingDetailsForGrouppedOrders(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize, String invoiceType, String packageDimensions) throws org.apache.thrift.TException
|
7939 |
public void send_addBillingDetailsForGrouppedOrders(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize, String invoiceType) throws org.apache.thrift.TException
|
| 7936 |
{
|
7940 |
{
|
| 7937 |
addBillingDetailsForGrouppedOrders_args args = new addBillingDetailsForGrouppedOrders_args();
|
7941 |
addBillingDetailsForGrouppedOrders_args args = new addBillingDetailsForGrouppedOrders_args();
|
| 7938 |
args.setOrder_ids(order_ids);
|
7942 |
args.setOrder_ids(order_ids);
|
| 7939 |
args.setInvoice_number(invoice_number);
|
7943 |
args.setInvoice_number(invoice_number);
|
| 7940 |
args.setItemNumbersMap(itemNumbersMap);
|
7944 |
args.setItemNumbersMap(itemNumbersMap);
|
| Line 7943... |
Line 7947... |
| 7943 |
args.setBilled_by(billed_by);
|
7947 |
args.setBilled_by(billed_by);
|
| 7944 |
args.setJacketNumber(jacketNumber);
|
7948 |
args.setJacketNumber(jacketNumber);
|
| 7945 |
args.setBillingType(billingType);
|
7949 |
args.setBillingType(billingType);
|
| 7946 |
args.setAuthorize(authorize);
|
7950 |
args.setAuthorize(authorize);
|
| 7947 |
args.setInvoiceType(invoiceType);
|
7951 |
args.setInvoiceType(invoiceType);
|
| 7948 |
args.setPackageDimensions(packageDimensions);
|
- |
|
| 7949 |
sendBase("addBillingDetailsForGrouppedOrders", args);
|
7952 |
sendBase("addBillingDetailsForGrouppedOrders", args);
|
| 7950 |
}
|
7953 |
}
|
| 7951 |
|
7954 |
|
| 7952 |
public boolean recv_addBillingDetailsForGrouppedOrders() throws TransactionServiceException, org.apache.thrift.TException
|
7955 |
public boolean recv_addBillingDetailsForGrouppedOrders() throws TransactionServiceException, org.apache.thrift.TException
|
| 7953 |
{
|
7956 |
{
|
| Line 9489... |
Line 9492... |
| 9489 |
return result.success;
|
9492 |
return result.success;
|
| 9490 |
}
|
9493 |
}
|
| 9491 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getCostDetailForLogisticsTxnId failed: unknown result");
|
9494 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getCostDetailForLogisticsTxnId failed: unknown result");
|
| 9492 |
}
|
9495 |
}
|
| 9493 |
|
9496 |
|
| - |
|
9497 |
public void addShipmentLogisticDetail(ShipmentLogisticsCostDetail shipmentLogisticsCostDetail) throws org.apache.thrift.TException
|
| - |
|
9498 |
{
|
| - |
|
9499 |
send_addShipmentLogisticDetail(shipmentLogisticsCostDetail);
|
| - |
|
9500 |
recv_addShipmentLogisticDetail();
|
| - |
|
9501 |
}
|
| - |
|
9502 |
|
| - |
|
9503 |
public void send_addShipmentLogisticDetail(ShipmentLogisticsCostDetail shipmentLogisticsCostDetail) throws org.apache.thrift.TException
|
| - |
|
9504 |
{
|
| - |
|
9505 |
addShipmentLogisticDetail_args args = new addShipmentLogisticDetail_args();
|
| - |
|
9506 |
args.setShipmentLogisticsCostDetail(shipmentLogisticsCostDetail);
|
| - |
|
9507 |
sendBase("addShipmentLogisticDetail", args);
|
| - |
|
9508 |
}
|
| - |
|
9509 |
|
| - |
|
9510 |
public void recv_addShipmentLogisticDetail() throws org.apache.thrift.TException
|
| - |
|
9511 |
{
|
| - |
|
9512 |
addShipmentLogisticDetail_result result = new addShipmentLogisticDetail_result();
|
| - |
|
9513 |
receiveBase(result, "addShipmentLogisticDetail");
|
| - |
|
9514 |
return;
|
| - |
|
9515 |
}
|
| - |
|
9516 |
|
| 9494 |
}
|
9517 |
}
|
| 9495 |
public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
|
9518 |
public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
|
| 9496 |
public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
|
9519 |
public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
|
| 9497 |
private org.apache.thrift.async.TAsyncClientManager clientManager;
|
9520 |
private org.apache.thrift.async.TAsyncClientManager clientManager;
|
| 9498 |
private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
|
9521 |
private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
|
| Line 18004... |
Line 18027... |
| 18004 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
18027 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 18005 |
return (new Client(prot)).recv_getGroupOrdersByLogisticsTxnId();
|
18028 |
return (new Client(prot)).recv_getGroupOrdersByLogisticsTxnId();
|
| 18006 |
}
|
18029 |
}
|
| 18007 |
}
|
18030 |
}
|
| 18008 |
|
18031 |
|
| 18009 |
public void addBillingDetailsForGrouppedOrders(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize, String invoiceType, String packageDimensions, org.apache.thrift.async.AsyncMethodCallback<addBillingDetailsForGrouppedOrders_call> resultHandler) throws org.apache.thrift.TException {
|
18032 |
public void addBillingDetailsForGrouppedOrders(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize, String invoiceType, org.apache.thrift.async.AsyncMethodCallback<addBillingDetailsForGrouppedOrders_call> resultHandler) throws org.apache.thrift.TException {
|
| 18010 |
checkReady();
|
18033 |
checkReady();
|
| 18011 |
addBillingDetailsForGrouppedOrders_call method_call = new addBillingDetailsForGrouppedOrders_call(order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize, invoiceType, packageDimensions, resultHandler, this, ___protocolFactory, ___transport);
|
18034 |
addBillingDetailsForGrouppedOrders_call method_call = new addBillingDetailsForGrouppedOrders_call(order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize, invoiceType, resultHandler, this, ___protocolFactory, ___transport);
|
| 18012 |
this.___currentMethod = method_call;
|
18035 |
this.___currentMethod = method_call;
|
| 18013 |
___manager.call(method_call);
|
18036 |
___manager.call(method_call);
|
| 18014 |
}
|
18037 |
}
|
| 18015 |
|
18038 |
|
| 18016 |
public static class addBillingDetailsForGrouppedOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
|
18039 |
public static class addBillingDetailsForGrouppedOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| Line 18022... |
Line 18045... |
| 18022 |
private String billed_by;
|
18045 |
private String billed_by;
|
| 18023 |
private long jacketNumber;
|
18046 |
private long jacketNumber;
|
| 18024 |
private long billingType;
|
18047 |
private long billingType;
|
| 18025 |
private boolean authorize;
|
18048 |
private boolean authorize;
|
| 18026 |
private String invoiceType;
|
18049 |
private String invoiceType;
|
| 18027 |
private String packageDimensions;
|
- |
|
| 18028 |
public addBillingDetailsForGrouppedOrders_call(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize, String invoiceType, String packageDimensions, org.apache.thrift.async.AsyncMethodCallback<addBillingDetailsForGrouppedOrders_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
|
18050 |
public addBillingDetailsForGrouppedOrders_call(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize, String invoiceType, org.apache.thrift.async.AsyncMethodCallback<addBillingDetailsForGrouppedOrders_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
|
| 18029 |
super(client, protocolFactory, transport, resultHandler, false);
|
18051 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 18030 |
this.order_ids = order_ids;
|
18052 |
this.order_ids = order_ids;
|
| 18031 |
this.invoice_number = invoice_number;
|
18053 |
this.invoice_number = invoice_number;
|
| 18032 |
this.itemNumbersMap = itemNumbersMap;
|
18054 |
this.itemNumbersMap = itemNumbersMap;
|
| 18033 |
this.serialNumbersMap = serialNumbersMap;
|
18055 |
this.serialNumbersMap = serialNumbersMap;
|
| Line 18035... |
Line 18057... |
| 18035 |
this.billed_by = billed_by;
|
18057 |
this.billed_by = billed_by;
|
| 18036 |
this.jacketNumber = jacketNumber;
|
18058 |
this.jacketNumber = jacketNumber;
|
| 18037 |
this.billingType = billingType;
|
18059 |
this.billingType = billingType;
|
| 18038 |
this.authorize = authorize;
|
18060 |
this.authorize = authorize;
|
| 18039 |
this.invoiceType = invoiceType;
|
18061 |
this.invoiceType = invoiceType;
|
| 18040 |
this.packageDimensions = packageDimensions;
|
- |
|
| 18041 |
}
|
18062 |
}
|
| 18042 |
|
18063 |
|
| 18043 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
18064 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 18044 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addBillingDetailsForGrouppedOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
18065 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addBillingDetailsForGrouppedOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 18045 |
addBillingDetailsForGrouppedOrders_args args = new addBillingDetailsForGrouppedOrders_args();
|
18066 |
addBillingDetailsForGrouppedOrders_args args = new addBillingDetailsForGrouppedOrders_args();
|
| Line 18051... |
Line 18072... |
| 18051 |
args.setBilled_by(billed_by);
|
18072 |
args.setBilled_by(billed_by);
|
| 18052 |
args.setJacketNumber(jacketNumber);
|
18073 |
args.setJacketNumber(jacketNumber);
|
| 18053 |
args.setBillingType(billingType);
|
18074 |
args.setBillingType(billingType);
|
| 18054 |
args.setAuthorize(authorize);
|
18075 |
args.setAuthorize(authorize);
|
| 18055 |
args.setInvoiceType(invoiceType);
|
18076 |
args.setInvoiceType(invoiceType);
|
| 18056 |
args.setPackageDimensions(packageDimensions);
|
- |
|
| 18057 |
args.write(prot);
|
18077 |
args.write(prot);
|
| 18058 |
prot.writeMessageEnd();
|
18078 |
prot.writeMessageEnd();
|
| 18059 |
}
|
18079 |
}
|
| 18060 |
|
18080 |
|
| 18061 |
public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
18081 |
public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
| Line 20207... |
Line 20227... |
| 20207 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
20227 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 20208 |
return (new Client(prot)).recv_getCostDetailForLogisticsTxnId();
|
20228 |
return (new Client(prot)).recv_getCostDetailForLogisticsTxnId();
|
| 20209 |
}
|
20229 |
}
|
| 20210 |
}
|
20230 |
}
|
| 20211 |
|
20231 |
|
| - |
|
20232 |
public void addShipmentLogisticDetail(ShipmentLogisticsCostDetail shipmentLogisticsCostDetail, org.apache.thrift.async.AsyncMethodCallback<addShipmentLogisticDetail_call> resultHandler) throws org.apache.thrift.TException {
|
| - |
|
20233 |
checkReady();
|
| - |
|
20234 |
addShipmentLogisticDetail_call method_call = new addShipmentLogisticDetail_call(shipmentLogisticsCostDetail, resultHandler, this, ___protocolFactory, ___transport);
|
| - |
|
20235 |
this.___currentMethod = method_call;
|
| - |
|
20236 |
___manager.call(method_call);
|
| - |
|
20237 |
}
|
| - |
|
20238 |
|
| - |
|
20239 |
public static class addShipmentLogisticDetail_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| - |
|
20240 |
private ShipmentLogisticsCostDetail shipmentLogisticsCostDetail;
|
| - |
|
20241 |
public addShipmentLogisticDetail_call(ShipmentLogisticsCostDetail shipmentLogisticsCostDetail, org.apache.thrift.async.AsyncMethodCallback<addShipmentLogisticDetail_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
|
| - |
|
20242 |
super(client, protocolFactory, transport, resultHandler, false);
|
| - |
|
20243 |
this.shipmentLogisticsCostDetail = shipmentLogisticsCostDetail;
|
| - |
|
20244 |
}
|
| - |
|
20245 |
|
| - |
|
20246 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| - |
|
20247 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addShipmentLogisticDetail", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| - |
|
20248 |
addShipmentLogisticDetail_args args = new addShipmentLogisticDetail_args();
|
| - |
|
20249 |
args.setShipmentLogisticsCostDetail(shipmentLogisticsCostDetail);
|
| - |
|
20250 |
args.write(prot);
|
| - |
|
20251 |
prot.writeMessageEnd();
|
| - |
|
20252 |
}
|
| - |
|
20253 |
|
| - |
|
20254 |
public void getResult() throws org.apache.thrift.TException {
|
| - |
|
20255 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
| - |
|
20256 |
throw new IllegalStateException("Method call not finished!");
|
| - |
|
20257 |
}
|
| - |
|
20258 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
| - |
|
20259 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| - |
|
20260 |
(new Client(prot)).recv_addShipmentLogisticDetail();
|
| - |
|
20261 |
}
|
| - |
|
20262 |
}
|
| - |
|
20263 |
|
| 20212 |
}
|
20264 |
}
|
| 20213 |
|
20265 |
|
| 20214 |
public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
|
20266 |
public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
|
| 20215 |
private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
|
20267 |
private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
|
| 20216 |
public Processor(I iface) {
|
20268 |
public Processor(I iface) {
|
| Line 20527... |
Line 20579... |
| 20527 |
processMap.put("splitReturnOrderInfo", new splitReturnOrderInfo());
|
20579 |
processMap.put("splitReturnOrderInfo", new splitReturnOrderInfo());
|
| 20528 |
processMap.put("deleteReturnOrder", new deleteReturnOrder());
|
20580 |
processMap.put("deleteReturnOrder", new deleteReturnOrder());
|
| 20529 |
processMap.put("refundReturnOrder", new refundReturnOrder());
|
20581 |
processMap.put("refundReturnOrder", new refundReturnOrder());
|
| 20530 |
processMap.put("addShipmentDelay", new addShipmentDelay());
|
20582 |
processMap.put("addShipmentDelay", new addShipmentDelay());
|
| 20531 |
processMap.put("getCostDetailForLogisticsTxnId", new getCostDetailForLogisticsTxnId());
|
20583 |
processMap.put("getCostDetailForLogisticsTxnId", new getCostDetailForLogisticsTxnId());
|
| - |
|
20584 |
processMap.put("addShipmentLogisticDetail", new addShipmentLogisticDetail());
|
| 20532 |
return processMap;
|
20585 |
return processMap;
|
| 20533 |
}
|
20586 |
}
|
| 20534 |
|
20587 |
|
| 20535 |
private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
|
20588 |
private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
|
| 20536 |
public createTransaction() {
|
20589 |
public createTransaction() {
|
| Line 24979... |
Line 25032... |
| 24979 |
}
|
25032 |
}
|
| 24980 |
|
25033 |
|
| 24981 |
protected addBillingDetailsForGrouppedOrders_result getResult(I iface, addBillingDetailsForGrouppedOrders_args args) throws org.apache.thrift.TException {
|
25034 |
protected addBillingDetailsForGrouppedOrders_result getResult(I iface, addBillingDetailsForGrouppedOrders_args args) throws org.apache.thrift.TException {
|
| 24982 |
addBillingDetailsForGrouppedOrders_result result = new addBillingDetailsForGrouppedOrders_result();
|
25035 |
addBillingDetailsForGrouppedOrders_result result = new addBillingDetailsForGrouppedOrders_result();
|
| 24983 |
try {
|
25036 |
try {
|
| 24984 |
result.success = iface.addBillingDetailsForGrouppedOrders(args.order_ids, args.invoice_number, args.itemNumbersMap, args.serialNumbersMap, args.freebieWarehouseIdMap, args.billed_by, args.jacketNumber, args.billingType, args.authorize, args.invoiceType, args.packageDimensions);
|
25037 |
result.success = iface.addBillingDetailsForGrouppedOrders(args.order_ids, args.invoice_number, args.itemNumbersMap, args.serialNumbersMap, args.freebieWarehouseIdMap, args.billed_by, args.jacketNumber, args.billingType, args.authorize, args.invoiceType);
|
| 24985 |
result.setSuccessIsSet(true);
|
25038 |
result.setSuccessIsSet(true);
|
| 24986 |
} catch (TransactionServiceException ex) {
|
25039 |
} catch (TransactionServiceException ex) {
|
| 24987 |
result.ex = ex;
|
25040 |
result.ex = ex;
|
| 24988 |
}
|
25041 |
}
|
| 24989 |
return result;
|
25042 |
return result;
|
| Line 26078... |
Line 26131... |
| 26078 |
result.success = iface.getCostDetailForLogisticsTxnId(args.logisticsTxnId);
|
26131 |
result.success = iface.getCostDetailForLogisticsTxnId(args.logisticsTxnId);
|
| 26079 |
return result;
|
26132 |
return result;
|
| 26080 |
}
|
26133 |
}
|
| 26081 |
}
|
26134 |
}
|
| 26082 |
|
26135 |
|
| - |
|
26136 |
private static class addShipmentLogisticDetail<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addShipmentLogisticDetail_args> {
|
| - |
|
26137 |
public addShipmentLogisticDetail() {
|
| - |
|
26138 |
super("addShipmentLogisticDetail");
|
| - |
|
26139 |
}
|
| - |
|
26140 |
|
| - |
|
26141 |
protected addShipmentLogisticDetail_args getEmptyArgsInstance() {
|
| - |
|
26142 |
return new addShipmentLogisticDetail_args();
|
| - |
|
26143 |
}
|
| - |
|
26144 |
|
| - |
|
26145 |
protected addShipmentLogisticDetail_result getResult(I iface, addShipmentLogisticDetail_args args) throws org.apache.thrift.TException {
|
| - |
|
26146 |
addShipmentLogisticDetail_result result = new addShipmentLogisticDetail_result();
|
| - |
|
26147 |
iface.addShipmentLogisticDetail(args.shipmentLogisticsCostDetail);
|
| - |
|
26148 |
return result;
|
| - |
|
26149 |
}
|
| - |
|
26150 |
}
|
| - |
|
26151 |
|
| 26083 |
}
|
26152 |
}
|
| 26084 |
|
26153 |
|
| 26085 |
public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable {
|
26154 |
public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable {
|
| 26086 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
|
26155 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
|
| 26087 |
|
26156 |
|
| Line 198867... |
Line 198936... |
| 198867 |
private static final org.apache.thrift.protocol.TField BILLED_BY_FIELD_DESC = new org.apache.thrift.protocol.TField("billed_by", org.apache.thrift.protocol.TType.STRING, (short)6);
|
198936 |
private static final org.apache.thrift.protocol.TField BILLED_BY_FIELD_DESC = new org.apache.thrift.protocol.TField("billed_by", org.apache.thrift.protocol.TType.STRING, (short)6);
|
| 198868 |
private static final org.apache.thrift.protocol.TField JACKET_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("jacketNumber", org.apache.thrift.protocol.TType.I64, (short)7);
|
198937 |
private static final org.apache.thrift.protocol.TField JACKET_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("jacketNumber", org.apache.thrift.protocol.TType.I64, (short)7);
|
| 198869 |
private static final org.apache.thrift.protocol.TField BILLING_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("billingType", org.apache.thrift.protocol.TType.I64, (short)8);
|
198938 |
private static final org.apache.thrift.protocol.TField BILLING_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("billingType", org.apache.thrift.protocol.TType.I64, (short)8);
|
| 198870 |
private static final org.apache.thrift.protocol.TField AUTHORIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("authorize", org.apache.thrift.protocol.TType.BOOL, (short)9);
|
198939 |
private static final org.apache.thrift.protocol.TField AUTHORIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("authorize", org.apache.thrift.protocol.TType.BOOL, (short)9);
|
| 198871 |
private static final org.apache.thrift.protocol.TField INVOICE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("invoiceType", org.apache.thrift.protocol.TType.STRING, (short)10);
|
198940 |
private static final org.apache.thrift.protocol.TField INVOICE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("invoiceType", org.apache.thrift.protocol.TType.STRING, (short)10);
|
| 198872 |
private static final org.apache.thrift.protocol.TField PACKAGE_DIMENSIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("packageDimensions", org.apache.thrift.protocol.TType.STRING, (short)11);
|
- |
|
| 198873 |
|
198941 |
|
| 198874 |
private List<Long> order_ids; // required
|
198942 |
private List<Long> order_ids; // required
|
| 198875 |
private String invoice_number; // required
|
198943 |
private String invoice_number; // required
|
| 198876 |
private Map<Long,List<String>> itemNumbersMap; // required
|
198944 |
private Map<Long,List<String>> itemNumbersMap; // required
|
| 198877 |
private Map<Long,List<String>> serialNumbersMap; // required
|
198945 |
private Map<Long,List<String>> serialNumbersMap; // required
|
| Line 198879... |
Line 198947... |
| 198879 |
private String billed_by; // required
|
198947 |
private String billed_by; // required
|
| 198880 |
private long jacketNumber; // required
|
198948 |
private long jacketNumber; // required
|
| 198881 |
private long billingType; // required
|
198949 |
private long billingType; // required
|
| 198882 |
private boolean authorize; // required
|
198950 |
private boolean authorize; // required
|
| 198883 |
private String invoiceType; // required
|
198951 |
private String invoiceType; // required
|
| 198884 |
private String packageDimensions; // required
|
- |
|
| 198885 |
|
198952 |
|
| 198886 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
198953 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 198887 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
198954 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 198888 |
ORDER_IDS((short)1, "order_ids"),
|
198955 |
ORDER_IDS((short)1, "order_ids"),
|
| 198889 |
INVOICE_NUMBER((short)2, "invoice_number"),
|
198956 |
INVOICE_NUMBER((short)2, "invoice_number"),
|
| Line 198892... |
Line 198959... |
| 198892 |
FREEBIE_WAREHOUSE_ID_MAP((short)5, "freebieWarehouseIdMap"),
|
198959 |
FREEBIE_WAREHOUSE_ID_MAP((short)5, "freebieWarehouseIdMap"),
|
| 198893 |
BILLED_BY((short)6, "billed_by"),
|
198960 |
BILLED_BY((short)6, "billed_by"),
|
| 198894 |
JACKET_NUMBER((short)7, "jacketNumber"),
|
198961 |
JACKET_NUMBER((short)7, "jacketNumber"),
|
| 198895 |
BILLING_TYPE((short)8, "billingType"),
|
198962 |
BILLING_TYPE((short)8, "billingType"),
|
| 198896 |
AUTHORIZE((short)9, "authorize"),
|
198963 |
AUTHORIZE((short)9, "authorize"),
|
| 198897 |
INVOICE_TYPE((short)10, "invoiceType"),
|
198964 |
INVOICE_TYPE((short)10, "invoiceType");
|
| 198898 |
PACKAGE_DIMENSIONS((short)11, "packageDimensions");
|
- |
|
| 198899 |
|
198965 |
|
| 198900 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
198966 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 198901 |
|
198967 |
|
| 198902 |
static {
|
198968 |
static {
|
| 198903 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
198969 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 198928... |
Line 198994... |
| 198928 |
return BILLING_TYPE;
|
198994 |
return BILLING_TYPE;
|
| 198929 |
case 9: // AUTHORIZE
|
198995 |
case 9: // AUTHORIZE
|
| 198930 |
return AUTHORIZE;
|
198996 |
return AUTHORIZE;
|
| 198931 |
case 10: // INVOICE_TYPE
|
198997 |
case 10: // INVOICE_TYPE
|
| 198932 |
return INVOICE_TYPE;
|
198998 |
return INVOICE_TYPE;
|
| 198933 |
case 11: // PACKAGE_DIMENSIONS
|
- |
|
| 198934 |
return PACKAGE_DIMENSIONS;
|
- |
|
| 198935 |
default:
|
198999 |
default:
|
| 198936 |
return null;
|
199000 |
return null;
|
| 198937 |
}
|
199001 |
}
|
| 198938 |
}
|
199002 |
}
|
| 198939 |
|
199003 |
|
| Line 199008... |
Line 199072... |
| 199008 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
199072 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 199009 |
tmpMap.put(_Fields.AUTHORIZE, new org.apache.thrift.meta_data.FieldMetaData("authorize", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
199073 |
tmpMap.put(_Fields.AUTHORIZE, new org.apache.thrift.meta_data.FieldMetaData("authorize", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 199010 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
199074 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 199011 |
tmpMap.put(_Fields.INVOICE_TYPE, new org.apache.thrift.meta_data.FieldMetaData("invoiceType", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
199075 |
tmpMap.put(_Fields.INVOICE_TYPE, new org.apache.thrift.meta_data.FieldMetaData("invoiceType", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 199012 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
199076 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 199013 |
tmpMap.put(_Fields.PACKAGE_DIMENSIONS, new org.apache.thrift.meta_data.FieldMetaData("packageDimensions", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
- |
|
| 199014 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
- |
|
| 199015 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
199077 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 199016 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBillingDetailsForGrouppedOrders_args.class, metaDataMap);
|
199078 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBillingDetailsForGrouppedOrders_args.class, metaDataMap);
|
| 199017 |
}
|
199079 |
}
|
| 199018 |
|
199080 |
|
| 199019 |
public addBillingDetailsForGrouppedOrders_args() {
|
199081 |
public addBillingDetailsForGrouppedOrders_args() {
|
| Line 199027... |
Line 199089... |
| 199027 |
Map<Long,List<Long>> freebieWarehouseIdMap,
|
199089 |
Map<Long,List<Long>> freebieWarehouseIdMap,
|
| 199028 |
String billed_by,
|
199090 |
String billed_by,
|
| 199029 |
long jacketNumber,
|
199091 |
long jacketNumber,
|
| 199030 |
long billingType,
|
199092 |
long billingType,
|
| 199031 |
boolean authorize,
|
199093 |
boolean authorize,
|
| 199032 |
String invoiceType,
|
199094 |
String invoiceType)
|
| 199033 |
String packageDimensions)
|
- |
|
| 199034 |
{
|
199095 |
{
|
| 199035 |
this();
|
199096 |
this();
|
| 199036 |
this.order_ids = order_ids;
|
199097 |
this.order_ids = order_ids;
|
| 199037 |
this.invoice_number = invoice_number;
|
199098 |
this.invoice_number = invoice_number;
|
| 199038 |
this.itemNumbersMap = itemNumbersMap;
|
199099 |
this.itemNumbersMap = itemNumbersMap;
|
| Line 199044... |
Line 199105... |
| 199044 |
this.billingType = billingType;
|
199105 |
this.billingType = billingType;
|
| 199045 |
setBillingTypeIsSet(true);
|
199106 |
setBillingTypeIsSet(true);
|
| 199046 |
this.authorize = authorize;
|
199107 |
this.authorize = authorize;
|
| 199047 |
setAuthorizeIsSet(true);
|
199108 |
setAuthorizeIsSet(true);
|
| 199048 |
this.invoiceType = invoiceType;
|
199109 |
this.invoiceType = invoiceType;
|
| 199049 |
this.packageDimensions = packageDimensions;
|
- |
|
| 199050 |
}
|
199110 |
}
|
| 199051 |
|
199111 |
|
| 199052 |
/**
|
199112 |
/**
|
| 199053 |
* Performs a deep copy on <i>other</i>.
|
199113 |
* Performs a deep copy on <i>other</i>.
|
| 199054 |
*/
|
199114 |
*/
|
| Line 199126... |
Line 199186... |
| 199126 |
this.billingType = other.billingType;
|
199186 |
this.billingType = other.billingType;
|
| 199127 |
this.authorize = other.authorize;
|
199187 |
this.authorize = other.authorize;
|
| 199128 |
if (other.isSetInvoiceType()) {
|
199188 |
if (other.isSetInvoiceType()) {
|
| 199129 |
this.invoiceType = other.invoiceType;
|
199189 |
this.invoiceType = other.invoiceType;
|
| 199130 |
}
|
199190 |
}
|
| 199131 |
if (other.isSetPackageDimensions()) {
|
- |
|
| 199132 |
this.packageDimensions = other.packageDimensions;
|
- |
|
| 199133 |
}
|
- |
|
| 199134 |
}
|
199191 |
}
|
| 199135 |
|
199192 |
|
| 199136 |
public addBillingDetailsForGrouppedOrders_args deepCopy() {
|
199193 |
public addBillingDetailsForGrouppedOrders_args deepCopy() {
|
| 199137 |
return new addBillingDetailsForGrouppedOrders_args(this);
|
199194 |
return new addBillingDetailsForGrouppedOrders_args(this);
|
| 199138 |
}
|
199195 |
}
|
| Line 199150... |
Line 199207... |
| 199150 |
setBillingTypeIsSet(false);
|
199207 |
setBillingTypeIsSet(false);
|
| 199151 |
this.billingType = 0;
|
199208 |
this.billingType = 0;
|
| 199152 |
setAuthorizeIsSet(false);
|
199209 |
setAuthorizeIsSet(false);
|
| 199153 |
this.authorize = false;
|
199210 |
this.authorize = false;
|
| 199154 |
this.invoiceType = null;
|
199211 |
this.invoiceType = null;
|
| 199155 |
this.packageDimensions = null;
|
- |
|
| 199156 |
}
|
199212 |
}
|
| 199157 |
|
199213 |
|
| 199158 |
public int getOrder_idsSize() {
|
199214 |
public int getOrder_idsSize() {
|
| 199159 |
return (this.order_ids == null) ? 0 : this.order_ids.size();
|
199215 |
return (this.order_ids == null) ? 0 : this.order_ids.size();
|
| 199160 |
}
|
199216 |
}
|
| Line 199428... |
Line 199484... |
| 199428 |
if (!value) {
|
199484 |
if (!value) {
|
| 199429 |
this.invoiceType = null;
|
199485 |
this.invoiceType = null;
|
| 199430 |
}
|
199486 |
}
|
| 199431 |
}
|
199487 |
}
|
| 199432 |
|
199488 |
|
| 199433 |
public String getPackageDimensions() {
|
- |
|
| 199434 |
return this.packageDimensions;
|
- |
|
| 199435 |
}
|
- |
|
| 199436 |
|
- |
|
| 199437 |
public void setPackageDimensions(String packageDimensions) {
|
- |
|
| 199438 |
this.packageDimensions = packageDimensions;
|
- |
|
| 199439 |
}
|
- |
|
| 199440 |
|
- |
|
| 199441 |
public void unsetPackageDimensions() {
|
- |
|
| 199442 |
this.packageDimensions = null;
|
- |
|
| 199443 |
}
|
- |
|
| 199444 |
|
- |
|
| 199445 |
/** Returns true if field packageDimensions is set (has been assigned a value) and false otherwise */
|
- |
|
| 199446 |
public boolean isSetPackageDimensions() {
|
- |
|
| 199447 |
return this.packageDimensions != null;
|
- |
|
| 199448 |
}
|
- |
|
| 199449 |
|
- |
|
| 199450 |
public void setPackageDimensionsIsSet(boolean value) {
|
- |
|
| 199451 |
if (!value) {
|
- |
|
| 199452 |
this.packageDimensions = null;
|
- |
|
| 199453 |
}
|
- |
|
| 199454 |
}
|
- |
|
| 199455 |
|
- |
|
| 199456 |
public void setFieldValue(_Fields field, Object value) {
|
199489 |
public void setFieldValue(_Fields field, Object value) {
|
| 199457 |
switch (field) {
|
199490 |
switch (field) {
|
| 199458 |
case ORDER_IDS:
|
199491 |
case ORDER_IDS:
|
| 199459 |
if (value == null) {
|
199492 |
if (value == null) {
|
| 199460 |
unsetOrder_ids();
|
199493 |
unsetOrder_ids();
|
| Line 199533... |
Line 199566... |
| 199533 |
} else {
|
199566 |
} else {
|
| 199534 |
setInvoiceType((String)value);
|
199567 |
setInvoiceType((String)value);
|
| 199535 |
}
|
199568 |
}
|
| 199536 |
break;
|
199569 |
break;
|
| 199537 |
|
199570 |
|
| 199538 |
case PACKAGE_DIMENSIONS:
|
- |
|
| 199539 |
if (value == null) {
|
- |
|
| 199540 |
unsetPackageDimensions();
|
- |
|
| 199541 |
} else {
|
- |
|
| 199542 |
setPackageDimensions((String)value);
|
- |
|
| 199543 |
}
|
- |
|
| 199544 |
break;
|
- |
|
| 199545 |
|
- |
|
| 199546 |
}
|
199571 |
}
|
| 199547 |
}
|
199572 |
}
|
| 199548 |
|
199573 |
|
| 199549 |
public Object getFieldValue(_Fields field) {
|
199574 |
public Object getFieldValue(_Fields field) {
|
| 199550 |
switch (field) {
|
199575 |
switch (field) {
|
| Line 199576... |
Line 199601... |
| 199576 |
return Boolean.valueOf(isAuthorize());
|
199601 |
return Boolean.valueOf(isAuthorize());
|
| 199577 |
|
199602 |
|
| 199578 |
case INVOICE_TYPE:
|
199603 |
case INVOICE_TYPE:
|
| 199579 |
return getInvoiceType();
|
199604 |
return getInvoiceType();
|
| 199580 |
|
199605 |
|
| 199581 |
case PACKAGE_DIMENSIONS:
|
- |
|
| 199582 |
return getPackageDimensions();
|
- |
|
| 199583 |
|
- |
|
| 199584 |
}
|
199606 |
}
|
| 199585 |
throw new IllegalStateException();
|
199607 |
throw new IllegalStateException();
|
| 199586 |
}
|
199608 |
}
|
| 199587 |
|
199609 |
|
| 199588 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
199610 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 199610... |
Line 199632... |
| 199610 |
return isSetBillingType();
|
199632 |
return isSetBillingType();
|
| 199611 |
case AUTHORIZE:
|
199633 |
case AUTHORIZE:
|
| 199612 |
return isSetAuthorize();
|
199634 |
return isSetAuthorize();
|
| 199613 |
case INVOICE_TYPE:
|
199635 |
case INVOICE_TYPE:
|
| 199614 |
return isSetInvoiceType();
|
199636 |
return isSetInvoiceType();
|
| 199615 |
case PACKAGE_DIMENSIONS:
|
- |
|
| 199616 |
return isSetPackageDimensions();
|
- |
|
| 199617 |
}
|
199637 |
}
|
| 199618 |
throw new IllegalStateException();
|
199638 |
throw new IllegalStateException();
|
| 199619 |
}
|
199639 |
}
|
| 199620 |
|
199640 |
|
| 199621 |
@Override
|
199641 |
@Override
|
| Line 199719... |
Line 199739... |
| 199719 |
return false;
|
199739 |
return false;
|
| 199720 |
if (!this.invoiceType.equals(that.invoiceType))
|
199740 |
if (!this.invoiceType.equals(that.invoiceType))
|
| 199721 |
return false;
|
199741 |
return false;
|
| 199722 |
}
|
199742 |
}
|
| 199723 |
|
199743 |
|
| 199724 |
boolean this_present_packageDimensions = true && this.isSetPackageDimensions();
|
- |
|
| 199725 |
boolean that_present_packageDimensions = true && that.isSetPackageDimensions();
|
- |
|
| 199726 |
if (this_present_packageDimensions || that_present_packageDimensions) {
|
- |
|
| 199727 |
if (!(this_present_packageDimensions && that_present_packageDimensions))
|
- |
|
| 199728 |
return false;
|
- |
|
| 199729 |
if (!this.packageDimensions.equals(that.packageDimensions))
|
- |
|
| 199730 |
return false;
|
- |
|
| 199731 |
}
|
- |
|
| 199732 |
|
- |
|
| 199733 |
return true;
|
199744 |
return true;
|
| 199734 |
}
|
199745 |
}
|
| 199735 |
|
199746 |
|
| 199736 |
@Override
|
199747 |
@Override
|
| 199737 |
public int hashCode() {
|
199748 |
public int hashCode() {
|
| Line 199844... |
Line 199855... |
| 199844 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.invoiceType, typedOther.invoiceType);
|
199855 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.invoiceType, typedOther.invoiceType);
|
| 199845 |
if (lastComparison != 0) {
|
199856 |
if (lastComparison != 0) {
|
| 199846 |
return lastComparison;
|
199857 |
return lastComparison;
|
| 199847 |
}
|
199858 |
}
|
| 199848 |
}
|
199859 |
}
|
| 199849 |
lastComparison = Boolean.valueOf(isSetPackageDimensions()).compareTo(typedOther.isSetPackageDimensions());
|
- |
|
| 199850 |
if (lastComparison != 0) {
|
- |
|
| 199851 |
return lastComparison;
|
- |
|
| 199852 |
}
|
- |
|
| 199853 |
if (isSetPackageDimensions()) {
|
- |
|
| 199854 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.packageDimensions, typedOther.packageDimensions);
|
- |
|
| 199855 |
if (lastComparison != 0) {
|
- |
|
| 199856 |
return lastComparison;
|
- |
|
| 199857 |
}
|
- |
|
| 199858 |
}
|
- |
|
| 199859 |
return 0;
|
199860 |
return 0;
|
| 199860 |
}
|
199861 |
}
|
| 199861 |
|
199862 |
|
| 199862 |
public _Fields fieldForId(int fieldId) {
|
199863 |
public _Fields fieldForId(int fieldId) {
|
| 199863 |
return _Fields.findByThriftId(fieldId);
|
199864 |
return _Fields.findByThriftId(fieldId);
|
| Line 200020... |
Line 200021... |
| 200020 |
this.invoiceType = iprot.readString();
|
200021 |
this.invoiceType = iprot.readString();
|
| 200021 |
} else {
|
200022 |
} else {
|
| 200022 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
200023 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 200023 |
}
|
200024 |
}
|
| 200024 |
break;
|
200025 |
break;
|
| 200025 |
case 11: // PACKAGE_DIMENSIONS
|
- |
|
| 200026 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
- |
|
| 200027 |
this.packageDimensions = iprot.readString();
|
- |
|
| 200028 |
} else {
|
- |
|
| 200029 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
- |
|
| 200030 |
}
|
- |
|
| 200031 |
break;
|
- |
|
| 200032 |
default:
|
200026 |
default:
|
| 200033 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
200027 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 200034 |
}
|
200028 |
}
|
| 200035 |
iprot.readFieldEnd();
|
200029 |
iprot.readFieldEnd();
|
| 200036 |
}
|
200030 |
}
|
| Line 200136... |
Line 200130... |
| 200136 |
if (this.invoiceType != null) {
|
200130 |
if (this.invoiceType != null) {
|
| 200137 |
oprot.writeFieldBegin(INVOICE_TYPE_FIELD_DESC);
|
200131 |
oprot.writeFieldBegin(INVOICE_TYPE_FIELD_DESC);
|
| 200138 |
oprot.writeString(this.invoiceType);
|
200132 |
oprot.writeString(this.invoiceType);
|
| 200139 |
oprot.writeFieldEnd();
|
200133 |
oprot.writeFieldEnd();
|
| 200140 |
}
|
200134 |
}
|
| 200141 |
if (this.packageDimensions != null) {
|
- |
|
| 200142 |
oprot.writeFieldBegin(PACKAGE_DIMENSIONS_FIELD_DESC);
|
- |
|
| 200143 |
oprot.writeString(this.packageDimensions);
|
- |
|
| 200144 |
oprot.writeFieldEnd();
|
- |
|
| 200145 |
}
|
- |
|
| 200146 |
oprot.writeFieldStop();
|
200135 |
oprot.writeFieldStop();
|
| 200147 |
oprot.writeStructEnd();
|
200136 |
oprot.writeStructEnd();
|
| 200148 |
}
|
200137 |
}
|
| 200149 |
|
200138 |
|
| 200150 |
@Override
|
200139 |
@Override
|
| Line 200217... |
Line 200206... |
| 200217 |
sb.append("null");
|
200206 |
sb.append("null");
|
| 200218 |
} else {
|
200207 |
} else {
|
| 200219 |
sb.append(this.invoiceType);
|
200208 |
sb.append(this.invoiceType);
|
| 200220 |
}
|
200209 |
}
|
| 200221 |
first = false;
|
200210 |
first = false;
|
| 200222 |
if (!first) sb.append(", ");
|
- |
|
| 200223 |
sb.append("packageDimensions:");
|
- |
|
| 200224 |
if (this.packageDimensions == null) {
|
- |
|
| 200225 |
sb.append("null");
|
- |
|
| 200226 |
} else {
|
- |
|
| 200227 |
sb.append(this.packageDimensions);
|
- |
|
| 200228 |
}
|
- |
|
| 200229 |
first = false;
|
- |
|
| 200230 |
sb.append(")");
|
200211 |
sb.append(")");
|
| 200231 |
return sb.toString();
|
200212 |
return sb.toString();
|
| 200232 |
}
|
200213 |
}
|
| 200233 |
|
200214 |
|
| 200234 |
public void validate() throws org.apache.thrift.TException {
|
200215 |
public void validate() throws org.apache.thrift.TException {
|
| Line 245417... |
Line 245398... |
| 245417 |
sb.append(")");
|
245398 |
sb.append(")");
|
| 245418 |
return sb.toString();
|
245399 |
return sb.toString();
|
| 245419 |
}
|
245400 |
}
|
| 245420 |
|
245401 |
|
| 245421 |
public void validate() throws org.apache.thrift.TException {
|
245402 |
public void validate() throws org.apache.thrift.TException {
|
| - |
|
245403 |
// check for required fields
|
| - |
|
245404 |
}
|
| - |
|
245405 |
|
| - |
|
245406 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| - |
|
245407 |
try {
|
| - |
|
245408 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
| - |
|
245409 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
245410 |
throw new java.io.IOException(te);
|
| - |
|
245411 |
}
|
| - |
|
245412 |
}
|
| - |
|
245413 |
|
| - |
|
245414 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| - |
|
245415 |
try {
|
| - |
|
245416 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| - |
|
245417 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
245418 |
throw new java.io.IOException(te);
|
| - |
|
245419 |
}
|
| - |
|
245420 |
}
|
| - |
|
245421 |
|
| - |
|
245422 |
}
|
| - |
|
245423 |
|
| - |
|
245424 |
public static class addShipmentLogisticDetail_args implements org.apache.thrift.TBase<addShipmentLogisticDetail_args, addShipmentLogisticDetail_args._Fields>, java.io.Serializable, Cloneable {
|
| - |
|
245425 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addShipmentLogisticDetail_args");
|
| - |
|
245426 |
|
| - |
|
245427 |
private static final org.apache.thrift.protocol.TField SHIPMENT_LOGISTICS_COST_DETAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("shipmentLogisticsCostDetail", org.apache.thrift.protocol.TType.STRUCT, (short)1);
|
| - |
|
245428 |
|
| - |
|
245429 |
private ShipmentLogisticsCostDetail shipmentLogisticsCostDetail; // required
|
| - |
|
245430 |
|
| - |
|
245431 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| - |
|
245432 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
245433 |
SHIPMENT_LOGISTICS_COST_DETAIL((short)1, "shipmentLogisticsCostDetail");
|
| - |
|
245434 |
|
| - |
|
245435 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| - |
|
245436 |
|
| - |
|
245437 |
static {
|
| - |
|
245438 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| - |
|
245439 |
byName.put(field.getFieldName(), field);
|
| - |
|
245440 |
}
|
| - |
|
245441 |
}
|
| - |
|
245442 |
|
| - |
|
245443 |
/**
|
| - |
|
245444 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| - |
|
245445 |
*/
|
| - |
|
245446 |
public static _Fields findByThriftId(int fieldId) {
|
| - |
|
245447 |
switch(fieldId) {
|
| - |
|
245448 |
case 1: // SHIPMENT_LOGISTICS_COST_DETAIL
|
| - |
|
245449 |
return SHIPMENT_LOGISTICS_COST_DETAIL;
|
| - |
|
245450 |
default:
|
| - |
|
245451 |
return null;
|
| - |
|
245452 |
}
|
| - |
|
245453 |
}
|
| - |
|
245454 |
|
| - |
|
245455 |
/**
|
| - |
|
245456 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
| - |
|
245457 |
* if it is not found.
|
| - |
|
245458 |
*/
|
| - |
|
245459 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
| - |
|
245460 |
_Fields fields = findByThriftId(fieldId);
|
| - |
|
245461 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
| - |
|
245462 |
return fields;
|
| - |
|
245463 |
}
|
| - |
|
245464 |
|
| - |
|
245465 |
/**
|
| - |
|
245466 |
* Find the _Fields constant that matches name, or null if its not found.
|
| - |
|
245467 |
*/
|
| - |
|
245468 |
public static _Fields findByName(String name) {
|
| - |
|
245469 |
return byName.get(name);
|
| - |
|
245470 |
}
|
| - |
|
245471 |
|
| - |
|
245472 |
private final short _thriftId;
|
| - |
|
245473 |
private final String _fieldName;
|
| - |
|
245474 |
|
| - |
|
245475 |
_Fields(short thriftId, String fieldName) {
|
| - |
|
245476 |
_thriftId = thriftId;
|
| - |
|
245477 |
_fieldName = fieldName;
|
| - |
|
245478 |
}
|
| - |
|
245479 |
|
| - |
|
245480 |
public short getThriftFieldId() {
|
| - |
|
245481 |
return _thriftId;
|
| - |
|
245482 |
}
|
| - |
|
245483 |
|
| - |
|
245484 |
public String getFieldName() {
|
| - |
|
245485 |
return _fieldName;
|
| - |
|
245486 |
}
|
| - |
|
245487 |
}
|
| - |
|
245488 |
|
| - |
|
245489 |
// isset id assignments
|
| - |
|
245490 |
|
| - |
|
245491 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| - |
|
245492 |
static {
|
| - |
|
245493 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| - |
|
245494 |
tmpMap.put(_Fields.SHIPMENT_LOGISTICS_COST_DETAIL, new org.apache.thrift.meta_data.FieldMetaData("shipmentLogisticsCostDetail", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
245495 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ShipmentLogisticsCostDetail.class)));
|
| - |
|
245496 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| - |
|
245497 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addShipmentLogisticDetail_args.class, metaDataMap);
|
| - |
|
245498 |
}
|
| - |
|
245499 |
|
| - |
|
245500 |
public addShipmentLogisticDetail_args() {
|
| - |
|
245501 |
}
|
| - |
|
245502 |
|
| - |
|
245503 |
public addShipmentLogisticDetail_args(
|
| - |
|
245504 |
ShipmentLogisticsCostDetail shipmentLogisticsCostDetail)
|
| - |
|
245505 |
{
|
| - |
|
245506 |
this();
|
| - |
|
245507 |
this.shipmentLogisticsCostDetail = shipmentLogisticsCostDetail;
|
| - |
|
245508 |
}
|
| - |
|
245509 |
|
| - |
|
245510 |
/**
|
| - |
|
245511 |
* Performs a deep copy on <i>other</i>.
|
| - |
|
245512 |
*/
|
| - |
|
245513 |
public addShipmentLogisticDetail_args(addShipmentLogisticDetail_args other) {
|
| - |
|
245514 |
if (other.isSetShipmentLogisticsCostDetail()) {
|
| - |
|
245515 |
this.shipmentLogisticsCostDetail = new ShipmentLogisticsCostDetail(other.shipmentLogisticsCostDetail);
|
| - |
|
245516 |
}
|
| - |
|
245517 |
}
|
| - |
|
245518 |
|
| - |
|
245519 |
public addShipmentLogisticDetail_args deepCopy() {
|
| - |
|
245520 |
return new addShipmentLogisticDetail_args(this);
|
| - |
|
245521 |
}
|
| - |
|
245522 |
|
| - |
|
245523 |
@Override
|
| - |
|
245524 |
public void clear() {
|
| - |
|
245525 |
this.shipmentLogisticsCostDetail = null;
|
| - |
|
245526 |
}
|
| - |
|
245527 |
|
| - |
|
245528 |
public ShipmentLogisticsCostDetail getShipmentLogisticsCostDetail() {
|
| - |
|
245529 |
return this.shipmentLogisticsCostDetail;
|
| - |
|
245530 |
}
|
| - |
|
245531 |
|
| - |
|
245532 |
public void setShipmentLogisticsCostDetail(ShipmentLogisticsCostDetail shipmentLogisticsCostDetail) {
|
| - |
|
245533 |
this.shipmentLogisticsCostDetail = shipmentLogisticsCostDetail;
|
| - |
|
245534 |
}
|
| - |
|
245535 |
|
| - |
|
245536 |
public void unsetShipmentLogisticsCostDetail() {
|
| - |
|
245537 |
this.shipmentLogisticsCostDetail = null;
|
| - |
|
245538 |
}
|
| - |
|
245539 |
|
| - |
|
245540 |
/** Returns true if field shipmentLogisticsCostDetail is set (has been assigned a value) and false otherwise */
|
| - |
|
245541 |
public boolean isSetShipmentLogisticsCostDetail() {
|
| - |
|
245542 |
return this.shipmentLogisticsCostDetail != null;
|
| - |
|
245543 |
}
|
| - |
|
245544 |
|
| - |
|
245545 |
public void setShipmentLogisticsCostDetailIsSet(boolean value) {
|
| - |
|
245546 |
if (!value) {
|
| - |
|
245547 |
this.shipmentLogisticsCostDetail = null;
|
| - |
|
245548 |
}
|
| - |
|
245549 |
}
|
| - |
|
245550 |
|
| - |
|
245551 |
public void setFieldValue(_Fields field, Object value) {
|
| - |
|
245552 |
switch (field) {
|
| - |
|
245553 |
case SHIPMENT_LOGISTICS_COST_DETAIL:
|
| - |
|
245554 |
if (value == null) {
|
| - |
|
245555 |
unsetShipmentLogisticsCostDetail();
|
| - |
|
245556 |
} else {
|
| - |
|
245557 |
setShipmentLogisticsCostDetail((ShipmentLogisticsCostDetail)value);
|
| - |
|
245558 |
}
|
| - |
|
245559 |
break;
|
| - |
|
245560 |
|
| - |
|
245561 |
}
|
| - |
|
245562 |
}
|
| - |
|
245563 |
|
| - |
|
245564 |
public Object getFieldValue(_Fields field) {
|
| - |
|
245565 |
switch (field) {
|
| - |
|
245566 |
case SHIPMENT_LOGISTICS_COST_DETAIL:
|
| - |
|
245567 |
return getShipmentLogisticsCostDetail();
|
| - |
|
245568 |
|
| - |
|
245569 |
}
|
| - |
|
245570 |
throw new IllegalStateException();
|
| - |
|
245571 |
}
|
| - |
|
245572 |
|
| - |
|
245573 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| - |
|
245574 |
public boolean isSet(_Fields field) {
|
| - |
|
245575 |
if (field == null) {
|
| - |
|
245576 |
throw new IllegalArgumentException();
|
| - |
|
245577 |
}
|
| - |
|
245578 |
|
| - |
|
245579 |
switch (field) {
|
| - |
|
245580 |
case SHIPMENT_LOGISTICS_COST_DETAIL:
|
| - |
|
245581 |
return isSetShipmentLogisticsCostDetail();
|
| - |
|
245582 |
}
|
| - |
|
245583 |
throw new IllegalStateException();
|
| - |
|
245584 |
}
|
| - |
|
245585 |
|
| - |
|
245586 |
@Override
|
| - |
|
245587 |
public boolean equals(Object that) {
|
| - |
|
245588 |
if (that == null)
|
| - |
|
245589 |
return false;
|
| - |
|
245590 |
if (that instanceof addShipmentLogisticDetail_args)
|
| - |
|
245591 |
return this.equals((addShipmentLogisticDetail_args)that);
|
| - |
|
245592 |
return false;
|
| - |
|
245593 |
}
|
| - |
|
245594 |
|
| - |
|
245595 |
public boolean equals(addShipmentLogisticDetail_args that) {
|
| - |
|
245596 |
if (that == null)
|
| - |
|
245597 |
return false;
|
| - |
|
245598 |
|
| - |
|
245599 |
boolean this_present_shipmentLogisticsCostDetail = true && this.isSetShipmentLogisticsCostDetail();
|
| - |
|
245600 |
boolean that_present_shipmentLogisticsCostDetail = true && that.isSetShipmentLogisticsCostDetail();
|
| - |
|
245601 |
if (this_present_shipmentLogisticsCostDetail || that_present_shipmentLogisticsCostDetail) {
|
| - |
|
245602 |
if (!(this_present_shipmentLogisticsCostDetail && that_present_shipmentLogisticsCostDetail))
|
| - |
|
245603 |
return false;
|
| - |
|
245604 |
if (!this.shipmentLogisticsCostDetail.equals(that.shipmentLogisticsCostDetail))
|
| - |
|
245605 |
return false;
|
| - |
|
245606 |
}
|
| - |
|
245607 |
|
| - |
|
245608 |
return true;
|
| - |
|
245609 |
}
|
| - |
|
245610 |
|
| - |
|
245611 |
@Override
|
| - |
|
245612 |
public int hashCode() {
|
| - |
|
245613 |
return 0;
|
| - |
|
245614 |
}
|
| - |
|
245615 |
|
| - |
|
245616 |
public int compareTo(addShipmentLogisticDetail_args other) {
|
| - |
|
245617 |
if (!getClass().equals(other.getClass())) {
|
| - |
|
245618 |
return getClass().getName().compareTo(other.getClass().getName());
|
| - |
|
245619 |
}
|
| - |
|
245620 |
|
| - |
|
245621 |
int lastComparison = 0;
|
| - |
|
245622 |
addShipmentLogisticDetail_args typedOther = (addShipmentLogisticDetail_args)other;
|
| - |
|
245623 |
|
| - |
|
245624 |
lastComparison = Boolean.valueOf(isSetShipmentLogisticsCostDetail()).compareTo(typedOther.isSetShipmentLogisticsCostDetail());
|
| - |
|
245625 |
if (lastComparison != 0) {
|
| - |
|
245626 |
return lastComparison;
|
| - |
|
245627 |
}
|
| - |
|
245628 |
if (isSetShipmentLogisticsCostDetail()) {
|
| - |
|
245629 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shipmentLogisticsCostDetail, typedOther.shipmentLogisticsCostDetail);
|
| - |
|
245630 |
if (lastComparison != 0) {
|
| - |
|
245631 |
return lastComparison;
|
| - |
|
245632 |
}
|
| - |
|
245633 |
}
|
| - |
|
245634 |
return 0;
|
| - |
|
245635 |
}
|
| - |
|
245636 |
|
| - |
|
245637 |
public _Fields fieldForId(int fieldId) {
|
| - |
|
245638 |
return _Fields.findByThriftId(fieldId);
|
| - |
|
245639 |
}
|
| - |
|
245640 |
|
| - |
|
245641 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
| - |
|
245642 |
org.apache.thrift.protocol.TField field;
|
| - |
|
245643 |
iprot.readStructBegin();
|
| - |
|
245644 |
while (true)
|
| - |
|
245645 |
{
|
| - |
|
245646 |
field = iprot.readFieldBegin();
|
| - |
|
245647 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| - |
|
245648 |
break;
|
| - |
|
245649 |
}
|
| - |
|
245650 |
switch (field.id) {
|
| - |
|
245651 |
case 1: // SHIPMENT_LOGISTICS_COST_DETAIL
|
| - |
|
245652 |
if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
|
| - |
|
245653 |
this.shipmentLogisticsCostDetail = new ShipmentLogisticsCostDetail();
|
| - |
|
245654 |
this.shipmentLogisticsCostDetail.read(iprot);
|
| - |
|
245655 |
} else {
|
| - |
|
245656 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
245657 |
}
|
| - |
|
245658 |
break;
|
| - |
|
245659 |
default:
|
| - |
|
245660 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
245661 |
}
|
| - |
|
245662 |
iprot.readFieldEnd();
|
| - |
|
245663 |
}
|
| - |
|
245664 |
iprot.readStructEnd();
|
| - |
|
245665 |
validate();
|
| - |
|
245666 |
}
|
| - |
|
245667 |
|
| - |
|
245668 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| - |
|
245669 |
validate();
|
| - |
|
245670 |
|
| - |
|
245671 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
245672 |
if (this.shipmentLogisticsCostDetail != null) {
|
| - |
|
245673 |
oprot.writeFieldBegin(SHIPMENT_LOGISTICS_COST_DETAIL_FIELD_DESC);
|
| - |
|
245674 |
this.shipmentLogisticsCostDetail.write(oprot);
|
| - |
|
245675 |
oprot.writeFieldEnd();
|
| - |
|
245676 |
}
|
| - |
|
245677 |
oprot.writeFieldStop();
|
| - |
|
245678 |
oprot.writeStructEnd();
|
| - |
|
245679 |
}
|
| - |
|
245680 |
|
| - |
|
245681 |
@Override
|
| - |
|
245682 |
public String toString() {
|
| - |
|
245683 |
StringBuilder sb = new StringBuilder("addShipmentLogisticDetail_args(");
|
| - |
|
245684 |
boolean first = true;
|
| - |
|
245685 |
|
| - |
|
245686 |
sb.append("shipmentLogisticsCostDetail:");
|
| - |
|
245687 |
if (this.shipmentLogisticsCostDetail == null) {
|
| - |
|
245688 |
sb.append("null");
|
| - |
|
245689 |
} else {
|
| - |
|
245690 |
sb.append(this.shipmentLogisticsCostDetail);
|
| - |
|
245691 |
}
|
| - |
|
245692 |
first = false;
|
| - |
|
245693 |
sb.append(")");
|
| - |
|
245694 |
return sb.toString();
|
| - |
|
245695 |
}
|
| - |
|
245696 |
|
| - |
|
245697 |
public void validate() throws org.apache.thrift.TException {
|
| - |
|
245698 |
// check for required fields
|
| - |
|
245699 |
}
|
| - |
|
245700 |
|
| - |
|
245701 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| - |
|
245702 |
try {
|
| - |
|
245703 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
| - |
|
245704 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
245705 |
throw new java.io.IOException(te);
|
| - |
|
245706 |
}
|
| - |
|
245707 |
}
|
| - |
|
245708 |
|
| - |
|
245709 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| - |
|
245710 |
try {
|
| - |
|
245711 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| - |
|
245712 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
245713 |
throw new java.io.IOException(te);
|
| - |
|
245714 |
}
|
| - |
|
245715 |
}
|
| - |
|
245716 |
|
| - |
|
245717 |
}
|
| - |
|
245718 |
|
| - |
|
245719 |
public static class addShipmentLogisticDetail_result implements org.apache.thrift.TBase<addShipmentLogisticDetail_result, addShipmentLogisticDetail_result._Fields>, java.io.Serializable, Cloneable {
|
| - |
|
245720 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addShipmentLogisticDetail_result");
|
| - |
|
245721 |
|
| - |
|
245722 |
|
| - |
|
245723 |
|
| - |
|
245724 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| - |
|
245725 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
245726 |
;
|
| - |
|
245727 |
|
| - |
|
245728 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| - |
|
245729 |
|
| - |
|
245730 |
static {
|
| - |
|
245731 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| - |
|
245732 |
byName.put(field.getFieldName(), field);
|
| - |
|
245733 |
}
|
| - |
|
245734 |
}
|
| - |
|
245735 |
|
| - |
|
245736 |
/**
|
| - |
|
245737 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| - |
|
245738 |
*/
|
| - |
|
245739 |
public static _Fields findByThriftId(int fieldId) {
|
| - |
|
245740 |
switch(fieldId) {
|
| - |
|
245741 |
default:
|
| - |
|
245742 |
return null;
|
| - |
|
245743 |
}
|
| - |
|
245744 |
}
|
| - |
|
245745 |
|
| - |
|
245746 |
/**
|
| - |
|
245747 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
| - |
|
245748 |
* if it is not found.
|
| - |
|
245749 |
*/
|
| - |
|
245750 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
| - |
|
245751 |
_Fields fields = findByThriftId(fieldId);
|
| - |
|
245752 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
| - |
|
245753 |
return fields;
|
| - |
|
245754 |
}
|
| - |
|
245755 |
|
| - |
|
245756 |
/**
|
| - |
|
245757 |
* Find the _Fields constant that matches name, or null if its not found.
|
| - |
|
245758 |
*/
|
| - |
|
245759 |
public static _Fields findByName(String name) {
|
| - |
|
245760 |
return byName.get(name);
|
| - |
|
245761 |
}
|
| - |
|
245762 |
|
| - |
|
245763 |
private final short _thriftId;
|
| - |
|
245764 |
private final String _fieldName;
|
| - |
|
245765 |
|
| - |
|
245766 |
_Fields(short thriftId, String fieldName) {
|
| - |
|
245767 |
_thriftId = thriftId;
|
| - |
|
245768 |
_fieldName = fieldName;
|
| - |
|
245769 |
}
|
| - |
|
245770 |
|
| - |
|
245771 |
public short getThriftFieldId() {
|
| - |
|
245772 |
return _thriftId;
|
| - |
|
245773 |
}
|
| - |
|
245774 |
|
| - |
|
245775 |
public String getFieldName() {
|
| - |
|
245776 |
return _fieldName;
|
| - |
|
245777 |
}
|
| - |
|
245778 |
}
|
| - |
|
245779 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| - |
|
245780 |
static {
|
| - |
|
245781 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| - |
|
245782 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| - |
|
245783 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addShipmentLogisticDetail_result.class, metaDataMap);
|
| - |
|
245784 |
}
|
| - |
|
245785 |
|
| - |
|
245786 |
public addShipmentLogisticDetail_result() {
|
| - |
|
245787 |
}
|
| - |
|
245788 |
|
| - |
|
245789 |
/**
|
| - |
|
245790 |
* Performs a deep copy on <i>other</i>.
|
| - |
|
245791 |
*/
|
| - |
|
245792 |
public addShipmentLogisticDetail_result(addShipmentLogisticDetail_result other) {
|
| - |
|
245793 |
}
|
| - |
|
245794 |
|
| - |
|
245795 |
public addShipmentLogisticDetail_result deepCopy() {
|
| - |
|
245796 |
return new addShipmentLogisticDetail_result(this);
|
| - |
|
245797 |
}
|
| - |
|
245798 |
|
| - |
|
245799 |
@Override
|
| - |
|
245800 |
public void clear() {
|
| - |
|
245801 |
}
|
| - |
|
245802 |
|
| - |
|
245803 |
public void setFieldValue(_Fields field, Object value) {
|
| - |
|
245804 |
switch (field) {
|
| - |
|
245805 |
}
|
| - |
|
245806 |
}
|
| - |
|
245807 |
|
| - |
|
245808 |
public Object getFieldValue(_Fields field) {
|
| - |
|
245809 |
switch (field) {
|
| - |
|
245810 |
}
|
| - |
|
245811 |
throw new IllegalStateException();
|
| - |
|
245812 |
}
|
| - |
|
245813 |
|
| - |
|
245814 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| - |
|
245815 |
public boolean isSet(_Fields field) {
|
| - |
|
245816 |
if (field == null) {
|
| - |
|
245817 |
throw new IllegalArgumentException();
|
| - |
|
245818 |
}
|
| - |
|
245819 |
|
| - |
|
245820 |
switch (field) {
|
| - |
|
245821 |
}
|
| - |
|
245822 |
throw new IllegalStateException();
|
| - |
|
245823 |
}
|
| - |
|
245824 |
|
| - |
|
245825 |
@Override
|
| - |
|
245826 |
public boolean equals(Object that) {
|
| - |
|
245827 |
if (that == null)
|
| - |
|
245828 |
return false;
|
| - |
|
245829 |
if (that instanceof addShipmentLogisticDetail_result)
|
| - |
|
245830 |
return this.equals((addShipmentLogisticDetail_result)that);
|
| - |
|
245831 |
return false;
|
| - |
|
245832 |
}
|
| - |
|
245833 |
|
| - |
|
245834 |
public boolean equals(addShipmentLogisticDetail_result that) {
|
| - |
|
245835 |
if (that == null)
|
| - |
|
245836 |
return false;
|
| - |
|
245837 |
|
| - |
|
245838 |
return true;
|
| - |
|
245839 |
}
|
| - |
|
245840 |
|
| - |
|
245841 |
@Override
|
| - |
|
245842 |
public int hashCode() {
|
| - |
|
245843 |
return 0;
|
| - |
|
245844 |
}
|
| - |
|
245845 |
|
| - |
|
245846 |
public int compareTo(addShipmentLogisticDetail_result other) {
|
| - |
|
245847 |
if (!getClass().equals(other.getClass())) {
|
| - |
|
245848 |
return getClass().getName().compareTo(other.getClass().getName());
|
| - |
|
245849 |
}
|
| - |
|
245850 |
|
| - |
|
245851 |
int lastComparison = 0;
|
| - |
|
245852 |
addShipmentLogisticDetail_result typedOther = (addShipmentLogisticDetail_result)other;
|
| - |
|
245853 |
|
| - |
|
245854 |
return 0;
|
| - |
|
245855 |
}
|
| - |
|
245856 |
|
| - |
|
245857 |
public _Fields fieldForId(int fieldId) {
|
| - |
|
245858 |
return _Fields.findByThriftId(fieldId);
|
| - |
|
245859 |
}
|
| - |
|
245860 |
|
| - |
|
245861 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
| - |
|
245862 |
org.apache.thrift.protocol.TField field;
|
| - |
|
245863 |
iprot.readStructBegin();
|
| - |
|
245864 |
while (true)
|
| - |
|
245865 |
{
|
| - |
|
245866 |
field = iprot.readFieldBegin();
|
| - |
|
245867 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| - |
|
245868 |
break;
|
| - |
|
245869 |
}
|
| - |
|
245870 |
switch (field.id) {
|
| - |
|
245871 |
default:
|
| - |
|
245872 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
245873 |
}
|
| - |
|
245874 |
iprot.readFieldEnd();
|
| - |
|
245875 |
}
|
| - |
|
245876 |
iprot.readStructEnd();
|
| - |
|
245877 |
validate();
|
| - |
|
245878 |
}
|
| - |
|
245879 |
|
| - |
|
245880 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| - |
|
245881 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
245882 |
|
| - |
|
245883 |
oprot.writeFieldStop();
|
| - |
|
245884 |
oprot.writeStructEnd();
|
| - |
|
245885 |
}
|
| - |
|
245886 |
|
| - |
|
245887 |
@Override
|
| - |
|
245888 |
public String toString() {
|
| - |
|
245889 |
StringBuilder sb = new StringBuilder("addShipmentLogisticDetail_result(");
|
| - |
|
245890 |
boolean first = true;
|
| - |
|
245891 |
|
| - |
|
245892 |
sb.append(")");
|
| - |
|
245893 |
return sb.toString();
|
| - |
|
245894 |
}
|
| - |
|
245895 |
|
| - |
|
245896 |
public void validate() throws org.apache.thrift.TException {
|
| 245422 |
// check for required fields
|
245897 |
// check for required fields
|
| 245423 |
}
|
245898 |
}
|
| 245424 |
|
245899 |
|
| 245425 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
245900 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| 245426 |
try {
|
245901 |
try {
|