Subversion Repositories SmartDukaan

Rev

Rev 20025 | Rev 20032 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20025 Rev 20028
Line 1228... Line 1228...
1228
 
1228
 
1229
    public List<ReturnOrderInfo> getEligibleReturnOrdersForPickup(long customerId) throws org.apache.thrift.TException;
1229
    public List<ReturnOrderInfo> getEligibleReturnOrdersForPickup(long customerId) throws org.apache.thrift.TException;
1230
 
1230
 
1231
    public boolean validateReturnTransaction(long customerId, Map<Long,Long> returnOrdersMap, String itemCondition, boolean overrideWarranty) throws org.apache.thrift.TException;
1231
    public boolean validateReturnTransaction(long customerId, Map<Long,Long> returnOrdersMap, String itemCondition, boolean overrideWarranty) throws org.apache.thrift.TException;
1232
 
1232
 
1233
    public boolean markReturnNotRequiredOrdersProcessed(long returnTransactionId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1234
 
-
 
1235
    public ReturnPickupRequest getReturnPickupRequest(long returnPickupId) throws org.apache.thrift.TException;
-
 
1236
 
-
 
1237
    public List<PendingStoreOrder> getPendingStoreOrders(long storeId) throws org.apache.thrift.TException;
1233
    public List<PendingStoreOrder> getPendingStoreOrders(long storeId) throws org.apache.thrift.TException;
1238
 
1234
 
1239
    public SellerInfo getSellerInfo(long sellerId) throws org.apache.thrift.TException;
1235
    public SellerInfo getSellerInfo(long sellerId) throws org.apache.thrift.TException;
1240
 
1236
 
1241
    public WarehouseAddress getWarehouseAddress(long address_id) throws org.apache.thrift.TException;
1237
    public WarehouseAddress getWarehouseAddress(long address_id) throws org.apache.thrift.TException;
1242
 
1238
 
-
 
1239
    public boolean markReturnNotRequiredOrdersProcessed(ReturnOrderInfo returnOrderInfo) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1240
 
-
 
1241
    public ReturnPickupRequest getReturnPickupRequest(long returnPickupId) throws org.apache.thrift.TException;
-
 
1242
 
-
 
1243
    public ReturnOrderInfo splitReturnOrderInfo(long returnOrderId, long splitOrderQty) throws org.apache.thrift.TException;
-
 
1244
 
1243
    public BuyerInfo getBuyerByWarehouse(long warehouse_id) throws org.apache.thrift.TException;
1245
    public boolean deleteReturnOrder(long returnOrderId) throws org.apache.thrift.TException;
-
 
1246
 
-
 
1247
    public boolean refundReturnOrder(ReturnOrderInfo returnOrderInfo, List<Attribute> attributes) throws org.apache.thrift.TException;
-
 
1248
 
-
 
1249
    public List<Long> addShipmentDelay(List<ShipmentDelayDetail> shipmentDelayDetail) throws org.apache.thrift.TException;
1244
 
1250
 
1245
  }
1251
  }
1246
 
1252
 
1247
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1253
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1248
 
1254
 
Line 1836... Line 1842...
1836
 
1842
 
1837
    public void getEligibleReturnOrdersForPickup(long customerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getEligibleReturnOrdersForPickup_call> resultHandler) throws org.apache.thrift.TException;
1843
    public void getEligibleReturnOrdersForPickup(long customerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getEligibleReturnOrdersForPickup_call> resultHandler) throws org.apache.thrift.TException;
1838
 
1844
 
1839
    public void validateReturnTransaction(long customerId, Map<Long,Long> returnOrdersMap, String itemCondition, boolean overrideWarranty, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateReturnTransaction_call> resultHandler) throws org.apache.thrift.TException;
1845
    public void validateReturnTransaction(long customerId, Map<Long,Long> returnOrdersMap, String itemCondition, boolean overrideWarranty, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateReturnTransaction_call> resultHandler) throws org.apache.thrift.TException;
1840
 
1846
 
1841
    public void markReturnNotRequiredOrdersProcessed(long returnTransactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markReturnNotRequiredOrdersProcessed_call> resultHandler) throws org.apache.thrift.TException;
-
 
1842
 
-
 
1843
    public void getReturnPickupRequest(long returnPickupId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnPickupRequest_call> resultHandler) throws org.apache.thrift.TException;
-
 
1844
 
-
 
1845
    public void getPendingStoreOrders(long storeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPendingStoreOrders_call> resultHandler) throws org.apache.thrift.TException;
1847
    public void getPendingStoreOrders(long storeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPendingStoreOrders_call> resultHandler) throws org.apache.thrift.TException;
1846
 
1848
 
1847
    public void getSellerInfo(long sellerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSellerInfo_call> resultHandler) throws org.apache.thrift.TException;
1849
    public void getSellerInfo(long sellerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSellerInfo_call> resultHandler) throws org.apache.thrift.TException;
1848
 
1850
 
1849
    public void getWarehouseAddress(long address_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getWarehouseAddress_call> resultHandler) throws org.apache.thrift.TException;
1851
    public void getWarehouseAddress(long address_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getWarehouseAddress_call> resultHandler) throws org.apache.thrift.TException;
1850
 
1852
 
-
 
1853
    public void markReturnNotRequiredOrdersProcessed(ReturnOrderInfo returnOrderInfo, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markReturnNotRequiredOrdersProcessed_call> resultHandler) throws org.apache.thrift.TException;
-
 
1854
 
1851
    public void getBuyerByWarehouse(long warehouse_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBuyerByWarehouse_call> resultHandler) throws org.apache.thrift.TException;
1855
    public void getReturnPickupRequest(long returnPickupId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnPickupRequest_call> resultHandler) throws org.apache.thrift.TException;
-
 
1856
 
-
 
1857
    public void splitReturnOrderInfo(long returnOrderId, long splitOrderQty, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.splitReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException;
-
 
1858
 
-
 
1859
    public void deleteReturnOrder(long returnOrderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteReturnOrder_call> resultHandler) throws org.apache.thrift.TException;
-
 
1860
 
-
 
1861
    public void refundReturnOrder(ReturnOrderInfo returnOrderInfo, List<Attribute> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.refundReturnOrder_call> resultHandler) throws org.apache.thrift.TException;
-
 
1862
 
-
 
1863
    public void addShipmentDelay(List<ShipmentDelayDetail> shipmentDelayDetail, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addShipmentDelay_call> resultHandler) throws org.apache.thrift.TException;
1852
 
1864
 
1853
  }
1865
  }
1854
 
1866
 
1855
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1867
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1856
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1868
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
Line 9211... Line 9223...
9211
        return result.success;
9223
        return result.success;
9212
      }
9224
      }
9213
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "validateReturnTransaction failed: unknown result");
9225
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "validateReturnTransaction failed: unknown result");
9214
    }
9226
    }
9215
 
9227
 
9216
    public boolean markReturnNotRequiredOrdersProcessed(long returnTransactionId) throws TransactionServiceException, org.apache.thrift.TException
9228
    public List<PendingStoreOrder> getPendingStoreOrders(long storeId) throws org.apache.thrift.TException
-
 
9229
    {
-
 
9230
      send_getPendingStoreOrders(storeId);
-
 
9231
      return recv_getPendingStoreOrders();
-
 
9232
    }
-
 
9233
 
-
 
9234
    public void send_getPendingStoreOrders(long storeId) throws org.apache.thrift.TException
9217
    {
9235
    {
-
 
9236
      getPendingStoreOrders_args args = new getPendingStoreOrders_args();
-
 
9237
      args.setStoreId(storeId);
-
 
9238
      sendBase("getPendingStoreOrders", args);
-
 
9239
    }
-
 
9240
 
-
 
9241
    public List<PendingStoreOrder> recv_getPendingStoreOrders() throws org.apache.thrift.TException
-
 
9242
    {
-
 
9243
      getPendingStoreOrders_result result = new getPendingStoreOrders_result();
-
 
9244
      receiveBase(result, "getPendingStoreOrders");
-
 
9245
      if (result.isSetSuccess()) {
-
 
9246
        return result.success;
-
 
9247
      }
-
 
9248
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPendingStoreOrders failed: unknown result");
-
 
9249
    }
-
 
9250
 
-
 
9251
    public SellerInfo getSellerInfo(long sellerId) throws org.apache.thrift.TException
-
 
9252
    {
-
 
9253
      send_getSellerInfo(sellerId);
-
 
9254
      return recv_getSellerInfo();
-
 
9255
    }
-
 
9256
 
-
 
9257
    public void send_getSellerInfo(long sellerId) throws org.apache.thrift.TException
-
 
9258
    {
-
 
9259
      getSellerInfo_args args = new getSellerInfo_args();
-
 
9260
      args.setSellerId(sellerId);
-
 
9261
      sendBase("getSellerInfo", args);
-
 
9262
    }
-
 
9263
 
-
 
9264
    public SellerInfo recv_getSellerInfo() throws org.apache.thrift.TException
-
 
9265
    {
-
 
9266
      getSellerInfo_result result = new getSellerInfo_result();
-
 
9267
      receiveBase(result, "getSellerInfo");
-
 
9268
      if (result.isSetSuccess()) {
-
 
9269
        return result.success;
-
 
9270
      }
-
 
9271
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSellerInfo failed: unknown result");
-
 
9272
    }
-
 
9273
 
-
 
9274
    public WarehouseAddress getWarehouseAddress(long address_id) throws org.apache.thrift.TException
-
 
9275
    {
-
 
9276
      send_getWarehouseAddress(address_id);
-
 
9277
      return recv_getWarehouseAddress();
-
 
9278
    }
-
 
9279
 
-
 
9280
    public void send_getWarehouseAddress(long address_id) throws org.apache.thrift.TException
-
 
9281
    {
-
 
9282
      getWarehouseAddress_args args = new getWarehouseAddress_args();
-
 
9283
      args.setAddress_id(address_id);
-
 
9284
      sendBase("getWarehouseAddress", args);
-
 
9285
    }
-
 
9286
 
-
 
9287
    public WarehouseAddress recv_getWarehouseAddress() throws org.apache.thrift.TException
-
 
9288
    {
-
 
9289
      getWarehouseAddress_result result = new getWarehouseAddress_result();
-
 
9290
      receiveBase(result, "getWarehouseAddress");
-
 
9291
      if (result.isSetSuccess()) {
-
 
9292
        return result.success;
-
 
9293
      }
-
 
9294
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getWarehouseAddress failed: unknown result");
-
 
9295
    }
-
 
9296
 
-
 
9297
    public boolean markReturnNotRequiredOrdersProcessed(ReturnOrderInfo returnOrderInfo) throws TransactionServiceException, org.apache.thrift.TException
-
 
9298
    {
9218
      send_markReturnNotRequiredOrdersProcessed(returnTransactionId);
9299
      send_markReturnNotRequiredOrdersProcessed(returnOrderInfo);
9219
      return recv_markReturnNotRequiredOrdersProcessed();
9300
      return recv_markReturnNotRequiredOrdersProcessed();
9220
    }
9301
    }
9221
 
9302
 
9222
    public void send_markReturnNotRequiredOrdersProcessed(long returnTransactionId) throws org.apache.thrift.TException
9303
    public void send_markReturnNotRequiredOrdersProcessed(ReturnOrderInfo returnOrderInfo) throws org.apache.thrift.TException
9223
    {
9304
    {
9224
      markReturnNotRequiredOrdersProcessed_args args = new markReturnNotRequiredOrdersProcessed_args();
9305
      markReturnNotRequiredOrdersProcessed_args args = new markReturnNotRequiredOrdersProcessed_args();
9225
      args.setReturnTransactionId(returnTransactionId);
9306
      args.setReturnOrderInfo(returnOrderInfo);
9226
      sendBase("markReturnNotRequiredOrdersProcessed", args);
9307
      sendBase("markReturnNotRequiredOrdersProcessed", args);
9227
    }
9308
    }
9228
 
9309
 
9229
    public boolean recv_markReturnNotRequiredOrdersProcessed() throws TransactionServiceException, org.apache.thrift.TException
9310
    public boolean recv_markReturnNotRequiredOrdersProcessed() throws TransactionServiceException, org.apache.thrift.TException
9230
    {
9311
    {
Line 9260... Line 9341...
9260
        return result.success;
9341
        return result.success;
9261
      }
9342
      }
9262
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReturnPickupRequest failed: unknown result");
9343
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReturnPickupRequest failed: unknown result");
9263
    }
9344
    }
9264
 
9345
 
9265
    public List<PendingStoreOrder> getPendingStoreOrders(long storeId) throws org.apache.thrift.TException
9346
    public ReturnOrderInfo splitReturnOrderInfo(long returnOrderId, long splitOrderQty) throws org.apache.thrift.TException
9266
    {
9347
    {
9267
      send_getPendingStoreOrders(storeId);
9348
      send_splitReturnOrderInfo(returnOrderId, splitOrderQty);
9268
      return recv_getPendingStoreOrders();
9349
      return recv_splitReturnOrderInfo();
9269
    }
9350
    }
9270
 
9351
 
9271
    public void send_getPendingStoreOrders(long storeId) throws org.apache.thrift.TException
9352
    public void send_splitReturnOrderInfo(long returnOrderId, long splitOrderQty) throws org.apache.thrift.TException
9272
    {
9353
    {
9273
      getPendingStoreOrders_args args = new getPendingStoreOrders_args();
9354
      splitReturnOrderInfo_args args = new splitReturnOrderInfo_args();
9274
      args.setStoreId(storeId);
9355
      args.setReturnOrderId(returnOrderId);
-
 
9356
      args.setSplitOrderQty(splitOrderQty);
9275
      sendBase("getPendingStoreOrders", args);
9357
      sendBase("splitReturnOrderInfo", args);
9276
    }
9358
    }
9277
 
9359
 
9278
    public List<PendingStoreOrder> recv_getPendingStoreOrders() throws org.apache.thrift.TException
9360
    public ReturnOrderInfo recv_splitReturnOrderInfo() throws org.apache.thrift.TException
9279
    {
9361
    {
9280
      getPendingStoreOrders_result result = new getPendingStoreOrders_result();
9362
      splitReturnOrderInfo_result result = new splitReturnOrderInfo_result();
9281
      receiveBase(result, "getPendingStoreOrders");
9363
      receiveBase(result, "splitReturnOrderInfo");
9282
      if (result.isSetSuccess()) {
9364
      if (result.isSetSuccess()) {
9283
        return result.success;
9365
        return result.success;
9284
      }
9366
      }
9285
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPendingStoreOrders failed: unknown result");
9367
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "splitReturnOrderInfo failed: unknown result");
9286
    }
9368
    }
9287
 
9369
 
9288
    public SellerInfo getSellerInfo(long sellerId) throws org.apache.thrift.TException
9370
    public boolean deleteReturnOrder(long returnOrderId) throws org.apache.thrift.TException
9289
    {
9371
    {
9290
      send_getSellerInfo(sellerId);
9372
      send_deleteReturnOrder(returnOrderId);
9291
      return recv_getSellerInfo();
9373
      return recv_deleteReturnOrder();
9292
    }
9374
    }
9293
 
9375
 
9294
    public void send_getSellerInfo(long sellerId) throws org.apache.thrift.TException
9376
    public void send_deleteReturnOrder(long returnOrderId) throws org.apache.thrift.TException
9295
    {
9377
    {
9296
      getSellerInfo_args args = new getSellerInfo_args();
9378
      deleteReturnOrder_args args = new deleteReturnOrder_args();
9297
      args.setSellerId(sellerId);
9379
      args.setReturnOrderId(returnOrderId);
9298
      sendBase("getSellerInfo", args);
9380
      sendBase("deleteReturnOrder", args);
9299
    }
9381
    }
9300
 
9382
 
9301
    public SellerInfo recv_getSellerInfo() throws org.apache.thrift.TException
9383
    public boolean recv_deleteReturnOrder() throws org.apache.thrift.TException
9302
    {
9384
    {
9303
      getSellerInfo_result result = new getSellerInfo_result();
9385
      deleteReturnOrder_result result = new deleteReturnOrder_result();
9304
      receiveBase(result, "getSellerInfo");
9386
      receiveBase(result, "deleteReturnOrder");
9305
      if (result.isSetSuccess()) {
9387
      if (result.isSetSuccess()) {
9306
        return result.success;
9388
        return result.success;
9307
      }
9389
      }
9308
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSellerInfo failed: unknown result");
9390
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteReturnOrder failed: unknown result");
9309
    }
9391
    }
9310
 
9392
 
9311
    public WarehouseAddress getWarehouseAddress(long address_id) throws org.apache.thrift.TException
9393
    public boolean refundReturnOrder(ReturnOrderInfo returnOrderInfo, List<Attribute> attributes) throws org.apache.thrift.TException
9312
    {
9394
    {
9313
      send_getWarehouseAddress(address_id);
9395
      send_refundReturnOrder(returnOrderInfo, attributes);
9314
      return recv_getWarehouseAddress();
9396
      return recv_refundReturnOrder();
9315
    }
9397
    }
9316
 
9398
 
9317
    public void send_getWarehouseAddress(long address_id) throws org.apache.thrift.TException
9399
    public void send_refundReturnOrder(ReturnOrderInfo returnOrderInfo, List<Attribute> attributes) throws org.apache.thrift.TException
9318
    {
9400
    {
9319
      getWarehouseAddress_args args = new getWarehouseAddress_args();
9401
      refundReturnOrder_args args = new refundReturnOrder_args();
-
 
9402
      args.setReturnOrderInfo(returnOrderInfo);
9320
      args.setAddress_id(address_id);
9403
      args.setAttributes(attributes);
9321
      sendBase("getWarehouseAddress", args);
9404
      sendBase("refundReturnOrder", args);
9322
    }
9405
    }
9323
 
9406
 
9324
    public WarehouseAddress recv_getWarehouseAddress() throws org.apache.thrift.TException
9407
    public boolean recv_refundReturnOrder() throws org.apache.thrift.TException
9325
    {
9408
    {
9326
      getWarehouseAddress_result result = new getWarehouseAddress_result();
9409
      refundReturnOrder_result result = new refundReturnOrder_result();
9327
      receiveBase(result, "getWarehouseAddress");
9410
      receiveBase(result, "refundReturnOrder");
9328
      if (result.isSetSuccess()) {
9411
      if (result.isSetSuccess()) {
9329
        return result.success;
9412
        return result.success;
9330
      }
9413
      }
9331
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getWarehouseAddress failed: unknown result");
9414
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "refundReturnOrder failed: unknown result");
9332
    }
9415
    }
9333
 
9416
 
9334
    public BuyerInfo getBuyerByWarehouse(long warehouse_id) throws org.apache.thrift.TException
9417
    public List<Long> addShipmentDelay(List<ShipmentDelayDetail> shipmentDelayDetail) throws org.apache.thrift.TException
9335
    {
9418
    {
9336
      send_getBuyerByWarehouse(warehouse_id);
9419
      send_addShipmentDelay(shipmentDelayDetail);
9337
      return recv_getBuyerByWarehouse();
9420
      return recv_addShipmentDelay();
9338
    }
9421
    }
9339
 
9422
 
9340
    public void send_getBuyerByWarehouse(long warehouse_id) throws org.apache.thrift.TException
9423
    public void send_addShipmentDelay(List<ShipmentDelayDetail> shipmentDelayDetail) throws org.apache.thrift.TException
9341
    {
9424
    {
9342
      getBuyerByWarehouse_args args = new getBuyerByWarehouse_args();
9425
      addShipmentDelay_args args = new addShipmentDelay_args();
9343
      args.setWarehouse_id(warehouse_id);
9426
      args.setShipmentDelayDetail(shipmentDelayDetail);
9344
      sendBase("getBuyerByWarehouse", args);
9427
      sendBase("addShipmentDelay", args);
9345
    }
9428
    }
9346
 
9429
 
9347
    public BuyerInfo recv_getBuyerByWarehouse() throws org.apache.thrift.TException
9430
    public List<Long> recv_addShipmentDelay() throws org.apache.thrift.TException
9348
    {
9431
    {
9349
      getBuyerByWarehouse_result result = new getBuyerByWarehouse_result();
9432
      addShipmentDelay_result result = new addShipmentDelay_result();
9350
      receiveBase(result, "getBuyerByWarehouse");
9433
      receiveBase(result, "addShipmentDelay");
9351
      if (result.isSetSuccess()) {
9434
      if (result.isSetSuccess()) {
9352
        return result.success;
9435
        return result.success;
9353
      }
9436
      }
9354
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBuyerByWarehouse failed: unknown result");
9437
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addShipmentDelay failed: unknown result");
9355
    }
9438
    }
9356
 
9439
 
9357
  }
9440
  }
9358
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
9441
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
9359
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
9442
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
Line 19712... Line 19795...
19712
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
19795
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
19713
        return (new Client(prot)).recv_validateReturnTransaction();
19796
        return (new Client(prot)).recv_validateReturnTransaction();
19714
      }
19797
      }
19715
    }
19798
    }
19716
 
19799
 
-
 
19800
    public void getPendingStoreOrders(long storeId, org.apache.thrift.async.AsyncMethodCallback<getPendingStoreOrders_call> resultHandler) throws org.apache.thrift.TException {
-
 
19801
      checkReady();
-
 
19802
      getPendingStoreOrders_call method_call = new getPendingStoreOrders_call(storeId, resultHandler, this, ___protocolFactory, ___transport);
-
 
19803
      this.___currentMethod = method_call;
-
 
19804
      ___manager.call(method_call);
-
 
19805
    }
-
 
19806
 
-
 
19807
    public static class getPendingStoreOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
19808
      private long storeId;
19717
    public void markReturnNotRequiredOrdersProcessed(long returnTransactionId, org.apache.thrift.async.AsyncMethodCallback<markReturnNotRequiredOrdersProcessed_call> resultHandler) throws org.apache.thrift.TException {
19809
      public getPendingStoreOrders_call(long storeId, org.apache.thrift.async.AsyncMethodCallback<getPendingStoreOrders_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 {
-
 
19810
        super(client, protocolFactory, transport, resultHandler, false);
-
 
19811
        this.storeId = storeId;
-
 
19812
      }
-
 
19813
 
-
 
19814
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
19815
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getPendingStoreOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
19816
        getPendingStoreOrders_args args = new getPendingStoreOrders_args();
-
 
19817
        args.setStoreId(storeId);
-
 
19818
        args.write(prot);
-
 
19819
        prot.writeMessageEnd();
-
 
19820
      }
-
 
19821
 
-
 
19822
      public List<PendingStoreOrder> getResult() throws org.apache.thrift.TException {
-
 
19823
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
19824
          throw new IllegalStateException("Method call not finished!");
-
 
19825
        }
-
 
19826
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
19827
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
19828
        return (new Client(prot)).recv_getPendingStoreOrders();
-
 
19829
      }
-
 
19830
    }
-
 
19831
 
-
 
19832
    public void getSellerInfo(long sellerId, org.apache.thrift.async.AsyncMethodCallback<getSellerInfo_call> resultHandler) throws org.apache.thrift.TException {
-
 
19833
      checkReady();
-
 
19834
      getSellerInfo_call method_call = new getSellerInfo_call(sellerId, resultHandler, this, ___protocolFactory, ___transport);
-
 
19835
      this.___currentMethod = method_call;
-
 
19836
      ___manager.call(method_call);
-
 
19837
    }
-
 
19838
 
-
 
19839
    public static class getSellerInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
19840
      private long sellerId;
-
 
19841
      public getSellerInfo_call(long sellerId, org.apache.thrift.async.AsyncMethodCallback<getSellerInfo_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 {
-
 
19842
        super(client, protocolFactory, transport, resultHandler, false);
-
 
19843
        this.sellerId = sellerId;
-
 
19844
      }
-
 
19845
 
-
 
19846
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
19847
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getSellerInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
19848
        getSellerInfo_args args = new getSellerInfo_args();
-
 
19849
        args.setSellerId(sellerId);
-
 
19850
        args.write(prot);
-
 
19851
        prot.writeMessageEnd();
-
 
19852
      }
-
 
19853
 
-
 
19854
      public SellerInfo getResult() throws org.apache.thrift.TException {
-
 
19855
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
19856
          throw new IllegalStateException("Method call not finished!");
-
 
19857
        }
-
 
19858
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
19859
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
19860
        return (new Client(prot)).recv_getSellerInfo();
-
 
19861
      }
-
 
19862
    }
-
 
19863
 
-
 
19864
    public void getWarehouseAddress(long address_id, org.apache.thrift.async.AsyncMethodCallback<getWarehouseAddress_call> resultHandler) throws org.apache.thrift.TException {
-
 
19865
      checkReady();
-
 
19866
      getWarehouseAddress_call method_call = new getWarehouseAddress_call(address_id, resultHandler, this, ___protocolFactory, ___transport);
-
 
19867
      this.___currentMethod = method_call;
-
 
19868
      ___manager.call(method_call);
-
 
19869
    }
-
 
19870
 
-
 
19871
    public static class getWarehouseAddress_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
19872
      private long address_id;
-
 
19873
      public getWarehouseAddress_call(long address_id, org.apache.thrift.async.AsyncMethodCallback<getWarehouseAddress_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 {
-
 
19874
        super(client, protocolFactory, transport, resultHandler, false);
-
 
19875
        this.address_id = address_id;
-
 
19876
      }
-
 
19877
 
-
 
19878
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
19879
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getWarehouseAddress", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
19880
        getWarehouseAddress_args args = new getWarehouseAddress_args();
-
 
19881
        args.setAddress_id(address_id);
-
 
19882
        args.write(prot);
-
 
19883
        prot.writeMessageEnd();
-
 
19884
      }
-
 
19885
 
-
 
19886
      public WarehouseAddress getResult() throws org.apache.thrift.TException {
-
 
19887
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
19888
          throw new IllegalStateException("Method call not finished!");
-
 
19889
        }
-
 
19890
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
19891
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
19892
        return (new Client(prot)).recv_getWarehouseAddress();
-
 
19893
      }
-
 
19894
    }
-
 
19895
 
-
 
19896
    public void markReturnNotRequiredOrdersProcessed(ReturnOrderInfo returnOrderInfo, org.apache.thrift.async.AsyncMethodCallback<markReturnNotRequiredOrdersProcessed_call> resultHandler) throws org.apache.thrift.TException {
19718
      checkReady();
19897
      checkReady();
19719
      markReturnNotRequiredOrdersProcessed_call method_call = new markReturnNotRequiredOrdersProcessed_call(returnTransactionId, resultHandler, this, ___protocolFactory, ___transport);
19898
      markReturnNotRequiredOrdersProcessed_call method_call = new markReturnNotRequiredOrdersProcessed_call(returnOrderInfo, resultHandler, this, ___protocolFactory, ___transport);
19720
      this.___currentMethod = method_call;
19899
      this.___currentMethod = method_call;
19721
      ___manager.call(method_call);
19900
      ___manager.call(method_call);
19722
    }
19901
    }
19723
 
19902
 
19724
    public static class markReturnNotRequiredOrdersProcessed_call extends org.apache.thrift.async.TAsyncMethodCall {
19903
    public static class markReturnNotRequiredOrdersProcessed_call extends org.apache.thrift.async.TAsyncMethodCall {
19725
      private long returnTransactionId;
19904
      private ReturnOrderInfo returnOrderInfo;
19726
      public markReturnNotRequiredOrdersProcessed_call(long returnTransactionId, org.apache.thrift.async.AsyncMethodCallback<markReturnNotRequiredOrdersProcessed_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 {
19905
      public markReturnNotRequiredOrdersProcessed_call(ReturnOrderInfo returnOrderInfo, org.apache.thrift.async.AsyncMethodCallback<markReturnNotRequiredOrdersProcessed_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 {
19727
        super(client, protocolFactory, transport, resultHandler, false);
19906
        super(client, protocolFactory, transport, resultHandler, false);
19728
        this.returnTransactionId = returnTransactionId;
19907
        this.returnOrderInfo = returnOrderInfo;
19729
      }
19908
      }
19730
 
19909
 
19731
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
19910
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
19732
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markReturnNotRequiredOrdersProcessed", org.apache.thrift.protocol.TMessageType.CALL, 0));
19911
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markReturnNotRequiredOrdersProcessed", org.apache.thrift.protocol.TMessageType.CALL, 0));
19733
        markReturnNotRequiredOrdersProcessed_args args = new markReturnNotRequiredOrdersProcessed_args();
19912
        markReturnNotRequiredOrdersProcessed_args args = new markReturnNotRequiredOrdersProcessed_args();
19734
        args.setReturnTransactionId(returnTransactionId);
19913
        args.setReturnOrderInfo(returnOrderInfo);
19735
        args.write(prot);
19914
        args.write(prot);
19736
        prot.writeMessageEnd();
19915
        prot.writeMessageEnd();
19737
      }
19916
      }
19738
 
19917
 
19739
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
19918
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
Line 19776... Line 19955...
19776
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
19955
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
19777
        return (new Client(prot)).recv_getReturnPickupRequest();
19956
        return (new Client(prot)).recv_getReturnPickupRequest();
19778
      }
19957
      }
19779
    }
19958
    }
19780
 
19959
 
19781
    public void getPendingStoreOrders(long storeId, org.apache.thrift.async.AsyncMethodCallback<getPendingStoreOrders_call> resultHandler) throws org.apache.thrift.TException {
19960
    public void splitReturnOrderInfo(long returnOrderId, long splitOrderQty, org.apache.thrift.async.AsyncMethodCallback<splitReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException {
19782
      checkReady();
19961
      checkReady();
19783
      getPendingStoreOrders_call method_call = new getPendingStoreOrders_call(storeId, resultHandler, this, ___protocolFactory, ___transport);
19962
      splitReturnOrderInfo_call method_call = new splitReturnOrderInfo_call(returnOrderId, splitOrderQty, resultHandler, this, ___protocolFactory, ___transport);
19784
      this.___currentMethod = method_call;
19963
      this.___currentMethod = method_call;
19785
      ___manager.call(method_call);
19964
      ___manager.call(method_call);
19786
    }
19965
    }
19787
 
19966
 
19788
    public static class getPendingStoreOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
19967
    public static class splitReturnOrderInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
19789
      private long storeId;
19968
      private long returnOrderId;
-
 
19969
      private long splitOrderQty;
19790
      public getPendingStoreOrders_call(long storeId, org.apache.thrift.async.AsyncMethodCallback<getPendingStoreOrders_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 {
19970
      public splitReturnOrderInfo_call(long returnOrderId, long splitOrderQty, org.apache.thrift.async.AsyncMethodCallback<splitReturnOrderInfo_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 {
19791
        super(client, protocolFactory, transport, resultHandler, false);
19971
        super(client, protocolFactory, transport, resultHandler, false);
19792
        this.storeId = storeId;
19972
        this.returnOrderId = returnOrderId;
-
 
19973
        this.splitOrderQty = splitOrderQty;
19793
      }
19974
      }
19794
 
19975
 
19795
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
19976
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
19796
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getPendingStoreOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
19977
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("splitReturnOrderInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
19797
        getPendingStoreOrders_args args = new getPendingStoreOrders_args();
19978
        splitReturnOrderInfo_args args = new splitReturnOrderInfo_args();
19798
        args.setStoreId(storeId);
19979
        args.setReturnOrderId(returnOrderId);
-
 
19980
        args.setSplitOrderQty(splitOrderQty);
19799
        args.write(prot);
19981
        args.write(prot);
19800
        prot.writeMessageEnd();
19982
        prot.writeMessageEnd();
19801
      }
19983
      }
19802
 
19984
 
19803
      public List<PendingStoreOrder> getResult() throws org.apache.thrift.TException {
19985
      public ReturnOrderInfo getResult() throws org.apache.thrift.TException {
19804
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
19986
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
19805
          throw new IllegalStateException("Method call not finished!");
19987
          throw new IllegalStateException("Method call not finished!");
19806
        }
19988
        }
19807
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
19989
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
19808
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
19990
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
19809
        return (new Client(prot)).recv_getPendingStoreOrders();
19991
        return (new Client(prot)).recv_splitReturnOrderInfo();
19810
      }
19992
      }
19811
    }
19993
    }
19812
 
19994
 
19813
    public void getSellerInfo(long sellerId, org.apache.thrift.async.AsyncMethodCallback<getSellerInfo_call> resultHandler) throws org.apache.thrift.TException {
19995
    public void deleteReturnOrder(long returnOrderId, org.apache.thrift.async.AsyncMethodCallback<deleteReturnOrder_call> resultHandler) throws org.apache.thrift.TException {
19814
      checkReady();
19996
      checkReady();
19815
      getSellerInfo_call method_call = new getSellerInfo_call(sellerId, resultHandler, this, ___protocolFactory, ___transport);
19997
      deleteReturnOrder_call method_call = new deleteReturnOrder_call(returnOrderId, resultHandler, this, ___protocolFactory, ___transport);
19816
      this.___currentMethod = method_call;
19998
      this.___currentMethod = method_call;
19817
      ___manager.call(method_call);
19999
      ___manager.call(method_call);
19818
    }
20000
    }
19819
 
20001
 
19820
    public static class getSellerInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
20002
    public static class deleteReturnOrder_call extends org.apache.thrift.async.TAsyncMethodCall {
19821
      private long sellerId;
20003
      private long returnOrderId;
19822
      public getSellerInfo_call(long sellerId, org.apache.thrift.async.AsyncMethodCallback<getSellerInfo_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 {
20004
      public deleteReturnOrder_call(long returnOrderId, org.apache.thrift.async.AsyncMethodCallback<deleteReturnOrder_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 {
19823
        super(client, protocolFactory, transport, resultHandler, false);
20005
        super(client, protocolFactory, transport, resultHandler, false);
19824
        this.sellerId = sellerId;
20006
        this.returnOrderId = returnOrderId;
19825
      }
20007
      }
19826
 
20008
 
19827
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
20009
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
19828
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getSellerInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
20010
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteReturnOrder", org.apache.thrift.protocol.TMessageType.CALL, 0));
19829
        getSellerInfo_args args = new getSellerInfo_args();
20011
        deleteReturnOrder_args args = new deleteReturnOrder_args();
19830
        args.setSellerId(sellerId);
20012
        args.setReturnOrderId(returnOrderId);
19831
        args.write(prot);
20013
        args.write(prot);
19832
        prot.writeMessageEnd();
20014
        prot.writeMessageEnd();
19833
      }
20015
      }
19834
 
20016
 
19835
      public SellerInfo getResult() throws org.apache.thrift.TException {
20017
      public boolean getResult() throws org.apache.thrift.TException {
19836
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
20018
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
19837
          throw new IllegalStateException("Method call not finished!");
20019
          throw new IllegalStateException("Method call not finished!");
19838
        }
20020
        }
19839
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
20021
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
19840
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
20022
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
19841
        return (new Client(prot)).recv_getSellerInfo();
20023
        return (new Client(prot)).recv_deleteReturnOrder();
19842
      }
20024
      }
19843
    }
20025
    }
19844
 
20026
 
19845
    public void getWarehouseAddress(long address_id, org.apache.thrift.async.AsyncMethodCallback<getWarehouseAddress_call> resultHandler) throws org.apache.thrift.TException {
20027
    public void refundReturnOrder(ReturnOrderInfo returnOrderInfo, List<Attribute> attributes, org.apache.thrift.async.AsyncMethodCallback<refundReturnOrder_call> resultHandler) throws org.apache.thrift.TException {
19846
      checkReady();
20028
      checkReady();
19847
      getWarehouseAddress_call method_call = new getWarehouseAddress_call(address_id, resultHandler, this, ___protocolFactory, ___transport);
20029
      refundReturnOrder_call method_call = new refundReturnOrder_call(returnOrderInfo, attributes, resultHandler, this, ___protocolFactory, ___transport);
19848
      this.___currentMethod = method_call;
20030
      this.___currentMethod = method_call;
19849
      ___manager.call(method_call);
20031
      ___manager.call(method_call);
19850
    }
20032
    }
19851
 
20033
 
19852
    public static class getWarehouseAddress_call extends org.apache.thrift.async.TAsyncMethodCall {
20034
    public static class refundReturnOrder_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
20035
      private ReturnOrderInfo returnOrderInfo;
19853
      private long address_id;
20036
      private List<Attribute> attributes;
19854
      public getWarehouseAddress_call(long address_id, org.apache.thrift.async.AsyncMethodCallback<getWarehouseAddress_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 {
20037
      public refundReturnOrder_call(ReturnOrderInfo returnOrderInfo, List<Attribute> attributes, org.apache.thrift.async.AsyncMethodCallback<refundReturnOrder_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 {
19855
        super(client, protocolFactory, transport, resultHandler, false);
20038
        super(client, protocolFactory, transport, resultHandler, false);
-
 
20039
        this.returnOrderInfo = returnOrderInfo;
19856
        this.address_id = address_id;
20040
        this.attributes = attributes;
19857
      }
20041
      }
19858
 
20042
 
19859
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
20043
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
19860
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getWarehouseAddress", org.apache.thrift.protocol.TMessageType.CALL, 0));
20044
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("refundReturnOrder", org.apache.thrift.protocol.TMessageType.CALL, 0));
19861
        getWarehouseAddress_args args = new getWarehouseAddress_args();
20045
        refundReturnOrder_args args = new refundReturnOrder_args();
-
 
20046
        args.setReturnOrderInfo(returnOrderInfo);
19862
        args.setAddress_id(address_id);
20047
        args.setAttributes(attributes);
19863
        args.write(prot);
20048
        args.write(prot);
19864
        prot.writeMessageEnd();
20049
        prot.writeMessageEnd();
19865
      }
20050
      }
19866
 
20051
 
19867
      public WarehouseAddress getResult() throws org.apache.thrift.TException {
20052
      public boolean getResult() throws org.apache.thrift.TException {
19868
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
20053
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
19869
          throw new IllegalStateException("Method call not finished!");
20054
          throw new IllegalStateException("Method call not finished!");
19870
        }
20055
        }
19871
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
20056
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
19872
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
20057
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
19873
        return (new Client(prot)).recv_getWarehouseAddress();
20058
        return (new Client(prot)).recv_refundReturnOrder();
19874
      }
20059
      }
19875
    }
20060
    }
19876
 
20061
 
19877
    public void getBuyerByWarehouse(long warehouse_id, org.apache.thrift.async.AsyncMethodCallback<getBuyerByWarehouse_call> resultHandler) throws org.apache.thrift.TException {
20062
    public void addShipmentDelay(List<ShipmentDelayDetail> shipmentDelayDetail, org.apache.thrift.async.AsyncMethodCallback<addShipmentDelay_call> resultHandler) throws org.apache.thrift.TException {
19878
      checkReady();
20063
      checkReady();
19879
      getBuyerByWarehouse_call method_call = new getBuyerByWarehouse_call(warehouse_id, resultHandler, this, ___protocolFactory, ___transport);
20064
      addShipmentDelay_call method_call = new addShipmentDelay_call(shipmentDelayDetail, resultHandler, this, ___protocolFactory, ___transport);
19880
      this.___currentMethod = method_call;
20065
      this.___currentMethod = method_call;
19881
      ___manager.call(method_call);
20066
      ___manager.call(method_call);
19882
    }
20067
    }
19883
 
20068
 
19884
    public static class getBuyerByWarehouse_call extends org.apache.thrift.async.TAsyncMethodCall {
20069
    public static class addShipmentDelay_call extends org.apache.thrift.async.TAsyncMethodCall {
19885
      private long warehouse_id;
20070
      private List<ShipmentDelayDetail> shipmentDelayDetail;
19886
      public getBuyerByWarehouse_call(long warehouse_id, org.apache.thrift.async.AsyncMethodCallback<getBuyerByWarehouse_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 {
20071
      public addShipmentDelay_call(List<ShipmentDelayDetail> shipmentDelayDetail, org.apache.thrift.async.AsyncMethodCallback<addShipmentDelay_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 {
19887
        super(client, protocolFactory, transport, resultHandler, false);
20072
        super(client, protocolFactory, transport, resultHandler, false);
19888
        this.warehouse_id = warehouse_id;
20073
        this.shipmentDelayDetail = shipmentDelayDetail;
19889
      }
20074
      }
19890
 
20075
 
19891
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
20076
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
19892
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getBuyerByWarehouse", org.apache.thrift.protocol.TMessageType.CALL, 0));
20077
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addShipmentDelay", org.apache.thrift.protocol.TMessageType.CALL, 0));
19893
        getBuyerByWarehouse_args args = new getBuyerByWarehouse_args();
20078
        addShipmentDelay_args args = new addShipmentDelay_args();
19894
        args.setWarehouse_id(warehouse_id);
20079
        args.setShipmentDelayDetail(shipmentDelayDetail);
19895
        args.write(prot);
20080
        args.write(prot);
19896
        prot.writeMessageEnd();
20081
        prot.writeMessageEnd();
19897
      }
20082
      }
19898
 
20083
 
19899
      public BuyerInfo getResult() throws org.apache.thrift.TException {
20084
      public List<Long> getResult() throws org.apache.thrift.TException {
19900
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
20085
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
19901
          throw new IllegalStateException("Method call not finished!");
20086
          throw new IllegalStateException("Method call not finished!");
19902
        }
20087
        }
19903
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
20088
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
19904
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
20089
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
19905
        return (new Client(prot)).recv_getBuyerByWarehouse();
20090
        return (new Client(prot)).recv_addShipmentDelay();
19906
      }
20091
      }
19907
    }
20092
    }
19908
 
20093
 
19909
  }
20094
  }
19910
 
20095
 
Line 20213... Line 20398...
20213
      processMap.put("updateMasterOrderAWB", new updateMasterOrderAWB());
20398
      processMap.put("updateMasterOrderAWB", new updateMasterOrderAWB());
20214
      processMap.put("addOrUpdateShipmentLogisticsCostDetails", new addOrUpdateShipmentLogisticsCostDetails());
20399
      processMap.put("addOrUpdateShipmentLogisticsCostDetails", new addOrUpdateShipmentLogisticsCostDetails());
20215
      processMap.put("getEligibleOrdersForReturn", new getEligibleOrdersForReturn());
20400
      processMap.put("getEligibleOrdersForReturn", new getEligibleOrdersForReturn());
20216
      processMap.put("getEligibleReturnOrdersForPickup", new getEligibleReturnOrdersForPickup());
20401
      processMap.put("getEligibleReturnOrdersForPickup", new getEligibleReturnOrdersForPickup());
20217
      processMap.put("validateReturnTransaction", new validateReturnTransaction());
20402
      processMap.put("validateReturnTransaction", new validateReturnTransaction());
20218
      processMap.put("markReturnNotRequiredOrdersProcessed", new markReturnNotRequiredOrdersProcessed());
-
 
20219
      processMap.put("getReturnPickupRequest", new getReturnPickupRequest());
-
 
20220
      processMap.put("getPendingStoreOrders", new getPendingStoreOrders());
20403
      processMap.put("getPendingStoreOrders", new getPendingStoreOrders());
20221
      processMap.put("getSellerInfo", new getSellerInfo());
20404
      processMap.put("getSellerInfo", new getSellerInfo());
20222
      processMap.put("getWarehouseAddress", new getWarehouseAddress());
20405
      processMap.put("getWarehouseAddress", new getWarehouseAddress());
-
 
20406
      processMap.put("markReturnNotRequiredOrdersProcessed", new markReturnNotRequiredOrdersProcessed());
20223
      processMap.put("getBuyerByWarehouse", new getBuyerByWarehouse());
20407
      processMap.put("getReturnPickupRequest", new getReturnPickupRequest());
-
 
20408
      processMap.put("splitReturnOrderInfo", new splitReturnOrderInfo());
-
 
20409
      processMap.put("deleteReturnOrder", new deleteReturnOrder());
-
 
20410
      processMap.put("refundReturnOrder", new refundReturnOrder());
-
 
20411
      processMap.put("addShipmentDelay", new addShipmentDelay());
20224
      return processMap;
20412
      return processMap;
20225
    }
20413
    }
20226
 
20414
 
20227
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
20415
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
20228
      public createTransaction() {
20416
      public createTransaction() {
Line 25587... Line 25775...
25587
        result.setSuccessIsSet(true);
25775
        result.setSuccessIsSet(true);
25588
        return result;
25776
        return result;
25589
      }
25777
      }
25590
    }
25778
    }
25591
 
25779
 
-
 
25780
    private static class getPendingStoreOrders<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getPendingStoreOrders_args> {
-
 
25781
      public getPendingStoreOrders() {
-
 
25782
        super("getPendingStoreOrders");
-
 
25783
      }
-
 
25784
 
-
 
25785
      protected getPendingStoreOrders_args getEmptyArgsInstance() {
-
 
25786
        return new getPendingStoreOrders_args();
-
 
25787
      }
-
 
25788
 
-
 
25789
      protected getPendingStoreOrders_result getResult(I iface, getPendingStoreOrders_args args) throws org.apache.thrift.TException {
-
 
25790
        getPendingStoreOrders_result result = new getPendingStoreOrders_result();
-
 
25791
        result.success = iface.getPendingStoreOrders(args.storeId);
-
 
25792
        return result;
-
 
25793
      }
-
 
25794
    }
-
 
25795
 
-
 
25796
    private static class getSellerInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getSellerInfo_args> {
-
 
25797
      public getSellerInfo() {
-
 
25798
        super("getSellerInfo");
-
 
25799
      }
-
 
25800
 
-
 
25801
      protected getSellerInfo_args getEmptyArgsInstance() {
-
 
25802
        return new getSellerInfo_args();
-
 
25803
      }
-
 
25804
 
-
 
25805
      protected getSellerInfo_result getResult(I iface, getSellerInfo_args args) throws org.apache.thrift.TException {
-
 
25806
        getSellerInfo_result result = new getSellerInfo_result();
-
 
25807
        result.success = iface.getSellerInfo(args.sellerId);
-
 
25808
        return result;
-
 
25809
      }
-
 
25810
    }
-
 
25811
 
-
 
25812
    private static class getWarehouseAddress<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getWarehouseAddress_args> {
-
 
25813
      public getWarehouseAddress() {
-
 
25814
        super("getWarehouseAddress");
-
 
25815
      }
-
 
25816
 
-
 
25817
      protected getWarehouseAddress_args getEmptyArgsInstance() {
-
 
25818
        return new getWarehouseAddress_args();
-
 
25819
      }
-
 
25820
 
-
 
25821
      protected getWarehouseAddress_result getResult(I iface, getWarehouseAddress_args args) throws org.apache.thrift.TException {
-
 
25822
        getWarehouseAddress_result result = new getWarehouseAddress_result();
-
 
25823
        result.success = iface.getWarehouseAddress(args.address_id);
-
 
25824
        return result;
-
 
25825
      }
-
 
25826
    }
-
 
25827
 
25592
    private static class markReturnNotRequiredOrdersProcessed<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markReturnNotRequiredOrdersProcessed_args> {
25828
    private static class markReturnNotRequiredOrdersProcessed<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markReturnNotRequiredOrdersProcessed_args> {
25593
      public markReturnNotRequiredOrdersProcessed() {
25829
      public markReturnNotRequiredOrdersProcessed() {
25594
        super("markReturnNotRequiredOrdersProcessed");
25830
        super("markReturnNotRequiredOrdersProcessed");
25595
      }
25831
      }
25596
 
25832
 
Line 25599... Line 25835...
25599
      }
25835
      }
25600
 
25836
 
25601
      protected markReturnNotRequiredOrdersProcessed_result getResult(I iface, markReturnNotRequiredOrdersProcessed_args args) throws org.apache.thrift.TException {
25837
      protected markReturnNotRequiredOrdersProcessed_result getResult(I iface, markReturnNotRequiredOrdersProcessed_args args) throws org.apache.thrift.TException {
25602
        markReturnNotRequiredOrdersProcessed_result result = new markReturnNotRequiredOrdersProcessed_result();
25838
        markReturnNotRequiredOrdersProcessed_result result = new markReturnNotRequiredOrdersProcessed_result();
25603
        try {
25839
        try {
25604
          result.success = iface.markReturnNotRequiredOrdersProcessed(args.returnTransactionId);
25840
          result.success = iface.markReturnNotRequiredOrdersProcessed(args.returnOrderInfo);
25605
          result.setSuccessIsSet(true);
25841
          result.setSuccessIsSet(true);
25606
        } catch (TransactionServiceException ex) {
25842
        } catch (TransactionServiceException ex) {
25607
          result.ex = ex;
25843
          result.ex = ex;
25608
        }
25844
        }
25609
        return result;
25845
        return result;
Line 25624... Line 25860...
25624
        result.success = iface.getReturnPickupRequest(args.returnPickupId);
25860
        result.success = iface.getReturnPickupRequest(args.returnPickupId);
25625
        return result;
25861
        return result;
25626
      }
25862
      }
25627
    }
25863
    }
25628
 
25864
 
25629
    private static class getPendingStoreOrders<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getPendingStoreOrders_args> {
25865
    private static class splitReturnOrderInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, splitReturnOrderInfo_args> {
25630
      public getPendingStoreOrders() {
25866
      public splitReturnOrderInfo() {
25631
        super("getPendingStoreOrders");
25867
        super("splitReturnOrderInfo");
25632
      }
25868
      }
25633
 
25869
 
25634
      protected getPendingStoreOrders_args getEmptyArgsInstance() {
25870
      protected splitReturnOrderInfo_args getEmptyArgsInstance() {
25635
        return new getPendingStoreOrders_args();
25871
        return new splitReturnOrderInfo_args();
25636
      }
25872
      }
25637
 
25873
 
25638
      protected getPendingStoreOrders_result getResult(I iface, getPendingStoreOrders_args args) throws org.apache.thrift.TException {
25874
      protected splitReturnOrderInfo_result getResult(I iface, splitReturnOrderInfo_args args) throws org.apache.thrift.TException {
25639
        getPendingStoreOrders_result result = new getPendingStoreOrders_result();
25875
        splitReturnOrderInfo_result result = new splitReturnOrderInfo_result();
25640
        result.success = iface.getPendingStoreOrders(args.storeId);
25876
        result.success = iface.splitReturnOrderInfo(args.returnOrderId, args.splitOrderQty);
25641
        return result;
25877
        return result;
25642
      }
25878
      }
25643
    }
25879
    }
25644
 
25880
 
25645
    private static class getSellerInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getSellerInfo_args> {
25881
    private static class deleteReturnOrder<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteReturnOrder_args> {
25646
      public getSellerInfo() {
25882
      public deleteReturnOrder() {
25647
        super("getSellerInfo");
25883
        super("deleteReturnOrder");
25648
      }
25884
      }
25649
 
25885
 
25650
      protected getSellerInfo_args getEmptyArgsInstance() {
25886
      protected deleteReturnOrder_args getEmptyArgsInstance() {
25651
        return new getSellerInfo_args();
25887
        return new deleteReturnOrder_args();
25652
      }
25888
      }
25653
 
25889
 
25654
      protected getSellerInfo_result getResult(I iface, getSellerInfo_args args) throws org.apache.thrift.TException {
25890
      protected deleteReturnOrder_result getResult(I iface, deleteReturnOrder_args args) throws org.apache.thrift.TException {
25655
        getSellerInfo_result result = new getSellerInfo_result();
25891
        deleteReturnOrder_result result = new deleteReturnOrder_result();
25656
        result.success = iface.getSellerInfo(args.sellerId);
25892
        result.success = iface.deleteReturnOrder(args.returnOrderId);
-
 
25893
        result.setSuccessIsSet(true);
25657
        return result;
25894
        return result;
25658
      }
25895
      }
25659
    }
25896
    }
25660
 
25897
 
25661
    private static class getWarehouseAddress<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getWarehouseAddress_args> {
25898
    private static class refundReturnOrder<I extends Iface> extends org.apache.thrift.ProcessFunction<I, refundReturnOrder_args> {
25662
      public getWarehouseAddress() {
25899
      public refundReturnOrder() {
25663
        super("getWarehouseAddress");
25900
        super("refundReturnOrder");
25664
      }
25901
      }
25665
 
25902
 
25666
      protected getWarehouseAddress_args getEmptyArgsInstance() {
25903
      protected refundReturnOrder_args getEmptyArgsInstance() {
25667
        return new getWarehouseAddress_args();
25904
        return new refundReturnOrder_args();
25668
      }
25905
      }
25669
 
25906
 
25670
      protected getWarehouseAddress_result getResult(I iface, getWarehouseAddress_args args) throws org.apache.thrift.TException {
25907
      protected refundReturnOrder_result getResult(I iface, refundReturnOrder_args args) throws org.apache.thrift.TException {
25671
        getWarehouseAddress_result result = new getWarehouseAddress_result();
25908
        refundReturnOrder_result result = new refundReturnOrder_result();
25672
        result.success = iface.getWarehouseAddress(args.address_id);
25909
        result.success = iface.refundReturnOrder(args.returnOrderInfo, args.attributes);
-
 
25910
        result.setSuccessIsSet(true);
25673
        return result;
25911
        return result;
25674
      }
25912
      }
25675
    }
25913
    }
25676
 
25914
 
25677
    private static class getBuyerByWarehouse<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getBuyerByWarehouse_args> {
25915
    private static class addShipmentDelay<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addShipmentDelay_args> {
25678
      public getBuyerByWarehouse() {
25916
      public addShipmentDelay() {
25679
        super("getBuyerByWarehouse");
25917
        super("addShipmentDelay");
25680
      }
25918
      }
25681
 
25919
 
25682
      protected getBuyerByWarehouse_args getEmptyArgsInstance() {
25920
      protected addShipmentDelay_args getEmptyArgsInstance() {
25683
        return new getBuyerByWarehouse_args();
25921
        return new addShipmentDelay_args();
25684
      }
25922
      }
25685
 
25923
 
25686
      protected getBuyerByWarehouse_result getResult(I iface, getBuyerByWarehouse_args args) throws org.apache.thrift.TException {
25924
      protected addShipmentDelay_result getResult(I iface, addShipmentDelay_args args) throws org.apache.thrift.TException {
25687
        getBuyerByWarehouse_result result = new getBuyerByWarehouse_result();
25925
        addShipmentDelay_result result = new addShipmentDelay_result();
25688
        result.success = iface.getBuyerByWarehouse(args.warehouse_id);
25926
        result.success = iface.addShipmentDelay(args.shipmentDelayDetail);
25689
        return result;
25927
        return result;
25690
      }
25928
      }
25691
    }
25929
    }
25692
 
25930
 
25693
  }
25931
  }
Line 33823... Line 34061...
33823
      }
34061
      }
33824
    }
34062
    }
33825
 
34063
 
33826
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
34064
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
33827
      try {
34065
      try {
33828
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
33829
        __isset_bit_vector = new BitSet(1);
-
 
33830
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
34066
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
33831
      } catch (org.apache.thrift.TException te) {
34067
      } catch (org.apache.thrift.TException te) {
33832
        throw new java.io.IOException(te);
34068
        throw new java.io.IOException(te);
33833
      }
34069
      }
33834
    }
34070
    }
Line 39056... Line 39292...
39056
      }
39292
      }
39057
    }
39293
    }
39058
 
39294
 
39059
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
39295
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
39060
      try {
39296
      try {
39061
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
39062
        __isset_bit_vector = new BitSet(1);
-
 
39063
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
39297
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
39064
      } catch (org.apache.thrift.TException te) {
39298
      } catch (org.apache.thrift.TException te) {
39065
        throw new java.io.IOException(te);
39299
        throw new java.io.IOException(te);
39066
      }
39300
      }
39067
    }
39301
    }
Line 49258... Line 49492...
49258
      }
49492
      }
49259
    }
49493
    }
49260
 
49494
 
49261
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
49495
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
49262
      try {
49496
      try {
49263
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
49264
        __isset_bit_vector = new BitSet(1);
-
 
49265
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
49497
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
49266
      } catch (org.apache.thrift.TException te) {
49498
      } catch (org.apache.thrift.TException te) {
49267
        throw new java.io.IOException(te);
49499
        throw new java.io.IOException(te);
49268
      }
49500
      }
49269
    }
49501
    }
Line 49971... Line 50203...
49971
      }
50203
      }
49972
    }
50204
    }
49973
 
50205
 
49974
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
50206
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
49975
      try {
50207
      try {
49976
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
49977
        __isset_bit_vector = new BitSet(1);
-
 
49978
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
50208
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
49979
      } catch (org.apache.thrift.TException te) {
50209
      } catch (org.apache.thrift.TException te) {
49980
        throw new java.io.IOException(te);
50210
        throw new java.io.IOException(te);
49981
      }
50211
      }
49982
    }
50212
    }
Line 60462... Line 60692...
60462
      }
60692
      }
60463
    }
60693
    }
60464
 
60694
 
60465
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
60695
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
60466
      try {
60696
      try {
60467
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
60468
        __isset_bit_vector = new BitSet(1);
-
 
60469
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
60697
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
60470
      } catch (org.apache.thrift.TException te) {
60698
      } catch (org.apache.thrift.TException te) {
60471
        throw new java.io.IOException(te);
60699
        throw new java.io.IOException(te);
60472
      }
60700
      }
60473
    }
60701
    }
Line 61808... Line 62036...
61808
      }
62036
      }
61809
    }
62037
    }
61810
 
62038
 
61811
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
62039
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
61812
      try {
62040
      try {
61813
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
61814
        __isset_bit_vector = new BitSet(1);
-
 
61815
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
62041
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
61816
      } catch (org.apache.thrift.TException te) {
62042
      } catch (org.apache.thrift.TException te) {
61817
        throw new java.io.IOException(te);
62043
        throw new java.io.IOException(te);
61818
      }
62044
      }
61819
    }
62045
    }
Line 63154... Line 63380...
63154
      }
63380
      }
63155
    }
63381
    }
63156
 
63382
 
63157
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
63383
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
63158
      try {
63384
      try {
63159
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
63160
        __isset_bit_vector = new BitSet(1);
-
 
63161
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
63385
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
63162
      } catch (org.apache.thrift.TException te) {
63386
      } catch (org.apache.thrift.TException te) {
63163
        throw new java.io.IOException(te);
63387
        throw new java.io.IOException(te);
63164
      }
63388
      }
63165
    }
63389
    }
Line 63875... Line 64099...
63875
      }
64099
      }
63876
    }
64100
    }
63877
 
64101
 
63878
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
64102
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
63879
      try {
64103
      try {
63880
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
63881
        __isset_bit_vector = new BitSet(1);
-
 
63882
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
64104
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
63883
      } catch (org.apache.thrift.TException te) {
64105
      } catch (org.apache.thrift.TException te) {
63884
        throw new java.io.IOException(te);
64106
        throw new java.io.IOException(te);
63885
      }
64107
      }
63886
    }
64108
    }
Line 64546... Line 64768...
64546
      }
64768
      }
64547
    }
64769
    }
64548
 
64770
 
64549
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
64771
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
64550
      try {
64772
      try {
64551
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
64552
        __isset_bit_vector = new BitSet(1);
-
 
64553
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
64773
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
64554
      } catch (org.apache.thrift.TException te) {
64774
      } catch (org.apache.thrift.TException te) {
64555
        throw new java.io.IOException(te);
64775
        throw new java.io.IOException(te);
64556
      }
64776
      }
64557
    }
64777
    }
Line 67805... Line 68025...
67805
      }
68025
      }
67806
    }
68026
    }
67807
 
68027
 
67808
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
68028
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
67809
      try {
68029
      try {
67810
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
67811
        __isset_bit_vector = new BitSet(1);
-
 
67812
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
68030
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
67813
      } catch (org.apache.thrift.TException te) {
68031
      } catch (org.apache.thrift.TException te) {
67814
        throw new java.io.IOException(te);
68032
        throw new java.io.IOException(te);
67815
      }
68033
      }
67816
    }
68034
    }
Line 68729... Line 68947...
68729
      }
68947
      }
68730
    }
68948
    }
68731
 
68949
 
68732
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
68950
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
68733
      try {
68951
      try {
68734
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
68735
        __isset_bit_vector = new BitSet(1);
-
 
68736
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
68952
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
68737
      } catch (org.apache.thrift.TException te) {
68953
      } catch (org.apache.thrift.TException te) {
68738
        throw new java.io.IOException(te);
68954
        throw new java.io.IOException(te);
68739
      }
68955
      }
68740
    }
68956
    }
Line 70328... Line 70544...
70328
      }
70544
      }
70329
    }
70545
    }
70330
 
70546
 
70331
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
70547
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
70332
      try {
70548
      try {
70333
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
70334
        __isset_bit_vector = new BitSet(1);
-
 
70335
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
70549
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
70336
      } catch (org.apache.thrift.TException te) {
70550
      } catch (org.apache.thrift.TException te) {
70337
        throw new java.io.IOException(te);
70551
        throw new java.io.IOException(te);
70338
      }
70552
      }
70339
    }
70553
    }
Line 72736... Line 72950...
72736
      }
72950
      }
72737
    }
72951
    }
72738
 
72952
 
72739
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
72953
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
72740
      try {
72954
      try {
72741
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
72742
        __isset_bit_vector = new BitSet(1);
-
 
72743
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
72955
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
72744
      } catch (org.apache.thrift.TException te) {
72956
      } catch (org.apache.thrift.TException te) {
72745
        throw new java.io.IOException(te);
72957
        throw new java.io.IOException(te);
72746
      }
72958
      }
72747
    }
72959
    }
Line 73229... Line 73441...
73229
      }
73441
      }
73230
    }
73442
    }
73231
 
73443
 
73232
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
73444
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
73233
      try {
73445
      try {
73234
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
73235
        __isset_bit_vector = new BitSet(1);
-
 
73236
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
73446
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
73237
      } catch (org.apache.thrift.TException te) {
73447
      } catch (org.apache.thrift.TException te) {
73238
        throw new java.io.IOException(te);
73448
        throw new java.io.IOException(te);
73239
      }
73449
      }
73240
    }
73450
    }
Line 73987... Line 74197...
73987
      }
74197
      }
73988
    }
74198
    }
73989
 
74199
 
73990
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
74200
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
73991
      try {
74201
      try {
73992
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
73993
        __isset_bit_vector = new BitSet(1);
-
 
73994
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
74202
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
73995
      } catch (org.apache.thrift.TException te) {
74203
      } catch (org.apache.thrift.TException te) {
73996
        throw new java.io.IOException(te);
74204
        throw new java.io.IOException(te);
73997
      }
74205
      }
73998
    }
74206
    }
Line 74480... Line 74688...
74480
      }
74688
      }
74481
    }
74689
    }
74482
 
74690
 
74483
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
74691
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
74484
      try {
74692
      try {
74485
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
74486
        __isset_bit_vector = new BitSet(1);
-
 
74487
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
74693
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
74488
      } catch (org.apache.thrift.TException te) {
74694
      } catch (org.apache.thrift.TException te) {
74489
        throw new java.io.IOException(te);
74695
        throw new java.io.IOException(te);
74490
      }
74696
      }
74491
    }
74697
    }
Line 76871... Line 77077...
76871
      }
77077
      }
76872
    }
77078
    }
76873
 
77079
 
76874
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
77080
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
76875
      try {
77081
      try {
76876
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
76877
        __isset_bit_vector = new BitSet(1);
-
 
76878
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
77082
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
76879
      } catch (org.apache.thrift.TException te) {
77083
      } catch (org.apache.thrift.TException te) {
76880
        throw new java.io.IOException(te);
77084
        throw new java.io.IOException(te);
76881
      }
77085
      }
76882
    }
77086
    }
Line 81322... Line 81526...
81322
      }
81526
      }
81323
    }
81527
    }
81324
 
81528
 
81325
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
81529
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
81326
      try {
81530
      try {
81327
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
81328
        __isset_bit_vector = new BitSet(1);
-
 
81329
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
81531
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
81330
      } catch (org.apache.thrift.TException te) {
81532
      } catch (org.apache.thrift.TException te) {
81331
        throw new java.io.IOException(te);
81533
        throw new java.io.IOException(te);
81332
      }
81534
      }
81333
    }
81535
    }
Line 84266... Line 84468...
84266
      }
84468
      }
84267
    }
84469
    }
84268
 
84470
 
84269
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
84471
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
84270
      try {
84472
      try {
84271
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
84272
        __isset_bit_vector = new BitSet(1);
-
 
84273
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
84473
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
84274
      } catch (org.apache.thrift.TException te) {
84474
      } catch (org.apache.thrift.TException te) {
84275
        throw new java.io.IOException(te);
84475
        throw new java.io.IOException(te);
84276
      }
84476
      }
84277
    }
84477
    }
Line 87649... Line 87849...
87649
      }
87849
      }
87650
    }
87850
    }
87651
 
87851
 
87652
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
87852
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
87653
      try {
87853
      try {
-
 
87854
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
87855
        __isset_bit_vector = new BitSet(1);
87654
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
87856
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
87655
      } catch (org.apache.thrift.TException te) {
87857
      } catch (org.apache.thrift.TException te) {
87656
        throw new java.io.IOException(te);
87858
        throw new java.io.IOException(te);
87657
      }
87859
      }
87658
    }
87860
    }
Line 90512... Line 90714...
90512
      }
90714
      }
90513
    }
90715
    }
90514
 
90716
 
90515
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
90717
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
90516
      try {
90718
      try {
90517
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
90518
        __isset_bit_vector = new BitSet(1);
-
 
90519
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
90719
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
90520
      } catch (org.apache.thrift.TException te) {
90720
      } catch (org.apache.thrift.TException te) {
90521
        throw new java.io.IOException(te);
90721
        throw new java.io.IOException(te);
90522
      }
90722
      }
90523
    }
90723
    }
Line 91862... Line 92062...
91862
      }
92062
      }
91863
    }
92063
    }
91864
 
92064
 
91865
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
92065
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
91866
      try {
92066
      try {
91867
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
91868
        __isset_bit_vector = new BitSet(1);
-
 
91869
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
92067
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
91870
      } catch (org.apache.thrift.TException te) {
92068
      } catch (org.apache.thrift.TException te) {
91871
        throw new java.io.IOException(te);
92069
        throw new java.io.IOException(te);
91872
      }
92070
      }
91873
    }
92071
    }
Line 116622... Line 116820...
116622
      }
116820
      }
116623
    }
116821
    }
116624
 
116822
 
116625
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
116823
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
116626
      try {
116824
      try {
116627
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
116628
        __isset_bit_vector = new BitSet(1);
-
 
116629
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
116825
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
116630
      } catch (org.apache.thrift.TException te) {
116826
      } catch (org.apache.thrift.TException te) {
116631
        throw new java.io.IOException(te);
116827
        throw new java.io.IOException(te);
116632
      }
116828
      }
116633
    }
116829
    }
Line 121420... Line 121616...
121420
      }
121616
      }
121421
    }
121617
    }
121422
 
121618
 
121423
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
121619
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
121424
      try {
121620
      try {
121425
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
121426
        __isset_bit_vector = new BitSet(1);
-
 
121427
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
121621
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
121428
      } catch (org.apache.thrift.TException te) {
121622
      } catch (org.apache.thrift.TException te) {
121429
        throw new java.io.IOException(te);
121623
        throw new java.io.IOException(te);
121430
      }
121624
      }
121431
    }
121625
    }
Line 208514... Line 208708...
208514
      }
208708
      }
208515
    }
208709
    }
208516
 
208710
 
208517
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
208711
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
208518
      try {
208712
      try {
-
 
208713
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
208714
        __isset_bit_vector = new BitSet(1);
208519
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
208715
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
208520
      } catch (org.apache.thrift.TException te) {
208716
      } catch (org.apache.thrift.TException te) {
208521
        throw new java.io.IOException(te);
208717
        throw new java.io.IOException(te);
208522
      }
208718
      }
208523
    }
208719
    }
Line 238211... Line 238407...
238211
      }
238407
      }
238212
    }
238408
    }
238213
 
238409
 
238214
  }
238410
  }
238215
 
238411
 
238216
  public static class markReturnNotRequiredOrdersProcessed_args implements org.apache.thrift.TBase<markReturnNotRequiredOrdersProcessed_args, markReturnNotRequiredOrdersProcessed_args._Fields>, java.io.Serializable, Cloneable   {
238412
  public static class getPendingStoreOrders_args implements org.apache.thrift.TBase<getPendingStoreOrders_args, getPendingStoreOrders_args._Fields>, java.io.Serializable, Cloneable   {
238217
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markReturnNotRequiredOrdersProcessed_args");
238413
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPendingStoreOrders_args");
238218
 
238414
 
238219
    private static final org.apache.thrift.protocol.TField RETURN_TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("returnTransactionId", org.apache.thrift.protocol.TType.I64, (short)1);
238415
    private static final org.apache.thrift.protocol.TField STORE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("storeId", org.apache.thrift.protocol.TType.I64, (short)1);
238220
 
238416
 
238221
    private long returnTransactionId; // required
238417
    private long storeId; // required
238222
 
238418
 
238223
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
238419
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
238224
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
238420
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
238225
      RETURN_TRANSACTION_ID((short)1, "returnTransactionId");
238421
      STORE_ID((short)1, "storeId");
238226
 
238422
 
238227
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
238423
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
238228
 
238424
 
238229
      static {
238425
      static {
238230
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
238426
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 238235... Line 238431...
238235
      /**
238431
      /**
238236
       * Find the _Fields constant that matches fieldId, or null if its not found.
238432
       * Find the _Fields constant that matches fieldId, or null if its not found.
238237
       */
238433
       */
238238
      public static _Fields findByThriftId(int fieldId) {
238434
      public static _Fields findByThriftId(int fieldId) {
238239
        switch(fieldId) {
238435
        switch(fieldId) {
238240
          case 1: // RETURN_TRANSACTION_ID
238436
          case 1: // STORE_ID
238241
            return RETURN_TRANSACTION_ID;
238437
            return STORE_ID;
238242
          default:
238438
          default:
238243
            return null;
238439
            return null;
238244
        }
238440
        }
238245
      }
238441
      }
238246
 
238442
 
Line 238277... Line 238473...
238277
        return _fieldName;
238473
        return _fieldName;
238278
      }
238474
      }
238279
    }
238475
    }
238280
 
238476
 
238281
    // isset id assignments
238477
    // isset id assignments
238282
    private static final int __RETURNTRANSACTIONID_ISSET_ID = 0;
238478
    private static final int __STOREID_ISSET_ID = 0;
238283
    private BitSet __isset_bit_vector = new BitSet(1);
238479
    private BitSet __isset_bit_vector = new BitSet(1);
238284
 
238480
 
238285
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
238481
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
238286
    static {
238482
    static {
238287
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
238483
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
238484
      tmpMap.put(_Fields.STORE_ID, new org.apache.thrift.meta_data.FieldMetaData("storeId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
238485
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
238486
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
238487
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPendingStoreOrders_args.class, metaDataMap);
-
 
238488
    }
-
 
238489
 
-
 
238490
    public getPendingStoreOrders_args() {
-
 
238491
    }
-
 
238492
 
-
 
238493
    public getPendingStoreOrders_args(
-
 
238494
      long storeId)
-
 
238495
    {
-
 
238496
      this();
-
 
238497
      this.storeId = storeId;
-
 
238498
      setStoreIdIsSet(true);
-
 
238499
    }
-
 
238500
 
-
 
238501
    /**
-
 
238502
     * Performs a deep copy on <i>other</i>.
-
 
238503
     */
-
 
238504
    public getPendingStoreOrders_args(getPendingStoreOrders_args other) {
-
 
238505
      __isset_bit_vector.clear();
-
 
238506
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
238507
      this.storeId = other.storeId;
-
 
238508
    }
-
 
238509
 
-
 
238510
    public getPendingStoreOrders_args deepCopy() {
-
 
238511
      return new getPendingStoreOrders_args(this);
-
 
238512
    }
-
 
238513
 
-
 
238514
    @Override
-
 
238515
    public void clear() {
-
 
238516
      setStoreIdIsSet(false);
-
 
238517
      this.storeId = 0;
-
 
238518
    }
-
 
238519
 
-
 
238520
    public long getStoreId() {
-
 
238521
      return this.storeId;
-
 
238522
    }
-
 
238523
 
-
 
238524
    public void setStoreId(long storeId) {
-
 
238525
      this.storeId = storeId;
-
 
238526
      setStoreIdIsSet(true);
-
 
238527
    }
-
 
238528
 
-
 
238529
    public void unsetStoreId() {
-
 
238530
      __isset_bit_vector.clear(__STOREID_ISSET_ID);
-
 
238531
    }
-
 
238532
 
-
 
238533
    /** Returns true if field storeId is set (has been assigned a value) and false otherwise */
-
 
238534
    public boolean isSetStoreId() {
-
 
238535
      return __isset_bit_vector.get(__STOREID_ISSET_ID);
-
 
238536
    }
-
 
238537
 
-
 
238538
    public void setStoreIdIsSet(boolean value) {
-
 
238539
      __isset_bit_vector.set(__STOREID_ISSET_ID, value);
-
 
238540
    }
-
 
238541
 
-
 
238542
    public void setFieldValue(_Fields field, Object value) {
-
 
238543
      switch (field) {
-
 
238544
      case STORE_ID:
-
 
238545
        if (value == null) {
-
 
238546
          unsetStoreId();
-
 
238547
        } else {
-
 
238548
          setStoreId((Long)value);
-
 
238549
        }
-
 
238550
        break;
-
 
238551
 
-
 
238552
      }
-
 
238553
    }
-
 
238554
 
-
 
238555
    public Object getFieldValue(_Fields field) {
-
 
238556
      switch (field) {
-
 
238557
      case STORE_ID:
-
 
238558
        return Long.valueOf(getStoreId());
-
 
238559
 
-
 
238560
      }
-
 
238561
      throw new IllegalStateException();
-
 
238562
    }
-
 
238563
 
-
 
238564
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
238565
    public boolean isSet(_Fields field) {
-
 
238566
      if (field == null) {
-
 
238567
        throw new IllegalArgumentException();
-
 
238568
      }
-
 
238569
 
-
 
238570
      switch (field) {
-
 
238571
      case STORE_ID:
-
 
238572
        return isSetStoreId();
-
 
238573
      }
-
 
238574
      throw new IllegalStateException();
-
 
238575
    }
-
 
238576
 
-
 
238577
    @Override
-
 
238578
    public boolean equals(Object that) {
-
 
238579
      if (that == null)
-
 
238580
        return false;
-
 
238581
      if (that instanceof getPendingStoreOrders_args)
-
 
238582
        return this.equals((getPendingStoreOrders_args)that);
-
 
238583
      return false;
-
 
238584
    }
-
 
238585
 
-
 
238586
    public boolean equals(getPendingStoreOrders_args that) {
-
 
238587
      if (that == null)
-
 
238588
        return false;
-
 
238589
 
-
 
238590
      boolean this_present_storeId = true;
-
 
238591
      boolean that_present_storeId = true;
-
 
238592
      if (this_present_storeId || that_present_storeId) {
-
 
238593
        if (!(this_present_storeId && that_present_storeId))
-
 
238594
          return false;
-
 
238595
        if (this.storeId != that.storeId)
-
 
238596
          return false;
-
 
238597
      }
-
 
238598
 
-
 
238599
      return true;
-
 
238600
    }
-
 
238601
 
-
 
238602
    @Override
-
 
238603
    public int hashCode() {
-
 
238604
      return 0;
-
 
238605
    }
-
 
238606
 
-
 
238607
    public int compareTo(getPendingStoreOrders_args other) {
-
 
238608
      if (!getClass().equals(other.getClass())) {
-
 
238609
        return getClass().getName().compareTo(other.getClass().getName());
-
 
238610
      }
-
 
238611
 
-
 
238612
      int lastComparison = 0;
-
 
238613
      getPendingStoreOrders_args typedOther = (getPendingStoreOrders_args)other;
-
 
238614
 
-
 
238615
      lastComparison = Boolean.valueOf(isSetStoreId()).compareTo(typedOther.isSetStoreId());
-
 
238616
      if (lastComparison != 0) {
-
 
238617
        return lastComparison;
-
 
238618
      }
-
 
238619
      if (isSetStoreId()) {
-
 
238620
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storeId, typedOther.storeId);
-
 
238621
        if (lastComparison != 0) {
-
 
238622
          return lastComparison;
-
 
238623
        }
-
 
238624
      }
-
 
238625
      return 0;
-
 
238626
    }
-
 
238627
 
-
 
238628
    public _Fields fieldForId(int fieldId) {
-
 
238629
      return _Fields.findByThriftId(fieldId);
-
 
238630
    }
-
 
238631
 
-
 
238632
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
238633
      org.apache.thrift.protocol.TField field;
-
 
238634
      iprot.readStructBegin();
-
 
238635
      while (true)
-
 
238636
      {
-
 
238637
        field = iprot.readFieldBegin();
-
 
238638
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
238639
          break;
-
 
238640
        }
-
 
238641
        switch (field.id) {
-
 
238642
          case 1: // STORE_ID
-
 
238643
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
238644
              this.storeId = iprot.readI64();
-
 
238645
              setStoreIdIsSet(true);
-
 
238646
            } else { 
-
 
238647
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
238648
            }
-
 
238649
            break;
-
 
238650
          default:
-
 
238651
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
238652
        }
-
 
238653
        iprot.readFieldEnd();
-
 
238654
      }
-
 
238655
      iprot.readStructEnd();
-
 
238656
      validate();
-
 
238657
    }
-
 
238658
 
-
 
238659
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
238660
      validate();
-
 
238661
 
-
 
238662
      oprot.writeStructBegin(STRUCT_DESC);
-
 
238663
      oprot.writeFieldBegin(STORE_ID_FIELD_DESC);
-
 
238664
      oprot.writeI64(this.storeId);
-
 
238665
      oprot.writeFieldEnd();
-
 
238666
      oprot.writeFieldStop();
-
 
238667
      oprot.writeStructEnd();
-
 
238668
    }
-
 
238669
 
-
 
238670
    @Override
-
 
238671
    public String toString() {
-
 
238672
      StringBuilder sb = new StringBuilder("getPendingStoreOrders_args(");
-
 
238673
      boolean first = true;
-
 
238674
 
-
 
238675
      sb.append("storeId:");
-
 
238676
      sb.append(this.storeId);
-
 
238677
      first = false;
-
 
238678
      sb.append(")");
-
 
238679
      return sb.toString();
-
 
238680
    }
-
 
238681
 
-
 
238682
    public void validate() throws org.apache.thrift.TException {
-
 
238683
      // check for required fields
-
 
238684
    }
-
 
238685
 
-
 
238686
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
238687
      try {
-
 
238688
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
238689
      } catch (org.apache.thrift.TException te) {
-
 
238690
        throw new java.io.IOException(te);
-
 
238691
      }
-
 
238692
    }
-
 
238693
 
-
 
238694
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
238695
      try {
-
 
238696
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
238697
        __isset_bit_vector = new BitSet(1);
-
 
238698
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
238699
      } catch (org.apache.thrift.TException te) {
-
 
238700
        throw new java.io.IOException(te);
-
 
238701
      }
-
 
238702
    }
-
 
238703
 
-
 
238704
  }
-
 
238705
 
-
 
238706
  public static class getPendingStoreOrders_result implements org.apache.thrift.TBase<getPendingStoreOrders_result, getPendingStoreOrders_result._Fields>, java.io.Serializable, Cloneable   {
-
 
238707
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPendingStoreOrders_result");
-
 
238708
 
-
 
238709
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
238710
 
-
 
238711
    private List<PendingStoreOrder> success; // required
-
 
238712
 
-
 
238713
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
238714
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
238715
      SUCCESS((short)0, "success");
-
 
238716
 
-
 
238717
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
238718
 
-
 
238719
      static {
-
 
238720
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
238721
          byName.put(field.getFieldName(), field);
-
 
238722
        }
-
 
238723
      }
-
 
238724
 
-
 
238725
      /**
-
 
238726
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
238727
       */
-
 
238728
      public static _Fields findByThriftId(int fieldId) {
-
 
238729
        switch(fieldId) {
-
 
238730
          case 0: // SUCCESS
-
 
238731
            return SUCCESS;
-
 
238732
          default:
-
 
238733
            return null;
-
 
238734
        }
-
 
238735
      }
-
 
238736
 
-
 
238737
      /**
-
 
238738
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
238739
       * if it is not found.
-
 
238740
       */
-
 
238741
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
238742
        _Fields fields = findByThriftId(fieldId);
-
 
238743
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
238744
        return fields;
-
 
238745
      }
-
 
238746
 
-
 
238747
      /**
-
 
238748
       * Find the _Fields constant that matches name, or null if its not found.
-
 
238749
       */
-
 
238750
      public static _Fields findByName(String name) {
-
 
238751
        return byName.get(name);
-
 
238752
      }
-
 
238753
 
-
 
238754
      private final short _thriftId;
-
 
238755
      private final String _fieldName;
-
 
238756
 
-
 
238757
      _Fields(short thriftId, String fieldName) {
-
 
238758
        _thriftId = thriftId;
-
 
238759
        _fieldName = fieldName;
-
 
238760
      }
-
 
238761
 
-
 
238762
      public short getThriftFieldId() {
-
 
238763
        return _thriftId;
-
 
238764
      }
-
 
238765
 
-
 
238766
      public String getFieldName() {
-
 
238767
        return _fieldName;
-
 
238768
      }
-
 
238769
    }
-
 
238770
 
-
 
238771
    // isset id assignments
-
 
238772
 
-
 
238773
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
238774
    static {
-
 
238775
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
238776
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
238777
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
238778
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PendingStoreOrder.class))));
-
 
238779
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
238780
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPendingStoreOrders_result.class, metaDataMap);
-
 
238781
    }
-
 
238782
 
-
 
238783
    public getPendingStoreOrders_result() {
-
 
238784
    }
-
 
238785
 
-
 
238786
    public getPendingStoreOrders_result(
-
 
238787
      List<PendingStoreOrder> success)
-
 
238788
    {
-
 
238789
      this();
-
 
238790
      this.success = success;
-
 
238791
    }
-
 
238792
 
-
 
238793
    /**
-
 
238794
     * Performs a deep copy on <i>other</i>.
-
 
238795
     */
-
 
238796
    public getPendingStoreOrders_result(getPendingStoreOrders_result other) {
-
 
238797
      if (other.isSetSuccess()) {
-
 
238798
        List<PendingStoreOrder> __this__success = new ArrayList<PendingStoreOrder>();
-
 
238799
        for (PendingStoreOrder other_element : other.success) {
-
 
238800
          __this__success.add(new PendingStoreOrder(other_element));
-
 
238801
        }
-
 
238802
        this.success = __this__success;
-
 
238803
      }
-
 
238804
    }
-
 
238805
 
-
 
238806
    public getPendingStoreOrders_result deepCopy() {
-
 
238807
      return new getPendingStoreOrders_result(this);
-
 
238808
    }
-
 
238809
 
-
 
238810
    @Override
-
 
238811
    public void clear() {
-
 
238812
      this.success = null;
-
 
238813
    }
-
 
238814
 
-
 
238815
    public int getSuccessSize() {
-
 
238816
      return (this.success == null) ? 0 : this.success.size();
-
 
238817
    }
-
 
238818
 
-
 
238819
    public java.util.Iterator<PendingStoreOrder> getSuccessIterator() {
-
 
238820
      return (this.success == null) ? null : this.success.iterator();
-
 
238821
    }
-
 
238822
 
-
 
238823
    public void addToSuccess(PendingStoreOrder elem) {
-
 
238824
      if (this.success == null) {
-
 
238825
        this.success = new ArrayList<PendingStoreOrder>();
-
 
238826
      }
-
 
238827
      this.success.add(elem);
-
 
238828
    }
-
 
238829
 
-
 
238830
    public List<PendingStoreOrder> getSuccess() {
-
 
238831
      return this.success;
-
 
238832
    }
-
 
238833
 
-
 
238834
    public void setSuccess(List<PendingStoreOrder> success) {
-
 
238835
      this.success = success;
-
 
238836
    }
-
 
238837
 
-
 
238838
    public void unsetSuccess() {
-
 
238839
      this.success = null;
-
 
238840
    }
-
 
238841
 
-
 
238842
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
238843
    public boolean isSetSuccess() {
-
 
238844
      return this.success != null;
-
 
238845
    }
-
 
238846
 
-
 
238847
    public void setSuccessIsSet(boolean value) {
-
 
238848
      if (!value) {
-
 
238849
        this.success = null;
-
 
238850
      }
-
 
238851
    }
-
 
238852
 
-
 
238853
    public void setFieldValue(_Fields field, Object value) {
-
 
238854
      switch (field) {
-
 
238855
      case SUCCESS:
-
 
238856
        if (value == null) {
-
 
238857
          unsetSuccess();
-
 
238858
        } else {
-
 
238859
          setSuccess((List<PendingStoreOrder>)value);
-
 
238860
        }
-
 
238861
        break;
-
 
238862
 
-
 
238863
      }
-
 
238864
    }
-
 
238865
 
-
 
238866
    public Object getFieldValue(_Fields field) {
-
 
238867
      switch (field) {
-
 
238868
      case SUCCESS:
-
 
238869
        return getSuccess();
-
 
238870
 
-
 
238871
      }
-
 
238872
      throw new IllegalStateException();
-
 
238873
    }
-
 
238874
 
-
 
238875
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
238876
    public boolean isSet(_Fields field) {
-
 
238877
      if (field == null) {
-
 
238878
        throw new IllegalArgumentException();
-
 
238879
      }
-
 
238880
 
-
 
238881
      switch (field) {
-
 
238882
      case SUCCESS:
-
 
238883
        return isSetSuccess();
-
 
238884
      }
-
 
238885
      throw new IllegalStateException();
-
 
238886
    }
-
 
238887
 
-
 
238888
    @Override
-
 
238889
    public boolean equals(Object that) {
-
 
238890
      if (that == null)
-
 
238891
        return false;
-
 
238892
      if (that instanceof getPendingStoreOrders_result)
-
 
238893
        return this.equals((getPendingStoreOrders_result)that);
-
 
238894
      return false;
-
 
238895
    }
-
 
238896
 
-
 
238897
    public boolean equals(getPendingStoreOrders_result that) {
-
 
238898
      if (that == null)
-
 
238899
        return false;
-
 
238900
 
-
 
238901
      boolean this_present_success = true && this.isSetSuccess();
-
 
238902
      boolean that_present_success = true && that.isSetSuccess();
-
 
238903
      if (this_present_success || that_present_success) {
-
 
238904
        if (!(this_present_success && that_present_success))
-
 
238905
          return false;
-
 
238906
        if (!this.success.equals(that.success))
-
 
238907
          return false;
-
 
238908
      }
-
 
238909
 
-
 
238910
      return true;
-
 
238911
    }
-
 
238912
 
-
 
238913
    @Override
-
 
238914
    public int hashCode() {
-
 
238915
      return 0;
-
 
238916
    }
-
 
238917
 
-
 
238918
    public int compareTo(getPendingStoreOrders_result other) {
-
 
238919
      if (!getClass().equals(other.getClass())) {
-
 
238920
        return getClass().getName().compareTo(other.getClass().getName());
-
 
238921
      }
-
 
238922
 
-
 
238923
      int lastComparison = 0;
-
 
238924
      getPendingStoreOrders_result typedOther = (getPendingStoreOrders_result)other;
-
 
238925
 
-
 
238926
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
238927
      if (lastComparison != 0) {
-
 
238928
        return lastComparison;
-
 
238929
      }
-
 
238930
      if (isSetSuccess()) {
-
 
238931
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
238932
        if (lastComparison != 0) {
-
 
238933
          return lastComparison;
-
 
238934
        }
-
 
238935
      }
-
 
238936
      return 0;
-
 
238937
    }
-
 
238938
 
-
 
238939
    public _Fields fieldForId(int fieldId) {
-
 
238940
      return _Fields.findByThriftId(fieldId);
-
 
238941
    }
-
 
238942
 
-
 
238943
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
238944
      org.apache.thrift.protocol.TField field;
-
 
238945
      iprot.readStructBegin();
-
 
238946
      while (true)
-
 
238947
      {
-
 
238948
        field = iprot.readFieldBegin();
-
 
238949
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
238950
          break;
-
 
238951
        }
-
 
238952
        switch (field.id) {
-
 
238953
          case 0: // SUCCESS
-
 
238954
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
238955
              {
-
 
238956
                org.apache.thrift.protocol.TList _list837 = iprot.readListBegin();
-
 
238957
                this.success = new ArrayList<PendingStoreOrder>(_list837.size);
-
 
238958
                for (int _i838 = 0; _i838 < _list837.size; ++_i838)
-
 
238959
                {
-
 
238960
                  PendingStoreOrder _elem839; // required
-
 
238961
                  _elem839 = new PendingStoreOrder();
-
 
238962
                  _elem839.read(iprot);
-
 
238963
                  this.success.add(_elem839);
-
 
238964
                }
-
 
238965
                iprot.readListEnd();
-
 
238966
              }
-
 
238967
            } else { 
-
 
238968
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
238969
            }
-
 
238970
            break;
-
 
238971
          default:
-
 
238972
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
238973
        }
-
 
238974
        iprot.readFieldEnd();
-
 
238975
      }
-
 
238976
      iprot.readStructEnd();
-
 
238977
      validate();
-
 
238978
    }
-
 
238979
 
-
 
238980
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
238981
      oprot.writeStructBegin(STRUCT_DESC);
-
 
238982
 
-
 
238983
      if (this.isSetSuccess()) {
-
 
238984
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
238985
        {
-
 
238986
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
238987
          for (PendingStoreOrder _iter840 : this.success)
-
 
238988
          {
-
 
238989
            _iter840.write(oprot);
-
 
238990
          }
-
 
238991
          oprot.writeListEnd();
-
 
238992
        }
-
 
238993
        oprot.writeFieldEnd();
-
 
238994
      }
-
 
238995
      oprot.writeFieldStop();
-
 
238996
      oprot.writeStructEnd();
-
 
238997
    }
-
 
238998
 
-
 
238999
    @Override
-
 
239000
    public String toString() {
-
 
239001
      StringBuilder sb = new StringBuilder("getPendingStoreOrders_result(");
-
 
239002
      boolean first = true;
-
 
239003
 
-
 
239004
      sb.append("success:");
-
 
239005
      if (this.success == null) {
-
 
239006
        sb.append("null");
-
 
239007
      } else {
-
 
239008
        sb.append(this.success);
-
 
239009
      }
-
 
239010
      first = false;
-
 
239011
      sb.append(")");
-
 
239012
      return sb.toString();
-
 
239013
    }
-
 
239014
 
-
 
239015
    public void validate() throws org.apache.thrift.TException {
-
 
239016
      // check for required fields
-
 
239017
    }
-
 
239018
 
-
 
239019
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
239020
      try {
-
 
239021
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
239022
      } catch (org.apache.thrift.TException te) {
-
 
239023
        throw new java.io.IOException(te);
-
 
239024
      }
-
 
239025
    }
-
 
239026
 
-
 
239027
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
239028
      try {
-
 
239029
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
239030
      } catch (org.apache.thrift.TException te) {
-
 
239031
        throw new java.io.IOException(te);
-
 
239032
      }
-
 
239033
    }
-
 
239034
 
-
 
239035
  }
-
 
239036
 
-
 
239037
  public static class getSellerInfo_args implements org.apache.thrift.TBase<getSellerInfo_args, getSellerInfo_args._Fields>, java.io.Serializable, Cloneable   {
-
 
239038
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSellerInfo_args");
-
 
239039
 
-
 
239040
    private static final org.apache.thrift.protocol.TField SELLER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("sellerId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
239041
 
-
 
239042
    private long sellerId; // required
-
 
239043
 
-
 
239044
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
239045
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
239046
      SELLER_ID((short)1, "sellerId");
-
 
239047
 
-
 
239048
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
239049
 
-
 
239050
      static {
-
 
239051
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
239052
          byName.put(field.getFieldName(), field);
-
 
239053
        }
-
 
239054
      }
-
 
239055
 
-
 
239056
      /**
-
 
239057
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
239058
       */
-
 
239059
      public static _Fields findByThriftId(int fieldId) {
-
 
239060
        switch(fieldId) {
-
 
239061
          case 1: // SELLER_ID
-
 
239062
            return SELLER_ID;
-
 
239063
          default:
-
 
239064
            return null;
-
 
239065
        }
-
 
239066
      }
-
 
239067
 
-
 
239068
      /**
-
 
239069
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
239070
       * if it is not found.
-
 
239071
       */
-
 
239072
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
239073
        _Fields fields = findByThriftId(fieldId);
-
 
239074
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
239075
        return fields;
-
 
239076
      }
-
 
239077
 
-
 
239078
      /**
-
 
239079
       * Find the _Fields constant that matches name, or null if its not found.
-
 
239080
       */
-
 
239081
      public static _Fields findByName(String name) {
-
 
239082
        return byName.get(name);
-
 
239083
      }
-
 
239084
 
-
 
239085
      private final short _thriftId;
-
 
239086
      private final String _fieldName;
-
 
239087
 
-
 
239088
      _Fields(short thriftId, String fieldName) {
-
 
239089
        _thriftId = thriftId;
-
 
239090
        _fieldName = fieldName;
-
 
239091
      }
-
 
239092
 
-
 
239093
      public short getThriftFieldId() {
-
 
239094
        return _thriftId;
-
 
239095
      }
-
 
239096
 
-
 
239097
      public String getFieldName() {
-
 
239098
        return _fieldName;
-
 
239099
      }
-
 
239100
    }
-
 
239101
 
-
 
239102
    // isset id assignments
-
 
239103
    private static final int __SELLERID_ISSET_ID = 0;
-
 
239104
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
239105
 
-
 
239106
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
239107
    static {
-
 
239108
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
239109
      tmpMap.put(_Fields.SELLER_ID, new org.apache.thrift.meta_data.FieldMetaData("sellerId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
239110
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
239111
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
239112
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSellerInfo_args.class, metaDataMap);
-
 
239113
    }
-
 
239114
 
-
 
239115
    public getSellerInfo_args() {
-
 
239116
    }
-
 
239117
 
-
 
239118
    public getSellerInfo_args(
-
 
239119
      long sellerId)
-
 
239120
    {
-
 
239121
      this();
-
 
239122
      this.sellerId = sellerId;
-
 
239123
      setSellerIdIsSet(true);
-
 
239124
    }
-
 
239125
 
-
 
239126
    /**
-
 
239127
     * Performs a deep copy on <i>other</i>.
-
 
239128
     */
-
 
239129
    public getSellerInfo_args(getSellerInfo_args other) {
-
 
239130
      __isset_bit_vector.clear();
-
 
239131
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
239132
      this.sellerId = other.sellerId;
-
 
239133
    }
-
 
239134
 
-
 
239135
    public getSellerInfo_args deepCopy() {
-
 
239136
      return new getSellerInfo_args(this);
-
 
239137
    }
-
 
239138
 
-
 
239139
    @Override
-
 
239140
    public void clear() {
-
 
239141
      setSellerIdIsSet(false);
-
 
239142
      this.sellerId = 0;
-
 
239143
    }
-
 
239144
 
-
 
239145
    public long getSellerId() {
-
 
239146
      return this.sellerId;
-
 
239147
    }
-
 
239148
 
-
 
239149
    public void setSellerId(long sellerId) {
-
 
239150
      this.sellerId = sellerId;
-
 
239151
      setSellerIdIsSet(true);
-
 
239152
    }
-
 
239153
 
-
 
239154
    public void unsetSellerId() {
-
 
239155
      __isset_bit_vector.clear(__SELLERID_ISSET_ID);
-
 
239156
    }
-
 
239157
 
-
 
239158
    /** Returns true if field sellerId is set (has been assigned a value) and false otherwise */
-
 
239159
    public boolean isSetSellerId() {
-
 
239160
      return __isset_bit_vector.get(__SELLERID_ISSET_ID);
-
 
239161
    }
-
 
239162
 
-
 
239163
    public void setSellerIdIsSet(boolean value) {
-
 
239164
      __isset_bit_vector.set(__SELLERID_ISSET_ID, value);
-
 
239165
    }
-
 
239166
 
-
 
239167
    public void setFieldValue(_Fields field, Object value) {
-
 
239168
      switch (field) {
-
 
239169
      case SELLER_ID:
-
 
239170
        if (value == null) {
-
 
239171
          unsetSellerId();
-
 
239172
        } else {
-
 
239173
          setSellerId((Long)value);
-
 
239174
        }
-
 
239175
        break;
-
 
239176
 
-
 
239177
      }
-
 
239178
    }
-
 
239179
 
-
 
239180
    public Object getFieldValue(_Fields field) {
-
 
239181
      switch (field) {
-
 
239182
      case SELLER_ID:
-
 
239183
        return Long.valueOf(getSellerId());
-
 
239184
 
-
 
239185
      }
-
 
239186
      throw new IllegalStateException();
-
 
239187
    }
-
 
239188
 
-
 
239189
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
239190
    public boolean isSet(_Fields field) {
-
 
239191
      if (field == null) {
-
 
239192
        throw new IllegalArgumentException();
-
 
239193
      }
-
 
239194
 
-
 
239195
      switch (field) {
-
 
239196
      case SELLER_ID:
-
 
239197
        return isSetSellerId();
-
 
239198
      }
-
 
239199
      throw new IllegalStateException();
-
 
239200
    }
-
 
239201
 
-
 
239202
    @Override
-
 
239203
    public boolean equals(Object that) {
-
 
239204
      if (that == null)
-
 
239205
        return false;
-
 
239206
      if (that instanceof getSellerInfo_args)
-
 
239207
        return this.equals((getSellerInfo_args)that);
-
 
239208
      return false;
-
 
239209
    }
-
 
239210
 
-
 
239211
    public boolean equals(getSellerInfo_args that) {
-
 
239212
      if (that == null)
-
 
239213
        return false;
-
 
239214
 
-
 
239215
      boolean this_present_sellerId = true;
-
 
239216
      boolean that_present_sellerId = true;
-
 
239217
      if (this_present_sellerId || that_present_sellerId) {
-
 
239218
        if (!(this_present_sellerId && that_present_sellerId))
-
 
239219
          return false;
-
 
239220
        if (this.sellerId != that.sellerId)
-
 
239221
          return false;
-
 
239222
      }
-
 
239223
 
-
 
239224
      return true;
-
 
239225
    }
-
 
239226
 
-
 
239227
    @Override
-
 
239228
    public int hashCode() {
-
 
239229
      return 0;
-
 
239230
    }
-
 
239231
 
-
 
239232
    public int compareTo(getSellerInfo_args other) {
-
 
239233
      if (!getClass().equals(other.getClass())) {
-
 
239234
        return getClass().getName().compareTo(other.getClass().getName());
-
 
239235
      }
-
 
239236
 
-
 
239237
      int lastComparison = 0;
-
 
239238
      getSellerInfo_args typedOther = (getSellerInfo_args)other;
-
 
239239
 
-
 
239240
      lastComparison = Boolean.valueOf(isSetSellerId()).compareTo(typedOther.isSetSellerId());
-
 
239241
      if (lastComparison != 0) {
-
 
239242
        return lastComparison;
-
 
239243
      }
-
 
239244
      if (isSetSellerId()) {
-
 
239245
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sellerId, typedOther.sellerId);
-
 
239246
        if (lastComparison != 0) {
-
 
239247
          return lastComparison;
-
 
239248
        }
-
 
239249
      }
-
 
239250
      return 0;
-
 
239251
    }
-
 
239252
 
-
 
239253
    public _Fields fieldForId(int fieldId) {
-
 
239254
      return _Fields.findByThriftId(fieldId);
-
 
239255
    }
-
 
239256
 
-
 
239257
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
239258
      org.apache.thrift.protocol.TField field;
-
 
239259
      iprot.readStructBegin();
-
 
239260
      while (true)
-
 
239261
      {
-
 
239262
        field = iprot.readFieldBegin();
-
 
239263
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
239264
          break;
-
 
239265
        }
-
 
239266
        switch (field.id) {
-
 
239267
          case 1: // SELLER_ID
-
 
239268
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
239269
              this.sellerId = iprot.readI64();
-
 
239270
              setSellerIdIsSet(true);
-
 
239271
            } else { 
-
 
239272
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
239273
            }
-
 
239274
            break;
-
 
239275
          default:
-
 
239276
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
239277
        }
-
 
239278
        iprot.readFieldEnd();
-
 
239279
      }
-
 
239280
      iprot.readStructEnd();
-
 
239281
      validate();
-
 
239282
    }
-
 
239283
 
-
 
239284
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
239285
      validate();
-
 
239286
 
-
 
239287
      oprot.writeStructBegin(STRUCT_DESC);
-
 
239288
      oprot.writeFieldBegin(SELLER_ID_FIELD_DESC);
-
 
239289
      oprot.writeI64(this.sellerId);
-
 
239290
      oprot.writeFieldEnd();
-
 
239291
      oprot.writeFieldStop();
-
 
239292
      oprot.writeStructEnd();
-
 
239293
    }
-
 
239294
 
-
 
239295
    @Override
-
 
239296
    public String toString() {
-
 
239297
      StringBuilder sb = new StringBuilder("getSellerInfo_args(");
-
 
239298
      boolean first = true;
-
 
239299
 
-
 
239300
      sb.append("sellerId:");
-
 
239301
      sb.append(this.sellerId);
-
 
239302
      first = false;
-
 
239303
      sb.append(")");
-
 
239304
      return sb.toString();
-
 
239305
    }
-
 
239306
 
-
 
239307
    public void validate() throws org.apache.thrift.TException {
-
 
239308
      // check for required fields
-
 
239309
    }
-
 
239310
 
-
 
239311
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
239312
      try {
-
 
239313
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
239314
      } catch (org.apache.thrift.TException te) {
-
 
239315
        throw new java.io.IOException(te);
-
 
239316
      }
-
 
239317
    }
-
 
239318
 
-
 
239319
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
239320
      try {
-
 
239321
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
239322
        __isset_bit_vector = new BitSet(1);
-
 
239323
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
239324
      } catch (org.apache.thrift.TException te) {
-
 
239325
        throw new java.io.IOException(te);
-
 
239326
      }
-
 
239327
    }
-
 
239328
 
-
 
239329
  }
-
 
239330
 
-
 
239331
  public static class getSellerInfo_result implements org.apache.thrift.TBase<getSellerInfo_result, getSellerInfo_result._Fields>, java.io.Serializable, Cloneable   {
-
 
239332
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSellerInfo_result");
-
 
239333
 
-
 
239334
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
-
 
239335
 
-
 
239336
    private SellerInfo success; // required
-
 
239337
 
-
 
239338
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
239339
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
239340
      SUCCESS((short)0, "success");
-
 
239341
 
-
 
239342
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
239343
 
-
 
239344
      static {
-
 
239345
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
239346
          byName.put(field.getFieldName(), field);
-
 
239347
        }
-
 
239348
      }
-
 
239349
 
-
 
239350
      /**
-
 
239351
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
239352
       */
-
 
239353
      public static _Fields findByThriftId(int fieldId) {
-
 
239354
        switch(fieldId) {
-
 
239355
          case 0: // SUCCESS
-
 
239356
            return SUCCESS;
-
 
239357
          default:
-
 
239358
            return null;
-
 
239359
        }
-
 
239360
      }
-
 
239361
 
-
 
239362
      /**
-
 
239363
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
239364
       * if it is not found.
-
 
239365
       */
-
 
239366
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
239367
        _Fields fields = findByThriftId(fieldId);
-
 
239368
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
239369
        return fields;
-
 
239370
      }
-
 
239371
 
-
 
239372
      /**
-
 
239373
       * Find the _Fields constant that matches name, or null if its not found.
-
 
239374
       */
-
 
239375
      public static _Fields findByName(String name) {
-
 
239376
        return byName.get(name);
-
 
239377
      }
-
 
239378
 
-
 
239379
      private final short _thriftId;
-
 
239380
      private final String _fieldName;
-
 
239381
 
-
 
239382
      _Fields(short thriftId, String fieldName) {
-
 
239383
        _thriftId = thriftId;
-
 
239384
        _fieldName = fieldName;
-
 
239385
      }
-
 
239386
 
-
 
239387
      public short getThriftFieldId() {
-
 
239388
        return _thriftId;
-
 
239389
      }
-
 
239390
 
-
 
239391
      public String getFieldName() {
-
 
239392
        return _fieldName;
-
 
239393
      }
-
 
239394
    }
-
 
239395
 
-
 
239396
    // isset id assignments
-
 
239397
 
-
 
239398
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
239399
    static {
-
 
239400
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
239401
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
239402
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, SellerInfo.class)));
-
 
239403
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
239404
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSellerInfo_result.class, metaDataMap);
-
 
239405
    }
-
 
239406
 
-
 
239407
    public getSellerInfo_result() {
-
 
239408
    }
-
 
239409
 
-
 
239410
    public getSellerInfo_result(
-
 
239411
      SellerInfo success)
-
 
239412
    {
-
 
239413
      this();
-
 
239414
      this.success = success;
-
 
239415
    }
-
 
239416
 
-
 
239417
    /**
-
 
239418
     * Performs a deep copy on <i>other</i>.
-
 
239419
     */
-
 
239420
    public getSellerInfo_result(getSellerInfo_result other) {
-
 
239421
      if (other.isSetSuccess()) {
-
 
239422
        this.success = new SellerInfo(other.success);
-
 
239423
      }
-
 
239424
    }
-
 
239425
 
-
 
239426
    public getSellerInfo_result deepCopy() {
-
 
239427
      return new getSellerInfo_result(this);
-
 
239428
    }
-
 
239429
 
-
 
239430
    @Override
-
 
239431
    public void clear() {
-
 
239432
      this.success = null;
-
 
239433
    }
-
 
239434
 
-
 
239435
    public SellerInfo getSuccess() {
-
 
239436
      return this.success;
-
 
239437
    }
-
 
239438
 
-
 
239439
    public void setSuccess(SellerInfo success) {
-
 
239440
      this.success = success;
-
 
239441
    }
-
 
239442
 
-
 
239443
    public void unsetSuccess() {
-
 
239444
      this.success = null;
-
 
239445
    }
-
 
239446
 
-
 
239447
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
239448
    public boolean isSetSuccess() {
-
 
239449
      return this.success != null;
-
 
239450
    }
-
 
239451
 
-
 
239452
    public void setSuccessIsSet(boolean value) {
-
 
239453
      if (!value) {
-
 
239454
        this.success = null;
-
 
239455
      }
-
 
239456
    }
-
 
239457
 
-
 
239458
    public void setFieldValue(_Fields field, Object value) {
-
 
239459
      switch (field) {
-
 
239460
      case SUCCESS:
-
 
239461
        if (value == null) {
-
 
239462
          unsetSuccess();
-
 
239463
        } else {
-
 
239464
          setSuccess((SellerInfo)value);
-
 
239465
        }
-
 
239466
        break;
-
 
239467
 
-
 
239468
      }
-
 
239469
    }
-
 
239470
 
-
 
239471
    public Object getFieldValue(_Fields field) {
-
 
239472
      switch (field) {
-
 
239473
      case SUCCESS:
-
 
239474
        return getSuccess();
-
 
239475
 
-
 
239476
      }
-
 
239477
      throw new IllegalStateException();
-
 
239478
    }
-
 
239479
 
-
 
239480
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
239481
    public boolean isSet(_Fields field) {
-
 
239482
      if (field == null) {
-
 
239483
        throw new IllegalArgumentException();
-
 
239484
      }
-
 
239485
 
-
 
239486
      switch (field) {
-
 
239487
      case SUCCESS:
-
 
239488
        return isSetSuccess();
-
 
239489
      }
-
 
239490
      throw new IllegalStateException();
-
 
239491
    }
-
 
239492
 
-
 
239493
    @Override
-
 
239494
    public boolean equals(Object that) {
-
 
239495
      if (that == null)
-
 
239496
        return false;
-
 
239497
      if (that instanceof getSellerInfo_result)
-
 
239498
        return this.equals((getSellerInfo_result)that);
-
 
239499
      return false;
-
 
239500
    }
-
 
239501
 
-
 
239502
    public boolean equals(getSellerInfo_result that) {
-
 
239503
      if (that == null)
-
 
239504
        return false;
-
 
239505
 
-
 
239506
      boolean this_present_success = true && this.isSetSuccess();
-
 
239507
      boolean that_present_success = true && that.isSetSuccess();
-
 
239508
      if (this_present_success || that_present_success) {
-
 
239509
        if (!(this_present_success && that_present_success))
-
 
239510
          return false;
-
 
239511
        if (!this.success.equals(that.success))
-
 
239512
          return false;
-
 
239513
      }
-
 
239514
 
-
 
239515
      return true;
-
 
239516
    }
-
 
239517
 
-
 
239518
    @Override
-
 
239519
    public int hashCode() {
-
 
239520
      return 0;
-
 
239521
    }
-
 
239522
 
-
 
239523
    public int compareTo(getSellerInfo_result other) {
-
 
239524
      if (!getClass().equals(other.getClass())) {
-
 
239525
        return getClass().getName().compareTo(other.getClass().getName());
-
 
239526
      }
-
 
239527
 
-
 
239528
      int lastComparison = 0;
-
 
239529
      getSellerInfo_result typedOther = (getSellerInfo_result)other;
-
 
239530
 
-
 
239531
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
239532
      if (lastComparison != 0) {
-
 
239533
        return lastComparison;
-
 
239534
      }
-
 
239535
      if (isSetSuccess()) {
-
 
239536
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
239537
        if (lastComparison != 0) {
-
 
239538
          return lastComparison;
-
 
239539
        }
-
 
239540
      }
-
 
239541
      return 0;
-
 
239542
    }
-
 
239543
 
-
 
239544
    public _Fields fieldForId(int fieldId) {
-
 
239545
      return _Fields.findByThriftId(fieldId);
-
 
239546
    }
-
 
239547
 
-
 
239548
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
239549
      org.apache.thrift.protocol.TField field;
-
 
239550
      iprot.readStructBegin();
-
 
239551
      while (true)
-
 
239552
      {
-
 
239553
        field = iprot.readFieldBegin();
-
 
239554
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
239555
          break;
-
 
239556
        }
-
 
239557
        switch (field.id) {
-
 
239558
          case 0: // SUCCESS
-
 
239559
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
239560
              this.success = new SellerInfo();
-
 
239561
              this.success.read(iprot);
-
 
239562
            } else { 
-
 
239563
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
239564
            }
-
 
239565
            break;
-
 
239566
          default:
-
 
239567
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
239568
        }
-
 
239569
        iprot.readFieldEnd();
-
 
239570
      }
-
 
239571
      iprot.readStructEnd();
-
 
239572
      validate();
-
 
239573
    }
-
 
239574
 
-
 
239575
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
239576
      oprot.writeStructBegin(STRUCT_DESC);
-
 
239577
 
-
 
239578
      if (this.isSetSuccess()) {
-
 
239579
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
239580
        this.success.write(oprot);
-
 
239581
        oprot.writeFieldEnd();
-
 
239582
      }
-
 
239583
      oprot.writeFieldStop();
-
 
239584
      oprot.writeStructEnd();
-
 
239585
    }
-
 
239586
 
-
 
239587
    @Override
-
 
239588
    public String toString() {
-
 
239589
      StringBuilder sb = new StringBuilder("getSellerInfo_result(");
-
 
239590
      boolean first = true;
-
 
239591
 
-
 
239592
      sb.append("success:");
-
 
239593
      if (this.success == null) {
-
 
239594
        sb.append("null");
-
 
239595
      } else {
-
 
239596
        sb.append(this.success);
-
 
239597
      }
-
 
239598
      first = false;
-
 
239599
      sb.append(")");
-
 
239600
      return sb.toString();
-
 
239601
    }
-
 
239602
 
-
 
239603
    public void validate() throws org.apache.thrift.TException {
-
 
239604
      // check for required fields
-
 
239605
    }
-
 
239606
 
-
 
239607
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
239608
      try {
-
 
239609
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
239610
      } catch (org.apache.thrift.TException te) {
-
 
239611
        throw new java.io.IOException(te);
-
 
239612
      }
-
 
239613
    }
-
 
239614
 
-
 
239615
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
239616
      try {
-
 
239617
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
239618
      } catch (org.apache.thrift.TException te) {
-
 
239619
        throw new java.io.IOException(te);
-
 
239620
      }
-
 
239621
    }
-
 
239622
 
-
 
239623
  }
-
 
239624
 
-
 
239625
  public static class getWarehouseAddress_args implements org.apache.thrift.TBase<getWarehouseAddress_args, getWarehouseAddress_args._Fields>, java.io.Serializable, Cloneable   {
-
 
239626
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getWarehouseAddress_args");
-
 
239627
 
-
 
239628
    private static final org.apache.thrift.protocol.TField ADDRESS_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("address_id", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
239629
 
-
 
239630
    private long address_id; // required
-
 
239631
 
-
 
239632
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
239633
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
239634
      ADDRESS_ID((short)1, "address_id");
-
 
239635
 
-
 
239636
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
239637
 
-
 
239638
      static {
-
 
239639
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
239640
          byName.put(field.getFieldName(), field);
-
 
239641
        }
-
 
239642
      }
-
 
239643
 
-
 
239644
      /**
-
 
239645
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
239646
       */
-
 
239647
      public static _Fields findByThriftId(int fieldId) {
-
 
239648
        switch(fieldId) {
-
 
239649
          case 1: // ADDRESS_ID
-
 
239650
            return ADDRESS_ID;
-
 
239651
          default:
-
 
239652
            return null;
-
 
239653
        }
-
 
239654
      }
-
 
239655
 
-
 
239656
      /**
-
 
239657
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
239658
       * if it is not found.
-
 
239659
       */
-
 
239660
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
239661
        _Fields fields = findByThriftId(fieldId);
-
 
239662
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
239663
        return fields;
-
 
239664
      }
-
 
239665
 
-
 
239666
      /**
-
 
239667
       * Find the _Fields constant that matches name, or null if its not found.
-
 
239668
       */
-
 
239669
      public static _Fields findByName(String name) {
-
 
239670
        return byName.get(name);
-
 
239671
      }
-
 
239672
 
-
 
239673
      private final short _thriftId;
-
 
239674
      private final String _fieldName;
-
 
239675
 
-
 
239676
      _Fields(short thriftId, String fieldName) {
-
 
239677
        _thriftId = thriftId;
-
 
239678
        _fieldName = fieldName;
-
 
239679
      }
-
 
239680
 
-
 
239681
      public short getThriftFieldId() {
-
 
239682
        return _thriftId;
-
 
239683
      }
-
 
239684
 
-
 
239685
      public String getFieldName() {
-
 
239686
        return _fieldName;
-
 
239687
      }
-
 
239688
    }
-
 
239689
 
-
 
239690
    // isset id assignments
-
 
239691
    private static final int __ADDRESS_ID_ISSET_ID = 0;
-
 
239692
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
239693
 
-
 
239694
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
239695
    static {
-
 
239696
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
238288
      tmpMap.put(_Fields.RETURN_TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("returnTransactionId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
239697
      tmpMap.put(_Fields.ADDRESS_ID, new org.apache.thrift.meta_data.FieldMetaData("address_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
238289
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
239698
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
238290
      metaDataMap = Collections.unmodifiableMap(tmpMap);
239699
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
239700
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getWarehouseAddress_args.class, metaDataMap);
-
 
239701
    }
-
 
239702
 
-
 
239703
    public getWarehouseAddress_args() {
-
 
239704
    }
-
 
239705
 
-
 
239706
    public getWarehouseAddress_args(
-
 
239707
      long address_id)
-
 
239708
    {
-
 
239709
      this();
-
 
239710
      this.address_id = address_id;
-
 
239711
      setAddress_idIsSet(true);
-
 
239712
    }
-
 
239713
 
-
 
239714
    /**
-
 
239715
     * Performs a deep copy on <i>other</i>.
-
 
239716
     */
-
 
239717
    public getWarehouseAddress_args(getWarehouseAddress_args other) {
-
 
239718
      __isset_bit_vector.clear();
-
 
239719
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
239720
      this.address_id = other.address_id;
-
 
239721
    }
-
 
239722
 
-
 
239723
    public getWarehouseAddress_args deepCopy() {
-
 
239724
      return new getWarehouseAddress_args(this);
-
 
239725
    }
-
 
239726
 
-
 
239727
    @Override
-
 
239728
    public void clear() {
-
 
239729
      setAddress_idIsSet(false);
-
 
239730
      this.address_id = 0;
-
 
239731
    }
-
 
239732
 
-
 
239733
    public long getAddress_id() {
-
 
239734
      return this.address_id;
-
 
239735
    }
-
 
239736
 
-
 
239737
    public void setAddress_id(long address_id) {
-
 
239738
      this.address_id = address_id;
-
 
239739
      setAddress_idIsSet(true);
-
 
239740
    }
-
 
239741
 
-
 
239742
    public void unsetAddress_id() {
-
 
239743
      __isset_bit_vector.clear(__ADDRESS_ID_ISSET_ID);
-
 
239744
    }
-
 
239745
 
-
 
239746
    /** Returns true if field address_id is set (has been assigned a value) and false otherwise */
-
 
239747
    public boolean isSetAddress_id() {
-
 
239748
      return __isset_bit_vector.get(__ADDRESS_ID_ISSET_ID);
-
 
239749
    }
-
 
239750
 
-
 
239751
    public void setAddress_idIsSet(boolean value) {
-
 
239752
      __isset_bit_vector.set(__ADDRESS_ID_ISSET_ID, value);
-
 
239753
    }
-
 
239754
 
-
 
239755
    public void setFieldValue(_Fields field, Object value) {
-
 
239756
      switch (field) {
-
 
239757
      case ADDRESS_ID:
-
 
239758
        if (value == null) {
-
 
239759
          unsetAddress_id();
-
 
239760
        } else {
-
 
239761
          setAddress_id((Long)value);
-
 
239762
        }
-
 
239763
        break;
-
 
239764
 
-
 
239765
      }
-
 
239766
    }
-
 
239767
 
-
 
239768
    public Object getFieldValue(_Fields field) {
-
 
239769
      switch (field) {
-
 
239770
      case ADDRESS_ID:
-
 
239771
        return Long.valueOf(getAddress_id());
-
 
239772
 
-
 
239773
      }
-
 
239774
      throw new IllegalStateException();
-
 
239775
    }
-
 
239776
 
-
 
239777
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
239778
    public boolean isSet(_Fields field) {
-
 
239779
      if (field == null) {
-
 
239780
        throw new IllegalArgumentException();
-
 
239781
      }
-
 
239782
 
-
 
239783
      switch (field) {
-
 
239784
      case ADDRESS_ID:
-
 
239785
        return isSetAddress_id();
-
 
239786
      }
-
 
239787
      throw new IllegalStateException();
-
 
239788
    }
-
 
239789
 
-
 
239790
    @Override
-
 
239791
    public boolean equals(Object that) {
-
 
239792
      if (that == null)
-
 
239793
        return false;
-
 
239794
      if (that instanceof getWarehouseAddress_args)
-
 
239795
        return this.equals((getWarehouseAddress_args)that);
-
 
239796
      return false;
-
 
239797
    }
-
 
239798
 
-
 
239799
    public boolean equals(getWarehouseAddress_args that) {
-
 
239800
      if (that == null)
-
 
239801
        return false;
-
 
239802
 
-
 
239803
      boolean this_present_address_id = true;
-
 
239804
      boolean that_present_address_id = true;
-
 
239805
      if (this_present_address_id || that_present_address_id) {
-
 
239806
        if (!(this_present_address_id && that_present_address_id))
-
 
239807
          return false;
-
 
239808
        if (this.address_id != that.address_id)
-
 
239809
          return false;
-
 
239810
      }
-
 
239811
 
-
 
239812
      return true;
-
 
239813
    }
-
 
239814
 
-
 
239815
    @Override
-
 
239816
    public int hashCode() {
-
 
239817
      return 0;
-
 
239818
    }
-
 
239819
 
-
 
239820
    public int compareTo(getWarehouseAddress_args other) {
-
 
239821
      if (!getClass().equals(other.getClass())) {
-
 
239822
        return getClass().getName().compareTo(other.getClass().getName());
-
 
239823
      }
-
 
239824
 
-
 
239825
      int lastComparison = 0;
-
 
239826
      getWarehouseAddress_args typedOther = (getWarehouseAddress_args)other;
-
 
239827
 
-
 
239828
      lastComparison = Boolean.valueOf(isSetAddress_id()).compareTo(typedOther.isSetAddress_id());
-
 
239829
      if (lastComparison != 0) {
-
 
239830
        return lastComparison;
-
 
239831
      }
-
 
239832
      if (isSetAddress_id()) {
-
 
239833
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.address_id, typedOther.address_id);
-
 
239834
        if (lastComparison != 0) {
-
 
239835
          return lastComparison;
-
 
239836
        }
-
 
239837
      }
-
 
239838
      return 0;
-
 
239839
    }
-
 
239840
 
-
 
239841
    public _Fields fieldForId(int fieldId) {
-
 
239842
      return _Fields.findByThriftId(fieldId);
-
 
239843
    }
-
 
239844
 
-
 
239845
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
239846
      org.apache.thrift.protocol.TField field;
-
 
239847
      iprot.readStructBegin();
-
 
239848
      while (true)
-
 
239849
      {
-
 
239850
        field = iprot.readFieldBegin();
-
 
239851
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
239852
          break;
-
 
239853
        }
-
 
239854
        switch (field.id) {
-
 
239855
          case 1: // ADDRESS_ID
-
 
239856
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
239857
              this.address_id = iprot.readI64();
-
 
239858
              setAddress_idIsSet(true);
-
 
239859
            } else { 
-
 
239860
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
239861
            }
-
 
239862
            break;
-
 
239863
          default:
-
 
239864
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
239865
        }
-
 
239866
        iprot.readFieldEnd();
-
 
239867
      }
-
 
239868
      iprot.readStructEnd();
-
 
239869
      validate();
-
 
239870
    }
-
 
239871
 
-
 
239872
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
239873
      validate();
-
 
239874
 
-
 
239875
      oprot.writeStructBegin(STRUCT_DESC);
-
 
239876
      oprot.writeFieldBegin(ADDRESS_ID_FIELD_DESC);
-
 
239877
      oprot.writeI64(this.address_id);
-
 
239878
      oprot.writeFieldEnd();
-
 
239879
      oprot.writeFieldStop();
-
 
239880
      oprot.writeStructEnd();
-
 
239881
    }
-
 
239882
 
-
 
239883
    @Override
-
 
239884
    public String toString() {
-
 
239885
      StringBuilder sb = new StringBuilder("getWarehouseAddress_args(");
-
 
239886
      boolean first = true;
-
 
239887
 
-
 
239888
      sb.append("address_id:");
-
 
239889
      sb.append(this.address_id);
-
 
239890
      first = false;
-
 
239891
      sb.append(")");
-
 
239892
      return sb.toString();
-
 
239893
    }
-
 
239894
 
-
 
239895
    public void validate() throws org.apache.thrift.TException {
-
 
239896
      // check for required fields
-
 
239897
    }
-
 
239898
 
-
 
239899
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
239900
      try {
-
 
239901
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
239902
      } catch (org.apache.thrift.TException te) {
-
 
239903
        throw new java.io.IOException(te);
-
 
239904
      }
-
 
239905
    }
-
 
239906
 
-
 
239907
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
239908
      try {
-
 
239909
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
239910
        __isset_bit_vector = new BitSet(1);
-
 
239911
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
239912
      } catch (org.apache.thrift.TException te) {
-
 
239913
        throw new java.io.IOException(te);
-
 
239914
      }
-
 
239915
    }
-
 
239916
 
-
 
239917
  }
-
 
239918
 
-
 
239919
  public static class getWarehouseAddress_result implements org.apache.thrift.TBase<getWarehouseAddress_result, getWarehouseAddress_result._Fields>, java.io.Serializable, Cloneable   {
-
 
239920
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getWarehouseAddress_result");
-
 
239921
 
-
 
239922
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
-
 
239923
 
-
 
239924
    private WarehouseAddress success; // required
-
 
239925
 
-
 
239926
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
239927
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
239928
      SUCCESS((short)0, "success");
-
 
239929
 
-
 
239930
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
239931
 
-
 
239932
      static {
-
 
239933
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
239934
          byName.put(field.getFieldName(), field);
-
 
239935
        }
-
 
239936
      }
-
 
239937
 
-
 
239938
      /**
-
 
239939
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
239940
       */
-
 
239941
      public static _Fields findByThriftId(int fieldId) {
-
 
239942
        switch(fieldId) {
-
 
239943
          case 0: // SUCCESS
-
 
239944
            return SUCCESS;
-
 
239945
          default:
-
 
239946
            return null;
-
 
239947
        }
-
 
239948
      }
-
 
239949
 
-
 
239950
      /**
-
 
239951
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
239952
       * if it is not found.
-
 
239953
       */
-
 
239954
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
239955
        _Fields fields = findByThriftId(fieldId);
-
 
239956
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
239957
        return fields;
-
 
239958
      }
-
 
239959
 
-
 
239960
      /**
-
 
239961
       * Find the _Fields constant that matches name, or null if its not found.
-
 
239962
       */
-
 
239963
      public static _Fields findByName(String name) {
-
 
239964
        return byName.get(name);
-
 
239965
      }
-
 
239966
 
-
 
239967
      private final short _thriftId;
-
 
239968
      private final String _fieldName;
-
 
239969
 
-
 
239970
      _Fields(short thriftId, String fieldName) {
-
 
239971
        _thriftId = thriftId;
-
 
239972
        _fieldName = fieldName;
-
 
239973
      }
-
 
239974
 
-
 
239975
      public short getThriftFieldId() {
-
 
239976
        return _thriftId;
-
 
239977
      }
-
 
239978
 
-
 
239979
      public String getFieldName() {
-
 
239980
        return _fieldName;
-
 
239981
      }
-
 
239982
    }
-
 
239983
 
-
 
239984
    // isset id assignments
-
 
239985
 
-
 
239986
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
239987
    static {
-
 
239988
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
239989
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
239990
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, WarehouseAddress.class)));
-
 
239991
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
239992
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getWarehouseAddress_result.class, metaDataMap);
-
 
239993
    }
-
 
239994
 
-
 
239995
    public getWarehouseAddress_result() {
-
 
239996
    }
-
 
239997
 
-
 
239998
    public getWarehouseAddress_result(
-
 
239999
      WarehouseAddress success)
-
 
240000
    {
-
 
240001
      this();
-
 
240002
      this.success = success;
-
 
240003
    }
-
 
240004
 
-
 
240005
    /**
-
 
240006
     * Performs a deep copy on <i>other</i>.
-
 
240007
     */
-
 
240008
    public getWarehouseAddress_result(getWarehouseAddress_result other) {
-
 
240009
      if (other.isSetSuccess()) {
-
 
240010
        this.success = new WarehouseAddress(other.success);
-
 
240011
      }
-
 
240012
    }
-
 
240013
 
-
 
240014
    public getWarehouseAddress_result deepCopy() {
-
 
240015
      return new getWarehouseAddress_result(this);
-
 
240016
    }
-
 
240017
 
-
 
240018
    @Override
-
 
240019
    public void clear() {
-
 
240020
      this.success = null;
-
 
240021
    }
-
 
240022
 
-
 
240023
    public WarehouseAddress getSuccess() {
-
 
240024
      return this.success;
-
 
240025
    }
-
 
240026
 
-
 
240027
    public void setSuccess(WarehouseAddress success) {
-
 
240028
      this.success = success;
-
 
240029
    }
-
 
240030
 
-
 
240031
    public void unsetSuccess() {
-
 
240032
      this.success = null;
-
 
240033
    }
-
 
240034
 
-
 
240035
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
240036
    public boolean isSetSuccess() {
-
 
240037
      return this.success != null;
-
 
240038
    }
-
 
240039
 
-
 
240040
    public void setSuccessIsSet(boolean value) {
-
 
240041
      if (!value) {
-
 
240042
        this.success = null;
-
 
240043
      }
-
 
240044
    }
-
 
240045
 
-
 
240046
    public void setFieldValue(_Fields field, Object value) {
-
 
240047
      switch (field) {
-
 
240048
      case SUCCESS:
-
 
240049
        if (value == null) {
-
 
240050
          unsetSuccess();
-
 
240051
        } else {
-
 
240052
          setSuccess((WarehouseAddress)value);
-
 
240053
        }
-
 
240054
        break;
-
 
240055
 
-
 
240056
      }
-
 
240057
    }
-
 
240058
 
-
 
240059
    public Object getFieldValue(_Fields field) {
-
 
240060
      switch (field) {
-
 
240061
      case SUCCESS:
-
 
240062
        return getSuccess();
-
 
240063
 
-
 
240064
      }
-
 
240065
      throw new IllegalStateException();
-
 
240066
    }
-
 
240067
 
-
 
240068
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
240069
    public boolean isSet(_Fields field) {
-
 
240070
      if (field == null) {
-
 
240071
        throw new IllegalArgumentException();
-
 
240072
      }
-
 
240073
 
-
 
240074
      switch (field) {
-
 
240075
      case SUCCESS:
-
 
240076
        return isSetSuccess();
-
 
240077
      }
-
 
240078
      throw new IllegalStateException();
-
 
240079
    }
-
 
240080
 
-
 
240081
    @Override
-
 
240082
    public boolean equals(Object that) {
-
 
240083
      if (that == null)
-
 
240084
        return false;
-
 
240085
      if (that instanceof getWarehouseAddress_result)
-
 
240086
        return this.equals((getWarehouseAddress_result)that);
-
 
240087
      return false;
-
 
240088
    }
-
 
240089
 
-
 
240090
    public boolean equals(getWarehouseAddress_result that) {
-
 
240091
      if (that == null)
-
 
240092
        return false;
-
 
240093
 
-
 
240094
      boolean this_present_success = true && this.isSetSuccess();
-
 
240095
      boolean that_present_success = true && that.isSetSuccess();
-
 
240096
      if (this_present_success || that_present_success) {
-
 
240097
        if (!(this_present_success && that_present_success))
-
 
240098
          return false;
-
 
240099
        if (!this.success.equals(that.success))
-
 
240100
          return false;
-
 
240101
      }
-
 
240102
 
-
 
240103
      return true;
-
 
240104
    }
-
 
240105
 
-
 
240106
    @Override
-
 
240107
    public int hashCode() {
-
 
240108
      return 0;
-
 
240109
    }
-
 
240110
 
-
 
240111
    public int compareTo(getWarehouseAddress_result other) {
-
 
240112
      if (!getClass().equals(other.getClass())) {
-
 
240113
        return getClass().getName().compareTo(other.getClass().getName());
-
 
240114
      }
-
 
240115
 
-
 
240116
      int lastComparison = 0;
-
 
240117
      getWarehouseAddress_result typedOther = (getWarehouseAddress_result)other;
-
 
240118
 
-
 
240119
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
240120
      if (lastComparison != 0) {
-
 
240121
        return lastComparison;
-
 
240122
      }
-
 
240123
      if (isSetSuccess()) {
-
 
240124
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
240125
        if (lastComparison != 0) {
-
 
240126
          return lastComparison;
-
 
240127
        }
-
 
240128
      }
-
 
240129
      return 0;
-
 
240130
    }
-
 
240131
 
-
 
240132
    public _Fields fieldForId(int fieldId) {
-
 
240133
      return _Fields.findByThriftId(fieldId);
-
 
240134
    }
-
 
240135
 
-
 
240136
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
240137
      org.apache.thrift.protocol.TField field;
-
 
240138
      iprot.readStructBegin();
-
 
240139
      while (true)
-
 
240140
      {
-
 
240141
        field = iprot.readFieldBegin();
-
 
240142
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
240143
          break;
-
 
240144
        }
-
 
240145
        switch (field.id) {
-
 
240146
          case 0: // SUCCESS
-
 
240147
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
240148
              this.success = new WarehouseAddress();
-
 
240149
              this.success.read(iprot);
-
 
240150
            } else { 
-
 
240151
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
240152
            }
-
 
240153
            break;
-
 
240154
          default:
-
 
240155
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
240156
        }
-
 
240157
        iprot.readFieldEnd();
-
 
240158
      }
-
 
240159
      iprot.readStructEnd();
-
 
240160
      validate();
-
 
240161
    }
-
 
240162
 
-
 
240163
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
240164
      oprot.writeStructBegin(STRUCT_DESC);
-
 
240165
 
-
 
240166
      if (this.isSetSuccess()) {
-
 
240167
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
240168
        this.success.write(oprot);
-
 
240169
        oprot.writeFieldEnd();
-
 
240170
      }
-
 
240171
      oprot.writeFieldStop();
-
 
240172
      oprot.writeStructEnd();
-
 
240173
    }
-
 
240174
 
-
 
240175
    @Override
-
 
240176
    public String toString() {
-
 
240177
      StringBuilder sb = new StringBuilder("getWarehouseAddress_result(");
-
 
240178
      boolean first = true;
-
 
240179
 
-
 
240180
      sb.append("success:");
-
 
240181
      if (this.success == null) {
-
 
240182
        sb.append("null");
-
 
240183
      } else {
-
 
240184
        sb.append(this.success);
-
 
240185
      }
-
 
240186
      first = false;
-
 
240187
      sb.append(")");
-
 
240188
      return sb.toString();
-
 
240189
    }
-
 
240190
 
-
 
240191
    public void validate() throws org.apache.thrift.TException {
-
 
240192
      // check for required fields
-
 
240193
    }
-
 
240194
 
-
 
240195
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
240196
      try {
-
 
240197
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
240198
      } catch (org.apache.thrift.TException te) {
-
 
240199
        throw new java.io.IOException(te);
-
 
240200
      }
-
 
240201
    }
-
 
240202
 
-
 
240203
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
240204
      try {
-
 
240205
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
240206
      } catch (org.apache.thrift.TException te) {
-
 
240207
        throw new java.io.IOException(te);
-
 
240208
      }
-
 
240209
    }
-
 
240210
 
-
 
240211
  }
-
 
240212
 
-
 
240213
  public static class markReturnNotRequiredOrdersProcessed_args implements org.apache.thrift.TBase<markReturnNotRequiredOrdersProcessed_args, markReturnNotRequiredOrdersProcessed_args._Fields>, java.io.Serializable, Cloneable   {
-
 
240214
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markReturnNotRequiredOrdersProcessed_args");
-
 
240215
 
-
 
240216
    private static final org.apache.thrift.protocol.TField RETURN_ORDER_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("returnOrderInfo", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
240217
 
-
 
240218
    private ReturnOrderInfo returnOrderInfo; // required
-
 
240219
 
-
 
240220
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
240221
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
240222
      RETURN_ORDER_INFO((short)1, "returnOrderInfo");
-
 
240223
 
-
 
240224
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
240225
 
-
 
240226
      static {
-
 
240227
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
240228
          byName.put(field.getFieldName(), field);
-
 
240229
        }
-
 
240230
      }
-
 
240231
 
-
 
240232
      /**
-
 
240233
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
240234
       */
-
 
240235
      public static _Fields findByThriftId(int fieldId) {
-
 
240236
        switch(fieldId) {
-
 
240237
          case 1: // RETURN_ORDER_INFO
-
 
240238
            return RETURN_ORDER_INFO;
-
 
240239
          default:
-
 
240240
            return null;
-
 
240241
        }
-
 
240242
      }
-
 
240243
 
-
 
240244
      /**
-
 
240245
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
240246
       * if it is not found.
-
 
240247
       */
-
 
240248
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
240249
        _Fields fields = findByThriftId(fieldId);
-
 
240250
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
240251
        return fields;
-
 
240252
      }
-
 
240253
 
-
 
240254
      /**
-
 
240255
       * Find the _Fields constant that matches name, or null if its not found.
-
 
240256
       */
-
 
240257
      public static _Fields findByName(String name) {
-
 
240258
        return byName.get(name);
-
 
240259
      }
-
 
240260
 
-
 
240261
      private final short _thriftId;
-
 
240262
      private final String _fieldName;
-
 
240263
 
-
 
240264
      _Fields(short thriftId, String fieldName) {
-
 
240265
        _thriftId = thriftId;
-
 
240266
        _fieldName = fieldName;
-
 
240267
      }
-
 
240268
 
-
 
240269
      public short getThriftFieldId() {
-
 
240270
        return _thriftId;
-
 
240271
      }
-
 
240272
 
-
 
240273
      public String getFieldName() {
-
 
240274
        return _fieldName;
-
 
240275
      }
-
 
240276
    }
-
 
240277
 
-
 
240278
    // isset id assignments
-
 
240279
 
-
 
240280
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
240281
    static {
-
 
240282
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
240283
      tmpMap.put(_Fields.RETURN_ORDER_INFO, new org.apache.thrift.meta_data.FieldMetaData("returnOrderInfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
240284
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnOrderInfo.class)));
-
 
240285
      metaDataMap = Collections.unmodifiableMap(tmpMap);
238291
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markReturnNotRequiredOrdersProcessed_args.class, metaDataMap);
240286
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markReturnNotRequiredOrdersProcessed_args.class, metaDataMap);
238292
    }
240287
    }
238293
 
240288
 
238294
    public markReturnNotRequiredOrdersProcessed_args() {
240289
    public markReturnNotRequiredOrdersProcessed_args() {
238295
    }
240290
    }
238296
 
240291
 
238297
    public markReturnNotRequiredOrdersProcessed_args(
240292
    public markReturnNotRequiredOrdersProcessed_args(
238298
      long returnTransactionId)
240293
      ReturnOrderInfo returnOrderInfo)
238299
    {
240294
    {
238300
      this();
240295
      this();
238301
      this.returnTransactionId = returnTransactionId;
240296
      this.returnOrderInfo = returnOrderInfo;
238302
      setReturnTransactionIdIsSet(true);
-
 
238303
    }
240297
    }
238304
 
240298
 
238305
    /**
240299
    /**
238306
     * Performs a deep copy on <i>other</i>.
240300
     * Performs a deep copy on <i>other</i>.
238307
     */
240301
     */
238308
    public markReturnNotRequiredOrdersProcessed_args(markReturnNotRequiredOrdersProcessed_args other) {
240302
    public markReturnNotRequiredOrdersProcessed_args(markReturnNotRequiredOrdersProcessed_args other) {
238309
      __isset_bit_vector.clear();
240303
      if (other.isSetReturnOrderInfo()) {
238310
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
238311
      this.returnTransactionId = other.returnTransactionId;
240304
        this.returnOrderInfo = new ReturnOrderInfo(other.returnOrderInfo);
-
 
240305
      }
238312
    }
240306
    }
238313
 
240307
 
238314
    public markReturnNotRequiredOrdersProcessed_args deepCopy() {
240308
    public markReturnNotRequiredOrdersProcessed_args deepCopy() {
238315
      return new markReturnNotRequiredOrdersProcessed_args(this);
240309
      return new markReturnNotRequiredOrdersProcessed_args(this);
238316
    }
240310
    }
238317
 
240311
 
238318
    @Override
240312
    @Override
238319
    public void clear() {
240313
    public void clear() {
238320
      setReturnTransactionIdIsSet(false);
-
 
238321
      this.returnTransactionId = 0;
240314
      this.returnOrderInfo = null;
238322
    }
240315
    }
238323
 
240316
 
238324
    public long getReturnTransactionId() {
240317
    public ReturnOrderInfo getReturnOrderInfo() {
238325
      return this.returnTransactionId;
240318
      return this.returnOrderInfo;
238326
    }
240319
    }
238327
 
240320
 
238328
    public void setReturnTransactionId(long returnTransactionId) {
240321
    public void setReturnOrderInfo(ReturnOrderInfo returnOrderInfo) {
238329
      this.returnTransactionId = returnTransactionId;
240322
      this.returnOrderInfo = returnOrderInfo;
238330
      setReturnTransactionIdIsSet(true);
-
 
238331
    }
240323
    }
238332
 
240324
 
238333
    public void unsetReturnTransactionId() {
240325
    public void unsetReturnOrderInfo() {
238334
      __isset_bit_vector.clear(__RETURNTRANSACTIONID_ISSET_ID);
240326
      this.returnOrderInfo = null;
238335
    }
240327
    }
238336
 
240328
 
238337
    /** Returns true if field returnTransactionId is set (has been assigned a value) and false otherwise */
240329
    /** Returns true if field returnOrderInfo is set (has been assigned a value) and false otherwise */
238338
    public boolean isSetReturnTransactionId() {
240330
    public boolean isSetReturnOrderInfo() {
238339
      return __isset_bit_vector.get(__RETURNTRANSACTIONID_ISSET_ID);
240331
      return this.returnOrderInfo != null;
238340
    }
240332
    }
238341
 
240333
 
238342
    public void setReturnTransactionIdIsSet(boolean value) {
240334
    public void setReturnOrderInfoIsSet(boolean value) {
-
 
240335
      if (!value) {
238343
      __isset_bit_vector.set(__RETURNTRANSACTIONID_ISSET_ID, value);
240336
        this.returnOrderInfo = null;
-
 
240337
      }
238344
    }
240338
    }
238345
 
240339
 
238346
    public void setFieldValue(_Fields field, Object value) {
240340
    public void setFieldValue(_Fields field, Object value) {
238347
      switch (field) {
240341
      switch (field) {
238348
      case RETURN_TRANSACTION_ID:
240342
      case RETURN_ORDER_INFO:
238349
        if (value == null) {
240343
        if (value == null) {
238350
          unsetReturnTransactionId();
240344
          unsetReturnOrderInfo();
238351
        } else {
240345
        } else {
238352
          setReturnTransactionId((Long)value);
240346
          setReturnOrderInfo((ReturnOrderInfo)value);
238353
        }
240347
        }
238354
        break;
240348
        break;
238355
 
240349
 
238356
      }
240350
      }
238357
    }
240351
    }
238358
 
240352
 
238359
    public Object getFieldValue(_Fields field) {
240353
    public Object getFieldValue(_Fields field) {
238360
      switch (field) {
240354
      switch (field) {
238361
      case RETURN_TRANSACTION_ID:
240355
      case RETURN_ORDER_INFO:
238362
        return Long.valueOf(getReturnTransactionId());
240356
        return getReturnOrderInfo();
238363
 
240357
 
238364
      }
240358
      }
238365
      throw new IllegalStateException();
240359
      throw new IllegalStateException();
238366
    }
240360
    }
238367
 
240361
 
Line 238370... Line 240364...
238370
      if (field == null) {
240364
      if (field == null) {
238371
        throw new IllegalArgumentException();
240365
        throw new IllegalArgumentException();
238372
      }
240366
      }
238373
 
240367
 
238374
      switch (field) {
240368
      switch (field) {
238375
      case RETURN_TRANSACTION_ID:
240369
      case RETURN_ORDER_INFO:
238376
        return isSetReturnTransactionId();
240370
        return isSetReturnOrderInfo();
238377
      }
240371
      }
238378
      throw new IllegalStateException();
240372
      throw new IllegalStateException();
238379
    }
240373
    }
238380
 
240374
 
238381
    @Override
240375
    @Override
Line 238389... Line 240383...
238389
 
240383
 
238390
    public boolean equals(markReturnNotRequiredOrdersProcessed_args that) {
240384
    public boolean equals(markReturnNotRequiredOrdersProcessed_args that) {
238391
      if (that == null)
240385
      if (that == null)
238392
        return false;
240386
        return false;
238393
 
240387
 
238394
      boolean this_present_returnTransactionId = true;
240388
      boolean this_present_returnOrderInfo = true && this.isSetReturnOrderInfo();
238395
      boolean that_present_returnTransactionId = true;
240389
      boolean that_present_returnOrderInfo = true && that.isSetReturnOrderInfo();
238396
      if (this_present_returnTransactionId || that_present_returnTransactionId) {
240390
      if (this_present_returnOrderInfo || that_present_returnOrderInfo) {
238397
        if (!(this_present_returnTransactionId && that_present_returnTransactionId))
240391
        if (!(this_present_returnOrderInfo && that_present_returnOrderInfo))
238398
          return false;
240392
          return false;
238399
        if (this.returnTransactionId != that.returnTransactionId)
240393
        if (!this.returnOrderInfo.equals(that.returnOrderInfo))
238400
          return false;
240394
          return false;
238401
      }
240395
      }
238402
 
240396
 
238403
      return true;
240397
      return true;
238404
    }
240398
    }
Line 238414... Line 240408...
238414
      }
240408
      }
238415
 
240409
 
238416
      int lastComparison = 0;
240410
      int lastComparison = 0;
238417
      markReturnNotRequiredOrdersProcessed_args typedOther = (markReturnNotRequiredOrdersProcessed_args)other;
240411
      markReturnNotRequiredOrdersProcessed_args typedOther = (markReturnNotRequiredOrdersProcessed_args)other;
238418
 
240412
 
238419
      lastComparison = Boolean.valueOf(isSetReturnTransactionId()).compareTo(typedOther.isSetReturnTransactionId());
240413
      lastComparison = Boolean.valueOf(isSetReturnOrderInfo()).compareTo(typedOther.isSetReturnOrderInfo());
238420
      if (lastComparison != 0) {
240414
      if (lastComparison != 0) {
238421
        return lastComparison;
240415
        return lastComparison;
238422
      }
240416
      }
238423
      if (isSetReturnTransactionId()) {
240417
      if (isSetReturnOrderInfo()) {
238424
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnTransactionId, typedOther.returnTransactionId);
240418
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnOrderInfo, typedOther.returnOrderInfo);
238425
        if (lastComparison != 0) {
240419
        if (lastComparison != 0) {
238426
          return lastComparison;
240420
          return lastComparison;
238427
        }
240421
        }
238428
      }
240422
      }
238429
      return 0;
240423
      return 0;
Line 238441... Line 240435...
238441
        field = iprot.readFieldBegin();
240435
        field = iprot.readFieldBegin();
238442
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
240436
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
238443
          break;
240437
          break;
238444
        }
240438
        }
238445
        switch (field.id) {
240439
        switch (field.id) {
238446
          case 1: // RETURN_TRANSACTION_ID
240440
          case 1: // RETURN_ORDER_INFO
238447
            if (field.type == org.apache.thrift.protocol.TType.I64) {
240441
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
238448
              this.returnTransactionId = iprot.readI64();
240442
              this.returnOrderInfo = new ReturnOrderInfo();
238449
              setReturnTransactionIdIsSet(true);
240443
              this.returnOrderInfo.read(iprot);
238450
            } else { 
240444
            } else { 
238451
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
240445
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
238452
            }
240446
            }
238453
            break;
240447
            break;
238454
          default:
240448
          default:
Line 238462... Line 240456...
238462
 
240456
 
238463
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
240457
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
238464
      validate();
240458
      validate();
238465
 
240459
 
238466
      oprot.writeStructBegin(STRUCT_DESC);
240460
      oprot.writeStructBegin(STRUCT_DESC);
-
 
240461
      if (this.returnOrderInfo != null) {
238467
      oprot.writeFieldBegin(RETURN_TRANSACTION_ID_FIELD_DESC);
240462
        oprot.writeFieldBegin(RETURN_ORDER_INFO_FIELD_DESC);
238468
      oprot.writeI64(this.returnTransactionId);
240463
        this.returnOrderInfo.write(oprot);
238469
      oprot.writeFieldEnd();
240464
        oprot.writeFieldEnd();
-
 
240465
      }
238470
      oprot.writeFieldStop();
240466
      oprot.writeFieldStop();
238471
      oprot.writeStructEnd();
240467
      oprot.writeStructEnd();
238472
    }
240468
    }
238473
 
240469
 
238474
    @Override
240470
    @Override
238475
    public String toString() {
240471
    public String toString() {
238476
      StringBuilder sb = new StringBuilder("markReturnNotRequiredOrdersProcessed_args(");
240472
      StringBuilder sb = new StringBuilder("markReturnNotRequiredOrdersProcessed_args(");
238477
      boolean first = true;
240473
      boolean first = true;
238478
 
240474
 
238479
      sb.append("returnTransactionId:");
240475
      sb.append("returnOrderInfo:");
-
 
240476
      if (this.returnOrderInfo == null) {
-
 
240477
        sb.append("null");
-
 
240478
      } else {
238480
      sb.append(this.returnTransactionId);
240479
        sb.append(this.returnOrderInfo);
-
 
240480
      }
238481
      first = false;
240481
      first = false;
238482
      sb.append(")");
240482
      sb.append(")");
238483
      return sb.toString();
240483
      return sb.toString();
238484
    }
240484
    }
238485
 
240485
 
Line 238495... Line 240495...
238495
      }
240495
      }
238496
    }
240496
    }
238497
 
240497
 
238498
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
240498
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
238499
      try {
240499
      try {
238500
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
238501
        __isset_bit_vector = new BitSet(1);
-
 
238502
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
240500
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
238503
      } catch (org.apache.thrift.TException te) {
240501
      } catch (org.apache.thrift.TException te) {
238504
        throw new java.io.IOException(te);
240502
        throw new java.io.IOException(te);
238505
      }
240503
      }
238506
    }
240504
    }
Line 239474... Line 241472...
239474
      }
241472
      }
239475
    }
241473
    }
239476
 
241474
 
239477
  }
241475
  }
239478
 
241476
 
239479
  public static class getPendingStoreOrders_args implements org.apache.thrift.TBase<getPendingStoreOrders_args, getPendingStoreOrders_args._Fields>, java.io.Serializable, Cloneable   {
241477
  public static class splitReturnOrderInfo_args implements org.apache.thrift.TBase<splitReturnOrderInfo_args, splitReturnOrderInfo_args._Fields>, java.io.Serializable, Cloneable   {
239480
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPendingStoreOrders_args");
241478
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("splitReturnOrderInfo_args");
239481
 
241479
 
239482
    private static final org.apache.thrift.protocol.TField STORE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("storeId", org.apache.thrift.protocol.TType.I64, (short)1);
241480
    private static final org.apache.thrift.protocol.TField RETURN_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("returnOrderId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
241481
    private static final org.apache.thrift.protocol.TField SPLIT_ORDER_QTY_FIELD_DESC = new org.apache.thrift.protocol.TField("splitOrderQty", org.apache.thrift.protocol.TType.I64, (short)2);
239483
 
241482
 
239484
    private long storeId; // required
241483
    private long returnOrderId; // required
-
 
241484
    private long splitOrderQty; // required
239485
 
241485
 
239486
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
241486
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
239487
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
241487
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
239488
      STORE_ID((short)1, "storeId");
241488
      RETURN_ORDER_ID((short)1, "returnOrderId"),
-
 
241489
      SPLIT_ORDER_QTY((short)2, "splitOrderQty");
239489
 
241490
 
239490
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
241491
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
239491
 
241492
 
239492
      static {
241493
      static {
239493
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
241494
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 239498... Line 241499...
239498
      /**
241499
      /**
239499
       * Find the _Fields constant that matches fieldId, or null if its not found.
241500
       * Find the _Fields constant that matches fieldId, or null if its not found.
239500
       */
241501
       */
239501
      public static _Fields findByThriftId(int fieldId) {
241502
      public static _Fields findByThriftId(int fieldId) {
239502
        switch(fieldId) {
241503
        switch(fieldId) {
239503
          case 1: // STORE_ID
241504
          case 1: // RETURN_ORDER_ID
239504
            return STORE_ID;
241505
            return RETURN_ORDER_ID;
-
 
241506
          case 2: // SPLIT_ORDER_QTY
-
 
241507
            return SPLIT_ORDER_QTY;
239505
          default:
241508
          default:
239506
            return null;
241509
            return null;
239507
        }
241510
        }
239508
      }
241511
      }
239509
 
241512
 
Line 239540... Line 241543...
239540
        return _fieldName;
241543
        return _fieldName;
239541
      }
241544
      }
239542
    }
241545
    }
239543
 
241546
 
239544
    // isset id assignments
241547
    // isset id assignments
239545
    private static final int __STOREID_ISSET_ID = 0;
241548
    private static final int __RETURNORDERID_ISSET_ID = 0;
-
 
241549
    private static final int __SPLITORDERQTY_ISSET_ID = 1;
239546
    private BitSet __isset_bit_vector = new BitSet(1);
241550
    private BitSet __isset_bit_vector = new BitSet(2);
239547
 
241551
 
239548
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
241552
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
239549
    static {
241553
    static {
239550
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
241554
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
239551
      tmpMap.put(_Fields.STORE_ID, new org.apache.thrift.meta_data.FieldMetaData("storeId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
241555
      tmpMap.put(_Fields.RETURN_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("returnOrderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
241556
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
241557
      tmpMap.put(_Fields.SPLIT_ORDER_QTY, new org.apache.thrift.meta_data.FieldMetaData("splitOrderQty", org.apache.thrift.TFieldRequirementType.DEFAULT, 
239552
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
241558
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
239553
      metaDataMap = Collections.unmodifiableMap(tmpMap);
241559
      metaDataMap = Collections.unmodifiableMap(tmpMap);
239554
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPendingStoreOrders_args.class, metaDataMap);
241560
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(splitReturnOrderInfo_args.class, metaDataMap);
239555
    }
241561
    }
239556
 
241562
 
239557
    public getPendingStoreOrders_args() {
241563
    public splitReturnOrderInfo_args() {
239558
    }
241564
    }
239559
 
241565
 
239560
    public getPendingStoreOrders_args(
241566
    public splitReturnOrderInfo_args(
239561
      long storeId)
241567
      long returnOrderId,
-
 
241568
      long splitOrderQty)
239562
    {
241569
    {
239563
      this();
241570
      this();
239564
      this.storeId = storeId;
241571
      this.returnOrderId = returnOrderId;
239565
      setStoreIdIsSet(true);
241572
      setReturnOrderIdIsSet(true);
-
 
241573
      this.splitOrderQty = splitOrderQty;
-
 
241574
      setSplitOrderQtyIsSet(true);
239566
    }
241575
    }
239567
 
241576
 
239568
    /**
241577
    /**
239569
     * Performs a deep copy on <i>other</i>.
241578
     * Performs a deep copy on <i>other</i>.
239570
     */
241579
     */
239571
    public getPendingStoreOrders_args(getPendingStoreOrders_args other) {
241580
    public splitReturnOrderInfo_args(splitReturnOrderInfo_args other) {
239572
      __isset_bit_vector.clear();
241581
      __isset_bit_vector.clear();
239573
      __isset_bit_vector.or(other.__isset_bit_vector);
241582
      __isset_bit_vector.or(other.__isset_bit_vector);
239574
      this.storeId = other.storeId;
241583
      this.returnOrderId = other.returnOrderId;
-
 
241584
      this.splitOrderQty = other.splitOrderQty;
239575
    }
241585
    }
239576
 
241586
 
239577
    public getPendingStoreOrders_args deepCopy() {
241587
    public splitReturnOrderInfo_args deepCopy() {
239578
      return new getPendingStoreOrders_args(this);
241588
      return new splitReturnOrderInfo_args(this);
239579
    }
241589
    }
239580
 
241590
 
239581
    @Override
241591
    @Override
239582
    public void clear() {
241592
    public void clear() {
239583
      setStoreIdIsSet(false);
241593
      setReturnOrderIdIsSet(false);
239584
      this.storeId = 0;
241594
      this.returnOrderId = 0;
-
 
241595
      setSplitOrderQtyIsSet(false);
-
 
241596
      this.splitOrderQty = 0;
239585
    }
241597
    }
239586
 
241598
 
239587
    public long getStoreId() {
241599
    public long getReturnOrderId() {
239588
      return this.storeId;
241600
      return this.returnOrderId;
239589
    }
241601
    }
239590
 
241602
 
239591
    public void setStoreId(long storeId) {
241603
    public void setReturnOrderId(long returnOrderId) {
239592
      this.storeId = storeId;
241604
      this.returnOrderId = returnOrderId;
239593
      setStoreIdIsSet(true);
241605
      setReturnOrderIdIsSet(true);
239594
    }
241606
    }
239595
 
241607
 
239596
    public void unsetStoreId() {
241608
    public void unsetReturnOrderId() {
239597
      __isset_bit_vector.clear(__STOREID_ISSET_ID);
241609
      __isset_bit_vector.clear(__RETURNORDERID_ISSET_ID);
239598
    }
241610
    }
239599
 
241611
 
239600
    /** Returns true if field storeId is set (has been assigned a value) and false otherwise */
241612
    /** Returns true if field returnOrderId is set (has been assigned a value) and false otherwise */
239601
    public boolean isSetStoreId() {
241613
    public boolean isSetReturnOrderId() {
239602
      return __isset_bit_vector.get(__STOREID_ISSET_ID);
241614
      return __isset_bit_vector.get(__RETURNORDERID_ISSET_ID);
239603
    }
241615
    }
239604
 
241616
 
239605
    public void setStoreIdIsSet(boolean value) {
241617
    public void setReturnOrderIdIsSet(boolean value) {
239606
      __isset_bit_vector.set(__STOREID_ISSET_ID, value);
241618
      __isset_bit_vector.set(__RETURNORDERID_ISSET_ID, value);
-
 
241619
    }
-
 
241620
 
-
 
241621
    public long getSplitOrderQty() {
-
 
241622
      return this.splitOrderQty;
-
 
241623
    }
-
 
241624
 
-
 
241625
    public void setSplitOrderQty(long splitOrderQty) {
-
 
241626
      this.splitOrderQty = splitOrderQty;
-
 
241627
      setSplitOrderQtyIsSet(true);
-
 
241628
    }
-
 
241629
 
-
 
241630
    public void unsetSplitOrderQty() {
-
 
241631
      __isset_bit_vector.clear(__SPLITORDERQTY_ISSET_ID);
-
 
241632
    }
-
 
241633
 
-
 
241634
    /** Returns true if field splitOrderQty is set (has been assigned a value) and false otherwise */
-
 
241635
    public boolean isSetSplitOrderQty() {
-
 
241636
      return __isset_bit_vector.get(__SPLITORDERQTY_ISSET_ID);
-
 
241637
    }
-
 
241638
 
-
 
241639
    public void setSplitOrderQtyIsSet(boolean value) {
-
 
241640
      __isset_bit_vector.set(__SPLITORDERQTY_ISSET_ID, value);
239607
    }
241641
    }
239608
 
241642
 
239609
    public void setFieldValue(_Fields field, Object value) {
241643
    public void setFieldValue(_Fields field, Object value) {
239610
      switch (field) {
241644
      switch (field) {
239611
      case STORE_ID:
241645
      case RETURN_ORDER_ID:
239612
        if (value == null) {
241646
        if (value == null) {
239613
          unsetStoreId();
241647
          unsetReturnOrderId();
239614
        } else {
241648
        } else {
239615
          setStoreId((Long)value);
241649
          setReturnOrderId((Long)value);
-
 
241650
        }
-
 
241651
        break;
-
 
241652
 
-
 
241653
      case SPLIT_ORDER_QTY:
-
 
241654
        if (value == null) {
-
 
241655
          unsetSplitOrderQty();
-
 
241656
        } else {
-
 
241657
          setSplitOrderQty((Long)value);
239616
        }
241658
        }
239617
        break;
241659
        break;
239618
 
241660
 
239619
      }
241661
      }
239620
    }
241662
    }
239621
 
241663
 
239622
    public Object getFieldValue(_Fields field) {
241664
    public Object getFieldValue(_Fields field) {
239623
      switch (field) {
241665
      switch (field) {
239624
      case STORE_ID:
241666
      case RETURN_ORDER_ID:
239625
        return Long.valueOf(getStoreId());
241667
        return Long.valueOf(getReturnOrderId());
-
 
241668
 
-
 
241669
      case SPLIT_ORDER_QTY:
-
 
241670
        return Long.valueOf(getSplitOrderQty());
239626
 
241671
 
239627
      }
241672
      }
239628
      throw new IllegalStateException();
241673
      throw new IllegalStateException();
239629
    }
241674
    }
239630
 
241675
 
Line 239633... Line 241678...
239633
      if (field == null) {
241678
      if (field == null) {
239634
        throw new IllegalArgumentException();
241679
        throw new IllegalArgumentException();
239635
      }
241680
      }
239636
 
241681
 
239637
      switch (field) {
241682
      switch (field) {
239638
      case STORE_ID:
241683
      case RETURN_ORDER_ID:
239639
        return isSetStoreId();
241684
        return isSetReturnOrderId();
-
 
241685
      case SPLIT_ORDER_QTY:
-
 
241686
        return isSetSplitOrderQty();
239640
      }
241687
      }
239641
      throw new IllegalStateException();
241688
      throw new IllegalStateException();
239642
    }
241689
    }
239643
 
241690
 
239644
    @Override
241691
    @Override
239645
    public boolean equals(Object that) {
241692
    public boolean equals(Object that) {
239646
      if (that == null)
241693
      if (that == null)
239647
        return false;
241694
        return false;
239648
      if (that instanceof getPendingStoreOrders_args)
241695
      if (that instanceof splitReturnOrderInfo_args)
239649
        return this.equals((getPendingStoreOrders_args)that);
241696
        return this.equals((splitReturnOrderInfo_args)that);
239650
      return false;
241697
      return false;
239651
    }
241698
    }
239652
 
241699
 
239653
    public boolean equals(getPendingStoreOrders_args that) {
241700
    public boolean equals(splitReturnOrderInfo_args that) {
239654
      if (that == null)
241701
      if (that == null)
239655
        return false;
241702
        return false;
239656
 
241703
 
239657
      boolean this_present_storeId = true;
241704
      boolean this_present_returnOrderId = true;
239658
      boolean that_present_storeId = true;
241705
      boolean that_present_returnOrderId = true;
239659
      if (this_present_storeId || that_present_storeId) {
241706
      if (this_present_returnOrderId || that_present_returnOrderId) {
239660
        if (!(this_present_storeId && that_present_storeId))
241707
        if (!(this_present_returnOrderId && that_present_returnOrderId))
239661
          return false;
241708
          return false;
239662
        if (this.storeId != that.storeId)
241709
        if (this.returnOrderId != that.returnOrderId)
-
 
241710
          return false;
-
 
241711
      }
-
 
241712
 
-
 
241713
      boolean this_present_splitOrderQty = true;
-
 
241714
      boolean that_present_splitOrderQty = true;
-
 
241715
      if (this_present_splitOrderQty || that_present_splitOrderQty) {
-
 
241716
        if (!(this_present_splitOrderQty && that_present_splitOrderQty))
-
 
241717
          return false;
-
 
241718
        if (this.splitOrderQty != that.splitOrderQty)
239663
          return false;
241719
          return false;
239664
      }
241720
      }
239665
 
241721
 
239666
      return true;
241722
      return true;
239667
    }
241723
    }
Line 239669... Line 241725...
239669
    @Override
241725
    @Override
239670
    public int hashCode() {
241726
    public int hashCode() {
239671
      return 0;
241727
      return 0;
239672
    }
241728
    }
239673
 
241729
 
239674
    public int compareTo(getPendingStoreOrders_args other) {
241730
    public int compareTo(splitReturnOrderInfo_args other) {
239675
      if (!getClass().equals(other.getClass())) {
241731
      if (!getClass().equals(other.getClass())) {
239676
        return getClass().getName().compareTo(other.getClass().getName());
241732
        return getClass().getName().compareTo(other.getClass().getName());
239677
      }
241733
      }
239678
 
241734
 
239679
      int lastComparison = 0;
241735
      int lastComparison = 0;
239680
      getPendingStoreOrders_args typedOther = (getPendingStoreOrders_args)other;
241736
      splitReturnOrderInfo_args typedOther = (splitReturnOrderInfo_args)other;
239681
 
241737
 
239682
      lastComparison = Boolean.valueOf(isSetStoreId()).compareTo(typedOther.isSetStoreId());
241738
      lastComparison = Boolean.valueOf(isSetReturnOrderId()).compareTo(typedOther.isSetReturnOrderId());
239683
      if (lastComparison != 0) {
241739
      if (lastComparison != 0) {
239684
        return lastComparison;
241740
        return lastComparison;
239685
      }
241741
      }
239686
      if (isSetStoreId()) {
241742
      if (isSetReturnOrderId()) {
239687
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storeId, typedOther.storeId);
241743
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnOrderId, typedOther.returnOrderId);
-
 
241744
        if (lastComparison != 0) {
-
 
241745
          return lastComparison;
-
 
241746
        }
-
 
241747
      }
-
 
241748
      lastComparison = Boolean.valueOf(isSetSplitOrderQty()).compareTo(typedOther.isSetSplitOrderQty());
-
 
241749
      if (lastComparison != 0) {
-
 
241750
        return lastComparison;
-
 
241751
      }
-
 
241752
      if (isSetSplitOrderQty()) {
-
 
241753
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.splitOrderQty, typedOther.splitOrderQty);
239688
        if (lastComparison != 0) {
241754
        if (lastComparison != 0) {
239689
          return lastComparison;
241755
          return lastComparison;
239690
        }
241756
        }
239691
      }
241757
      }
239692
      return 0;
241758
      return 0;
Line 239704... Line 241770...
239704
        field = iprot.readFieldBegin();
241770
        field = iprot.readFieldBegin();
239705
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
241771
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
239706
          break;
241772
          break;
239707
        }
241773
        }
239708
        switch (field.id) {
241774
        switch (field.id) {
239709
          case 1: // STORE_ID
241775
          case 1: // RETURN_ORDER_ID
239710
            if (field.type == org.apache.thrift.protocol.TType.I64) {
241776
            if (field.type == org.apache.thrift.protocol.TType.I64) {
239711
              this.storeId = iprot.readI64();
241777
              this.returnOrderId = iprot.readI64();
239712
              setStoreIdIsSet(true);
241778
              setReturnOrderIdIsSet(true);
-
 
241779
            } else { 
-
 
241780
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
241781
            }
-
 
241782
            break;
-
 
241783
          case 2: // SPLIT_ORDER_QTY
-
 
241784
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
241785
              this.splitOrderQty = iprot.readI64();
-
 
241786
              setSplitOrderQtyIsSet(true);
239713
            } else { 
241787
            } else { 
239714
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
241788
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
239715
            }
241789
            }
239716
            break;
241790
            break;
239717
          default:
241791
          default:
Line 239725... Line 241799...
239725
 
241799
 
239726
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
241800
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
239727
      validate();
241801
      validate();
239728
 
241802
 
239729
      oprot.writeStructBegin(STRUCT_DESC);
241803
      oprot.writeStructBegin(STRUCT_DESC);
239730
      oprot.writeFieldBegin(STORE_ID_FIELD_DESC);
241804
      oprot.writeFieldBegin(RETURN_ORDER_ID_FIELD_DESC);
239731
      oprot.writeI64(this.storeId);
241805
      oprot.writeI64(this.returnOrderId);
-
 
241806
      oprot.writeFieldEnd();
-
 
241807
      oprot.writeFieldBegin(SPLIT_ORDER_QTY_FIELD_DESC);
-
 
241808
      oprot.writeI64(this.splitOrderQty);
239732
      oprot.writeFieldEnd();
241809
      oprot.writeFieldEnd();
239733
      oprot.writeFieldStop();
241810
      oprot.writeFieldStop();
239734
      oprot.writeStructEnd();
241811
      oprot.writeStructEnd();
239735
    }
241812
    }
239736
 
241813
 
239737
    @Override
241814
    @Override
239738
    public String toString() {
241815
    public String toString() {
239739
      StringBuilder sb = new StringBuilder("getPendingStoreOrders_args(");
241816
      StringBuilder sb = new StringBuilder("splitReturnOrderInfo_args(");
239740
      boolean first = true;
241817
      boolean first = true;
239741
 
241818
 
239742
      sb.append("storeId:");
241819
      sb.append("returnOrderId:");
239743
      sb.append(this.storeId);
241820
      sb.append(this.returnOrderId);
-
 
241821
      first = false;
-
 
241822
      if (!first) sb.append(", ");
-
 
241823
      sb.append("splitOrderQty:");
-
 
241824
      sb.append(this.splitOrderQty);
239744
      first = false;
241825
      first = false;
239745
      sb.append(")");
241826
      sb.append(")");
239746
      return sb.toString();
241827
      return sb.toString();
239747
    }
241828
    }
239748
 
241829
 
Line 239768... Line 241849...
239768
      }
241849
      }
239769
    }
241850
    }
239770
 
241851
 
239771
  }
241852
  }
239772
 
241853
 
239773
  public static class getPendingStoreOrders_result implements org.apache.thrift.TBase<getPendingStoreOrders_result, getPendingStoreOrders_result._Fields>, java.io.Serializable, Cloneable   {
241854
  public static class splitReturnOrderInfo_result implements org.apache.thrift.TBase<splitReturnOrderInfo_result, splitReturnOrderInfo_result._Fields>, java.io.Serializable, Cloneable   {
239774
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPendingStoreOrders_result");
241855
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("splitReturnOrderInfo_result");
239775
 
241856
 
239776
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
241857
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
239777
 
241858
 
239778
    private List<PendingStoreOrder> success; // required
241859
    private ReturnOrderInfo success; // required
239779
 
241860
 
239780
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
241861
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
239781
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
241862
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
239782
      SUCCESS((short)0, "success");
241863
      SUCCESS((short)0, "success");
239783
 
241864
 
Line 239839... Line 241920...
239839
 
241920
 
239840
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
241921
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
239841
    static {
241922
    static {
239842
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
241923
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
239843
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
241924
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
239844
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
239845
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PendingStoreOrder.class))));
241925
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnOrderInfo.class)));
239846
      metaDataMap = Collections.unmodifiableMap(tmpMap);
241926
      metaDataMap = Collections.unmodifiableMap(tmpMap);
239847
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPendingStoreOrders_result.class, metaDataMap);
241927
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(splitReturnOrderInfo_result.class, metaDataMap);
239848
    }
241928
    }
239849
 
241929
 
239850
    public getPendingStoreOrders_result() {
241930
    public splitReturnOrderInfo_result() {
239851
    }
241931
    }
239852
 
241932
 
239853
    public getPendingStoreOrders_result(
241933
    public splitReturnOrderInfo_result(
239854
      List<PendingStoreOrder> success)
241934
      ReturnOrderInfo success)
239855
    {
241935
    {
239856
      this();
241936
      this();
239857
      this.success = success;
241937
      this.success = success;
239858
    }
241938
    }
239859
 
241939
 
239860
    /**
241940
    /**
239861
     * Performs a deep copy on <i>other</i>.
241941
     * Performs a deep copy on <i>other</i>.
239862
     */
241942
     */
239863
    public getPendingStoreOrders_result(getPendingStoreOrders_result other) {
241943
    public splitReturnOrderInfo_result(splitReturnOrderInfo_result other) {
239864
      if (other.isSetSuccess()) {
241944
      if (other.isSetSuccess()) {
239865
        List<PendingStoreOrder> __this__success = new ArrayList<PendingStoreOrder>();
-
 
239866
        for (PendingStoreOrder other_element : other.success) {
-
 
239867
          __this__success.add(new PendingStoreOrder(other_element));
241945
        this.success = new ReturnOrderInfo(other.success);
239868
        }
-
 
239869
        this.success = __this__success;
-
 
239870
      }
241946
      }
239871
    }
241947
    }
239872
 
241948
 
239873
    public getPendingStoreOrders_result deepCopy() {
241949
    public splitReturnOrderInfo_result deepCopy() {
239874
      return new getPendingStoreOrders_result(this);
241950
      return new splitReturnOrderInfo_result(this);
239875
    }
241951
    }
239876
 
241952
 
239877
    @Override
241953
    @Override
239878
    public void clear() {
241954
    public void clear() {
239879
      this.success = null;
241955
      this.success = null;
239880
    }
241956
    }
239881
 
241957
 
239882
    public int getSuccessSize() {
-
 
239883
      return (this.success == null) ? 0 : this.success.size();
-
 
239884
    }
-
 
239885
 
-
 
239886
    public java.util.Iterator<PendingStoreOrder> getSuccessIterator() {
-
 
239887
      return (this.success == null) ? null : this.success.iterator();
-
 
239888
    }
-
 
239889
 
-
 
239890
    public void addToSuccess(PendingStoreOrder elem) {
-
 
239891
      if (this.success == null) {
-
 
239892
        this.success = new ArrayList<PendingStoreOrder>();
-
 
239893
      }
-
 
239894
      this.success.add(elem);
-
 
239895
    }
-
 
239896
 
-
 
239897
    public List<PendingStoreOrder> getSuccess() {
241958
    public ReturnOrderInfo getSuccess() {
239898
      return this.success;
241959
      return this.success;
239899
    }
241960
    }
239900
 
241961
 
239901
    public void setSuccess(List<PendingStoreOrder> success) {
241962
    public void setSuccess(ReturnOrderInfo success) {
239902
      this.success = success;
241963
      this.success = success;
239903
    }
241964
    }
239904
 
241965
 
239905
    public void unsetSuccess() {
241966
    public void unsetSuccess() {
239906
      this.success = null;
241967
      this.success = null;
Line 239921... Line 241982...
239921
      switch (field) {
241982
      switch (field) {
239922
      case SUCCESS:
241983
      case SUCCESS:
239923
        if (value == null) {
241984
        if (value == null) {
239924
          unsetSuccess();
241985
          unsetSuccess();
239925
        } else {
241986
        } else {
239926
          setSuccess((List<PendingStoreOrder>)value);
241987
          setSuccess((ReturnOrderInfo)value);
239927
        }
241988
        }
239928
        break;
241989
        break;
239929
 
241990
 
239930
      }
241991
      }
239931
    }
241992
    }
Line 239954... Line 242015...
239954
 
242015
 
239955
    @Override
242016
    @Override
239956
    public boolean equals(Object that) {
242017
    public boolean equals(Object that) {
239957
      if (that == null)
242018
      if (that == null)
239958
        return false;
242019
        return false;
239959
      if (that instanceof getPendingStoreOrders_result)
242020
      if (that instanceof splitReturnOrderInfo_result)
239960
        return this.equals((getPendingStoreOrders_result)that);
242021
        return this.equals((splitReturnOrderInfo_result)that);
239961
      return false;
242022
      return false;
239962
    }
242023
    }
239963
 
242024
 
239964
    public boolean equals(getPendingStoreOrders_result that) {
242025
    public boolean equals(splitReturnOrderInfo_result that) {
239965
      if (that == null)
242026
      if (that == null)
239966
        return false;
242027
        return false;
239967
 
242028
 
239968
      boolean this_present_success = true && this.isSetSuccess();
242029
      boolean this_present_success = true && this.isSetSuccess();
239969
      boolean that_present_success = true && that.isSetSuccess();
242030
      boolean that_present_success = true && that.isSetSuccess();
Line 239980... Line 242041...
239980
    @Override
242041
    @Override
239981
    public int hashCode() {
242042
    public int hashCode() {
239982
      return 0;
242043
      return 0;
239983
    }
242044
    }
239984
 
242045
 
239985
    public int compareTo(getPendingStoreOrders_result other) {
242046
    public int compareTo(splitReturnOrderInfo_result other) {
239986
      if (!getClass().equals(other.getClass())) {
242047
      if (!getClass().equals(other.getClass())) {
239987
        return getClass().getName().compareTo(other.getClass().getName());
242048
        return getClass().getName().compareTo(other.getClass().getName());
239988
      }
242049
      }
239989
 
242050
 
239990
      int lastComparison = 0;
242051
      int lastComparison = 0;
239991
      getPendingStoreOrders_result typedOther = (getPendingStoreOrders_result)other;
242052
      splitReturnOrderInfo_result typedOther = (splitReturnOrderInfo_result)other;
239992
 
242053
 
239993
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
242054
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
239994
      if (lastComparison != 0) {
242055
      if (lastComparison != 0) {
239995
        return lastComparison;
242056
        return lastComparison;
239996
      }
242057
      }
Line 240016... Line 242077...
240016
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
242077
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
240017
          break;
242078
          break;
240018
        }
242079
        }
240019
        switch (field.id) {
242080
        switch (field.id) {
240020
          case 0: // SUCCESS
242081
          case 0: // SUCCESS
240021
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
242082
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
240022
              {
-
 
240023
                org.apache.thrift.protocol.TList _list837 = iprot.readListBegin();
-
 
240024
                this.success = new ArrayList<PendingStoreOrder>(_list837.size);
-
 
240025
                for (int _i838 = 0; _i838 < _list837.size; ++_i838)
-
 
240026
                {
-
 
240027
                  PendingStoreOrder _elem839; // required
-
 
240028
                  _elem839 = new PendingStoreOrder();
242083
              this.success = new ReturnOrderInfo();
240029
                  _elem839.read(iprot);
242084
              this.success.read(iprot);
240030
                  this.success.add(_elem839);
-
 
240031
                }
-
 
240032
                iprot.readListEnd();
-
 
240033
              }
-
 
240034
            } else { 
242085
            } else { 
240035
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
242086
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
240036
            }
242087
            }
240037
            break;
242088
            break;
240038
          default:
242089
          default:
Line 240047... Line 242098...
240047
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
242098
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
240048
      oprot.writeStructBegin(STRUCT_DESC);
242099
      oprot.writeStructBegin(STRUCT_DESC);
240049
 
242100
 
240050
      if (this.isSetSuccess()) {
242101
      if (this.isSetSuccess()) {
240051
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
242102
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
240052
        {
-
 
240053
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
240054
          for (PendingStoreOrder _iter840 : this.success)
-
 
240055
          {
-
 
240056
            _iter840.write(oprot);
242103
        this.success.write(oprot);
240057
          }
-
 
240058
          oprot.writeListEnd();
-
 
240059
        }
-
 
240060
        oprot.writeFieldEnd();
242104
        oprot.writeFieldEnd();
240061
      }
242105
      }
240062
      oprot.writeFieldStop();
242106
      oprot.writeFieldStop();
240063
      oprot.writeStructEnd();
242107
      oprot.writeStructEnd();
240064
    }
242108
    }
240065
 
242109
 
240066
    @Override
242110
    @Override
240067
    public String toString() {
242111
    public String toString() {
240068
      StringBuilder sb = new StringBuilder("getPendingStoreOrders_result(");
242112
      StringBuilder sb = new StringBuilder("splitReturnOrderInfo_result(");
240069
      boolean first = true;
242113
      boolean first = true;
240070
 
242114
 
240071
      sb.append("success:");
242115
      sb.append("success:");
240072
      if (this.success == null) {
242116
      if (this.success == null) {
240073
        sb.append("null");
242117
        sb.append("null");
Line 240099... Line 242143...
240099
      }
242143
      }
240100
    }
242144
    }
240101
 
242145
 
240102
  }
242146
  }
240103
 
242147
 
240104
  public static class getSellerInfo_args implements org.apache.thrift.TBase<getSellerInfo_args, getSellerInfo_args._Fields>, java.io.Serializable, Cloneable   {
242148
  public static class deleteReturnOrder_args implements org.apache.thrift.TBase<deleteReturnOrder_args, deleteReturnOrder_args._Fields>, java.io.Serializable, Cloneable   {
240105
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSellerInfo_args");
242149
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteReturnOrder_args");
240106
 
242150
 
240107
    private static final org.apache.thrift.protocol.TField SELLER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("sellerId", org.apache.thrift.protocol.TType.I64, (short)1);
242151
    private static final org.apache.thrift.protocol.TField RETURN_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("returnOrderId", org.apache.thrift.protocol.TType.I64, (short)1);
240108
 
242152
 
240109
    private long sellerId; // required
242153
    private long returnOrderId; // required
240110
 
242154
 
240111
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
242155
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
240112
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
242156
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
240113
      SELLER_ID((short)1, "sellerId");
242157
      RETURN_ORDER_ID((short)1, "returnOrderId");
240114
 
242158
 
240115
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
242159
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
240116
 
242160
 
240117
      static {
242161
      static {
240118
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
242162
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 240123... Line 242167...
240123
      /**
242167
      /**
240124
       * Find the _Fields constant that matches fieldId, or null if its not found.
242168
       * Find the _Fields constant that matches fieldId, or null if its not found.
240125
       */
242169
       */
240126
      public static _Fields findByThriftId(int fieldId) {
242170
      public static _Fields findByThriftId(int fieldId) {
240127
        switch(fieldId) {
242171
        switch(fieldId) {
240128
          case 1: // SELLER_ID
242172
          case 1: // RETURN_ORDER_ID
240129
            return SELLER_ID;
242173
            return RETURN_ORDER_ID;
240130
          default:
242174
          default:
240131
            return null;
242175
            return null;
240132
        }
242176
        }
240133
      }
242177
      }
240134
 
242178
 
Line 240165... Line 242209...
240165
        return _fieldName;
242209
        return _fieldName;
240166
      }
242210
      }
240167
    }
242211
    }
240168
 
242212
 
240169
    // isset id assignments
242213
    // isset id assignments
240170
    private static final int __SELLERID_ISSET_ID = 0;
242214
    private static final int __RETURNORDERID_ISSET_ID = 0;
240171
    private BitSet __isset_bit_vector = new BitSet(1);
242215
    private BitSet __isset_bit_vector = new BitSet(1);
240172
 
242216
 
240173
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
242217
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
240174
    static {
242218
    static {
240175
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
242219
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
240176
      tmpMap.put(_Fields.SELLER_ID, new org.apache.thrift.meta_data.FieldMetaData("sellerId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
242220
      tmpMap.put(_Fields.RETURN_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("returnOrderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
240177
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
242221
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
240178
      metaDataMap = Collections.unmodifiableMap(tmpMap);
242222
      metaDataMap = Collections.unmodifiableMap(tmpMap);
240179
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSellerInfo_args.class, metaDataMap);
242223
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteReturnOrder_args.class, metaDataMap);
240180
    }
242224
    }
240181
 
242225
 
240182
    public getSellerInfo_args() {
242226
    public deleteReturnOrder_args() {
240183
    }
242227
    }
240184
 
242228
 
240185
    public getSellerInfo_args(
242229
    public deleteReturnOrder_args(
240186
      long sellerId)
242230
      long returnOrderId)
240187
    {
242231
    {
240188
      this();
242232
      this();
240189
      this.sellerId = sellerId;
242233
      this.returnOrderId = returnOrderId;
240190
      setSellerIdIsSet(true);
242234
      setReturnOrderIdIsSet(true);
240191
    }
242235
    }
240192
 
242236
 
240193
    /**
242237
    /**
240194
     * Performs a deep copy on <i>other</i>.
242238
     * Performs a deep copy on <i>other</i>.
240195
     */
242239
     */
240196
    public getSellerInfo_args(getSellerInfo_args other) {
242240
    public deleteReturnOrder_args(deleteReturnOrder_args other) {
240197
      __isset_bit_vector.clear();
242241
      __isset_bit_vector.clear();
240198
      __isset_bit_vector.or(other.__isset_bit_vector);
242242
      __isset_bit_vector.or(other.__isset_bit_vector);
240199
      this.sellerId = other.sellerId;
242243
      this.returnOrderId = other.returnOrderId;
240200
    }
242244
    }
240201
 
242245
 
240202
    public getSellerInfo_args deepCopy() {
242246
    public deleteReturnOrder_args deepCopy() {
240203
      return new getSellerInfo_args(this);
242247
      return new deleteReturnOrder_args(this);
240204
    }
242248
    }
240205
 
242249
 
240206
    @Override
242250
    @Override
240207
    public void clear() {
242251
    public void clear() {
240208
      setSellerIdIsSet(false);
242252
      setReturnOrderIdIsSet(false);
240209
      this.sellerId = 0;
242253
      this.returnOrderId = 0;
240210
    }
242254
    }
240211
 
242255
 
240212
    public long getSellerId() {
242256
    public long getReturnOrderId() {
240213
      return this.sellerId;
242257
      return this.returnOrderId;
240214
    }
242258
    }
240215
 
242259
 
240216
    public void setSellerId(long sellerId) {
242260
    public void setReturnOrderId(long returnOrderId) {
240217
      this.sellerId = sellerId;
242261
      this.returnOrderId = returnOrderId;
240218
      setSellerIdIsSet(true);
242262
      setReturnOrderIdIsSet(true);
240219
    }
242263
    }
240220
 
242264
 
240221
    public void unsetSellerId() {
242265
    public void unsetReturnOrderId() {
240222
      __isset_bit_vector.clear(__SELLERID_ISSET_ID);
242266
      __isset_bit_vector.clear(__RETURNORDERID_ISSET_ID);
240223
    }
242267
    }
240224
 
242268
 
240225
    /** Returns true if field sellerId is set (has been assigned a value) and false otherwise */
242269
    /** Returns true if field returnOrderId is set (has been assigned a value) and false otherwise */
240226
    public boolean isSetSellerId() {
242270
    public boolean isSetReturnOrderId() {
240227
      return __isset_bit_vector.get(__SELLERID_ISSET_ID);
242271
      return __isset_bit_vector.get(__RETURNORDERID_ISSET_ID);
240228
    }
242272
    }
240229
 
242273
 
240230
    public void setSellerIdIsSet(boolean value) {
242274
    public void setReturnOrderIdIsSet(boolean value) {
240231
      __isset_bit_vector.set(__SELLERID_ISSET_ID, value);
242275
      __isset_bit_vector.set(__RETURNORDERID_ISSET_ID, value);
240232
    }
242276
    }
240233
 
242277
 
240234
    public void setFieldValue(_Fields field, Object value) {
242278
    public void setFieldValue(_Fields field, Object value) {
240235
      switch (field) {
242279
      switch (field) {
240236
      case SELLER_ID:
242280
      case RETURN_ORDER_ID:
240237
        if (value == null) {
242281
        if (value == null) {
240238
          unsetSellerId();
242282
          unsetReturnOrderId();
240239
        } else {
242283
        } else {
240240
          setSellerId((Long)value);
242284
          setReturnOrderId((Long)value);
240241
        }
242285
        }
240242
        break;
242286
        break;
240243
 
242287
 
240244
      }
242288
      }
240245
    }
242289
    }
240246
 
242290
 
240247
    public Object getFieldValue(_Fields field) {
242291
    public Object getFieldValue(_Fields field) {
240248
      switch (field) {
242292
      switch (field) {
240249
      case SELLER_ID:
242293
      case RETURN_ORDER_ID:
240250
        return Long.valueOf(getSellerId());
242294
        return Long.valueOf(getReturnOrderId());
240251
 
242295
 
240252
      }
242296
      }
240253
      throw new IllegalStateException();
242297
      throw new IllegalStateException();
240254
    }
242298
    }
240255
 
242299
 
Line 240258... Line 242302...
240258
      if (field == null) {
242302
      if (field == null) {
240259
        throw new IllegalArgumentException();
242303
        throw new IllegalArgumentException();
240260
      }
242304
      }
240261
 
242305
 
240262
      switch (field) {
242306
      switch (field) {
240263
      case SELLER_ID:
242307
      case RETURN_ORDER_ID:
240264
        return isSetSellerId();
242308
        return isSetReturnOrderId();
240265
      }
242309
      }
240266
      throw new IllegalStateException();
242310
      throw new IllegalStateException();
240267
    }
242311
    }
240268
 
242312
 
240269
    @Override
242313
    @Override
240270
    public boolean equals(Object that) {
242314
    public boolean equals(Object that) {
240271
      if (that == null)
242315
      if (that == null)
240272
        return false;
242316
        return false;
240273
      if (that instanceof getSellerInfo_args)
242317
      if (that instanceof deleteReturnOrder_args)
240274
        return this.equals((getSellerInfo_args)that);
242318
        return this.equals((deleteReturnOrder_args)that);
240275
      return false;
242319
      return false;
240276
    }
242320
    }
240277
 
242321
 
240278
    public boolean equals(getSellerInfo_args that) {
242322
    public boolean equals(deleteReturnOrder_args that) {
240279
      if (that == null)
242323
      if (that == null)
240280
        return false;
242324
        return false;
240281
 
242325
 
240282
      boolean this_present_sellerId = true;
242326
      boolean this_present_returnOrderId = true;
240283
      boolean that_present_sellerId = true;
242327
      boolean that_present_returnOrderId = true;
240284
      if (this_present_sellerId || that_present_sellerId) {
242328
      if (this_present_returnOrderId || that_present_returnOrderId) {
240285
        if (!(this_present_sellerId && that_present_sellerId))
242329
        if (!(this_present_returnOrderId && that_present_returnOrderId))
240286
          return false;
242330
          return false;
240287
        if (this.sellerId != that.sellerId)
242331
        if (this.returnOrderId != that.returnOrderId)
240288
          return false;
242332
          return false;
240289
      }
242333
      }
240290
 
242334
 
240291
      return true;
242335
      return true;
240292
    }
242336
    }
Line 240294... Line 242338...
240294
    @Override
242338
    @Override
240295
    public int hashCode() {
242339
    public int hashCode() {
240296
      return 0;
242340
      return 0;
240297
    }
242341
    }
240298
 
242342
 
240299
    public int compareTo(getSellerInfo_args other) {
242343
    public int compareTo(deleteReturnOrder_args other) {
240300
      if (!getClass().equals(other.getClass())) {
242344
      if (!getClass().equals(other.getClass())) {
240301
        return getClass().getName().compareTo(other.getClass().getName());
242345
        return getClass().getName().compareTo(other.getClass().getName());
240302
      }
242346
      }
240303
 
242347
 
240304
      int lastComparison = 0;
242348
      int lastComparison = 0;
240305
      getSellerInfo_args typedOther = (getSellerInfo_args)other;
242349
      deleteReturnOrder_args typedOther = (deleteReturnOrder_args)other;
240306
 
242350
 
240307
      lastComparison = Boolean.valueOf(isSetSellerId()).compareTo(typedOther.isSetSellerId());
242351
      lastComparison = Boolean.valueOf(isSetReturnOrderId()).compareTo(typedOther.isSetReturnOrderId());
240308
      if (lastComparison != 0) {
242352
      if (lastComparison != 0) {
240309
        return lastComparison;
242353
        return lastComparison;
240310
      }
242354
      }
240311
      if (isSetSellerId()) {
242355
      if (isSetReturnOrderId()) {
240312
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sellerId, typedOther.sellerId);
242356
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnOrderId, typedOther.returnOrderId);
240313
        if (lastComparison != 0) {
242357
        if (lastComparison != 0) {
240314
          return lastComparison;
242358
          return lastComparison;
240315
        }
242359
        }
240316
      }
242360
      }
240317
      return 0;
242361
      return 0;
Line 240329... Line 242373...
240329
        field = iprot.readFieldBegin();
242373
        field = iprot.readFieldBegin();
240330
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
242374
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
240331
          break;
242375
          break;
240332
        }
242376
        }
240333
        switch (field.id) {
242377
        switch (field.id) {
240334
          case 1: // SELLER_ID
242378
          case 1: // RETURN_ORDER_ID
240335
            if (field.type == org.apache.thrift.protocol.TType.I64) {
242379
            if (field.type == org.apache.thrift.protocol.TType.I64) {
240336
              this.sellerId = iprot.readI64();
242380
              this.returnOrderId = iprot.readI64();
240337
              setSellerIdIsSet(true);
242381
              setReturnOrderIdIsSet(true);
240338
            } else { 
242382
            } else { 
240339
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
242383
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
240340
            }
242384
            }
240341
            break;
242385
            break;
240342
          default:
242386
          default:
Line 240350... Line 242394...
240350
 
242394
 
240351
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
242395
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
240352
      validate();
242396
      validate();
240353
 
242397
 
240354
      oprot.writeStructBegin(STRUCT_DESC);
242398
      oprot.writeStructBegin(STRUCT_DESC);
240355
      oprot.writeFieldBegin(SELLER_ID_FIELD_DESC);
242399
      oprot.writeFieldBegin(RETURN_ORDER_ID_FIELD_DESC);
240356
      oprot.writeI64(this.sellerId);
242400
      oprot.writeI64(this.returnOrderId);
240357
      oprot.writeFieldEnd();
242401
      oprot.writeFieldEnd();
240358
      oprot.writeFieldStop();
242402
      oprot.writeFieldStop();
240359
      oprot.writeStructEnd();
242403
      oprot.writeStructEnd();
240360
    }
242404
    }
240361
 
242405
 
240362
    @Override
242406
    @Override
240363
    public String toString() {
242407
    public String toString() {
240364
      StringBuilder sb = new StringBuilder("getSellerInfo_args(");
242408
      StringBuilder sb = new StringBuilder("deleteReturnOrder_args(");
240365
      boolean first = true;
242409
      boolean first = true;
240366
 
242410
 
240367
      sb.append("sellerId:");
242411
      sb.append("returnOrderId:");
240368
      sb.append(this.sellerId);
242412
      sb.append(this.returnOrderId);
240369
      first = false;
242413
      first = false;
240370
      sb.append(")");
242414
      sb.append(")");
240371
      return sb.toString();
242415
      return sb.toString();
240372
    }
242416
    }
240373
 
242417
 
Line 240393... Line 242437...
240393
      }
242437
      }
240394
    }
242438
    }
240395
 
242439
 
240396
  }
242440
  }
240397
 
242441
 
240398
  public static class getSellerInfo_result implements org.apache.thrift.TBase<getSellerInfo_result, getSellerInfo_result._Fields>, java.io.Serializable, Cloneable   {
242442
  public static class deleteReturnOrder_result implements org.apache.thrift.TBase<deleteReturnOrder_result, deleteReturnOrder_result._Fields>, java.io.Serializable, Cloneable   {
240399
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSellerInfo_result");
242443
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteReturnOrder_result");
240400
 
242444
 
240401
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
242445
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
240402
 
242446
 
240403
    private SellerInfo success; // required
242447
    private boolean success; // required
240404
 
242448
 
240405
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
242449
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
240406
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
242450
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
240407
      SUCCESS((short)0, "success");
242451
      SUCCESS((short)0, "success");
240408
 
242452
 
Line 240459... Line 242503...
240459
        return _fieldName;
242503
        return _fieldName;
240460
      }
242504
      }
240461
    }
242505
    }
240462
 
242506
 
240463
    // isset id assignments
242507
    // isset id assignments
-
 
242508
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
242509
    private BitSet __isset_bit_vector = new BitSet(1);
240464
 
242510
 
240465
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
242511
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
240466
    static {
242512
    static {
240467
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
242513
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
240468
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
242514
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
240469
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, SellerInfo.class)));
242515
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
240470
      metaDataMap = Collections.unmodifiableMap(tmpMap);
242516
      metaDataMap = Collections.unmodifiableMap(tmpMap);
240471
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSellerInfo_result.class, metaDataMap);
242517
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteReturnOrder_result.class, metaDataMap);
240472
    }
242518
    }
240473
 
242519
 
240474
    public getSellerInfo_result() {
242520
    public deleteReturnOrder_result() {
240475
    }
242521
    }
240476
 
242522
 
240477
    public getSellerInfo_result(
242523
    public deleteReturnOrder_result(
240478
      SellerInfo success)
242524
      boolean success)
240479
    {
242525
    {
240480
      this();
242526
      this();
240481
      this.success = success;
242527
      this.success = success;
-
 
242528
      setSuccessIsSet(true);
240482
    }
242529
    }
240483
 
242530
 
240484
    /**
242531
    /**
240485
     * Performs a deep copy on <i>other</i>.
242532
     * Performs a deep copy on <i>other</i>.
240486
     */
242533
     */
240487
    public getSellerInfo_result(getSellerInfo_result other) {
242534
    public deleteReturnOrder_result(deleteReturnOrder_result other) {
240488
      if (other.isSetSuccess()) {
242535
      __isset_bit_vector.clear();
-
 
242536
      __isset_bit_vector.or(other.__isset_bit_vector);
240489
        this.success = new SellerInfo(other.success);
242537
      this.success = other.success;
240490
      }
-
 
240491
    }
242538
    }
240492
 
242539
 
240493
    public getSellerInfo_result deepCopy() {
242540
    public deleteReturnOrder_result deepCopy() {
240494
      return new getSellerInfo_result(this);
242541
      return new deleteReturnOrder_result(this);
240495
    }
242542
    }
240496
 
242543
 
240497
    @Override
242544
    @Override
240498
    public void clear() {
242545
    public void clear() {
-
 
242546
      setSuccessIsSet(false);
240499
      this.success = null;
242547
      this.success = false;
240500
    }
242548
    }
240501
 
242549
 
240502
    public SellerInfo getSuccess() {
242550
    public boolean isSuccess() {
240503
      return this.success;
242551
      return this.success;
240504
    }
242552
    }
240505
 
242553
 
240506
    public void setSuccess(SellerInfo success) {
242554
    public void setSuccess(boolean success) {
240507
      this.success = success;
242555
      this.success = success;
-
 
242556
      setSuccessIsSet(true);
240508
    }
242557
    }
240509
 
242558
 
240510
    public void unsetSuccess() {
242559
    public void unsetSuccess() {
240511
      this.success = null;
242560
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
240512
    }
242561
    }
240513
 
242562
 
240514
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
242563
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
240515
    public boolean isSetSuccess() {
242564
    public boolean isSetSuccess() {
240516
      return this.success != null;
242565
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
240517
    }
242566
    }
240518
 
242567
 
240519
    public void setSuccessIsSet(boolean value) {
242568
    public void setSuccessIsSet(boolean value) {
240520
      if (!value) {
-
 
240521
        this.success = null;
242569
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
240522
      }
-
 
240523
    }
242570
    }
240524
 
242571
 
240525
    public void setFieldValue(_Fields field, Object value) {
242572
    public void setFieldValue(_Fields field, Object value) {
240526
      switch (field) {
242573
      switch (field) {
240527
      case SUCCESS:
242574
      case SUCCESS:
240528
        if (value == null) {
242575
        if (value == null) {
240529
          unsetSuccess();
242576
          unsetSuccess();
240530
        } else {
242577
        } else {
240531
          setSuccess((SellerInfo)value);
242578
          setSuccess((Boolean)value);
240532
        }
242579
        }
240533
        break;
242580
        break;
240534
 
242581
 
240535
      }
242582
      }
240536
    }
242583
    }
240537
 
242584
 
240538
    public Object getFieldValue(_Fields field) {
242585
    public Object getFieldValue(_Fields field) {
240539
      switch (field) {
242586
      switch (field) {
240540
      case SUCCESS:
242587
      case SUCCESS:
240541
        return getSuccess();
242588
        return Boolean.valueOf(isSuccess());
240542
 
242589
 
240543
      }
242590
      }
240544
      throw new IllegalStateException();
242591
      throw new IllegalStateException();
240545
    }
242592
    }
240546
 
242593
 
Line 240559... Line 242606...
240559
 
242606
 
240560
    @Override
242607
    @Override
240561
    public boolean equals(Object that) {
242608
    public boolean equals(Object that) {
240562
      if (that == null)
242609
      if (that == null)
240563
        return false;
242610
        return false;
240564
      if (that instanceof getSellerInfo_result)
242611
      if (that instanceof deleteReturnOrder_result)
240565
        return this.equals((getSellerInfo_result)that);
242612
        return this.equals((deleteReturnOrder_result)that);
240566
      return false;
242613
      return false;
240567
    }
242614
    }
240568
 
242615
 
240569
    public boolean equals(getSellerInfo_result that) {
242616
    public boolean equals(deleteReturnOrder_result that) {
240570
      if (that == null)
242617
      if (that == null)
240571
        return false;
242618
        return false;
240572
 
242619
 
240573
      boolean this_present_success = true && this.isSetSuccess();
242620
      boolean this_present_success = true;
240574
      boolean that_present_success = true && that.isSetSuccess();
242621
      boolean that_present_success = true;
240575
      if (this_present_success || that_present_success) {
242622
      if (this_present_success || that_present_success) {
240576
        if (!(this_present_success && that_present_success))
242623
        if (!(this_present_success && that_present_success))
240577
          return false;
242624
          return false;
240578
        if (!this.success.equals(that.success))
242625
        if (this.success != that.success)
240579
          return false;
242626
          return false;
240580
      }
242627
      }
240581
 
242628
 
240582
      return true;
242629
      return true;
240583
    }
242630
    }
Line 240585... Line 242632...
240585
    @Override
242632
    @Override
240586
    public int hashCode() {
242633
    public int hashCode() {
240587
      return 0;
242634
      return 0;
240588
    }
242635
    }
240589
 
242636
 
240590
    public int compareTo(getSellerInfo_result other) {
242637
    public int compareTo(deleteReturnOrder_result other) {
240591
      if (!getClass().equals(other.getClass())) {
242638
      if (!getClass().equals(other.getClass())) {
240592
        return getClass().getName().compareTo(other.getClass().getName());
242639
        return getClass().getName().compareTo(other.getClass().getName());
240593
      }
242640
      }
240594
 
242641
 
240595
      int lastComparison = 0;
242642
      int lastComparison = 0;
240596
      getSellerInfo_result typedOther = (getSellerInfo_result)other;
242643
      deleteReturnOrder_result typedOther = (deleteReturnOrder_result)other;
240597
 
242644
 
240598
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
242645
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
240599
      if (lastComparison != 0) {
242646
      if (lastComparison != 0) {
240600
        return lastComparison;
242647
        return lastComparison;
240601
      }
242648
      }
Line 240621... Line 242668...
240621
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
242668
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
240622
          break;
242669
          break;
240623
        }
242670
        }
240624
        switch (field.id) {
242671
        switch (field.id) {
240625
          case 0: // SUCCESS
242672
          case 0: // SUCCESS
240626
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
242673
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
240627
              this.success = new SellerInfo();
242674
              this.success = iprot.readBool();
240628
              this.success.read(iprot);
242675
              setSuccessIsSet(true);
240629
            } else { 
242676
            } else { 
240630
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
242677
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
240631
            }
242678
            }
240632
            break;
242679
            break;
240633
          default:
242680
          default:
Line 240642... Line 242689...
240642
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
242689
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
240643
      oprot.writeStructBegin(STRUCT_DESC);
242690
      oprot.writeStructBegin(STRUCT_DESC);
240644
 
242691
 
240645
      if (this.isSetSuccess()) {
242692
      if (this.isSetSuccess()) {
240646
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
242693
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
240647
        this.success.write(oprot);
242694
        oprot.writeBool(this.success);
240648
        oprot.writeFieldEnd();
242695
        oprot.writeFieldEnd();
240649
      }
242696
      }
240650
      oprot.writeFieldStop();
242697
      oprot.writeFieldStop();
240651
      oprot.writeStructEnd();
242698
      oprot.writeStructEnd();
240652
    }
242699
    }
240653
 
242700
 
240654
    @Override
242701
    @Override
240655
    public String toString() {
242702
    public String toString() {
240656
      StringBuilder sb = new StringBuilder("getSellerInfo_result(");
242703
      StringBuilder sb = new StringBuilder("deleteReturnOrder_result(");
240657
      boolean first = true;
242704
      boolean first = true;
240658
 
242705
 
240659
      sb.append("success:");
242706
      sb.append("success:");
240660
      if (this.success == null) {
-
 
240661
        sb.append("null");
-
 
240662
      } else {
-
 
240663
        sb.append(this.success);
242707
      sb.append(this.success);
240664
      }
-
 
240665
      first = false;
242708
      first = false;
240666
      sb.append(")");
242709
      sb.append(")");
240667
      return sb.toString();
242710
      return sb.toString();
240668
    }
242711
    }
240669
 
242712
 
Line 240687... Line 242730...
240687
      }
242730
      }
240688
    }
242731
    }
240689
 
242732
 
240690
  }
242733
  }
240691
 
242734
 
240692
  public static class getWarehouseAddress_args implements org.apache.thrift.TBase<getWarehouseAddress_args, getWarehouseAddress_args._Fields>, java.io.Serializable, Cloneable   {
242735
  public static class refundReturnOrder_args implements org.apache.thrift.TBase<refundReturnOrder_args, refundReturnOrder_args._Fields>, java.io.Serializable, Cloneable   {
240693
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getWarehouseAddress_args");
242736
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("refundReturnOrder_args");
240694
 
242737
 
-
 
242738
    private static final org.apache.thrift.protocol.TField RETURN_ORDER_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("returnOrderInfo", org.apache.thrift.protocol.TType.STRUCT, (short)1);
240695
    private static final org.apache.thrift.protocol.TField ADDRESS_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("address_id", org.apache.thrift.protocol.TType.I64, (short)1);
242739
    private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.LIST, (short)2);
240696
 
242740
 
-
 
242741
    private ReturnOrderInfo returnOrderInfo; // required
240697
    private long address_id; // required
242742
    private List<Attribute> attributes; // required
240698
 
242743
 
240699
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
242744
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
240700
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
242745
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
242746
      RETURN_ORDER_INFO((short)1, "returnOrderInfo"),
240701
      ADDRESS_ID((short)1, "address_id");
242747
      ATTRIBUTES((short)2, "attributes");
240702
 
242748
 
240703
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
242749
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
240704
 
242750
 
240705
      static {
242751
      static {
240706
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
242752
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 240711... Line 242757...
240711
      /**
242757
      /**
240712
       * Find the _Fields constant that matches fieldId, or null if its not found.
242758
       * Find the _Fields constant that matches fieldId, or null if its not found.
240713
       */
242759
       */
240714
      public static _Fields findByThriftId(int fieldId) {
242760
      public static _Fields findByThriftId(int fieldId) {
240715
        switch(fieldId) {
242761
        switch(fieldId) {
-
 
242762
          case 1: // RETURN_ORDER_INFO
-
 
242763
            return RETURN_ORDER_INFO;
240716
          case 1: // ADDRESS_ID
242764
          case 2: // ATTRIBUTES
240717
            return ADDRESS_ID;
242765
            return ATTRIBUTES;
240718
          default:
242766
          default:
240719
            return null;
242767
            return null;
240720
        }
242768
        }
240721
      }
242769
      }
240722
 
242770
 
Line 240753... Line 242801...
240753
        return _fieldName;
242801
        return _fieldName;
240754
      }
242802
      }
240755
    }
242803
    }
240756
 
242804
 
240757
    // isset id assignments
242805
    // isset id assignments
240758
    private static final int __ADDRESS_ID_ISSET_ID = 0;
-
 
240759
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
240760
 
242806
 
240761
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
242807
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
240762
    static {
242808
    static {
240763
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
242809
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
242810
      tmpMap.put(_Fields.RETURN_ORDER_INFO, new org.apache.thrift.meta_data.FieldMetaData("returnOrderInfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
242811
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnOrderInfo.class)));
240764
      tmpMap.put(_Fields.ADDRESS_ID, new org.apache.thrift.meta_data.FieldMetaData("address_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
242812
      tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, 
240765
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
242813
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
242814
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Attribute.class))));
240766
      metaDataMap = Collections.unmodifiableMap(tmpMap);
242815
      metaDataMap = Collections.unmodifiableMap(tmpMap);
240767
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getWarehouseAddress_args.class, metaDataMap);
242816
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(refundReturnOrder_args.class, metaDataMap);
240768
    }
242817
    }
240769
 
242818
 
240770
    public getWarehouseAddress_args() {
242819
    public refundReturnOrder_args() {
240771
    }
242820
    }
240772
 
242821
 
240773
    public getWarehouseAddress_args(
242822
    public refundReturnOrder_args(
-
 
242823
      ReturnOrderInfo returnOrderInfo,
240774
      long address_id)
242824
      List<Attribute> attributes)
240775
    {
242825
    {
240776
      this();
242826
      this();
240777
      this.address_id = address_id;
242827
      this.returnOrderInfo = returnOrderInfo;
240778
      setAddress_idIsSet(true);
242828
      this.attributes = attributes;
240779
    }
242829
    }
240780
 
242830
 
240781
    /**
242831
    /**
240782
     * Performs a deep copy on <i>other</i>.
242832
     * Performs a deep copy on <i>other</i>.
240783
     */
242833
     */
240784
    public getWarehouseAddress_args(getWarehouseAddress_args other) {
242834
    public refundReturnOrder_args(refundReturnOrder_args other) {
-
 
242835
      if (other.isSetReturnOrderInfo()) {
-
 
242836
        this.returnOrderInfo = new ReturnOrderInfo(other.returnOrderInfo);
-
 
242837
      }
240785
      __isset_bit_vector.clear();
242838
      if (other.isSetAttributes()) {
-
 
242839
        List<Attribute> __this__attributes = new ArrayList<Attribute>();
-
 
242840
        for (Attribute other_element : other.attributes) {
240786
      __isset_bit_vector.or(other.__isset_bit_vector);
242841
          __this__attributes.add(new Attribute(other_element));
-
 
242842
        }
240787
      this.address_id = other.address_id;
242843
        this.attributes = __this__attributes;
-
 
242844
      }
240788
    }
242845
    }
240789
 
242846
 
240790
    public getWarehouseAddress_args deepCopy() {
242847
    public refundReturnOrder_args deepCopy() {
240791
      return new getWarehouseAddress_args(this);
242848
      return new refundReturnOrder_args(this);
240792
    }
242849
    }
240793
 
242850
 
240794
    @Override
242851
    @Override
240795
    public void clear() {
242852
    public void clear() {
240796
      setAddress_idIsSet(false);
242853
      this.returnOrderInfo = null;
240797
      this.address_id = 0;
242854
      this.attributes = null;
240798
    }
242855
    }
240799
 
242856
 
240800
    public long getAddress_id() {
242857
    public ReturnOrderInfo getReturnOrderInfo() {
240801
      return this.address_id;
242858
      return this.returnOrderInfo;
240802
    }
242859
    }
240803
 
242860
 
240804
    public void setAddress_id(long address_id) {
242861
    public void setReturnOrderInfo(ReturnOrderInfo returnOrderInfo) {
240805
      this.address_id = address_id;
242862
      this.returnOrderInfo = returnOrderInfo;
240806
      setAddress_idIsSet(true);
-
 
240807
    }
242863
    }
240808
 
242864
 
240809
    public void unsetAddress_id() {
242865
    public void unsetReturnOrderInfo() {
240810
      __isset_bit_vector.clear(__ADDRESS_ID_ISSET_ID);
242866
      this.returnOrderInfo = null;
240811
    }
242867
    }
240812
 
242868
 
240813
    /** Returns true if field address_id is set (has been assigned a value) and false otherwise */
242869
    /** Returns true if field returnOrderInfo is set (has been assigned a value) and false otherwise */
240814
    public boolean isSetAddress_id() {
242870
    public boolean isSetReturnOrderInfo() {
240815
      return __isset_bit_vector.get(__ADDRESS_ID_ISSET_ID);
242871
      return this.returnOrderInfo != null;
240816
    }
242872
    }
240817
 
242873
 
240818
    public void setAddress_idIsSet(boolean value) {
242874
    public void setReturnOrderInfoIsSet(boolean value) {
-
 
242875
      if (!value) {
-
 
242876
        this.returnOrderInfo = null;
-
 
242877
      }
-
 
242878
    }
-
 
242879
 
-
 
242880
    public int getAttributesSize() {
-
 
242881
      return (this.attributes == null) ? 0 : this.attributes.size();
-
 
242882
    }
-
 
242883
 
-
 
242884
    public java.util.Iterator<Attribute> getAttributesIterator() {
-
 
242885
      return (this.attributes == null) ? null : this.attributes.iterator();
-
 
242886
    }
-
 
242887
 
-
 
242888
    public void addToAttributes(Attribute elem) {
-
 
242889
      if (this.attributes == null) {
-
 
242890
        this.attributes = new ArrayList<Attribute>();
-
 
242891
      }
-
 
242892
      this.attributes.add(elem);
-
 
242893
    }
-
 
242894
 
-
 
242895
    public List<Attribute> getAttributes() {
-
 
242896
      return this.attributes;
-
 
242897
    }
-
 
242898
 
-
 
242899
    public void setAttributes(List<Attribute> attributes) {
-
 
242900
      this.attributes = attributes;
-
 
242901
    }
-
 
242902
 
-
 
242903
    public void unsetAttributes() {
-
 
242904
      this.attributes = null;
-
 
242905
    }
-
 
242906
 
-
 
242907
    /** Returns true if field attributes is set (has been assigned a value) and false otherwise */
-
 
242908
    public boolean isSetAttributes() {
-
 
242909
      return this.attributes != null;
-
 
242910
    }
-
 
242911
 
240819
      __isset_bit_vector.set(__ADDRESS_ID_ISSET_ID, value);
242912
    public void setAttributesIsSet(boolean value) {
-
 
242913
      if (!value) {
-
 
242914
        this.attributes = null;
-
 
242915
      }
240820
    }
242916
    }
240821
 
242917
 
240822
    public void setFieldValue(_Fields field, Object value) {
242918
    public void setFieldValue(_Fields field, Object value) {
240823
      switch (field) {
242919
      switch (field) {
240824
      case ADDRESS_ID:
242920
      case RETURN_ORDER_INFO:
240825
        if (value == null) {
242921
        if (value == null) {
240826
          unsetAddress_id();
242922
          unsetReturnOrderInfo();
240827
        } else {
242923
        } else {
-
 
242924
          setReturnOrderInfo((ReturnOrderInfo)value);
-
 
242925
        }
-
 
242926
        break;
-
 
242927
 
-
 
242928
      case ATTRIBUTES:
-
 
242929
        if (value == null) {
-
 
242930
          unsetAttributes();
-
 
242931
        } else {
240828
          setAddress_id((Long)value);
242932
          setAttributes((List<Attribute>)value);
240829
        }
242933
        }
240830
        break;
242934
        break;
240831
 
242935
 
240832
      }
242936
      }
240833
    }
242937
    }
240834
 
242938
 
240835
    public Object getFieldValue(_Fields field) {
242939
    public Object getFieldValue(_Fields field) {
240836
      switch (field) {
242940
      switch (field) {
-
 
242941
      case RETURN_ORDER_INFO:
-
 
242942
        return getReturnOrderInfo();
-
 
242943
 
240837
      case ADDRESS_ID:
242944
      case ATTRIBUTES:
240838
        return Long.valueOf(getAddress_id());
242945
        return getAttributes();
240839
 
242946
 
240840
      }
242947
      }
240841
      throw new IllegalStateException();
242948
      throw new IllegalStateException();
240842
    }
242949
    }
240843
 
242950
 
Line 240846... Line 242953...
240846
      if (field == null) {
242953
      if (field == null) {
240847
        throw new IllegalArgumentException();
242954
        throw new IllegalArgumentException();
240848
      }
242955
      }
240849
 
242956
 
240850
      switch (field) {
242957
      switch (field) {
-
 
242958
      case RETURN_ORDER_INFO:
-
 
242959
        return isSetReturnOrderInfo();
240851
      case ADDRESS_ID:
242960
      case ATTRIBUTES:
240852
        return isSetAddress_id();
242961
        return isSetAttributes();
240853
      }
242962
      }
240854
      throw new IllegalStateException();
242963
      throw new IllegalStateException();
240855
    }
242964
    }
240856
 
242965
 
240857
    @Override
242966
    @Override
240858
    public boolean equals(Object that) {
242967
    public boolean equals(Object that) {
240859
      if (that == null)
242968
      if (that == null)
240860
        return false;
242969
        return false;
240861
      if (that instanceof getWarehouseAddress_args)
242970
      if (that instanceof refundReturnOrder_args)
240862
        return this.equals((getWarehouseAddress_args)that);
242971
        return this.equals((refundReturnOrder_args)that);
240863
      return false;
242972
      return false;
240864
    }
242973
    }
240865
 
242974
 
240866
    public boolean equals(getWarehouseAddress_args that) {
242975
    public boolean equals(refundReturnOrder_args that) {
240867
      if (that == null)
242976
      if (that == null)
240868
        return false;
242977
        return false;
240869
 
242978
 
240870
      boolean this_present_address_id = true;
242979
      boolean this_present_returnOrderInfo = true && this.isSetReturnOrderInfo();
240871
      boolean that_present_address_id = true;
242980
      boolean that_present_returnOrderInfo = true && that.isSetReturnOrderInfo();
240872
      if (this_present_address_id || that_present_address_id) {
242981
      if (this_present_returnOrderInfo || that_present_returnOrderInfo) {
240873
        if (!(this_present_address_id && that_present_address_id))
242982
        if (!(this_present_returnOrderInfo && that_present_returnOrderInfo))
240874
          return false;
242983
          return false;
-
 
242984
        if (!this.returnOrderInfo.equals(that.returnOrderInfo))
-
 
242985
          return false;
-
 
242986
      }
-
 
242987
 
-
 
242988
      boolean this_present_attributes = true && this.isSetAttributes();
-
 
242989
      boolean that_present_attributes = true && that.isSetAttributes();
-
 
242990
      if (this_present_attributes || that_present_attributes) {
-
 
242991
        if (!(this_present_attributes && that_present_attributes))
-
 
242992
          return false;
240875
        if (this.address_id != that.address_id)
242993
        if (!this.attributes.equals(that.attributes))
240876
          return false;
242994
          return false;
240877
      }
242995
      }
240878
 
242996
 
240879
      return true;
242997
      return true;
240880
    }
242998
    }
Line 240882... Line 243000...
240882
    @Override
243000
    @Override
240883
    public int hashCode() {
243001
    public int hashCode() {
240884
      return 0;
243002
      return 0;
240885
    }
243003
    }
240886
 
243004
 
240887
    public int compareTo(getWarehouseAddress_args other) {
243005
    public int compareTo(refundReturnOrder_args other) {
240888
      if (!getClass().equals(other.getClass())) {
243006
      if (!getClass().equals(other.getClass())) {
240889
        return getClass().getName().compareTo(other.getClass().getName());
243007
        return getClass().getName().compareTo(other.getClass().getName());
240890
      }
243008
      }
240891
 
243009
 
240892
      int lastComparison = 0;
243010
      int lastComparison = 0;
240893
      getWarehouseAddress_args typedOther = (getWarehouseAddress_args)other;
243011
      refundReturnOrder_args typedOther = (refundReturnOrder_args)other;
240894
 
243012
 
240895
      lastComparison = Boolean.valueOf(isSetAddress_id()).compareTo(typedOther.isSetAddress_id());
243013
      lastComparison = Boolean.valueOf(isSetReturnOrderInfo()).compareTo(typedOther.isSetReturnOrderInfo());
240896
      if (lastComparison != 0) {
243014
      if (lastComparison != 0) {
240897
        return lastComparison;
243015
        return lastComparison;
240898
      }
243016
      }
-
 
243017
      if (isSetReturnOrderInfo()) {
-
 
243018
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnOrderInfo, typedOther.returnOrderInfo);
-
 
243019
        if (lastComparison != 0) {
-
 
243020
          return lastComparison;
-
 
243021
        }
-
 
243022
      }
-
 
243023
      lastComparison = Boolean.valueOf(isSetAttributes()).compareTo(typedOther.isSetAttributes());
-
 
243024
      if (lastComparison != 0) {
-
 
243025
        return lastComparison;
-
 
243026
      }
240899
      if (isSetAddress_id()) {
243027
      if (isSetAttributes()) {
240900
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.address_id, typedOther.address_id);
243028
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, typedOther.attributes);
240901
        if (lastComparison != 0) {
243029
        if (lastComparison != 0) {
240902
          return lastComparison;
243030
          return lastComparison;
240903
        }
243031
        }
240904
      }
243032
      }
240905
      return 0;
243033
      return 0;
Line 240917... Line 243045...
240917
        field = iprot.readFieldBegin();
243045
        field = iprot.readFieldBegin();
240918
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
243046
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
240919
          break;
243047
          break;
240920
        }
243048
        }
240921
        switch (field.id) {
243049
        switch (field.id) {
-
 
243050
          case 1: // RETURN_ORDER_INFO
-
 
243051
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
243052
              this.returnOrderInfo = new ReturnOrderInfo();
-
 
243053
              this.returnOrderInfo.read(iprot);
-
 
243054
            } else { 
-
 
243055
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
243056
            }
-
 
243057
            break;
240922
          case 1: // ADDRESS_ID
243058
          case 2: // ATTRIBUTES
240923
            if (field.type == org.apache.thrift.protocol.TType.I64) {
243059
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
243060
              {
-
 
243061
                org.apache.thrift.protocol.TList _list841 = iprot.readListBegin();
-
 
243062
                this.attributes = new ArrayList<Attribute>(_list841.size);
-
 
243063
                for (int _i842 = 0; _i842 < _list841.size; ++_i842)
-
 
243064
                {
-
 
243065
                  Attribute _elem843; // required
-
 
243066
                  _elem843 = new Attribute();
-
 
243067
                  _elem843.read(iprot);
240924
              this.address_id = iprot.readI64();
243068
                  this.attributes.add(_elem843);
-
 
243069
                }
240925
              setAddress_idIsSet(true);
243070
                iprot.readListEnd();
-
 
243071
              }
240926
            } else { 
243072
            } else { 
240927
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
243073
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
240928
            }
243074
            }
240929
            break;
243075
            break;
240930
          default:
243076
          default:
Line 240938... Line 243084...
240938
 
243084
 
240939
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
243085
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
240940
      validate();
243086
      validate();
240941
 
243087
 
240942
      oprot.writeStructBegin(STRUCT_DESC);
243088
      oprot.writeStructBegin(STRUCT_DESC);
-
 
243089
      if (this.returnOrderInfo != null) {
-
 
243090
        oprot.writeFieldBegin(RETURN_ORDER_INFO_FIELD_DESC);
-
 
243091
        this.returnOrderInfo.write(oprot);
-
 
243092
        oprot.writeFieldEnd();
-
 
243093
      }
-
 
243094
      if (this.attributes != null) {
240943
      oprot.writeFieldBegin(ADDRESS_ID_FIELD_DESC);
243095
        oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC);
-
 
243096
        {
-
 
243097
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.attributes.size()));
-
 
243098
          for (Attribute _iter844 : this.attributes)
-
 
243099
          {
-
 
243100
            _iter844.write(oprot);
-
 
243101
          }
240944
      oprot.writeI64(this.address_id);
243102
          oprot.writeListEnd();
-
 
243103
        }
240945
      oprot.writeFieldEnd();
243104
        oprot.writeFieldEnd();
-
 
243105
      }
240946
      oprot.writeFieldStop();
243106
      oprot.writeFieldStop();
240947
      oprot.writeStructEnd();
243107
      oprot.writeStructEnd();
240948
    }
243108
    }
240949
 
243109
 
240950
    @Override
243110
    @Override
240951
    public String toString() {
243111
    public String toString() {
240952
      StringBuilder sb = new StringBuilder("getWarehouseAddress_args(");
243112
      StringBuilder sb = new StringBuilder("refundReturnOrder_args(");
240953
      boolean first = true;
243113
      boolean first = true;
240954
 
243114
 
-
 
243115
      sb.append("returnOrderInfo:");
-
 
243116
      if (this.returnOrderInfo == null) {
-
 
243117
        sb.append("null");
-
 
243118
      } else {
-
 
243119
        sb.append(this.returnOrderInfo);
-
 
243120
      }
-
 
243121
      first = false;
-
 
243122
      if (!first) sb.append(", ");
240955
      sb.append("address_id:");
243123
      sb.append("attributes:");
-
 
243124
      if (this.attributes == null) {
-
 
243125
        sb.append("null");
-
 
243126
      } else {
240956
      sb.append(this.address_id);
243127
        sb.append(this.attributes);
-
 
243128
      }
240957
      first = false;
243129
      first = false;
240958
      sb.append(")");
243130
      sb.append(")");
240959
      return sb.toString();
243131
      return sb.toString();
240960
    }
243132
    }
240961
 
243133
 
Line 240971... Line 243143...
240971
      }
243143
      }
240972
    }
243144
    }
240973
 
243145
 
240974
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
243146
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
240975
      try {
243147
      try {
240976
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
240977
        __isset_bit_vector = new BitSet(1);
-
 
240978
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
243148
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
240979
      } catch (org.apache.thrift.TException te) {
243149
      } catch (org.apache.thrift.TException te) {
240980
        throw new java.io.IOException(te);
243150
        throw new java.io.IOException(te);
240981
      }
243151
      }
240982
    }
243152
    }
240983
 
243153
 
240984
  }
243154
  }
240985
 
243155
 
240986
  public static class getWarehouseAddress_result implements org.apache.thrift.TBase<getWarehouseAddress_result, getWarehouseAddress_result._Fields>, java.io.Serializable, Cloneable   {
243156
  public static class refundReturnOrder_result implements org.apache.thrift.TBase<refundReturnOrder_result, refundReturnOrder_result._Fields>, java.io.Serializable, Cloneable   {
240987
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getWarehouseAddress_result");
243157
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("refundReturnOrder_result");
240988
 
243158
 
240989
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
243159
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
240990
 
243160
 
240991
    private WarehouseAddress success; // required
243161
    private boolean success; // required
240992
 
243162
 
240993
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
243163
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
240994
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
243164
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
240995
      SUCCESS((short)0, "success");
243165
      SUCCESS((short)0, "success");
240996
 
243166
 
Line 241047... Line 243217...
241047
        return _fieldName;
243217
        return _fieldName;
241048
      }
243218
      }
241049
    }
243219
    }
241050
 
243220
 
241051
    // isset id assignments
243221
    // isset id assignments
-
 
243222
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
243223
    private BitSet __isset_bit_vector = new BitSet(1);
241052
 
243224
 
241053
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
243225
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
241054
    static {
243226
    static {
241055
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
243227
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
241056
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
243228
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
241057
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, WarehouseAddress.class)));
243229
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
241058
      metaDataMap = Collections.unmodifiableMap(tmpMap);
243230
      metaDataMap = Collections.unmodifiableMap(tmpMap);
241059
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getWarehouseAddress_result.class, metaDataMap);
243231
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(refundReturnOrder_result.class, metaDataMap);
241060
    }
243232
    }
241061
 
243233
 
241062
    public getWarehouseAddress_result() {
243234
    public refundReturnOrder_result() {
241063
    }
243235
    }
241064
 
243236
 
241065
    public getWarehouseAddress_result(
243237
    public refundReturnOrder_result(
241066
      WarehouseAddress success)
243238
      boolean success)
241067
    {
243239
    {
241068
      this();
243240
      this();
241069
      this.success = success;
243241
      this.success = success;
-
 
243242
      setSuccessIsSet(true);
241070
    }
243243
    }
241071
 
243244
 
241072
    /**
243245
    /**
241073
     * Performs a deep copy on <i>other</i>.
243246
     * Performs a deep copy on <i>other</i>.
241074
     */
243247
     */
241075
    public getWarehouseAddress_result(getWarehouseAddress_result other) {
243248
    public refundReturnOrder_result(refundReturnOrder_result other) {
241076
      if (other.isSetSuccess()) {
243249
      __isset_bit_vector.clear();
241077
        this.success = new WarehouseAddress(other.success);
243250
      __isset_bit_vector.or(other.__isset_bit_vector);
241078
      }
243251
      this.success = other.success;
241079
    }
243252
    }
241080
 
243253
 
241081
    public getWarehouseAddress_result deepCopy() {
243254
    public refundReturnOrder_result deepCopy() {
241082
      return new getWarehouseAddress_result(this);
243255
      return new refundReturnOrder_result(this);
241083
    }
243256
    }
241084
 
243257
 
241085
    @Override
243258
    @Override
241086
    public void clear() {
243259
    public void clear() {
-
 
243260
      setSuccessIsSet(false);
241087
      this.success = null;
243261
      this.success = false;
241088
    }
243262
    }
241089
 
243263
 
241090
    public WarehouseAddress getSuccess() {
243264
    public boolean isSuccess() {
241091
      return this.success;
243265
      return this.success;
241092
    }
243266
    }
241093
 
243267
 
241094
    public void setSuccess(WarehouseAddress success) {
243268
    public void setSuccess(boolean success) {
241095
      this.success = success;
243269
      this.success = success;
-
 
243270
      setSuccessIsSet(true);
241096
    }
243271
    }
241097
 
243272
 
241098
    public void unsetSuccess() {
243273
    public void unsetSuccess() {
241099
      this.success = null;
243274
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
241100
    }
243275
    }
241101
 
243276
 
241102
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
243277
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
241103
    public boolean isSetSuccess() {
243278
    public boolean isSetSuccess() {
241104
      return this.success != null;
243279
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
241105
    }
243280
    }
241106
 
243281
 
241107
    public void setSuccessIsSet(boolean value) {
243282
    public void setSuccessIsSet(boolean value) {
241108
      if (!value) {
-
 
241109
        this.success = null;
243283
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
241110
      }
-
 
241111
    }
243284
    }
241112
 
243285
 
241113
    public void setFieldValue(_Fields field, Object value) {
243286
    public void setFieldValue(_Fields field, Object value) {
241114
      switch (field) {
243287
      switch (field) {
241115
      case SUCCESS:
243288
      case SUCCESS:
241116
        if (value == null) {
243289
        if (value == null) {
241117
          unsetSuccess();
243290
          unsetSuccess();
241118
        } else {
243291
        } else {
241119
          setSuccess((WarehouseAddress)value);
243292
          setSuccess((Boolean)value);
241120
        }
243293
        }
241121
        break;
243294
        break;
241122
 
243295
 
241123
      }
243296
      }
241124
    }
243297
    }
241125
 
243298
 
241126
    public Object getFieldValue(_Fields field) {
243299
    public Object getFieldValue(_Fields field) {
241127
      switch (field) {
243300
      switch (field) {
241128
      case SUCCESS:
243301
      case SUCCESS:
241129
        return getSuccess();
243302
        return Boolean.valueOf(isSuccess());
241130
 
243303
 
241131
      }
243304
      }
241132
      throw new IllegalStateException();
243305
      throw new IllegalStateException();
241133
    }
243306
    }
241134
 
243307
 
Line 241147... Line 243320...
241147
 
243320
 
241148
    @Override
243321
    @Override
241149
    public boolean equals(Object that) {
243322
    public boolean equals(Object that) {
241150
      if (that == null)
243323
      if (that == null)
241151
        return false;
243324
        return false;
241152
      if (that instanceof getWarehouseAddress_result)
243325
      if (that instanceof refundReturnOrder_result)
241153
        return this.equals((getWarehouseAddress_result)that);
243326
        return this.equals((refundReturnOrder_result)that);
241154
      return false;
243327
      return false;
241155
    }
243328
    }
241156
 
243329
 
241157
    public boolean equals(getWarehouseAddress_result that) {
243330
    public boolean equals(refundReturnOrder_result that) {
241158
      if (that == null)
243331
      if (that == null)
241159
        return false;
243332
        return false;
241160
 
243333
 
241161
      boolean this_present_success = true && this.isSetSuccess();
243334
      boolean this_present_success = true;
241162
      boolean that_present_success = true && that.isSetSuccess();
243335
      boolean that_present_success = true;
241163
      if (this_present_success || that_present_success) {
243336
      if (this_present_success || that_present_success) {
241164
        if (!(this_present_success && that_present_success))
243337
        if (!(this_present_success && that_present_success))
241165
          return false;
243338
          return false;
241166
        if (!this.success.equals(that.success))
243339
        if (this.success != that.success)
241167
          return false;
243340
          return false;
241168
      }
243341
      }
241169
 
243342
 
241170
      return true;
243343
      return true;
241171
    }
243344
    }
Line 241173... Line 243346...
241173
    @Override
243346
    @Override
241174
    public int hashCode() {
243347
    public int hashCode() {
241175
      return 0;
243348
      return 0;
241176
    }
243349
    }
241177
 
243350
 
241178
    public int compareTo(getWarehouseAddress_result other) {
243351
    public int compareTo(refundReturnOrder_result other) {
241179
      if (!getClass().equals(other.getClass())) {
243352
      if (!getClass().equals(other.getClass())) {
241180
        return getClass().getName().compareTo(other.getClass().getName());
243353
        return getClass().getName().compareTo(other.getClass().getName());
241181
      }
243354
      }
241182
 
243355
 
241183
      int lastComparison = 0;
243356
      int lastComparison = 0;
241184
      getWarehouseAddress_result typedOther = (getWarehouseAddress_result)other;
243357
      refundReturnOrder_result typedOther = (refundReturnOrder_result)other;
241185
 
243358
 
241186
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
243359
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
241187
      if (lastComparison != 0) {
243360
      if (lastComparison != 0) {
241188
        return lastComparison;
243361
        return lastComparison;
241189
      }
243362
      }
Line 241209... Line 243382...
241209
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
243382
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
241210
          break;
243383
          break;
241211
        }
243384
        }
241212
        switch (field.id) {
243385
        switch (field.id) {
241213
          case 0: // SUCCESS
243386
          case 0: // SUCCESS
241214
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
243387
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
241215
              this.success = new WarehouseAddress();
243388
              this.success = iprot.readBool();
241216
              this.success.read(iprot);
243389
              setSuccessIsSet(true);
241217
            } else { 
243390
            } else { 
241218
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
243391
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
241219
            }
243392
            }
241220
            break;
243393
            break;
241221
          default:
243394
          default:
Line 241230... Line 243403...
241230
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
243403
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
241231
      oprot.writeStructBegin(STRUCT_DESC);
243404
      oprot.writeStructBegin(STRUCT_DESC);
241232
 
243405
 
241233
      if (this.isSetSuccess()) {
243406
      if (this.isSetSuccess()) {
241234
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
243407
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
241235
        this.success.write(oprot);
243408
        oprot.writeBool(this.success);
241236
        oprot.writeFieldEnd();
243409
        oprot.writeFieldEnd();
241237
      }
243410
      }
241238
      oprot.writeFieldStop();
243411
      oprot.writeFieldStop();
241239
      oprot.writeStructEnd();
243412
      oprot.writeStructEnd();
241240
    }
243413
    }
241241
 
243414
 
241242
    @Override
243415
    @Override
241243
    public String toString() {
243416
    public String toString() {
241244
      StringBuilder sb = new StringBuilder("getWarehouseAddress_result(");
243417
      StringBuilder sb = new StringBuilder("refundReturnOrder_result(");
241245
      boolean first = true;
243418
      boolean first = true;
241246
 
243419
 
241247
      sb.append("success:");
243420
      sb.append("success:");
241248
      if (this.success == null) {
-
 
241249
        sb.append("null");
-
 
241250
      } else {
-
 
241251
        sb.append(this.success);
243421
      sb.append(this.success);
241252
      }
-
 
241253
      first = false;
243422
      first = false;
241254
      sb.append(")");
243423
      sb.append(")");
241255
      return sb.toString();
243424
      return sb.toString();
241256
    }
243425
    }
241257
 
243426
 
Line 241275... Line 243444...
241275
      }
243444
      }
241276
    }
243445
    }
241277
 
243446
 
241278
  }
243447
  }
241279
 
243448
 
241280
  public static class getBuyerByWarehouse_args implements org.apache.thrift.TBase<getBuyerByWarehouse_args, getBuyerByWarehouse_args._Fields>, java.io.Serializable, Cloneable   {
243449
  public static class addShipmentDelay_args implements org.apache.thrift.TBase<addShipmentDelay_args, addShipmentDelay_args._Fields>, java.io.Serializable, Cloneable   {
241281
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getBuyerByWarehouse_args");
243450
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addShipmentDelay_args");
241282
 
243451
 
241283
    private static final org.apache.thrift.protocol.TField WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouse_id", org.apache.thrift.protocol.TType.I64, (short)1);
243452
    private static final org.apache.thrift.protocol.TField SHIPMENT_DELAY_DETAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("shipmentDelayDetail", org.apache.thrift.protocol.TType.LIST, (short)1);
241284
 
243453
 
241285
    private long warehouse_id; // required
243454
    private List<ShipmentDelayDetail> shipmentDelayDetail; // required
241286
 
243455
 
241287
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
243456
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
241288
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
243457
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
241289
      WAREHOUSE_ID((short)1, "warehouse_id");
243458
      SHIPMENT_DELAY_DETAIL((short)1, "shipmentDelayDetail");
241290
 
243459
 
241291
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
243460
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
241292
 
243461
 
241293
      static {
243462
      static {
241294
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
243463
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 241299... Line 243468...
241299
      /**
243468
      /**
241300
       * Find the _Fields constant that matches fieldId, or null if its not found.
243469
       * Find the _Fields constant that matches fieldId, or null if its not found.
241301
       */
243470
       */
241302
      public static _Fields findByThriftId(int fieldId) {
243471
      public static _Fields findByThriftId(int fieldId) {
241303
        switch(fieldId) {
243472
        switch(fieldId) {
241304
          case 1: // WAREHOUSE_ID
243473
          case 1: // SHIPMENT_DELAY_DETAIL
241305
            return WAREHOUSE_ID;
243474
            return SHIPMENT_DELAY_DETAIL;
241306
          default:
243475
          default:
241307
            return null;
243476
            return null;
241308
        }
243477
        }
241309
      }
243478
      }
241310
 
243479
 
Line 241341... Line 243510...
241341
        return _fieldName;
243510
        return _fieldName;
241342
      }
243511
      }
241343
    }
243512
    }
241344
 
243513
 
241345
    // isset id assignments
243514
    // isset id assignments
241346
    private static final int __WAREHOUSE_ID_ISSET_ID = 0;
-
 
241347
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
241348
 
243515
 
241349
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
243516
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
241350
    static {
243517
    static {
241351
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
243518
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
241352
      tmpMap.put(_Fields.WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("warehouse_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
243519
      tmpMap.put(_Fields.SHIPMENT_DELAY_DETAIL, new org.apache.thrift.meta_data.FieldMetaData("shipmentDelayDetail", org.apache.thrift.TFieldRequirementType.DEFAULT, 
241353
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
243520
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
243521
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ShipmentDelayDetail.class))));
241354
      metaDataMap = Collections.unmodifiableMap(tmpMap);
243522
      metaDataMap = Collections.unmodifiableMap(tmpMap);
241355
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getBuyerByWarehouse_args.class, metaDataMap);
243523
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addShipmentDelay_args.class, metaDataMap);
241356
    }
243524
    }
241357
 
243525
 
241358
    public getBuyerByWarehouse_args() {
243526
    public addShipmentDelay_args() {
241359
    }
243527
    }
241360
 
243528
 
241361
    public getBuyerByWarehouse_args(
243529
    public addShipmentDelay_args(
241362
      long warehouse_id)
243530
      List<ShipmentDelayDetail> shipmentDelayDetail)
241363
    {
243531
    {
241364
      this();
243532
      this();
241365
      this.warehouse_id = warehouse_id;
243533
      this.shipmentDelayDetail = shipmentDelayDetail;
241366
      setWarehouse_idIsSet(true);
-
 
241367
    }
243534
    }
241368
 
243535
 
241369
    /**
243536
    /**
241370
     * Performs a deep copy on <i>other</i>.
243537
     * Performs a deep copy on <i>other</i>.
241371
     */
243538
     */
241372
    public getBuyerByWarehouse_args(getBuyerByWarehouse_args other) {
243539
    public addShipmentDelay_args(addShipmentDelay_args other) {
241373
      __isset_bit_vector.clear();
243540
      if (other.isSetShipmentDelayDetail()) {
-
 
243541
        List<ShipmentDelayDetail> __this__shipmentDelayDetail = new ArrayList<ShipmentDelayDetail>();
241374
      __isset_bit_vector.or(other.__isset_bit_vector);
243542
        for (ShipmentDelayDetail other_element : other.shipmentDelayDetail) {
-
 
243543
          __this__shipmentDelayDetail.add(new ShipmentDelayDetail(other_element));
-
 
243544
        }
241375
      this.warehouse_id = other.warehouse_id;
243545
        this.shipmentDelayDetail = __this__shipmentDelayDetail;
-
 
243546
      }
241376
    }
243547
    }
241377
 
243548
 
241378
    public getBuyerByWarehouse_args deepCopy() {
243549
    public addShipmentDelay_args deepCopy() {
241379
      return new getBuyerByWarehouse_args(this);
243550
      return new addShipmentDelay_args(this);
241380
    }
243551
    }
241381
 
243552
 
241382
    @Override
243553
    @Override
241383
    public void clear() {
243554
    public void clear() {
241384
      setWarehouse_idIsSet(false);
-
 
241385
      this.warehouse_id = 0;
243555
      this.shipmentDelayDetail = null;
241386
    }
243556
    }
241387
 
243557
 
241388
    public long getWarehouse_id() {
243558
    public int getShipmentDelayDetailSize() {
241389
      return this.warehouse_id;
243559
      return (this.shipmentDelayDetail == null) ? 0 : this.shipmentDelayDetail.size();
241390
    }
243560
    }
241391
 
243561
 
241392
    public void setWarehouse_id(long warehouse_id) {
243562
    public java.util.Iterator<ShipmentDelayDetail> getShipmentDelayDetailIterator() {
241393
      this.warehouse_id = warehouse_id;
243563
      return (this.shipmentDelayDetail == null) ? null : this.shipmentDelayDetail.iterator();
241394
      setWarehouse_idIsSet(true);
-
 
241395
    }
243564
    }
241396
 
243565
 
-
 
243566
    public void addToShipmentDelayDetail(ShipmentDelayDetail elem) {
241397
    public void unsetWarehouse_id() {
243567
      if (this.shipmentDelayDetail == null) {
-
 
243568
        this.shipmentDelayDetail = new ArrayList<ShipmentDelayDetail>();
-
 
243569
      }
241398
      __isset_bit_vector.clear(__WAREHOUSE_ID_ISSET_ID);
243570
      this.shipmentDelayDetail.add(elem);
241399
    }
243571
    }
241400
 
243572
 
241401
    /** Returns true if field warehouse_id is set (has been assigned a value) and false otherwise */
-
 
241402
    public boolean isSetWarehouse_id() {
243573
    public List<ShipmentDelayDetail> getShipmentDelayDetail() {
241403
      return __isset_bit_vector.get(__WAREHOUSE_ID_ISSET_ID);
243574
      return this.shipmentDelayDetail;
241404
    }
243575
    }
241405
 
243576
 
-
 
243577
    public void setShipmentDelayDetail(List<ShipmentDelayDetail> shipmentDelayDetail) {
-
 
243578
      this.shipmentDelayDetail = shipmentDelayDetail;
-
 
243579
    }
-
 
243580
 
-
 
243581
    public void unsetShipmentDelayDetail() {
-
 
243582
      this.shipmentDelayDetail = null;
-
 
243583
    }
-
 
243584
 
-
 
243585
    /** Returns true if field shipmentDelayDetail is set (has been assigned a value) and false otherwise */
-
 
243586
    public boolean isSetShipmentDelayDetail() {
-
 
243587
      return this.shipmentDelayDetail != null;
-
 
243588
    }
-
 
243589
 
241406
    public void setWarehouse_idIsSet(boolean value) {
243590
    public void setShipmentDelayDetailIsSet(boolean value) {
-
 
243591
      if (!value) {
241407
      __isset_bit_vector.set(__WAREHOUSE_ID_ISSET_ID, value);
243592
        this.shipmentDelayDetail = null;
-
 
243593
      }
241408
    }
243594
    }
241409
 
243595
 
241410
    public void setFieldValue(_Fields field, Object value) {
243596
    public void setFieldValue(_Fields field, Object value) {
241411
      switch (field) {
243597
      switch (field) {
241412
      case WAREHOUSE_ID:
243598
      case SHIPMENT_DELAY_DETAIL:
241413
        if (value == null) {
243599
        if (value == null) {
241414
          unsetWarehouse_id();
243600
          unsetShipmentDelayDetail();
241415
        } else {
243601
        } else {
241416
          setWarehouse_id((Long)value);
243602
          setShipmentDelayDetail((List<ShipmentDelayDetail>)value);
241417
        }
243603
        }
241418
        break;
243604
        break;
241419
 
243605
 
241420
      }
243606
      }
241421
    }
243607
    }
241422
 
243608
 
241423
    public Object getFieldValue(_Fields field) {
243609
    public Object getFieldValue(_Fields field) {
241424
      switch (field) {
243610
      switch (field) {
241425
      case WAREHOUSE_ID:
243611
      case SHIPMENT_DELAY_DETAIL:
241426
        return Long.valueOf(getWarehouse_id());
243612
        return getShipmentDelayDetail();
241427
 
243613
 
241428
      }
243614
      }
241429
      throw new IllegalStateException();
243615
      throw new IllegalStateException();
241430
    }
243616
    }
241431
 
243617
 
Line 241434... Line 243620...
241434
      if (field == null) {
243620
      if (field == null) {
241435
        throw new IllegalArgumentException();
243621
        throw new IllegalArgumentException();
241436
      }
243622
      }
241437
 
243623
 
241438
      switch (field) {
243624
      switch (field) {
241439
      case WAREHOUSE_ID:
243625
      case SHIPMENT_DELAY_DETAIL:
241440
        return isSetWarehouse_id();
243626
        return isSetShipmentDelayDetail();
241441
      }
243627
      }
241442
      throw new IllegalStateException();
243628
      throw new IllegalStateException();
241443
    }
243629
    }
241444
 
243630
 
241445
    @Override
243631
    @Override
241446
    public boolean equals(Object that) {
243632
    public boolean equals(Object that) {
241447
      if (that == null)
243633
      if (that == null)
241448
        return false;
243634
        return false;
241449
      if (that instanceof getBuyerByWarehouse_args)
243635
      if (that instanceof addShipmentDelay_args)
241450
        return this.equals((getBuyerByWarehouse_args)that);
243636
        return this.equals((addShipmentDelay_args)that);
241451
      return false;
243637
      return false;
241452
    }
243638
    }
241453
 
243639
 
241454
    public boolean equals(getBuyerByWarehouse_args that) {
243640
    public boolean equals(addShipmentDelay_args that) {
241455
      if (that == null)
243641
      if (that == null)
241456
        return false;
243642
        return false;
241457
 
243643
 
241458
      boolean this_present_warehouse_id = true;
243644
      boolean this_present_shipmentDelayDetail = true && this.isSetShipmentDelayDetail();
241459
      boolean that_present_warehouse_id = true;
243645
      boolean that_present_shipmentDelayDetail = true && that.isSetShipmentDelayDetail();
241460
      if (this_present_warehouse_id || that_present_warehouse_id) {
243646
      if (this_present_shipmentDelayDetail || that_present_shipmentDelayDetail) {
241461
        if (!(this_present_warehouse_id && that_present_warehouse_id))
243647
        if (!(this_present_shipmentDelayDetail && that_present_shipmentDelayDetail))
241462
          return false;
243648
          return false;
241463
        if (this.warehouse_id != that.warehouse_id)
243649
        if (!this.shipmentDelayDetail.equals(that.shipmentDelayDetail))
241464
          return false;
243650
          return false;
241465
      }
243651
      }
241466
 
243652
 
241467
      return true;
243653
      return true;
241468
    }
243654
    }
Line 241470... Line 243656...
241470
    @Override
243656
    @Override
241471
    public int hashCode() {
243657
    public int hashCode() {
241472
      return 0;
243658
      return 0;
241473
    }
243659
    }
241474
 
243660
 
241475
    public int compareTo(getBuyerByWarehouse_args other) {
243661
    public int compareTo(addShipmentDelay_args other) {
241476
      if (!getClass().equals(other.getClass())) {
243662
      if (!getClass().equals(other.getClass())) {
241477
        return getClass().getName().compareTo(other.getClass().getName());
243663
        return getClass().getName().compareTo(other.getClass().getName());
241478
      }
243664
      }
241479
 
243665
 
241480
      int lastComparison = 0;
243666
      int lastComparison = 0;
241481
      getBuyerByWarehouse_args typedOther = (getBuyerByWarehouse_args)other;
243667
      addShipmentDelay_args typedOther = (addShipmentDelay_args)other;
241482
 
243668
 
241483
      lastComparison = Boolean.valueOf(isSetWarehouse_id()).compareTo(typedOther.isSetWarehouse_id());
243669
      lastComparison = Boolean.valueOf(isSetShipmentDelayDetail()).compareTo(typedOther.isSetShipmentDelayDetail());
241484
      if (lastComparison != 0) {
243670
      if (lastComparison != 0) {
241485
        return lastComparison;
243671
        return lastComparison;
241486
      }
243672
      }
241487
      if (isSetWarehouse_id()) {
243673
      if (isSetShipmentDelayDetail()) {
241488
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warehouse_id, typedOther.warehouse_id);
243674
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shipmentDelayDetail, typedOther.shipmentDelayDetail);
241489
        if (lastComparison != 0) {
243675
        if (lastComparison != 0) {
241490
          return lastComparison;
243676
          return lastComparison;
241491
        }
243677
        }
241492
      }
243678
      }
241493
      return 0;
243679
      return 0;
Line 241505... Line 243691...
241505
        field = iprot.readFieldBegin();
243691
        field = iprot.readFieldBegin();
241506
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
243692
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
241507
          break;
243693
          break;
241508
        }
243694
        }
241509
        switch (field.id) {
243695
        switch (field.id) {
241510
          case 1: // WAREHOUSE_ID
243696
          case 1: // SHIPMENT_DELAY_DETAIL
241511
            if (field.type == org.apache.thrift.protocol.TType.I64) {
243697
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
243698
              {
-
 
243699
                org.apache.thrift.protocol.TList _list845 = iprot.readListBegin();
-
 
243700
                this.shipmentDelayDetail = new ArrayList<ShipmentDelayDetail>(_list845.size);
-
 
243701
                for (int _i846 = 0; _i846 < _list845.size; ++_i846)
-
 
243702
                {
-
 
243703
                  ShipmentDelayDetail _elem847; // required
-
 
243704
                  _elem847 = new ShipmentDelayDetail();
-
 
243705
                  _elem847.read(iprot);
241512
              this.warehouse_id = iprot.readI64();
243706
                  this.shipmentDelayDetail.add(_elem847);
-
 
243707
                }
241513
              setWarehouse_idIsSet(true);
243708
                iprot.readListEnd();
-
 
243709
              }
241514
            } else { 
243710
            } else { 
241515
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
243711
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
241516
            }
243712
            }
241517
            break;
243713
            break;
241518
          default:
243714
          default:
Line 241526... Line 243722...
241526
 
243722
 
241527
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
243723
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
241528
      validate();
243724
      validate();
241529
 
243725
 
241530
      oprot.writeStructBegin(STRUCT_DESC);
243726
      oprot.writeStructBegin(STRUCT_DESC);
-
 
243727
      if (this.shipmentDelayDetail != null) {
241531
      oprot.writeFieldBegin(WAREHOUSE_ID_FIELD_DESC);
243728
        oprot.writeFieldBegin(SHIPMENT_DELAY_DETAIL_FIELD_DESC);
-
 
243729
        {
-
 
243730
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.shipmentDelayDetail.size()));
-
 
243731
          for (ShipmentDelayDetail _iter848 : this.shipmentDelayDetail)
-
 
243732
          {
-
 
243733
            _iter848.write(oprot);
-
 
243734
          }
241532
      oprot.writeI64(this.warehouse_id);
243735
          oprot.writeListEnd();
-
 
243736
        }
241533
      oprot.writeFieldEnd();
243737
        oprot.writeFieldEnd();
-
 
243738
      }
241534
      oprot.writeFieldStop();
243739
      oprot.writeFieldStop();
241535
      oprot.writeStructEnd();
243740
      oprot.writeStructEnd();
241536
    }
243741
    }
241537
 
243742
 
241538
    @Override
243743
    @Override
241539
    public String toString() {
243744
    public String toString() {
241540
      StringBuilder sb = new StringBuilder("getBuyerByWarehouse_args(");
243745
      StringBuilder sb = new StringBuilder("addShipmentDelay_args(");
241541
      boolean first = true;
243746
      boolean first = true;
241542
 
243747
 
241543
      sb.append("warehouse_id:");
243748
      sb.append("shipmentDelayDetail:");
-
 
243749
      if (this.shipmentDelayDetail == null) {
-
 
243750
        sb.append("null");
-
 
243751
      } else {
241544
      sb.append(this.warehouse_id);
243752
        sb.append(this.shipmentDelayDetail);
-
 
243753
      }
241545
      first = false;
243754
      first = false;
241546
      sb.append(")");
243755
      sb.append(")");
241547
      return sb.toString();
243756
      return sb.toString();
241548
    }
243757
    }
241549
 
243758
 
Line 241559... Line 243768...
241559
      }
243768
      }
241560
    }
243769
    }
241561
 
243770
 
241562
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
243771
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
241563
      try {
243772
      try {
241564
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
241565
        __isset_bit_vector = new BitSet(1);
-
 
241566
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
243773
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
241567
      } catch (org.apache.thrift.TException te) {
243774
      } catch (org.apache.thrift.TException te) {
241568
        throw new java.io.IOException(te);
243775
        throw new java.io.IOException(te);
241569
      }
243776
      }
241570
    }
243777
    }
241571
 
243778
 
241572
  }
243779
  }
241573
 
243780
 
241574
  public static class getBuyerByWarehouse_result implements org.apache.thrift.TBase<getBuyerByWarehouse_result, getBuyerByWarehouse_result._Fields>, java.io.Serializable, Cloneable   {
243781
  public static class addShipmentDelay_result implements org.apache.thrift.TBase<addShipmentDelay_result, addShipmentDelay_result._Fields>, java.io.Serializable, Cloneable   {
241575
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getBuyerByWarehouse_result");
243782
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addShipmentDelay_result");
241576
 
243783
 
241577
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
243784
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
241578
 
243785
 
241579
    private BuyerInfo success; // required
243786
    private List<Long> success; // required
241580
 
243787
 
241581
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
243788
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
241582
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
243789
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
241583
      SUCCESS((short)0, "success");
243790
      SUCCESS((short)0, "success");
241584
 
243791
 
Line 241640... Line 243847...
241640
 
243847
 
241641
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
243848
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
241642
    static {
243849
    static {
241643
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
243850
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
241644
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
243851
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
241645
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, BuyerInfo.class)));
243852
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
243853
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
241646
      metaDataMap = Collections.unmodifiableMap(tmpMap);
243854
      metaDataMap = Collections.unmodifiableMap(tmpMap);
241647
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getBuyerByWarehouse_result.class, metaDataMap);
243855
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addShipmentDelay_result.class, metaDataMap);
241648
    }
243856
    }
241649
 
243857
 
241650
    public getBuyerByWarehouse_result() {
243858
    public addShipmentDelay_result() {
241651
    }
243859
    }
241652
 
243860
 
241653
    public getBuyerByWarehouse_result(
243861
    public addShipmentDelay_result(
241654
      BuyerInfo success)
243862
      List<Long> success)
241655
    {
243863
    {
241656
      this();
243864
      this();
241657
      this.success = success;
243865
      this.success = success;
241658
    }
243866
    }
241659
 
243867
 
241660
    /**
243868
    /**
241661
     * Performs a deep copy on <i>other</i>.
243869
     * Performs a deep copy on <i>other</i>.
241662
     */
243870
     */
241663
    public getBuyerByWarehouse_result(getBuyerByWarehouse_result other) {
243871
    public addShipmentDelay_result(addShipmentDelay_result other) {
241664
      if (other.isSetSuccess()) {
243872
      if (other.isSetSuccess()) {
-
 
243873
        List<Long> __this__success = new ArrayList<Long>();
-
 
243874
        for (Long other_element : other.success) {
-
 
243875
          __this__success.add(other_element);
-
 
243876
        }
241665
        this.success = new BuyerInfo(other.success);
243877
        this.success = __this__success;
241666
      }
243878
      }
241667
    }
243879
    }
241668
 
243880
 
241669
    public getBuyerByWarehouse_result deepCopy() {
243881
    public addShipmentDelay_result deepCopy() {
241670
      return new getBuyerByWarehouse_result(this);
243882
      return new addShipmentDelay_result(this);
241671
    }
243883
    }
241672
 
243884
 
241673
    @Override
243885
    @Override
241674
    public void clear() {
243886
    public void clear() {
241675
      this.success = null;
243887
      this.success = null;
241676
    }
243888
    }
241677
 
243889
 
-
 
243890
    public int getSuccessSize() {
-
 
243891
      return (this.success == null) ? 0 : this.success.size();
-
 
243892
    }
-
 
243893
 
-
 
243894
    public java.util.Iterator<Long> getSuccessIterator() {
-
 
243895
      return (this.success == null) ? null : this.success.iterator();
-
 
243896
    }
-
 
243897
 
-
 
243898
    public void addToSuccess(long elem) {
-
 
243899
      if (this.success == null) {
-
 
243900
        this.success = new ArrayList<Long>();
-
 
243901
      }
-
 
243902
      this.success.add(elem);
-
 
243903
    }
-
 
243904
 
241678
    public BuyerInfo getSuccess() {
243905
    public List<Long> getSuccess() {
241679
      return this.success;
243906
      return this.success;
241680
    }
243907
    }
241681
 
243908
 
241682
    public void setSuccess(BuyerInfo success) {
243909
    public void setSuccess(List<Long> success) {
241683
      this.success = success;
243910
      this.success = success;
241684
    }
243911
    }
241685
 
243912
 
241686
    public void unsetSuccess() {
243913
    public void unsetSuccess() {
241687
      this.success = null;
243914
      this.success = null;
Line 241702... Line 243929...
241702
      switch (field) {
243929
      switch (field) {
241703
      case SUCCESS:
243930
      case SUCCESS:
241704
        if (value == null) {
243931
        if (value == null) {
241705
          unsetSuccess();
243932
          unsetSuccess();
241706
        } else {
243933
        } else {
241707
          setSuccess((BuyerInfo)value);
243934
          setSuccess((List<Long>)value);
241708
        }
243935
        }
241709
        break;
243936
        break;
241710
 
243937
 
241711
      }
243938
      }
241712
    }
243939
    }
Line 241735... Line 243962...
241735
 
243962
 
241736
    @Override
243963
    @Override
241737
    public boolean equals(Object that) {
243964
    public boolean equals(Object that) {
241738
      if (that == null)
243965
      if (that == null)
241739
        return false;
243966
        return false;
241740
      if (that instanceof getBuyerByWarehouse_result)
243967
      if (that instanceof addShipmentDelay_result)
241741
        return this.equals((getBuyerByWarehouse_result)that);
243968
        return this.equals((addShipmentDelay_result)that);
241742
      return false;
243969
      return false;
241743
    }
243970
    }
241744
 
243971
 
241745
    public boolean equals(getBuyerByWarehouse_result that) {
243972
    public boolean equals(addShipmentDelay_result that) {
241746
      if (that == null)
243973
      if (that == null)
241747
        return false;
243974
        return false;
241748
 
243975
 
241749
      boolean this_present_success = true && this.isSetSuccess();
243976
      boolean this_present_success = true && this.isSetSuccess();
241750
      boolean that_present_success = true && that.isSetSuccess();
243977
      boolean that_present_success = true && that.isSetSuccess();
Line 241761... Line 243988...
241761
    @Override
243988
    @Override
241762
    public int hashCode() {
243989
    public int hashCode() {
241763
      return 0;
243990
      return 0;
241764
    }
243991
    }
241765
 
243992
 
241766
    public int compareTo(getBuyerByWarehouse_result other) {
243993
    public int compareTo(addShipmentDelay_result other) {
241767
      if (!getClass().equals(other.getClass())) {
243994
      if (!getClass().equals(other.getClass())) {
241768
        return getClass().getName().compareTo(other.getClass().getName());
243995
        return getClass().getName().compareTo(other.getClass().getName());
241769
      }
243996
      }
241770
 
243997
 
241771
      int lastComparison = 0;
243998
      int lastComparison = 0;
241772
      getBuyerByWarehouse_result typedOther = (getBuyerByWarehouse_result)other;
243999
      addShipmentDelay_result typedOther = (addShipmentDelay_result)other;
241773
 
244000
 
241774
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
244001
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
241775
      if (lastComparison != 0) {
244002
      if (lastComparison != 0) {
241776
        return lastComparison;
244003
        return lastComparison;
241777
      }
244004
      }
Line 241797... Line 244024...
241797
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
244024
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
241798
          break;
244025
          break;
241799
        }
244026
        }
241800
        switch (field.id) {
244027
        switch (field.id) {
241801
          case 0: // SUCCESS
244028
          case 0: // SUCCESS
241802
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
244029
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
244030
              {
-
 
244031
                org.apache.thrift.protocol.TList _list849 = iprot.readListBegin();
241803
              this.success = new BuyerInfo();
244032
                this.success = new ArrayList<Long>(_list849.size);
-
 
244033
                for (int _i850 = 0; _i850 < _list849.size; ++_i850)
-
 
244034
                {
-
 
244035
                  long _elem851; // required
-
 
244036
                  _elem851 = iprot.readI64();
241804
              this.success.read(iprot);
244037
                  this.success.add(_elem851);
-
 
244038
                }
-
 
244039
                iprot.readListEnd();
-
 
244040
              }
241805
            } else { 
244041
            } else { 
241806
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
244042
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
241807
            }
244043
            }
241808
            break;
244044
            break;
241809
          default:
244045
          default:
Line 241818... Line 244054...
241818
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
244054
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
241819
      oprot.writeStructBegin(STRUCT_DESC);
244055
      oprot.writeStructBegin(STRUCT_DESC);
241820
 
244056
 
241821
      if (this.isSetSuccess()) {
244057
      if (this.isSetSuccess()) {
241822
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
244058
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
244059
        {
-
 
244060
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
-
 
244061
          for (long _iter852 : this.success)
-
 
244062
          {
-
 
244063
            oprot.writeI64(_iter852);
-
 
244064
          }
241823
        this.success.write(oprot);
244065
          oprot.writeListEnd();
-
 
244066
        }
241824
        oprot.writeFieldEnd();
244067
        oprot.writeFieldEnd();
241825
      }
244068
      }
241826
      oprot.writeFieldStop();
244069
      oprot.writeFieldStop();
241827
      oprot.writeStructEnd();
244070
      oprot.writeStructEnd();
241828
    }
244071
    }
241829
 
244072
 
241830
    @Override
244073
    @Override
241831
    public String toString() {
244074
    public String toString() {
241832
      StringBuilder sb = new StringBuilder("getBuyerByWarehouse_result(");
244075
      StringBuilder sb = new StringBuilder("addShipmentDelay_result(");
241833
      boolean first = true;
244076
      boolean first = true;
241834
 
244077
 
241835
      sb.append("success:");
244078
      sb.append("success:");
241836
      if (this.success == null) {
244079
      if (this.success == null) {
241837
        sb.append("null");
244080
        sb.append("null");