Subversion Repositories SmartDukaan

Rev

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

Rev 19735 Rev 19817
Line 1163... Line 1163...
1163
 
1163
 
1164
    public Map<Long,Boolean> bulkUpdateReturnOrderInfo(Map<Long,List<ReturnOrderInfo>> orderReturnInfosMap) throws TransactionServiceException, org.apache.thrift.TException;
1164
    public Map<Long,Boolean> bulkUpdateReturnOrderInfo(Map<Long,List<ReturnOrderInfo>> orderReturnInfosMap) throws TransactionServiceException, org.apache.thrift.TException;
1165
 
1165
 
1166
    public List<ReturnOrderInfo> getReturnOrdersAsPerWarehouseId(long warehouseId) throws org.apache.thrift.TException;
1166
    public List<ReturnOrderInfo> getReturnOrdersAsPerWarehouseId(long warehouseId) throws org.apache.thrift.TException;
1167
 
1167
 
1168
    public long createReturnTransaction(ReturnTransaction returnTransaction, String itemCondition, boolean overrideWarranty) throws TransactionServiceException, org.apache.thrift.TException;
1168
    public ReturnTransaction createReturnTransaction(ReturnTransaction returnTransaction, String itemCondition, boolean overrideWarranty) throws TransactionServiceException, org.apache.thrift.TException;
1169
 
1169
 
1170
    public ReturnTransaction getReturnTransaction(long id) throws TransactionServiceException, org.apache.thrift.TException;
1170
    public ReturnTransaction getReturnTransaction(long id) throws TransactionServiceException, org.apache.thrift.TException;
1171
 
1171
 
1172
    public List<ReturnOrderInfo> getReturnOrdersForReturnTransaction(long returnTransactionId) throws TransactionServiceException, org.apache.thrift.TException;
1172
    public List<ReturnOrderInfo> getReturnOrdersForReturnTransaction(long returnTransactionId) throws TransactionServiceException, org.apache.thrift.TException;
1173
 
1173
 
Line 1222... Line 1222...
1222
 
1222
 
1223
    public List<ReturnOrderInfo> getEligibleReturnOrdersForPickup(long customerId) throws org.apache.thrift.TException;
1223
    public List<ReturnOrderInfo> getEligibleReturnOrdersForPickup(long customerId) throws org.apache.thrift.TException;
1224
 
1224
 
1225
    public boolean validateReturnTransaction(long customerId, Map<Long,Long> returnOrdersMap, String itemCondition, boolean overrideWarranty) throws org.apache.thrift.TException;
1225
    public boolean validateReturnTransaction(long customerId, Map<Long,Long> returnOrdersMap, String itemCondition, boolean overrideWarranty) throws org.apache.thrift.TException;
1226
 
1226
 
-
 
1227
    public boolean markReturnNotRequiredOrdersProcessed(long returnTransactionId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1228
 
-
 
1229
    public ReturnPickupRequest getReturnPickupRequest(long returnPickupId) throws org.apache.thrift.TException;
-
 
1230
 
1227
  }
1231
  }
1228
 
1232
 
1229
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1233
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1230
 
1234
 
1231
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
1235
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1812... Line 1816...
1812
 
1816
 
1813
    public void getEligibleReturnOrdersForPickup(long customerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getEligibleReturnOrdersForPickup_call> resultHandler) throws org.apache.thrift.TException;
1817
    public void getEligibleReturnOrdersForPickup(long customerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getEligibleReturnOrdersForPickup_call> resultHandler) throws org.apache.thrift.TException;
1814
 
1818
 
1815
    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;
1819
    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;
1816
 
1820
 
-
 
1821
    public void markReturnNotRequiredOrdersProcessed(long returnTransactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markReturnNotRequiredOrdersProcessed_call> resultHandler) throws org.apache.thrift.TException;
-
 
1822
 
-
 
1823
    public void getReturnPickupRequest(long returnPickupId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnPickupRequest_call> resultHandler) throws org.apache.thrift.TException;
-
 
1824
 
1817
  }
1825
  }
1818
 
1826
 
1819
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1827
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1820
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1828
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1821
      public Factory() {}
1829
      public Factory() {}
Line 8551... Line 8559...
8551
        return result.success;
8559
        return result.success;
8552
      }
8560
      }
8553
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReturnOrdersAsPerWarehouseId failed: unknown result");
8561
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReturnOrdersAsPerWarehouseId failed: unknown result");
8554
    }
8562
    }
8555
 
8563
 
8556
    public long createReturnTransaction(ReturnTransaction returnTransaction, String itemCondition, boolean overrideWarranty) throws TransactionServiceException, org.apache.thrift.TException
8564
    public ReturnTransaction createReturnTransaction(ReturnTransaction returnTransaction, String itemCondition, boolean overrideWarranty) throws TransactionServiceException, org.apache.thrift.TException
8557
    {
8565
    {
8558
      send_createReturnTransaction(returnTransaction, itemCondition, overrideWarranty);
8566
      send_createReturnTransaction(returnTransaction, itemCondition, overrideWarranty);
8559
      return recv_createReturnTransaction();
8567
      return recv_createReturnTransaction();
8560
    }
8568
    }
8561
 
8569
 
Line 8566... Line 8574...
8566
      args.setItemCondition(itemCondition);
8574
      args.setItemCondition(itemCondition);
8567
      args.setOverrideWarranty(overrideWarranty);
8575
      args.setOverrideWarranty(overrideWarranty);
8568
      sendBase("createReturnTransaction", args);
8576
      sendBase("createReturnTransaction", args);
8569
    }
8577
    }
8570
 
8578
 
8571
    public long recv_createReturnTransaction() throws TransactionServiceException, org.apache.thrift.TException
8579
    public ReturnTransaction recv_createReturnTransaction() throws TransactionServiceException, org.apache.thrift.TException
8572
    {
8580
    {
8573
      createReturnTransaction_result result = new createReturnTransaction_result();
8581
      createReturnTransaction_result result = new createReturnTransaction_result();
8574
      receiveBase(result, "createReturnTransaction");
8582
      receiveBase(result, "createReturnTransaction");
8575
      if (result.isSetSuccess()) {
8583
      if (result.isSetSuccess()) {
8576
        return result.success;
8584
        return result.success;
Line 9100... Line 9108...
9100
        return result.success;
9108
        return result.success;
9101
      }
9109
      }
9102
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "validateReturnTransaction failed: unknown result");
9110
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "validateReturnTransaction failed: unknown result");
9103
    }
9111
    }
9104
 
9112
 
-
 
9113
    public boolean markReturnNotRequiredOrdersProcessed(long returnTransactionId) throws TransactionServiceException, org.apache.thrift.TException
-
 
9114
    {
-
 
9115
      send_markReturnNotRequiredOrdersProcessed(returnTransactionId);
-
 
9116
      return recv_markReturnNotRequiredOrdersProcessed();
-
 
9117
    }
-
 
9118
 
-
 
9119
    public void send_markReturnNotRequiredOrdersProcessed(long returnTransactionId) throws org.apache.thrift.TException
-
 
9120
    {
-
 
9121
      markReturnNotRequiredOrdersProcessed_args args = new markReturnNotRequiredOrdersProcessed_args();
-
 
9122
      args.setReturnTransactionId(returnTransactionId);
-
 
9123
      sendBase("markReturnNotRequiredOrdersProcessed", args);
-
 
9124
    }
-
 
9125
 
-
 
9126
    public boolean recv_markReturnNotRequiredOrdersProcessed() throws TransactionServiceException, org.apache.thrift.TException
-
 
9127
    {
-
 
9128
      markReturnNotRequiredOrdersProcessed_result result = new markReturnNotRequiredOrdersProcessed_result();
-
 
9129
      receiveBase(result, "markReturnNotRequiredOrdersProcessed");
-
 
9130
      if (result.isSetSuccess()) {
-
 
9131
        return result.success;
-
 
9132
      }
-
 
9133
      if (result.ex != null) {
-
 
9134
        throw result.ex;
-
 
9135
      }
-
 
9136
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markReturnNotRequiredOrdersProcessed failed: unknown result");
-
 
9137
    }
-
 
9138
 
-
 
9139
    public ReturnPickupRequest getReturnPickupRequest(long returnPickupId) throws org.apache.thrift.TException
-
 
9140
    {
-
 
9141
      send_getReturnPickupRequest(returnPickupId);
-
 
9142
      return recv_getReturnPickupRequest();
-
 
9143
    }
-
 
9144
 
-
 
9145
    public void send_getReturnPickupRequest(long returnPickupId) throws org.apache.thrift.TException
-
 
9146
    {
-
 
9147
      getReturnPickupRequest_args args = new getReturnPickupRequest_args();
-
 
9148
      args.setReturnPickupId(returnPickupId);
-
 
9149
      sendBase("getReturnPickupRequest", args);
-
 
9150
    }
-
 
9151
 
-
 
9152
    public ReturnPickupRequest recv_getReturnPickupRequest() throws org.apache.thrift.TException
-
 
9153
    {
-
 
9154
      getReturnPickupRequest_result result = new getReturnPickupRequest_result();
-
 
9155
      receiveBase(result, "getReturnPickupRequest");
-
 
9156
      if (result.isSetSuccess()) {
-
 
9157
        return result.success;
-
 
9158
      }
-
 
9159
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReturnPickupRequest failed: unknown result");
-
 
9160
    }
-
 
9161
 
9105
  }
9162
  }
9106
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
9163
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
9107
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
9164
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
9108
      private org.apache.thrift.async.TAsyncClientManager clientManager;
9165
      private org.apache.thrift.async.TAsyncClientManager clientManager;
9109
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
9166
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 18630... Line 18687...
18630
        args.setOverrideWarranty(overrideWarranty);
18687
        args.setOverrideWarranty(overrideWarranty);
18631
        args.write(prot);
18688
        args.write(prot);
18632
        prot.writeMessageEnd();
18689
        prot.writeMessageEnd();
18633
      }
18690
      }
18634
 
18691
 
18635
      public long getResult() throws TransactionServiceException, org.apache.thrift.TException {
18692
      public ReturnTransaction getResult() throws TransactionServiceException, org.apache.thrift.TException {
18636
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
18693
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
18637
          throw new IllegalStateException("Method call not finished!");
18694
          throw new IllegalStateException("Method call not finished!");
18638
        }
18695
        }
18639
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
18696
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
18640
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
18697
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
Line 19346... Line 19403...
19346
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
19403
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
19347
        return (new Client(prot)).recv_validateReturnTransaction();
19404
        return (new Client(prot)).recv_validateReturnTransaction();
19348
      }
19405
      }
19349
    }
19406
    }
19350
 
19407
 
-
 
19408
    public void markReturnNotRequiredOrdersProcessed(long returnTransactionId, org.apache.thrift.async.AsyncMethodCallback<markReturnNotRequiredOrdersProcessed_call> resultHandler) throws org.apache.thrift.TException {
-
 
19409
      checkReady();
-
 
19410
      markReturnNotRequiredOrdersProcessed_call method_call = new markReturnNotRequiredOrdersProcessed_call(returnTransactionId, resultHandler, this, ___protocolFactory, ___transport);
-
 
19411
      this.___currentMethod = method_call;
-
 
19412
      ___manager.call(method_call);
-
 
19413
    }
-
 
19414
 
-
 
19415
    public static class markReturnNotRequiredOrdersProcessed_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
19416
      private long returnTransactionId;
-
 
19417
      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 {
-
 
19418
        super(client, protocolFactory, transport, resultHandler, false);
-
 
19419
        this.returnTransactionId = returnTransactionId;
-
 
19420
      }
-
 
19421
 
-
 
19422
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
19423
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markReturnNotRequiredOrdersProcessed", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
19424
        markReturnNotRequiredOrdersProcessed_args args = new markReturnNotRequiredOrdersProcessed_args();
-
 
19425
        args.setReturnTransactionId(returnTransactionId);
-
 
19426
        args.write(prot);
-
 
19427
        prot.writeMessageEnd();
-
 
19428
      }
-
 
19429
 
-
 
19430
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
19431
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
19432
          throw new IllegalStateException("Method call not finished!");
-
 
19433
        }
-
 
19434
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
19435
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
19436
        return (new Client(prot)).recv_markReturnNotRequiredOrdersProcessed();
-
 
19437
      }
-
 
19438
    }
-
 
19439
 
-
 
19440
    public void getReturnPickupRequest(long returnPickupId, org.apache.thrift.async.AsyncMethodCallback<getReturnPickupRequest_call> resultHandler) throws org.apache.thrift.TException {
-
 
19441
      checkReady();
-
 
19442
      getReturnPickupRequest_call method_call = new getReturnPickupRequest_call(returnPickupId, resultHandler, this, ___protocolFactory, ___transport);
-
 
19443
      this.___currentMethod = method_call;
-
 
19444
      ___manager.call(method_call);
-
 
19445
    }
-
 
19446
 
-
 
19447
    public static class getReturnPickupRequest_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
19448
      private long returnPickupId;
-
 
19449
      public getReturnPickupRequest_call(long returnPickupId, org.apache.thrift.async.AsyncMethodCallback<getReturnPickupRequest_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 {
-
 
19450
        super(client, protocolFactory, transport, resultHandler, false);
-
 
19451
        this.returnPickupId = returnPickupId;
-
 
19452
      }
-
 
19453
 
-
 
19454
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
19455
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getReturnPickupRequest", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
19456
        getReturnPickupRequest_args args = new getReturnPickupRequest_args();
-
 
19457
        args.setReturnPickupId(returnPickupId);
-
 
19458
        args.write(prot);
-
 
19459
        prot.writeMessageEnd();
-
 
19460
      }
-
 
19461
 
-
 
19462
      public ReturnPickupRequest getResult() throws org.apache.thrift.TException {
-
 
19463
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
19464
          throw new IllegalStateException("Method call not finished!");
-
 
19465
        }
-
 
19466
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
19467
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
19468
        return (new Client(prot)).recv_getReturnPickupRequest();
-
 
19469
      }
-
 
19470
    }
-
 
19471
 
19351
  }
19472
  }
19352
 
19473
 
19353
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
19474
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
19354
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
19475
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
19355
    public Processor(I iface) {
19476
    public Processor(I iface) {
Line 19652... Line 19773...
19652
      processMap.put("updateMasterOrderAWB", new updateMasterOrderAWB());
19773
      processMap.put("updateMasterOrderAWB", new updateMasterOrderAWB());
19653
      processMap.put("addOrUpdateShipmentLogisticsCostDetails", new addOrUpdateShipmentLogisticsCostDetails());
19774
      processMap.put("addOrUpdateShipmentLogisticsCostDetails", new addOrUpdateShipmentLogisticsCostDetails());
19654
      processMap.put("getEligibleOrdersForReturn", new getEligibleOrdersForReturn());
19775
      processMap.put("getEligibleOrdersForReturn", new getEligibleOrdersForReturn());
19655
      processMap.put("getEligibleReturnOrdersForPickup", new getEligibleReturnOrdersForPickup());
19776
      processMap.put("getEligibleReturnOrdersForPickup", new getEligibleReturnOrdersForPickup());
19656
      processMap.put("validateReturnTransaction", new validateReturnTransaction());
19777
      processMap.put("validateReturnTransaction", new validateReturnTransaction());
-
 
19778
      processMap.put("markReturnNotRequiredOrdersProcessed", new markReturnNotRequiredOrdersProcessed());
-
 
19779
      processMap.put("getReturnPickupRequest", new getReturnPickupRequest());
19657
      return processMap;
19780
      return processMap;
19658
    }
19781
    }
19659
 
19782
 
19660
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
19783
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
19661
      public createTransaction() {
19784
      public createTransaction() {
Line 24576... Line 24699...
24576
 
24699
 
24577
      protected createReturnTransaction_result getResult(I iface, createReturnTransaction_args args) throws org.apache.thrift.TException {
24700
      protected createReturnTransaction_result getResult(I iface, createReturnTransaction_args args) throws org.apache.thrift.TException {
24578
        createReturnTransaction_result result = new createReturnTransaction_result();
24701
        createReturnTransaction_result result = new createReturnTransaction_result();
24579
        try {
24702
        try {
24580
          result.success = iface.createReturnTransaction(args.returnTransaction, args.itemCondition, args.overrideWarranty);
24703
          result.success = iface.createReturnTransaction(args.returnTransaction, args.itemCondition, args.overrideWarranty);
24581
          result.setSuccessIsSet(true);
-
 
24582
        } catch (TransactionServiceException ex) {
24704
        } catch (TransactionServiceException ex) {
24583
          result.ex = ex;
24705
          result.ex = ex;
24584
        }
24706
        }
24585
        return result;
24707
        return result;
24586
      }
24708
      }
Line 24972... Line 25094...
24972
        result.setSuccessIsSet(true);
25094
        result.setSuccessIsSet(true);
24973
        return result;
25095
        return result;
24974
      }
25096
      }
24975
    }
25097
    }
24976
 
25098
 
-
 
25099
    private static class markReturnNotRequiredOrdersProcessed<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markReturnNotRequiredOrdersProcessed_args> {
-
 
25100
      public markReturnNotRequiredOrdersProcessed() {
-
 
25101
        super("markReturnNotRequiredOrdersProcessed");
-
 
25102
      }
-
 
25103
 
-
 
25104
      protected markReturnNotRequiredOrdersProcessed_args getEmptyArgsInstance() {
-
 
25105
        return new markReturnNotRequiredOrdersProcessed_args();
-
 
25106
      }
-
 
25107
 
-
 
25108
      protected markReturnNotRequiredOrdersProcessed_result getResult(I iface, markReturnNotRequiredOrdersProcessed_args args) throws org.apache.thrift.TException {
-
 
25109
        markReturnNotRequiredOrdersProcessed_result result = new markReturnNotRequiredOrdersProcessed_result();
-
 
25110
        try {
-
 
25111
          result.success = iface.markReturnNotRequiredOrdersProcessed(args.returnTransactionId);
-
 
25112
          result.setSuccessIsSet(true);
-
 
25113
        } catch (TransactionServiceException ex) {
-
 
25114
          result.ex = ex;
-
 
25115
        }
-
 
25116
        return result;
-
 
25117
      }
-
 
25118
    }
-
 
25119
 
-
 
25120
    private static class getReturnPickupRequest<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReturnPickupRequest_args> {
-
 
25121
      public getReturnPickupRequest() {
-
 
25122
        super("getReturnPickupRequest");
-
 
25123
      }
-
 
25124
 
-
 
25125
      protected getReturnPickupRequest_args getEmptyArgsInstance() {
-
 
25126
        return new getReturnPickupRequest_args();
-
 
25127
      }
-
 
25128
 
-
 
25129
      protected getReturnPickupRequest_result getResult(I iface, getReturnPickupRequest_args args) throws org.apache.thrift.TException {
-
 
25130
        getReturnPickupRequest_result result = new getReturnPickupRequest_result();
-
 
25131
        result.success = iface.getReturnPickupRequest(args.returnPickupId);
-
 
25132
        return result;
-
 
25133
      }
-
 
25134
    }
-
 
25135
 
24977
  }
25136
  }
24978
 
25137
 
24979
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
25138
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
24980
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
25139
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
24981
 
25140
 
Line 61081... Line 61240...
61081
      }
61240
      }
61082
    }
61241
    }
61083
 
61242
 
61084
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
61243
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
61085
      try {
61244
      try {
-
 
61245
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
61246
        __isset_bit_vector = new BitSet(1);
61086
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
61247
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
61087
      } catch (org.apache.thrift.TException te) {
61248
      } catch (org.apache.thrift.TException te) {
61088
        throw new java.io.IOException(te);
61249
        throw new java.io.IOException(te);
61089
      }
61250
      }
61090
    }
61251
    }
Line 68460... Line 68621...
68460
      }
68621
      }
68461
    }
68622
    }
68462
 
68623
 
68463
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
68624
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
68464
      try {
68625
      try {
-
 
68626
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
68627
        __isset_bit_vector = new BitSet(1);
68465
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
68628
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
68466
      } catch (org.apache.thrift.TException te) {
68629
      } catch (org.apache.thrift.TException te) {
68467
        throw new java.io.IOException(te);
68630
        throw new java.io.IOException(te);
68468
      }
68631
      }
68469
    }
68632
    }
Line 203995... Line 204158...
203995
      }
204158
      }
203996
    }
204159
    }
203997
 
204160
 
203998
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
204161
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
203999
      try {
204162
      try {
204000
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
204001
        __isset_bit_vector = new BitSet(1);
-
 
204002
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
204163
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
204003
      } catch (org.apache.thrift.TException te) {
204164
      } catch (org.apache.thrift.TException te) {
204004
        throw new java.io.IOException(te);
204165
        throw new java.io.IOException(te);
204005
      }
204166
      }
204006
    }
204167
    }
Line 219150... Line 219311...
219150
  }
219311
  }
219151
 
219312
 
219152
  public static class createReturnTransaction_result implements org.apache.thrift.TBase<createReturnTransaction_result, createReturnTransaction_result._Fields>, java.io.Serializable, Cloneable   {
219313
  public static class createReturnTransaction_result implements org.apache.thrift.TBase<createReturnTransaction_result, createReturnTransaction_result._Fields>, java.io.Serializable, Cloneable   {
219153
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createReturnTransaction_result");
219314
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createReturnTransaction_result");
219154
 
219315
 
219155
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I64, (short)0);
219316
    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);
219156
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
219317
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
219157
 
219318
 
219158
    private long success; // required
219319
    private ReturnTransaction success; // required
219159
    private TransactionServiceException ex; // required
219320
    private TransactionServiceException ex; // required
219160
 
219321
 
219161
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
219322
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
219162
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
219323
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
219163
      SUCCESS((short)0, "success"),
219324
      SUCCESS((short)0, "success"),
Line 219218... Line 219379...
219218
        return _fieldName;
219379
        return _fieldName;
219219
      }
219380
      }
219220
    }
219381
    }
219221
 
219382
 
219222
    // isset id assignments
219383
    // isset id assignments
219223
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
219224
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
219225
 
219384
 
219226
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
219385
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
219227
    static {
219386
    static {
219228
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
219387
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
219229
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
219388
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
219230
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
219389
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnTransaction.class)));
219231
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
219390
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
219232
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
219391
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
219233
      metaDataMap = Collections.unmodifiableMap(tmpMap);
219392
      metaDataMap = Collections.unmodifiableMap(tmpMap);
219234
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createReturnTransaction_result.class, metaDataMap);
219393
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createReturnTransaction_result.class, metaDataMap);
219235
    }
219394
    }
219236
 
219395
 
219237
    public createReturnTransaction_result() {
219396
    public createReturnTransaction_result() {
219238
    }
219397
    }
219239
 
219398
 
219240
    public createReturnTransaction_result(
219399
    public createReturnTransaction_result(
219241
      long success,
219400
      ReturnTransaction success,
219242
      TransactionServiceException ex)
219401
      TransactionServiceException ex)
219243
    {
219402
    {
219244
      this();
219403
      this();
219245
      this.success = success;
219404
      this.success = success;
219246
      setSuccessIsSet(true);
-
 
219247
      this.ex = ex;
219405
      this.ex = ex;
219248
    }
219406
    }
219249
 
219407
 
219250
    /**
219408
    /**
219251
     * Performs a deep copy on <i>other</i>.
219409
     * Performs a deep copy on <i>other</i>.
219252
     */
219410
     */
219253
    public createReturnTransaction_result(createReturnTransaction_result other) {
219411
    public createReturnTransaction_result(createReturnTransaction_result other) {
219254
      __isset_bit_vector.clear();
219412
      if (other.isSetSuccess()) {
219255
      __isset_bit_vector.or(other.__isset_bit_vector);
219413
        this.success = new ReturnTransaction(other.success);
219256
      this.success = other.success;
219414
      }
219257
      if (other.isSetEx()) {
219415
      if (other.isSetEx()) {
219258
        this.ex = new TransactionServiceException(other.ex);
219416
        this.ex = new TransactionServiceException(other.ex);
219259
      }
219417
      }
219260
    }
219418
    }
219261
 
219419
 
Line 219263... Line 219421...
219263
      return new createReturnTransaction_result(this);
219421
      return new createReturnTransaction_result(this);
219264
    }
219422
    }
219265
 
219423
 
219266
    @Override
219424
    @Override
219267
    public void clear() {
219425
    public void clear() {
219268
      setSuccessIsSet(false);
-
 
219269
      this.success = 0;
219426
      this.success = null;
219270
      this.ex = null;
219427
      this.ex = null;
219271
    }
219428
    }
219272
 
219429
 
219273
    public long getSuccess() {
219430
    public ReturnTransaction getSuccess() {
219274
      return this.success;
219431
      return this.success;
219275
    }
219432
    }
219276
 
219433
 
219277
    public void setSuccess(long success) {
219434
    public void setSuccess(ReturnTransaction success) {
219278
      this.success = success;
219435
      this.success = success;
219279
      setSuccessIsSet(true);
-
 
219280
    }
219436
    }
219281
 
219437
 
219282
    public void unsetSuccess() {
219438
    public void unsetSuccess() {
219283
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
219439
      this.success = null;
219284
    }
219440
    }
219285
 
219441
 
219286
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
219442
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
219287
    public boolean isSetSuccess() {
219443
    public boolean isSetSuccess() {
219288
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
219444
      return this.success != null;
219289
    }
219445
    }
219290
 
219446
 
219291
    public void setSuccessIsSet(boolean value) {
219447
    public void setSuccessIsSet(boolean value) {
-
 
219448
      if (!value) {
219292
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
219449
        this.success = null;
-
 
219450
      }
219293
    }
219451
    }
219294
 
219452
 
219295
    public TransactionServiceException getEx() {
219453
    public TransactionServiceException getEx() {
219296
      return this.ex;
219454
      return this.ex;
219297
    }
219455
    }
Line 219319... Line 219477...
219319
      switch (field) {
219477
      switch (field) {
219320
      case SUCCESS:
219478
      case SUCCESS:
219321
        if (value == null) {
219479
        if (value == null) {
219322
          unsetSuccess();
219480
          unsetSuccess();
219323
        } else {
219481
        } else {
219324
          setSuccess((Long)value);
219482
          setSuccess((ReturnTransaction)value);
219325
        }
219483
        }
219326
        break;
219484
        break;
219327
 
219485
 
219328
      case EX:
219486
      case EX:
219329
        if (value == null) {
219487
        if (value == null) {
Line 219337... Line 219495...
219337
    }
219495
    }
219338
 
219496
 
219339
    public Object getFieldValue(_Fields field) {
219497
    public Object getFieldValue(_Fields field) {
219340
      switch (field) {
219498
      switch (field) {
219341
      case SUCCESS:
219499
      case SUCCESS:
219342
        return Long.valueOf(getSuccess());
219500
        return getSuccess();
219343
 
219501
 
219344
      case EX:
219502
      case EX:
219345
        return getEx();
219503
        return getEx();
219346
 
219504
 
219347
      }
219505
      }
Line 219374... Line 219532...
219374
 
219532
 
219375
    public boolean equals(createReturnTransaction_result that) {
219533
    public boolean equals(createReturnTransaction_result that) {
219376
      if (that == null)
219534
      if (that == null)
219377
        return false;
219535
        return false;
219378
 
219536
 
219379
      boolean this_present_success = true;
219537
      boolean this_present_success = true && this.isSetSuccess();
219380
      boolean that_present_success = true;
219538
      boolean that_present_success = true && that.isSetSuccess();
219381
      if (this_present_success || that_present_success) {
219539
      if (this_present_success || that_present_success) {
219382
        if (!(this_present_success && that_present_success))
219540
        if (!(this_present_success && that_present_success))
219383
          return false;
219541
          return false;
219384
        if (this.success != that.success)
219542
        if (!this.success.equals(that.success))
219385
          return false;
219543
          return false;
219386
      }
219544
      }
219387
 
219545
 
219388
      boolean this_present_ex = true && this.isSetEx();
219546
      boolean this_present_ex = true && this.isSetEx();
219389
      boolean that_present_ex = true && that.isSetEx();
219547
      boolean that_present_ex = true && that.isSetEx();
Line 219446... Line 219604...
219446
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
219604
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
219447
          break;
219605
          break;
219448
        }
219606
        }
219449
        switch (field.id) {
219607
        switch (field.id) {
219450
          case 0: // SUCCESS
219608
          case 0: // SUCCESS
219451
            if (field.type == org.apache.thrift.protocol.TType.I64) {
219609
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
219452
              this.success = iprot.readI64();
219610
              this.success = new ReturnTransaction();
219453
              setSuccessIsSet(true);
219611
              this.success.read(iprot);
219454
            } else { 
219612
            } else { 
219455
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
219613
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
219456
            }
219614
            }
219457
            break;
219615
            break;
219458
          case 1: // EX
219616
          case 1: // EX
Line 219475... Line 219633...
219475
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
219633
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
219476
      oprot.writeStructBegin(STRUCT_DESC);
219634
      oprot.writeStructBegin(STRUCT_DESC);
219477
 
219635
 
219478
      if (this.isSetSuccess()) {
219636
      if (this.isSetSuccess()) {
219479
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
219637
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
219480
        oprot.writeI64(this.success);
219638
        this.success.write(oprot);
219481
        oprot.writeFieldEnd();
219639
        oprot.writeFieldEnd();
219482
      } else if (this.isSetEx()) {
219640
      } else if (this.isSetEx()) {
219483
        oprot.writeFieldBegin(EX_FIELD_DESC);
219641
        oprot.writeFieldBegin(EX_FIELD_DESC);
219484
        this.ex.write(oprot);
219642
        this.ex.write(oprot);
219485
        oprot.writeFieldEnd();
219643
        oprot.writeFieldEnd();
Line 219492... Line 219650...
219492
    public String toString() {
219650
    public String toString() {
219493
      StringBuilder sb = new StringBuilder("createReturnTransaction_result(");
219651
      StringBuilder sb = new StringBuilder("createReturnTransaction_result(");
219494
      boolean first = true;
219652
      boolean first = true;
219495
 
219653
 
219496
      sb.append("success:");
219654
      sb.append("success:");
-
 
219655
      if (this.success == null) {
-
 
219656
        sb.append("null");
-
 
219657
      } else {
219497
      sb.append(this.success);
219658
        sb.append(this.success);
-
 
219659
      }
219498
      first = false;
219660
      first = false;
219499
      if (!first) sb.append(", ");
219661
      if (!first) sb.append(", ");
219500
      sb.append("ex:");
219662
      sb.append("ex:");
219501
      if (this.ex == null) {
219663
      if (this.ex == null) {
219502
        sb.append("null");
219664
        sb.append("null");
Line 235078... Line 235240...
235078
      first = false;
235240
      first = false;
235079
      sb.append(")");
235241
      sb.append(")");
235080
      return sb.toString();
235242
      return sb.toString();
235081
    }
235243
    }
235082
 
235244
 
-
 
235245
    public void validate() throws org.apache.thrift.TException {
-
 
235246
      // check for required fields
-
 
235247
    }
-
 
235248
 
-
 
235249
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
235250
      try {
-
 
235251
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
235252
      } catch (org.apache.thrift.TException te) {
-
 
235253
        throw new java.io.IOException(te);
-
 
235254
      }
-
 
235255
    }
-
 
235256
 
-
 
235257
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
235258
      try {
-
 
235259
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
235260
      } catch (org.apache.thrift.TException te) {
-
 
235261
        throw new java.io.IOException(te);
-
 
235262
      }
-
 
235263
    }
-
 
235264
 
-
 
235265
  }
-
 
235266
 
-
 
235267
  public static class markReturnNotRequiredOrdersProcessed_args implements org.apache.thrift.TBase<markReturnNotRequiredOrdersProcessed_args, markReturnNotRequiredOrdersProcessed_args._Fields>, java.io.Serializable, Cloneable   {
-
 
235268
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markReturnNotRequiredOrdersProcessed_args");
-
 
235269
 
-
 
235270
    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);
-
 
235271
 
-
 
235272
    private long returnTransactionId; // required
-
 
235273
 
-
 
235274
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
235275
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
235276
      RETURN_TRANSACTION_ID((short)1, "returnTransactionId");
-
 
235277
 
-
 
235278
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
235279
 
-
 
235280
      static {
-
 
235281
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
235282
          byName.put(field.getFieldName(), field);
-
 
235283
        }
-
 
235284
      }
-
 
235285
 
-
 
235286
      /**
-
 
235287
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
235288
       */
-
 
235289
      public static _Fields findByThriftId(int fieldId) {
-
 
235290
        switch(fieldId) {
-
 
235291
          case 1: // RETURN_TRANSACTION_ID
-
 
235292
            return RETURN_TRANSACTION_ID;
-
 
235293
          default:
-
 
235294
            return null;
-
 
235295
        }
-
 
235296
      }
-
 
235297
 
-
 
235298
      /**
-
 
235299
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
235300
       * if it is not found.
-
 
235301
       */
-
 
235302
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
235303
        _Fields fields = findByThriftId(fieldId);
-
 
235304
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
235305
        return fields;
-
 
235306
      }
-
 
235307
 
-
 
235308
      /**
-
 
235309
       * Find the _Fields constant that matches name, or null if its not found.
-
 
235310
       */
-
 
235311
      public static _Fields findByName(String name) {
-
 
235312
        return byName.get(name);
-
 
235313
      }
-
 
235314
 
-
 
235315
      private final short _thriftId;
-
 
235316
      private final String _fieldName;
-
 
235317
 
-
 
235318
      _Fields(short thriftId, String fieldName) {
-
 
235319
        _thriftId = thriftId;
-
 
235320
        _fieldName = fieldName;
-
 
235321
      }
-
 
235322
 
-
 
235323
      public short getThriftFieldId() {
-
 
235324
        return _thriftId;
-
 
235325
      }
-
 
235326
 
-
 
235327
      public String getFieldName() {
-
 
235328
        return _fieldName;
-
 
235329
      }
-
 
235330
    }
-
 
235331
 
-
 
235332
    // isset id assignments
-
 
235333
    private static final int __RETURNTRANSACTIONID_ISSET_ID = 0;
-
 
235334
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
235335
 
-
 
235336
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
235337
    static {
-
 
235338
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
235339
      tmpMap.put(_Fields.RETURN_TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("returnTransactionId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
235340
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
235341
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
235342
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markReturnNotRequiredOrdersProcessed_args.class, metaDataMap);
-
 
235343
    }
-
 
235344
 
-
 
235345
    public markReturnNotRequiredOrdersProcessed_args() {
-
 
235346
    }
-
 
235347
 
-
 
235348
    public markReturnNotRequiredOrdersProcessed_args(
-
 
235349
      long returnTransactionId)
-
 
235350
    {
-
 
235351
      this();
-
 
235352
      this.returnTransactionId = returnTransactionId;
-
 
235353
      setReturnTransactionIdIsSet(true);
-
 
235354
    }
-
 
235355
 
-
 
235356
    /**
-
 
235357
     * Performs a deep copy on <i>other</i>.
-
 
235358
     */
-
 
235359
    public markReturnNotRequiredOrdersProcessed_args(markReturnNotRequiredOrdersProcessed_args other) {
-
 
235360
      __isset_bit_vector.clear();
-
 
235361
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
235362
      this.returnTransactionId = other.returnTransactionId;
-
 
235363
    }
-
 
235364
 
-
 
235365
    public markReturnNotRequiredOrdersProcessed_args deepCopy() {
-
 
235366
      return new markReturnNotRequiredOrdersProcessed_args(this);
-
 
235367
    }
-
 
235368
 
-
 
235369
    @Override
-
 
235370
    public void clear() {
-
 
235371
      setReturnTransactionIdIsSet(false);
-
 
235372
      this.returnTransactionId = 0;
-
 
235373
    }
-
 
235374
 
-
 
235375
    public long getReturnTransactionId() {
-
 
235376
      return this.returnTransactionId;
-
 
235377
    }
-
 
235378
 
-
 
235379
    public void setReturnTransactionId(long returnTransactionId) {
-
 
235380
      this.returnTransactionId = returnTransactionId;
-
 
235381
      setReturnTransactionIdIsSet(true);
-
 
235382
    }
-
 
235383
 
-
 
235384
    public void unsetReturnTransactionId() {
-
 
235385
      __isset_bit_vector.clear(__RETURNTRANSACTIONID_ISSET_ID);
-
 
235386
    }
-
 
235387
 
-
 
235388
    /** Returns true if field returnTransactionId is set (has been assigned a value) and false otherwise */
-
 
235389
    public boolean isSetReturnTransactionId() {
-
 
235390
      return __isset_bit_vector.get(__RETURNTRANSACTIONID_ISSET_ID);
-
 
235391
    }
-
 
235392
 
-
 
235393
    public void setReturnTransactionIdIsSet(boolean value) {
-
 
235394
      __isset_bit_vector.set(__RETURNTRANSACTIONID_ISSET_ID, value);
-
 
235395
    }
-
 
235396
 
-
 
235397
    public void setFieldValue(_Fields field, Object value) {
-
 
235398
      switch (field) {
-
 
235399
      case RETURN_TRANSACTION_ID:
-
 
235400
        if (value == null) {
-
 
235401
          unsetReturnTransactionId();
-
 
235402
        } else {
-
 
235403
          setReturnTransactionId((Long)value);
-
 
235404
        }
-
 
235405
        break;
-
 
235406
 
-
 
235407
      }
-
 
235408
    }
-
 
235409
 
-
 
235410
    public Object getFieldValue(_Fields field) {
-
 
235411
      switch (field) {
-
 
235412
      case RETURN_TRANSACTION_ID:
-
 
235413
        return Long.valueOf(getReturnTransactionId());
-
 
235414
 
-
 
235415
      }
-
 
235416
      throw new IllegalStateException();
-
 
235417
    }
-
 
235418
 
-
 
235419
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
235420
    public boolean isSet(_Fields field) {
-
 
235421
      if (field == null) {
-
 
235422
        throw new IllegalArgumentException();
-
 
235423
      }
-
 
235424
 
-
 
235425
      switch (field) {
-
 
235426
      case RETURN_TRANSACTION_ID:
-
 
235427
        return isSetReturnTransactionId();
-
 
235428
      }
-
 
235429
      throw new IllegalStateException();
-
 
235430
    }
-
 
235431
 
-
 
235432
    @Override
-
 
235433
    public boolean equals(Object that) {
-
 
235434
      if (that == null)
-
 
235435
        return false;
-
 
235436
      if (that instanceof markReturnNotRequiredOrdersProcessed_args)
-
 
235437
        return this.equals((markReturnNotRequiredOrdersProcessed_args)that);
-
 
235438
      return false;
-
 
235439
    }
-
 
235440
 
-
 
235441
    public boolean equals(markReturnNotRequiredOrdersProcessed_args that) {
-
 
235442
      if (that == null)
-
 
235443
        return false;
-
 
235444
 
-
 
235445
      boolean this_present_returnTransactionId = true;
-
 
235446
      boolean that_present_returnTransactionId = true;
-
 
235447
      if (this_present_returnTransactionId || that_present_returnTransactionId) {
-
 
235448
        if (!(this_present_returnTransactionId && that_present_returnTransactionId))
-
 
235449
          return false;
-
 
235450
        if (this.returnTransactionId != that.returnTransactionId)
-
 
235451
          return false;
-
 
235452
      }
-
 
235453
 
-
 
235454
      return true;
-
 
235455
    }
-
 
235456
 
-
 
235457
    @Override
-
 
235458
    public int hashCode() {
-
 
235459
      return 0;
-
 
235460
    }
-
 
235461
 
-
 
235462
    public int compareTo(markReturnNotRequiredOrdersProcessed_args other) {
-
 
235463
      if (!getClass().equals(other.getClass())) {
-
 
235464
        return getClass().getName().compareTo(other.getClass().getName());
-
 
235465
      }
-
 
235466
 
-
 
235467
      int lastComparison = 0;
-
 
235468
      markReturnNotRequiredOrdersProcessed_args typedOther = (markReturnNotRequiredOrdersProcessed_args)other;
-
 
235469
 
-
 
235470
      lastComparison = Boolean.valueOf(isSetReturnTransactionId()).compareTo(typedOther.isSetReturnTransactionId());
-
 
235471
      if (lastComparison != 0) {
-
 
235472
        return lastComparison;
-
 
235473
      }
-
 
235474
      if (isSetReturnTransactionId()) {
-
 
235475
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnTransactionId, typedOther.returnTransactionId);
-
 
235476
        if (lastComparison != 0) {
-
 
235477
          return lastComparison;
-
 
235478
        }
-
 
235479
      }
-
 
235480
      return 0;
-
 
235481
    }
-
 
235482
 
-
 
235483
    public _Fields fieldForId(int fieldId) {
-
 
235484
      return _Fields.findByThriftId(fieldId);
-
 
235485
    }
-
 
235486
 
-
 
235487
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
235488
      org.apache.thrift.protocol.TField field;
-
 
235489
      iprot.readStructBegin();
-
 
235490
      while (true)
-
 
235491
      {
-
 
235492
        field = iprot.readFieldBegin();
-
 
235493
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
235494
          break;
-
 
235495
        }
-
 
235496
        switch (field.id) {
-
 
235497
          case 1: // RETURN_TRANSACTION_ID
-
 
235498
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
235499
              this.returnTransactionId = iprot.readI64();
-
 
235500
              setReturnTransactionIdIsSet(true);
-
 
235501
            } else { 
-
 
235502
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
235503
            }
-
 
235504
            break;
-
 
235505
          default:
-
 
235506
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
235507
        }
-
 
235508
        iprot.readFieldEnd();
-
 
235509
      }
-
 
235510
      iprot.readStructEnd();
-
 
235511
      validate();
-
 
235512
    }
-
 
235513
 
-
 
235514
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
235515
      validate();
-
 
235516
 
-
 
235517
      oprot.writeStructBegin(STRUCT_DESC);
-
 
235518
      oprot.writeFieldBegin(RETURN_TRANSACTION_ID_FIELD_DESC);
-
 
235519
      oprot.writeI64(this.returnTransactionId);
-
 
235520
      oprot.writeFieldEnd();
-
 
235521
      oprot.writeFieldStop();
-
 
235522
      oprot.writeStructEnd();
-
 
235523
    }
-
 
235524
 
-
 
235525
    @Override
-
 
235526
    public String toString() {
-
 
235527
      StringBuilder sb = new StringBuilder("markReturnNotRequiredOrdersProcessed_args(");
-
 
235528
      boolean first = true;
-
 
235529
 
-
 
235530
      sb.append("returnTransactionId:");
-
 
235531
      sb.append(this.returnTransactionId);
-
 
235532
      first = false;
-
 
235533
      sb.append(")");
-
 
235534
      return sb.toString();
-
 
235535
    }
-
 
235536
 
-
 
235537
    public void validate() throws org.apache.thrift.TException {
-
 
235538
      // check for required fields
-
 
235539
    }
-
 
235540
 
-
 
235541
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
235542
      try {
-
 
235543
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
235544
      } catch (org.apache.thrift.TException te) {
-
 
235545
        throw new java.io.IOException(te);
-
 
235546
      }
-
 
235547
    }
-
 
235548
 
-
 
235549
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
235550
      try {
-
 
235551
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
235552
        __isset_bit_vector = new BitSet(1);
-
 
235553
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
235554
      } catch (org.apache.thrift.TException te) {
-
 
235555
        throw new java.io.IOException(te);
-
 
235556
      }
-
 
235557
    }
-
 
235558
 
-
 
235559
  }
-
 
235560
 
-
 
235561
  public static class markReturnNotRequiredOrdersProcessed_result implements org.apache.thrift.TBase<markReturnNotRequiredOrdersProcessed_result, markReturnNotRequiredOrdersProcessed_result._Fields>, java.io.Serializable, Cloneable   {
-
 
235562
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markReturnNotRequiredOrdersProcessed_result");
-
 
235563
 
-
 
235564
    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);
-
 
235565
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
235566
 
-
 
235567
    private boolean success; // required
-
 
235568
    private TransactionServiceException ex; // required
-
 
235569
 
-
 
235570
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
235571
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
235572
      SUCCESS((short)0, "success"),
-
 
235573
      EX((short)1, "ex");
-
 
235574
 
-
 
235575
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
235576
 
-
 
235577
      static {
-
 
235578
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
235579
          byName.put(field.getFieldName(), field);
-
 
235580
        }
-
 
235581
      }
-
 
235582
 
-
 
235583
      /**
-
 
235584
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
235585
       */
-
 
235586
      public static _Fields findByThriftId(int fieldId) {
-
 
235587
        switch(fieldId) {
-
 
235588
          case 0: // SUCCESS
-
 
235589
            return SUCCESS;
-
 
235590
          case 1: // EX
-
 
235591
            return EX;
-
 
235592
          default:
-
 
235593
            return null;
-
 
235594
        }
-
 
235595
      }
-
 
235596
 
-
 
235597
      /**
-
 
235598
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
235599
       * if it is not found.
-
 
235600
       */
-
 
235601
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
235602
        _Fields fields = findByThriftId(fieldId);
-
 
235603
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
235604
        return fields;
-
 
235605
      }
-
 
235606
 
-
 
235607
      /**
-
 
235608
       * Find the _Fields constant that matches name, or null if its not found.
-
 
235609
       */
-
 
235610
      public static _Fields findByName(String name) {
-
 
235611
        return byName.get(name);
-
 
235612
      }
-
 
235613
 
-
 
235614
      private final short _thriftId;
-
 
235615
      private final String _fieldName;
-
 
235616
 
-
 
235617
      _Fields(short thriftId, String fieldName) {
-
 
235618
        _thriftId = thriftId;
-
 
235619
        _fieldName = fieldName;
-
 
235620
      }
-
 
235621
 
-
 
235622
      public short getThriftFieldId() {
-
 
235623
        return _thriftId;
-
 
235624
      }
-
 
235625
 
-
 
235626
      public String getFieldName() {
-
 
235627
        return _fieldName;
-
 
235628
      }
-
 
235629
    }
-
 
235630
 
-
 
235631
    // isset id assignments
-
 
235632
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
235633
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
235634
 
-
 
235635
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
235636
    static {
-
 
235637
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
235638
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
235639
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
235640
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
235641
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
235642
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
235643
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markReturnNotRequiredOrdersProcessed_result.class, metaDataMap);
-
 
235644
    }
-
 
235645
 
-
 
235646
    public markReturnNotRequiredOrdersProcessed_result() {
-
 
235647
    }
-
 
235648
 
-
 
235649
    public markReturnNotRequiredOrdersProcessed_result(
-
 
235650
      boolean success,
-
 
235651
      TransactionServiceException ex)
-
 
235652
    {
-
 
235653
      this();
-
 
235654
      this.success = success;
-
 
235655
      setSuccessIsSet(true);
-
 
235656
      this.ex = ex;
-
 
235657
    }
-
 
235658
 
-
 
235659
    /**
-
 
235660
     * Performs a deep copy on <i>other</i>.
-
 
235661
     */
-
 
235662
    public markReturnNotRequiredOrdersProcessed_result(markReturnNotRequiredOrdersProcessed_result other) {
-
 
235663
      __isset_bit_vector.clear();
-
 
235664
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
235665
      this.success = other.success;
-
 
235666
      if (other.isSetEx()) {
-
 
235667
        this.ex = new TransactionServiceException(other.ex);
-
 
235668
      }
-
 
235669
    }
-
 
235670
 
-
 
235671
    public markReturnNotRequiredOrdersProcessed_result deepCopy() {
-
 
235672
      return new markReturnNotRequiredOrdersProcessed_result(this);
-
 
235673
    }
-
 
235674
 
-
 
235675
    @Override
-
 
235676
    public void clear() {
-
 
235677
      setSuccessIsSet(false);
-
 
235678
      this.success = false;
-
 
235679
      this.ex = null;
-
 
235680
    }
-
 
235681
 
-
 
235682
    public boolean isSuccess() {
-
 
235683
      return this.success;
-
 
235684
    }
-
 
235685
 
-
 
235686
    public void setSuccess(boolean success) {
-
 
235687
      this.success = success;
-
 
235688
      setSuccessIsSet(true);
-
 
235689
    }
-
 
235690
 
-
 
235691
    public void unsetSuccess() {
-
 
235692
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
235693
    }
-
 
235694
 
-
 
235695
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
235696
    public boolean isSetSuccess() {
-
 
235697
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
235698
    }
-
 
235699
 
-
 
235700
    public void setSuccessIsSet(boolean value) {
-
 
235701
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
235702
    }
-
 
235703
 
-
 
235704
    public TransactionServiceException getEx() {
-
 
235705
      return this.ex;
-
 
235706
    }
-
 
235707
 
-
 
235708
    public void setEx(TransactionServiceException ex) {
-
 
235709
      this.ex = ex;
-
 
235710
    }
-
 
235711
 
-
 
235712
    public void unsetEx() {
-
 
235713
      this.ex = null;
-
 
235714
    }
-
 
235715
 
-
 
235716
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
235717
    public boolean isSetEx() {
-
 
235718
      return this.ex != null;
-
 
235719
    }
-
 
235720
 
-
 
235721
    public void setExIsSet(boolean value) {
-
 
235722
      if (!value) {
-
 
235723
        this.ex = null;
-
 
235724
      }
-
 
235725
    }
-
 
235726
 
-
 
235727
    public void setFieldValue(_Fields field, Object value) {
-
 
235728
      switch (field) {
-
 
235729
      case SUCCESS:
-
 
235730
        if (value == null) {
-
 
235731
          unsetSuccess();
-
 
235732
        } else {
-
 
235733
          setSuccess((Boolean)value);
-
 
235734
        }
-
 
235735
        break;
-
 
235736
 
-
 
235737
      case EX:
-
 
235738
        if (value == null) {
-
 
235739
          unsetEx();
-
 
235740
        } else {
-
 
235741
          setEx((TransactionServiceException)value);
-
 
235742
        }
-
 
235743
        break;
-
 
235744
 
-
 
235745
      }
-
 
235746
    }
-
 
235747
 
-
 
235748
    public Object getFieldValue(_Fields field) {
-
 
235749
      switch (field) {
-
 
235750
      case SUCCESS:
-
 
235751
        return Boolean.valueOf(isSuccess());
-
 
235752
 
-
 
235753
      case EX:
-
 
235754
        return getEx();
-
 
235755
 
-
 
235756
      }
-
 
235757
      throw new IllegalStateException();
-
 
235758
    }
-
 
235759
 
-
 
235760
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
235761
    public boolean isSet(_Fields field) {
-
 
235762
      if (field == null) {
-
 
235763
        throw new IllegalArgumentException();
-
 
235764
      }
-
 
235765
 
-
 
235766
      switch (field) {
-
 
235767
      case SUCCESS:
-
 
235768
        return isSetSuccess();
-
 
235769
      case EX:
-
 
235770
        return isSetEx();
-
 
235771
      }
-
 
235772
      throw new IllegalStateException();
-
 
235773
    }
-
 
235774
 
-
 
235775
    @Override
-
 
235776
    public boolean equals(Object that) {
-
 
235777
      if (that == null)
-
 
235778
        return false;
-
 
235779
      if (that instanceof markReturnNotRequiredOrdersProcessed_result)
-
 
235780
        return this.equals((markReturnNotRequiredOrdersProcessed_result)that);
-
 
235781
      return false;
-
 
235782
    }
-
 
235783
 
-
 
235784
    public boolean equals(markReturnNotRequiredOrdersProcessed_result that) {
-
 
235785
      if (that == null)
-
 
235786
        return false;
-
 
235787
 
-
 
235788
      boolean this_present_success = true;
-
 
235789
      boolean that_present_success = true;
-
 
235790
      if (this_present_success || that_present_success) {
-
 
235791
        if (!(this_present_success && that_present_success))
-
 
235792
          return false;
-
 
235793
        if (this.success != that.success)
-
 
235794
          return false;
-
 
235795
      }
-
 
235796
 
-
 
235797
      boolean this_present_ex = true && this.isSetEx();
-
 
235798
      boolean that_present_ex = true && that.isSetEx();
-
 
235799
      if (this_present_ex || that_present_ex) {
-
 
235800
        if (!(this_present_ex && that_present_ex))
-
 
235801
          return false;
-
 
235802
        if (!this.ex.equals(that.ex))
-
 
235803
          return false;
-
 
235804
      }
-
 
235805
 
-
 
235806
      return true;
-
 
235807
    }
-
 
235808
 
-
 
235809
    @Override
-
 
235810
    public int hashCode() {
-
 
235811
      return 0;
-
 
235812
    }
-
 
235813
 
-
 
235814
    public int compareTo(markReturnNotRequiredOrdersProcessed_result other) {
-
 
235815
      if (!getClass().equals(other.getClass())) {
-
 
235816
        return getClass().getName().compareTo(other.getClass().getName());
-
 
235817
      }
-
 
235818
 
-
 
235819
      int lastComparison = 0;
-
 
235820
      markReturnNotRequiredOrdersProcessed_result typedOther = (markReturnNotRequiredOrdersProcessed_result)other;
-
 
235821
 
-
 
235822
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
235823
      if (lastComparison != 0) {
-
 
235824
        return lastComparison;
-
 
235825
      }
-
 
235826
      if (isSetSuccess()) {
-
 
235827
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
235828
        if (lastComparison != 0) {
-
 
235829
          return lastComparison;
-
 
235830
        }
-
 
235831
      }
-
 
235832
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
235833
      if (lastComparison != 0) {
-
 
235834
        return lastComparison;
-
 
235835
      }
-
 
235836
      if (isSetEx()) {
-
 
235837
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
235838
        if (lastComparison != 0) {
-
 
235839
          return lastComparison;
-
 
235840
        }
-
 
235841
      }
-
 
235842
      return 0;
-
 
235843
    }
-
 
235844
 
-
 
235845
    public _Fields fieldForId(int fieldId) {
-
 
235846
      return _Fields.findByThriftId(fieldId);
-
 
235847
    }
-
 
235848
 
-
 
235849
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
235850
      org.apache.thrift.protocol.TField field;
-
 
235851
      iprot.readStructBegin();
-
 
235852
      while (true)
-
 
235853
      {
-
 
235854
        field = iprot.readFieldBegin();
-
 
235855
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
235856
          break;
-
 
235857
        }
-
 
235858
        switch (field.id) {
-
 
235859
          case 0: // SUCCESS
-
 
235860
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
235861
              this.success = iprot.readBool();
-
 
235862
              setSuccessIsSet(true);
-
 
235863
            } else { 
-
 
235864
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
235865
            }
-
 
235866
            break;
-
 
235867
          case 1: // EX
-
 
235868
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
235869
              this.ex = new TransactionServiceException();
-
 
235870
              this.ex.read(iprot);
-
 
235871
            } else { 
-
 
235872
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
235873
            }
-
 
235874
            break;
-
 
235875
          default:
-
 
235876
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
235877
        }
-
 
235878
        iprot.readFieldEnd();
-
 
235879
      }
-
 
235880
      iprot.readStructEnd();
-
 
235881
      validate();
-
 
235882
    }
-
 
235883
 
-
 
235884
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
235885
      oprot.writeStructBegin(STRUCT_DESC);
-
 
235886
 
-
 
235887
      if (this.isSetSuccess()) {
-
 
235888
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
235889
        oprot.writeBool(this.success);
-
 
235890
        oprot.writeFieldEnd();
-
 
235891
      } else if (this.isSetEx()) {
-
 
235892
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
235893
        this.ex.write(oprot);
-
 
235894
        oprot.writeFieldEnd();
-
 
235895
      }
-
 
235896
      oprot.writeFieldStop();
-
 
235897
      oprot.writeStructEnd();
-
 
235898
    }
-
 
235899
 
-
 
235900
    @Override
-
 
235901
    public String toString() {
-
 
235902
      StringBuilder sb = new StringBuilder("markReturnNotRequiredOrdersProcessed_result(");
-
 
235903
      boolean first = true;
-
 
235904
 
-
 
235905
      sb.append("success:");
-
 
235906
      sb.append(this.success);
-
 
235907
      first = false;
-
 
235908
      if (!first) sb.append(", ");
-
 
235909
      sb.append("ex:");
-
 
235910
      if (this.ex == null) {
-
 
235911
        sb.append("null");
-
 
235912
      } else {
-
 
235913
        sb.append(this.ex);
-
 
235914
      }
-
 
235915
      first = false;
-
 
235916
      sb.append(")");
-
 
235917
      return sb.toString();
-
 
235918
    }
-
 
235919
 
-
 
235920
    public void validate() throws org.apache.thrift.TException {
-
 
235921
      // check for required fields
-
 
235922
    }
-
 
235923
 
-
 
235924
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
235925
      try {
-
 
235926
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
235927
      } catch (org.apache.thrift.TException te) {
-
 
235928
        throw new java.io.IOException(te);
-
 
235929
      }
-
 
235930
    }
-
 
235931
 
-
 
235932
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
235933
      try {
-
 
235934
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
235935
      } catch (org.apache.thrift.TException te) {
-
 
235936
        throw new java.io.IOException(te);
-
 
235937
      }
-
 
235938
    }
-
 
235939
 
-
 
235940
  }
-
 
235941
 
-
 
235942
  public static class getReturnPickupRequest_args implements org.apache.thrift.TBase<getReturnPickupRequest_args, getReturnPickupRequest_args._Fields>, java.io.Serializable, Cloneable   {
-
 
235943
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnPickupRequest_args");
-
 
235944
 
-
 
235945
    private static final org.apache.thrift.protocol.TField RETURN_PICKUP_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("returnPickupId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
235946
 
-
 
235947
    private long returnPickupId; // required
-
 
235948
 
-
 
235949
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
235950
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
235951
      RETURN_PICKUP_ID((short)1, "returnPickupId");
-
 
235952
 
-
 
235953
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
235954
 
-
 
235955
      static {
-
 
235956
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
235957
          byName.put(field.getFieldName(), field);
-
 
235958
        }
-
 
235959
      }
-
 
235960
 
-
 
235961
      /**
-
 
235962
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
235963
       */
-
 
235964
      public static _Fields findByThriftId(int fieldId) {
-
 
235965
        switch(fieldId) {
-
 
235966
          case 1: // RETURN_PICKUP_ID
-
 
235967
            return RETURN_PICKUP_ID;
-
 
235968
          default:
-
 
235969
            return null;
-
 
235970
        }
-
 
235971
      }
-
 
235972
 
-
 
235973
      /**
-
 
235974
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
235975
       * if it is not found.
-
 
235976
       */
-
 
235977
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
235978
        _Fields fields = findByThriftId(fieldId);
-
 
235979
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
235980
        return fields;
-
 
235981
      }
-
 
235982
 
-
 
235983
      /**
-
 
235984
       * Find the _Fields constant that matches name, or null if its not found.
-
 
235985
       */
-
 
235986
      public static _Fields findByName(String name) {
-
 
235987
        return byName.get(name);
-
 
235988
      }
-
 
235989
 
-
 
235990
      private final short _thriftId;
-
 
235991
      private final String _fieldName;
-
 
235992
 
-
 
235993
      _Fields(short thriftId, String fieldName) {
-
 
235994
        _thriftId = thriftId;
-
 
235995
        _fieldName = fieldName;
-
 
235996
      }
-
 
235997
 
-
 
235998
      public short getThriftFieldId() {
-
 
235999
        return _thriftId;
-
 
236000
      }
-
 
236001
 
-
 
236002
      public String getFieldName() {
-
 
236003
        return _fieldName;
-
 
236004
      }
-
 
236005
    }
-
 
236006
 
-
 
236007
    // isset id assignments
-
 
236008
    private static final int __RETURNPICKUPID_ISSET_ID = 0;
-
 
236009
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
236010
 
-
 
236011
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
236012
    static {
-
 
236013
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
236014
      tmpMap.put(_Fields.RETURN_PICKUP_ID, new org.apache.thrift.meta_data.FieldMetaData("returnPickupId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
236015
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
236016
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
236017
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReturnPickupRequest_args.class, metaDataMap);
-
 
236018
    }
-
 
236019
 
-
 
236020
    public getReturnPickupRequest_args() {
-
 
236021
    }
-
 
236022
 
-
 
236023
    public getReturnPickupRequest_args(
-
 
236024
      long returnPickupId)
-
 
236025
    {
-
 
236026
      this();
-
 
236027
      this.returnPickupId = returnPickupId;
-
 
236028
      setReturnPickupIdIsSet(true);
-
 
236029
    }
-
 
236030
 
-
 
236031
    /**
-
 
236032
     * Performs a deep copy on <i>other</i>.
-
 
236033
     */
-
 
236034
    public getReturnPickupRequest_args(getReturnPickupRequest_args other) {
-
 
236035
      __isset_bit_vector.clear();
-
 
236036
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
236037
      this.returnPickupId = other.returnPickupId;
-
 
236038
    }
-
 
236039
 
-
 
236040
    public getReturnPickupRequest_args deepCopy() {
-
 
236041
      return new getReturnPickupRequest_args(this);
-
 
236042
    }
-
 
236043
 
-
 
236044
    @Override
-
 
236045
    public void clear() {
-
 
236046
      setReturnPickupIdIsSet(false);
-
 
236047
      this.returnPickupId = 0;
-
 
236048
    }
-
 
236049
 
-
 
236050
    public long getReturnPickupId() {
-
 
236051
      return this.returnPickupId;
-
 
236052
    }
-
 
236053
 
-
 
236054
    public void setReturnPickupId(long returnPickupId) {
-
 
236055
      this.returnPickupId = returnPickupId;
-
 
236056
      setReturnPickupIdIsSet(true);
-
 
236057
    }
-
 
236058
 
-
 
236059
    public void unsetReturnPickupId() {
-
 
236060
      __isset_bit_vector.clear(__RETURNPICKUPID_ISSET_ID);
-
 
236061
    }
-
 
236062
 
-
 
236063
    /** Returns true if field returnPickupId is set (has been assigned a value) and false otherwise */
-
 
236064
    public boolean isSetReturnPickupId() {
-
 
236065
      return __isset_bit_vector.get(__RETURNPICKUPID_ISSET_ID);
-
 
236066
    }
-
 
236067
 
-
 
236068
    public void setReturnPickupIdIsSet(boolean value) {
-
 
236069
      __isset_bit_vector.set(__RETURNPICKUPID_ISSET_ID, value);
-
 
236070
    }
-
 
236071
 
-
 
236072
    public void setFieldValue(_Fields field, Object value) {
-
 
236073
      switch (field) {
-
 
236074
      case RETURN_PICKUP_ID:
-
 
236075
        if (value == null) {
-
 
236076
          unsetReturnPickupId();
-
 
236077
        } else {
-
 
236078
          setReturnPickupId((Long)value);
-
 
236079
        }
-
 
236080
        break;
-
 
236081
 
-
 
236082
      }
-
 
236083
    }
-
 
236084
 
-
 
236085
    public Object getFieldValue(_Fields field) {
-
 
236086
      switch (field) {
-
 
236087
      case RETURN_PICKUP_ID:
-
 
236088
        return Long.valueOf(getReturnPickupId());
-
 
236089
 
-
 
236090
      }
-
 
236091
      throw new IllegalStateException();
-
 
236092
    }
-
 
236093
 
-
 
236094
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
236095
    public boolean isSet(_Fields field) {
-
 
236096
      if (field == null) {
-
 
236097
        throw new IllegalArgumentException();
-
 
236098
      }
-
 
236099
 
-
 
236100
      switch (field) {
-
 
236101
      case RETURN_PICKUP_ID:
-
 
236102
        return isSetReturnPickupId();
-
 
236103
      }
-
 
236104
      throw new IllegalStateException();
-
 
236105
    }
-
 
236106
 
-
 
236107
    @Override
-
 
236108
    public boolean equals(Object that) {
-
 
236109
      if (that == null)
-
 
236110
        return false;
-
 
236111
      if (that instanceof getReturnPickupRequest_args)
-
 
236112
        return this.equals((getReturnPickupRequest_args)that);
-
 
236113
      return false;
-
 
236114
    }
-
 
236115
 
-
 
236116
    public boolean equals(getReturnPickupRequest_args that) {
-
 
236117
      if (that == null)
-
 
236118
        return false;
-
 
236119
 
-
 
236120
      boolean this_present_returnPickupId = true;
-
 
236121
      boolean that_present_returnPickupId = true;
-
 
236122
      if (this_present_returnPickupId || that_present_returnPickupId) {
-
 
236123
        if (!(this_present_returnPickupId && that_present_returnPickupId))
-
 
236124
          return false;
-
 
236125
        if (this.returnPickupId != that.returnPickupId)
-
 
236126
          return false;
-
 
236127
      }
-
 
236128
 
-
 
236129
      return true;
-
 
236130
    }
-
 
236131
 
-
 
236132
    @Override
-
 
236133
    public int hashCode() {
-
 
236134
      return 0;
-
 
236135
    }
-
 
236136
 
-
 
236137
    public int compareTo(getReturnPickupRequest_args other) {
-
 
236138
      if (!getClass().equals(other.getClass())) {
-
 
236139
        return getClass().getName().compareTo(other.getClass().getName());
-
 
236140
      }
-
 
236141
 
-
 
236142
      int lastComparison = 0;
-
 
236143
      getReturnPickupRequest_args typedOther = (getReturnPickupRequest_args)other;
-
 
236144
 
-
 
236145
      lastComparison = Boolean.valueOf(isSetReturnPickupId()).compareTo(typedOther.isSetReturnPickupId());
-
 
236146
      if (lastComparison != 0) {
-
 
236147
        return lastComparison;
-
 
236148
      }
-
 
236149
      if (isSetReturnPickupId()) {
-
 
236150
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnPickupId, typedOther.returnPickupId);
-
 
236151
        if (lastComparison != 0) {
-
 
236152
          return lastComparison;
-
 
236153
        }
-
 
236154
      }
-
 
236155
      return 0;
-
 
236156
    }
-
 
236157
 
-
 
236158
    public _Fields fieldForId(int fieldId) {
-
 
236159
      return _Fields.findByThriftId(fieldId);
-
 
236160
    }
-
 
236161
 
-
 
236162
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
236163
      org.apache.thrift.protocol.TField field;
-
 
236164
      iprot.readStructBegin();
-
 
236165
      while (true)
-
 
236166
      {
-
 
236167
        field = iprot.readFieldBegin();
-
 
236168
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
236169
          break;
-
 
236170
        }
-
 
236171
        switch (field.id) {
-
 
236172
          case 1: // RETURN_PICKUP_ID
-
 
236173
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
236174
              this.returnPickupId = iprot.readI64();
-
 
236175
              setReturnPickupIdIsSet(true);
-
 
236176
            } else { 
-
 
236177
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
236178
            }
-
 
236179
            break;
-
 
236180
          default:
-
 
236181
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
236182
        }
-
 
236183
        iprot.readFieldEnd();
-
 
236184
      }
-
 
236185
      iprot.readStructEnd();
-
 
236186
      validate();
-
 
236187
    }
-
 
236188
 
-
 
236189
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
236190
      validate();
-
 
236191
 
-
 
236192
      oprot.writeStructBegin(STRUCT_DESC);
-
 
236193
      oprot.writeFieldBegin(RETURN_PICKUP_ID_FIELD_DESC);
-
 
236194
      oprot.writeI64(this.returnPickupId);
-
 
236195
      oprot.writeFieldEnd();
-
 
236196
      oprot.writeFieldStop();
-
 
236197
      oprot.writeStructEnd();
-
 
236198
    }
-
 
236199
 
-
 
236200
    @Override
-
 
236201
    public String toString() {
-
 
236202
      StringBuilder sb = new StringBuilder("getReturnPickupRequest_args(");
-
 
236203
      boolean first = true;
-
 
236204
 
-
 
236205
      sb.append("returnPickupId:");
-
 
236206
      sb.append(this.returnPickupId);
-
 
236207
      first = false;
-
 
236208
      sb.append(")");
-
 
236209
      return sb.toString();
-
 
236210
    }
-
 
236211
 
-
 
236212
    public void validate() throws org.apache.thrift.TException {
-
 
236213
      // check for required fields
-
 
236214
    }
-
 
236215
 
-
 
236216
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
236217
      try {
-
 
236218
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
236219
      } catch (org.apache.thrift.TException te) {
-
 
236220
        throw new java.io.IOException(te);
-
 
236221
      }
-
 
236222
    }
-
 
236223
 
-
 
236224
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
236225
      try {
-
 
236226
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
236227
        __isset_bit_vector = new BitSet(1);
-
 
236228
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
236229
      } catch (org.apache.thrift.TException te) {
-
 
236230
        throw new java.io.IOException(te);
-
 
236231
      }
-
 
236232
    }
-
 
236233
 
-
 
236234
  }
-
 
236235
 
-
 
236236
  public static class getReturnPickupRequest_result implements org.apache.thrift.TBase<getReturnPickupRequest_result, getReturnPickupRequest_result._Fields>, java.io.Serializable, Cloneable   {
-
 
236237
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnPickupRequest_result");
-
 
236238
 
-
 
236239
    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);
-
 
236240
 
-
 
236241
    private ReturnPickupRequest success; // required
-
 
236242
 
-
 
236243
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
236244
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
236245
      SUCCESS((short)0, "success");
-
 
236246
 
-
 
236247
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
236248
 
-
 
236249
      static {
-
 
236250
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
236251
          byName.put(field.getFieldName(), field);
-
 
236252
        }
-
 
236253
      }
-
 
236254
 
-
 
236255
      /**
-
 
236256
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
236257
       */
-
 
236258
      public static _Fields findByThriftId(int fieldId) {
-
 
236259
        switch(fieldId) {
-
 
236260
          case 0: // SUCCESS
-
 
236261
            return SUCCESS;
-
 
236262
          default:
-
 
236263
            return null;
-
 
236264
        }
-
 
236265
      }
-
 
236266
 
-
 
236267
      /**
-
 
236268
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
236269
       * if it is not found.
-
 
236270
       */
-
 
236271
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
236272
        _Fields fields = findByThriftId(fieldId);
-
 
236273
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
236274
        return fields;
-
 
236275
      }
-
 
236276
 
-
 
236277
      /**
-
 
236278
       * Find the _Fields constant that matches name, or null if its not found.
-
 
236279
       */
-
 
236280
      public static _Fields findByName(String name) {
-
 
236281
        return byName.get(name);
-
 
236282
      }
-
 
236283
 
-
 
236284
      private final short _thriftId;
-
 
236285
      private final String _fieldName;
-
 
236286
 
-
 
236287
      _Fields(short thriftId, String fieldName) {
-
 
236288
        _thriftId = thriftId;
-
 
236289
        _fieldName = fieldName;
-
 
236290
      }
-
 
236291
 
-
 
236292
      public short getThriftFieldId() {
-
 
236293
        return _thriftId;
-
 
236294
      }
-
 
236295
 
-
 
236296
      public String getFieldName() {
-
 
236297
        return _fieldName;
-
 
236298
      }
-
 
236299
    }
-
 
236300
 
-
 
236301
    // isset id assignments
-
 
236302
 
-
 
236303
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
236304
    static {
-
 
236305
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
236306
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
236307
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnPickupRequest.class)));
-
 
236308
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
236309
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReturnPickupRequest_result.class, metaDataMap);
-
 
236310
    }
-
 
236311
 
-
 
236312
    public getReturnPickupRequest_result() {
-
 
236313
    }
-
 
236314
 
-
 
236315
    public getReturnPickupRequest_result(
-
 
236316
      ReturnPickupRequest success)
-
 
236317
    {
-
 
236318
      this();
-
 
236319
      this.success = success;
-
 
236320
    }
-
 
236321
 
-
 
236322
    /**
-
 
236323
     * Performs a deep copy on <i>other</i>.
-
 
236324
     */
-
 
236325
    public getReturnPickupRequest_result(getReturnPickupRequest_result other) {
-
 
236326
      if (other.isSetSuccess()) {
-
 
236327
        this.success = new ReturnPickupRequest(other.success);
-
 
236328
      }
-
 
236329
    }
-
 
236330
 
-
 
236331
    public getReturnPickupRequest_result deepCopy() {
-
 
236332
      return new getReturnPickupRequest_result(this);
-
 
236333
    }
-
 
236334
 
-
 
236335
    @Override
-
 
236336
    public void clear() {
-
 
236337
      this.success = null;
-
 
236338
    }
-
 
236339
 
-
 
236340
    public ReturnPickupRequest getSuccess() {
-
 
236341
      return this.success;
-
 
236342
    }
-
 
236343
 
-
 
236344
    public void setSuccess(ReturnPickupRequest success) {
-
 
236345
      this.success = success;
-
 
236346
    }
-
 
236347
 
-
 
236348
    public void unsetSuccess() {
-
 
236349
      this.success = null;
-
 
236350
    }
-
 
236351
 
-
 
236352
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
236353
    public boolean isSetSuccess() {
-
 
236354
      return this.success != null;
-
 
236355
    }
-
 
236356
 
-
 
236357
    public void setSuccessIsSet(boolean value) {
-
 
236358
      if (!value) {
-
 
236359
        this.success = null;
-
 
236360
      }
-
 
236361
    }
-
 
236362
 
-
 
236363
    public void setFieldValue(_Fields field, Object value) {
-
 
236364
      switch (field) {
-
 
236365
      case SUCCESS:
-
 
236366
        if (value == null) {
-
 
236367
          unsetSuccess();
-
 
236368
        } else {
-
 
236369
          setSuccess((ReturnPickupRequest)value);
-
 
236370
        }
-
 
236371
        break;
-
 
236372
 
-
 
236373
      }
-
 
236374
    }
-
 
236375
 
-
 
236376
    public Object getFieldValue(_Fields field) {
-
 
236377
      switch (field) {
-
 
236378
      case SUCCESS:
-
 
236379
        return getSuccess();
-
 
236380
 
-
 
236381
      }
-
 
236382
      throw new IllegalStateException();
-
 
236383
    }
-
 
236384
 
-
 
236385
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
236386
    public boolean isSet(_Fields field) {
-
 
236387
      if (field == null) {
-
 
236388
        throw new IllegalArgumentException();
-
 
236389
      }
-
 
236390
 
-
 
236391
      switch (field) {
-
 
236392
      case SUCCESS:
-
 
236393
        return isSetSuccess();
-
 
236394
      }
-
 
236395
      throw new IllegalStateException();
-
 
236396
    }
-
 
236397
 
-
 
236398
    @Override
-
 
236399
    public boolean equals(Object that) {
-
 
236400
      if (that == null)
-
 
236401
        return false;
-
 
236402
      if (that instanceof getReturnPickupRequest_result)
-
 
236403
        return this.equals((getReturnPickupRequest_result)that);
-
 
236404
      return false;
-
 
236405
    }
-
 
236406
 
-
 
236407
    public boolean equals(getReturnPickupRequest_result that) {
-
 
236408
      if (that == null)
-
 
236409
        return false;
-
 
236410
 
-
 
236411
      boolean this_present_success = true && this.isSetSuccess();
-
 
236412
      boolean that_present_success = true && that.isSetSuccess();
-
 
236413
      if (this_present_success || that_present_success) {
-
 
236414
        if (!(this_present_success && that_present_success))
-
 
236415
          return false;
-
 
236416
        if (!this.success.equals(that.success))
-
 
236417
          return false;
-
 
236418
      }
-
 
236419
 
-
 
236420
      return true;
-
 
236421
    }
-
 
236422
 
-
 
236423
    @Override
-
 
236424
    public int hashCode() {
-
 
236425
      return 0;
-
 
236426
    }
-
 
236427
 
-
 
236428
    public int compareTo(getReturnPickupRequest_result other) {
-
 
236429
      if (!getClass().equals(other.getClass())) {
-
 
236430
        return getClass().getName().compareTo(other.getClass().getName());
-
 
236431
      }
-
 
236432
 
-
 
236433
      int lastComparison = 0;
-
 
236434
      getReturnPickupRequest_result typedOther = (getReturnPickupRequest_result)other;
-
 
236435
 
-
 
236436
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
236437
      if (lastComparison != 0) {
-
 
236438
        return lastComparison;
-
 
236439
      }
-
 
236440
      if (isSetSuccess()) {
-
 
236441
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
236442
        if (lastComparison != 0) {
-
 
236443
          return lastComparison;
-
 
236444
        }
-
 
236445
      }
-
 
236446
      return 0;
-
 
236447
    }
-
 
236448
 
-
 
236449
    public _Fields fieldForId(int fieldId) {
-
 
236450
      return _Fields.findByThriftId(fieldId);
-
 
236451
    }
-
 
236452
 
-
 
236453
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
236454
      org.apache.thrift.protocol.TField field;
-
 
236455
      iprot.readStructBegin();
-
 
236456
      while (true)
-
 
236457
      {
-
 
236458
        field = iprot.readFieldBegin();
-
 
236459
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
236460
          break;
-
 
236461
        }
-
 
236462
        switch (field.id) {
-
 
236463
          case 0: // SUCCESS
-
 
236464
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
236465
              this.success = new ReturnPickupRequest();
-
 
236466
              this.success.read(iprot);
-
 
236467
            } else { 
-
 
236468
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
236469
            }
-
 
236470
            break;
-
 
236471
          default:
-
 
236472
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
236473
        }
-
 
236474
        iprot.readFieldEnd();
-
 
236475
      }
-
 
236476
      iprot.readStructEnd();
-
 
236477
      validate();
-
 
236478
    }
-
 
236479
 
-
 
236480
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
236481
      oprot.writeStructBegin(STRUCT_DESC);
-
 
236482
 
-
 
236483
      if (this.isSetSuccess()) {
-
 
236484
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
236485
        this.success.write(oprot);
-
 
236486
        oprot.writeFieldEnd();
-
 
236487
      }
-
 
236488
      oprot.writeFieldStop();
-
 
236489
      oprot.writeStructEnd();
-
 
236490
    }
-
 
236491
 
-
 
236492
    @Override
-
 
236493
    public String toString() {
-
 
236494
      StringBuilder sb = new StringBuilder("getReturnPickupRequest_result(");
-
 
236495
      boolean first = true;
-
 
236496
 
-
 
236497
      sb.append("success:");
-
 
236498
      if (this.success == null) {
-
 
236499
        sb.append("null");
-
 
236500
      } else {
-
 
236501
        sb.append(this.success);
-
 
236502
      }
-
 
236503
      first = false;
-
 
236504
      sb.append(")");
-
 
236505
      return sb.toString();
-
 
236506
    }
-
 
236507
 
235083
    public void validate() throws org.apache.thrift.TException {
236508
    public void validate() throws org.apache.thrift.TException {
235084
      // check for required fields
236509
      // check for required fields
235085
    }
236510
    }
235086
 
236511
 
235087
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
236512
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {