Subversion Repositories SmartDukaan

Rev

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

Rev 5874 Rev 6000
Line 846... Line 846...
846
     * @param fulfilmentWarehouseId
846
     * @param fulfilmentWarehouseId
847
     * @param billingWarehouseId
847
     * @param billingWarehouseId
848
     */
848
     */
849
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId) throws org.apache.thrift.TException;
849
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId) throws org.apache.thrift.TException;
850
 
850
 
-
 
851
    public RechargeOrder createRechargeOrder(RechargeOrder rechargeOrder) throws TransactionServiceException, org.apache.thrift.TException;
-
 
852
 
-
 
853
    public void updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus) throws TransactionServiceException, org.apache.thrift.TException;
-
 
854
 
-
 
855
    public RechargeResponse activateRechargeTxn(List<RechargeCoupon> rechargeCoupons) throws TransactionServiceException, org.apache.thrift.TException;
-
 
856
 
-
 
857
    public List<RechargeOrder> getRechargeOrders(long customerId) throws org.apache.thrift.TException;
-
 
858
 
-
 
859
    public List<RechargeCoupon> getRechargeCoupons(long customerId, RechargeCouponStatus rechargeCouponStatus) throws org.apache.thrift.TException;
-
 
860
 
851
  }
861
  }
852
 
862
 
853
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
863
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
854
 
864
 
855
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
865
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1100... Line 1110...
1100
 
1110
 
1101
    public void getOrderAttributeValue(long orderId, String attributeName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderAttributeValue_call> resultHandler) throws org.apache.thrift.TException;
1111
    public void getOrderAttributeValue(long orderId, String attributeName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderAttributeValue_call> resultHandler) throws org.apache.thrift.TException;
1102
 
1112
 
1103
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.acceptOrderForItem_call> resultHandler) throws org.apache.thrift.TException;
1113
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.acceptOrderForItem_call> resultHandler) throws org.apache.thrift.TException;
1104
 
1114
 
-
 
1115
    public void createRechargeOrder(RechargeOrder rechargeOrder, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createRechargeOrder_call> resultHandler) throws org.apache.thrift.TException;
-
 
1116
 
-
 
1117
    public void updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateRechargeOrderStatus_call> resultHandler) throws org.apache.thrift.TException;
-
 
1118
 
-
 
1119
    public void activateRechargeTxn(List<RechargeCoupon> rechargeCoupons, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.activateRechargeTxn_call> resultHandler) throws org.apache.thrift.TException;
-
 
1120
 
-
 
1121
    public void getRechargeOrders(long customerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeOrders_call> resultHandler) throws org.apache.thrift.TException;
-
 
1122
 
-
 
1123
    public void getRechargeCoupons(long customerId, RechargeCouponStatus rechargeCouponStatus, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeCoupons_call> resultHandler) throws org.apache.thrift.TException;
-
 
1124
 
1105
  }
1125
  }
1106
 
1126
 
1107
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1127
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1108
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1128
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1109
      public Factory() {}
1129
      public Factory() {}
Line 4296... Line 4316...
4296
      acceptOrderForItem_result result = new acceptOrderForItem_result();
4316
      acceptOrderForItem_result result = new acceptOrderForItem_result();
4297
      receiveBase(result, "acceptOrderForItem");
4317
      receiveBase(result, "acceptOrderForItem");
4298
      return;
4318
      return;
4299
    }
4319
    }
4300
 
4320
 
-
 
4321
    public RechargeOrder createRechargeOrder(RechargeOrder rechargeOrder) throws TransactionServiceException, org.apache.thrift.TException
-
 
4322
    {
-
 
4323
      send_createRechargeOrder(rechargeOrder);
-
 
4324
      return recv_createRechargeOrder();
-
 
4325
    }
-
 
4326
 
-
 
4327
    public void send_createRechargeOrder(RechargeOrder rechargeOrder) throws org.apache.thrift.TException
-
 
4328
    {
-
 
4329
      createRechargeOrder_args args = new createRechargeOrder_args();
-
 
4330
      args.setRechargeOrder(rechargeOrder);
-
 
4331
      sendBase("createRechargeOrder", args);
-
 
4332
    }
-
 
4333
 
-
 
4334
    public RechargeOrder recv_createRechargeOrder() throws TransactionServiceException, org.apache.thrift.TException
-
 
4335
    {
-
 
4336
      createRechargeOrder_result result = new createRechargeOrder_result();
-
 
4337
      receiveBase(result, "createRechargeOrder");
-
 
4338
      if (result.isSetSuccess()) {
-
 
4339
        return result.success;
-
 
4340
      }
-
 
4341
      if (result.ex != null) {
-
 
4342
        throw result.ex;
-
 
4343
      }
-
 
4344
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createRechargeOrder failed: unknown result");
-
 
4345
    }
-
 
4346
 
-
 
4347
    public void updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus) throws TransactionServiceException, org.apache.thrift.TException
-
 
4348
    {
-
 
4349
      send_updateRechargeOrderStatus(rechargeOrderId, rechargeOrderStatus);
-
 
4350
      recv_updateRechargeOrderStatus();
-
 
4351
    }
-
 
4352
 
-
 
4353
    public void send_updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus) throws org.apache.thrift.TException
-
 
4354
    {
-
 
4355
      updateRechargeOrderStatus_args args = new updateRechargeOrderStatus_args();
-
 
4356
      args.setRechargeOrderId(rechargeOrderId);
-
 
4357
      args.setRechargeOrderStatus(rechargeOrderStatus);
-
 
4358
      sendBase("updateRechargeOrderStatus", args);
-
 
4359
    }
-
 
4360
 
-
 
4361
    public void recv_updateRechargeOrderStatus() throws TransactionServiceException, org.apache.thrift.TException
-
 
4362
    {
-
 
4363
      updateRechargeOrderStatus_result result = new updateRechargeOrderStatus_result();
-
 
4364
      receiveBase(result, "updateRechargeOrderStatus");
-
 
4365
      if (result.ex != null) {
-
 
4366
        throw result.ex;
-
 
4367
      }
-
 
4368
      return;
-
 
4369
    }
-
 
4370
 
-
 
4371
    public RechargeResponse activateRechargeTxn(List<RechargeCoupon> rechargeCoupons) throws TransactionServiceException, org.apache.thrift.TException
-
 
4372
    {
-
 
4373
      send_activateRechargeTxn(rechargeCoupons);
-
 
4374
      return recv_activateRechargeTxn();
-
 
4375
    }
-
 
4376
 
-
 
4377
    public void send_activateRechargeTxn(List<RechargeCoupon> rechargeCoupons) throws org.apache.thrift.TException
-
 
4378
    {
-
 
4379
      activateRechargeTxn_args args = new activateRechargeTxn_args();
-
 
4380
      args.setRechargeCoupons(rechargeCoupons);
-
 
4381
      sendBase("activateRechargeTxn", args);
-
 
4382
    }
-
 
4383
 
-
 
4384
    public RechargeResponse recv_activateRechargeTxn() throws TransactionServiceException, org.apache.thrift.TException
-
 
4385
    {
-
 
4386
      activateRechargeTxn_result result = new activateRechargeTxn_result();
-
 
4387
      receiveBase(result, "activateRechargeTxn");
-
 
4388
      if (result.isSetSuccess()) {
-
 
4389
        return result.success;
-
 
4390
      }
-
 
4391
      if (result.ex != null) {
-
 
4392
        throw result.ex;
-
 
4393
      }
-
 
4394
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "activateRechargeTxn failed: unknown result");
-
 
4395
    }
-
 
4396
 
-
 
4397
    public List<RechargeOrder> getRechargeOrders(long customerId) throws org.apache.thrift.TException
-
 
4398
    {
-
 
4399
      send_getRechargeOrders(customerId);
-
 
4400
      return recv_getRechargeOrders();
-
 
4401
    }
-
 
4402
 
-
 
4403
    public void send_getRechargeOrders(long customerId) throws org.apache.thrift.TException
-
 
4404
    {
-
 
4405
      getRechargeOrders_args args = new getRechargeOrders_args();
-
 
4406
      args.setCustomerId(customerId);
-
 
4407
      sendBase("getRechargeOrders", args);
-
 
4408
    }
-
 
4409
 
-
 
4410
    public List<RechargeOrder> recv_getRechargeOrders() throws org.apache.thrift.TException
-
 
4411
    {
-
 
4412
      getRechargeOrders_result result = new getRechargeOrders_result();
-
 
4413
      receiveBase(result, "getRechargeOrders");
-
 
4414
      if (result.isSetSuccess()) {
-
 
4415
        return result.success;
-
 
4416
      }
-
 
4417
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRechargeOrders failed: unknown result");
-
 
4418
    }
-
 
4419
 
-
 
4420
    public List<RechargeCoupon> getRechargeCoupons(long customerId, RechargeCouponStatus rechargeCouponStatus) throws org.apache.thrift.TException
-
 
4421
    {
-
 
4422
      send_getRechargeCoupons(customerId, rechargeCouponStatus);
-
 
4423
      return recv_getRechargeCoupons();
-
 
4424
    }
-
 
4425
 
-
 
4426
    public void send_getRechargeCoupons(long customerId, RechargeCouponStatus rechargeCouponStatus) throws org.apache.thrift.TException
-
 
4427
    {
-
 
4428
      getRechargeCoupons_args args = new getRechargeCoupons_args();
-
 
4429
      args.setCustomerId(customerId);
-
 
4430
      args.setRechargeCouponStatus(rechargeCouponStatus);
-
 
4431
      sendBase("getRechargeCoupons", args);
-
 
4432
    }
-
 
4433
 
-
 
4434
    public List<RechargeCoupon> recv_getRechargeCoupons() throws org.apache.thrift.TException
-
 
4435
    {
-
 
4436
      getRechargeCoupons_result result = new getRechargeCoupons_result();
-
 
4437
      receiveBase(result, "getRechargeCoupons");
-
 
4438
      if (result.isSetSuccess()) {
-
 
4439
        return result.success;
-
 
4440
      }
-
 
4441
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRechargeCoupons failed: unknown result");
-
 
4442
    }
-
 
4443
 
4301
  }
4444
  }
4302
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
4445
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
4303
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
4446
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
4304
      private org.apache.thrift.async.TAsyncClientManager clientManager;
4447
      private org.apache.thrift.async.TAsyncClientManager clientManager;
4305
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
4448
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 8707... Line 8850...
8707
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8850
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8708
        (new Client(prot)).recv_acceptOrderForItem();
8851
        (new Client(prot)).recv_acceptOrderForItem();
8709
      }
8852
      }
8710
    }
8853
    }
8711
 
8854
 
-
 
8855
    public void createRechargeOrder(RechargeOrder rechargeOrder, org.apache.thrift.async.AsyncMethodCallback<createRechargeOrder_call> resultHandler) throws org.apache.thrift.TException {
-
 
8856
      checkReady();
-
 
8857
      createRechargeOrder_call method_call = new createRechargeOrder_call(rechargeOrder, resultHandler, this, ___protocolFactory, ___transport);
-
 
8858
      this.___currentMethod = method_call;
-
 
8859
      ___manager.call(method_call);
-
 
8860
    }
-
 
8861
 
-
 
8862
    public static class createRechargeOrder_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8863
      private RechargeOrder rechargeOrder;
-
 
8864
      public createRechargeOrder_call(RechargeOrder rechargeOrder, org.apache.thrift.async.AsyncMethodCallback<createRechargeOrder_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 {
-
 
8865
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8866
        this.rechargeOrder = rechargeOrder;
-
 
8867
      }
-
 
8868
 
-
 
8869
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8870
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createRechargeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8871
        createRechargeOrder_args args = new createRechargeOrder_args();
-
 
8872
        args.setRechargeOrder(rechargeOrder);
-
 
8873
        args.write(prot);
-
 
8874
        prot.writeMessageEnd();
-
 
8875
      }
-
 
8876
 
-
 
8877
      public RechargeOrder getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
8878
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8879
          throw new IllegalStateException("Method call not finished!");
-
 
8880
        }
-
 
8881
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8882
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8883
        return (new Client(prot)).recv_createRechargeOrder();
-
 
8884
      }
-
 
8885
    }
-
 
8886
 
-
 
8887
    public void updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus, org.apache.thrift.async.AsyncMethodCallback<updateRechargeOrderStatus_call> resultHandler) throws org.apache.thrift.TException {
-
 
8888
      checkReady();
-
 
8889
      updateRechargeOrderStatus_call method_call = new updateRechargeOrderStatus_call(rechargeOrderId, rechargeOrderStatus, resultHandler, this, ___protocolFactory, ___transport);
-
 
8890
      this.___currentMethod = method_call;
-
 
8891
      ___manager.call(method_call);
-
 
8892
    }
-
 
8893
 
-
 
8894
    public static class updateRechargeOrderStatus_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8895
      private long rechargeOrderId;
-
 
8896
      private RechargeOrderStatus rechargeOrderStatus;
-
 
8897
      public updateRechargeOrderStatus_call(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus, org.apache.thrift.async.AsyncMethodCallback<updateRechargeOrderStatus_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 {
-
 
8898
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8899
        this.rechargeOrderId = rechargeOrderId;
-
 
8900
        this.rechargeOrderStatus = rechargeOrderStatus;
-
 
8901
      }
-
 
8902
 
-
 
8903
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8904
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateRechargeOrderStatus", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8905
        updateRechargeOrderStatus_args args = new updateRechargeOrderStatus_args();
-
 
8906
        args.setRechargeOrderId(rechargeOrderId);
-
 
8907
        args.setRechargeOrderStatus(rechargeOrderStatus);
-
 
8908
        args.write(prot);
-
 
8909
        prot.writeMessageEnd();
-
 
8910
      }
-
 
8911
 
-
 
8912
      public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
8913
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8914
          throw new IllegalStateException("Method call not finished!");
-
 
8915
        }
-
 
8916
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8917
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8918
        (new Client(prot)).recv_updateRechargeOrderStatus();
-
 
8919
      }
-
 
8920
    }
-
 
8921
 
-
 
8922
    public void activateRechargeTxn(List<RechargeCoupon> rechargeCoupons, org.apache.thrift.async.AsyncMethodCallback<activateRechargeTxn_call> resultHandler) throws org.apache.thrift.TException {
-
 
8923
      checkReady();
-
 
8924
      activateRechargeTxn_call method_call = new activateRechargeTxn_call(rechargeCoupons, resultHandler, this, ___protocolFactory, ___transport);
-
 
8925
      this.___currentMethod = method_call;
-
 
8926
      ___manager.call(method_call);
-
 
8927
    }
-
 
8928
 
-
 
8929
    public static class activateRechargeTxn_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8930
      private List<RechargeCoupon> rechargeCoupons;
-
 
8931
      public activateRechargeTxn_call(List<RechargeCoupon> rechargeCoupons, org.apache.thrift.async.AsyncMethodCallback<activateRechargeTxn_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 {
-
 
8932
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8933
        this.rechargeCoupons = rechargeCoupons;
-
 
8934
      }
-
 
8935
 
-
 
8936
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8937
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("activateRechargeTxn", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8938
        activateRechargeTxn_args args = new activateRechargeTxn_args();
-
 
8939
        args.setRechargeCoupons(rechargeCoupons);
-
 
8940
        args.write(prot);
-
 
8941
        prot.writeMessageEnd();
-
 
8942
      }
-
 
8943
 
-
 
8944
      public RechargeResponse getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
8945
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8946
          throw new IllegalStateException("Method call not finished!");
-
 
8947
        }
-
 
8948
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8949
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8950
        return (new Client(prot)).recv_activateRechargeTxn();
-
 
8951
      }
-
 
8952
    }
-
 
8953
 
-
 
8954
    public void getRechargeOrders(long customerId, org.apache.thrift.async.AsyncMethodCallback<getRechargeOrders_call> resultHandler) throws org.apache.thrift.TException {
-
 
8955
      checkReady();
-
 
8956
      getRechargeOrders_call method_call = new getRechargeOrders_call(customerId, resultHandler, this, ___protocolFactory, ___transport);
-
 
8957
      this.___currentMethod = method_call;
-
 
8958
      ___manager.call(method_call);
-
 
8959
    }
-
 
8960
 
-
 
8961
    public static class getRechargeOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8962
      private long customerId;
-
 
8963
      public getRechargeOrders_call(long customerId, org.apache.thrift.async.AsyncMethodCallback<getRechargeOrders_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 {
-
 
8964
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8965
        this.customerId = customerId;
-
 
8966
      }
-
 
8967
 
-
 
8968
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8969
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRechargeOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8970
        getRechargeOrders_args args = new getRechargeOrders_args();
-
 
8971
        args.setCustomerId(customerId);
-
 
8972
        args.write(prot);
-
 
8973
        prot.writeMessageEnd();
-
 
8974
      }
-
 
8975
 
-
 
8976
      public List<RechargeOrder> getResult() throws org.apache.thrift.TException {
-
 
8977
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8978
          throw new IllegalStateException("Method call not finished!");
-
 
8979
        }
-
 
8980
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8981
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8982
        return (new Client(prot)).recv_getRechargeOrders();
-
 
8983
      }
-
 
8984
    }
-
 
8985
 
-
 
8986
    public void getRechargeCoupons(long customerId, RechargeCouponStatus rechargeCouponStatus, org.apache.thrift.async.AsyncMethodCallback<getRechargeCoupons_call> resultHandler) throws org.apache.thrift.TException {
-
 
8987
      checkReady();
-
 
8988
      getRechargeCoupons_call method_call = new getRechargeCoupons_call(customerId, rechargeCouponStatus, resultHandler, this, ___protocolFactory, ___transport);
-
 
8989
      this.___currentMethod = method_call;
-
 
8990
      ___manager.call(method_call);
-
 
8991
    }
-
 
8992
 
-
 
8993
    public static class getRechargeCoupons_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8994
      private long customerId;
-
 
8995
      private RechargeCouponStatus rechargeCouponStatus;
-
 
8996
      public getRechargeCoupons_call(long customerId, RechargeCouponStatus rechargeCouponStatus, org.apache.thrift.async.AsyncMethodCallback<getRechargeCoupons_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 {
-
 
8997
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8998
        this.customerId = customerId;
-
 
8999
        this.rechargeCouponStatus = rechargeCouponStatus;
-
 
9000
      }
-
 
9001
 
-
 
9002
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
9003
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRechargeCoupons", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
9004
        getRechargeCoupons_args args = new getRechargeCoupons_args();
-
 
9005
        args.setCustomerId(customerId);
-
 
9006
        args.setRechargeCouponStatus(rechargeCouponStatus);
-
 
9007
        args.write(prot);
-
 
9008
        prot.writeMessageEnd();
-
 
9009
      }
-
 
9010
 
-
 
9011
      public List<RechargeCoupon> getResult() throws org.apache.thrift.TException {
-
 
9012
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
9013
          throw new IllegalStateException("Method call not finished!");
-
 
9014
        }
-
 
9015
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
9016
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
9017
        return (new Client(prot)).recv_getRechargeCoupons();
-
 
9018
      }
-
 
9019
    }
-
 
9020
 
8712
  }
9021
  }
8713
 
9022
 
8714
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
9023
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
8715
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
9024
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
8716
    public Processor(I iface) {
9025
    public Processor(I iface) {
Line 8845... Line 9154...
8845
      processMap.put("getReceivePendingOrders", new getReceivePendingOrders());
9154
      processMap.put("getReceivePendingOrders", new getReceivePendingOrders());
8846
      processMap.put("getReceivedAtStoreOrders", new getReceivedAtStoreOrders());
9155
      processMap.put("getReceivedAtStoreOrders", new getReceivedAtStoreOrders());
8847
      processMap.put("getOrdersCollectionAtStore", new getOrdersCollectionAtStore());
9156
      processMap.put("getOrdersCollectionAtStore", new getOrdersCollectionAtStore());
8848
      processMap.put("getOrderAttributeValue", new getOrderAttributeValue());
9157
      processMap.put("getOrderAttributeValue", new getOrderAttributeValue());
8849
      processMap.put("acceptOrderForItem", new acceptOrderForItem());
9158
      processMap.put("acceptOrderForItem", new acceptOrderForItem());
-
 
9159
      processMap.put("createRechargeOrder", new createRechargeOrder());
-
 
9160
      processMap.put("updateRechargeOrderStatus", new updateRechargeOrderStatus());
-
 
9161
      processMap.put("activateRechargeTxn", new activateRechargeTxn());
-
 
9162
      processMap.put("getRechargeOrders", new getRechargeOrders());
-
 
9163
      processMap.put("getRechargeCoupons", new getRechargeCoupons());
8850
      return processMap;
9164
      return processMap;
8851
    }
9165
    }
8852
 
9166
 
8853
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
9167
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
8854
      public createTransaction() {
9168
      public createTransaction() {
Line 11242... Line 11556...
11242
        iface.acceptOrderForItem(args.itemId, args.quantity, args.fulfilmentWarehouseId, args.billingWarehouseId);
11556
        iface.acceptOrderForItem(args.itemId, args.quantity, args.fulfilmentWarehouseId, args.billingWarehouseId);
11243
        return result;
11557
        return result;
11244
      }
11558
      }
11245
    }
11559
    }
11246
 
11560
 
-
 
11561
    private static class createRechargeOrder<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createRechargeOrder_args> {
-
 
11562
      public createRechargeOrder() {
-
 
11563
        super("createRechargeOrder");
-
 
11564
      }
-
 
11565
 
-
 
11566
      protected createRechargeOrder_args getEmptyArgsInstance() {
-
 
11567
        return new createRechargeOrder_args();
-
 
11568
      }
-
 
11569
 
-
 
11570
      protected createRechargeOrder_result getResult(I iface, createRechargeOrder_args args) throws org.apache.thrift.TException {
-
 
11571
        createRechargeOrder_result result = new createRechargeOrder_result();
-
 
11572
        try {
-
 
11573
          result.success = iface.createRechargeOrder(args.rechargeOrder);
-
 
11574
        } catch (TransactionServiceException ex) {
-
 
11575
          result.ex = ex;
-
 
11576
        }
-
 
11577
        return result;
-
 
11578
      }
-
 
11579
    }
-
 
11580
 
-
 
11581
    private static class updateRechargeOrderStatus<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateRechargeOrderStatus_args> {
-
 
11582
      public updateRechargeOrderStatus() {
-
 
11583
        super("updateRechargeOrderStatus");
-
 
11584
      }
-
 
11585
 
-
 
11586
      protected updateRechargeOrderStatus_args getEmptyArgsInstance() {
-
 
11587
        return new updateRechargeOrderStatus_args();
-
 
11588
      }
-
 
11589
 
-
 
11590
      protected updateRechargeOrderStatus_result getResult(I iface, updateRechargeOrderStatus_args args) throws org.apache.thrift.TException {
-
 
11591
        updateRechargeOrderStatus_result result = new updateRechargeOrderStatus_result();
-
 
11592
        try {
-
 
11593
          iface.updateRechargeOrderStatus(args.rechargeOrderId, args.rechargeOrderStatus);
-
 
11594
        } catch (TransactionServiceException ex) {
-
 
11595
          result.ex = ex;
-
 
11596
        }
-
 
11597
        return result;
-
 
11598
      }
-
 
11599
    }
-
 
11600
 
-
 
11601
    private static class activateRechargeTxn<I extends Iface> extends org.apache.thrift.ProcessFunction<I, activateRechargeTxn_args> {
-
 
11602
      public activateRechargeTxn() {
-
 
11603
        super("activateRechargeTxn");
-
 
11604
      }
-
 
11605
 
-
 
11606
      protected activateRechargeTxn_args getEmptyArgsInstance() {
-
 
11607
        return new activateRechargeTxn_args();
-
 
11608
      }
-
 
11609
 
-
 
11610
      protected activateRechargeTxn_result getResult(I iface, activateRechargeTxn_args args) throws org.apache.thrift.TException {
-
 
11611
        activateRechargeTxn_result result = new activateRechargeTxn_result();
-
 
11612
        try {
-
 
11613
          result.success = iface.activateRechargeTxn(args.rechargeCoupons);
-
 
11614
        } catch (TransactionServiceException ex) {
-
 
11615
          result.ex = ex;
-
 
11616
        }
-
 
11617
        return result;
-
 
11618
      }
-
 
11619
    }
-
 
11620
 
-
 
11621
    private static class getRechargeOrders<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRechargeOrders_args> {
-
 
11622
      public getRechargeOrders() {
-
 
11623
        super("getRechargeOrders");
-
 
11624
      }
-
 
11625
 
-
 
11626
      protected getRechargeOrders_args getEmptyArgsInstance() {
-
 
11627
        return new getRechargeOrders_args();
-
 
11628
      }
-
 
11629
 
-
 
11630
      protected getRechargeOrders_result getResult(I iface, getRechargeOrders_args args) throws org.apache.thrift.TException {
-
 
11631
        getRechargeOrders_result result = new getRechargeOrders_result();
-
 
11632
        result.success = iface.getRechargeOrders(args.customerId);
-
 
11633
        return result;
-
 
11634
      }
-
 
11635
    }
-
 
11636
 
-
 
11637
    private static class getRechargeCoupons<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRechargeCoupons_args> {
-
 
11638
      public getRechargeCoupons() {
-
 
11639
        super("getRechargeCoupons");
-
 
11640
      }
-
 
11641
 
-
 
11642
      protected getRechargeCoupons_args getEmptyArgsInstance() {
-
 
11643
        return new getRechargeCoupons_args();
-
 
11644
      }
-
 
11645
 
-
 
11646
      protected getRechargeCoupons_result getResult(I iface, getRechargeCoupons_args args) throws org.apache.thrift.TException {
-
 
11647
        getRechargeCoupons_result result = new getRechargeCoupons_result();
-
 
11648
        result.success = iface.getRechargeCoupons(args.customerId, args.rechargeCouponStatus);
-
 
11649
        return result;
-
 
11650
      }
-
 
11651
    }
-
 
11652
 
11247
  }
11653
  }
11248
 
11654
 
11249
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
11655
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
11250
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
11656
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
11251
 
11657
 
Line 13474... Line 13880...
13474
        }
13880
        }
13475
        switch (field.id) {
13881
        switch (field.id) {
13476
          case 0: // SUCCESS
13882
          case 0: // SUCCESS
13477
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
13883
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
13478
              {
13884
              {
13479
                org.apache.thrift.protocol.TList _list36 = iprot.readListBegin();
13885
                org.apache.thrift.protocol.TList _list40 = iprot.readListBegin();
13480
                this.success = new ArrayList<Transaction>(_list36.size);
13886
                this.success = new ArrayList<Transaction>(_list40.size);
13481
                for (int _i37 = 0; _i37 < _list36.size; ++_i37)
13887
                for (int _i41 = 0; _i41 < _list40.size; ++_i41)
13482
                {
13888
                {
13483
                  Transaction _elem38; // required
13889
                  Transaction _elem42; // required
13484
                  _elem38 = new Transaction();
13890
                  _elem42 = new Transaction();
13485
                  _elem38.read(iprot);
13891
                  _elem42.read(iprot);
13486
                  this.success.add(_elem38);
13892
                  this.success.add(_elem42);
13487
                }
13893
                }
13488
                iprot.readListEnd();
13894
                iprot.readListEnd();
13489
              }
13895
              }
13490
            } else { 
13896
            } else { 
13491
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
13897
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 13513... Line 13919...
13513
 
13919
 
13514
      if (this.isSetSuccess()) {
13920
      if (this.isSetSuccess()) {
13515
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
13921
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
13516
        {
13922
        {
13517
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
13923
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
13518
          for (Transaction _iter39 : this.success)
13924
          for (Transaction _iter43 : this.success)
13519
          {
13925
          {
13520
            _iter39.write(oprot);
13926
            _iter43.write(oprot);
13521
          }
13927
          }
13522
          oprot.writeListEnd();
13928
          oprot.writeListEnd();
13523
        }
13929
        }
13524
        oprot.writeFieldEnd();
13930
        oprot.writeFieldEnd();
13525
      } else if (this.isSetEx()) {
13931
      } else if (this.isSetEx()) {
Line 14187... Line 14593...
14187
        }
14593
        }
14188
        switch (field.id) {
14594
        switch (field.id) {
14189
          case 0: // SUCCESS
14595
          case 0: // SUCCESS
14190
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
14596
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
14191
              {
14597
              {
14192
                org.apache.thrift.protocol.TList _list40 = iprot.readListBegin();
14598
                org.apache.thrift.protocol.TList _list44 = iprot.readListBegin();
14193
                this.success = new ArrayList<Transaction>(_list40.size);
14599
                this.success = new ArrayList<Transaction>(_list44.size);
14194
                for (int _i41 = 0; _i41 < _list40.size; ++_i41)
14600
                for (int _i45 = 0; _i45 < _list44.size; ++_i45)
14195
                {
14601
                {
14196
                  Transaction _elem42; // required
14602
                  Transaction _elem46; // required
14197
                  _elem42 = new Transaction();
14603
                  _elem46 = new Transaction();
14198
                  _elem42.read(iprot);
14604
                  _elem46.read(iprot);
14199
                  this.success.add(_elem42);
14605
                  this.success.add(_elem46);
14200
                }
14606
                }
14201
                iprot.readListEnd();
14607
                iprot.readListEnd();
14202
              }
14608
              }
14203
            } else { 
14609
            } else { 
14204
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
14610
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 14226... Line 14632...
14226
 
14632
 
14227
      if (this.isSetSuccess()) {
14633
      if (this.isSetSuccess()) {
14228
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
14634
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
14229
        {
14635
        {
14230
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
14636
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
14231
          for (Transaction _iter43 : this.success)
14637
          for (Transaction _iter47 : this.success)
14232
          {
14638
          {
14233
            _iter43.write(oprot);
14639
            _iter47.write(oprot);
14234
          }
14640
          }
14235
          oprot.writeListEnd();
14641
          oprot.writeListEnd();
14236
        }
14642
        }
14237
        oprot.writeFieldEnd();
14643
        oprot.writeFieldEnd();
14238
      } else if (this.isSetEx()) {
14644
      } else if (this.isSetEx()) {
Line 17153... Line 17559...
17153
        }
17559
        }
17154
        switch (field.id) {
17560
        switch (field.id) {
17155
          case 1: // STATUSES
17561
          case 1: // STATUSES
17156
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
17562
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
17157
              {
17563
              {
17158
                org.apache.thrift.protocol.TList _list44 = iprot.readListBegin();
17564
                org.apache.thrift.protocol.TList _list48 = iprot.readListBegin();
17159
                this.statuses = new ArrayList<OrderStatus>(_list44.size);
17565
                this.statuses = new ArrayList<OrderStatus>(_list48.size);
17160
                for (int _i45 = 0; _i45 < _list44.size; ++_i45)
17566
                for (int _i49 = 0; _i49 < _list48.size; ++_i49)
17161
                {
17567
                {
17162
                  OrderStatus _elem46; // required
17568
                  OrderStatus _elem50; // required
17163
                  _elem46 = OrderStatus.findByValue(iprot.readI32());
17569
                  _elem50 = OrderStatus.findByValue(iprot.readI32());
17164
                  this.statuses.add(_elem46);
17570
                  this.statuses.add(_elem50);
17165
                }
17571
                }
17166
                iprot.readListEnd();
17572
                iprot.readListEnd();
17167
              }
17573
              }
17168
            } else { 
17574
            } else { 
17169
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
17575
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 17208... Line 17614...
17208
      oprot.writeStructBegin(STRUCT_DESC);
17614
      oprot.writeStructBegin(STRUCT_DESC);
17209
      if (this.statuses != null) {
17615
      if (this.statuses != null) {
17210
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
17616
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
17211
        {
17617
        {
17212
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
17618
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
17213
          for (OrderStatus _iter47 : this.statuses)
17619
          for (OrderStatus _iter51 : this.statuses)
17214
          {
17620
          {
17215
            oprot.writeI32(_iter47.getValue());
17621
            oprot.writeI32(_iter51.getValue());
17216
          }
17622
          }
17217
          oprot.writeListEnd();
17623
          oprot.writeListEnd();
17218
        }
17624
        }
17219
        oprot.writeFieldEnd();
17625
        oprot.writeFieldEnd();
17220
      }
17626
      }
Line 17599... Line 18005...
17599
        }
18005
        }
17600
        switch (field.id) {
18006
        switch (field.id) {
17601
          case 0: // SUCCESS
18007
          case 0: // SUCCESS
17602
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
18008
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
17603
              {
18009
              {
17604
                org.apache.thrift.protocol.TList _list48 = iprot.readListBegin();
18010
                org.apache.thrift.protocol.TList _list52 = iprot.readListBegin();
17605
                this.success = new ArrayList<Order>(_list48.size);
18011
                this.success = new ArrayList<Order>(_list52.size);
17606
                for (int _i49 = 0; _i49 < _list48.size; ++_i49)
18012
                for (int _i53 = 0; _i53 < _list52.size; ++_i53)
17607
                {
18013
                {
17608
                  Order _elem50; // required
18014
                  Order _elem54; // required
17609
                  _elem50 = new Order();
18015
                  _elem54 = new Order();
17610
                  _elem50.read(iprot);
18016
                  _elem54.read(iprot);
17611
                  this.success.add(_elem50);
18017
                  this.success.add(_elem54);
17612
                }
18018
                }
17613
                iprot.readListEnd();
18019
                iprot.readListEnd();
17614
              }
18020
              }
17615
            } else { 
18021
            } else { 
17616
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
18022
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 17638... Line 18044...
17638
 
18044
 
17639
      if (this.isSetSuccess()) {
18045
      if (this.isSetSuccess()) {
17640
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
18046
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
17641
        {
18047
        {
17642
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
18048
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
17643
          for (Order _iter51 : this.success)
18049
          for (Order _iter55 : this.success)
17644
          {
18050
          {
17645
            _iter51.write(oprot);
18051
            _iter55.write(oprot);
17646
          }
18052
          }
17647
          oprot.writeListEnd();
18053
          oprot.writeListEnd();
17648
        }
18054
        }
17649
        oprot.writeFieldEnd();
18055
        oprot.writeFieldEnd();
17650
      } else if (this.isSetEx()) {
18056
      } else if (this.isSetEx()) {
Line 18157... Line 18563...
18157
        }
18563
        }
18158
        switch (field.id) {
18564
        switch (field.id) {
18159
          case 1: // STATUSES
18565
          case 1: // STATUSES
18160
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
18566
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
18161
              {
18567
              {
18162
                org.apache.thrift.protocol.TList _list52 = iprot.readListBegin();
18568
                org.apache.thrift.protocol.TList _list56 = iprot.readListBegin();
18163
                this.statuses = new ArrayList<OrderStatus>(_list52.size);
18569
                this.statuses = new ArrayList<OrderStatus>(_list56.size);
18164
                for (int _i53 = 0; _i53 < _list52.size; ++_i53)
18570
                for (int _i57 = 0; _i57 < _list56.size; ++_i57)
18165
                {
18571
                {
18166
                  OrderStatus _elem54; // required
18572
                  OrderStatus _elem58; // required
18167
                  _elem54 = OrderStatus.findByValue(iprot.readI32());
18573
                  _elem58 = OrderStatus.findByValue(iprot.readI32());
18168
                  this.statuses.add(_elem54);
18574
                  this.statuses.add(_elem58);
18169
                }
18575
                }
18170
                iprot.readListEnd();
18576
                iprot.readListEnd();
18171
              }
18577
              }
18172
            } else { 
18578
            } else { 
18173
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
18579
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 18212... Line 18618...
18212
      oprot.writeStructBegin(STRUCT_DESC);
18618
      oprot.writeStructBegin(STRUCT_DESC);
18213
      if (this.statuses != null) {
18619
      if (this.statuses != null) {
18214
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
18620
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
18215
        {
18621
        {
18216
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
18622
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
18217
          for (OrderStatus _iter55 : this.statuses)
18623
          for (OrderStatus _iter59 : this.statuses)
18218
          {
18624
          {
18219
            oprot.writeI32(_iter55.getValue());
18625
            oprot.writeI32(_iter59.getValue());
18220
          }
18626
          }
18221
          oprot.writeListEnd();
18627
          oprot.writeListEnd();
18222
        }
18628
        }
18223
        oprot.writeFieldEnd();
18629
        oprot.writeFieldEnd();
18224
      }
18630
      }
Line 18601... Line 19007...
18601
        }
19007
        }
18602
        switch (field.id) {
19008
        switch (field.id) {
18603
          case 0: // SUCCESS
19009
          case 0: // SUCCESS
18604
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
19010
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
18605
              {
19011
              {
18606
                org.apache.thrift.protocol.TList _list56 = iprot.readListBegin();
19012
                org.apache.thrift.protocol.TList _list60 = iprot.readListBegin();
18607
                this.success = new ArrayList<Order>(_list56.size);
19013
                this.success = new ArrayList<Order>(_list60.size);
18608
                for (int _i57 = 0; _i57 < _list56.size; ++_i57)
19014
                for (int _i61 = 0; _i61 < _list60.size; ++_i61)
18609
                {
19015
                {
18610
                  Order _elem58; // required
19016
                  Order _elem62; // required
18611
                  _elem58 = new Order();
19017
                  _elem62 = new Order();
18612
                  _elem58.read(iprot);
19018
                  _elem62.read(iprot);
18613
                  this.success.add(_elem58);
19019
                  this.success.add(_elem62);
18614
                }
19020
                }
18615
                iprot.readListEnd();
19021
                iprot.readListEnd();
18616
              }
19022
              }
18617
            } else { 
19023
            } else { 
18618
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
19024
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 18640... Line 19046...
18640
 
19046
 
18641
      if (this.isSetSuccess()) {
19047
      if (this.isSetSuccess()) {
18642
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
19048
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
18643
        {
19049
        {
18644
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
19050
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
18645
          for (Order _iter59 : this.success)
19051
          for (Order _iter63 : this.success)
18646
          {
19052
          {
18647
            _iter59.write(oprot);
19053
            _iter63.write(oprot);
18648
          }
19054
          }
18649
          oprot.writeListEnd();
19055
          oprot.writeListEnd();
18650
        }
19056
        }
18651
        oprot.writeFieldEnd();
19057
        oprot.writeFieldEnd();
18652
      } else if (this.isSetEx()) {
19058
      } else if (this.isSetEx()) {
Line 19023... Line 19429...
19023
        }
19429
        }
19024
        switch (field.id) {
19430
        switch (field.id) {
19025
          case 1: // STATUSES
19431
          case 1: // STATUSES
19026
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
19432
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
19027
              {
19433
              {
19028
                org.apache.thrift.protocol.TList _list60 = iprot.readListBegin();
19434
                org.apache.thrift.protocol.TList _list64 = iprot.readListBegin();
19029
                this.statuses = new ArrayList<OrderStatus>(_list60.size);
19435
                this.statuses = new ArrayList<OrderStatus>(_list64.size);
19030
                for (int _i61 = 0; _i61 < _list60.size; ++_i61)
19436
                for (int _i65 = 0; _i65 < _list64.size; ++_i65)
19031
                {
19437
                {
19032
                  OrderStatus _elem62; // required
19438
                  OrderStatus _elem66; // required
19033
                  _elem62 = OrderStatus.findByValue(iprot.readI32());
19439
                  _elem66 = OrderStatus.findByValue(iprot.readI32());
19034
                  this.statuses.add(_elem62);
19440
                  this.statuses.add(_elem66);
19035
                }
19441
                }
19036
                iprot.readListEnd();
19442
                iprot.readListEnd();
19037
              }
19443
              }
19038
            } else { 
19444
            } else { 
19039
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
19445
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 19062... Line 19468...
19062
      oprot.writeStructBegin(STRUCT_DESC);
19468
      oprot.writeStructBegin(STRUCT_DESC);
19063
      if (this.statuses != null) {
19469
      if (this.statuses != null) {
19064
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
19470
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
19065
        {
19471
        {
19066
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
19472
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
19067
          for (OrderStatus _iter63 : this.statuses)
19473
          for (OrderStatus _iter67 : this.statuses)
19068
          {
19474
          {
19069
            oprot.writeI32(_iter63.getValue());
19475
            oprot.writeI32(_iter67.getValue());
19070
          }
19476
          }
19071
          oprot.writeListEnd();
19477
          oprot.writeListEnd();
19072
        }
19478
        }
19073
        oprot.writeFieldEnd();
19479
        oprot.writeFieldEnd();
19074
      }
19480
      }
Line 20378... Line 20784...
20378
        }
20784
        }
20379
        switch (field.id) {
20785
        switch (field.id) {
20380
          case 0: // SUCCESS
20786
          case 0: // SUCCESS
20381
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
20787
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
20382
              {
20788
              {
20383
                org.apache.thrift.protocol.TList _list64 = iprot.readListBegin();
20789
                org.apache.thrift.protocol.TList _list68 = iprot.readListBegin();
20384
                this.success = new ArrayList<Order>(_list64.size);
20790
                this.success = new ArrayList<Order>(_list68.size);
20385
                for (int _i65 = 0; _i65 < _list64.size; ++_i65)
20791
                for (int _i69 = 0; _i69 < _list68.size; ++_i69)
20386
                {
20792
                {
20387
                  Order _elem66; // required
20793
                  Order _elem70; // required
20388
                  _elem66 = new Order();
20794
                  _elem70 = new Order();
20389
                  _elem66.read(iprot);
20795
                  _elem70.read(iprot);
20390
                  this.success.add(_elem66);
20796
                  this.success.add(_elem70);
20391
                }
20797
                }
20392
                iprot.readListEnd();
20798
                iprot.readListEnd();
20393
              }
20799
              }
20394
            } else { 
20800
            } else { 
20395
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
20801
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 20417... Line 20823...
20417
 
20823
 
20418
      if (this.isSetSuccess()) {
20824
      if (this.isSetSuccess()) {
20419
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
20825
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
20420
        {
20826
        {
20421
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
20827
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
20422
          for (Order _iter67 : this.success)
20828
          for (Order _iter71 : this.success)
20423
          {
20829
          {
20424
            _iter67.write(oprot);
20830
            _iter71.write(oprot);
20425
          }
20831
          }
20426
          oprot.writeListEnd();
20832
          oprot.writeListEnd();
20427
        }
20833
        }
20428
        oprot.writeFieldEnd();
20834
        oprot.writeFieldEnd();
20429
      } else if (this.isSetEx()) {
20835
      } else if (this.isSetEx()) {
Line 21421... Line 21827...
21421
        }
21827
        }
21422
        switch (field.id) {
21828
        switch (field.id) {
21423
          case 0: // SUCCESS
21829
          case 0: // SUCCESS
21424
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
21830
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
21425
              {
21831
              {
21426
                org.apache.thrift.protocol.TList _list68 = iprot.readListBegin();
21832
                org.apache.thrift.protocol.TList _list72 = iprot.readListBegin();
21427
                this.success = new ArrayList<Order>(_list68.size);
21833
                this.success = new ArrayList<Order>(_list72.size);
21428
                for (int _i69 = 0; _i69 < _list68.size; ++_i69)
21834
                for (int _i73 = 0; _i73 < _list72.size; ++_i73)
21429
                {
21835
                {
21430
                  Order _elem70; // required
21836
                  Order _elem74; // required
21431
                  _elem70 = new Order();
21837
                  _elem74 = new Order();
21432
                  _elem70.read(iprot);
21838
                  _elem74.read(iprot);
21433
                  this.success.add(_elem70);
21839
                  this.success.add(_elem74);
21434
                }
21840
                }
21435
                iprot.readListEnd();
21841
                iprot.readListEnd();
21436
              }
21842
              }
21437
            } else { 
21843
            } else { 
21438
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
21844
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 21460... Line 21866...
21460
 
21866
 
21461
      if (this.isSetSuccess()) {
21867
      if (this.isSetSuccess()) {
21462
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
21868
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
21463
        {
21869
        {
21464
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
21870
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
21465
          for (Order _iter71 : this.success)
21871
          for (Order _iter75 : this.success)
21466
          {
21872
          {
21467
            _iter71.write(oprot);
21873
            _iter75.write(oprot);
21468
          }
21874
          }
21469
          oprot.writeListEnd();
21875
          oprot.writeListEnd();
21470
        }
21876
        }
21471
        oprot.writeFieldEnd();
21877
        oprot.writeFieldEnd();
21472
      } else if (this.isSetEx()) {
21878
      } else if (this.isSetEx()) {
Line 22217... Line 22623...
22217
        }
22623
        }
22218
        switch (field.id) {
22624
        switch (field.id) {
22219
          case 0: // SUCCESS
22625
          case 0: // SUCCESS
22220
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
22626
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
22221
              {
22627
              {
22222
                org.apache.thrift.protocol.TList _list72 = iprot.readListBegin();
22628
                org.apache.thrift.protocol.TList _list76 = iprot.readListBegin();
22223
                this.success = new ArrayList<Long>(_list72.size);
22629
                this.success = new ArrayList<Long>(_list76.size);
22224
                for (int _i73 = 0; _i73 < _list72.size; ++_i73)
22630
                for (int _i77 = 0; _i77 < _list76.size; ++_i77)
22225
                {
22631
                {
22226
                  long _elem74; // required
22632
                  long _elem78; // required
22227
                  _elem74 = iprot.readI64();
22633
                  _elem78 = iprot.readI64();
22228
                  this.success.add(_elem74);
22634
                  this.success.add(_elem78);
22229
                }
22635
                }
22230
                iprot.readListEnd();
22636
                iprot.readListEnd();
22231
              }
22637
              }
22232
            } else { 
22638
            } else { 
22233
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
22639
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 22255... Line 22661...
22255
 
22661
 
22256
      if (this.isSetSuccess()) {
22662
      if (this.isSetSuccess()) {
22257
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
22663
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
22258
        {
22664
        {
22259
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
22665
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
22260
          for (long _iter75 : this.success)
22666
          for (long _iter79 : this.success)
22261
          {
22667
          {
22262
            oprot.writeI64(_iter75);
22668
            oprot.writeI64(_iter79);
22263
          }
22669
          }
22264
          oprot.writeListEnd();
22670
          oprot.writeListEnd();
22265
        }
22671
        }
22266
        oprot.writeFieldEnd();
22672
        oprot.writeFieldEnd();
22267
      } else if (this.isSetEx()) {
22673
      } else if (this.isSetEx()) {
Line 23012... Line 23418...
23012
        }
23418
        }
23013
        switch (field.id) {
23419
        switch (field.id) {
23014
          case 0: // SUCCESS
23420
          case 0: // SUCCESS
23015
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
23421
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
23016
              {
23422
              {
23017
                org.apache.thrift.protocol.TList _list76 = iprot.readListBegin();
23423
                org.apache.thrift.protocol.TList _list80 = iprot.readListBegin();
23018
                this.success = new ArrayList<Long>(_list76.size);
23424
                this.success = new ArrayList<Long>(_list80.size);
23019
                for (int _i77 = 0; _i77 < _list76.size; ++_i77)
23425
                for (int _i81 = 0; _i81 < _list80.size; ++_i81)
23020
                {
23426
                {
23021
                  long _elem78; // required
23427
                  long _elem82; // required
23022
                  _elem78 = iprot.readI64();
23428
                  _elem82 = iprot.readI64();
23023
                  this.success.add(_elem78);
23429
                  this.success.add(_elem82);
23024
                }
23430
                }
23025
                iprot.readListEnd();
23431
                iprot.readListEnd();
23026
              }
23432
              }
23027
            } else { 
23433
            } else { 
23028
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
23434
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 23050... Line 23456...
23050
 
23456
 
23051
      if (this.isSetSuccess()) {
23457
      if (this.isSetSuccess()) {
23052
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
23458
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
23053
        {
23459
        {
23054
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
23460
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
23055
          for (long _iter79 : this.success)
23461
          for (long _iter83 : this.success)
23056
          {
23462
          {
23057
            oprot.writeI64(_iter79);
23463
            oprot.writeI64(_iter83);
23058
          }
23464
          }
23059
          oprot.writeListEnd();
23465
          oprot.writeListEnd();
23060
        }
23466
        }
23061
        oprot.writeFieldEnd();
23467
        oprot.writeFieldEnd();
23062
      } else if (this.isSetEx()) {
23468
      } else if (this.isSetEx()) {
Line 24668... Line 25074...
24668
        }
25074
        }
24669
        switch (field.id) {
25075
        switch (field.id) {
24670
          case 0: // SUCCESS
25076
          case 0: // SUCCESS
24671
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
25077
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
24672
              {
25078
              {
24673
                org.apache.thrift.protocol.TList _list80 = iprot.readListBegin();
25079
                org.apache.thrift.protocol.TList _list84 = iprot.readListBegin();
24674
                this.success = new ArrayList<Order>(_list80.size);
25080
                this.success = new ArrayList<Order>(_list84.size);
24675
                for (int _i81 = 0; _i81 < _list80.size; ++_i81)
25081
                for (int _i85 = 0; _i85 < _list84.size; ++_i85)
24676
                {
25082
                {
24677
                  Order _elem82; // required
25083
                  Order _elem86; // required
24678
                  _elem82 = new Order();
25084
                  _elem86 = new Order();
24679
                  _elem82.read(iprot);
25085
                  _elem86.read(iprot);
24680
                  this.success.add(_elem82);
25086
                  this.success.add(_elem86);
24681
                }
25087
                }
24682
                iprot.readListEnd();
25088
                iprot.readListEnd();
24683
              }
25089
              }
24684
            } else { 
25090
            } else { 
24685
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
25091
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 24707... Line 25113...
24707
 
25113
 
24708
      if (this.isSetSuccess()) {
25114
      if (this.isSetSuccess()) {
24709
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
25115
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
24710
        {
25116
        {
24711
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
25117
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
24712
          for (Order _iter83 : this.success)
25118
          for (Order _iter87 : this.success)
24713
          {
25119
          {
24714
            _iter83.write(oprot);
25120
            _iter87.write(oprot);
24715
          }
25121
          }
24716
          oprot.writeListEnd();
25122
          oprot.writeListEnd();
24717
        }
25123
        }
24718
        oprot.writeFieldEnd();
25124
        oprot.writeFieldEnd();
24719
      } else if (this.isSetEx()) {
25125
      } else if (this.isSetEx()) {
Line 25250... Line 25656...
25250
            }
25656
            }
25251
            break;
25657
            break;
25252
          case 4: // STATUSES
25658
          case 4: // STATUSES
25253
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
25659
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
25254
              {
25660
              {
25255
                org.apache.thrift.protocol.TList _list84 = iprot.readListBegin();
25661
                org.apache.thrift.protocol.TList _list88 = iprot.readListBegin();
25256
                this.statuses = new ArrayList<OrderStatus>(_list84.size);
25662
                this.statuses = new ArrayList<OrderStatus>(_list88.size);
25257
                for (int _i85 = 0; _i85 < _list84.size; ++_i85)
25663
                for (int _i89 = 0; _i89 < _list88.size; ++_i89)
25258
                {
25664
                {
25259
                  OrderStatus _elem86; // required
25665
                  OrderStatus _elem90; // required
25260
                  _elem86 = OrderStatus.findByValue(iprot.readI32());
25666
                  _elem90 = OrderStatus.findByValue(iprot.readI32());
25261
                  this.statuses.add(_elem86);
25667
                  this.statuses.add(_elem90);
25262
                }
25668
                }
25263
                iprot.readListEnd();
25669
                iprot.readListEnd();
25264
              }
25670
              }
25265
            } else { 
25671
            } else { 
25266
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
25672
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 25290... Line 25696...
25290
      oprot.writeFieldEnd();
25696
      oprot.writeFieldEnd();
25291
      if (this.statuses != null) {
25697
      if (this.statuses != null) {
25292
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
25698
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
25293
        {
25699
        {
25294
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
25700
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
25295
          for (OrderStatus _iter87 : this.statuses)
25701
          for (OrderStatus _iter91 : this.statuses)
25296
          {
25702
          {
25297
            oprot.writeI32(_iter87.getValue());
25703
            oprot.writeI32(_iter91.getValue());
25298
          }
25704
          }
25299
          oprot.writeListEnd();
25705
          oprot.writeListEnd();
25300
        }
25706
        }
25301
        oprot.writeFieldEnd();
25707
        oprot.writeFieldEnd();
25302
      }
25708
      }
Line 25670... Line 26076...
25670
        }
26076
        }
25671
        switch (field.id) {
26077
        switch (field.id) {
25672
          case 0: // SUCCESS
26078
          case 0: // SUCCESS
25673
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
26079
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
25674
              {
26080
              {
25675
                org.apache.thrift.protocol.TList _list88 = iprot.readListBegin();
26081
                org.apache.thrift.protocol.TList _list92 = iprot.readListBegin();
25676
                this.success = new ArrayList<Order>(_list88.size);
26082
                this.success = new ArrayList<Order>(_list92.size);
25677
                for (int _i89 = 0; _i89 < _list88.size; ++_i89)
26083
                for (int _i93 = 0; _i93 < _list92.size; ++_i93)
25678
                {
26084
                {
25679
                  Order _elem90; // required
26085
                  Order _elem94; // required
25680
                  _elem90 = new Order();
26086
                  _elem94 = new Order();
25681
                  _elem90.read(iprot);
26087
                  _elem94.read(iprot);
25682
                  this.success.add(_elem90);
26088
                  this.success.add(_elem94);
25683
                }
26089
                }
25684
                iprot.readListEnd();
26090
                iprot.readListEnd();
25685
              }
26091
              }
25686
            } else { 
26092
            } else { 
25687
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
26093
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 25709... Line 26115...
25709
 
26115
 
25710
      if (this.isSetSuccess()) {
26116
      if (this.isSetSuccess()) {
25711
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26117
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
25712
        {
26118
        {
25713
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
26119
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
25714
          for (Order _iter91 : this.success)
26120
          for (Order _iter95 : this.success)
25715
          {
26121
          {
25716
            _iter91.write(oprot);
26122
            _iter95.write(oprot);
25717
          }
26123
          }
25718
          oprot.writeListEnd();
26124
          oprot.writeListEnd();
25719
        }
26125
        }
25720
        oprot.writeFieldEnd();
26126
        oprot.writeFieldEnd();
25721
      } else if (this.isSetEx()) {
26127
      } else if (this.isSetEx()) {
Line 27735... Line 28141...
27735
        }
28141
        }
27736
        switch (field.id) {
28142
        switch (field.id) {
27737
          case 0: // SUCCESS
28143
          case 0: // SUCCESS
27738
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28144
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
27739
              {
28145
              {
27740
                org.apache.thrift.protocol.TList _list92 = iprot.readListBegin();
28146
                org.apache.thrift.protocol.TList _list96 = iprot.readListBegin();
27741
                this.success = new ArrayList<LineItem>(_list92.size);
28147
                this.success = new ArrayList<LineItem>(_list96.size);
27742
                for (int _i93 = 0; _i93 < _list92.size; ++_i93)
28148
                for (int _i97 = 0; _i97 < _list96.size; ++_i97)
27743
                {
28149
                {
27744
                  LineItem _elem94; // required
28150
                  LineItem _elem98; // required
27745
                  _elem94 = new LineItem();
28151
                  _elem98 = new LineItem();
27746
                  _elem94.read(iprot);
28152
                  _elem98.read(iprot);
27747
                  this.success.add(_elem94);
28153
                  this.success.add(_elem98);
27748
                }
28154
                }
27749
                iprot.readListEnd();
28155
                iprot.readListEnd();
27750
              }
28156
              }
27751
            } else { 
28157
            } else { 
27752
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
28158
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 27774... Line 28180...
27774
 
28180
 
27775
      if (this.isSetSuccess()) {
28181
      if (this.isSetSuccess()) {
27776
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
28182
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
27777
        {
28183
        {
27778
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
28184
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
27779
          for (LineItem _iter95 : this.success)
28185
          for (LineItem _iter99 : this.success)
27780
          {
28186
          {
27781
            _iter95.write(oprot);
28187
            _iter99.write(oprot);
27782
          }
28188
          }
27783
          oprot.writeListEnd();
28189
          oprot.writeListEnd();
27784
        }
28190
        }
27785
        oprot.writeFieldEnd();
28191
        oprot.writeFieldEnd();
27786
      } else if (this.isSetEx()) {
28192
      } else if (this.isSetEx()) {
Line 28086... Line 28492...
28086
        }
28492
        }
28087
        switch (field.id) {
28493
        switch (field.id) {
28088
          case 1: // ORDER_IDS
28494
          case 1: // ORDER_IDS
28089
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28495
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28090
              {
28496
              {
28091
                org.apache.thrift.protocol.TList _list96 = iprot.readListBegin();
28497
                org.apache.thrift.protocol.TList _list100 = iprot.readListBegin();
28092
                this.order_ids = new ArrayList<Long>(_list96.size);
28498
                this.order_ids = new ArrayList<Long>(_list100.size);
28093
                for (int _i97 = 0; _i97 < _list96.size; ++_i97)
28499
                for (int _i101 = 0; _i101 < _list100.size; ++_i101)
28094
                {
28500
                {
28095
                  long _elem98; // required
28501
                  long _elem102; // required
28096
                  _elem98 = iprot.readI64();
28502
                  _elem102 = iprot.readI64();
28097
                  this.order_ids.add(_elem98);
28503
                  this.order_ids.add(_elem102);
28098
                }
28504
                }
28099
                iprot.readListEnd();
28505
                iprot.readListEnd();
28100
              }
28506
              }
28101
            } else { 
28507
            } else { 
28102
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
28508
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 28117... Line 28523...
28117
      oprot.writeStructBegin(STRUCT_DESC);
28523
      oprot.writeStructBegin(STRUCT_DESC);
28118
      if (this.order_ids != null) {
28524
      if (this.order_ids != null) {
28119
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
28525
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
28120
        {
28526
        {
28121
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
28527
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
28122
          for (long _iter99 : this.order_ids)
28528
          for (long _iter103 : this.order_ids)
28123
          {
28529
          {
28124
            oprot.writeI64(_iter99);
28530
            oprot.writeI64(_iter103);
28125
          }
28531
          }
28126
          oprot.writeListEnd();
28532
          oprot.writeListEnd();
28127
        }
28533
        }
28128
        oprot.writeFieldEnd();
28534
        oprot.writeFieldEnd();
28129
      }
28535
      }
Line 28417... Line 28823...
28417
        }
28823
        }
28418
        switch (field.id) {
28824
        switch (field.id) {
28419
          case 0: // SUCCESS
28825
          case 0: // SUCCESS
28420
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28826
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28421
              {
28827
              {
28422
                org.apache.thrift.protocol.TList _list100 = iprot.readListBegin();
28828
                org.apache.thrift.protocol.TList _list104 = iprot.readListBegin();
28423
                this.success = new ArrayList<Order>(_list100.size);
28829
                this.success = new ArrayList<Order>(_list104.size);
28424
                for (int _i101 = 0; _i101 < _list100.size; ++_i101)
28830
                for (int _i105 = 0; _i105 < _list104.size; ++_i105)
28425
                {
28831
                {
28426
                  Order _elem102; // required
28832
                  Order _elem106; // required
28427
                  _elem102 = new Order();
28833
                  _elem106 = new Order();
28428
                  _elem102.read(iprot);
28834
                  _elem106.read(iprot);
28429
                  this.success.add(_elem102);
28835
                  this.success.add(_elem106);
28430
                }
28836
                }
28431
                iprot.readListEnd();
28837
                iprot.readListEnd();
28432
              }
28838
              }
28433
            } else { 
28839
            } else { 
28434
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
28840
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 28448... Line 28854...
28448
 
28854
 
28449
      if (this.isSetSuccess()) {
28855
      if (this.isSetSuccess()) {
28450
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
28856
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
28451
        {
28857
        {
28452
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
28858
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
28453
          for (Order _iter103 : this.success)
28859
          for (Order _iter107 : this.success)
28454
          {
28860
          {
28455
            _iter103.write(oprot);
28861
            _iter107.write(oprot);
28456
          }
28862
          }
28457
          oprot.writeListEnd();
28863
          oprot.writeListEnd();
28458
        }
28864
        }
28459
        oprot.writeFieldEnd();
28865
        oprot.writeFieldEnd();
28460
      }
28866
      }
Line 28819... Line 29225...
28819
        }
29225
        }
28820
        switch (field.id) {
29226
        switch (field.id) {
28821
          case 1: // ORDER_IDS
29227
          case 1: // ORDER_IDS
28822
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
29228
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28823
              {
29229
              {
28824
                org.apache.thrift.protocol.TList _list104 = iprot.readListBegin();
29230
                org.apache.thrift.protocol.TList _list108 = iprot.readListBegin();
28825
                this.order_ids = new ArrayList<Long>(_list104.size);
29231
                this.order_ids = new ArrayList<Long>(_list108.size);
28826
                for (int _i105 = 0; _i105 < _list104.size; ++_i105)
29232
                for (int _i109 = 0; _i109 < _list108.size; ++_i109)
28827
                {
29233
                {
28828
                  long _elem106; // required
29234
                  long _elem110; // required
28829
                  _elem106 = iprot.readI64();
29235
                  _elem110 = iprot.readI64();
28830
                  this.order_ids.add(_elem106);
29236
                  this.order_ids.add(_elem110);
28831
                }
29237
                }
28832
                iprot.readListEnd();
29238
                iprot.readListEnd();
28833
              }
29239
              }
28834
            } else { 
29240
            } else { 
28835
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
29241
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 28858... Line 29264...
28858
      oprot.writeStructBegin(STRUCT_DESC);
29264
      oprot.writeStructBegin(STRUCT_DESC);
28859
      if (this.order_ids != null) {
29265
      if (this.order_ids != null) {
28860
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
29266
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
28861
        {
29267
        {
28862
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
29268
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
28863
          for (long _iter107 : this.order_ids)
29269
          for (long _iter111 : this.order_ids)
28864
          {
29270
          {
28865
            oprot.writeI64(_iter107);
29271
            oprot.writeI64(_iter111);
28866
          }
29272
          }
28867
          oprot.writeListEnd();
29273
          oprot.writeListEnd();
28868
        }
29274
        }
28869
        oprot.writeFieldEnd();
29275
        oprot.writeFieldEnd();
28870
      }
29276
      }
Line 29167... Line 29573...
29167
        }
29573
        }
29168
        switch (field.id) {
29574
        switch (field.id) {
29169
          case 0: // SUCCESS
29575
          case 0: // SUCCESS
29170
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
29576
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
29171
              {
29577
              {
29172
                org.apache.thrift.protocol.TList _list108 = iprot.readListBegin();
29578
                org.apache.thrift.protocol.TList _list112 = iprot.readListBegin();
29173
                this.success = new ArrayList<Order>(_list108.size);
29579
                this.success = new ArrayList<Order>(_list112.size);
29174
                for (int _i109 = 0; _i109 < _list108.size; ++_i109)
29580
                for (int _i113 = 0; _i113 < _list112.size; ++_i113)
29175
                {
29581
                {
29176
                  Order _elem110; // required
29582
                  Order _elem114; // required
29177
                  _elem110 = new Order();
29583
                  _elem114 = new Order();
29178
                  _elem110.read(iprot);
29584
                  _elem114.read(iprot);
29179
                  this.success.add(_elem110);
29585
                  this.success.add(_elem114);
29180
                }
29586
                }
29181
                iprot.readListEnd();
29587
                iprot.readListEnd();
29182
              }
29588
              }
29183
            } else { 
29589
            } else { 
29184
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
29590
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 29198... Line 29604...
29198
 
29604
 
29199
      if (this.isSetSuccess()) {
29605
      if (this.isSetSuccess()) {
29200
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
29606
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
29201
        {
29607
        {
29202
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
29608
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
29203
          for (Order _iter111 : this.success)
29609
          for (Order _iter115 : this.success)
29204
          {
29610
          {
29205
            _iter111.write(oprot);
29611
            _iter115.write(oprot);
29206
          }
29612
          }
29207
          oprot.writeListEnd();
29613
          oprot.writeListEnd();
29208
        }
29614
        }
29209
        oprot.writeFieldEnd();
29615
        oprot.writeFieldEnd();
29210
      }
29616
      }
Line 30798... Line 31204...
30798
        }
31204
        }
30799
        switch (field.id) {
31205
        switch (field.id) {
30800
          case 0: // SUCCESS
31206
          case 0: // SUCCESS
30801
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
31207
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
30802
              {
31208
              {
30803
                org.apache.thrift.protocol.TList _list112 = iprot.readListBegin();
31209
                org.apache.thrift.protocol.TList _list116 = iprot.readListBegin();
30804
                this.success = new ArrayList<Alert>(_list112.size);
31210
                this.success = new ArrayList<Alert>(_list116.size);
30805
                for (int _i113 = 0; _i113 < _list112.size; ++_i113)
31211
                for (int _i117 = 0; _i117 < _list116.size; ++_i117)
30806
                {
31212
                {
30807
                  Alert _elem114; // required
31213
                  Alert _elem118; // required
30808
                  _elem114 = new Alert();
31214
                  _elem118 = new Alert();
30809
                  _elem114.read(iprot);
31215
                  _elem118.read(iprot);
30810
                  this.success.add(_elem114);
31216
                  this.success.add(_elem118);
30811
                }
31217
                }
30812
                iprot.readListEnd();
31218
                iprot.readListEnd();
30813
              }
31219
              }
30814
            } else { 
31220
            } else { 
30815
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
31221
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 30829... Line 31235...
30829
 
31235
 
30830
      if (this.isSetSuccess()) {
31236
      if (this.isSetSuccess()) {
30831
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
31237
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
30832
        {
31238
        {
30833
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
31239
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
30834
          for (Alert _iter115 : this.success)
31240
          for (Alert _iter119 : this.success)
30835
          {
31241
          {
30836
            _iter115.write(oprot);
31242
            _iter119.write(oprot);
30837
          }
31243
          }
30838
          oprot.writeListEnd();
31244
          oprot.writeListEnd();
30839
        }
31245
        }
30840
        oprot.writeFieldEnd();
31246
        oprot.writeFieldEnd();
30841
      }
31247
      }
Line 33472... Line 33878...
33472
        }
33878
        }
33473
        switch (field.id) {
33879
        switch (field.id) {
33474
          case 0: // SUCCESS
33880
          case 0: // SUCCESS
33475
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
33881
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
33476
              {
33882
              {
33477
                org.apache.thrift.protocol.TList _list116 = iprot.readListBegin();
33883
                org.apache.thrift.protocol.TList _list120 = iprot.readListBegin();
33478
                this.success = new ArrayList<Double>(_list116.size);
33884
                this.success = new ArrayList<Double>(_list120.size);
33479
                for (int _i117 = 0; _i117 < _list116.size; ++_i117)
33885
                for (int _i121 = 0; _i121 < _list120.size; ++_i121)
33480
                {
33886
                {
33481
                  double _elem118; // required
33887
                  double _elem122; // required
33482
                  _elem118 = iprot.readDouble();
33888
                  _elem122 = iprot.readDouble();
33483
                  this.success.add(_elem118);
33889
                  this.success.add(_elem122);
33484
                }
33890
                }
33485
                iprot.readListEnd();
33891
                iprot.readListEnd();
33486
              }
33892
              }
33487
            } else { 
33893
            } else { 
33488
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
33894
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 33502... Line 33908...
33502
 
33908
 
33503
      if (this.isSetSuccess()) {
33909
      if (this.isSetSuccess()) {
33504
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33910
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33505
        {
33911
        {
33506
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.DOUBLE, this.success.size()));
33912
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.DOUBLE, this.success.size()));
33507
          for (double _iter119 : this.success)
33913
          for (double _iter123 : this.success)
33508
          {
33914
          {
33509
            oprot.writeDouble(_iter119);
33915
            oprot.writeDouble(_iter123);
33510
          }
33916
          }
33511
          oprot.writeListEnd();
33917
          oprot.writeListEnd();
33512
        }
33918
        }
33513
        oprot.writeFieldEnd();
33919
        oprot.writeFieldEnd();
33514
      }
33920
      }
Line 34177... Line 34583...
34177
        }
34583
        }
34178
        switch (field.id) {
34584
        switch (field.id) {
34179
          case 0: // SUCCESS
34585
          case 0: // SUCCESS
34180
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34586
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34181
              {
34587
              {
34182
                org.apache.thrift.protocol.TList _list120 = iprot.readListBegin();
34588
                org.apache.thrift.protocol.TList _list124 = iprot.readListBegin();
34183
                this.success = new ArrayList<Order>(_list120.size);
34589
                this.success = new ArrayList<Order>(_list124.size);
34184
                for (int _i121 = 0; _i121 < _list120.size; ++_i121)
34590
                for (int _i125 = 0; _i125 < _list124.size; ++_i125)
34185
                {
34591
                {
34186
                  Order _elem122; // required
34592
                  Order _elem126; // required
34187
                  _elem122 = new Order();
34593
                  _elem126 = new Order();
34188
                  _elem122.read(iprot);
34594
                  _elem126.read(iprot);
34189
                  this.success.add(_elem122);
34595
                  this.success.add(_elem126);
34190
                }
34596
                }
34191
                iprot.readListEnd();
34597
                iprot.readListEnd();
34192
              }
34598
              }
34193
            } else { 
34599
            } else { 
34194
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
34600
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 34208... Line 34614...
34208
 
34614
 
34209
      if (this.isSetSuccess()) {
34615
      if (this.isSetSuccess()) {
34210
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34616
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34211
        {
34617
        {
34212
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
34618
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
34213
          for (Order _iter123 : this.success)
34619
          for (Order _iter127 : this.success)
34214
          {
34620
          {
34215
            _iter123.write(oprot);
34621
            _iter127.write(oprot);
34216
          }
34622
          }
34217
          oprot.writeListEnd();
34623
          oprot.writeListEnd();
34218
        }
34624
        }
34219
        oprot.writeFieldEnd();
34625
        oprot.writeFieldEnd();
34220
      }
34626
      }
Line 34868... Line 35274...
34868
        }
35274
        }
34869
        switch (field.id) {
35275
        switch (field.id) {
34870
          case 0: // SUCCESS
35276
          case 0: // SUCCESS
34871
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35277
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34872
              {
35278
              {
34873
                org.apache.thrift.protocol.TList _list124 = iprot.readListBegin();
35279
                org.apache.thrift.protocol.TList _list128 = iprot.readListBegin();
34874
                this.success = new ArrayList<Order>(_list124.size);
35280
                this.success = new ArrayList<Order>(_list128.size);
34875
                for (int _i125 = 0; _i125 < _list124.size; ++_i125)
35281
                for (int _i129 = 0; _i129 < _list128.size; ++_i129)
34876
                {
35282
                {
34877
                  Order _elem126; // required
35283
                  Order _elem130; // required
34878
                  _elem126 = new Order();
35284
                  _elem130 = new Order();
34879
                  _elem126.read(iprot);
35285
                  _elem130.read(iprot);
34880
                  this.success.add(_elem126);
35286
                  this.success.add(_elem130);
34881
                }
35287
                }
34882
                iprot.readListEnd();
35288
                iprot.readListEnd();
34883
              }
35289
              }
34884
            } else { 
35290
            } else { 
34885
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
35291
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 34907... Line 35313...
34907
 
35313
 
34908
      if (this.isSetSuccess()) {
35314
      if (this.isSetSuccess()) {
34909
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
35315
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34910
        {
35316
        {
34911
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
35317
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
34912
          for (Order _iter127 : this.success)
35318
          for (Order _iter131 : this.success)
34913
          {
35319
          {
34914
            _iter127.write(oprot);
35320
            _iter131.write(oprot);
34915
          }
35321
          }
34916
          oprot.writeListEnd();
35322
          oprot.writeListEnd();
34917
        }
35323
        }
34918
        oprot.writeFieldEnd();
35324
        oprot.writeFieldEnd();
34919
      } else if (this.isSetEx()) {
35325
      } else if (this.isSetEx()) {
Line 37820... Line 38226...
37820
            }
38226
            }
37821
            break;
38227
            break;
37822
          case 3: // SERIAL_NUMBER
38228
          case 3: // SERIAL_NUMBER
37823
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38229
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37824
              {
38230
              {
37825
                org.apache.thrift.protocol.TList _list128 = iprot.readListBegin();
38231
                org.apache.thrift.protocol.TList _list132 = iprot.readListBegin();
37826
                this.serialNumber = new ArrayList<String>(_list128.size);
38232
                this.serialNumber = new ArrayList<String>(_list132.size);
37827
                for (int _i129 = 0; _i129 < _list128.size; ++_i129)
38233
                for (int _i133 = 0; _i133 < _list132.size; ++_i133)
37828
                {
38234
                {
37829
                  String _elem130; // required
38235
                  String _elem134; // required
37830
                  _elem130 = iprot.readString();
38236
                  _elem134 = iprot.readString();
37831
                  this.serialNumber.add(_elem130);
38237
                  this.serialNumber.add(_elem134);
37832
                }
38238
                }
37833
                iprot.readListEnd();
38239
                iprot.readListEnd();
37834
              }
38240
              }
37835
            } else { 
38241
            } else { 
37836
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
38242
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
37837
            }
38243
            }
37838
            break;
38244
            break;
37839
          case 4: // ITEM_NUMBER
38245
          case 4: // ITEM_NUMBER
37840
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38246
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37841
              {
38247
              {
37842
                org.apache.thrift.protocol.TList _list131 = iprot.readListBegin();
38248
                org.apache.thrift.protocol.TList _list135 = iprot.readListBegin();
37843
                this.itemNumber = new ArrayList<String>(_list131.size);
38249
                this.itemNumber = new ArrayList<String>(_list135.size);
37844
                for (int _i132 = 0; _i132 < _list131.size; ++_i132)
38250
                for (int _i136 = 0; _i136 < _list135.size; ++_i136)
37845
                {
38251
                {
37846
                  String _elem133; // required
38252
                  String _elem137; // required
37847
                  _elem133 = iprot.readString();
38253
                  _elem137 = iprot.readString();
37848
                  this.itemNumber.add(_elem133);
38254
                  this.itemNumber.add(_elem137);
37849
                }
38255
                }
37850
                iprot.readListEnd();
38256
                iprot.readListEnd();
37851
              }
38257
              }
37852
            } else { 
38258
            } else { 
37853
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
38259
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 37915... Line 38321...
37915
      }
38321
      }
37916
      if (this.serialNumber != null) {
38322
      if (this.serialNumber != null) {
37917
        oprot.writeFieldBegin(SERIAL_NUMBER_FIELD_DESC);
38323
        oprot.writeFieldBegin(SERIAL_NUMBER_FIELD_DESC);
37918
        {
38324
        {
37919
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.serialNumber.size()));
38325
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.serialNumber.size()));
37920
          for (String _iter134 : this.serialNumber)
38326
          for (String _iter138 : this.serialNumber)
37921
          {
38327
          {
37922
            oprot.writeString(_iter134);
38328
            oprot.writeString(_iter138);
37923
          }
38329
          }
37924
          oprot.writeListEnd();
38330
          oprot.writeListEnd();
37925
        }
38331
        }
37926
        oprot.writeFieldEnd();
38332
        oprot.writeFieldEnd();
37927
      }
38333
      }
37928
      if (this.itemNumber != null) {
38334
      if (this.itemNumber != null) {
37929
        oprot.writeFieldBegin(ITEM_NUMBER_FIELD_DESC);
38335
        oprot.writeFieldBegin(ITEM_NUMBER_FIELD_DESC);
37930
        {
38336
        {
37931
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.itemNumber.size()));
38337
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.itemNumber.size()));
37932
          for (String _iter135 : this.itemNumber)
38338
          for (String _iter139 : this.itemNumber)
37933
          {
38339
          {
37934
            oprot.writeString(_iter135);
38340
            oprot.writeString(_iter139);
37935
          }
38341
          }
37936
          oprot.writeListEnd();
38342
          oprot.writeListEnd();
37937
        }
38343
        }
37938
        oprot.writeFieldEnd();
38344
        oprot.writeFieldEnd();
37939
      }
38345
      }
Line 39664... Line 40070...
39664
            }
40070
            }
39665
            break;
40071
            break;
39666
          case 4: // ORDER_IDS
40072
          case 4: // ORDER_IDS
39667
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40073
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39668
              {
40074
              {
39669
                org.apache.thrift.protocol.TList _list136 = iprot.readListBegin();
40075
                org.apache.thrift.protocol.TList _list140 = iprot.readListBegin();
39670
                this.orderIds = new ArrayList<Long>(_list136.size);
40076
                this.orderIds = new ArrayList<Long>(_list140.size);
39671
                for (int _i137 = 0; _i137 < _list136.size; ++_i137)
40077
                for (int _i141 = 0; _i141 < _list140.size; ++_i141)
39672
                {
40078
                {
39673
                  long _elem138; // required
40079
                  long _elem142; // required
39674
                  _elem138 = iprot.readI64();
40080
                  _elem142 = iprot.readI64();
39675
                  this.orderIds.add(_elem138);
40081
                  this.orderIds.add(_elem142);
39676
                }
40082
                }
39677
                iprot.readListEnd();
40083
                iprot.readListEnd();
39678
              }
40084
              }
39679
            } else { 
40085
            } else { 
39680
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40086
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 39704... Line 40110...
39704
      oprot.writeFieldEnd();
40110
      oprot.writeFieldEnd();
39705
      if (this.orderIds != null) {
40111
      if (this.orderIds != null) {
39706
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
40112
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
39707
        {
40113
        {
39708
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
40114
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
39709
          for (long _iter139 : this.orderIds)
40115
          for (long _iter143 : this.orderIds)
39710
          {
40116
          {
39711
            oprot.writeI64(_iter139);
40117
            oprot.writeI64(_iter143);
39712
          }
40118
          }
39713
          oprot.writeListEnd();
40119
          oprot.writeListEnd();
39714
        }
40120
        }
39715
        oprot.writeFieldEnd();
40121
        oprot.writeFieldEnd();
39716
      }
40122
      }
Line 40564... Line 40970...
40564
            }
40970
            }
40565
            break;
40971
            break;
40566
          case 2: // ORDER_IDS
40972
          case 2: // ORDER_IDS
40567
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40973
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40568
              {
40974
              {
40569
                org.apache.thrift.protocol.TList _list140 = iprot.readListBegin();
40975
                org.apache.thrift.protocol.TList _list144 = iprot.readListBegin();
40570
                this.orderIds = new ArrayList<Long>(_list140.size);
40976
                this.orderIds = new ArrayList<Long>(_list144.size);
40571
                for (int _i141 = 0; _i141 < _list140.size; ++_i141)
40977
                for (int _i145 = 0; _i145 < _list144.size; ++_i145)
40572
                {
40978
                {
40573
                  long _elem142; // required
40979
                  long _elem146; // required
40574
                  _elem142 = iprot.readI64();
40980
                  _elem146 = iprot.readI64();
40575
                  this.orderIds.add(_elem142);
40981
                  this.orderIds.add(_elem146);
40576
                }
40982
                }
40577
                iprot.readListEnd();
40983
                iprot.readListEnd();
40578
              }
40984
              }
40579
            } else { 
40985
            } else { 
40580
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40986
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40581
            }
40987
            }
40582
            break;
40988
            break;
40583
          case 3: // AWBS
40989
          case 3: // AWBS
40584
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40990
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40585
              {
40991
              {
40586
                org.apache.thrift.protocol.TList _list143 = iprot.readListBegin();
40992
                org.apache.thrift.protocol.TList _list147 = iprot.readListBegin();
40587
                this.awbs = new ArrayList<String>(_list143.size);
40993
                this.awbs = new ArrayList<String>(_list147.size);
40588
                for (int _i144 = 0; _i144 < _list143.size; ++_i144)
40994
                for (int _i148 = 0; _i148 < _list147.size; ++_i148)
40589
                {
40995
                {
40590
                  String _elem145; // required
40996
                  String _elem149; // required
40591
                  _elem145 = iprot.readString();
40997
                  _elem149 = iprot.readString();
40592
                  this.awbs.add(_elem145);
40998
                  this.awbs.add(_elem149);
40593
                }
40999
                }
40594
                iprot.readListEnd();
41000
                iprot.readListEnd();
40595
              }
41001
              }
40596
            } else { 
41002
            } else { 
40597
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41003
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40615... Line 41021...
40615
      oprot.writeFieldEnd();
41021
      oprot.writeFieldEnd();
40616
      if (this.orderIds != null) {
41022
      if (this.orderIds != null) {
40617
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
41023
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
40618
        {
41024
        {
40619
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
41025
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
40620
          for (long _iter146 : this.orderIds)
41026
          for (long _iter150 : this.orderIds)
40621
          {
41027
          {
40622
            oprot.writeI64(_iter146);
41028
            oprot.writeI64(_iter150);
40623
          }
41029
          }
40624
          oprot.writeListEnd();
41030
          oprot.writeListEnd();
40625
        }
41031
        }
40626
        oprot.writeFieldEnd();
41032
        oprot.writeFieldEnd();
40627
      }
41033
      }
40628
      if (this.awbs != null) {
41034
      if (this.awbs != null) {
40629
        oprot.writeFieldBegin(AWBS_FIELD_DESC);
41035
        oprot.writeFieldBegin(AWBS_FIELD_DESC);
40630
        {
41036
        {
40631
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.awbs.size()));
41037
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.awbs.size()));
40632
          for (String _iter147 : this.awbs)
41038
          for (String _iter151 : this.awbs)
40633
          {
41039
          {
40634
            oprot.writeString(_iter147);
41040
            oprot.writeString(_iter151);
40635
          }
41041
          }
40636
          oprot.writeListEnd();
41042
          oprot.writeListEnd();
40637
        }
41043
        }
40638
        oprot.writeFieldEnd();
41044
        oprot.writeFieldEnd();
40639
      }
41045
      }
Line 41406... Line 41812...
41406
            }
41812
            }
41407
            break;
41813
            break;
41408
          case 2: // PICKUP_DETAILS
41814
          case 2: // PICKUP_DETAILS
41409
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
41815
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
41410
              {
41816
              {
41411
                org.apache.thrift.protocol.TMap _map148 = iprot.readMapBegin();
41817
                org.apache.thrift.protocol.TMap _map152 = iprot.readMapBegin();
41412
                this.pickupDetails = new HashMap<String,String>(2*_map148.size);
41818
                this.pickupDetails = new HashMap<String,String>(2*_map152.size);
41413
                for (int _i149 = 0; _i149 < _map148.size; ++_i149)
41819
                for (int _i153 = 0; _i153 < _map152.size; ++_i153)
41414
                {
41820
                {
41415
                  String _key150; // required
41821
                  String _key154; // required
41416
                  String _val151; // required
41822
                  String _val155; // required
41417
                  _key150 = iprot.readString();
41823
                  _key154 = iprot.readString();
41418
                  _val151 = iprot.readString();
41824
                  _val155 = iprot.readString();
41419
                  this.pickupDetails.put(_key150, _val151);
41825
                  this.pickupDetails.put(_key154, _val155);
41420
                }
41826
                }
41421
                iprot.readMapEnd();
41827
                iprot.readMapEnd();
41422
              }
41828
              }
41423
            } else { 
41829
            } else { 
41424
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41830
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41442... Line 41848...
41442
      oprot.writeFieldEnd();
41848
      oprot.writeFieldEnd();
41443
      if (this.pickupDetails != null) {
41849
      if (this.pickupDetails != null) {
41444
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
41850
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
41445
        {
41851
        {
41446
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
41852
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
41447
          for (Map.Entry<String, String> _iter152 : this.pickupDetails.entrySet())
41853
          for (Map.Entry<String, String> _iter156 : this.pickupDetails.entrySet())
41448
          {
41854
          {
41449
            oprot.writeString(_iter152.getKey());
41855
            oprot.writeString(_iter156.getKey());
41450
            oprot.writeString(_iter152.getValue());
41856
            oprot.writeString(_iter156.getValue());
41451
          }
41857
          }
41452
          oprot.writeMapEnd();
41858
          oprot.writeMapEnd();
41453
        }
41859
        }
41454
        oprot.writeFieldEnd();
41860
        oprot.writeFieldEnd();
41455
      }
41861
      }
Line 42335... Line 42741...
42335
        }
42741
        }
42336
        switch (field.id) {
42742
        switch (field.id) {
42337
          case 0: // SUCCESS
42743
          case 0: // SUCCESS
42338
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42744
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42339
              {
42745
              {
42340
                org.apache.thrift.protocol.TList _list153 = iprot.readListBegin();
42746
                org.apache.thrift.protocol.TList _list157 = iprot.readListBegin();
42341
                this.success = new ArrayList<Order>(_list153.size);
42747
                this.success = new ArrayList<Order>(_list157.size);
42342
                for (int _i154 = 0; _i154 < _list153.size; ++_i154)
42748
                for (int _i158 = 0; _i158 < _list157.size; ++_i158)
42343
                {
42749
                {
42344
                  Order _elem155; // required
42750
                  Order _elem159; // required
42345
                  _elem155 = new Order();
42751
                  _elem159 = new Order();
42346
                  _elem155.read(iprot);
42752
                  _elem159.read(iprot);
42347
                  this.success.add(_elem155);
42753
                  this.success.add(_elem159);
42348
                }
42754
                }
42349
                iprot.readListEnd();
42755
                iprot.readListEnd();
42350
              }
42756
              }
42351
            } else { 
42757
            } else { 
42352
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42758
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42366... Line 42772...
42366
 
42772
 
42367
      if (this.isSetSuccess()) {
42773
      if (this.isSetSuccess()) {
42368
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42774
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42369
        {
42775
        {
42370
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42776
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42371
          for (Order _iter156 : this.success)
42777
          for (Order _iter160 : this.success)
42372
          {
42778
          {
42373
            _iter156.write(oprot);
42779
            _iter160.write(oprot);
42374
          }
42780
          }
42375
          oprot.writeListEnd();
42781
          oprot.writeListEnd();
42376
        }
42782
        }
42377
        oprot.writeFieldEnd();
42783
        oprot.writeFieldEnd();
42378
      }
42784
      }
Line 42750... Line 43156...
42750
            }
43156
            }
42751
            break;
43157
            break;
42752
          case 2: // DELIVERED_ORDERS
43158
          case 2: // DELIVERED_ORDERS
42753
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
43159
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
42754
              {
43160
              {
42755
                org.apache.thrift.protocol.TMap _map157 = iprot.readMapBegin();
43161
                org.apache.thrift.protocol.TMap _map161 = iprot.readMapBegin();
42756
                this.deliveredOrders = new HashMap<String,String>(2*_map157.size);
43162
                this.deliveredOrders = new HashMap<String,String>(2*_map161.size);
42757
                for (int _i158 = 0; _i158 < _map157.size; ++_i158)
43163
                for (int _i162 = 0; _i162 < _map161.size; ++_i162)
42758
                {
43164
                {
42759
                  String _key159; // required
43165
                  String _key163; // required
42760
                  String _val160; // required
43166
                  String _val164; // required
42761
                  _key159 = iprot.readString();
43167
                  _key163 = iprot.readString();
42762
                  _val160 = iprot.readString();
43168
                  _val164 = iprot.readString();
42763
                  this.deliveredOrders.put(_key159, _val160);
43169
                  this.deliveredOrders.put(_key163, _val164);
42764
                }
43170
                }
42765
                iprot.readMapEnd();
43171
                iprot.readMapEnd();
42766
              }
43172
              }
42767
            } else { 
43173
            } else { 
42768
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43174
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42786... Line 43192...
42786
      oprot.writeFieldEnd();
43192
      oprot.writeFieldEnd();
42787
      if (this.deliveredOrders != null) {
43193
      if (this.deliveredOrders != null) {
42788
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
43194
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
42789
        {
43195
        {
42790
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.deliveredOrders.size()));
43196
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.deliveredOrders.size()));
42791
          for (Map.Entry<String, String> _iter161 : this.deliveredOrders.entrySet())
43197
          for (Map.Entry<String, String> _iter165 : this.deliveredOrders.entrySet())
42792
          {
43198
          {
42793
            oprot.writeString(_iter161.getKey());
43199
            oprot.writeString(_iter165.getKey());
42794
            oprot.writeString(_iter161.getValue());
43200
            oprot.writeString(_iter165.getValue());
42795
          }
43201
          }
42796
          oprot.writeMapEnd();
43202
          oprot.writeMapEnd();
42797
        }
43203
        }
42798
        oprot.writeFieldEnd();
43204
        oprot.writeFieldEnd();
42799
      }
43205
      }
Line 43469... Line 43875...
43469
            }
43875
            }
43470
            break;
43876
            break;
43471
          case 2: // RETURNED_ORDERS
43877
          case 2: // RETURNED_ORDERS
43472
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
43878
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
43473
              {
43879
              {
43474
                org.apache.thrift.protocol.TMap _map162 = iprot.readMapBegin();
43880
                org.apache.thrift.protocol.TMap _map166 = iprot.readMapBegin();
43475
                this.returnedOrders = new HashMap<String,String>(2*_map162.size);
43881
                this.returnedOrders = new HashMap<String,String>(2*_map166.size);
43476
                for (int _i163 = 0; _i163 < _map162.size; ++_i163)
43882
                for (int _i167 = 0; _i167 < _map166.size; ++_i167)
43477
                {
43883
                {
43478
                  String _key164; // required
43884
                  String _key168; // required
43479
                  String _val165; // required
43885
                  String _val169; // required
43480
                  _key164 = iprot.readString();
43886
                  _key168 = iprot.readString();
43481
                  _val165 = iprot.readString();
43887
                  _val169 = iprot.readString();
43482
                  this.returnedOrders.put(_key164, _val165);
43888
                  this.returnedOrders.put(_key168, _val169);
43483
                }
43889
                }
43484
                iprot.readMapEnd();
43890
                iprot.readMapEnd();
43485
              }
43891
              }
43486
            } else { 
43892
            } else { 
43487
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43893
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 43505... Line 43911...
43505
      oprot.writeFieldEnd();
43911
      oprot.writeFieldEnd();
43506
      if (this.returnedOrders != null) {
43912
      if (this.returnedOrders != null) {
43507
        oprot.writeFieldBegin(RETURNED_ORDERS_FIELD_DESC);
43913
        oprot.writeFieldBegin(RETURNED_ORDERS_FIELD_DESC);
43508
        {
43914
        {
43509
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.returnedOrders.size()));
43915
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.returnedOrders.size()));
43510
          for (Map.Entry<String, String> _iter166 : this.returnedOrders.entrySet())
43916
          for (Map.Entry<String, String> _iter170 : this.returnedOrders.entrySet())
43511
          {
43917
          {
43512
            oprot.writeString(_iter166.getKey());
43918
            oprot.writeString(_iter170.getKey());
43513
            oprot.writeString(_iter166.getValue());
43919
            oprot.writeString(_iter170.getValue());
43514
          }
43920
          }
43515
          oprot.writeMapEnd();
43921
          oprot.writeMapEnd();
43516
        }
43922
        }
43517
        oprot.writeFieldEnd();
43923
        oprot.writeFieldEnd();
43518
      }
43924
      }
Line 44398... Line 44804...
44398
        }
44804
        }
44399
        switch (field.id) {
44805
        switch (field.id) {
44400
          case 0: // SUCCESS
44806
          case 0: // SUCCESS
44401
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44807
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44402
              {
44808
              {
44403
                org.apache.thrift.protocol.TList _list167 = iprot.readListBegin();
44809
                org.apache.thrift.protocol.TList _list171 = iprot.readListBegin();
44404
                this.success = new ArrayList<Order>(_list167.size);
44810
                this.success = new ArrayList<Order>(_list171.size);
44405
                for (int _i168 = 0; _i168 < _list167.size; ++_i168)
44811
                for (int _i172 = 0; _i172 < _list171.size; ++_i172)
44406
                {
44812
                {
44407
                  Order _elem169; // required
44813
                  Order _elem173; // required
44408
                  _elem169 = new Order();
44814
                  _elem173 = new Order();
44409
                  _elem169.read(iprot);
44815
                  _elem173.read(iprot);
44410
                  this.success.add(_elem169);
44816
                  this.success.add(_elem173);
44411
                }
44817
                }
44412
                iprot.readListEnd();
44818
                iprot.readListEnd();
44413
              }
44819
              }
44414
            } else { 
44820
            } else { 
44415
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44821
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44429... Line 44835...
44429
 
44835
 
44430
      if (this.isSetSuccess()) {
44836
      if (this.isSetSuccess()) {
44431
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44837
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44432
        {
44838
        {
44433
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
44839
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
44434
          for (Order _iter170 : this.success)
44840
          for (Order _iter174 : this.success)
44435
          {
44841
          {
44436
            _iter170.write(oprot);
44842
            _iter174.write(oprot);
44437
          }
44843
          }
44438
          oprot.writeListEnd();
44844
          oprot.writeListEnd();
44439
        }
44845
        }
44440
        oprot.writeFieldEnd();
44846
        oprot.writeFieldEnd();
44441
      }
44847
      }
Line 44813... Line 45219...
44813
            }
45219
            }
44814
            break;
45220
            break;
44815
          case 2: // UNDELIVERED_ORDERS
45221
          case 2: // UNDELIVERED_ORDERS
44816
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
45222
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
44817
              {
45223
              {
44818
                org.apache.thrift.protocol.TMap _map171 = iprot.readMapBegin();
45224
                org.apache.thrift.protocol.TMap _map175 = iprot.readMapBegin();
44819
                this.undeliveredOrders = new HashMap<String,String>(2*_map171.size);
45225
                this.undeliveredOrders = new HashMap<String,String>(2*_map175.size);
44820
                for (int _i172 = 0; _i172 < _map171.size; ++_i172)
45226
                for (int _i176 = 0; _i176 < _map175.size; ++_i176)
44821
                {
45227
                {
44822
                  String _key173; // required
45228
                  String _key177; // required
44823
                  String _val174; // required
45229
                  String _val178; // required
44824
                  _key173 = iprot.readString();
45230
                  _key177 = iprot.readString();
44825
                  _val174 = iprot.readString();
45231
                  _val178 = iprot.readString();
44826
                  this.undeliveredOrders.put(_key173, _val174);
45232
                  this.undeliveredOrders.put(_key177, _val178);
44827
                }
45233
                }
44828
                iprot.readMapEnd();
45234
                iprot.readMapEnd();
44829
              }
45235
              }
44830
            } else { 
45236
            } else { 
44831
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45237
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44849... Line 45255...
44849
      oprot.writeFieldEnd();
45255
      oprot.writeFieldEnd();
44850
      if (this.undeliveredOrders != null) {
45256
      if (this.undeliveredOrders != null) {
44851
        oprot.writeFieldBegin(UNDELIVERED_ORDERS_FIELD_DESC);
45257
        oprot.writeFieldBegin(UNDELIVERED_ORDERS_FIELD_DESC);
44852
        {
45258
        {
44853
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.undeliveredOrders.size()));
45259
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.undeliveredOrders.size()));
44854
          for (Map.Entry<String, String> _iter175 : this.undeliveredOrders.entrySet())
45260
          for (Map.Entry<String, String> _iter179 : this.undeliveredOrders.entrySet())
44855
          {
45261
          {
44856
            oprot.writeString(_iter175.getKey());
45262
            oprot.writeString(_iter179.getKey());
44857
            oprot.writeString(_iter175.getValue());
45263
            oprot.writeString(_iter179.getValue());
44858
          }
45264
          }
44859
          oprot.writeMapEnd();
45265
          oprot.writeMapEnd();
44860
        }
45266
        }
44861
        oprot.writeFieldEnd();
45267
        oprot.writeFieldEnd();
44862
      }
45268
      }
Line 45742... Line 46148...
45742
        }
46148
        }
45743
        switch (field.id) {
46149
        switch (field.id) {
45744
          case 0: // SUCCESS
46150
          case 0: // SUCCESS
45745
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46151
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45746
              {
46152
              {
45747
                org.apache.thrift.protocol.TList _list176 = iprot.readListBegin();
46153
                org.apache.thrift.protocol.TList _list180 = iprot.readListBegin();
45748
                this.success = new ArrayList<Order>(_list176.size);
46154
                this.success = new ArrayList<Order>(_list180.size);
45749
                for (int _i177 = 0; _i177 < _list176.size; ++_i177)
46155
                for (int _i181 = 0; _i181 < _list180.size; ++_i181)
45750
                {
46156
                {
45751
                  Order _elem178; // required
46157
                  Order _elem182; // required
45752
                  _elem178 = new Order();
46158
                  _elem182 = new Order();
45753
                  _elem178.read(iprot);
46159
                  _elem182.read(iprot);
45754
                  this.success.add(_elem178);
46160
                  this.success.add(_elem182);
45755
                }
46161
                }
45756
                iprot.readListEnd();
46162
                iprot.readListEnd();
45757
              }
46163
              }
45758
            } else { 
46164
            } else { 
45759
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46165
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 45773... Line 46179...
45773
 
46179
 
45774
      if (this.isSetSuccess()) {
46180
      if (this.isSetSuccess()) {
45775
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46181
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45776
        {
46182
        {
45777
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46183
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45778
          for (Order _iter179 : this.success)
46184
          for (Order _iter183 : this.success)
45779
          {
46185
          {
45780
            _iter179.write(oprot);
46186
            _iter183.write(oprot);
45781
          }
46187
          }
45782
          oprot.writeListEnd();
46188
          oprot.writeListEnd();
45783
        }
46189
        }
45784
        oprot.writeFieldEnd();
46190
        oprot.writeFieldEnd();
45785
      }
46191
      }
Line 46157... Line 46563...
46157
            }
46563
            }
46158
            break;
46564
            break;
46159
          case 2: // LOCAL_CONNECTED_ORDERS
46565
          case 2: // LOCAL_CONNECTED_ORDERS
46160
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
46566
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
46161
              {
46567
              {
46162
                org.apache.thrift.protocol.TMap _map180 = iprot.readMapBegin();
46568
                org.apache.thrift.protocol.TMap _map184 = iprot.readMapBegin();
46163
                this.local_connected_orders = new HashMap<String,String>(2*_map180.size);
46569
                this.local_connected_orders = new HashMap<String,String>(2*_map184.size);
46164
                for (int _i181 = 0; _i181 < _map180.size; ++_i181)
46570
                for (int _i185 = 0; _i185 < _map184.size; ++_i185)
46165
                {
46571
                {
46166
                  String _key182; // required
46572
                  String _key186; // required
46167
                  String _val183; // required
46573
                  String _val187; // required
46168
                  _key182 = iprot.readString();
46574
                  _key186 = iprot.readString();
46169
                  _val183 = iprot.readString();
46575
                  _val187 = iprot.readString();
46170
                  this.local_connected_orders.put(_key182, _val183);
46576
                  this.local_connected_orders.put(_key186, _val187);
46171
                }
46577
                }
46172
                iprot.readMapEnd();
46578
                iprot.readMapEnd();
46173
              }
46579
              }
46174
            } else { 
46580
            } else { 
46175
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46581
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46193... Line 46599...
46193
      oprot.writeFieldEnd();
46599
      oprot.writeFieldEnd();
46194
      if (this.local_connected_orders != null) {
46600
      if (this.local_connected_orders != null) {
46195
        oprot.writeFieldBegin(LOCAL_CONNECTED_ORDERS_FIELD_DESC);
46601
        oprot.writeFieldBegin(LOCAL_CONNECTED_ORDERS_FIELD_DESC);
46196
        {
46602
        {
46197
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.local_connected_orders.size()));
46603
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.local_connected_orders.size()));
46198
          for (Map.Entry<String, String> _iter184 : this.local_connected_orders.entrySet())
46604
          for (Map.Entry<String, String> _iter188 : this.local_connected_orders.entrySet())
46199
          {
46605
          {
46200
            oprot.writeString(_iter184.getKey());
46606
            oprot.writeString(_iter188.getKey());
46201
            oprot.writeString(_iter184.getValue());
46607
            oprot.writeString(_iter188.getValue());
46202
          }
46608
          }
46203
          oprot.writeMapEnd();
46609
          oprot.writeMapEnd();
46204
        }
46610
        }
46205
        oprot.writeFieldEnd();
46611
        oprot.writeFieldEnd();
46206
      }
46612
      }
Line 47086... Line 47492...
47086
        }
47492
        }
47087
        switch (field.id) {
47493
        switch (field.id) {
47088
          case 0: // SUCCESS
47494
          case 0: // SUCCESS
47089
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47495
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47090
              {
47496
              {
47091
                org.apache.thrift.protocol.TList _list185 = iprot.readListBegin();
47497
                org.apache.thrift.protocol.TList _list189 = iprot.readListBegin();
47092
                this.success = new ArrayList<Order>(_list185.size);
47498
                this.success = new ArrayList<Order>(_list189.size);
47093
                for (int _i186 = 0; _i186 < _list185.size; ++_i186)
47499
                for (int _i190 = 0; _i190 < _list189.size; ++_i190)
47094
                {
47500
                {
47095
                  Order _elem187; // required
47501
                  Order _elem191; // required
47096
                  _elem187 = new Order();
47502
                  _elem191 = new Order();
47097
                  _elem187.read(iprot);
47503
                  _elem191.read(iprot);
47098
                  this.success.add(_elem187);
47504
                  this.success.add(_elem191);
47099
                }
47505
                }
47100
                iprot.readListEnd();
47506
                iprot.readListEnd();
47101
              }
47507
              }
47102
            } else { 
47508
            } else { 
47103
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47509
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47117... Line 47523...
47117
 
47523
 
47118
      if (this.isSetSuccess()) {
47524
      if (this.isSetSuccess()) {
47119
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47525
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47120
        {
47526
        {
47121
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47527
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47122
          for (Order _iter188 : this.success)
47528
          for (Order _iter192 : this.success)
47123
          {
47529
          {
47124
            _iter188.write(oprot);
47530
            _iter192.write(oprot);
47125
          }
47531
          }
47126
          oprot.writeListEnd();
47532
          oprot.writeListEnd();
47127
        }
47533
        }
47128
        oprot.writeFieldEnd();
47534
        oprot.writeFieldEnd();
47129
      }
47535
      }
Line 47501... Line 47907...
47501
            }
47907
            }
47502
            break;
47908
            break;
47503
          case 2: // DESTINATION_CITY_REACHED_ORDERS
47909
          case 2: // DESTINATION_CITY_REACHED_ORDERS
47504
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
47910
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
47505
              {
47911
              {
47506
                org.apache.thrift.protocol.TMap _map189 = iprot.readMapBegin();
47912
                org.apache.thrift.protocol.TMap _map193 = iprot.readMapBegin();
47507
                this.destination_city_reached_orders = new HashMap<String,String>(2*_map189.size);
47913
                this.destination_city_reached_orders = new HashMap<String,String>(2*_map193.size);
47508
                for (int _i190 = 0; _i190 < _map189.size; ++_i190)
47914
                for (int _i194 = 0; _i194 < _map193.size; ++_i194)
47509
                {
47915
                {
47510
                  String _key191; // required
47916
                  String _key195; // required
47511
                  String _val192; // required
47917
                  String _val196; // required
47512
                  _key191 = iprot.readString();
47918
                  _key195 = iprot.readString();
47513
                  _val192 = iprot.readString();
47919
                  _val196 = iprot.readString();
47514
                  this.destination_city_reached_orders.put(_key191, _val192);
47920
                  this.destination_city_reached_orders.put(_key195, _val196);
47515
                }
47921
                }
47516
                iprot.readMapEnd();
47922
                iprot.readMapEnd();
47517
              }
47923
              }
47518
            } else { 
47924
            } else { 
47519
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47925
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47537... Line 47943...
47537
      oprot.writeFieldEnd();
47943
      oprot.writeFieldEnd();
47538
      if (this.destination_city_reached_orders != null) {
47944
      if (this.destination_city_reached_orders != null) {
47539
        oprot.writeFieldBegin(DESTINATION_CITY_REACHED_ORDERS_FIELD_DESC);
47945
        oprot.writeFieldBegin(DESTINATION_CITY_REACHED_ORDERS_FIELD_DESC);
47540
        {
47946
        {
47541
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.destination_city_reached_orders.size()));
47947
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.destination_city_reached_orders.size()));
47542
          for (Map.Entry<String, String> _iter193 : this.destination_city_reached_orders.entrySet())
47948
          for (Map.Entry<String, String> _iter197 : this.destination_city_reached_orders.entrySet())
47543
          {
47949
          {
47544
            oprot.writeString(_iter193.getKey());
47950
            oprot.writeString(_iter197.getKey());
47545
            oprot.writeString(_iter193.getValue());
47951
            oprot.writeString(_iter197.getValue());
47546
          }
47952
          }
47547
          oprot.writeMapEnd();
47953
          oprot.writeMapEnd();
47548
        }
47954
        }
47549
        oprot.writeFieldEnd();
47955
        oprot.writeFieldEnd();
47550
      }
47956
      }
Line 48220... Line 48626...
48220
            }
48626
            }
48221
            break;
48627
            break;
48222
          case 2: // FIRST_ATDL_ORDERS
48628
          case 2: // FIRST_ATDL_ORDERS
48223
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
48629
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
48224
              {
48630
              {
48225
                org.apache.thrift.protocol.TMap _map194 = iprot.readMapBegin();
48631
                org.apache.thrift.protocol.TMap _map198 = iprot.readMapBegin();
48226
                this.first_atdl_orders = new HashMap<String,String>(2*_map194.size);
48632
                this.first_atdl_orders = new HashMap<String,String>(2*_map198.size);
48227
                for (int _i195 = 0; _i195 < _map194.size; ++_i195)
48633
                for (int _i199 = 0; _i199 < _map198.size; ++_i199)
48228
                {
48634
                {
48229
                  String _key196; // required
48635
                  String _key200; // required
48230
                  String _val197; // required
48636
                  String _val201; // required
48231
                  _key196 = iprot.readString();
48637
                  _key200 = iprot.readString();
48232
                  _val197 = iprot.readString();
48638
                  _val201 = iprot.readString();
48233
                  this.first_atdl_orders.put(_key196, _val197);
48639
                  this.first_atdl_orders.put(_key200, _val201);
48234
                }
48640
                }
48235
                iprot.readMapEnd();
48641
                iprot.readMapEnd();
48236
              }
48642
              }
48237
            } else { 
48643
            } else { 
48238
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48644
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 48256... Line 48662...
48256
      oprot.writeFieldEnd();
48662
      oprot.writeFieldEnd();
48257
      if (this.first_atdl_orders != null) {
48663
      if (this.first_atdl_orders != null) {
48258
        oprot.writeFieldBegin(FIRST_ATDL_ORDERS_FIELD_DESC);
48664
        oprot.writeFieldBegin(FIRST_ATDL_ORDERS_FIELD_DESC);
48259
        {
48665
        {
48260
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.first_atdl_orders.size()));
48666
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.first_atdl_orders.size()));
48261
          for (Map.Entry<String, String> _iter198 : this.first_atdl_orders.entrySet())
48667
          for (Map.Entry<String, String> _iter202 : this.first_atdl_orders.entrySet())
48262
          {
48668
          {
48263
            oprot.writeString(_iter198.getKey());
48669
            oprot.writeString(_iter202.getKey());
48264
            oprot.writeString(_iter198.getValue());
48670
            oprot.writeString(_iter202.getValue());
48265
          }
48671
          }
48266
          oprot.writeMapEnd();
48672
          oprot.writeMapEnd();
48267
        }
48673
        }
48268
        oprot.writeFieldEnd();
48674
        oprot.writeFieldEnd();
48269
      }
48675
      }
Line 49230... Line 49636...
49230
        }
49636
        }
49231
        switch (field.id) {
49637
        switch (field.id) {
49232
          case 0: // SUCCESS
49638
          case 0: // SUCCESS
49233
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49639
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49234
              {
49640
              {
49235
                org.apache.thrift.protocol.TList _list199 = iprot.readListBegin();
49641
                org.apache.thrift.protocol.TList _list203 = iprot.readListBegin();
49236
                this.success = new ArrayList<Order>(_list199.size);
49642
                this.success = new ArrayList<Order>(_list203.size);
49237
                for (int _i200 = 0; _i200 < _list199.size; ++_i200)
49643
                for (int _i204 = 0; _i204 < _list203.size; ++_i204)
49238
                {
49644
                {
49239
                  Order _elem201; // required
49645
                  Order _elem205; // required
49240
                  _elem201 = new Order();
49646
                  _elem205 = new Order();
49241
                  _elem201.read(iprot);
49647
                  _elem205.read(iprot);
49242
                  this.success.add(_elem201);
49648
                  this.success.add(_elem205);
49243
                }
49649
                }
49244
                iprot.readListEnd();
49650
                iprot.readListEnd();
49245
              }
49651
              }
49246
            } else { 
49652
            } else { 
49247
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
49653
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 49261... Line 49667...
49261
 
49667
 
49262
      if (this.isSetSuccess()) {
49668
      if (this.isSetSuccess()) {
49263
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49669
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49264
        {
49670
        {
49265
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49671
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49266
          for (Order _iter202 : this.success)
49672
          for (Order _iter206 : this.success)
49267
          {
49673
          {
49268
            _iter202.write(oprot);
49674
            _iter206.write(oprot);
49269
          }
49675
          }
49270
          oprot.writeListEnd();
49676
          oprot.writeListEnd();
49271
        }
49677
        }
49272
        oprot.writeFieldEnd();
49678
        oprot.writeFieldEnd();
49273
      }
49679
      }
Line 49761... Line 50167...
49761
        }
50167
        }
49762
        switch (field.id) {
50168
        switch (field.id) {
49763
          case 0: // SUCCESS
50169
          case 0: // SUCCESS
49764
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50170
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49765
              {
50171
              {
49766
                org.apache.thrift.protocol.TList _list203 = iprot.readListBegin();
50172
                org.apache.thrift.protocol.TList _list207 = iprot.readListBegin();
49767
                this.success = new ArrayList<Order>(_list203.size);
50173
                this.success = new ArrayList<Order>(_list207.size);
49768
                for (int _i204 = 0; _i204 < _list203.size; ++_i204)
50174
                for (int _i208 = 0; _i208 < _list207.size; ++_i208)
49769
                {
50175
                {
49770
                  Order _elem205; // required
50176
                  Order _elem209; // required
49771
                  _elem205 = new Order();
50177
                  _elem209 = new Order();
49772
                  _elem205.read(iprot);
50178
                  _elem209.read(iprot);
49773
                  this.success.add(_elem205);
50179
                  this.success.add(_elem209);
49774
                }
50180
                }
49775
                iprot.readListEnd();
50181
                iprot.readListEnd();
49776
              }
50182
              }
49777
            } else { 
50183
            } else { 
49778
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
50184
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 49792... Line 50198...
49792
 
50198
 
49793
      if (this.isSetSuccess()) {
50199
      if (this.isSetSuccess()) {
49794
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50200
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49795
        {
50201
        {
49796
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
50202
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49797
          for (Order _iter206 : this.success)
50203
          for (Order _iter210 : this.success)
49798
          {
50204
          {
49799
            _iter206.write(oprot);
50205
            _iter210.write(oprot);
49800
          }
50206
          }
49801
          oprot.writeListEnd();
50207
          oprot.writeListEnd();
49802
        }
50208
        }
49803
        oprot.writeFieldEnd();
50209
        oprot.writeFieldEnd();
49804
      }
50210
      }
Line 55172... Line 55578...
55172
      }
55578
      }
55173
    }
55579
    }
55174
 
55580
 
55175
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
55581
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
55176
      try {
55582
      try {
55177
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
55178
        __isset_bit_vector = new BitSet(1);
-
 
55179
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
55583
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
55180
      } catch (org.apache.thrift.TException te) {
55584
      } catch (org.apache.thrift.TException te) {
55181
        throw new java.io.IOException(te);
55585
        throw new java.io.IOException(te);
55182
      }
55586
      }
55183
    }
55587
    }
Line 56741... Line 57145...
56741
            }
57145
            }
56742
            break;
57146
            break;
56743
          case 2: // PICKUP_DETAILS
57147
          case 2: // PICKUP_DETAILS
56744
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
57148
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
56745
              {
57149
              {
56746
                org.apache.thrift.protocol.TMap _map207 = iprot.readMapBegin();
57150
                org.apache.thrift.protocol.TMap _map211 = iprot.readMapBegin();
56747
                this.pickupDetails = new HashMap<String,String>(2*_map207.size);
57151
                this.pickupDetails = new HashMap<String,String>(2*_map211.size);
56748
                for (int _i208 = 0; _i208 < _map207.size; ++_i208)
57152
                for (int _i212 = 0; _i212 < _map211.size; ++_i212)
56749
                {
57153
                {
56750
                  String _key209; // required
57154
                  String _key213; // required
56751
                  String _val210; // required
57155
                  String _val214; // required
56752
                  _key209 = iprot.readString();
57156
                  _key213 = iprot.readString();
56753
                  _val210 = iprot.readString();
57157
                  _val214 = iprot.readString();
56754
                  this.pickupDetails.put(_key209, _val210);
57158
                  this.pickupDetails.put(_key213, _val214);
56755
                }
57159
                }
56756
                iprot.readMapEnd();
57160
                iprot.readMapEnd();
56757
              }
57161
              }
56758
            } else { 
57162
            } else { 
56759
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57163
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 56777... Line 57181...
56777
      oprot.writeFieldEnd();
57181
      oprot.writeFieldEnd();
56778
      if (this.pickupDetails != null) {
57182
      if (this.pickupDetails != null) {
56779
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
57183
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
56780
        {
57184
        {
56781
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
57185
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
56782
          for (Map.Entry<String, String> _iter211 : this.pickupDetails.entrySet())
57186
          for (Map.Entry<String, String> _iter215 : this.pickupDetails.entrySet())
56783
          {
57187
          {
56784
            oprot.writeString(_iter211.getKey());
57188
            oprot.writeString(_iter215.getKey());
56785
            oprot.writeString(_iter211.getValue());
57189
            oprot.writeString(_iter215.getValue());
56786
          }
57190
          }
56787
          oprot.writeMapEnd();
57191
          oprot.writeMapEnd();
56788
        }
57192
        }
56789
        oprot.writeFieldEnd();
57193
        oprot.writeFieldEnd();
56790
      }
57194
      }
Line 57573... Line 57977...
57573
        }
57977
        }
57574
        switch (field.id) {
57978
        switch (field.id) {
57575
          case 0: // SUCCESS
57979
          case 0: // SUCCESS
57576
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57980
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57577
              {
57981
              {
57578
                org.apache.thrift.protocol.TList _list212 = iprot.readListBegin();
57982
                org.apache.thrift.protocol.TList _list216 = iprot.readListBegin();
57579
                this.success = new ArrayList<Order>(_list212.size);
57983
                this.success = new ArrayList<Order>(_list216.size);
57580
                for (int _i213 = 0; _i213 < _list212.size; ++_i213)
57984
                for (int _i217 = 0; _i217 < _list216.size; ++_i217)
57581
                {
57985
                {
57582
                  Order _elem214; // required
57986
                  Order _elem218; // required
57583
                  _elem214 = new Order();
57987
                  _elem218 = new Order();
57584
                  _elem214.read(iprot);
57988
                  _elem218.read(iprot);
57585
                  this.success.add(_elem214);
57989
                  this.success.add(_elem218);
57586
                }
57990
                }
57587
                iprot.readListEnd();
57991
                iprot.readListEnd();
57588
              }
57992
              }
57589
            } else { 
57993
            } else { 
57590
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57994
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 57604... Line 58008...
57604
 
58008
 
57605
      if (this.isSetSuccess()) {
58009
      if (this.isSetSuccess()) {
57606
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58010
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
57607
        {
58011
        {
57608
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58012
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
57609
          for (Order _iter215 : this.success)
58013
          for (Order _iter219 : this.success)
57610
          {
58014
          {
57611
            _iter215.write(oprot);
58015
            _iter219.write(oprot);
57612
          }
58016
          }
57613
          oprot.writeListEnd();
58017
          oprot.writeListEnd();
57614
        }
58018
        }
57615
        oprot.writeFieldEnd();
58019
        oprot.writeFieldEnd();
57616
      }
58020
      }
Line 57988... Line 58392...
57988
            }
58392
            }
57989
            break;
58393
            break;
57990
          case 2: // PICKUP_DETAILS
58394
          case 2: // PICKUP_DETAILS
57991
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
58395
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
57992
              {
58396
              {
57993
                org.apache.thrift.protocol.TMap _map216 = iprot.readMapBegin();
58397
                org.apache.thrift.protocol.TMap _map220 = iprot.readMapBegin();
57994
                this.pickupDetails = new HashMap<String,String>(2*_map216.size);
58398
                this.pickupDetails = new HashMap<String,String>(2*_map220.size);
57995
                for (int _i217 = 0; _i217 < _map216.size; ++_i217)
58399
                for (int _i221 = 0; _i221 < _map220.size; ++_i221)
57996
                {
58400
                {
57997
                  String _key218; // required
58401
                  String _key222; // required
57998
                  String _val219; // required
58402
                  String _val223; // required
57999
                  _key218 = iprot.readString();
58403
                  _key222 = iprot.readString();
58000
                  _val219 = iprot.readString();
58404
                  _val223 = iprot.readString();
58001
                  this.pickupDetails.put(_key218, _val219);
58405
                  this.pickupDetails.put(_key222, _val223);
58002
                }
58406
                }
58003
                iprot.readMapEnd();
58407
                iprot.readMapEnd();
58004
              }
58408
              }
58005
            } else { 
58409
            } else { 
58006
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58410
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 58024... Line 58428...
58024
      oprot.writeFieldEnd();
58428
      oprot.writeFieldEnd();
58025
      if (this.pickupDetails != null) {
58429
      if (this.pickupDetails != null) {
58026
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
58430
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
58027
        {
58431
        {
58028
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
58432
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
58029
          for (Map.Entry<String, String> _iter220 : this.pickupDetails.entrySet())
58433
          for (Map.Entry<String, String> _iter224 : this.pickupDetails.entrySet())
58030
          {
58434
          {
58031
            oprot.writeString(_iter220.getKey());
58435
            oprot.writeString(_iter224.getKey());
58032
            oprot.writeString(_iter220.getValue());
58436
            oprot.writeString(_iter224.getValue());
58033
          }
58437
          }
58034
          oprot.writeMapEnd();
58438
          oprot.writeMapEnd();
58035
        }
58439
        }
58036
        oprot.writeFieldEnd();
58440
        oprot.writeFieldEnd();
58037
      }
58441
      }
Line 58820... Line 59224...
58820
        }
59224
        }
58821
        switch (field.id) {
59225
        switch (field.id) {
58822
          case 0: // SUCCESS
59226
          case 0: // SUCCESS
58823
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59227
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58824
              {
59228
              {
58825
                org.apache.thrift.protocol.TList _list221 = iprot.readListBegin();
59229
                org.apache.thrift.protocol.TList _list225 = iprot.readListBegin();
58826
                this.success = new ArrayList<Order>(_list221.size);
59230
                this.success = new ArrayList<Order>(_list225.size);
58827
                for (int _i222 = 0; _i222 < _list221.size; ++_i222)
59231
                for (int _i226 = 0; _i226 < _list225.size; ++_i226)
58828
                {
59232
                {
58829
                  Order _elem223; // required
59233
                  Order _elem227; // required
58830
                  _elem223 = new Order();
59234
                  _elem227 = new Order();
58831
                  _elem223.read(iprot);
59235
                  _elem227.read(iprot);
58832
                  this.success.add(_elem223);
59236
                  this.success.add(_elem227);
58833
                }
59237
                }
58834
                iprot.readListEnd();
59238
                iprot.readListEnd();
58835
              }
59239
              }
58836
            } else { 
59240
            } else { 
58837
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
59241
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 58851... Line 59255...
58851
 
59255
 
58852
      if (this.isSetSuccess()) {
59256
      if (this.isSetSuccess()) {
58853
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59257
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58854
        {
59258
        {
58855
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
59259
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58856
          for (Order _iter224 : this.success)
59260
          for (Order _iter228 : this.success)
58857
          {
59261
          {
58858
            _iter224.write(oprot);
59262
            _iter228.write(oprot);
58859
          }
59263
          }
58860
          oprot.writeListEnd();
59264
          oprot.writeListEnd();
58861
        }
59265
        }
58862
        oprot.writeFieldEnd();
59266
        oprot.writeFieldEnd();
58863
      }
59267
      }
Line 60024... Line 60428...
60024
      }
60428
      }
60025
    }
60429
    }
60026
 
60430
 
60027
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
60431
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
60028
      try {
60432
      try {
60029
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
60030
        __isset_bit_vector = new BitSet(1);
-
 
60031
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
60433
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
60032
      } catch (org.apache.thrift.TException te) {
60434
      } catch (org.apache.thrift.TException te) {
60033
        throw new java.io.IOException(te);
60435
        throw new java.io.IOException(te);
60034
      }
60436
      }
60035
    }
60437
    }
Line 63403... Line 63805...
63403
        }
63805
        }
63404
        switch (field.id) {
63806
        switch (field.id) {
63405
          case 0: // SUCCESS
63807
          case 0: // SUCCESS
63406
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63808
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63407
              {
63809
              {
63408
                org.apache.thrift.protocol.TList _list225 = iprot.readListBegin();
63810
                org.apache.thrift.protocol.TList _list229 = iprot.readListBegin();
63409
                this.success = new ArrayList<ReturnOrder>(_list225.size);
63811
                this.success = new ArrayList<ReturnOrder>(_list229.size);
63410
                for (int _i226 = 0; _i226 < _list225.size; ++_i226)
63812
                for (int _i230 = 0; _i230 < _list229.size; ++_i230)
63411
                {
63813
                {
63412
                  ReturnOrder _elem227; // required
63814
                  ReturnOrder _elem231; // required
63413
                  _elem227 = new ReturnOrder();
63815
                  _elem231 = new ReturnOrder();
63414
                  _elem227.read(iprot);
63816
                  _elem231.read(iprot);
63415
                  this.success.add(_elem227);
63817
                  this.success.add(_elem231);
63416
                }
63818
                }
63417
                iprot.readListEnd();
63819
                iprot.readListEnd();
63418
              }
63820
              }
63419
            } else { 
63821
            } else { 
63420
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
63822
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 63434... Line 63836...
63434
 
63836
 
63435
      if (this.isSetSuccess()) {
63837
      if (this.isSetSuccess()) {
63436
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
63838
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
63437
        {
63839
        {
63438
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
63840
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
63439
          for (ReturnOrder _iter228 : this.success)
63841
          for (ReturnOrder _iter232 : this.success)
63440
          {
63842
          {
63441
            _iter228.write(oprot);
63843
            _iter232.write(oprot);
63442
          }
63844
          }
63443
          oprot.writeListEnd();
63845
          oprot.writeListEnd();
63444
        }
63846
        }
63445
        oprot.writeFieldEnd();
63847
        oprot.writeFieldEnd();
63446
      }
63848
      }
Line 64194... Line 64596...
64194
        }
64596
        }
64195
        switch (field.id) {
64597
        switch (field.id) {
64196
          case 0: // SUCCESS
64598
          case 0: // SUCCESS
64197
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
64599
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
64198
              {
64600
              {
64199
                org.apache.thrift.protocol.TList _list229 = iprot.readListBegin();
64601
                org.apache.thrift.protocol.TList _list233 = iprot.readListBegin();
64200
                this.success = new ArrayList<ReturnOrder>(_list229.size);
64602
                this.success = new ArrayList<ReturnOrder>(_list233.size);
64201
                for (int _i230 = 0; _i230 < _list229.size; ++_i230)
64603
                for (int _i234 = 0; _i234 < _list233.size; ++_i234)
64202
                {
64604
                {
64203
                  ReturnOrder _elem231; // required
64605
                  ReturnOrder _elem235; // required
64204
                  _elem231 = new ReturnOrder();
64606
                  _elem235 = new ReturnOrder();
64205
                  _elem231.read(iprot);
64607
                  _elem235.read(iprot);
64206
                  this.success.add(_elem231);
64608
                  this.success.add(_elem235);
64207
                }
64609
                }
64208
                iprot.readListEnd();
64610
                iprot.readListEnd();
64209
              }
64611
              }
64210
            } else { 
64612
            } else { 
64211
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
64613
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 64225... Line 64627...
64225
 
64627
 
64226
      if (this.isSetSuccess()) {
64628
      if (this.isSetSuccess()) {
64227
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
64629
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
64228
        {
64630
        {
64229
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
64631
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
64230
          for (ReturnOrder _iter232 : this.success)
64632
          for (ReturnOrder _iter236 : this.success)
64231
          {
64633
          {
64232
            _iter232.write(oprot);
64634
            _iter236.write(oprot);
64233
          }
64635
          }
64234
          oprot.writeListEnd();
64636
          oprot.writeListEnd();
64235
        }
64637
        }
64236
        oprot.writeFieldEnd();
64638
        oprot.writeFieldEnd();
64237
      }
64639
      }
Line 69212... Line 69614...
69212
        }
69614
        }
69213
        switch (field.id) {
69615
        switch (field.id) {
69214
          case 1: // COLLECTED_AMOUNT_MAP
69616
          case 1: // COLLECTED_AMOUNT_MAP
69215
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
69617
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
69216
              {
69618
              {
69217
                org.apache.thrift.protocol.TMap _map233 = iprot.readMapBegin();
69619
                org.apache.thrift.protocol.TMap _map237 = iprot.readMapBegin();
69218
                this.collectedAmountMap = new HashMap<String,Double>(2*_map233.size);
69620
                this.collectedAmountMap = new HashMap<String,Double>(2*_map237.size);
69219
                for (int _i234 = 0; _i234 < _map233.size; ++_i234)
69621
                for (int _i238 = 0; _i238 < _map237.size; ++_i238)
69220
                {
69622
                {
69221
                  String _key235; // required
69623
                  String _key239; // required
69222
                  double _val236; // required
69624
                  double _val240; // required
69223
                  _key235 = iprot.readString();
69625
                  _key239 = iprot.readString();
69224
                  _val236 = iprot.readDouble();
69626
                  _val240 = iprot.readDouble();
69225
                  this.collectedAmountMap.put(_key235, _val236);
69627
                  this.collectedAmountMap.put(_key239, _val240);
69226
                }
69628
                }
69227
                iprot.readMapEnd();
69629
                iprot.readMapEnd();
69228
              }
69630
              }
69229
            } else { 
69631
            } else { 
69230
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
69632
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 69267... Line 69669...
69267
      oprot.writeStructBegin(STRUCT_DESC);
69669
      oprot.writeStructBegin(STRUCT_DESC);
69268
      if (this.collectedAmountMap != null) {
69670
      if (this.collectedAmountMap != null) {
69269
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
69671
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
69270
        {
69672
        {
69271
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
69673
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
69272
          for (Map.Entry<String, Double> _iter237 : this.collectedAmountMap.entrySet())
69674
          for (Map.Entry<String, Double> _iter241 : this.collectedAmountMap.entrySet())
69273
          {
69675
          {
69274
            oprot.writeString(_iter237.getKey());
69676
            oprot.writeString(_iter241.getKey());
69275
            oprot.writeDouble(_iter237.getValue());
69677
            oprot.writeDouble(_iter241.getValue());
69276
          }
69678
          }
69277
          oprot.writeMapEnd();
69679
          oprot.writeMapEnd();
69278
        }
69680
        }
69279
        oprot.writeFieldEnd();
69681
        oprot.writeFieldEnd();
69280
      }
69682
      }
Line 69674... Line 70076...
69674
        }
70076
        }
69675
        switch (field.id) {
70077
        switch (field.id) {
69676
          case 0: // SUCCESS
70078
          case 0: // SUCCESS
69677
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
70079
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
69678
              {
70080
              {
69679
                org.apache.thrift.protocol.TMap _map238 = iprot.readMapBegin();
70081
                org.apache.thrift.protocol.TMap _map242 = iprot.readMapBegin();
69680
                this.success = new HashMap<String,String>(2*_map238.size);
70082
                this.success = new HashMap<String,String>(2*_map242.size);
69681
                for (int _i239 = 0; _i239 < _map238.size; ++_i239)
70083
                for (int _i243 = 0; _i243 < _map242.size; ++_i243)
69682
                {
70084
                {
69683
                  String _key240; // required
70085
                  String _key244; // required
69684
                  String _val241; // required
70086
                  String _val245; // required
69685
                  _key240 = iprot.readString();
70087
                  _key244 = iprot.readString();
69686
                  _val241 = iprot.readString();
70088
                  _val245 = iprot.readString();
69687
                  this.success.put(_key240, _val241);
70089
                  this.success.put(_key244, _val245);
69688
                }
70090
                }
69689
                iprot.readMapEnd();
70091
                iprot.readMapEnd();
69690
              }
70092
              }
69691
            } else { 
70093
            } else { 
69692
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
70094
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 69714... Line 70116...
69714
 
70116
 
69715
      if (this.isSetSuccess()) {
70117
      if (this.isSetSuccess()) {
69716
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70118
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
69717
        {
70119
        {
69718
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
70120
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
69719
          for (Map.Entry<String, String> _iter242 : this.success.entrySet())
70121
          for (Map.Entry<String, String> _iter246 : this.success.entrySet())
69720
          {
70122
          {
69721
            oprot.writeString(_iter242.getKey());
70123
            oprot.writeString(_iter246.getKey());
69722
            oprot.writeString(_iter242.getValue());
70124
            oprot.writeString(_iter246.getValue());
69723
          }
70125
          }
69724
          oprot.writeMapEnd();
70126
          oprot.writeMapEnd();
69725
        }
70127
        }
69726
        oprot.writeFieldEnd();
70128
        oprot.writeFieldEnd();
69727
      } else if (this.isSetEx()) {
70129
      } else if (this.isSetEx()) {
Line 70333... Line 70735...
70333
        }
70735
        }
70334
        switch (field.id) {
70736
        switch (field.id) {
70335
          case 0: // SUCCESS
70737
          case 0: // SUCCESS
70336
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
70738
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
70337
              {
70739
              {
70338
                org.apache.thrift.protocol.TList _list243 = iprot.readListBegin();
70740
                org.apache.thrift.protocol.TList _list247 = iprot.readListBegin();
70339
                this.success = new ArrayList<Long>(_list243.size);
70741
                this.success = new ArrayList<Long>(_list247.size);
70340
                for (int _i244 = 0; _i244 < _list243.size; ++_i244)
70742
                for (int _i248 = 0; _i248 < _list247.size; ++_i248)
70341
                {
70743
                {
70342
                  long _elem245; // required
70744
                  long _elem249; // required
70343
                  _elem245 = iprot.readI64();
70745
                  _elem249 = iprot.readI64();
70344
                  this.success.add(_elem245);
70746
                  this.success.add(_elem249);
70345
                }
70747
                }
70346
                iprot.readListEnd();
70748
                iprot.readListEnd();
70347
              }
70749
              }
70348
            } else { 
70750
            } else { 
70349
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
70751
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 70363... Line 70765...
70363
 
70765
 
70364
      if (this.isSetSuccess()) {
70766
      if (this.isSetSuccess()) {
70365
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70767
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70366
        {
70768
        {
70367
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
70769
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
70368
          for (long _iter246 : this.success)
70770
          for (long _iter250 : this.success)
70369
          {
70771
          {
70370
            oprot.writeI64(_iter246);
70772
            oprot.writeI64(_iter250);
70371
          }
70773
          }
70372
          oprot.writeListEnd();
70774
          oprot.writeListEnd();
70373
        }
70775
        }
70374
        oprot.writeFieldEnd();
70776
        oprot.writeFieldEnd();
70375
      }
70777
      }
Line 71459... Line 71861...
71459
        }
71861
        }
71460
        switch (field.id) {
71862
        switch (field.id) {
71461
          case 0: // SUCCESS
71863
          case 0: // SUCCESS
71462
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
71864
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
71463
              {
71865
              {
71464
                org.apache.thrift.protocol.TMap _map247 = iprot.readMapBegin();
71866
                org.apache.thrift.protocol.TMap _map251 = iprot.readMapBegin();
71465
                this.success = new HashMap<Long,Long>(2*_map247.size);
71867
                this.success = new HashMap<Long,Long>(2*_map251.size);
71466
                for (int _i248 = 0; _i248 < _map247.size; ++_i248)
71868
                for (int _i252 = 0; _i252 < _map251.size; ++_i252)
71467
                {
71869
                {
71468
                  long _key249; // required
71870
                  long _key253; // required
71469
                  long _val250; // required
71871
                  long _val254; // required
71470
                  _key249 = iprot.readI64();
71872
                  _key253 = iprot.readI64();
71471
                  _val250 = iprot.readI64();
71873
                  _val254 = iprot.readI64();
71472
                  this.success.put(_key249, _val250);
71874
                  this.success.put(_key253, _val254);
71473
                }
71875
                }
71474
                iprot.readMapEnd();
71876
                iprot.readMapEnd();
71475
              }
71877
              }
71476
            } else { 
71878
            } else { 
71477
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
71879
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 71491... Line 71893...
71491
 
71893
 
71492
      if (this.isSetSuccess()) {
71894
      if (this.isSetSuccess()) {
71493
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71895
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71494
        {
71896
        {
71495
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
71897
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
71496
          for (Map.Entry<Long, Long> _iter251 : this.success.entrySet())
71898
          for (Map.Entry<Long, Long> _iter255 : this.success.entrySet())
71497
          {
71899
          {
71498
            oprot.writeI64(_iter251.getKey());
71900
            oprot.writeI64(_iter255.getKey());
71499
            oprot.writeI64(_iter251.getValue());
71901
            oprot.writeI64(_iter255.getValue());
71500
          }
71902
          }
71501
          oprot.writeMapEnd();
71903
          oprot.writeMapEnd();
71502
        }
71904
        }
71503
        oprot.writeFieldEnd();
71905
        oprot.writeFieldEnd();
71504
      }
71906
      }
Line 71792... Line 72194...
71792
        }
72194
        }
71793
        switch (field.id) {
72195
        switch (field.id) {
71794
          case 1: // ITEM_IDS
72196
          case 1: // ITEM_IDS
71795
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72197
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71796
              {
72198
              {
71797
                org.apache.thrift.protocol.TList _list252 = iprot.readListBegin();
72199
                org.apache.thrift.protocol.TList _list256 = iprot.readListBegin();
71798
                this.itemIds = new ArrayList<Long>(_list252.size);
72200
                this.itemIds = new ArrayList<Long>(_list256.size);
71799
                for (int _i253 = 0; _i253 < _list252.size; ++_i253)
72201
                for (int _i257 = 0; _i257 < _list256.size; ++_i257)
71800
                {
72202
                {
71801
                  long _elem254; // required
72203
                  long _elem258; // required
71802
                  _elem254 = iprot.readI64();
72204
                  _elem258 = iprot.readI64();
71803
                  this.itemIds.add(_elem254);
72205
                  this.itemIds.add(_elem258);
71804
                }
72206
                }
71805
                iprot.readListEnd();
72207
                iprot.readListEnd();
71806
              }
72208
              }
71807
            } else { 
72209
            } else { 
71808
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
72210
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 71823... Line 72225...
71823
      oprot.writeStructBegin(STRUCT_DESC);
72225
      oprot.writeStructBegin(STRUCT_DESC);
71824
      if (this.itemIds != null) {
72226
      if (this.itemIds != null) {
71825
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
72227
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
71826
        {
72228
        {
71827
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
72229
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
71828
          for (long _iter255 : this.itemIds)
72230
          for (long _iter259 : this.itemIds)
71829
          {
72231
          {
71830
            oprot.writeI64(_iter255);
72232
            oprot.writeI64(_iter259);
71831
          }
72233
          }
71832
          oprot.writeListEnd();
72234
          oprot.writeListEnd();
71833
        }
72235
        }
71834
        oprot.writeFieldEnd();
72236
        oprot.writeFieldEnd();
71835
      }
72237
      }
Line 72123... Line 72525...
72123
        }
72525
        }
72124
        switch (field.id) {
72526
        switch (field.id) {
72125
          case 0: // SUCCESS
72527
          case 0: // SUCCESS
72126
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72528
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72127
              {
72529
              {
72128
                org.apache.thrift.protocol.TList _list256 = iprot.readListBegin();
72530
                org.apache.thrift.protocol.TList _list260 = iprot.readListBegin();
72129
                this.success = new ArrayList<Order>(_list256.size);
72531
                this.success = new ArrayList<Order>(_list260.size);
72130
                for (int _i257 = 0; _i257 < _list256.size; ++_i257)
72532
                for (int _i261 = 0; _i261 < _list260.size; ++_i261)
72131
                {
72533
                {
72132
                  Order _elem258; // required
72534
                  Order _elem262; // required
72133
                  _elem258 = new Order();
72535
                  _elem262 = new Order();
72134
                  _elem258.read(iprot);
72536
                  _elem262.read(iprot);
72135
                  this.success.add(_elem258);
72537
                  this.success.add(_elem262);
72136
                }
72538
                }
72137
                iprot.readListEnd();
72539
                iprot.readListEnd();
72138
              }
72540
              }
72139
            } else { 
72541
            } else { 
72140
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
72542
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 72154... Line 72556...
72154
 
72556
 
72155
      if (this.isSetSuccess()) {
72557
      if (this.isSetSuccess()) {
72156
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
72558
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
72157
        {
72559
        {
72158
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
72560
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
72159
          for (Order _iter259 : this.success)
72561
          for (Order _iter263 : this.success)
72160
          {
72562
          {
72161
            _iter259.write(oprot);
72563
            _iter263.write(oprot);
72162
          }
72564
          }
72163
          oprot.writeListEnd();
72565
          oprot.writeListEnd();
72164
        }
72566
        }
72165
        oprot.writeFieldEnd();
72567
        oprot.writeFieldEnd();
72166
      }
72568
      }
Line 80112... Line 80514...
80112
        }
80514
        }
80113
        switch (field.id) {
80515
        switch (field.id) {
80114
          case 0: // SUCCESS
80516
          case 0: // SUCCESS
80115
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
80517
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
80116
              {
80518
              {
80117
                org.apache.thrift.protocol.TMap _map260 = iprot.readMapBegin();
80519
                org.apache.thrift.protocol.TMap _map264 = iprot.readMapBegin();
80118
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map260.size);
80520
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map264.size);
80119
                for (int _i261 = 0; _i261 < _map260.size; ++_i261)
80521
                for (int _i265 = 0; _i265 < _map264.size; ++_i265)
80120
                {
80522
                {
80121
                  int _key262; // required
80523
                  int _key266; // required
80122
                  TimeoutSummary _val263; // required
80524
                  TimeoutSummary _val267; // required
80123
                  _key262 = iprot.readI32();
80525
                  _key266 = iprot.readI32();
80124
                  _val263 = new TimeoutSummary();
80526
                  _val267 = new TimeoutSummary();
80125
                  _val263.read(iprot);
80527
                  _val267.read(iprot);
80126
                  this.success.put(_key262, _val263);
80528
                  this.success.put(_key266, _val267);
80127
                }
80529
                }
80128
                iprot.readMapEnd();
80530
                iprot.readMapEnd();
80129
              }
80531
              }
80130
            } else { 
80532
            } else { 
80131
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
80533
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 80153... Line 80555...
80153
 
80555
 
80154
      if (this.isSetSuccess()) {
80556
      if (this.isSetSuccess()) {
80155
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
80557
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
80156
        {
80558
        {
80157
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
80559
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
80158
          for (Map.Entry<Integer, TimeoutSummary> _iter264 : this.success.entrySet())
80560
          for (Map.Entry<Integer, TimeoutSummary> _iter268 : this.success.entrySet())
80159
          {
80561
          {
80160
            oprot.writeI32(_iter264.getKey());
80562
            oprot.writeI32(_iter268.getKey());
80161
            _iter264.getValue().write(oprot);
80563
            _iter268.getValue().write(oprot);
80162
          }
80564
          }
80163
          oprot.writeMapEnd();
80565
          oprot.writeMapEnd();
80164
        }
80566
        }
80165
        oprot.writeFieldEnd();
80567
        oprot.writeFieldEnd();
80166
      } else if (this.isSetEx()) {
80568
      } else if (this.isSetEx()) {
Line 81896... Line 82298...
81896
            }
82298
            }
81897
            break;
82299
            break;
81898
          case 2: // ORDER_STATUS_LIST
82300
          case 2: // ORDER_STATUS_LIST
81899
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
82301
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
81900
              {
82302
              {
81901
                org.apache.thrift.protocol.TList _list265 = iprot.readListBegin();
82303
                org.apache.thrift.protocol.TList _list269 = iprot.readListBegin();
81902
                this.order_status_list = new ArrayList<OrderStatus>(_list265.size);
82304
                this.order_status_list = new ArrayList<OrderStatus>(_list269.size);
81903
                for (int _i266 = 0; _i266 < _list265.size; ++_i266)
82305
                for (int _i270 = 0; _i270 < _list269.size; ++_i270)
81904
                {
82306
                {
81905
                  OrderStatus _elem267; // required
82307
                  OrderStatus _elem271; // required
81906
                  _elem267 = OrderStatus.findByValue(iprot.readI32());
82308
                  _elem271 = OrderStatus.findByValue(iprot.readI32());
81907
                  this.order_status_list.add(_elem267);
82309
                  this.order_status_list.add(_elem271);
81908
                }
82310
                }
81909
                iprot.readListEnd();
82311
                iprot.readListEnd();
81910
              }
82312
              }
81911
            } else { 
82313
            } else { 
81912
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
82314
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 81930... Line 82332...
81930
      oprot.writeFieldEnd();
82332
      oprot.writeFieldEnd();
81931
      if (this.order_status_list != null) {
82333
      if (this.order_status_list != null) {
81932
        oprot.writeFieldBegin(ORDER_STATUS_LIST_FIELD_DESC);
82334
        oprot.writeFieldBegin(ORDER_STATUS_LIST_FIELD_DESC);
81933
        {
82335
        {
81934
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.order_status_list.size()));
82336
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.order_status_list.size()));
81935
          for (OrderStatus _iter268 : this.order_status_list)
82337
          for (OrderStatus _iter272 : this.order_status_list)
81936
          {
82338
          {
81937
            oprot.writeI32(_iter268.getValue());
82339
            oprot.writeI32(_iter272.getValue());
81938
          }
82340
          }
81939
          oprot.writeListEnd();
82341
          oprot.writeListEnd();
81940
        }
82342
        }
81941
        oprot.writeFieldEnd();
82343
        oprot.writeFieldEnd();
81942
      }
82344
      }
Line 82304... Line 82706...
82304
        }
82706
        }
82305
        switch (field.id) {
82707
        switch (field.id) {
82306
          case 0: // SUCCESS
82708
          case 0: // SUCCESS
82307
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
82709
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
82308
              {
82710
              {
82309
                org.apache.thrift.protocol.TList _list269 = iprot.readListBegin();
82711
                org.apache.thrift.protocol.TList _list273 = iprot.readListBegin();
82310
                this.success = new ArrayList<Order>(_list269.size);
82712
                this.success = new ArrayList<Order>(_list273.size);
82311
                for (int _i270 = 0; _i270 < _list269.size; ++_i270)
82713
                for (int _i274 = 0; _i274 < _list273.size; ++_i274)
82312
                {
82714
                {
82313
                  Order _elem271; // required
82715
                  Order _elem275; // required
82314
                  _elem271 = new Order();
82716
                  _elem275 = new Order();
82315
                  _elem271.read(iprot);
82717
                  _elem275.read(iprot);
82316
                  this.success.add(_elem271);
82718
                  this.success.add(_elem275);
82317
                }
82719
                }
82318
                iprot.readListEnd();
82720
                iprot.readListEnd();
82319
              }
82721
              }
82320
            } else { 
82722
            } else { 
82321
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
82723
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 82343... Line 82745...
82343
 
82745
 
82344
      if (this.isSetSuccess()) {
82746
      if (this.isSetSuccess()) {
82345
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
82747
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
82346
        {
82748
        {
82347
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
82749
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
82348
          for (Order _iter272 : this.success)
82750
          for (Order _iter276 : this.success)
82349
          {
82751
          {
82350
            _iter272.write(oprot);
82752
            _iter276.write(oprot);
82351
          }
82753
          }
82352
          oprot.writeListEnd();
82754
          oprot.writeListEnd();
82353
        }
82755
        }
82354
        oprot.writeFieldEnd();
82756
        oprot.writeFieldEnd();
82355
      } else if (this.isSetEx()) {
82757
      } else if (this.isSetEx()) {
Line 83183... Line 83585...
83183
        }
83585
        }
83184
        switch (field.id) {
83586
        switch (field.id) {
83185
          case 0: // SUCCESS
83587
          case 0: // SUCCESS
83186
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
83588
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
83187
              {
83589
              {
83188
                org.apache.thrift.protocol.TList _list273 = iprot.readListBegin();
83590
                org.apache.thrift.protocol.TList _list277 = iprot.readListBegin();
83189
                this.success = new ArrayList<Order>(_list273.size);
83591
                this.success = new ArrayList<Order>(_list277.size);
83190
                for (int _i274 = 0; _i274 < _list273.size; ++_i274)
83592
                for (int _i278 = 0; _i278 < _list277.size; ++_i278)
83191
                {
83593
                {
83192
                  Order _elem275; // required
83594
                  Order _elem279; // required
83193
                  _elem275 = new Order();
83595
                  _elem279 = new Order();
83194
                  _elem275.read(iprot);
83596
                  _elem279.read(iprot);
83195
                  this.success.add(_elem275);
83597
                  this.success.add(_elem279);
83196
                }
83598
                }
83197
                iprot.readListEnd();
83599
                iprot.readListEnd();
83198
              }
83600
              }
83199
            } else { 
83601
            } else { 
83200
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
83602
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 83222... Line 83624...
83222
 
83624
 
83223
      if (this.isSetSuccess()) {
83625
      if (this.isSetSuccess()) {
83224
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
83626
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
83225
        {
83627
        {
83226
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
83628
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
83227
          for (Order _iter276 : this.success)
83629
          for (Order _iter280 : this.success)
83228
          {
83630
          {
83229
            _iter276.write(oprot);
83631
            _iter280.write(oprot);
83230
          }
83632
          }
83231
          oprot.writeListEnd();
83633
          oprot.writeListEnd();
83232
        }
83634
        }
83233
        oprot.writeFieldEnd();
83635
        oprot.writeFieldEnd();
83234
      } else if (this.isSetEx()) {
83636
      } else if (this.isSetEx()) {
Line 83802... Line 84204...
83802
        }
84204
        }
83803
        switch (field.id) {
84205
        switch (field.id) {
83804
          case 0: // SUCCESS
84206
          case 0: // SUCCESS
83805
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
84207
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
83806
              {
84208
              {
83807
                org.apache.thrift.protocol.TList _list277 = iprot.readListBegin();
84209
                org.apache.thrift.protocol.TList _list281 = iprot.readListBegin();
83808
                this.success = new ArrayList<Order>(_list277.size);
84210
                this.success = new ArrayList<Order>(_list281.size);
83809
                for (int _i278 = 0; _i278 < _list277.size; ++_i278)
84211
                for (int _i282 = 0; _i282 < _list281.size; ++_i282)
83810
                {
84212
                {
83811
                  Order _elem279; // required
84213
                  Order _elem283; // required
83812
                  _elem279 = new Order();
84214
                  _elem283 = new Order();
83813
                  _elem279.read(iprot);
84215
                  _elem283.read(iprot);
83814
                  this.success.add(_elem279);
84216
                  this.success.add(_elem283);
83815
                }
84217
                }
83816
                iprot.readListEnd();
84218
                iprot.readListEnd();
83817
              }
84219
              }
83818
            } else { 
84220
            } else { 
83819
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
84221
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 83841... Line 84243...
83841
 
84243
 
83842
      if (this.isSetSuccess()) {
84244
      if (this.isSetSuccess()) {
83843
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
84245
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
83844
        {
84246
        {
83845
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
84247
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
83846
          for (Order _iter280 : this.success)
84248
          for (Order _iter284 : this.success)
83847
          {
84249
          {
83848
            _iter280.write(oprot);
84250
            _iter284.write(oprot);
83849
          }
84251
          }
83850
          oprot.writeListEnd();
84252
          oprot.writeListEnd();
83851
        }
84253
        }
83852
        oprot.writeFieldEnd();
84254
        oprot.writeFieldEnd();
83853
      } else if (this.isSetEx()) {
84255
      } else if (this.isSetEx()) {
Line 84598... Line 85000...
84598
        }
85000
        }
84599
        switch (field.id) {
85001
        switch (field.id) {
84600
          case 0: // SUCCESS
85002
          case 0: // SUCCESS
84601
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
85003
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
84602
              {
85004
              {
84603
                org.apache.thrift.protocol.TList _list281 = iprot.readListBegin();
85005
                org.apache.thrift.protocol.TList _list285 = iprot.readListBegin();
84604
                this.success = new ArrayList<Order>(_list281.size);
85006
                this.success = new ArrayList<Order>(_list285.size);
84605
                for (int _i282 = 0; _i282 < _list281.size; ++_i282)
85007
                for (int _i286 = 0; _i286 < _list285.size; ++_i286)
84606
                {
85008
                {
84607
                  Order _elem283; // required
85009
                  Order _elem287; // required
84608
                  _elem283 = new Order();
85010
                  _elem287 = new Order();
84609
                  _elem283.read(iprot);
85011
                  _elem287.read(iprot);
84610
                  this.success.add(_elem283);
85012
                  this.success.add(_elem287);
84611
                }
85013
                }
84612
                iprot.readListEnd();
85014
                iprot.readListEnd();
84613
              }
85015
              }
84614
            } else { 
85016
            } else { 
84615
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
85017
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 84637... Line 85039...
84637
 
85039
 
84638
      if (this.isSetSuccess()) {
85040
      if (this.isSetSuccess()) {
84639
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
85041
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
84640
        {
85042
        {
84641
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
85043
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
84642
          for (Order _iter284 : this.success)
85044
          for (Order _iter288 : this.success)
84643
          {
85045
          {
84644
            _iter284.write(oprot);
85046
            _iter288.write(oprot);
84645
          }
85047
          }
84646
          oprot.writeListEnd();
85048
          oprot.writeListEnd();
84647
        }
85049
        }
84648
        oprot.writeFieldEnd();
85050
        oprot.writeFieldEnd();
84649
      } else if (this.isSetEx()) {
85051
      } else if (this.isSetEx()) {
Line 84954... Line 85356...
84954
        }
85356
        }
84955
        switch (field.id) {
85357
        switch (field.id) {
84956
          case 1: // MAP_AWBAND_AMOUNT
85358
          case 1: // MAP_AWBAND_AMOUNT
84957
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
85359
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
84958
              {
85360
              {
84959
                org.apache.thrift.protocol.TMap _map285 = iprot.readMapBegin();
85361
                org.apache.thrift.protocol.TMap _map289 = iprot.readMapBegin();
84960
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map285.size);
85362
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map289.size);
84961
                for (int _i286 = 0; _i286 < _map285.size; ++_i286)
85363
                for (int _i290 = 0; _i290 < _map289.size; ++_i290)
84962
                {
85364
                {
84963
                  long _key287; // required
85365
                  long _key291; // required
84964
                  double _val288; // required
85366
                  double _val292; // required
84965
                  _key287 = iprot.readI64();
85367
                  _key291 = iprot.readI64();
84966
                  _val288 = iprot.readDouble();
85368
                  _val292 = iprot.readDouble();
84967
                  this.mapAWBAndAmount.put(_key287, _val288);
85369
                  this.mapAWBAndAmount.put(_key291, _val292);
84968
                }
85370
                }
84969
                iprot.readMapEnd();
85371
                iprot.readMapEnd();
84970
              }
85372
              }
84971
            } else { 
85373
            } else { 
84972
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
85374
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 84987... Line 85389...
84987
      oprot.writeStructBegin(STRUCT_DESC);
85389
      oprot.writeStructBegin(STRUCT_DESC);
84988
      if (this.mapAWBAndAmount != null) {
85390
      if (this.mapAWBAndAmount != null) {
84989
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
85391
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
84990
        {
85392
        {
84991
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
85393
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
84992
          for (Map.Entry<Long, Double> _iter289 : this.mapAWBAndAmount.entrySet())
85394
          for (Map.Entry<Long, Double> _iter293 : this.mapAWBAndAmount.entrySet())
84993
          {
85395
          {
84994
            oprot.writeI64(_iter289.getKey());
85396
            oprot.writeI64(_iter293.getKey());
84995
            oprot.writeDouble(_iter289.getValue());
85397
            oprot.writeDouble(_iter293.getValue());
84996
          }
85398
          }
84997
          oprot.writeMapEnd();
85399
          oprot.writeMapEnd();
84998
        }
85400
        }
84999
        oprot.writeFieldEnd();
85401
        oprot.writeFieldEnd();
85000
      }
85402
      }
Line 89296... Line 89698...
89296
        }
89698
        }
89297
        switch (field.id) {
89699
        switch (field.id) {
89298
          case 0: // SUCCESS
89700
          case 0: // SUCCESS
89299
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
89701
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
89300
              {
89702
              {
89301
                org.apache.thrift.protocol.TMap _map290 = iprot.readMapBegin();
89703
                org.apache.thrift.protocol.TMap _map294 = iprot.readMapBegin();
89302
                this.success = new HashMap<Long,String>(2*_map290.size);
89704
                this.success = new HashMap<Long,String>(2*_map294.size);
89303
                for (int _i291 = 0; _i291 < _map290.size; ++_i291)
89705
                for (int _i295 = 0; _i295 < _map294.size; ++_i295)
89304
                {
89706
                {
89305
                  long _key292; // required
89707
                  long _key296; // required
89306
                  String _val293; // required
89708
                  String _val297; // required
89307
                  _key292 = iprot.readI64();
89709
                  _key296 = iprot.readI64();
89308
                  _val293 = iprot.readString();
89710
                  _val297 = iprot.readString();
89309
                  this.success.put(_key292, _val293);
89711
                  this.success.put(_key296, _val297);
89310
                }
89712
                }
89311
                iprot.readMapEnd();
89713
                iprot.readMapEnd();
89312
              }
89714
              }
89313
            } else { 
89715
            } else { 
89314
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
89716
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 89336... Line 89738...
89336
 
89738
 
89337
      if (this.isSetSuccess()) {
89739
      if (this.isSetSuccess()) {
89338
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
89740
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
89339
        {
89741
        {
89340
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
89742
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
89341
          for (Map.Entry<Long, String> _iter294 : this.success.entrySet())
89743
          for (Map.Entry<Long, String> _iter298 : this.success.entrySet())
89342
          {
89744
          {
89343
            oprot.writeI64(_iter294.getKey());
89745
            oprot.writeI64(_iter298.getKey());
89344
            oprot.writeString(_iter294.getValue());
89746
            oprot.writeString(_iter298.getValue());
89345
          }
89747
          }
89346
          oprot.writeMapEnd();
89748
          oprot.writeMapEnd();
89347
        }
89749
        }
89348
        oprot.writeFieldEnd();
89750
        oprot.writeFieldEnd();
89349
      } else if (this.isSetEx()) {
89751
      } else if (this.isSetEx()) {
Line 91440... Line 91842...
91440
        }
91842
        }
91441
        switch (field.id) {
91843
        switch (field.id) {
91442
          case 0: // SUCCESS
91844
          case 0: // SUCCESS
91443
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
91845
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
91444
              {
91846
              {
91445
                org.apache.thrift.protocol.TList _list295 = iprot.readListBegin();
91847
                org.apache.thrift.protocol.TList _list299 = iprot.readListBegin();
91446
                this.success = new ArrayList<PaymentSettlement>(_list295.size);
91848
                this.success = new ArrayList<PaymentSettlement>(_list299.size);
91447
                for (int _i296 = 0; _i296 < _list295.size; ++_i296)
91849
                for (int _i300 = 0; _i300 < _list299.size; ++_i300)
91448
                {
91850
                {
91449
                  PaymentSettlement _elem297; // required
91851
                  PaymentSettlement _elem301; // required
91450
                  _elem297 = new PaymentSettlement();
91852
                  _elem301 = new PaymentSettlement();
91451
                  _elem297.read(iprot);
91853
                  _elem301.read(iprot);
91452
                  this.success.add(_elem297);
91854
                  this.success.add(_elem301);
91453
                }
91855
                }
91454
                iprot.readListEnd();
91856
                iprot.readListEnd();
91455
              }
91857
              }
91456
            } else { 
91858
            } else { 
91457
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
91859
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 91479... Line 91881...
91479
 
91881
 
91480
      if (this.isSetSuccess()) {
91882
      if (this.isSetSuccess()) {
91481
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
91883
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
91482
        {
91884
        {
91483
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
91885
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
91484
          for (PaymentSettlement _iter298 : this.success)
91886
          for (PaymentSettlement _iter302 : this.success)
91485
          {
91887
          {
91486
            _iter298.write(oprot);
91888
            _iter302.write(oprot);
91487
          }
91889
          }
91488
          oprot.writeListEnd();
91890
          oprot.writeListEnd();
91489
        }
91891
        }
91490
        oprot.writeFieldEnd();
91892
        oprot.writeFieldEnd();
91491
      } else if (this.isSetEx()) {
91893
      } else if (this.isSetEx()) {
Line 91791... Line 92193...
91791
        }
92193
        }
91792
        switch (field.id) {
92194
        switch (field.id) {
91793
          case 1: // ORDER_IDS
92195
          case 1: // ORDER_IDS
91794
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
92196
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
91795
              {
92197
              {
91796
                org.apache.thrift.protocol.TList _list299 = iprot.readListBegin();
92198
                org.apache.thrift.protocol.TList _list303 = iprot.readListBegin();
91797
                this.orderIds = new ArrayList<Long>(_list299.size);
92199
                this.orderIds = new ArrayList<Long>(_list303.size);
91798
                for (int _i300 = 0; _i300 < _list299.size; ++_i300)
92200
                for (int _i304 = 0; _i304 < _list303.size; ++_i304)
91799
                {
92201
                {
91800
                  long _elem301; // required
92202
                  long _elem305; // required
91801
                  _elem301 = iprot.readI64();
92203
                  _elem305 = iprot.readI64();
91802
                  this.orderIds.add(_elem301);
92204
                  this.orderIds.add(_elem305);
91803
                }
92205
                }
91804
                iprot.readListEnd();
92206
                iprot.readListEnd();
91805
              }
92207
              }
91806
            } else { 
92208
            } else { 
91807
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
92209
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 91822... Line 92224...
91822
      oprot.writeStructBegin(STRUCT_DESC);
92224
      oprot.writeStructBegin(STRUCT_DESC);
91823
      if (this.orderIds != null) {
92225
      if (this.orderIds != null) {
91824
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
92226
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
91825
        {
92227
        {
91826
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
92228
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
91827
          for (long _iter302 : this.orderIds)
92229
          for (long _iter306 : this.orderIds)
91828
          {
92230
          {
91829
            oprot.writeI64(_iter302);
92231
            oprot.writeI64(_iter306);
91830
          }
92232
          }
91831
          oprot.writeListEnd();
92233
          oprot.writeListEnd();
91832
        }
92234
        }
91833
        oprot.writeFieldEnd();
92235
        oprot.writeFieldEnd();
91834
      }
92236
      }
Line 92190... Line 92592...
92190
        }
92592
        }
92191
        switch (field.id) {
92593
        switch (field.id) {
92192
          case 0: // SUCCESS
92594
          case 0: // SUCCESS
92193
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
92595
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
92194
              {
92596
              {
92195
                org.apache.thrift.protocol.TList _list303 = iprot.readListBegin();
92597
                org.apache.thrift.protocol.TList _list307 = iprot.readListBegin();
92196
                this.success = new ArrayList<Long>(_list303.size);
92598
                this.success = new ArrayList<Long>(_list307.size);
92197
                for (int _i304 = 0; _i304 < _list303.size; ++_i304)
92599
                for (int _i308 = 0; _i308 < _list307.size; ++_i308)
92198
                {
92600
                {
92199
                  long _elem305; // required
92601
                  long _elem309; // required
92200
                  _elem305 = iprot.readI64();
92602
                  _elem309 = iprot.readI64();
92201
                  this.success.add(_elem305);
92603
                  this.success.add(_elem309);
92202
                }
92604
                }
92203
                iprot.readListEnd();
92605
                iprot.readListEnd();
92204
              }
92606
              }
92205
            } else { 
92607
            } else { 
92206
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
92608
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 92228... Line 92630...
92228
 
92630
 
92229
      if (this.isSetSuccess()) {
92631
      if (this.isSetSuccess()) {
92230
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
92632
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
92231
        {
92633
        {
92232
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
92634
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
92233
          for (long _iter306 : this.success)
92635
          for (long _iter310 : this.success)
92234
          {
92636
          {
92235
            oprot.writeI64(_iter306);
92637
            oprot.writeI64(_iter310);
92236
          }
92638
          }
92237
          oprot.writeListEnd();
92639
          oprot.writeListEnd();
92238
        }
92640
        }
92239
        oprot.writeFieldEnd();
92641
        oprot.writeFieldEnd();
92240
      } else if (this.isSetEx()) {
92642
      } else if (this.isSetEx()) {
Line 93151... Line 93553...
93151
        }
93553
        }
93152
        switch (field.id) {
93554
        switch (field.id) {
93153
          case 0: // SUCCESS
93555
          case 0: // SUCCESS
93154
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
93556
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
93155
              {
93557
              {
93156
                org.apache.thrift.protocol.TList _list307 = iprot.readListBegin();
93558
                org.apache.thrift.protocol.TList _list311 = iprot.readListBegin();
93157
                this.success = new ArrayList<Order>(_list307.size);
93559
                this.success = new ArrayList<Order>(_list311.size);
93158
                for (int _i308 = 0; _i308 < _list307.size; ++_i308)
93560
                for (int _i312 = 0; _i312 < _list311.size; ++_i312)
93159
                {
93561
                {
93160
                  Order _elem309; // required
93562
                  Order _elem313; // required
93161
                  _elem309 = new Order();
93563
                  _elem313 = new Order();
93162
                  _elem309.read(iprot);
93564
                  _elem313.read(iprot);
93163
                  this.success.add(_elem309);
93565
                  this.success.add(_elem313);
93164
                }
93566
                }
93165
                iprot.readListEnd();
93567
                iprot.readListEnd();
93166
              }
93568
              }
93167
            } else { 
93569
            } else { 
93168
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
93570
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 93190... Line 93592...
93190
 
93592
 
93191
      if (this.isSetSuccess()) {
93593
      if (this.isSetSuccess()) {
93192
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
93594
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
93193
        {
93595
        {
93194
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
93596
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
93195
          for (Order _iter310 : this.success)
93597
          for (Order _iter314 : this.success)
93196
          {
93598
          {
93197
            _iter310.write(oprot);
93599
            _iter314.write(oprot);
93198
          }
93600
          }
93199
          oprot.writeListEnd();
93601
          oprot.writeListEnd();
93200
        }
93602
        }
93201
        oprot.writeFieldEnd();
93603
        oprot.writeFieldEnd();
93202
      } else if (this.isSetEx()) {
93604
      } else if (this.isSetEx()) {
Line 93952... Line 94354...
93952
        }
94354
        }
93953
        switch (field.id) {
94355
        switch (field.id) {
93954
          case 0: // SUCCESS
94356
          case 0: // SUCCESS
93955
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
94357
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
93956
              {
94358
              {
93957
                org.apache.thrift.protocol.TMap _map311 = iprot.readMapBegin();
94359
                org.apache.thrift.protocol.TMap _map315 = iprot.readMapBegin();
93958
                this.success = new HashMap<Long,Long>(2*_map311.size);
94360
                this.success = new HashMap<Long,Long>(2*_map315.size);
93959
                for (int _i312 = 0; _i312 < _map311.size; ++_i312)
94361
                for (int _i316 = 0; _i316 < _map315.size; ++_i316)
93960
                {
94362
                {
93961
                  long _key313; // required
94363
                  long _key317; // required
93962
                  long _val314; // required
94364
                  long _val318; // required
93963
                  _key313 = iprot.readI64();
94365
                  _key317 = iprot.readI64();
93964
                  _val314 = iprot.readI64();
94366
                  _val318 = iprot.readI64();
93965
                  this.success.put(_key313, _val314);
94367
                  this.success.put(_key317, _val318);
93966
                }
94368
                }
93967
                iprot.readMapEnd();
94369
                iprot.readMapEnd();
93968
              }
94370
              }
93969
            } else { 
94371
            } else { 
93970
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
94372
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 93992... Line 94394...
93992
 
94394
 
93993
      if (this.isSetSuccess()) {
94395
      if (this.isSetSuccess()) {
93994
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
94396
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
93995
        {
94397
        {
93996
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
94398
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
93997
          for (Map.Entry<Long, Long> _iter315 : this.success.entrySet())
94399
          for (Map.Entry<Long, Long> _iter319 : this.success.entrySet())
93998
          {
94400
          {
93999
            oprot.writeI64(_iter315.getKey());
94401
            oprot.writeI64(_iter319.getKey());
94000
            oprot.writeI64(_iter315.getValue());
94402
            oprot.writeI64(_iter319.getValue());
94001
          }
94403
          }
94002
          oprot.writeMapEnd();
94404
          oprot.writeMapEnd();
94003
        }
94405
        }
94004
        oprot.writeFieldEnd();
94406
        oprot.writeFieldEnd();
94005
      } else if (this.isSetEx()) {
94407
      } else if (this.isSetEx()) {
Line 94833... Line 95235...
94833
        }
95235
        }
94834
        switch (field.id) {
95236
        switch (field.id) {
94835
          case 0: // SUCCESS
95237
          case 0: // SUCCESS
94836
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
95238
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
94837
              {
95239
              {
94838
                org.apache.thrift.protocol.TList _list316 = iprot.readListBegin();
95240
                org.apache.thrift.protocol.TList _list320 = iprot.readListBegin();
94839
                this.success = new ArrayList<Long>(_list316.size);
95241
                this.success = new ArrayList<Long>(_list320.size);
94840
                for (int _i317 = 0; _i317 < _list316.size; ++_i317)
95242
                for (int _i321 = 0; _i321 < _list320.size; ++_i321)
94841
                {
95243
                {
94842
                  long _elem318; // required
95244
                  long _elem322; // required
94843
                  _elem318 = iprot.readI64();
95245
                  _elem322 = iprot.readI64();
94844
                  this.success.add(_elem318);
95246
                  this.success.add(_elem322);
94845
                }
95247
                }
94846
                iprot.readListEnd();
95248
                iprot.readListEnd();
94847
              }
95249
              }
94848
            } else { 
95250
            } else { 
94849
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
95251
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 94871... Line 95273...
94871
 
95273
 
94872
      if (this.isSetSuccess()) {
95274
      if (this.isSetSuccess()) {
94873
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
95275
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
94874
        {
95276
        {
94875
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
95277
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
94876
          for (long _iter319 : this.success)
95278
          for (long _iter323 : this.success)
94877
          {
95279
          {
94878
            oprot.writeI64(_iter319);
95280
            oprot.writeI64(_iter323);
94879
          }
95281
          }
94880
          oprot.writeListEnd();
95282
          oprot.writeListEnd();
94881
        }
95283
        }
94882
        oprot.writeFieldEnd();
95284
        oprot.writeFieldEnd();
94883
      } else if (this.isSetEx()) {
95285
      } else if (this.isSetEx()) {
Line 97303... Line 97705...
97303
        }
97705
        }
97304
        switch (field.id) {
97706
        switch (field.id) {
97305
          case 0: // SUCCESS
97707
          case 0: // SUCCESS
97306
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
97708
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
97307
              {
97709
              {
97308
                org.apache.thrift.protocol.TList _list320 = iprot.readListBegin();
97710
                org.apache.thrift.protocol.TList _list324 = iprot.readListBegin();
97309
                this.success = new ArrayList<Order>(_list320.size);
97711
                this.success = new ArrayList<Order>(_list324.size);
97310
                for (int _i321 = 0; _i321 < _list320.size; ++_i321)
97712
                for (int _i325 = 0; _i325 < _list324.size; ++_i325)
97311
                {
97713
                {
97312
                  Order _elem322; // required
97714
                  Order _elem326; // required
97313
                  _elem322 = new Order();
97715
                  _elem326 = new Order();
97314
                  _elem322.read(iprot);
97716
                  _elem326.read(iprot);
97315
                  this.success.add(_elem322);
97717
                  this.success.add(_elem326);
97316
                }
97718
                }
97317
                iprot.readListEnd();
97719
                iprot.readListEnd();
97318
              }
97720
              }
97319
            } else { 
97721
            } else { 
97320
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
97722
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 97342... Line 97744...
97342
 
97744
 
97343
      if (this.isSetSuccess()) {
97745
      if (this.isSetSuccess()) {
97344
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
97746
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
97345
        {
97747
        {
97346
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
97748
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
97347
          for (Order _iter323 : this.success)
97749
          for (Order _iter327 : this.success)
97348
          {
97750
          {
97349
            _iter323.write(oprot);
97751
            _iter327.write(oprot);
97350
          }
97752
          }
97351
          oprot.writeListEnd();
97753
          oprot.writeListEnd();
97352
        }
97754
        }
97353
        oprot.writeFieldEnd();
97755
        oprot.writeFieldEnd();
97354
      } else if (this.isSetEx()) {
97756
      } else if (this.isSetEx()) {
Line 98031... Line 98433...
98031
        }
98433
        }
98032
        switch (field.id) {
98434
        switch (field.id) {
98033
          case 0: // SUCCESS
98435
          case 0: // SUCCESS
98034
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
98436
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
98035
              {
98437
              {
98036
                org.apache.thrift.protocol.TList _list324 = iprot.readListBegin();
98438
                org.apache.thrift.protocol.TList _list328 = iprot.readListBegin();
98037
                this.success = new ArrayList<CODVerificationAgent>(_list324.size);
98439
                this.success = new ArrayList<CODVerificationAgent>(_list328.size);
98038
                for (int _i325 = 0; _i325 < _list324.size; ++_i325)
98440
                for (int _i329 = 0; _i329 < _list328.size; ++_i329)
98039
                {
98441
                {
98040
                  CODVerificationAgent _elem326; // required
98442
                  CODVerificationAgent _elem330; // required
98041
                  _elem326 = new CODVerificationAgent();
98443
                  _elem330 = new CODVerificationAgent();
98042
                  _elem326.read(iprot);
98444
                  _elem330.read(iprot);
98043
                  this.success.add(_elem326);
98445
                  this.success.add(_elem330);
98044
                }
98446
                }
98045
                iprot.readListEnd();
98447
                iprot.readListEnd();
98046
              }
98448
              }
98047
            } else { 
98449
            } else { 
98048
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
98450
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 98062... Line 98464...
98062
 
98464
 
98063
      if (this.isSetSuccess()) {
98465
      if (this.isSetSuccess()) {
98064
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
98466
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
98065
        {
98467
        {
98066
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
98468
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
98067
          for (CODVerificationAgent _iter327 : this.success)
98469
          for (CODVerificationAgent _iter331 : this.success)
98068
          {
98470
          {
98069
            _iter327.write(oprot);
98471
            _iter331.write(oprot);
98070
          }
98472
          }
98071
          oprot.writeListEnd();
98473
          oprot.writeListEnd();
98072
        }
98474
        }
98073
        oprot.writeFieldEnd();
98475
        oprot.writeFieldEnd();
98074
      }
98476
      }
Line 98656... Line 99058...
98656
        }
99058
        }
98657
        switch (field.id) {
99059
        switch (field.id) {
98658
          case 0: // SUCCESS
99060
          case 0: // SUCCESS
98659
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
99061
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
98660
              {
99062
              {
98661
                org.apache.thrift.protocol.TList _list328 = iprot.readListBegin();
99063
                org.apache.thrift.protocol.TList _list332 = iprot.readListBegin();
98662
                this.success = new ArrayList<Attribute>(_list328.size);
99064
                this.success = new ArrayList<Attribute>(_list332.size);
98663
                for (int _i329 = 0; _i329 < _list328.size; ++_i329)
99065
                for (int _i333 = 0; _i333 < _list332.size; ++_i333)
98664
                {
99066
                {
98665
                  Attribute _elem330; // required
99067
                  Attribute _elem334; // required
98666
                  _elem330 = new Attribute();
99068
                  _elem334 = new Attribute();
98667
                  _elem330.read(iprot);
99069
                  _elem334.read(iprot);
98668
                  this.success.add(_elem330);
99070
                  this.success.add(_elem334);
98669
                }
99071
                }
98670
                iprot.readListEnd();
99072
                iprot.readListEnd();
98671
              }
99073
              }
98672
            } else { 
99074
            } else { 
98673
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
99075
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 98687... Line 99089...
98687
 
99089
 
98688
      if (this.isSetSuccess()) {
99090
      if (this.isSetSuccess()) {
98689
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
99091
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
98690
        {
99092
        {
98691
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
99093
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
98692
          for (Attribute _iter331 : this.success)
99094
          for (Attribute _iter335 : this.success)
98693
          {
99095
          {
98694
            _iter331.write(oprot);
99096
            _iter335.write(oprot);
98695
          }
99097
          }
98696
          oprot.writeListEnd();
99098
          oprot.writeListEnd();
98697
        }
99099
        }
98698
        oprot.writeFieldEnd();
99100
        oprot.writeFieldEnd();
98699
      }
99101
      }
Line 99066... Line 99468...
99066
            }
99468
            }
99067
            break;
99469
            break;
99068
          case -1: // ATTRIBUTES
99470
          case -1: // ATTRIBUTES
99069
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
99471
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
99070
              {
99472
              {
99071
                org.apache.thrift.protocol.TList _list332 = iprot.readListBegin();
99473
                org.apache.thrift.protocol.TList _list336 = iprot.readListBegin();
99072
                this.attributes = new ArrayList<Attribute>(_list332.size);
99474
                this.attributes = new ArrayList<Attribute>(_list336.size);
99073
                for (int _i333 = 0; _i333 < _list332.size; ++_i333)
99475
                for (int _i337 = 0; _i337 < _list336.size; ++_i337)
99074
                {
99476
                {
99075
                  Attribute _elem334; // required
99477
                  Attribute _elem338; // required
99076
                  _elem334 = new Attribute();
99478
                  _elem338 = new Attribute();
99077
                  _elem334.read(iprot);
99479
                  _elem338.read(iprot);
99078
                  this.attributes.add(_elem334);
99480
                  this.attributes.add(_elem338);
99079
                }
99481
                }
99080
                iprot.readListEnd();
99482
                iprot.readListEnd();
99081
              }
99483
              }
99082
            } else { 
99484
            } else { 
99083
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
99485
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 99098... Line 99500...
99098
      oprot.writeStructBegin(STRUCT_DESC);
99500
      oprot.writeStructBegin(STRUCT_DESC);
99099
      if (this.attributes != null) {
99501
      if (this.attributes != null) {
99100
        oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC);
99502
        oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC);
99101
        {
99503
        {
99102
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.attributes.size()));
99504
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.attributes.size()));
99103
          for (Attribute _iter335 : this.attributes)
99505
          for (Attribute _iter339 : this.attributes)
99104
          {
99506
          {
99105
            _iter335.write(oprot);
99507
            _iter339.write(oprot);
99106
          }
99508
          }
99107
          oprot.writeListEnd();
99509
          oprot.writeListEnd();
99108
        }
99510
        }
99109
        oprot.writeFieldEnd();
99511
        oprot.writeFieldEnd();
99110
      }
99512
      }
Line 100482... Line 100884...
100482
        }
100884
        }
100483
        switch (field.id) {
100885
        switch (field.id) {
100484
          case 0: // SUCCESS
100886
          case 0: // SUCCESS
100485
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
100887
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
100486
              {
100888
              {
100487
                org.apache.thrift.protocol.TList _list336 = iprot.readListBegin();
100889
                org.apache.thrift.protocol.TList _list340 = iprot.readListBegin();
100488
                this.success = new ArrayList<Order>(_list336.size);
100890
                this.success = new ArrayList<Order>(_list340.size);
100489
                for (int _i337 = 0; _i337 < _list336.size; ++_i337)
100891
                for (int _i341 = 0; _i341 < _list340.size; ++_i341)
100490
                {
100892
                {
100491
                  Order _elem338; // required
100893
                  Order _elem342; // required
100492
                  _elem338 = new Order();
100894
                  _elem342 = new Order();
100493
                  _elem338.read(iprot);
100895
                  _elem342.read(iprot);
100494
                  this.success.add(_elem338);
100896
                  this.success.add(_elem342);
100495
                }
100897
                }
100496
                iprot.readListEnd();
100898
                iprot.readListEnd();
100497
              }
100899
              }
100498
            } else { 
100900
            } else { 
100499
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
100901
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 100513... Line 100915...
100513
 
100915
 
100514
      if (this.isSetSuccess()) {
100916
      if (this.isSetSuccess()) {
100515
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
100917
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
100516
        {
100918
        {
100517
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
100919
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
100518
          for (Order _iter339 : this.success)
100920
          for (Order _iter343 : this.success)
100519
          {
100921
          {
100520
            _iter339.write(oprot);
100922
            _iter343.write(oprot);
100521
          }
100923
          }
100522
          oprot.writeListEnd();
100924
          oprot.writeListEnd();
100523
        }
100925
        }
100524
        oprot.writeFieldEnd();
100926
        oprot.writeFieldEnd();
100525
      }
100927
      }
Line 101107... Line 101509...
101107
        }
101509
        }
101108
        switch (field.id) {
101510
        switch (field.id) {
101109
          case 0: // SUCCESS
101511
          case 0: // SUCCESS
101110
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
101512
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
101111
              {
101513
              {
101112
                org.apache.thrift.protocol.TList _list340 = iprot.readListBegin();
101514
                org.apache.thrift.protocol.TList _list344 = iprot.readListBegin();
101113
                this.success = new ArrayList<Order>(_list340.size);
101515
                this.success = new ArrayList<Order>(_list344.size);
101114
                for (int _i341 = 0; _i341 < _list340.size; ++_i341)
101516
                for (int _i345 = 0; _i345 < _list344.size; ++_i345)
101115
                {
101517
                {
101116
                  Order _elem342; // required
101518
                  Order _elem346; // required
101117
                  _elem342 = new Order();
101519
                  _elem346 = new Order();
101118
                  _elem342.read(iprot);
101520
                  _elem346.read(iprot);
101119
                  this.success.add(_elem342);
101521
                  this.success.add(_elem346);
101120
                }
101522
                }
101121
                iprot.readListEnd();
101523
                iprot.readListEnd();
101122
              }
101524
              }
101123
            } else { 
101525
            } else { 
101124
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
101526
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 101138... Line 101540...
101138
 
101540
 
101139
      if (this.isSetSuccess()) {
101541
      if (this.isSetSuccess()) {
101140
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
101542
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
101141
        {
101543
        {
101142
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
101544
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
101143
          for (Order _iter343 : this.success)
101545
          for (Order _iter347 : this.success)
101144
          {
101546
          {
101145
            _iter343.write(oprot);
101547
            _iter347.write(oprot);
101146
          }
101548
          }
101147
          oprot.writeListEnd();
101549
          oprot.writeListEnd();
101148
        }
101550
        }
101149
        oprot.writeFieldEnd();
101551
        oprot.writeFieldEnd();
101150
      }
101552
      }
Line 101981... Line 102383...
101981
        }
102383
        }
101982
        switch (field.id) {
102384
        switch (field.id) {
101983
          case 0: // SUCCESS
102385
          case 0: // SUCCESS
101984
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
102386
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
101985
              {
102387
              {
101986
                org.apache.thrift.protocol.TList _list344 = iprot.readListBegin();
102388
                org.apache.thrift.protocol.TList _list348 = iprot.readListBegin();
101987
                this.success = new ArrayList<Order>(_list344.size);
102389
                this.success = new ArrayList<Order>(_list348.size);
101988
                for (int _i345 = 0; _i345 < _list344.size; ++_i345)
102390
                for (int _i349 = 0; _i349 < _list348.size; ++_i349)
101989
                {
102391
                {
101990
                  Order _elem346; // required
102392
                  Order _elem350; // required
101991
                  _elem346 = new Order();
102393
                  _elem350 = new Order();
101992
                  _elem346.read(iprot);
102394
                  _elem350.read(iprot);
101993
                  this.success.add(_elem346);
102395
                  this.success.add(_elem350);
101994
                }
102396
                }
101995
                iprot.readListEnd();
102397
                iprot.readListEnd();
101996
              }
102398
              }
101997
            } else { 
102399
            } else { 
101998
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
102400
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 102012... Line 102414...
102012
 
102414
 
102013
      if (this.isSetSuccess()) {
102415
      if (this.isSetSuccess()) {
102014
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
102416
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
102015
        {
102417
        {
102016
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
102418
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
102017
          for (Order _iter347 : this.success)
102419
          for (Order _iter351 : this.success)
102018
          {
102420
          {
102019
            _iter347.write(oprot);
102421
            _iter351.write(oprot);
102020
          }
102422
          }
102021
          oprot.writeListEnd();
102423
          oprot.writeListEnd();
102022
        }
102424
        }
102023
        oprot.writeFieldEnd();
102425
        oprot.writeFieldEnd();
102024
      }
102426
      }
Line 103456... Line 103858...
103456
      sb.append(")");
103858
      sb.append(")");
103457
      return sb.toString();
103859
      return sb.toString();
103458
    }
103860
    }
103459
 
103861
 
103460
    public void validate() throws org.apache.thrift.TException {
103862
    public void validate() throws org.apache.thrift.TException {
-
 
103863
      // check for required fields
-
 
103864
    }
-
 
103865
 
-
 
103866
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
103867
      try {
-
 
103868
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
103869
      } catch (org.apache.thrift.TException te) {
-
 
103870
        throw new java.io.IOException(te);
-
 
103871
      }
-
 
103872
    }
-
 
103873
 
-
 
103874
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
103875
      try {
-
 
103876
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
103877
      } catch (org.apache.thrift.TException te) {
-
 
103878
        throw new java.io.IOException(te);
-
 
103879
      }
-
 
103880
    }
-
 
103881
 
-
 
103882
  }
-
 
103883
 
-
 
103884
  public static class createRechargeOrder_args implements org.apache.thrift.TBase<createRechargeOrder_args, createRechargeOrder_args._Fields>, java.io.Serializable, Cloneable   {
-
 
103885
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createRechargeOrder_args");
-
 
103886
 
-
 
103887
    private static final org.apache.thrift.protocol.TField RECHARGE_ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField("rechargeOrder", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
103888
 
-
 
103889
    private RechargeOrder rechargeOrder; // required
-
 
103890
 
-
 
103891
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
103892
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
103893
      RECHARGE_ORDER((short)1, "rechargeOrder");
-
 
103894
 
-
 
103895
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
103896
 
-
 
103897
      static {
-
 
103898
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
103899
          byName.put(field.getFieldName(), field);
-
 
103900
        }
-
 
103901
      }
-
 
103902
 
-
 
103903
      /**
-
 
103904
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
103905
       */
-
 
103906
      public static _Fields findByThriftId(int fieldId) {
-
 
103907
        switch(fieldId) {
-
 
103908
          case 1: // RECHARGE_ORDER
-
 
103909
            return RECHARGE_ORDER;
-
 
103910
          default:
-
 
103911
            return null;
-
 
103912
        }
-
 
103913
      }
-
 
103914
 
-
 
103915
      /**
-
 
103916
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
103917
       * if it is not found.
-
 
103918
       */
-
 
103919
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
103920
        _Fields fields = findByThriftId(fieldId);
-
 
103921
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
103922
        return fields;
-
 
103923
      }
-
 
103924
 
-
 
103925
      /**
-
 
103926
       * Find the _Fields constant that matches name, or null if its not found.
-
 
103927
       */
-
 
103928
      public static _Fields findByName(String name) {
-
 
103929
        return byName.get(name);
-
 
103930
      }
-
 
103931
 
-
 
103932
      private final short _thriftId;
-
 
103933
      private final String _fieldName;
-
 
103934
 
-
 
103935
      _Fields(short thriftId, String fieldName) {
-
 
103936
        _thriftId = thriftId;
-
 
103937
        _fieldName = fieldName;
-
 
103938
      }
-
 
103939
 
-
 
103940
      public short getThriftFieldId() {
-
 
103941
        return _thriftId;
-
 
103942
      }
-
 
103943
 
-
 
103944
      public String getFieldName() {
-
 
103945
        return _fieldName;
-
 
103946
      }
-
 
103947
    }
-
 
103948
 
-
 
103949
    // isset id assignments
-
 
103950
 
-
 
103951
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
103952
    static {
-
 
103953
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
103954
      tmpMap.put(_Fields.RECHARGE_ORDER, new org.apache.thrift.meta_data.FieldMetaData("rechargeOrder", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
103955
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, RechargeOrder.class)));
-
 
103956
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
103957
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createRechargeOrder_args.class, metaDataMap);
-
 
103958
    }
-
 
103959
 
-
 
103960
    public createRechargeOrder_args() {
-
 
103961
    }
-
 
103962
 
-
 
103963
    public createRechargeOrder_args(
-
 
103964
      RechargeOrder rechargeOrder)
-
 
103965
    {
-
 
103966
      this();
-
 
103967
      this.rechargeOrder = rechargeOrder;
-
 
103968
    }
-
 
103969
 
-
 
103970
    /**
-
 
103971
     * Performs a deep copy on <i>other</i>.
-
 
103972
     */
-
 
103973
    public createRechargeOrder_args(createRechargeOrder_args other) {
-
 
103974
      if (other.isSetRechargeOrder()) {
-
 
103975
        this.rechargeOrder = new RechargeOrder(other.rechargeOrder);
-
 
103976
      }
-
 
103977
    }
-
 
103978
 
-
 
103979
    public createRechargeOrder_args deepCopy() {
-
 
103980
      return new createRechargeOrder_args(this);
-
 
103981
    }
-
 
103982
 
-
 
103983
    @Override
-
 
103984
    public void clear() {
-
 
103985
      this.rechargeOrder = null;
-
 
103986
    }
-
 
103987
 
-
 
103988
    public RechargeOrder getRechargeOrder() {
-
 
103989
      return this.rechargeOrder;
-
 
103990
    }
-
 
103991
 
-
 
103992
    public void setRechargeOrder(RechargeOrder rechargeOrder) {
-
 
103993
      this.rechargeOrder = rechargeOrder;
-
 
103994
    }
-
 
103995
 
-
 
103996
    public void unsetRechargeOrder() {
-
 
103997
      this.rechargeOrder = null;
-
 
103998
    }
-
 
103999
 
-
 
104000
    /** Returns true if field rechargeOrder is set (has been assigned a value) and false otherwise */
-
 
104001
    public boolean isSetRechargeOrder() {
-
 
104002
      return this.rechargeOrder != null;
-
 
104003
    }
-
 
104004
 
-
 
104005
    public void setRechargeOrderIsSet(boolean value) {
-
 
104006
      if (!value) {
-
 
104007
        this.rechargeOrder = null;
-
 
104008
      }
-
 
104009
    }
-
 
104010
 
-
 
104011
    public void setFieldValue(_Fields field, Object value) {
-
 
104012
      switch (field) {
-
 
104013
      case RECHARGE_ORDER:
-
 
104014
        if (value == null) {
-
 
104015
          unsetRechargeOrder();
-
 
104016
        } else {
-
 
104017
          setRechargeOrder((RechargeOrder)value);
-
 
104018
        }
-
 
104019
        break;
-
 
104020
 
-
 
104021
      }
-
 
104022
    }
-
 
104023
 
-
 
104024
    public Object getFieldValue(_Fields field) {
-
 
104025
      switch (field) {
-
 
104026
      case RECHARGE_ORDER:
-
 
104027
        return getRechargeOrder();
-
 
104028
 
-
 
104029
      }
-
 
104030
      throw new IllegalStateException();
-
 
104031
    }
-
 
104032
 
-
 
104033
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
104034
    public boolean isSet(_Fields field) {
-
 
104035
      if (field == null) {
-
 
104036
        throw new IllegalArgumentException();
-
 
104037
      }
-
 
104038
 
-
 
104039
      switch (field) {
-
 
104040
      case RECHARGE_ORDER:
-
 
104041
        return isSetRechargeOrder();
-
 
104042
      }
-
 
104043
      throw new IllegalStateException();
-
 
104044
    }
-
 
104045
 
-
 
104046
    @Override
-
 
104047
    public boolean equals(Object that) {
-
 
104048
      if (that == null)
-
 
104049
        return false;
-
 
104050
      if (that instanceof createRechargeOrder_args)
-
 
104051
        return this.equals((createRechargeOrder_args)that);
-
 
104052
      return false;
-
 
104053
    }
-
 
104054
 
-
 
104055
    public boolean equals(createRechargeOrder_args that) {
-
 
104056
      if (that == null)
-
 
104057
        return false;
-
 
104058
 
-
 
104059
      boolean this_present_rechargeOrder = true && this.isSetRechargeOrder();
-
 
104060
      boolean that_present_rechargeOrder = true && that.isSetRechargeOrder();
-
 
104061
      if (this_present_rechargeOrder || that_present_rechargeOrder) {
-
 
104062
        if (!(this_present_rechargeOrder && that_present_rechargeOrder))
-
 
104063
          return false;
-
 
104064
        if (!this.rechargeOrder.equals(that.rechargeOrder))
-
 
104065
          return false;
-
 
104066
      }
-
 
104067
 
-
 
104068
      return true;
-
 
104069
    }
-
 
104070
 
-
 
104071
    @Override
-
 
104072
    public int hashCode() {
-
 
104073
      return 0;
-
 
104074
    }
-
 
104075
 
-
 
104076
    public int compareTo(createRechargeOrder_args other) {
-
 
104077
      if (!getClass().equals(other.getClass())) {
-
 
104078
        return getClass().getName().compareTo(other.getClass().getName());
-
 
104079
      }
-
 
104080
 
-
 
104081
      int lastComparison = 0;
-
 
104082
      createRechargeOrder_args typedOther = (createRechargeOrder_args)other;
-
 
104083
 
-
 
104084
      lastComparison = Boolean.valueOf(isSetRechargeOrder()).compareTo(typedOther.isSetRechargeOrder());
-
 
104085
      if (lastComparison != 0) {
-
 
104086
        return lastComparison;
-
 
104087
      }
-
 
104088
      if (isSetRechargeOrder()) {
-
 
104089
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rechargeOrder, typedOther.rechargeOrder);
-
 
104090
        if (lastComparison != 0) {
-
 
104091
          return lastComparison;
-
 
104092
        }
-
 
104093
      }
-
 
104094
      return 0;
-
 
104095
    }
-
 
104096
 
-
 
104097
    public _Fields fieldForId(int fieldId) {
-
 
104098
      return _Fields.findByThriftId(fieldId);
-
 
104099
    }
-
 
104100
 
-
 
104101
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
104102
      org.apache.thrift.protocol.TField field;
-
 
104103
      iprot.readStructBegin();
-
 
104104
      while (true)
-
 
104105
      {
-
 
104106
        field = iprot.readFieldBegin();
-
 
104107
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
104108
          break;
-
 
104109
        }
-
 
104110
        switch (field.id) {
-
 
104111
          case 1: // RECHARGE_ORDER
-
 
104112
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
104113
              this.rechargeOrder = new RechargeOrder();
-
 
104114
              this.rechargeOrder.read(iprot);
-
 
104115
            } else { 
-
 
104116
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
104117
            }
-
 
104118
            break;
-
 
104119
          default:
-
 
104120
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
104121
        }
-
 
104122
        iprot.readFieldEnd();
-
 
104123
      }
-
 
104124
      iprot.readStructEnd();
-
 
104125
      validate();
-
 
104126
    }
-
 
104127
 
-
 
104128
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
104129
      validate();
-
 
104130
 
-
 
104131
      oprot.writeStructBegin(STRUCT_DESC);
-
 
104132
      if (this.rechargeOrder != null) {
-
 
104133
        oprot.writeFieldBegin(RECHARGE_ORDER_FIELD_DESC);
-
 
104134
        this.rechargeOrder.write(oprot);
-
 
104135
        oprot.writeFieldEnd();
-
 
104136
      }
-
 
104137
      oprot.writeFieldStop();
-
 
104138
      oprot.writeStructEnd();
-
 
104139
    }
-
 
104140
 
-
 
104141
    @Override
-
 
104142
    public String toString() {
-
 
104143
      StringBuilder sb = new StringBuilder("createRechargeOrder_args(");
-
 
104144
      boolean first = true;
-
 
104145
 
-
 
104146
      sb.append("rechargeOrder:");
-
 
104147
      if (this.rechargeOrder == null) {
-
 
104148
        sb.append("null");
-
 
104149
      } else {
-
 
104150
        sb.append(this.rechargeOrder);
-
 
104151
      }
-
 
104152
      first = false;
-
 
104153
      sb.append(")");
-
 
104154
      return sb.toString();
-
 
104155
    }
-
 
104156
 
-
 
104157
    public void validate() throws org.apache.thrift.TException {
-
 
104158
      // check for required fields
-
 
104159
    }
-
 
104160
 
-
 
104161
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
104162
      try {
-
 
104163
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
104164
      } catch (org.apache.thrift.TException te) {
-
 
104165
        throw new java.io.IOException(te);
-
 
104166
      }
-
 
104167
    }
-
 
104168
 
-
 
104169
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
104170
      try {
-
 
104171
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
104172
      } catch (org.apache.thrift.TException te) {
-
 
104173
        throw new java.io.IOException(te);
-
 
104174
      }
-
 
104175
    }
-
 
104176
 
-
 
104177
  }
-
 
104178
 
-
 
104179
  public static class createRechargeOrder_result implements org.apache.thrift.TBase<createRechargeOrder_result, createRechargeOrder_result._Fields>, java.io.Serializable, Cloneable   {
-
 
104180
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createRechargeOrder_result");
-
 
104181
 
-
 
104182
    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);
-
 
104183
    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);
-
 
104184
 
-
 
104185
    private RechargeOrder success; // required
-
 
104186
    private TransactionServiceException ex; // required
-
 
104187
 
-
 
104188
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
104189
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
104190
      SUCCESS((short)0, "success"),
-
 
104191
      EX((short)1, "ex");
-
 
104192
 
-
 
104193
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
104194
 
-
 
104195
      static {
-
 
104196
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
104197
          byName.put(field.getFieldName(), field);
-
 
104198
        }
-
 
104199
      }
-
 
104200
 
-
 
104201
      /**
-
 
104202
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
104203
       */
-
 
104204
      public static _Fields findByThriftId(int fieldId) {
-
 
104205
        switch(fieldId) {
-
 
104206
          case 0: // SUCCESS
-
 
104207
            return SUCCESS;
-
 
104208
          case 1: // EX
-
 
104209
            return EX;
-
 
104210
          default:
-
 
104211
            return null;
-
 
104212
        }
-
 
104213
      }
-
 
104214
 
-
 
104215
      /**
-
 
104216
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
104217
       * if it is not found.
-
 
104218
       */
-
 
104219
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
104220
        _Fields fields = findByThriftId(fieldId);
-
 
104221
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
104222
        return fields;
-
 
104223
      }
-
 
104224
 
-
 
104225
      /**
-
 
104226
       * Find the _Fields constant that matches name, or null if its not found.
-
 
104227
       */
-
 
104228
      public static _Fields findByName(String name) {
-
 
104229
        return byName.get(name);
-
 
104230
      }
-
 
104231
 
-
 
104232
      private final short _thriftId;
-
 
104233
      private final String _fieldName;
-
 
104234
 
-
 
104235
      _Fields(short thriftId, String fieldName) {
-
 
104236
        _thriftId = thriftId;
-
 
104237
        _fieldName = fieldName;
-
 
104238
      }
-
 
104239
 
-
 
104240
      public short getThriftFieldId() {
-
 
104241
        return _thriftId;
-
 
104242
      }
-
 
104243
 
-
 
104244
      public String getFieldName() {
-
 
104245
        return _fieldName;
-
 
104246
      }
-
 
104247
    }
-
 
104248
 
-
 
104249
    // isset id assignments
-
 
104250
 
-
 
104251
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
104252
    static {
-
 
104253
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
104254
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
104255
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, RechargeOrder.class)));
-
 
104256
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
104257
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
104258
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
104259
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createRechargeOrder_result.class, metaDataMap);
-
 
104260
    }
-
 
104261
 
-
 
104262
    public createRechargeOrder_result() {
-
 
104263
    }
-
 
104264
 
-
 
104265
    public createRechargeOrder_result(
-
 
104266
      RechargeOrder success,
-
 
104267
      TransactionServiceException ex)
-
 
104268
    {
-
 
104269
      this();
-
 
104270
      this.success = success;
-
 
104271
      this.ex = ex;
-
 
104272
    }
-
 
104273
 
-
 
104274
    /**
-
 
104275
     * Performs a deep copy on <i>other</i>.
-
 
104276
     */
-
 
104277
    public createRechargeOrder_result(createRechargeOrder_result other) {
-
 
104278
      if (other.isSetSuccess()) {
-
 
104279
        this.success = new RechargeOrder(other.success);
-
 
104280
      }
-
 
104281
      if (other.isSetEx()) {
-
 
104282
        this.ex = new TransactionServiceException(other.ex);
-
 
104283
      }
-
 
104284
    }
-
 
104285
 
-
 
104286
    public createRechargeOrder_result deepCopy() {
-
 
104287
      return new createRechargeOrder_result(this);
-
 
104288
    }
-
 
104289
 
-
 
104290
    @Override
-
 
104291
    public void clear() {
-
 
104292
      this.success = null;
-
 
104293
      this.ex = null;
-
 
104294
    }
-
 
104295
 
-
 
104296
    public RechargeOrder getSuccess() {
-
 
104297
      return this.success;
-
 
104298
    }
-
 
104299
 
-
 
104300
    public void setSuccess(RechargeOrder success) {
-
 
104301
      this.success = success;
-
 
104302
    }
-
 
104303
 
-
 
104304
    public void unsetSuccess() {
-
 
104305
      this.success = null;
-
 
104306
    }
-
 
104307
 
-
 
104308
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
104309
    public boolean isSetSuccess() {
-
 
104310
      return this.success != null;
-
 
104311
    }
-
 
104312
 
-
 
104313
    public void setSuccessIsSet(boolean value) {
-
 
104314
      if (!value) {
-
 
104315
        this.success = null;
-
 
104316
      }
-
 
104317
    }
-
 
104318
 
-
 
104319
    public TransactionServiceException getEx() {
-
 
104320
      return this.ex;
-
 
104321
    }
-
 
104322
 
-
 
104323
    public void setEx(TransactionServiceException ex) {
-
 
104324
      this.ex = ex;
-
 
104325
    }
-
 
104326
 
-
 
104327
    public void unsetEx() {
-
 
104328
      this.ex = null;
-
 
104329
    }
-
 
104330
 
-
 
104331
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
104332
    public boolean isSetEx() {
-
 
104333
      return this.ex != null;
-
 
104334
    }
-
 
104335
 
-
 
104336
    public void setExIsSet(boolean value) {
-
 
104337
      if (!value) {
-
 
104338
        this.ex = null;
-
 
104339
      }
-
 
104340
    }
-
 
104341
 
-
 
104342
    public void setFieldValue(_Fields field, Object value) {
-
 
104343
      switch (field) {
-
 
104344
      case SUCCESS:
-
 
104345
        if (value == null) {
-
 
104346
          unsetSuccess();
-
 
104347
        } else {
-
 
104348
          setSuccess((RechargeOrder)value);
-
 
104349
        }
-
 
104350
        break;
-
 
104351
 
-
 
104352
      case EX:
-
 
104353
        if (value == null) {
-
 
104354
          unsetEx();
-
 
104355
        } else {
-
 
104356
          setEx((TransactionServiceException)value);
-
 
104357
        }
-
 
104358
        break;
-
 
104359
 
-
 
104360
      }
-
 
104361
    }
-
 
104362
 
-
 
104363
    public Object getFieldValue(_Fields field) {
-
 
104364
      switch (field) {
-
 
104365
      case SUCCESS:
-
 
104366
        return getSuccess();
-
 
104367
 
-
 
104368
      case EX:
-
 
104369
        return getEx();
-
 
104370
 
-
 
104371
      }
-
 
104372
      throw new IllegalStateException();
-
 
104373
    }
-
 
104374
 
-
 
104375
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
104376
    public boolean isSet(_Fields field) {
-
 
104377
      if (field == null) {
-
 
104378
        throw new IllegalArgumentException();
-
 
104379
      }
-
 
104380
 
-
 
104381
      switch (field) {
-
 
104382
      case SUCCESS:
-
 
104383
        return isSetSuccess();
-
 
104384
      case EX:
-
 
104385
        return isSetEx();
-
 
104386
      }
-
 
104387
      throw new IllegalStateException();
-
 
104388
    }
-
 
104389
 
-
 
104390
    @Override
-
 
104391
    public boolean equals(Object that) {
-
 
104392
      if (that == null)
-
 
104393
        return false;
-
 
104394
      if (that instanceof createRechargeOrder_result)
-
 
104395
        return this.equals((createRechargeOrder_result)that);
-
 
104396
      return false;
-
 
104397
    }
-
 
104398
 
-
 
104399
    public boolean equals(createRechargeOrder_result that) {
-
 
104400
      if (that == null)
-
 
104401
        return false;
-
 
104402
 
-
 
104403
      boolean this_present_success = true && this.isSetSuccess();
-
 
104404
      boolean that_present_success = true && that.isSetSuccess();
-
 
104405
      if (this_present_success || that_present_success) {
-
 
104406
        if (!(this_present_success && that_present_success))
-
 
104407
          return false;
-
 
104408
        if (!this.success.equals(that.success))
-
 
104409
          return false;
-
 
104410
      }
-
 
104411
 
-
 
104412
      boolean this_present_ex = true && this.isSetEx();
-
 
104413
      boolean that_present_ex = true && that.isSetEx();
-
 
104414
      if (this_present_ex || that_present_ex) {
-
 
104415
        if (!(this_present_ex && that_present_ex))
-
 
104416
          return false;
-
 
104417
        if (!this.ex.equals(that.ex))
-
 
104418
          return false;
-
 
104419
      }
-
 
104420
 
-
 
104421
      return true;
-
 
104422
    }
-
 
104423
 
-
 
104424
    @Override
-
 
104425
    public int hashCode() {
-
 
104426
      return 0;
-
 
104427
    }
-
 
104428
 
-
 
104429
    public int compareTo(createRechargeOrder_result other) {
-
 
104430
      if (!getClass().equals(other.getClass())) {
-
 
104431
        return getClass().getName().compareTo(other.getClass().getName());
-
 
104432
      }
-
 
104433
 
-
 
104434
      int lastComparison = 0;
-
 
104435
      createRechargeOrder_result typedOther = (createRechargeOrder_result)other;
-
 
104436
 
-
 
104437
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
104438
      if (lastComparison != 0) {
-
 
104439
        return lastComparison;
-
 
104440
      }
-
 
104441
      if (isSetSuccess()) {
-
 
104442
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
104443
        if (lastComparison != 0) {
-
 
104444
          return lastComparison;
-
 
104445
        }
-
 
104446
      }
-
 
104447
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
104448
      if (lastComparison != 0) {
-
 
104449
        return lastComparison;
-
 
104450
      }
-
 
104451
      if (isSetEx()) {
-
 
104452
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
104453
        if (lastComparison != 0) {
-
 
104454
          return lastComparison;
-
 
104455
        }
-
 
104456
      }
-
 
104457
      return 0;
-
 
104458
    }
-
 
104459
 
-
 
104460
    public _Fields fieldForId(int fieldId) {
-
 
104461
      return _Fields.findByThriftId(fieldId);
-
 
104462
    }
-
 
104463
 
-
 
104464
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
104465
      org.apache.thrift.protocol.TField field;
-
 
104466
      iprot.readStructBegin();
-
 
104467
      while (true)
-
 
104468
      {
-
 
104469
        field = iprot.readFieldBegin();
-
 
104470
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
104471
          break;
-
 
104472
        }
-
 
104473
        switch (field.id) {
-
 
104474
          case 0: // SUCCESS
-
 
104475
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
104476
              this.success = new RechargeOrder();
-
 
104477
              this.success.read(iprot);
-
 
104478
            } else { 
-
 
104479
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
104480
            }
-
 
104481
            break;
-
 
104482
          case 1: // EX
-
 
104483
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
104484
              this.ex = new TransactionServiceException();
-
 
104485
              this.ex.read(iprot);
-
 
104486
            } else { 
-
 
104487
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
104488
            }
-
 
104489
            break;
-
 
104490
          default:
-
 
104491
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
104492
        }
-
 
104493
        iprot.readFieldEnd();
-
 
104494
      }
-
 
104495
      iprot.readStructEnd();
-
 
104496
      validate();
-
 
104497
    }
-
 
104498
 
-
 
104499
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
104500
      oprot.writeStructBegin(STRUCT_DESC);
-
 
104501
 
-
 
104502
      if (this.isSetSuccess()) {
-
 
104503
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
104504
        this.success.write(oprot);
-
 
104505
        oprot.writeFieldEnd();
-
 
104506
      } else if (this.isSetEx()) {
-
 
104507
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
104508
        this.ex.write(oprot);
-
 
104509
        oprot.writeFieldEnd();
-
 
104510
      }
-
 
104511
      oprot.writeFieldStop();
-
 
104512
      oprot.writeStructEnd();
-
 
104513
    }
-
 
104514
 
-
 
104515
    @Override
-
 
104516
    public String toString() {
-
 
104517
      StringBuilder sb = new StringBuilder("createRechargeOrder_result(");
-
 
104518
      boolean first = true;
-
 
104519
 
-
 
104520
      sb.append("success:");
-
 
104521
      if (this.success == null) {
-
 
104522
        sb.append("null");
-
 
104523
      } else {
-
 
104524
        sb.append(this.success);
-
 
104525
      }
-
 
104526
      first = false;
-
 
104527
      if (!first) sb.append(", ");
-
 
104528
      sb.append("ex:");
-
 
104529
      if (this.ex == null) {
-
 
104530
        sb.append("null");
-
 
104531
      } else {
-
 
104532
        sb.append(this.ex);
-
 
104533
      }
-
 
104534
      first = false;
-
 
104535
      sb.append(")");
-
 
104536
      return sb.toString();
-
 
104537
    }
-
 
104538
 
-
 
104539
    public void validate() throws org.apache.thrift.TException {
-
 
104540
      // check for required fields
-
 
104541
    }
-
 
104542
 
-
 
104543
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
104544
      try {
-
 
104545
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
104546
      } catch (org.apache.thrift.TException te) {
-
 
104547
        throw new java.io.IOException(te);
-
 
104548
      }
-
 
104549
    }
-
 
104550
 
-
 
104551
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
104552
      try {
-
 
104553
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
104554
      } catch (org.apache.thrift.TException te) {
-
 
104555
        throw new java.io.IOException(te);
-
 
104556
      }
-
 
104557
    }
-
 
104558
 
-
 
104559
  }
-
 
104560
 
-
 
104561
  public static class updateRechargeOrderStatus_args implements org.apache.thrift.TBase<updateRechargeOrderStatus_args, updateRechargeOrderStatus_args._Fields>, java.io.Serializable, Cloneable   {
-
 
104562
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateRechargeOrderStatus_args");
-
 
104563
 
-
 
104564
    private static final org.apache.thrift.protocol.TField RECHARGE_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("rechargeOrderId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
104565
    private static final org.apache.thrift.protocol.TField RECHARGE_ORDER_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("rechargeOrderStatus", org.apache.thrift.protocol.TType.I32, (short)2);
-
 
104566
 
-
 
104567
    private long rechargeOrderId; // required
-
 
104568
    private RechargeOrderStatus rechargeOrderStatus; // required
-
 
104569
 
-
 
104570
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
104571
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
104572
      RECHARGE_ORDER_ID((short)1, "rechargeOrderId"),
-
 
104573
      /**
-
 
104574
       * 
-
 
104575
       * @see RechargeOrderStatus
-
 
104576
       */
-
 
104577
      RECHARGE_ORDER_STATUS((short)2, "rechargeOrderStatus");
-
 
104578
 
-
 
104579
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
104580
 
-
 
104581
      static {
-
 
104582
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
104583
          byName.put(field.getFieldName(), field);
-
 
104584
        }
-
 
104585
      }
-
 
104586
 
-
 
104587
      /**
-
 
104588
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
104589
       */
-
 
104590
      public static _Fields findByThriftId(int fieldId) {
-
 
104591
        switch(fieldId) {
-
 
104592
          case 1: // RECHARGE_ORDER_ID
-
 
104593
            return RECHARGE_ORDER_ID;
-
 
104594
          case 2: // RECHARGE_ORDER_STATUS
-
 
104595
            return RECHARGE_ORDER_STATUS;
-
 
104596
          default:
-
 
104597
            return null;
-
 
104598
        }
-
 
104599
      }
-
 
104600
 
-
 
104601
      /**
-
 
104602
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
104603
       * if it is not found.
-
 
104604
       */
-
 
104605
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
104606
        _Fields fields = findByThriftId(fieldId);
-
 
104607
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
104608
        return fields;
-
 
104609
      }
-
 
104610
 
-
 
104611
      /**
-
 
104612
       * Find the _Fields constant that matches name, or null if its not found.
-
 
104613
       */
-
 
104614
      public static _Fields findByName(String name) {
-
 
104615
        return byName.get(name);
-
 
104616
      }
-
 
104617
 
-
 
104618
      private final short _thriftId;
-
 
104619
      private final String _fieldName;
-
 
104620
 
-
 
104621
      _Fields(short thriftId, String fieldName) {
-
 
104622
        _thriftId = thriftId;
-
 
104623
        _fieldName = fieldName;
-
 
104624
      }
-
 
104625
 
-
 
104626
      public short getThriftFieldId() {
-
 
104627
        return _thriftId;
-
 
104628
      }
-
 
104629
 
-
 
104630
      public String getFieldName() {
-
 
104631
        return _fieldName;
-
 
104632
      }
-
 
104633
    }
-
 
104634
 
-
 
104635
    // isset id assignments
-
 
104636
    private static final int __RECHARGEORDERID_ISSET_ID = 0;
-
 
104637
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
104638
 
-
 
104639
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
104640
    static {
-
 
104641
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
104642
      tmpMap.put(_Fields.RECHARGE_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("rechargeOrderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
104643
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
104644
      tmpMap.put(_Fields.RECHARGE_ORDER_STATUS, new org.apache.thrift.meta_data.FieldMetaData("rechargeOrderStatus", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
104645
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, RechargeOrderStatus.class)));
-
 
104646
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
104647
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateRechargeOrderStatus_args.class, metaDataMap);
-
 
104648
    }
-
 
104649
 
-
 
104650
    public updateRechargeOrderStatus_args() {
-
 
104651
    }
-
 
104652
 
-
 
104653
    public updateRechargeOrderStatus_args(
-
 
104654
      long rechargeOrderId,
-
 
104655
      RechargeOrderStatus rechargeOrderStatus)
-
 
104656
    {
-
 
104657
      this();
-
 
104658
      this.rechargeOrderId = rechargeOrderId;
-
 
104659
      setRechargeOrderIdIsSet(true);
-
 
104660
      this.rechargeOrderStatus = rechargeOrderStatus;
-
 
104661
    }
-
 
104662
 
-
 
104663
    /**
-
 
104664
     * Performs a deep copy on <i>other</i>.
-
 
104665
     */
-
 
104666
    public updateRechargeOrderStatus_args(updateRechargeOrderStatus_args other) {
-
 
104667
      __isset_bit_vector.clear();
-
 
104668
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
104669
      this.rechargeOrderId = other.rechargeOrderId;
-
 
104670
      if (other.isSetRechargeOrderStatus()) {
-
 
104671
        this.rechargeOrderStatus = other.rechargeOrderStatus;
-
 
104672
      }
-
 
104673
    }
-
 
104674
 
-
 
104675
    public updateRechargeOrderStatus_args deepCopy() {
-
 
104676
      return new updateRechargeOrderStatus_args(this);
-
 
104677
    }
-
 
104678
 
-
 
104679
    @Override
-
 
104680
    public void clear() {
-
 
104681
      setRechargeOrderIdIsSet(false);
-
 
104682
      this.rechargeOrderId = 0;
-
 
104683
      this.rechargeOrderStatus = null;
-
 
104684
    }
-
 
104685
 
-
 
104686
    public long getRechargeOrderId() {
-
 
104687
      return this.rechargeOrderId;
-
 
104688
    }
-
 
104689
 
-
 
104690
    public void setRechargeOrderId(long rechargeOrderId) {
-
 
104691
      this.rechargeOrderId = rechargeOrderId;
-
 
104692
      setRechargeOrderIdIsSet(true);
-
 
104693
    }
-
 
104694
 
-
 
104695
    public void unsetRechargeOrderId() {
-
 
104696
      __isset_bit_vector.clear(__RECHARGEORDERID_ISSET_ID);
-
 
104697
    }
-
 
104698
 
-
 
104699
    /** Returns true if field rechargeOrderId is set (has been assigned a value) and false otherwise */
-
 
104700
    public boolean isSetRechargeOrderId() {
-
 
104701
      return __isset_bit_vector.get(__RECHARGEORDERID_ISSET_ID);
-
 
104702
    }
-
 
104703
 
-
 
104704
    public void setRechargeOrderIdIsSet(boolean value) {
-
 
104705
      __isset_bit_vector.set(__RECHARGEORDERID_ISSET_ID, value);
-
 
104706
    }
-
 
104707
 
-
 
104708
    /**
-
 
104709
     * 
-
 
104710
     * @see RechargeOrderStatus
-
 
104711
     */
-
 
104712
    public RechargeOrderStatus getRechargeOrderStatus() {
-
 
104713
      return this.rechargeOrderStatus;
-
 
104714
    }
-
 
104715
 
-
 
104716
    /**
-
 
104717
     * 
-
 
104718
     * @see RechargeOrderStatus
-
 
104719
     */
-
 
104720
    public void setRechargeOrderStatus(RechargeOrderStatus rechargeOrderStatus) {
-
 
104721
      this.rechargeOrderStatus = rechargeOrderStatus;
-
 
104722
    }
-
 
104723
 
-
 
104724
    public void unsetRechargeOrderStatus() {
-
 
104725
      this.rechargeOrderStatus = null;
-
 
104726
    }
-
 
104727
 
-
 
104728
    /** Returns true if field rechargeOrderStatus is set (has been assigned a value) and false otherwise */
-
 
104729
    public boolean isSetRechargeOrderStatus() {
-
 
104730
      return this.rechargeOrderStatus != null;
-
 
104731
    }
-
 
104732
 
-
 
104733
    public void setRechargeOrderStatusIsSet(boolean value) {
-
 
104734
      if (!value) {
-
 
104735
        this.rechargeOrderStatus = null;
-
 
104736
      }
-
 
104737
    }
-
 
104738
 
-
 
104739
    public void setFieldValue(_Fields field, Object value) {
-
 
104740
      switch (field) {
-
 
104741
      case RECHARGE_ORDER_ID:
-
 
104742
        if (value == null) {
-
 
104743
          unsetRechargeOrderId();
-
 
104744
        } else {
-
 
104745
          setRechargeOrderId((Long)value);
-
 
104746
        }
-
 
104747
        break;
-
 
104748
 
-
 
104749
      case RECHARGE_ORDER_STATUS:
-
 
104750
        if (value == null) {
-
 
104751
          unsetRechargeOrderStatus();
-
 
104752
        } else {
-
 
104753
          setRechargeOrderStatus((RechargeOrderStatus)value);
-
 
104754
        }
-
 
104755
        break;
-
 
104756
 
-
 
104757
      }
-
 
104758
    }
-
 
104759
 
-
 
104760
    public Object getFieldValue(_Fields field) {
-
 
104761
      switch (field) {
-
 
104762
      case RECHARGE_ORDER_ID:
-
 
104763
        return Long.valueOf(getRechargeOrderId());
-
 
104764
 
-
 
104765
      case RECHARGE_ORDER_STATUS:
-
 
104766
        return getRechargeOrderStatus();
-
 
104767
 
-
 
104768
      }
-
 
104769
      throw new IllegalStateException();
-
 
104770
    }
-
 
104771
 
-
 
104772
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
104773
    public boolean isSet(_Fields field) {
-
 
104774
      if (field == null) {
-
 
104775
        throw new IllegalArgumentException();
-
 
104776
      }
-
 
104777
 
-
 
104778
      switch (field) {
-
 
104779
      case RECHARGE_ORDER_ID:
-
 
104780
        return isSetRechargeOrderId();
-
 
104781
      case RECHARGE_ORDER_STATUS:
-
 
104782
        return isSetRechargeOrderStatus();
-
 
104783
      }
-
 
104784
      throw new IllegalStateException();
-
 
104785
    }
-
 
104786
 
-
 
104787
    @Override
-
 
104788
    public boolean equals(Object that) {
-
 
104789
      if (that == null)
-
 
104790
        return false;
-
 
104791
      if (that instanceof updateRechargeOrderStatus_args)
-
 
104792
        return this.equals((updateRechargeOrderStatus_args)that);
-
 
104793
      return false;
-
 
104794
    }
-
 
104795
 
-
 
104796
    public boolean equals(updateRechargeOrderStatus_args that) {
-
 
104797
      if (that == null)
-
 
104798
        return false;
-
 
104799
 
-
 
104800
      boolean this_present_rechargeOrderId = true;
-
 
104801
      boolean that_present_rechargeOrderId = true;
-
 
104802
      if (this_present_rechargeOrderId || that_present_rechargeOrderId) {
-
 
104803
        if (!(this_present_rechargeOrderId && that_present_rechargeOrderId))
-
 
104804
          return false;
-
 
104805
        if (this.rechargeOrderId != that.rechargeOrderId)
-
 
104806
          return false;
-
 
104807
      }
-
 
104808
 
-
 
104809
      boolean this_present_rechargeOrderStatus = true && this.isSetRechargeOrderStatus();
-
 
104810
      boolean that_present_rechargeOrderStatus = true && that.isSetRechargeOrderStatus();
-
 
104811
      if (this_present_rechargeOrderStatus || that_present_rechargeOrderStatus) {
-
 
104812
        if (!(this_present_rechargeOrderStatus && that_present_rechargeOrderStatus))
-
 
104813
          return false;
-
 
104814
        if (!this.rechargeOrderStatus.equals(that.rechargeOrderStatus))
-
 
104815
          return false;
-
 
104816
      }
-
 
104817
 
-
 
104818
      return true;
-
 
104819
    }
-
 
104820
 
-
 
104821
    @Override
-
 
104822
    public int hashCode() {
-
 
104823
      return 0;
-
 
104824
    }
-
 
104825
 
-
 
104826
    public int compareTo(updateRechargeOrderStatus_args other) {
-
 
104827
      if (!getClass().equals(other.getClass())) {
-
 
104828
        return getClass().getName().compareTo(other.getClass().getName());
-
 
104829
      }
-
 
104830
 
-
 
104831
      int lastComparison = 0;
-
 
104832
      updateRechargeOrderStatus_args typedOther = (updateRechargeOrderStatus_args)other;
-
 
104833
 
-
 
104834
      lastComparison = Boolean.valueOf(isSetRechargeOrderId()).compareTo(typedOther.isSetRechargeOrderId());
-
 
104835
      if (lastComparison != 0) {
-
 
104836
        return lastComparison;
-
 
104837
      }
-
 
104838
      if (isSetRechargeOrderId()) {
-
 
104839
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rechargeOrderId, typedOther.rechargeOrderId);
-
 
104840
        if (lastComparison != 0) {
-
 
104841
          return lastComparison;
-
 
104842
        }
-
 
104843
      }
-
 
104844
      lastComparison = Boolean.valueOf(isSetRechargeOrderStatus()).compareTo(typedOther.isSetRechargeOrderStatus());
-
 
104845
      if (lastComparison != 0) {
-
 
104846
        return lastComparison;
-
 
104847
      }
-
 
104848
      if (isSetRechargeOrderStatus()) {
-
 
104849
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rechargeOrderStatus, typedOther.rechargeOrderStatus);
-
 
104850
        if (lastComparison != 0) {
-
 
104851
          return lastComparison;
-
 
104852
        }
-
 
104853
      }
-
 
104854
      return 0;
-
 
104855
    }
-
 
104856
 
-
 
104857
    public _Fields fieldForId(int fieldId) {
-
 
104858
      return _Fields.findByThriftId(fieldId);
-
 
104859
    }
-
 
104860
 
-
 
104861
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
104862
      org.apache.thrift.protocol.TField field;
-
 
104863
      iprot.readStructBegin();
-
 
104864
      while (true)
-
 
104865
      {
-
 
104866
        field = iprot.readFieldBegin();
-
 
104867
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
104868
          break;
-
 
104869
        }
-
 
104870
        switch (field.id) {
-
 
104871
          case 1: // RECHARGE_ORDER_ID
-
 
104872
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
104873
              this.rechargeOrderId = iprot.readI64();
-
 
104874
              setRechargeOrderIdIsSet(true);
-
 
104875
            } else { 
-
 
104876
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
104877
            }
-
 
104878
            break;
-
 
104879
          case 2: // RECHARGE_ORDER_STATUS
-
 
104880
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
104881
              this.rechargeOrderStatus = RechargeOrderStatus.findByValue(iprot.readI32());
-
 
104882
            } else { 
-
 
104883
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
104884
            }
-
 
104885
            break;
-
 
104886
          default:
-
 
104887
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
104888
        }
-
 
104889
        iprot.readFieldEnd();
-
 
104890
      }
-
 
104891
      iprot.readStructEnd();
-
 
104892
      validate();
-
 
104893
    }
-
 
104894
 
-
 
104895
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
104896
      validate();
-
 
104897
 
-
 
104898
      oprot.writeStructBegin(STRUCT_DESC);
-
 
104899
      oprot.writeFieldBegin(RECHARGE_ORDER_ID_FIELD_DESC);
-
 
104900
      oprot.writeI64(this.rechargeOrderId);
-
 
104901
      oprot.writeFieldEnd();
-
 
104902
      if (this.rechargeOrderStatus != null) {
-
 
104903
        oprot.writeFieldBegin(RECHARGE_ORDER_STATUS_FIELD_DESC);
-
 
104904
        oprot.writeI32(this.rechargeOrderStatus.getValue());
-
 
104905
        oprot.writeFieldEnd();
-
 
104906
      }
-
 
104907
      oprot.writeFieldStop();
-
 
104908
      oprot.writeStructEnd();
-
 
104909
    }
-
 
104910
 
-
 
104911
    @Override
-
 
104912
    public String toString() {
-
 
104913
      StringBuilder sb = new StringBuilder("updateRechargeOrderStatus_args(");
-
 
104914
      boolean first = true;
-
 
104915
 
-
 
104916
      sb.append("rechargeOrderId:");
-
 
104917
      sb.append(this.rechargeOrderId);
-
 
104918
      first = false;
-
 
104919
      if (!first) sb.append(", ");
-
 
104920
      sb.append("rechargeOrderStatus:");
-
 
104921
      if (this.rechargeOrderStatus == null) {
-
 
104922
        sb.append("null");
-
 
104923
      } else {
-
 
104924
        sb.append(this.rechargeOrderStatus);
-
 
104925
      }
-
 
104926
      first = false;
-
 
104927
      sb.append(")");
-
 
104928
      return sb.toString();
-
 
104929
    }
-
 
104930
 
-
 
104931
    public void validate() throws org.apache.thrift.TException {
-
 
104932
      // check for required fields
-
 
104933
    }
-
 
104934
 
-
 
104935
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
104936
      try {
-
 
104937
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
104938
      } catch (org.apache.thrift.TException te) {
-
 
104939
        throw new java.io.IOException(te);
-
 
104940
      }
-
 
104941
    }
-
 
104942
 
-
 
104943
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
104944
      try {
-
 
104945
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
104946
        __isset_bit_vector = new BitSet(1);
-
 
104947
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
104948
      } catch (org.apache.thrift.TException te) {
-
 
104949
        throw new java.io.IOException(te);
-
 
104950
      }
-
 
104951
    }
-
 
104952
 
-
 
104953
  }
-
 
104954
 
-
 
104955
  public static class updateRechargeOrderStatus_result implements org.apache.thrift.TBase<updateRechargeOrderStatus_result, updateRechargeOrderStatus_result._Fields>, java.io.Serializable, Cloneable   {
-
 
104956
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateRechargeOrderStatus_result");
-
 
104957
 
-
 
104958
    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);
-
 
104959
 
-
 
104960
    private TransactionServiceException ex; // required
-
 
104961
 
-
 
104962
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
104963
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
104964
      EX((short)1, "ex");
-
 
104965
 
-
 
104966
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
104967
 
-
 
104968
      static {
-
 
104969
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
104970
          byName.put(field.getFieldName(), field);
-
 
104971
        }
-
 
104972
      }
-
 
104973
 
-
 
104974
      /**
-
 
104975
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
104976
       */
-
 
104977
      public static _Fields findByThriftId(int fieldId) {
-
 
104978
        switch(fieldId) {
-
 
104979
          case 1: // EX
-
 
104980
            return EX;
-
 
104981
          default:
-
 
104982
            return null;
-
 
104983
        }
-
 
104984
      }
-
 
104985
 
-
 
104986
      /**
-
 
104987
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
104988
       * if it is not found.
-
 
104989
       */
-
 
104990
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
104991
        _Fields fields = findByThriftId(fieldId);
-
 
104992
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
104993
        return fields;
-
 
104994
      }
-
 
104995
 
-
 
104996
      /**
-
 
104997
       * Find the _Fields constant that matches name, or null if its not found.
-
 
104998
       */
-
 
104999
      public static _Fields findByName(String name) {
-
 
105000
        return byName.get(name);
-
 
105001
      }
-
 
105002
 
-
 
105003
      private final short _thriftId;
-
 
105004
      private final String _fieldName;
-
 
105005
 
-
 
105006
      _Fields(short thriftId, String fieldName) {
-
 
105007
        _thriftId = thriftId;
-
 
105008
        _fieldName = fieldName;
-
 
105009
      }
-
 
105010
 
-
 
105011
      public short getThriftFieldId() {
-
 
105012
        return _thriftId;
-
 
105013
      }
-
 
105014
 
-
 
105015
      public String getFieldName() {
-
 
105016
        return _fieldName;
-
 
105017
      }
-
 
105018
    }
-
 
105019
 
-
 
105020
    // isset id assignments
-
 
105021
 
-
 
105022
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
105023
    static {
-
 
105024
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
105025
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
105026
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
105027
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
105028
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateRechargeOrderStatus_result.class, metaDataMap);
-
 
105029
    }
-
 
105030
 
-
 
105031
    public updateRechargeOrderStatus_result() {
-
 
105032
    }
-
 
105033
 
-
 
105034
    public updateRechargeOrderStatus_result(
-
 
105035
      TransactionServiceException ex)
-
 
105036
    {
-
 
105037
      this();
-
 
105038
      this.ex = ex;
-
 
105039
    }
-
 
105040
 
-
 
105041
    /**
-
 
105042
     * Performs a deep copy on <i>other</i>.
-
 
105043
     */
-
 
105044
    public updateRechargeOrderStatus_result(updateRechargeOrderStatus_result other) {
-
 
105045
      if (other.isSetEx()) {
-
 
105046
        this.ex = new TransactionServiceException(other.ex);
-
 
105047
      }
-
 
105048
    }
-
 
105049
 
-
 
105050
    public updateRechargeOrderStatus_result deepCopy() {
-
 
105051
      return new updateRechargeOrderStatus_result(this);
-
 
105052
    }
-
 
105053
 
-
 
105054
    @Override
-
 
105055
    public void clear() {
-
 
105056
      this.ex = null;
-
 
105057
    }
-
 
105058
 
-
 
105059
    public TransactionServiceException getEx() {
-
 
105060
      return this.ex;
-
 
105061
    }
-
 
105062
 
-
 
105063
    public void setEx(TransactionServiceException ex) {
-
 
105064
      this.ex = ex;
-
 
105065
    }
-
 
105066
 
-
 
105067
    public void unsetEx() {
-
 
105068
      this.ex = null;
-
 
105069
    }
-
 
105070
 
-
 
105071
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
105072
    public boolean isSetEx() {
-
 
105073
      return this.ex != null;
-
 
105074
    }
-
 
105075
 
-
 
105076
    public void setExIsSet(boolean value) {
-
 
105077
      if (!value) {
-
 
105078
        this.ex = null;
-
 
105079
      }
-
 
105080
    }
-
 
105081
 
-
 
105082
    public void setFieldValue(_Fields field, Object value) {
-
 
105083
      switch (field) {
-
 
105084
      case EX:
-
 
105085
        if (value == null) {
-
 
105086
          unsetEx();
-
 
105087
        } else {
-
 
105088
          setEx((TransactionServiceException)value);
-
 
105089
        }
-
 
105090
        break;
-
 
105091
 
-
 
105092
      }
-
 
105093
    }
-
 
105094
 
-
 
105095
    public Object getFieldValue(_Fields field) {
-
 
105096
      switch (field) {
-
 
105097
      case EX:
-
 
105098
        return getEx();
-
 
105099
 
-
 
105100
      }
-
 
105101
      throw new IllegalStateException();
-
 
105102
    }
-
 
105103
 
-
 
105104
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
105105
    public boolean isSet(_Fields field) {
-
 
105106
      if (field == null) {
-
 
105107
        throw new IllegalArgumentException();
-
 
105108
      }
-
 
105109
 
-
 
105110
      switch (field) {
-
 
105111
      case EX:
-
 
105112
        return isSetEx();
-
 
105113
      }
-
 
105114
      throw new IllegalStateException();
-
 
105115
    }
-
 
105116
 
-
 
105117
    @Override
-
 
105118
    public boolean equals(Object that) {
-
 
105119
      if (that == null)
-
 
105120
        return false;
-
 
105121
      if (that instanceof updateRechargeOrderStatus_result)
-
 
105122
        return this.equals((updateRechargeOrderStatus_result)that);
-
 
105123
      return false;
-
 
105124
    }
-
 
105125
 
-
 
105126
    public boolean equals(updateRechargeOrderStatus_result that) {
-
 
105127
      if (that == null)
-
 
105128
        return false;
-
 
105129
 
-
 
105130
      boolean this_present_ex = true && this.isSetEx();
-
 
105131
      boolean that_present_ex = true && that.isSetEx();
-
 
105132
      if (this_present_ex || that_present_ex) {
-
 
105133
        if (!(this_present_ex && that_present_ex))
-
 
105134
          return false;
-
 
105135
        if (!this.ex.equals(that.ex))
-
 
105136
          return false;
-
 
105137
      }
-
 
105138
 
-
 
105139
      return true;
-
 
105140
    }
-
 
105141
 
-
 
105142
    @Override
-
 
105143
    public int hashCode() {
-
 
105144
      return 0;
-
 
105145
    }
-
 
105146
 
-
 
105147
    public int compareTo(updateRechargeOrderStatus_result other) {
-
 
105148
      if (!getClass().equals(other.getClass())) {
-
 
105149
        return getClass().getName().compareTo(other.getClass().getName());
-
 
105150
      }
-
 
105151
 
-
 
105152
      int lastComparison = 0;
-
 
105153
      updateRechargeOrderStatus_result typedOther = (updateRechargeOrderStatus_result)other;
-
 
105154
 
-
 
105155
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
105156
      if (lastComparison != 0) {
-
 
105157
        return lastComparison;
-
 
105158
      }
-
 
105159
      if (isSetEx()) {
-
 
105160
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
105161
        if (lastComparison != 0) {
-
 
105162
          return lastComparison;
-
 
105163
        }
-
 
105164
      }
-
 
105165
      return 0;
-
 
105166
    }
-
 
105167
 
-
 
105168
    public _Fields fieldForId(int fieldId) {
-
 
105169
      return _Fields.findByThriftId(fieldId);
-
 
105170
    }
-
 
105171
 
-
 
105172
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
105173
      org.apache.thrift.protocol.TField field;
-
 
105174
      iprot.readStructBegin();
-
 
105175
      while (true)
-
 
105176
      {
-
 
105177
        field = iprot.readFieldBegin();
-
 
105178
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
105179
          break;
-
 
105180
        }
-
 
105181
        switch (field.id) {
-
 
105182
          case 1: // EX
-
 
105183
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
105184
              this.ex = new TransactionServiceException();
-
 
105185
              this.ex.read(iprot);
-
 
105186
            } else { 
-
 
105187
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
105188
            }
-
 
105189
            break;
-
 
105190
          default:
-
 
105191
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
105192
        }
-
 
105193
        iprot.readFieldEnd();
-
 
105194
      }
-
 
105195
      iprot.readStructEnd();
-
 
105196
      validate();
-
 
105197
    }
-
 
105198
 
-
 
105199
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
105200
      oprot.writeStructBegin(STRUCT_DESC);
-
 
105201
 
-
 
105202
      if (this.isSetEx()) {
-
 
105203
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
105204
        this.ex.write(oprot);
-
 
105205
        oprot.writeFieldEnd();
-
 
105206
      }
-
 
105207
      oprot.writeFieldStop();
-
 
105208
      oprot.writeStructEnd();
-
 
105209
    }
-
 
105210
 
-
 
105211
    @Override
-
 
105212
    public String toString() {
-
 
105213
      StringBuilder sb = new StringBuilder("updateRechargeOrderStatus_result(");
-
 
105214
      boolean first = true;
-
 
105215
 
-
 
105216
      sb.append("ex:");
-
 
105217
      if (this.ex == null) {
-
 
105218
        sb.append("null");
-
 
105219
      } else {
-
 
105220
        sb.append(this.ex);
-
 
105221
      }
-
 
105222
      first = false;
-
 
105223
      sb.append(")");
-
 
105224
      return sb.toString();
-
 
105225
    }
-
 
105226
 
-
 
105227
    public void validate() throws org.apache.thrift.TException {
-
 
105228
      // check for required fields
-
 
105229
    }
-
 
105230
 
-
 
105231
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
105232
      try {
-
 
105233
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
105234
      } catch (org.apache.thrift.TException te) {
-
 
105235
        throw new java.io.IOException(te);
-
 
105236
      }
-
 
105237
    }
-
 
105238
 
-
 
105239
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
105240
      try {
-
 
105241
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
105242
      } catch (org.apache.thrift.TException te) {
-
 
105243
        throw new java.io.IOException(te);
-
 
105244
      }
-
 
105245
    }
-
 
105246
 
-
 
105247
  }
-
 
105248
 
-
 
105249
  public static class activateRechargeTxn_args implements org.apache.thrift.TBase<activateRechargeTxn_args, activateRechargeTxn_args._Fields>, java.io.Serializable, Cloneable   {
-
 
105250
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("activateRechargeTxn_args");
-
 
105251
 
-
 
105252
    private static final org.apache.thrift.protocol.TField RECHARGE_COUPONS_FIELD_DESC = new org.apache.thrift.protocol.TField("rechargeCoupons", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
105253
 
-
 
105254
    private List<RechargeCoupon> rechargeCoupons; // required
-
 
105255
 
-
 
105256
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
105257
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
105258
      RECHARGE_COUPONS((short)1, "rechargeCoupons");
-
 
105259
 
-
 
105260
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
105261
 
-
 
105262
      static {
-
 
105263
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
105264
          byName.put(field.getFieldName(), field);
-
 
105265
        }
-
 
105266
      }
-
 
105267
 
-
 
105268
      /**
-
 
105269
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
105270
       */
-
 
105271
      public static _Fields findByThriftId(int fieldId) {
-
 
105272
        switch(fieldId) {
-
 
105273
          case 1: // RECHARGE_COUPONS
-
 
105274
            return RECHARGE_COUPONS;
-
 
105275
          default:
-
 
105276
            return null;
-
 
105277
        }
-
 
105278
      }
-
 
105279
 
-
 
105280
      /**
-
 
105281
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
105282
       * if it is not found.
-
 
105283
       */
-
 
105284
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
105285
        _Fields fields = findByThriftId(fieldId);
-
 
105286
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
105287
        return fields;
-
 
105288
      }
-
 
105289
 
-
 
105290
      /**
-
 
105291
       * Find the _Fields constant that matches name, or null if its not found.
-
 
105292
       */
-
 
105293
      public static _Fields findByName(String name) {
-
 
105294
        return byName.get(name);
-
 
105295
      }
-
 
105296
 
-
 
105297
      private final short _thriftId;
-
 
105298
      private final String _fieldName;
-
 
105299
 
-
 
105300
      _Fields(short thriftId, String fieldName) {
-
 
105301
        _thriftId = thriftId;
-
 
105302
        _fieldName = fieldName;
-
 
105303
      }
-
 
105304
 
-
 
105305
      public short getThriftFieldId() {
-
 
105306
        return _thriftId;
-
 
105307
      }
-
 
105308
 
-
 
105309
      public String getFieldName() {
-
 
105310
        return _fieldName;
-
 
105311
      }
-
 
105312
    }
-
 
105313
 
-
 
105314
    // isset id assignments
-
 
105315
 
-
 
105316
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
105317
    static {
-
 
105318
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
105319
      tmpMap.put(_Fields.RECHARGE_COUPONS, new org.apache.thrift.meta_data.FieldMetaData("rechargeCoupons", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
105320
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
105321
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, RechargeCoupon.class))));
-
 
105322
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
105323
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(activateRechargeTxn_args.class, metaDataMap);
-
 
105324
    }
-
 
105325
 
-
 
105326
    public activateRechargeTxn_args() {
-
 
105327
    }
-
 
105328
 
-
 
105329
    public activateRechargeTxn_args(
-
 
105330
      List<RechargeCoupon> rechargeCoupons)
-
 
105331
    {
-
 
105332
      this();
-
 
105333
      this.rechargeCoupons = rechargeCoupons;
-
 
105334
    }
-
 
105335
 
-
 
105336
    /**
-
 
105337
     * Performs a deep copy on <i>other</i>.
-
 
105338
     */
-
 
105339
    public activateRechargeTxn_args(activateRechargeTxn_args other) {
-
 
105340
      if (other.isSetRechargeCoupons()) {
-
 
105341
        List<RechargeCoupon> __this__rechargeCoupons = new ArrayList<RechargeCoupon>();
-
 
105342
        for (RechargeCoupon other_element : other.rechargeCoupons) {
-
 
105343
          __this__rechargeCoupons.add(new RechargeCoupon(other_element));
-
 
105344
        }
-
 
105345
        this.rechargeCoupons = __this__rechargeCoupons;
-
 
105346
      }
-
 
105347
    }
-
 
105348
 
-
 
105349
    public activateRechargeTxn_args deepCopy() {
-
 
105350
      return new activateRechargeTxn_args(this);
-
 
105351
    }
-
 
105352
 
-
 
105353
    @Override
-
 
105354
    public void clear() {
-
 
105355
      this.rechargeCoupons = null;
-
 
105356
    }
-
 
105357
 
-
 
105358
    public int getRechargeCouponsSize() {
-
 
105359
      return (this.rechargeCoupons == null) ? 0 : this.rechargeCoupons.size();
-
 
105360
    }
-
 
105361
 
-
 
105362
    public java.util.Iterator<RechargeCoupon> getRechargeCouponsIterator() {
-
 
105363
      return (this.rechargeCoupons == null) ? null : this.rechargeCoupons.iterator();
-
 
105364
    }
-
 
105365
 
-
 
105366
    public void addToRechargeCoupons(RechargeCoupon elem) {
-
 
105367
      if (this.rechargeCoupons == null) {
-
 
105368
        this.rechargeCoupons = new ArrayList<RechargeCoupon>();
-
 
105369
      }
-
 
105370
      this.rechargeCoupons.add(elem);
-
 
105371
    }
-
 
105372
 
-
 
105373
    public List<RechargeCoupon> getRechargeCoupons() {
-
 
105374
      return this.rechargeCoupons;
-
 
105375
    }
-
 
105376
 
-
 
105377
    public void setRechargeCoupons(List<RechargeCoupon> rechargeCoupons) {
-
 
105378
      this.rechargeCoupons = rechargeCoupons;
-
 
105379
    }
-
 
105380
 
-
 
105381
    public void unsetRechargeCoupons() {
-
 
105382
      this.rechargeCoupons = null;
-
 
105383
    }
-
 
105384
 
-
 
105385
    /** Returns true if field rechargeCoupons is set (has been assigned a value) and false otherwise */
-
 
105386
    public boolean isSetRechargeCoupons() {
-
 
105387
      return this.rechargeCoupons != null;
-
 
105388
    }
-
 
105389
 
-
 
105390
    public void setRechargeCouponsIsSet(boolean value) {
-
 
105391
      if (!value) {
-
 
105392
        this.rechargeCoupons = null;
-
 
105393
      }
-
 
105394
    }
-
 
105395
 
-
 
105396
    public void setFieldValue(_Fields field, Object value) {
-
 
105397
      switch (field) {
-
 
105398
      case RECHARGE_COUPONS:
-
 
105399
        if (value == null) {
-
 
105400
          unsetRechargeCoupons();
-
 
105401
        } else {
-
 
105402
          setRechargeCoupons((List<RechargeCoupon>)value);
-
 
105403
        }
-
 
105404
        break;
-
 
105405
 
-
 
105406
      }
-
 
105407
    }
-
 
105408
 
-
 
105409
    public Object getFieldValue(_Fields field) {
-
 
105410
      switch (field) {
-
 
105411
      case RECHARGE_COUPONS:
-
 
105412
        return getRechargeCoupons();
-
 
105413
 
-
 
105414
      }
-
 
105415
      throw new IllegalStateException();
-
 
105416
    }
-
 
105417
 
-
 
105418
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
105419
    public boolean isSet(_Fields field) {
-
 
105420
      if (field == null) {
-
 
105421
        throw new IllegalArgumentException();
-
 
105422
      }
-
 
105423
 
-
 
105424
      switch (field) {
-
 
105425
      case RECHARGE_COUPONS:
-
 
105426
        return isSetRechargeCoupons();
-
 
105427
      }
-
 
105428
      throw new IllegalStateException();
-
 
105429
    }
-
 
105430
 
-
 
105431
    @Override
-
 
105432
    public boolean equals(Object that) {
-
 
105433
      if (that == null)
-
 
105434
        return false;
-
 
105435
      if (that instanceof activateRechargeTxn_args)
-
 
105436
        return this.equals((activateRechargeTxn_args)that);
-
 
105437
      return false;
-
 
105438
    }
-
 
105439
 
-
 
105440
    public boolean equals(activateRechargeTxn_args that) {
-
 
105441
      if (that == null)
-
 
105442
        return false;
-
 
105443
 
-
 
105444
      boolean this_present_rechargeCoupons = true && this.isSetRechargeCoupons();
-
 
105445
      boolean that_present_rechargeCoupons = true && that.isSetRechargeCoupons();
-
 
105446
      if (this_present_rechargeCoupons || that_present_rechargeCoupons) {
-
 
105447
        if (!(this_present_rechargeCoupons && that_present_rechargeCoupons))
-
 
105448
          return false;
-
 
105449
        if (!this.rechargeCoupons.equals(that.rechargeCoupons))
-
 
105450
          return false;
-
 
105451
      }
-
 
105452
 
-
 
105453
      return true;
-
 
105454
    }
-
 
105455
 
-
 
105456
    @Override
-
 
105457
    public int hashCode() {
-
 
105458
      return 0;
-
 
105459
    }
-
 
105460
 
-
 
105461
    public int compareTo(activateRechargeTxn_args other) {
-
 
105462
      if (!getClass().equals(other.getClass())) {
-
 
105463
        return getClass().getName().compareTo(other.getClass().getName());
-
 
105464
      }
-
 
105465
 
-
 
105466
      int lastComparison = 0;
-
 
105467
      activateRechargeTxn_args typedOther = (activateRechargeTxn_args)other;
-
 
105468
 
-
 
105469
      lastComparison = Boolean.valueOf(isSetRechargeCoupons()).compareTo(typedOther.isSetRechargeCoupons());
-
 
105470
      if (lastComparison != 0) {
-
 
105471
        return lastComparison;
-
 
105472
      }
-
 
105473
      if (isSetRechargeCoupons()) {
-
 
105474
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rechargeCoupons, typedOther.rechargeCoupons);
-
 
105475
        if (lastComparison != 0) {
-
 
105476
          return lastComparison;
-
 
105477
        }
-
 
105478
      }
-
 
105479
      return 0;
-
 
105480
    }
-
 
105481
 
-
 
105482
    public _Fields fieldForId(int fieldId) {
-
 
105483
      return _Fields.findByThriftId(fieldId);
-
 
105484
    }
-
 
105485
 
-
 
105486
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
105487
      org.apache.thrift.protocol.TField field;
-
 
105488
      iprot.readStructBegin();
-
 
105489
      while (true)
-
 
105490
      {
-
 
105491
        field = iprot.readFieldBegin();
-
 
105492
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
105493
          break;
-
 
105494
        }
-
 
105495
        switch (field.id) {
-
 
105496
          case 1: // RECHARGE_COUPONS
-
 
105497
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
105498
              {
-
 
105499
                org.apache.thrift.protocol.TList _list352 = iprot.readListBegin();
-
 
105500
                this.rechargeCoupons = new ArrayList<RechargeCoupon>(_list352.size);
-
 
105501
                for (int _i353 = 0; _i353 < _list352.size; ++_i353)
-
 
105502
                {
-
 
105503
                  RechargeCoupon _elem354; // required
-
 
105504
                  _elem354 = new RechargeCoupon();
-
 
105505
                  _elem354.read(iprot);
-
 
105506
                  this.rechargeCoupons.add(_elem354);
-
 
105507
                }
-
 
105508
                iprot.readListEnd();
-
 
105509
              }
-
 
105510
            } else { 
-
 
105511
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
105512
            }
-
 
105513
            break;
-
 
105514
          default:
-
 
105515
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
105516
        }
-
 
105517
        iprot.readFieldEnd();
-
 
105518
      }
-
 
105519
      iprot.readStructEnd();
-
 
105520
      validate();
-
 
105521
    }
-
 
105522
 
-
 
105523
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
105524
      validate();
-
 
105525
 
-
 
105526
      oprot.writeStructBegin(STRUCT_DESC);
-
 
105527
      if (this.rechargeCoupons != null) {
-
 
105528
        oprot.writeFieldBegin(RECHARGE_COUPONS_FIELD_DESC);
-
 
105529
        {
-
 
105530
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.rechargeCoupons.size()));
-
 
105531
          for (RechargeCoupon _iter355 : this.rechargeCoupons)
-
 
105532
          {
-
 
105533
            _iter355.write(oprot);
-
 
105534
          }
-
 
105535
          oprot.writeListEnd();
-
 
105536
        }
-
 
105537
        oprot.writeFieldEnd();
-
 
105538
      }
-
 
105539
      oprot.writeFieldStop();
-
 
105540
      oprot.writeStructEnd();
-
 
105541
    }
-
 
105542
 
-
 
105543
    @Override
-
 
105544
    public String toString() {
-
 
105545
      StringBuilder sb = new StringBuilder("activateRechargeTxn_args(");
-
 
105546
      boolean first = true;
-
 
105547
 
-
 
105548
      sb.append("rechargeCoupons:");
-
 
105549
      if (this.rechargeCoupons == null) {
-
 
105550
        sb.append("null");
-
 
105551
      } else {
-
 
105552
        sb.append(this.rechargeCoupons);
-
 
105553
      }
-
 
105554
      first = false;
-
 
105555
      sb.append(")");
-
 
105556
      return sb.toString();
-
 
105557
    }
-
 
105558
 
-
 
105559
    public void validate() throws org.apache.thrift.TException {
-
 
105560
      // check for required fields
-
 
105561
    }
-
 
105562
 
-
 
105563
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
105564
      try {
-
 
105565
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
105566
      } catch (org.apache.thrift.TException te) {
-
 
105567
        throw new java.io.IOException(te);
-
 
105568
      }
-
 
105569
    }
-
 
105570
 
-
 
105571
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
105572
      try {
-
 
105573
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
105574
      } catch (org.apache.thrift.TException te) {
-
 
105575
        throw new java.io.IOException(te);
-
 
105576
      }
-
 
105577
    }
-
 
105578
 
-
 
105579
  }
-
 
105580
 
-
 
105581
  public static class activateRechargeTxn_result implements org.apache.thrift.TBase<activateRechargeTxn_result, activateRechargeTxn_result._Fields>, java.io.Serializable, Cloneable   {
-
 
105582
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("activateRechargeTxn_result");
-
 
105583
 
-
 
105584
    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);
-
 
105585
    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);
-
 
105586
 
-
 
105587
    private RechargeResponse success; // required
-
 
105588
    private TransactionServiceException ex; // required
-
 
105589
 
-
 
105590
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
105591
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
105592
      SUCCESS((short)0, "success"),
-
 
105593
      EX((short)1, "ex");
-
 
105594
 
-
 
105595
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
105596
 
-
 
105597
      static {
-
 
105598
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
105599
          byName.put(field.getFieldName(), field);
-
 
105600
        }
-
 
105601
      }
-
 
105602
 
-
 
105603
      /**
-
 
105604
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
105605
       */
-
 
105606
      public static _Fields findByThriftId(int fieldId) {
-
 
105607
        switch(fieldId) {
-
 
105608
          case 0: // SUCCESS
-
 
105609
            return SUCCESS;
-
 
105610
          case 1: // EX
-
 
105611
            return EX;
-
 
105612
          default:
-
 
105613
            return null;
-
 
105614
        }
-
 
105615
      }
-
 
105616
 
-
 
105617
      /**
-
 
105618
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
105619
       * if it is not found.
-
 
105620
       */
-
 
105621
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
105622
        _Fields fields = findByThriftId(fieldId);
-
 
105623
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
105624
        return fields;
-
 
105625
      }
-
 
105626
 
-
 
105627
      /**
-
 
105628
       * Find the _Fields constant that matches name, or null if its not found.
-
 
105629
       */
-
 
105630
      public static _Fields findByName(String name) {
-
 
105631
        return byName.get(name);
-
 
105632
      }
-
 
105633
 
-
 
105634
      private final short _thriftId;
-
 
105635
      private final String _fieldName;
-
 
105636
 
-
 
105637
      _Fields(short thriftId, String fieldName) {
-
 
105638
        _thriftId = thriftId;
-
 
105639
        _fieldName = fieldName;
-
 
105640
      }
-
 
105641
 
-
 
105642
      public short getThriftFieldId() {
-
 
105643
        return _thriftId;
-
 
105644
      }
-
 
105645
 
-
 
105646
      public String getFieldName() {
-
 
105647
        return _fieldName;
-
 
105648
      }
-
 
105649
    }
-
 
105650
 
-
 
105651
    // isset id assignments
-
 
105652
 
-
 
105653
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
105654
    static {
-
 
105655
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
105656
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
105657
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, RechargeResponse.class)));
-
 
105658
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
105659
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
105660
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
105661
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(activateRechargeTxn_result.class, metaDataMap);
-
 
105662
    }
-
 
105663
 
-
 
105664
    public activateRechargeTxn_result() {
-
 
105665
    }
-
 
105666
 
-
 
105667
    public activateRechargeTxn_result(
-
 
105668
      RechargeResponse success,
-
 
105669
      TransactionServiceException ex)
-
 
105670
    {
-
 
105671
      this();
-
 
105672
      this.success = success;
-
 
105673
      this.ex = ex;
-
 
105674
    }
-
 
105675
 
-
 
105676
    /**
-
 
105677
     * Performs a deep copy on <i>other</i>.
-
 
105678
     */
-
 
105679
    public activateRechargeTxn_result(activateRechargeTxn_result other) {
-
 
105680
      if (other.isSetSuccess()) {
-
 
105681
        this.success = new RechargeResponse(other.success);
-
 
105682
      }
-
 
105683
      if (other.isSetEx()) {
-
 
105684
        this.ex = new TransactionServiceException(other.ex);
-
 
105685
      }
-
 
105686
    }
-
 
105687
 
-
 
105688
    public activateRechargeTxn_result deepCopy() {
-
 
105689
      return new activateRechargeTxn_result(this);
-
 
105690
    }
-
 
105691
 
-
 
105692
    @Override
-
 
105693
    public void clear() {
-
 
105694
      this.success = null;
-
 
105695
      this.ex = null;
-
 
105696
    }
-
 
105697
 
-
 
105698
    public RechargeResponse getSuccess() {
-
 
105699
      return this.success;
-
 
105700
    }
-
 
105701
 
-
 
105702
    public void setSuccess(RechargeResponse success) {
-
 
105703
      this.success = success;
-
 
105704
    }
-
 
105705
 
-
 
105706
    public void unsetSuccess() {
-
 
105707
      this.success = null;
-
 
105708
    }
-
 
105709
 
-
 
105710
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
105711
    public boolean isSetSuccess() {
-
 
105712
      return this.success != null;
-
 
105713
    }
-
 
105714
 
-
 
105715
    public void setSuccessIsSet(boolean value) {
-
 
105716
      if (!value) {
-
 
105717
        this.success = null;
-
 
105718
      }
-
 
105719
    }
-
 
105720
 
-
 
105721
    public TransactionServiceException getEx() {
-
 
105722
      return this.ex;
-
 
105723
    }
-
 
105724
 
-
 
105725
    public void setEx(TransactionServiceException ex) {
-
 
105726
      this.ex = ex;
-
 
105727
    }
-
 
105728
 
-
 
105729
    public void unsetEx() {
-
 
105730
      this.ex = null;
-
 
105731
    }
-
 
105732
 
-
 
105733
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
105734
    public boolean isSetEx() {
-
 
105735
      return this.ex != null;
-
 
105736
    }
-
 
105737
 
-
 
105738
    public void setExIsSet(boolean value) {
-
 
105739
      if (!value) {
-
 
105740
        this.ex = null;
-
 
105741
      }
-
 
105742
    }
-
 
105743
 
-
 
105744
    public void setFieldValue(_Fields field, Object value) {
-
 
105745
      switch (field) {
-
 
105746
      case SUCCESS:
-
 
105747
        if (value == null) {
-
 
105748
          unsetSuccess();
-
 
105749
        } else {
-
 
105750
          setSuccess((RechargeResponse)value);
-
 
105751
        }
-
 
105752
        break;
-
 
105753
 
-
 
105754
      case EX:
-
 
105755
        if (value == null) {
-
 
105756
          unsetEx();
-
 
105757
        } else {
-
 
105758
          setEx((TransactionServiceException)value);
-
 
105759
        }
-
 
105760
        break;
-
 
105761
 
-
 
105762
      }
-
 
105763
    }
-
 
105764
 
-
 
105765
    public Object getFieldValue(_Fields field) {
-
 
105766
      switch (field) {
-
 
105767
      case SUCCESS:
-
 
105768
        return getSuccess();
-
 
105769
 
-
 
105770
      case EX:
-
 
105771
        return getEx();
-
 
105772
 
-
 
105773
      }
-
 
105774
      throw new IllegalStateException();
-
 
105775
    }
-
 
105776
 
-
 
105777
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
105778
    public boolean isSet(_Fields field) {
-
 
105779
      if (field == null) {
-
 
105780
        throw new IllegalArgumentException();
-
 
105781
      }
-
 
105782
 
-
 
105783
      switch (field) {
-
 
105784
      case SUCCESS:
-
 
105785
        return isSetSuccess();
-
 
105786
      case EX:
-
 
105787
        return isSetEx();
-
 
105788
      }
-
 
105789
      throw new IllegalStateException();
-
 
105790
    }
-
 
105791
 
-
 
105792
    @Override
-
 
105793
    public boolean equals(Object that) {
-
 
105794
      if (that == null)
-
 
105795
        return false;
-
 
105796
      if (that instanceof activateRechargeTxn_result)
-
 
105797
        return this.equals((activateRechargeTxn_result)that);
-
 
105798
      return false;
-
 
105799
    }
-
 
105800
 
-
 
105801
    public boolean equals(activateRechargeTxn_result that) {
-
 
105802
      if (that == null)
-
 
105803
        return false;
-
 
105804
 
-
 
105805
      boolean this_present_success = true && this.isSetSuccess();
-
 
105806
      boolean that_present_success = true && that.isSetSuccess();
-
 
105807
      if (this_present_success || that_present_success) {
-
 
105808
        if (!(this_present_success && that_present_success))
-
 
105809
          return false;
-
 
105810
        if (!this.success.equals(that.success))
-
 
105811
          return false;
-
 
105812
      }
-
 
105813
 
-
 
105814
      boolean this_present_ex = true && this.isSetEx();
-
 
105815
      boolean that_present_ex = true && that.isSetEx();
-
 
105816
      if (this_present_ex || that_present_ex) {
-
 
105817
        if (!(this_present_ex && that_present_ex))
-
 
105818
          return false;
-
 
105819
        if (!this.ex.equals(that.ex))
-
 
105820
          return false;
-
 
105821
      }
-
 
105822
 
-
 
105823
      return true;
-
 
105824
    }
-
 
105825
 
-
 
105826
    @Override
-
 
105827
    public int hashCode() {
-
 
105828
      return 0;
-
 
105829
    }
-
 
105830
 
-
 
105831
    public int compareTo(activateRechargeTxn_result other) {
-
 
105832
      if (!getClass().equals(other.getClass())) {
-
 
105833
        return getClass().getName().compareTo(other.getClass().getName());
-
 
105834
      }
-
 
105835
 
-
 
105836
      int lastComparison = 0;
-
 
105837
      activateRechargeTxn_result typedOther = (activateRechargeTxn_result)other;
-
 
105838
 
-
 
105839
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
105840
      if (lastComparison != 0) {
-
 
105841
        return lastComparison;
-
 
105842
      }
-
 
105843
      if (isSetSuccess()) {
-
 
105844
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
105845
        if (lastComparison != 0) {
-
 
105846
          return lastComparison;
-
 
105847
        }
-
 
105848
      }
-
 
105849
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
105850
      if (lastComparison != 0) {
-
 
105851
        return lastComparison;
-
 
105852
      }
-
 
105853
      if (isSetEx()) {
-
 
105854
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
105855
        if (lastComparison != 0) {
-
 
105856
          return lastComparison;
-
 
105857
        }
-
 
105858
      }
-
 
105859
      return 0;
-
 
105860
    }
-
 
105861
 
-
 
105862
    public _Fields fieldForId(int fieldId) {
-
 
105863
      return _Fields.findByThriftId(fieldId);
-
 
105864
    }
-
 
105865
 
-
 
105866
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
105867
      org.apache.thrift.protocol.TField field;
-
 
105868
      iprot.readStructBegin();
-
 
105869
      while (true)
-
 
105870
      {
-
 
105871
        field = iprot.readFieldBegin();
-
 
105872
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
105873
          break;
-
 
105874
        }
-
 
105875
        switch (field.id) {
-
 
105876
          case 0: // SUCCESS
-
 
105877
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
105878
              this.success = new RechargeResponse();
-
 
105879
              this.success.read(iprot);
-
 
105880
            } else { 
-
 
105881
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
105882
            }
-
 
105883
            break;
-
 
105884
          case 1: // EX
-
 
105885
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
105886
              this.ex = new TransactionServiceException();
-
 
105887
              this.ex.read(iprot);
-
 
105888
            } else { 
-
 
105889
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
105890
            }
-
 
105891
            break;
-
 
105892
          default:
-
 
105893
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
105894
        }
-
 
105895
        iprot.readFieldEnd();
-
 
105896
      }
-
 
105897
      iprot.readStructEnd();
-
 
105898
      validate();
-
 
105899
    }
-
 
105900
 
-
 
105901
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
105902
      oprot.writeStructBegin(STRUCT_DESC);
-
 
105903
 
-
 
105904
      if (this.isSetSuccess()) {
-
 
105905
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
105906
        this.success.write(oprot);
-
 
105907
        oprot.writeFieldEnd();
-
 
105908
      } else if (this.isSetEx()) {
-
 
105909
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
105910
        this.ex.write(oprot);
-
 
105911
        oprot.writeFieldEnd();
-
 
105912
      }
-
 
105913
      oprot.writeFieldStop();
-
 
105914
      oprot.writeStructEnd();
-
 
105915
    }
-
 
105916
 
-
 
105917
    @Override
-
 
105918
    public String toString() {
-
 
105919
      StringBuilder sb = new StringBuilder("activateRechargeTxn_result(");
-
 
105920
      boolean first = true;
-
 
105921
 
-
 
105922
      sb.append("success:");
-
 
105923
      if (this.success == null) {
-
 
105924
        sb.append("null");
-
 
105925
      } else {
-
 
105926
        sb.append(this.success);
-
 
105927
      }
-
 
105928
      first = false;
-
 
105929
      if (!first) sb.append(", ");
-
 
105930
      sb.append("ex:");
-
 
105931
      if (this.ex == null) {
-
 
105932
        sb.append("null");
-
 
105933
      } else {
-
 
105934
        sb.append(this.ex);
-
 
105935
      }
-
 
105936
      first = false;
-
 
105937
      sb.append(")");
-
 
105938
      return sb.toString();
-
 
105939
    }
-
 
105940
 
-
 
105941
    public void validate() throws org.apache.thrift.TException {
-
 
105942
      // check for required fields
-
 
105943
    }
-
 
105944
 
-
 
105945
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
105946
      try {
-
 
105947
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
105948
      } catch (org.apache.thrift.TException te) {
-
 
105949
        throw new java.io.IOException(te);
-
 
105950
      }
-
 
105951
    }
-
 
105952
 
-
 
105953
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
105954
      try {
-
 
105955
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
105956
      } catch (org.apache.thrift.TException te) {
-
 
105957
        throw new java.io.IOException(te);
-
 
105958
      }
-
 
105959
    }
-
 
105960
 
-
 
105961
  }
-
 
105962
 
-
 
105963
  public static class getRechargeOrders_args implements org.apache.thrift.TBase<getRechargeOrders_args, getRechargeOrders_args._Fields>, java.io.Serializable, Cloneable   {
-
 
105964
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeOrders_args");
-
 
105965
 
-
 
105966
    private static final org.apache.thrift.protocol.TField CUSTOMER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("customerId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
105967
 
-
 
105968
    private long customerId; // required
-
 
105969
 
-
 
105970
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
105971
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
105972
      CUSTOMER_ID((short)1, "customerId");
-
 
105973
 
-
 
105974
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
105975
 
-
 
105976
      static {
-
 
105977
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
105978
          byName.put(field.getFieldName(), field);
-
 
105979
        }
-
 
105980
      }
-
 
105981
 
-
 
105982
      /**
-
 
105983
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
105984
       */
-
 
105985
      public static _Fields findByThriftId(int fieldId) {
-
 
105986
        switch(fieldId) {
-
 
105987
          case 1: // CUSTOMER_ID
-
 
105988
            return CUSTOMER_ID;
-
 
105989
          default:
-
 
105990
            return null;
-
 
105991
        }
-
 
105992
      }
-
 
105993
 
-
 
105994
      /**
-
 
105995
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
105996
       * if it is not found.
-
 
105997
       */
-
 
105998
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
105999
        _Fields fields = findByThriftId(fieldId);
-
 
106000
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
106001
        return fields;
-
 
106002
      }
-
 
106003
 
-
 
106004
      /**
-
 
106005
       * Find the _Fields constant that matches name, or null if its not found.
-
 
106006
       */
-
 
106007
      public static _Fields findByName(String name) {
-
 
106008
        return byName.get(name);
-
 
106009
      }
-
 
106010
 
-
 
106011
      private final short _thriftId;
-
 
106012
      private final String _fieldName;
-
 
106013
 
-
 
106014
      _Fields(short thriftId, String fieldName) {
-
 
106015
        _thriftId = thriftId;
-
 
106016
        _fieldName = fieldName;
-
 
106017
      }
-
 
106018
 
-
 
106019
      public short getThriftFieldId() {
-
 
106020
        return _thriftId;
-
 
106021
      }
-
 
106022
 
-
 
106023
      public String getFieldName() {
-
 
106024
        return _fieldName;
-
 
106025
      }
-
 
106026
    }
-
 
106027
 
-
 
106028
    // isset id assignments
-
 
106029
    private static final int __CUSTOMERID_ISSET_ID = 0;
-
 
106030
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
106031
 
-
 
106032
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
106033
    static {
-
 
106034
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
106035
      tmpMap.put(_Fields.CUSTOMER_ID, new org.apache.thrift.meta_data.FieldMetaData("customerId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
106036
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
106037
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
106038
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeOrders_args.class, metaDataMap);
-
 
106039
    }
-
 
106040
 
-
 
106041
    public getRechargeOrders_args() {
-
 
106042
    }
-
 
106043
 
-
 
106044
    public getRechargeOrders_args(
-
 
106045
      long customerId)
-
 
106046
    {
-
 
106047
      this();
-
 
106048
      this.customerId = customerId;
-
 
106049
      setCustomerIdIsSet(true);
-
 
106050
    }
-
 
106051
 
-
 
106052
    /**
-
 
106053
     * Performs a deep copy on <i>other</i>.
-
 
106054
     */
-
 
106055
    public getRechargeOrders_args(getRechargeOrders_args other) {
-
 
106056
      __isset_bit_vector.clear();
-
 
106057
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
106058
      this.customerId = other.customerId;
-
 
106059
    }
-
 
106060
 
-
 
106061
    public getRechargeOrders_args deepCopy() {
-
 
106062
      return new getRechargeOrders_args(this);
-
 
106063
    }
-
 
106064
 
-
 
106065
    @Override
-
 
106066
    public void clear() {
-
 
106067
      setCustomerIdIsSet(false);
-
 
106068
      this.customerId = 0;
-
 
106069
    }
-
 
106070
 
-
 
106071
    public long getCustomerId() {
-
 
106072
      return this.customerId;
-
 
106073
    }
-
 
106074
 
-
 
106075
    public void setCustomerId(long customerId) {
-
 
106076
      this.customerId = customerId;
-
 
106077
      setCustomerIdIsSet(true);
-
 
106078
    }
-
 
106079
 
-
 
106080
    public void unsetCustomerId() {
-
 
106081
      __isset_bit_vector.clear(__CUSTOMERID_ISSET_ID);
-
 
106082
    }
-
 
106083
 
-
 
106084
    /** Returns true if field customerId is set (has been assigned a value) and false otherwise */
-
 
106085
    public boolean isSetCustomerId() {
-
 
106086
      return __isset_bit_vector.get(__CUSTOMERID_ISSET_ID);
-
 
106087
    }
-
 
106088
 
-
 
106089
    public void setCustomerIdIsSet(boolean value) {
-
 
106090
      __isset_bit_vector.set(__CUSTOMERID_ISSET_ID, value);
-
 
106091
    }
-
 
106092
 
-
 
106093
    public void setFieldValue(_Fields field, Object value) {
-
 
106094
      switch (field) {
-
 
106095
      case CUSTOMER_ID:
-
 
106096
        if (value == null) {
-
 
106097
          unsetCustomerId();
-
 
106098
        } else {
-
 
106099
          setCustomerId((Long)value);
-
 
106100
        }
-
 
106101
        break;
-
 
106102
 
-
 
106103
      }
-
 
106104
    }
-
 
106105
 
-
 
106106
    public Object getFieldValue(_Fields field) {
-
 
106107
      switch (field) {
-
 
106108
      case CUSTOMER_ID:
-
 
106109
        return Long.valueOf(getCustomerId());
-
 
106110
 
-
 
106111
      }
-
 
106112
      throw new IllegalStateException();
-
 
106113
    }
-
 
106114
 
-
 
106115
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
106116
    public boolean isSet(_Fields field) {
-
 
106117
      if (field == null) {
-
 
106118
        throw new IllegalArgumentException();
-
 
106119
      }
-
 
106120
 
-
 
106121
      switch (field) {
-
 
106122
      case CUSTOMER_ID:
-
 
106123
        return isSetCustomerId();
-
 
106124
      }
-
 
106125
      throw new IllegalStateException();
-
 
106126
    }
-
 
106127
 
-
 
106128
    @Override
-
 
106129
    public boolean equals(Object that) {
-
 
106130
      if (that == null)
-
 
106131
        return false;
-
 
106132
      if (that instanceof getRechargeOrders_args)
-
 
106133
        return this.equals((getRechargeOrders_args)that);
-
 
106134
      return false;
-
 
106135
    }
-
 
106136
 
-
 
106137
    public boolean equals(getRechargeOrders_args that) {
-
 
106138
      if (that == null)
-
 
106139
        return false;
-
 
106140
 
-
 
106141
      boolean this_present_customerId = true;
-
 
106142
      boolean that_present_customerId = true;
-
 
106143
      if (this_present_customerId || that_present_customerId) {
-
 
106144
        if (!(this_present_customerId && that_present_customerId))
-
 
106145
          return false;
-
 
106146
        if (this.customerId != that.customerId)
-
 
106147
          return false;
-
 
106148
      }
-
 
106149
 
-
 
106150
      return true;
-
 
106151
    }
-
 
106152
 
-
 
106153
    @Override
-
 
106154
    public int hashCode() {
-
 
106155
      return 0;
-
 
106156
    }
-
 
106157
 
-
 
106158
    public int compareTo(getRechargeOrders_args other) {
-
 
106159
      if (!getClass().equals(other.getClass())) {
-
 
106160
        return getClass().getName().compareTo(other.getClass().getName());
-
 
106161
      }
-
 
106162
 
-
 
106163
      int lastComparison = 0;
-
 
106164
      getRechargeOrders_args typedOther = (getRechargeOrders_args)other;
-
 
106165
 
-
 
106166
      lastComparison = Boolean.valueOf(isSetCustomerId()).compareTo(typedOther.isSetCustomerId());
-
 
106167
      if (lastComparison != 0) {
-
 
106168
        return lastComparison;
-
 
106169
      }
-
 
106170
      if (isSetCustomerId()) {
-
 
106171
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerId, typedOther.customerId);
-
 
106172
        if (lastComparison != 0) {
-
 
106173
          return lastComparison;
-
 
106174
        }
-
 
106175
      }
-
 
106176
      return 0;
-
 
106177
    }
-
 
106178
 
-
 
106179
    public _Fields fieldForId(int fieldId) {
-
 
106180
      return _Fields.findByThriftId(fieldId);
-
 
106181
    }
-
 
106182
 
-
 
106183
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
106184
      org.apache.thrift.protocol.TField field;
-
 
106185
      iprot.readStructBegin();
-
 
106186
      while (true)
-
 
106187
      {
-
 
106188
        field = iprot.readFieldBegin();
-
 
106189
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
106190
          break;
-
 
106191
        }
-
 
106192
        switch (field.id) {
-
 
106193
          case 1: // CUSTOMER_ID
-
 
106194
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
106195
              this.customerId = iprot.readI64();
-
 
106196
              setCustomerIdIsSet(true);
-
 
106197
            } else { 
-
 
106198
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
106199
            }
-
 
106200
            break;
-
 
106201
          default:
-
 
106202
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
106203
        }
-
 
106204
        iprot.readFieldEnd();
-
 
106205
      }
-
 
106206
      iprot.readStructEnd();
-
 
106207
      validate();
-
 
106208
    }
-
 
106209
 
-
 
106210
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
106211
      validate();
-
 
106212
 
-
 
106213
      oprot.writeStructBegin(STRUCT_DESC);
-
 
106214
      oprot.writeFieldBegin(CUSTOMER_ID_FIELD_DESC);
-
 
106215
      oprot.writeI64(this.customerId);
-
 
106216
      oprot.writeFieldEnd();
-
 
106217
      oprot.writeFieldStop();
-
 
106218
      oprot.writeStructEnd();
-
 
106219
    }
-
 
106220
 
-
 
106221
    @Override
-
 
106222
    public String toString() {
-
 
106223
      StringBuilder sb = new StringBuilder("getRechargeOrders_args(");
-
 
106224
      boolean first = true;
-
 
106225
 
-
 
106226
      sb.append("customerId:");
-
 
106227
      sb.append(this.customerId);
-
 
106228
      first = false;
-
 
106229
      sb.append(")");
-
 
106230
      return sb.toString();
-
 
106231
    }
-
 
106232
 
-
 
106233
    public void validate() throws org.apache.thrift.TException {
-
 
106234
      // check for required fields
-
 
106235
    }
-
 
106236
 
-
 
106237
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
106238
      try {
-
 
106239
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
106240
      } catch (org.apache.thrift.TException te) {
-
 
106241
        throw new java.io.IOException(te);
-
 
106242
      }
-
 
106243
    }
-
 
106244
 
-
 
106245
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
106246
      try {
-
 
106247
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
106248
        __isset_bit_vector = new BitSet(1);
-
 
106249
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
106250
      } catch (org.apache.thrift.TException te) {
-
 
106251
        throw new java.io.IOException(te);
-
 
106252
      }
-
 
106253
    }
-
 
106254
 
-
 
106255
  }
-
 
106256
 
-
 
106257
  public static class getRechargeOrders_result implements org.apache.thrift.TBase<getRechargeOrders_result, getRechargeOrders_result._Fields>, java.io.Serializable, Cloneable   {
-
 
106258
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeOrders_result");
-
 
106259
 
-
 
106260
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
106261
 
-
 
106262
    private List<RechargeOrder> success; // required
-
 
106263
 
-
 
106264
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
106265
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
106266
      SUCCESS((short)0, "success");
-
 
106267
 
-
 
106268
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
106269
 
-
 
106270
      static {
-
 
106271
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
106272
          byName.put(field.getFieldName(), field);
-
 
106273
        }
-
 
106274
      }
-
 
106275
 
-
 
106276
      /**
-
 
106277
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
106278
       */
-
 
106279
      public static _Fields findByThriftId(int fieldId) {
-
 
106280
        switch(fieldId) {
-
 
106281
          case 0: // SUCCESS
-
 
106282
            return SUCCESS;
-
 
106283
          default:
-
 
106284
            return null;
-
 
106285
        }
-
 
106286
      }
-
 
106287
 
-
 
106288
      /**
-
 
106289
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
106290
       * if it is not found.
-
 
106291
       */
-
 
106292
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
106293
        _Fields fields = findByThriftId(fieldId);
-
 
106294
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
106295
        return fields;
-
 
106296
      }
-
 
106297
 
-
 
106298
      /**
-
 
106299
       * Find the _Fields constant that matches name, or null if its not found.
-
 
106300
       */
-
 
106301
      public static _Fields findByName(String name) {
-
 
106302
        return byName.get(name);
-
 
106303
      }
-
 
106304
 
-
 
106305
      private final short _thriftId;
-
 
106306
      private final String _fieldName;
-
 
106307
 
-
 
106308
      _Fields(short thriftId, String fieldName) {
-
 
106309
        _thriftId = thriftId;
-
 
106310
        _fieldName = fieldName;
-
 
106311
      }
-
 
106312
 
-
 
106313
      public short getThriftFieldId() {
-
 
106314
        return _thriftId;
-
 
106315
      }
-
 
106316
 
-
 
106317
      public String getFieldName() {
-
 
106318
        return _fieldName;
-
 
106319
      }
-
 
106320
    }
-
 
106321
 
-
 
106322
    // isset id assignments
-
 
106323
 
-
 
106324
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
106325
    static {
-
 
106326
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
106327
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
106328
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
106329
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, RechargeOrder.class))));
-
 
106330
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
106331
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeOrders_result.class, metaDataMap);
-
 
106332
    }
-
 
106333
 
-
 
106334
    public getRechargeOrders_result() {
-
 
106335
    }
-
 
106336
 
-
 
106337
    public getRechargeOrders_result(
-
 
106338
      List<RechargeOrder> success)
-
 
106339
    {
-
 
106340
      this();
-
 
106341
      this.success = success;
-
 
106342
    }
-
 
106343
 
-
 
106344
    /**
-
 
106345
     * Performs a deep copy on <i>other</i>.
-
 
106346
     */
-
 
106347
    public getRechargeOrders_result(getRechargeOrders_result other) {
-
 
106348
      if (other.isSetSuccess()) {
-
 
106349
        List<RechargeOrder> __this__success = new ArrayList<RechargeOrder>();
-
 
106350
        for (RechargeOrder other_element : other.success) {
-
 
106351
          __this__success.add(new RechargeOrder(other_element));
-
 
106352
        }
-
 
106353
        this.success = __this__success;
-
 
106354
      }
-
 
106355
    }
-
 
106356
 
-
 
106357
    public getRechargeOrders_result deepCopy() {
-
 
106358
      return new getRechargeOrders_result(this);
-
 
106359
    }
-
 
106360
 
-
 
106361
    @Override
-
 
106362
    public void clear() {
-
 
106363
      this.success = null;
-
 
106364
    }
-
 
106365
 
-
 
106366
    public int getSuccessSize() {
-
 
106367
      return (this.success == null) ? 0 : this.success.size();
-
 
106368
    }
-
 
106369
 
-
 
106370
    public java.util.Iterator<RechargeOrder> getSuccessIterator() {
-
 
106371
      return (this.success == null) ? null : this.success.iterator();
-
 
106372
    }
-
 
106373
 
-
 
106374
    public void addToSuccess(RechargeOrder elem) {
-
 
106375
      if (this.success == null) {
-
 
106376
        this.success = new ArrayList<RechargeOrder>();
-
 
106377
      }
-
 
106378
      this.success.add(elem);
-
 
106379
    }
-
 
106380
 
-
 
106381
    public List<RechargeOrder> getSuccess() {
-
 
106382
      return this.success;
-
 
106383
    }
-
 
106384
 
-
 
106385
    public void setSuccess(List<RechargeOrder> success) {
-
 
106386
      this.success = success;
-
 
106387
    }
-
 
106388
 
-
 
106389
    public void unsetSuccess() {
-
 
106390
      this.success = null;
-
 
106391
    }
-
 
106392
 
-
 
106393
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
106394
    public boolean isSetSuccess() {
-
 
106395
      return this.success != null;
-
 
106396
    }
-
 
106397
 
-
 
106398
    public void setSuccessIsSet(boolean value) {
-
 
106399
      if (!value) {
-
 
106400
        this.success = null;
-
 
106401
      }
-
 
106402
    }
-
 
106403
 
-
 
106404
    public void setFieldValue(_Fields field, Object value) {
-
 
106405
      switch (field) {
-
 
106406
      case SUCCESS:
-
 
106407
        if (value == null) {
-
 
106408
          unsetSuccess();
-
 
106409
        } else {
-
 
106410
          setSuccess((List<RechargeOrder>)value);
-
 
106411
        }
-
 
106412
        break;
-
 
106413
 
-
 
106414
      }
-
 
106415
    }
-
 
106416
 
-
 
106417
    public Object getFieldValue(_Fields field) {
-
 
106418
      switch (field) {
-
 
106419
      case SUCCESS:
-
 
106420
        return getSuccess();
-
 
106421
 
-
 
106422
      }
-
 
106423
      throw new IllegalStateException();
-
 
106424
    }
-
 
106425
 
-
 
106426
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
106427
    public boolean isSet(_Fields field) {
-
 
106428
      if (field == null) {
-
 
106429
        throw new IllegalArgumentException();
-
 
106430
      }
-
 
106431
 
-
 
106432
      switch (field) {
-
 
106433
      case SUCCESS:
-
 
106434
        return isSetSuccess();
-
 
106435
      }
-
 
106436
      throw new IllegalStateException();
-
 
106437
    }
-
 
106438
 
-
 
106439
    @Override
-
 
106440
    public boolean equals(Object that) {
-
 
106441
      if (that == null)
-
 
106442
        return false;
-
 
106443
      if (that instanceof getRechargeOrders_result)
-
 
106444
        return this.equals((getRechargeOrders_result)that);
-
 
106445
      return false;
-
 
106446
    }
-
 
106447
 
-
 
106448
    public boolean equals(getRechargeOrders_result that) {
-
 
106449
      if (that == null)
-
 
106450
        return false;
-
 
106451
 
-
 
106452
      boolean this_present_success = true && this.isSetSuccess();
-
 
106453
      boolean that_present_success = true && that.isSetSuccess();
-
 
106454
      if (this_present_success || that_present_success) {
-
 
106455
        if (!(this_present_success && that_present_success))
-
 
106456
          return false;
-
 
106457
        if (!this.success.equals(that.success))
-
 
106458
          return false;
-
 
106459
      }
-
 
106460
 
-
 
106461
      return true;
-
 
106462
    }
-
 
106463
 
-
 
106464
    @Override
-
 
106465
    public int hashCode() {
-
 
106466
      return 0;
-
 
106467
    }
-
 
106468
 
-
 
106469
    public int compareTo(getRechargeOrders_result other) {
-
 
106470
      if (!getClass().equals(other.getClass())) {
-
 
106471
        return getClass().getName().compareTo(other.getClass().getName());
-
 
106472
      }
-
 
106473
 
-
 
106474
      int lastComparison = 0;
-
 
106475
      getRechargeOrders_result typedOther = (getRechargeOrders_result)other;
-
 
106476
 
-
 
106477
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
106478
      if (lastComparison != 0) {
-
 
106479
        return lastComparison;
-
 
106480
      }
-
 
106481
      if (isSetSuccess()) {
-
 
106482
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
106483
        if (lastComparison != 0) {
-
 
106484
          return lastComparison;
-
 
106485
        }
-
 
106486
      }
-
 
106487
      return 0;
-
 
106488
    }
-
 
106489
 
-
 
106490
    public _Fields fieldForId(int fieldId) {
-
 
106491
      return _Fields.findByThriftId(fieldId);
-
 
106492
    }
-
 
106493
 
-
 
106494
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
106495
      org.apache.thrift.protocol.TField field;
-
 
106496
      iprot.readStructBegin();
-
 
106497
      while (true)
-
 
106498
      {
-
 
106499
        field = iprot.readFieldBegin();
-
 
106500
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
106501
          break;
-
 
106502
        }
-
 
106503
        switch (field.id) {
-
 
106504
          case 0: // SUCCESS
-
 
106505
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
106506
              {
-
 
106507
                org.apache.thrift.protocol.TList _list356 = iprot.readListBegin();
-
 
106508
                this.success = new ArrayList<RechargeOrder>(_list356.size);
-
 
106509
                for (int _i357 = 0; _i357 < _list356.size; ++_i357)
-
 
106510
                {
-
 
106511
                  RechargeOrder _elem358; // required
-
 
106512
                  _elem358 = new RechargeOrder();
-
 
106513
                  _elem358.read(iprot);
-
 
106514
                  this.success.add(_elem358);
-
 
106515
                }
-
 
106516
                iprot.readListEnd();
-
 
106517
              }
-
 
106518
            } else { 
-
 
106519
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
106520
            }
-
 
106521
            break;
-
 
106522
          default:
-
 
106523
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
106524
        }
-
 
106525
        iprot.readFieldEnd();
-
 
106526
      }
-
 
106527
      iprot.readStructEnd();
-
 
106528
      validate();
-
 
106529
    }
-
 
106530
 
-
 
106531
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
106532
      oprot.writeStructBegin(STRUCT_DESC);
-
 
106533
 
-
 
106534
      if (this.isSetSuccess()) {
-
 
106535
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
106536
        {
-
 
106537
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
106538
          for (RechargeOrder _iter359 : this.success)
-
 
106539
          {
-
 
106540
            _iter359.write(oprot);
-
 
106541
          }
-
 
106542
          oprot.writeListEnd();
-
 
106543
        }
-
 
106544
        oprot.writeFieldEnd();
-
 
106545
      }
-
 
106546
      oprot.writeFieldStop();
-
 
106547
      oprot.writeStructEnd();
-
 
106548
    }
-
 
106549
 
-
 
106550
    @Override
-
 
106551
    public String toString() {
-
 
106552
      StringBuilder sb = new StringBuilder("getRechargeOrders_result(");
-
 
106553
      boolean first = true;
-
 
106554
 
-
 
106555
      sb.append("success:");
-
 
106556
      if (this.success == null) {
-
 
106557
        sb.append("null");
-
 
106558
      } else {
-
 
106559
        sb.append(this.success);
-
 
106560
      }
-
 
106561
      first = false;
-
 
106562
      sb.append(")");
-
 
106563
      return sb.toString();
-
 
106564
    }
-
 
106565
 
-
 
106566
    public void validate() throws org.apache.thrift.TException {
-
 
106567
      // check for required fields
-
 
106568
    }
-
 
106569
 
-
 
106570
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
106571
      try {
-
 
106572
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
106573
      } catch (org.apache.thrift.TException te) {
-
 
106574
        throw new java.io.IOException(te);
-
 
106575
      }
-
 
106576
    }
-
 
106577
 
-
 
106578
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
106579
      try {
-
 
106580
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
106581
      } catch (org.apache.thrift.TException te) {
-
 
106582
        throw new java.io.IOException(te);
-
 
106583
      }
-
 
106584
    }
-
 
106585
 
-
 
106586
  }
-
 
106587
 
-
 
106588
  public static class getRechargeCoupons_args implements org.apache.thrift.TBase<getRechargeCoupons_args, getRechargeCoupons_args._Fields>, java.io.Serializable, Cloneable   {
-
 
106589
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeCoupons_args");
-
 
106590
 
-
 
106591
    private static final org.apache.thrift.protocol.TField CUSTOMER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("customerId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
106592
    private static final org.apache.thrift.protocol.TField RECHARGE_COUPON_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("rechargeCouponStatus", org.apache.thrift.protocol.TType.I32, (short)2);
-
 
106593
 
-
 
106594
    private long customerId; // required
-
 
106595
    private RechargeCouponStatus rechargeCouponStatus; // required
-
 
106596
 
-
 
106597
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
106598
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
106599
      CUSTOMER_ID((short)1, "customerId"),
-
 
106600
      /**
-
 
106601
       * 
-
 
106602
       * @see RechargeCouponStatus
-
 
106603
       */
-
 
106604
      RECHARGE_COUPON_STATUS((short)2, "rechargeCouponStatus");
-
 
106605
 
-
 
106606
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
106607
 
-
 
106608
      static {
-
 
106609
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
106610
          byName.put(field.getFieldName(), field);
-
 
106611
        }
-
 
106612
      }
-
 
106613
 
-
 
106614
      /**
-
 
106615
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
106616
       */
-
 
106617
      public static _Fields findByThriftId(int fieldId) {
-
 
106618
        switch(fieldId) {
-
 
106619
          case 1: // CUSTOMER_ID
-
 
106620
            return CUSTOMER_ID;
-
 
106621
          case 2: // RECHARGE_COUPON_STATUS
-
 
106622
            return RECHARGE_COUPON_STATUS;
-
 
106623
          default:
-
 
106624
            return null;
-
 
106625
        }
-
 
106626
      }
-
 
106627
 
-
 
106628
      /**
-
 
106629
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
106630
       * if it is not found.
-
 
106631
       */
-
 
106632
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
106633
        _Fields fields = findByThriftId(fieldId);
-
 
106634
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
106635
        return fields;
-
 
106636
      }
-
 
106637
 
-
 
106638
      /**
-
 
106639
       * Find the _Fields constant that matches name, or null if its not found.
-
 
106640
       */
-
 
106641
      public static _Fields findByName(String name) {
-
 
106642
        return byName.get(name);
-
 
106643
      }
-
 
106644
 
-
 
106645
      private final short _thriftId;
-
 
106646
      private final String _fieldName;
-
 
106647
 
-
 
106648
      _Fields(short thriftId, String fieldName) {
-
 
106649
        _thriftId = thriftId;
-
 
106650
        _fieldName = fieldName;
-
 
106651
      }
-
 
106652
 
-
 
106653
      public short getThriftFieldId() {
-
 
106654
        return _thriftId;
-
 
106655
      }
-
 
106656
 
-
 
106657
      public String getFieldName() {
-
 
106658
        return _fieldName;
-
 
106659
      }
-
 
106660
    }
-
 
106661
 
-
 
106662
    // isset id assignments
-
 
106663
    private static final int __CUSTOMERID_ISSET_ID = 0;
-
 
106664
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
106665
 
-
 
106666
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
106667
    static {
-
 
106668
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
106669
      tmpMap.put(_Fields.CUSTOMER_ID, new org.apache.thrift.meta_data.FieldMetaData("customerId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
106670
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
106671
      tmpMap.put(_Fields.RECHARGE_COUPON_STATUS, new org.apache.thrift.meta_data.FieldMetaData("rechargeCouponStatus", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
106672
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, RechargeCouponStatus.class)));
-
 
106673
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
106674
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeCoupons_args.class, metaDataMap);
-
 
106675
    }
-
 
106676
 
-
 
106677
    public getRechargeCoupons_args() {
-
 
106678
    }
-
 
106679
 
-
 
106680
    public getRechargeCoupons_args(
-
 
106681
      long customerId,
-
 
106682
      RechargeCouponStatus rechargeCouponStatus)
-
 
106683
    {
-
 
106684
      this();
-
 
106685
      this.customerId = customerId;
-
 
106686
      setCustomerIdIsSet(true);
-
 
106687
      this.rechargeCouponStatus = rechargeCouponStatus;
-
 
106688
    }
-
 
106689
 
-
 
106690
    /**
-
 
106691
     * Performs a deep copy on <i>other</i>.
-
 
106692
     */
-
 
106693
    public getRechargeCoupons_args(getRechargeCoupons_args other) {
-
 
106694
      __isset_bit_vector.clear();
-
 
106695
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
106696
      this.customerId = other.customerId;
-
 
106697
      if (other.isSetRechargeCouponStatus()) {
-
 
106698
        this.rechargeCouponStatus = other.rechargeCouponStatus;
-
 
106699
      }
-
 
106700
    }
-
 
106701
 
-
 
106702
    public getRechargeCoupons_args deepCopy() {
-
 
106703
      return new getRechargeCoupons_args(this);
-
 
106704
    }
-
 
106705
 
-
 
106706
    @Override
-
 
106707
    public void clear() {
-
 
106708
      setCustomerIdIsSet(false);
-
 
106709
      this.customerId = 0;
-
 
106710
      this.rechargeCouponStatus = null;
-
 
106711
    }
-
 
106712
 
-
 
106713
    public long getCustomerId() {
-
 
106714
      return this.customerId;
-
 
106715
    }
-
 
106716
 
-
 
106717
    public void setCustomerId(long customerId) {
-
 
106718
      this.customerId = customerId;
-
 
106719
      setCustomerIdIsSet(true);
-
 
106720
    }
-
 
106721
 
-
 
106722
    public void unsetCustomerId() {
-
 
106723
      __isset_bit_vector.clear(__CUSTOMERID_ISSET_ID);
-
 
106724
    }
-
 
106725
 
-
 
106726
    /** Returns true if field customerId is set (has been assigned a value) and false otherwise */
-
 
106727
    public boolean isSetCustomerId() {
-
 
106728
      return __isset_bit_vector.get(__CUSTOMERID_ISSET_ID);
-
 
106729
    }
-
 
106730
 
-
 
106731
    public void setCustomerIdIsSet(boolean value) {
-
 
106732
      __isset_bit_vector.set(__CUSTOMERID_ISSET_ID, value);
-
 
106733
    }
-
 
106734
 
-
 
106735
    /**
-
 
106736
     * 
-
 
106737
     * @see RechargeCouponStatus
-
 
106738
     */
-
 
106739
    public RechargeCouponStatus getRechargeCouponStatus() {
-
 
106740
      return this.rechargeCouponStatus;
-
 
106741
    }
-
 
106742
 
-
 
106743
    /**
-
 
106744
     * 
-
 
106745
     * @see RechargeCouponStatus
-
 
106746
     */
-
 
106747
    public void setRechargeCouponStatus(RechargeCouponStatus rechargeCouponStatus) {
-
 
106748
      this.rechargeCouponStatus = rechargeCouponStatus;
-
 
106749
    }
-
 
106750
 
-
 
106751
    public void unsetRechargeCouponStatus() {
-
 
106752
      this.rechargeCouponStatus = null;
-
 
106753
    }
-
 
106754
 
-
 
106755
    /** Returns true if field rechargeCouponStatus is set (has been assigned a value) and false otherwise */
-
 
106756
    public boolean isSetRechargeCouponStatus() {
-
 
106757
      return this.rechargeCouponStatus != null;
-
 
106758
    }
-
 
106759
 
-
 
106760
    public void setRechargeCouponStatusIsSet(boolean value) {
-
 
106761
      if (!value) {
-
 
106762
        this.rechargeCouponStatus = null;
-
 
106763
      }
-
 
106764
    }
-
 
106765
 
-
 
106766
    public void setFieldValue(_Fields field, Object value) {
-
 
106767
      switch (field) {
-
 
106768
      case CUSTOMER_ID:
-
 
106769
        if (value == null) {
-
 
106770
          unsetCustomerId();
-
 
106771
        } else {
-
 
106772
          setCustomerId((Long)value);
-
 
106773
        }
-
 
106774
        break;
-
 
106775
 
-
 
106776
      case RECHARGE_COUPON_STATUS:
-
 
106777
        if (value == null) {
-
 
106778
          unsetRechargeCouponStatus();
-
 
106779
        } else {
-
 
106780
          setRechargeCouponStatus((RechargeCouponStatus)value);
-
 
106781
        }
-
 
106782
        break;
-
 
106783
 
-
 
106784
      }
-
 
106785
    }
-
 
106786
 
-
 
106787
    public Object getFieldValue(_Fields field) {
-
 
106788
      switch (field) {
-
 
106789
      case CUSTOMER_ID:
-
 
106790
        return Long.valueOf(getCustomerId());
-
 
106791
 
-
 
106792
      case RECHARGE_COUPON_STATUS:
-
 
106793
        return getRechargeCouponStatus();
-
 
106794
 
-
 
106795
      }
-
 
106796
      throw new IllegalStateException();
-
 
106797
    }
-
 
106798
 
-
 
106799
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
106800
    public boolean isSet(_Fields field) {
-
 
106801
      if (field == null) {
-
 
106802
        throw new IllegalArgumentException();
-
 
106803
      }
-
 
106804
 
-
 
106805
      switch (field) {
-
 
106806
      case CUSTOMER_ID:
-
 
106807
        return isSetCustomerId();
-
 
106808
      case RECHARGE_COUPON_STATUS:
-
 
106809
        return isSetRechargeCouponStatus();
-
 
106810
      }
-
 
106811
      throw new IllegalStateException();
-
 
106812
    }
-
 
106813
 
-
 
106814
    @Override
-
 
106815
    public boolean equals(Object that) {
-
 
106816
      if (that == null)
-
 
106817
        return false;
-
 
106818
      if (that instanceof getRechargeCoupons_args)
-
 
106819
        return this.equals((getRechargeCoupons_args)that);
-
 
106820
      return false;
-
 
106821
    }
-
 
106822
 
-
 
106823
    public boolean equals(getRechargeCoupons_args that) {
-
 
106824
      if (that == null)
-
 
106825
        return false;
-
 
106826
 
-
 
106827
      boolean this_present_customerId = true;
-
 
106828
      boolean that_present_customerId = true;
-
 
106829
      if (this_present_customerId || that_present_customerId) {
-
 
106830
        if (!(this_present_customerId && that_present_customerId))
-
 
106831
          return false;
-
 
106832
        if (this.customerId != that.customerId)
-
 
106833
          return false;
-
 
106834
      }
-
 
106835
 
-
 
106836
      boolean this_present_rechargeCouponStatus = true && this.isSetRechargeCouponStatus();
-
 
106837
      boolean that_present_rechargeCouponStatus = true && that.isSetRechargeCouponStatus();
-
 
106838
      if (this_present_rechargeCouponStatus || that_present_rechargeCouponStatus) {
-
 
106839
        if (!(this_present_rechargeCouponStatus && that_present_rechargeCouponStatus))
-
 
106840
          return false;
-
 
106841
        if (!this.rechargeCouponStatus.equals(that.rechargeCouponStatus))
-
 
106842
          return false;
-
 
106843
      }
-
 
106844
 
-
 
106845
      return true;
-
 
106846
    }
-
 
106847
 
-
 
106848
    @Override
-
 
106849
    public int hashCode() {
-
 
106850
      return 0;
-
 
106851
    }
-
 
106852
 
-
 
106853
    public int compareTo(getRechargeCoupons_args other) {
-
 
106854
      if (!getClass().equals(other.getClass())) {
-
 
106855
        return getClass().getName().compareTo(other.getClass().getName());
-
 
106856
      }
-
 
106857
 
-
 
106858
      int lastComparison = 0;
-
 
106859
      getRechargeCoupons_args typedOther = (getRechargeCoupons_args)other;
-
 
106860
 
-
 
106861
      lastComparison = Boolean.valueOf(isSetCustomerId()).compareTo(typedOther.isSetCustomerId());
-
 
106862
      if (lastComparison != 0) {
-
 
106863
        return lastComparison;
-
 
106864
      }
-
 
106865
      if (isSetCustomerId()) {
-
 
106866
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerId, typedOther.customerId);
-
 
106867
        if (lastComparison != 0) {
-
 
106868
          return lastComparison;
-
 
106869
        }
-
 
106870
      }
-
 
106871
      lastComparison = Boolean.valueOf(isSetRechargeCouponStatus()).compareTo(typedOther.isSetRechargeCouponStatus());
-
 
106872
      if (lastComparison != 0) {
-
 
106873
        return lastComparison;
-
 
106874
      }
-
 
106875
      if (isSetRechargeCouponStatus()) {
-
 
106876
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rechargeCouponStatus, typedOther.rechargeCouponStatus);
-
 
106877
        if (lastComparison != 0) {
-
 
106878
          return lastComparison;
-
 
106879
        }
-
 
106880
      }
-
 
106881
      return 0;
-
 
106882
    }
-
 
106883
 
-
 
106884
    public _Fields fieldForId(int fieldId) {
-
 
106885
      return _Fields.findByThriftId(fieldId);
-
 
106886
    }
-
 
106887
 
-
 
106888
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
106889
      org.apache.thrift.protocol.TField field;
-
 
106890
      iprot.readStructBegin();
-
 
106891
      while (true)
-
 
106892
      {
-
 
106893
        field = iprot.readFieldBegin();
-
 
106894
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
106895
          break;
-
 
106896
        }
-
 
106897
        switch (field.id) {
-
 
106898
          case 1: // CUSTOMER_ID
-
 
106899
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
106900
              this.customerId = iprot.readI64();
-
 
106901
              setCustomerIdIsSet(true);
-
 
106902
            } else { 
-
 
106903
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
106904
            }
-
 
106905
            break;
-
 
106906
          case 2: // RECHARGE_COUPON_STATUS
-
 
106907
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
106908
              this.rechargeCouponStatus = RechargeCouponStatus.findByValue(iprot.readI32());
-
 
106909
            } else { 
-
 
106910
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
106911
            }
-
 
106912
            break;
-
 
106913
          default:
-
 
106914
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
106915
        }
-
 
106916
        iprot.readFieldEnd();
-
 
106917
      }
-
 
106918
      iprot.readStructEnd();
-
 
106919
      validate();
-
 
106920
    }
-
 
106921
 
-
 
106922
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
106923
      validate();
-
 
106924
 
-
 
106925
      oprot.writeStructBegin(STRUCT_DESC);
-
 
106926
      oprot.writeFieldBegin(CUSTOMER_ID_FIELD_DESC);
-
 
106927
      oprot.writeI64(this.customerId);
-
 
106928
      oprot.writeFieldEnd();
-
 
106929
      if (this.rechargeCouponStatus != null) {
-
 
106930
        oprot.writeFieldBegin(RECHARGE_COUPON_STATUS_FIELD_DESC);
-
 
106931
        oprot.writeI32(this.rechargeCouponStatus.getValue());
-
 
106932
        oprot.writeFieldEnd();
-
 
106933
      }
-
 
106934
      oprot.writeFieldStop();
-
 
106935
      oprot.writeStructEnd();
-
 
106936
    }
-
 
106937
 
-
 
106938
    @Override
-
 
106939
    public String toString() {
-
 
106940
      StringBuilder sb = new StringBuilder("getRechargeCoupons_args(");
-
 
106941
      boolean first = true;
-
 
106942
 
-
 
106943
      sb.append("customerId:");
-
 
106944
      sb.append(this.customerId);
-
 
106945
      first = false;
-
 
106946
      if (!first) sb.append(", ");
-
 
106947
      sb.append("rechargeCouponStatus:");
-
 
106948
      if (this.rechargeCouponStatus == null) {
-
 
106949
        sb.append("null");
-
 
106950
      } else {
-
 
106951
        sb.append(this.rechargeCouponStatus);
-
 
106952
      }
-
 
106953
      first = false;
-
 
106954
      sb.append(")");
-
 
106955
      return sb.toString();
-
 
106956
    }
-
 
106957
 
-
 
106958
    public void validate() throws org.apache.thrift.TException {
-
 
106959
      // check for required fields
-
 
106960
    }
-
 
106961
 
-
 
106962
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
106963
      try {
-
 
106964
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
106965
      } catch (org.apache.thrift.TException te) {
-
 
106966
        throw new java.io.IOException(te);
-
 
106967
      }
-
 
106968
    }
-
 
106969
 
-
 
106970
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
106971
      try {
-
 
106972
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
106973
      } catch (org.apache.thrift.TException te) {
-
 
106974
        throw new java.io.IOException(te);
-
 
106975
      }
-
 
106976
    }
-
 
106977
 
-
 
106978
  }
-
 
106979
 
-
 
106980
  public static class getRechargeCoupons_result implements org.apache.thrift.TBase<getRechargeCoupons_result, getRechargeCoupons_result._Fields>, java.io.Serializable, Cloneable   {
-
 
106981
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeCoupons_result");
-
 
106982
 
-
 
106983
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
106984
 
-
 
106985
    private List<RechargeCoupon> success; // required
-
 
106986
 
-
 
106987
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
106988
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
106989
      SUCCESS((short)0, "success");
-
 
106990
 
-
 
106991
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
106992
 
-
 
106993
      static {
-
 
106994
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
106995
          byName.put(field.getFieldName(), field);
-
 
106996
        }
-
 
106997
      }
-
 
106998
 
-
 
106999
      /**
-
 
107000
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
107001
       */
-
 
107002
      public static _Fields findByThriftId(int fieldId) {
-
 
107003
        switch(fieldId) {
-
 
107004
          case 0: // SUCCESS
-
 
107005
            return SUCCESS;
-
 
107006
          default:
-
 
107007
            return null;
-
 
107008
        }
-
 
107009
      }
-
 
107010
 
-
 
107011
      /**
-
 
107012
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
107013
       * if it is not found.
-
 
107014
       */
-
 
107015
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
107016
        _Fields fields = findByThriftId(fieldId);
-
 
107017
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
107018
        return fields;
-
 
107019
      }
-
 
107020
 
-
 
107021
      /**
-
 
107022
       * Find the _Fields constant that matches name, or null if its not found.
-
 
107023
       */
-
 
107024
      public static _Fields findByName(String name) {
-
 
107025
        return byName.get(name);
-
 
107026
      }
-
 
107027
 
-
 
107028
      private final short _thriftId;
-
 
107029
      private final String _fieldName;
-
 
107030
 
-
 
107031
      _Fields(short thriftId, String fieldName) {
-
 
107032
        _thriftId = thriftId;
-
 
107033
        _fieldName = fieldName;
-
 
107034
      }
-
 
107035
 
-
 
107036
      public short getThriftFieldId() {
-
 
107037
        return _thriftId;
-
 
107038
      }
-
 
107039
 
-
 
107040
      public String getFieldName() {
-
 
107041
        return _fieldName;
-
 
107042
      }
-
 
107043
    }
-
 
107044
 
-
 
107045
    // isset id assignments
-
 
107046
 
-
 
107047
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
107048
    static {
-
 
107049
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
107050
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
107051
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
107052
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, RechargeCoupon.class))));
-
 
107053
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
107054
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeCoupons_result.class, metaDataMap);
-
 
107055
    }
-
 
107056
 
-
 
107057
    public getRechargeCoupons_result() {
-
 
107058
    }
-
 
107059
 
-
 
107060
    public getRechargeCoupons_result(
-
 
107061
      List<RechargeCoupon> success)
-
 
107062
    {
-
 
107063
      this();
-
 
107064
      this.success = success;
-
 
107065
    }
-
 
107066
 
-
 
107067
    /**
-
 
107068
     * Performs a deep copy on <i>other</i>.
-
 
107069
     */
-
 
107070
    public getRechargeCoupons_result(getRechargeCoupons_result other) {
-
 
107071
      if (other.isSetSuccess()) {
-
 
107072
        List<RechargeCoupon> __this__success = new ArrayList<RechargeCoupon>();
-
 
107073
        for (RechargeCoupon other_element : other.success) {
-
 
107074
          __this__success.add(new RechargeCoupon(other_element));
-
 
107075
        }
-
 
107076
        this.success = __this__success;
-
 
107077
      }
-
 
107078
    }
-
 
107079
 
-
 
107080
    public getRechargeCoupons_result deepCopy() {
-
 
107081
      return new getRechargeCoupons_result(this);
-
 
107082
    }
-
 
107083
 
-
 
107084
    @Override
-
 
107085
    public void clear() {
-
 
107086
      this.success = null;
-
 
107087
    }
-
 
107088
 
-
 
107089
    public int getSuccessSize() {
-
 
107090
      return (this.success == null) ? 0 : this.success.size();
-
 
107091
    }
-
 
107092
 
-
 
107093
    public java.util.Iterator<RechargeCoupon> getSuccessIterator() {
-
 
107094
      return (this.success == null) ? null : this.success.iterator();
-
 
107095
    }
-
 
107096
 
-
 
107097
    public void addToSuccess(RechargeCoupon elem) {
-
 
107098
      if (this.success == null) {
-
 
107099
        this.success = new ArrayList<RechargeCoupon>();
-
 
107100
      }
-
 
107101
      this.success.add(elem);
-
 
107102
    }
-
 
107103
 
-
 
107104
    public List<RechargeCoupon> getSuccess() {
-
 
107105
      return this.success;
-
 
107106
    }
-
 
107107
 
-
 
107108
    public void setSuccess(List<RechargeCoupon> success) {
-
 
107109
      this.success = success;
-
 
107110
    }
-
 
107111
 
-
 
107112
    public void unsetSuccess() {
-
 
107113
      this.success = null;
-
 
107114
    }
-
 
107115
 
-
 
107116
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
107117
    public boolean isSetSuccess() {
-
 
107118
      return this.success != null;
-
 
107119
    }
-
 
107120
 
-
 
107121
    public void setSuccessIsSet(boolean value) {
-
 
107122
      if (!value) {
-
 
107123
        this.success = null;
-
 
107124
      }
-
 
107125
    }
-
 
107126
 
-
 
107127
    public void setFieldValue(_Fields field, Object value) {
-
 
107128
      switch (field) {
-
 
107129
      case SUCCESS:
-
 
107130
        if (value == null) {
-
 
107131
          unsetSuccess();
-
 
107132
        } else {
-
 
107133
          setSuccess((List<RechargeCoupon>)value);
-
 
107134
        }
-
 
107135
        break;
-
 
107136
 
-
 
107137
      }
-
 
107138
    }
-
 
107139
 
-
 
107140
    public Object getFieldValue(_Fields field) {
-
 
107141
      switch (field) {
-
 
107142
      case SUCCESS:
-
 
107143
        return getSuccess();
-
 
107144
 
-
 
107145
      }
-
 
107146
      throw new IllegalStateException();
-
 
107147
    }
-
 
107148
 
-
 
107149
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
107150
    public boolean isSet(_Fields field) {
-
 
107151
      if (field == null) {
-
 
107152
        throw new IllegalArgumentException();
-
 
107153
      }
-
 
107154
 
-
 
107155
      switch (field) {
-
 
107156
      case SUCCESS:
-
 
107157
        return isSetSuccess();
-
 
107158
      }
-
 
107159
      throw new IllegalStateException();
-
 
107160
    }
-
 
107161
 
-
 
107162
    @Override
-
 
107163
    public boolean equals(Object that) {
-
 
107164
      if (that == null)
-
 
107165
        return false;
-
 
107166
      if (that instanceof getRechargeCoupons_result)
-
 
107167
        return this.equals((getRechargeCoupons_result)that);
-
 
107168
      return false;
-
 
107169
    }
-
 
107170
 
-
 
107171
    public boolean equals(getRechargeCoupons_result that) {
-
 
107172
      if (that == null)
-
 
107173
        return false;
-
 
107174
 
-
 
107175
      boolean this_present_success = true && this.isSetSuccess();
-
 
107176
      boolean that_present_success = true && that.isSetSuccess();
-
 
107177
      if (this_present_success || that_present_success) {
-
 
107178
        if (!(this_present_success && that_present_success))
-
 
107179
          return false;
-
 
107180
        if (!this.success.equals(that.success))
-
 
107181
          return false;
-
 
107182
      }
-
 
107183
 
-
 
107184
      return true;
-
 
107185
    }
-
 
107186
 
-
 
107187
    @Override
-
 
107188
    public int hashCode() {
-
 
107189
      return 0;
-
 
107190
    }
-
 
107191
 
-
 
107192
    public int compareTo(getRechargeCoupons_result other) {
-
 
107193
      if (!getClass().equals(other.getClass())) {
-
 
107194
        return getClass().getName().compareTo(other.getClass().getName());
-
 
107195
      }
-
 
107196
 
-
 
107197
      int lastComparison = 0;
-
 
107198
      getRechargeCoupons_result typedOther = (getRechargeCoupons_result)other;
-
 
107199
 
-
 
107200
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
107201
      if (lastComparison != 0) {
-
 
107202
        return lastComparison;
-
 
107203
      }
-
 
107204
      if (isSetSuccess()) {
-
 
107205
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
107206
        if (lastComparison != 0) {
-
 
107207
          return lastComparison;
-
 
107208
        }
-
 
107209
      }
-
 
107210
      return 0;
-
 
107211
    }
-
 
107212
 
-
 
107213
    public _Fields fieldForId(int fieldId) {
-
 
107214
      return _Fields.findByThriftId(fieldId);
-
 
107215
    }
-
 
107216
 
-
 
107217
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
107218
      org.apache.thrift.protocol.TField field;
-
 
107219
      iprot.readStructBegin();
-
 
107220
      while (true)
-
 
107221
      {
-
 
107222
        field = iprot.readFieldBegin();
-
 
107223
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
107224
          break;
-
 
107225
        }
-
 
107226
        switch (field.id) {
-
 
107227
          case 0: // SUCCESS
-
 
107228
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
107229
              {
-
 
107230
                org.apache.thrift.protocol.TList _list360 = iprot.readListBegin();
-
 
107231
                this.success = new ArrayList<RechargeCoupon>(_list360.size);
-
 
107232
                for (int _i361 = 0; _i361 < _list360.size; ++_i361)
-
 
107233
                {
-
 
107234
                  RechargeCoupon _elem362; // required
-
 
107235
                  _elem362 = new RechargeCoupon();
-
 
107236
                  _elem362.read(iprot);
-
 
107237
                  this.success.add(_elem362);
-
 
107238
                }
-
 
107239
                iprot.readListEnd();
-
 
107240
              }
-
 
107241
            } else { 
-
 
107242
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
107243
            }
-
 
107244
            break;
-
 
107245
          default:
-
 
107246
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
107247
        }
-
 
107248
        iprot.readFieldEnd();
-
 
107249
      }
-
 
107250
      iprot.readStructEnd();
-
 
107251
      validate();
-
 
107252
    }
-
 
107253
 
-
 
107254
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
107255
      oprot.writeStructBegin(STRUCT_DESC);
-
 
107256
 
-
 
107257
      if (this.isSetSuccess()) {
-
 
107258
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
107259
        {
-
 
107260
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
107261
          for (RechargeCoupon _iter363 : this.success)
-
 
107262
          {
-
 
107263
            _iter363.write(oprot);
-
 
107264
          }
-
 
107265
          oprot.writeListEnd();
-
 
107266
        }
-
 
107267
        oprot.writeFieldEnd();
-
 
107268
      }
-
 
107269
      oprot.writeFieldStop();
-
 
107270
      oprot.writeStructEnd();
-
 
107271
    }
-
 
107272
 
-
 
107273
    @Override
-
 
107274
    public String toString() {
-
 
107275
      StringBuilder sb = new StringBuilder("getRechargeCoupons_result(");
-
 
107276
      boolean first = true;
-
 
107277
 
-
 
107278
      sb.append("success:");
-
 
107279
      if (this.success == null) {
-
 
107280
        sb.append("null");
-
 
107281
      } else {
-
 
107282
        sb.append(this.success);
-
 
107283
      }
-
 
107284
      first = false;
-
 
107285
      sb.append(")");
-
 
107286
      return sb.toString();
-
 
107287
    }
-
 
107288
 
-
 
107289
    public void validate() throws org.apache.thrift.TException {
103461
      // check for required fields
107290
      // check for required fields
103462
    }
107291
    }
103463
 
107292
 
103464
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
107293
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
103465
      try {
107294
      try {