Subversion Repositories SmartDukaan

Rev

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

Rev 6019 Rev 6031
Line 852... Line 852...
852
     */
852
     */
853
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId) throws org.apache.thrift.TException;
853
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId) throws org.apache.thrift.TException;
854
 
854
 
855
    public RechargeOrder createRechargeOrder(RechargeOrder rechargeOrder) throws TransactionServiceException, org.apache.thrift.TException;
855
    public RechargeOrder createRechargeOrder(RechargeOrder rechargeOrder) throws TransactionServiceException, org.apache.thrift.TException;
856
 
856
 
857
    public void updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus) throws TransactionServiceException, org.apache.thrift.TException;
857
    public RechargeOrder getRechargeOrder(long rechargeRrderId) throws TransactionServiceException, org.apache.thrift.TException;
858
 
858
 
859
    public RechargeResponse activateRechargeTxn(List<RechargeCoupon> rechargeCoupons) throws TransactionServiceException, org.apache.thrift.TException;
859
    public List<RechargeOrder> getRechargeOrders(long userId) throws org.apache.thrift.TException;
860
 
860
 
861
    public List<RechargeOrder> getRechargeOrders(long customerId) throws org.apache.thrift.TException;
861
    public boolean updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus) throws TransactionServiceException, org.apache.thrift.TException;
862
 
862
 
863
    public List<RechargeCoupon> getRechargeCoupons(long customerId, RechargeCouponStatus rechargeCouponStatus) throws org.apache.thrift.TException;
863
    public boolean activateRechargeTxn(long rechargeOrderId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
864
 
-
 
865
    public UserWallet getUserWallet(long userId) throws org.apache.thrift.TException;
-
 
866
 
-
 
867
    public List<UserWalletHistory> getUserWalletHistory(long userId) throws org.apache.thrift.TException;
864
 
868
 
865
  }
869
  }
866
 
870
 
867
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
871
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
868
 
872
 
Line 1120... Line 1124...
1120
 
1124
 
1121
    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;
1125
    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;
1122
 
1126
 
1123
    public void createRechargeOrder(RechargeOrder rechargeOrder, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createRechargeOrder_call> resultHandler) throws org.apache.thrift.TException;
1127
    public void createRechargeOrder(RechargeOrder rechargeOrder, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createRechargeOrder_call> resultHandler) throws org.apache.thrift.TException;
1124
 
1128
 
-
 
1129
    public void getRechargeOrder(long rechargeRrderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeOrder_call> resultHandler) throws org.apache.thrift.TException;
-
 
1130
 
-
 
1131
    public void getRechargeOrders(long userId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeOrders_call> resultHandler) throws org.apache.thrift.TException;
-
 
1132
 
1125
    public void updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateRechargeOrderStatus_call> resultHandler) throws org.apache.thrift.TException;
1133
    public void updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateRechargeOrderStatus_call> resultHandler) throws org.apache.thrift.TException;
1126
 
1134
 
1127
    public void activateRechargeTxn(List<RechargeCoupon> rechargeCoupons, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.activateRechargeTxn_call> resultHandler) throws org.apache.thrift.TException;
1135
    public void activateRechargeTxn(long rechargeOrderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.activateRechargeTxn_call> resultHandler) throws org.apache.thrift.TException;
1128
 
1136
 
1129
    public void getRechargeOrders(long customerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeOrders_call> resultHandler) throws org.apache.thrift.TException;
1137
    public void getUserWallet(long userId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUserWallet_call> resultHandler) throws org.apache.thrift.TException;
1130
 
1138
 
1131
    public void getRechargeCoupons(long customerId, RechargeCouponStatus rechargeCouponStatus, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeCoupons_call> resultHandler) throws org.apache.thrift.TException;
1139
    public void getUserWalletHistory(long userId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUserWalletHistory_call> resultHandler) throws org.apache.thrift.TException;
1132
 
1140
 
1133
  }
1141
  }
1134
 
1142
 
1135
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1143
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1136
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1144
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
Line 4397... Line 4405...
4397
        throw result.ex;
4405
        throw result.ex;
4398
      }
4406
      }
4399
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createRechargeOrder failed: unknown result");
4407
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createRechargeOrder failed: unknown result");
4400
    }
4408
    }
4401
 
4409
 
-
 
4410
    public RechargeOrder getRechargeOrder(long rechargeRrderId) throws TransactionServiceException, org.apache.thrift.TException
-
 
4411
    {
-
 
4412
      send_getRechargeOrder(rechargeRrderId);
-
 
4413
      return recv_getRechargeOrder();
-
 
4414
    }
-
 
4415
 
-
 
4416
    public void send_getRechargeOrder(long rechargeRrderId) throws org.apache.thrift.TException
-
 
4417
    {
-
 
4418
      getRechargeOrder_args args = new getRechargeOrder_args();
-
 
4419
      args.setRechargeRrderId(rechargeRrderId);
-
 
4420
      sendBase("getRechargeOrder", args);
-
 
4421
    }
-
 
4422
 
-
 
4423
    public RechargeOrder recv_getRechargeOrder() throws TransactionServiceException, org.apache.thrift.TException
-
 
4424
    {
-
 
4425
      getRechargeOrder_result result = new getRechargeOrder_result();
-
 
4426
      receiveBase(result, "getRechargeOrder");
-
 
4427
      if (result.isSetSuccess()) {
-
 
4428
        return result.success;
-
 
4429
      }
-
 
4430
      if (result.ex != null) {
-
 
4431
        throw result.ex;
-
 
4432
      }
-
 
4433
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRechargeOrder failed: unknown result");
-
 
4434
    }
-
 
4435
 
-
 
4436
    public List<RechargeOrder> getRechargeOrders(long userId) throws org.apache.thrift.TException
-
 
4437
    {
-
 
4438
      send_getRechargeOrders(userId);
-
 
4439
      return recv_getRechargeOrders();
-
 
4440
    }
-
 
4441
 
-
 
4442
    public void send_getRechargeOrders(long userId) throws org.apache.thrift.TException
-
 
4443
    {
-
 
4444
      getRechargeOrders_args args = new getRechargeOrders_args();
-
 
4445
      args.setUserId(userId);
-
 
4446
      sendBase("getRechargeOrders", args);
-
 
4447
    }
-
 
4448
 
-
 
4449
    public List<RechargeOrder> recv_getRechargeOrders() throws org.apache.thrift.TException
-
 
4450
    {
-
 
4451
      getRechargeOrders_result result = new getRechargeOrders_result();
-
 
4452
      receiveBase(result, "getRechargeOrders");
-
 
4453
      if (result.isSetSuccess()) {
-
 
4454
        return result.success;
-
 
4455
      }
-
 
4456
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRechargeOrders failed: unknown result");
-
 
4457
    }
-
 
4458
 
4402
    public void updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus) throws TransactionServiceException, org.apache.thrift.TException
4459
    public boolean updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus) throws TransactionServiceException, org.apache.thrift.TException
4403
    {
4460
    {
4404
      send_updateRechargeOrderStatus(rechargeOrderId, rechargeOrderStatus);
4461
      send_updateRechargeOrderStatus(rechargeOrderId, rechargeOrderStatus);
4405
      recv_updateRechargeOrderStatus();
4462
      return recv_updateRechargeOrderStatus();
4406
    }
4463
    }
4407
 
4464
 
4408
    public void send_updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus) throws org.apache.thrift.TException
4465
    public void send_updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus) throws org.apache.thrift.TException
4409
    {
4466
    {
4410
      updateRechargeOrderStatus_args args = new updateRechargeOrderStatus_args();
4467
      updateRechargeOrderStatus_args args = new updateRechargeOrderStatus_args();
4411
      args.setRechargeOrderId(rechargeOrderId);
4468
      args.setRechargeOrderId(rechargeOrderId);
4412
      args.setRechargeOrderStatus(rechargeOrderStatus);
4469
      args.setRechargeOrderStatus(rechargeOrderStatus);
4413
      sendBase("updateRechargeOrderStatus", args);
4470
      sendBase("updateRechargeOrderStatus", args);
4414
    }
4471
    }
4415
 
4472
 
4416
    public void recv_updateRechargeOrderStatus() throws TransactionServiceException, org.apache.thrift.TException
4473
    public boolean recv_updateRechargeOrderStatus() throws TransactionServiceException, org.apache.thrift.TException
4417
    {
4474
    {
4418
      updateRechargeOrderStatus_result result = new updateRechargeOrderStatus_result();
4475
      updateRechargeOrderStatus_result result = new updateRechargeOrderStatus_result();
4419
      receiveBase(result, "updateRechargeOrderStatus");
4476
      receiveBase(result, "updateRechargeOrderStatus");
-
 
4477
      if (result.isSetSuccess()) {
-
 
4478
        return result.success;
-
 
4479
      }
4420
      if (result.ex != null) {
4480
      if (result.ex != null) {
4421
        throw result.ex;
4481
        throw result.ex;
4422
      }
4482
      }
4423
      return;
-
 
-
 
4483
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateRechargeOrderStatus failed: unknown result");
4424
    }
4484
    }
4425
 
4485
 
4426
    public RechargeResponse activateRechargeTxn(List<RechargeCoupon> rechargeCoupons) throws TransactionServiceException, org.apache.thrift.TException
4486
    public boolean activateRechargeTxn(long rechargeOrderId) throws TransactionServiceException, org.apache.thrift.TException
4427
    {
4487
    {
4428
      send_activateRechargeTxn(rechargeCoupons);
4488
      send_activateRechargeTxn(rechargeOrderId);
4429
      return recv_activateRechargeTxn();
4489
      return recv_activateRechargeTxn();
4430
    }
4490
    }
4431
 
4491
 
4432
    public void send_activateRechargeTxn(List<RechargeCoupon> rechargeCoupons) throws org.apache.thrift.TException
4492
    public void send_activateRechargeTxn(long rechargeOrderId) throws org.apache.thrift.TException
4433
    {
4493
    {
4434
      activateRechargeTxn_args args = new activateRechargeTxn_args();
4494
      activateRechargeTxn_args args = new activateRechargeTxn_args();
4435
      args.setRechargeCoupons(rechargeCoupons);
4495
      args.setRechargeOrderId(rechargeOrderId);
4436
      sendBase("activateRechargeTxn", args);
4496
      sendBase("activateRechargeTxn", args);
4437
    }
4497
    }
4438
 
4498
 
4439
    public RechargeResponse recv_activateRechargeTxn() throws TransactionServiceException, org.apache.thrift.TException
4499
    public boolean recv_activateRechargeTxn() throws TransactionServiceException, org.apache.thrift.TException
4440
    {
4500
    {
4441
      activateRechargeTxn_result result = new activateRechargeTxn_result();
4501
      activateRechargeTxn_result result = new activateRechargeTxn_result();
4442
      receiveBase(result, "activateRechargeTxn");
4502
      receiveBase(result, "activateRechargeTxn");
4443
      if (result.isSetSuccess()) {
4503
      if (result.isSetSuccess()) {
4444
        return result.success;
4504
        return result.success;
Line 4447... Line 4507...
4447
        throw result.ex;
4507
        throw result.ex;
4448
      }
4508
      }
4449
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "activateRechargeTxn failed: unknown result");
4509
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "activateRechargeTxn failed: unknown result");
4450
    }
4510
    }
4451
 
4511
 
4452
    public List<RechargeOrder> getRechargeOrders(long customerId) throws org.apache.thrift.TException
4512
    public UserWallet getUserWallet(long userId) throws org.apache.thrift.TException
4453
    {
4513
    {
4454
      send_getRechargeOrders(customerId);
4514
      send_getUserWallet(userId);
4455
      return recv_getRechargeOrders();
4515
      return recv_getUserWallet();
4456
    }
4516
    }
4457
 
4517
 
4458
    public void send_getRechargeOrders(long customerId) throws org.apache.thrift.TException
4518
    public void send_getUserWallet(long userId) throws org.apache.thrift.TException
4459
    {
4519
    {
4460
      getRechargeOrders_args args = new getRechargeOrders_args();
4520
      getUserWallet_args args = new getUserWallet_args();
4461
      args.setCustomerId(customerId);
4521
      args.setUserId(userId);
4462
      sendBase("getRechargeOrders", args);
4522
      sendBase("getUserWallet", args);
4463
    }
4523
    }
4464
 
4524
 
4465
    public List<RechargeOrder> recv_getRechargeOrders() throws org.apache.thrift.TException
4525
    public UserWallet recv_getUserWallet() throws org.apache.thrift.TException
4466
    {
4526
    {
4467
      getRechargeOrders_result result = new getRechargeOrders_result();
4527
      getUserWallet_result result = new getUserWallet_result();
4468
      receiveBase(result, "getRechargeOrders");
4528
      receiveBase(result, "getUserWallet");
4469
      if (result.isSetSuccess()) {
4529
      if (result.isSetSuccess()) {
4470
        return result.success;
4530
        return result.success;
4471
      }
4531
      }
4472
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRechargeOrders failed: unknown result");
4532
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUserWallet failed: unknown result");
4473
    }
4533
    }
4474
 
4534
 
4475
    public List<RechargeCoupon> getRechargeCoupons(long customerId, RechargeCouponStatus rechargeCouponStatus) throws org.apache.thrift.TException
4535
    public List<UserWalletHistory> getUserWalletHistory(long userId) throws org.apache.thrift.TException
4476
    {
4536
    {
4477
      send_getRechargeCoupons(customerId, rechargeCouponStatus);
4537
      send_getUserWalletHistory(userId);
4478
      return recv_getRechargeCoupons();
4538
      return recv_getUserWalletHistory();
4479
    }
4539
    }
4480
 
4540
 
4481
    public void send_getRechargeCoupons(long customerId, RechargeCouponStatus rechargeCouponStatus) throws org.apache.thrift.TException
4541
    public void send_getUserWalletHistory(long userId) throws org.apache.thrift.TException
4482
    {
4542
    {
4483
      getRechargeCoupons_args args = new getRechargeCoupons_args();
4543
      getUserWalletHistory_args args = new getUserWalletHistory_args();
4484
      args.setCustomerId(customerId);
4544
      args.setUserId(userId);
4485
      args.setRechargeCouponStatus(rechargeCouponStatus);
-
 
4486
      sendBase("getRechargeCoupons", args);
4545
      sendBase("getUserWalletHistory", args);
4487
    }
4546
    }
4488
 
4547
 
4489
    public List<RechargeCoupon> recv_getRechargeCoupons() throws org.apache.thrift.TException
4548
    public List<UserWalletHistory> recv_getUserWalletHistory() throws org.apache.thrift.TException
4490
    {
4549
    {
4491
      getRechargeCoupons_result result = new getRechargeCoupons_result();
4550
      getUserWalletHistory_result result = new getUserWalletHistory_result();
4492
      receiveBase(result, "getRechargeCoupons");
4551
      receiveBase(result, "getUserWalletHistory");
4493
      if (result.isSetSuccess()) {
4552
      if (result.isSetSuccess()) {
4494
        return result.success;
4553
        return result.success;
4495
      }
4554
      }
4496
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRechargeCoupons failed: unknown result");
4555
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUserWalletHistory failed: unknown result");
4497
    }
4556
    }
4498
 
4557
 
4499
  }
4558
  }
4500
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
4559
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
4501
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
4560
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
Line 9004... Line 9063...
9004
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
9063
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
9005
        return (new Client(prot)).recv_createRechargeOrder();
9064
        return (new Client(prot)).recv_createRechargeOrder();
9006
      }
9065
      }
9007
    }
9066
    }
9008
 
9067
 
-
 
9068
    public void getRechargeOrder(long rechargeRrderId, org.apache.thrift.async.AsyncMethodCallback<getRechargeOrder_call> resultHandler) throws org.apache.thrift.TException {
-
 
9069
      checkReady();
-
 
9070
      getRechargeOrder_call method_call = new getRechargeOrder_call(rechargeRrderId, resultHandler, this, ___protocolFactory, ___transport);
-
 
9071
      this.___currentMethod = method_call;
-
 
9072
      ___manager.call(method_call);
-
 
9073
    }
-
 
9074
 
-
 
9075
    public static class getRechargeOrder_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
9076
      private long rechargeRrderId;
-
 
9077
      public getRechargeOrder_call(long rechargeRrderId, org.apache.thrift.async.AsyncMethodCallback<getRechargeOrder_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 {
-
 
9078
        super(client, protocolFactory, transport, resultHandler, false);
-
 
9079
        this.rechargeRrderId = rechargeRrderId;
-
 
9080
      }
-
 
9081
 
-
 
9082
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
9083
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRechargeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
9084
        getRechargeOrder_args args = new getRechargeOrder_args();
-
 
9085
        args.setRechargeRrderId(rechargeRrderId);
-
 
9086
        args.write(prot);
-
 
9087
        prot.writeMessageEnd();
-
 
9088
      }
-
 
9089
 
-
 
9090
      public RechargeOrder getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
9091
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
9092
          throw new IllegalStateException("Method call not finished!");
-
 
9093
        }
-
 
9094
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
9095
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
9096
        return (new Client(prot)).recv_getRechargeOrder();
-
 
9097
      }
-
 
9098
    }
-
 
9099
 
-
 
9100
    public void getRechargeOrders(long userId, org.apache.thrift.async.AsyncMethodCallback<getRechargeOrders_call> resultHandler) throws org.apache.thrift.TException {
-
 
9101
      checkReady();
-
 
9102
      getRechargeOrders_call method_call = new getRechargeOrders_call(userId, resultHandler, this, ___protocolFactory, ___transport);
-
 
9103
      this.___currentMethod = method_call;
-
 
9104
      ___manager.call(method_call);
-
 
9105
    }
-
 
9106
 
-
 
9107
    public static class getRechargeOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
9108
      private long userId;
-
 
9109
      public getRechargeOrders_call(long userId, 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 {
-
 
9110
        super(client, protocolFactory, transport, resultHandler, false);
-
 
9111
        this.userId = userId;
-
 
9112
      }
-
 
9113
 
-
 
9114
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
9115
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRechargeOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
9116
        getRechargeOrders_args args = new getRechargeOrders_args();
-
 
9117
        args.setUserId(userId);
-
 
9118
        args.write(prot);
-
 
9119
        prot.writeMessageEnd();
-
 
9120
      }
-
 
9121
 
-
 
9122
      public List<RechargeOrder> getResult() throws org.apache.thrift.TException {
-
 
9123
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
9124
          throw new IllegalStateException("Method call not finished!");
-
 
9125
        }
-
 
9126
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
9127
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
9128
        return (new Client(prot)).recv_getRechargeOrders();
-
 
9129
      }
-
 
9130
    }
-
 
9131
 
9009
    public void updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus, org.apache.thrift.async.AsyncMethodCallback<updateRechargeOrderStatus_call> resultHandler) throws org.apache.thrift.TException {
9132
    public void updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus, org.apache.thrift.async.AsyncMethodCallback<updateRechargeOrderStatus_call> resultHandler) throws org.apache.thrift.TException {
9010
      checkReady();
9133
      checkReady();
9011
      updateRechargeOrderStatus_call method_call = new updateRechargeOrderStatus_call(rechargeOrderId, rechargeOrderStatus, resultHandler, this, ___protocolFactory, ___transport);
9134
      updateRechargeOrderStatus_call method_call = new updateRechargeOrderStatus_call(rechargeOrderId, rechargeOrderStatus, resultHandler, this, ___protocolFactory, ___transport);
9012
      this.___currentMethod = method_call;
9135
      this.___currentMethod = method_call;
9013
      ___manager.call(method_call);
9136
      ___manager.call(method_call);
Line 9029... Line 9152...
9029
        args.setRechargeOrderStatus(rechargeOrderStatus);
9152
        args.setRechargeOrderStatus(rechargeOrderStatus);
9030
        args.write(prot);
9153
        args.write(prot);
9031
        prot.writeMessageEnd();
9154
        prot.writeMessageEnd();
9032
      }
9155
      }
9033
 
9156
 
9034
      public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
9157
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
9035
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
9158
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
9036
          throw new IllegalStateException("Method call not finished!");
9159
          throw new IllegalStateException("Method call not finished!");
9037
        }
9160
        }
9038
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
9161
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
9039
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
9162
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
9040
        (new Client(prot)).recv_updateRechargeOrderStatus();
9163
        return (new Client(prot)).recv_updateRechargeOrderStatus();
9041
      }
9164
      }
9042
    }
9165
    }
9043
 
9166
 
9044
    public void activateRechargeTxn(List<RechargeCoupon> rechargeCoupons, org.apache.thrift.async.AsyncMethodCallback<activateRechargeTxn_call> resultHandler) throws org.apache.thrift.TException {
9167
    public void activateRechargeTxn(long rechargeOrderId, org.apache.thrift.async.AsyncMethodCallback<activateRechargeTxn_call> resultHandler) throws org.apache.thrift.TException {
9045
      checkReady();
9168
      checkReady();
9046
      activateRechargeTxn_call method_call = new activateRechargeTxn_call(rechargeCoupons, resultHandler, this, ___protocolFactory, ___transport);
9169
      activateRechargeTxn_call method_call = new activateRechargeTxn_call(rechargeOrderId, resultHandler, this, ___protocolFactory, ___transport);
9047
      this.___currentMethod = method_call;
9170
      this.___currentMethod = method_call;
9048
      ___manager.call(method_call);
9171
      ___manager.call(method_call);
9049
    }
9172
    }
9050
 
9173
 
9051
    public static class activateRechargeTxn_call extends org.apache.thrift.async.TAsyncMethodCall {
9174
    public static class activateRechargeTxn_call extends org.apache.thrift.async.TAsyncMethodCall {
9052
      private List<RechargeCoupon> rechargeCoupons;
9175
      private long rechargeOrderId;
9053
      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 {
9176
      public activateRechargeTxn_call(long rechargeOrderId, 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 {
9054
        super(client, protocolFactory, transport, resultHandler, false);
9177
        super(client, protocolFactory, transport, resultHandler, false);
9055
        this.rechargeCoupons = rechargeCoupons;
9178
        this.rechargeOrderId = rechargeOrderId;
9056
      }
9179
      }
9057
 
9180
 
9058
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
9181
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
9059
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("activateRechargeTxn", org.apache.thrift.protocol.TMessageType.CALL, 0));
9182
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("activateRechargeTxn", org.apache.thrift.protocol.TMessageType.CALL, 0));
9060
        activateRechargeTxn_args args = new activateRechargeTxn_args();
9183
        activateRechargeTxn_args args = new activateRechargeTxn_args();
9061
        args.setRechargeCoupons(rechargeCoupons);
9184
        args.setRechargeOrderId(rechargeOrderId);
9062
        args.write(prot);
9185
        args.write(prot);
9063
        prot.writeMessageEnd();
9186
        prot.writeMessageEnd();
9064
      }
9187
      }
9065
 
9188
 
9066
      public RechargeResponse getResult() throws TransactionServiceException, org.apache.thrift.TException {
9189
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
9067
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
9190
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
9068
          throw new IllegalStateException("Method call not finished!");
9191
          throw new IllegalStateException("Method call not finished!");
9069
        }
9192
        }
9070
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
9193
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
9071
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
9194
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
9072
        return (new Client(prot)).recv_activateRechargeTxn();
9195
        return (new Client(prot)).recv_activateRechargeTxn();
9073
      }
9196
      }
9074
    }
9197
    }
9075
 
9198
 
9076
    public void getRechargeOrders(long customerId, org.apache.thrift.async.AsyncMethodCallback<getRechargeOrders_call> resultHandler) throws org.apache.thrift.TException {
9199
    public void getUserWallet(long userId, org.apache.thrift.async.AsyncMethodCallback<getUserWallet_call> resultHandler) throws org.apache.thrift.TException {
9077
      checkReady();
9200
      checkReady();
9078
      getRechargeOrders_call method_call = new getRechargeOrders_call(customerId, resultHandler, this, ___protocolFactory, ___transport);
9201
      getUserWallet_call method_call = new getUserWallet_call(userId, resultHandler, this, ___protocolFactory, ___transport);
9079
      this.___currentMethod = method_call;
9202
      this.___currentMethod = method_call;
9080
      ___manager.call(method_call);
9203
      ___manager.call(method_call);
9081
    }
9204
    }
9082
 
9205
 
9083
    public static class getRechargeOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
9206
    public static class getUserWallet_call extends org.apache.thrift.async.TAsyncMethodCall {
9084
      private long customerId;
9207
      private long userId;
9085
      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 {
9208
      public getUserWallet_call(long userId, org.apache.thrift.async.AsyncMethodCallback<getUserWallet_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 {
9086
        super(client, protocolFactory, transport, resultHandler, false);
9209
        super(client, protocolFactory, transport, resultHandler, false);
9087
        this.customerId = customerId;
9210
        this.userId = userId;
9088
      }
9211
      }
9089
 
9212
 
9090
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
9213
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
9091
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRechargeOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
9214
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getUserWallet", org.apache.thrift.protocol.TMessageType.CALL, 0));
9092
        getRechargeOrders_args args = new getRechargeOrders_args();
9215
        getUserWallet_args args = new getUserWallet_args();
9093
        args.setCustomerId(customerId);
9216
        args.setUserId(userId);
9094
        args.write(prot);
9217
        args.write(prot);
9095
        prot.writeMessageEnd();
9218
        prot.writeMessageEnd();
9096
      }
9219
      }
9097
 
9220
 
9098
      public List<RechargeOrder> getResult() throws org.apache.thrift.TException {
9221
      public UserWallet getResult() throws org.apache.thrift.TException {
9099
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
9222
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
9100
          throw new IllegalStateException("Method call not finished!");
9223
          throw new IllegalStateException("Method call not finished!");
9101
        }
9224
        }
9102
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
9225
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
9103
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
9226
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
9104
        return (new Client(prot)).recv_getRechargeOrders();
9227
        return (new Client(prot)).recv_getUserWallet();
9105
      }
9228
      }
9106
    }
9229
    }
9107
 
9230
 
9108
    public void getRechargeCoupons(long customerId, RechargeCouponStatus rechargeCouponStatus, org.apache.thrift.async.AsyncMethodCallback<getRechargeCoupons_call> resultHandler) throws org.apache.thrift.TException {
9231
    public void getUserWalletHistory(long userId, org.apache.thrift.async.AsyncMethodCallback<getUserWalletHistory_call> resultHandler) throws org.apache.thrift.TException {
9109
      checkReady();
9232
      checkReady();
9110
      getRechargeCoupons_call method_call = new getRechargeCoupons_call(customerId, rechargeCouponStatus, resultHandler, this, ___protocolFactory, ___transport);
9233
      getUserWalletHistory_call method_call = new getUserWalletHistory_call(userId, resultHandler, this, ___protocolFactory, ___transport);
9111
      this.___currentMethod = method_call;
9234
      this.___currentMethod = method_call;
9112
      ___manager.call(method_call);
9235
      ___manager.call(method_call);
9113
    }
9236
    }
9114
 
9237
 
9115
    public static class getRechargeCoupons_call extends org.apache.thrift.async.TAsyncMethodCall {
9238
    public static class getUserWalletHistory_call extends org.apache.thrift.async.TAsyncMethodCall {
9116
      private long customerId;
9239
      private long userId;
9117
      private RechargeCouponStatus rechargeCouponStatus;
-
 
9118
      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 {
9240
      public getUserWalletHistory_call(long userId, org.apache.thrift.async.AsyncMethodCallback<getUserWalletHistory_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 {
9119
        super(client, protocolFactory, transport, resultHandler, false);
9241
        super(client, protocolFactory, transport, resultHandler, false);
9120
        this.customerId = customerId;
9242
        this.userId = userId;
9121
        this.rechargeCouponStatus = rechargeCouponStatus;
-
 
9122
      }
9243
      }
9123
 
9244
 
9124
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
9245
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
9125
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRechargeCoupons", org.apache.thrift.protocol.TMessageType.CALL, 0));
9246
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getUserWalletHistory", org.apache.thrift.protocol.TMessageType.CALL, 0));
9126
        getRechargeCoupons_args args = new getRechargeCoupons_args();
9247
        getUserWalletHistory_args args = new getUserWalletHistory_args();
9127
        args.setCustomerId(customerId);
9248
        args.setUserId(userId);
9128
        args.setRechargeCouponStatus(rechargeCouponStatus);
-
 
9129
        args.write(prot);
9249
        args.write(prot);
9130
        prot.writeMessageEnd();
9250
        prot.writeMessageEnd();
9131
      }
9251
      }
9132
 
9252
 
9133
      public List<RechargeCoupon> getResult() throws org.apache.thrift.TException {
9253
      public List<UserWalletHistory> getResult() throws org.apache.thrift.TException {
9134
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
9254
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
9135
          throw new IllegalStateException("Method call not finished!");
9255
          throw new IllegalStateException("Method call not finished!");
9136
        }
9256
        }
9137
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
9257
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
9138
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
9258
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
9139
        return (new Client(prot)).recv_getRechargeCoupons();
9259
        return (new Client(prot)).recv_getUserWalletHistory();
9140
      }
9260
      }
9141
    }
9261
    }
9142
 
9262
 
9143
  }
9263
  }
9144
 
9264
 
Line 9279... Line 9399...
9279
      processMap.put("getOrderAttributeValue", new getOrderAttributeValue());
9399
      processMap.put("getOrderAttributeValue", new getOrderAttributeValue());
9280
      processMap.put("changeJacketNumber", new changeJacketNumber());
9400
      processMap.put("changeJacketNumber", new changeJacketNumber());
9281
      processMap.put("markOrderAsRtoInTransit", new markOrderAsRtoInTransit());
9401
      processMap.put("markOrderAsRtoInTransit", new markOrderAsRtoInTransit());
9282
      processMap.put("acceptOrderForItem", new acceptOrderForItem());
9402
      processMap.put("acceptOrderForItem", new acceptOrderForItem());
9283
      processMap.put("createRechargeOrder", new createRechargeOrder());
9403
      processMap.put("createRechargeOrder", new createRechargeOrder());
-
 
9404
      processMap.put("getRechargeOrder", new getRechargeOrder());
-
 
9405
      processMap.put("getRechargeOrders", new getRechargeOrders());
9284
      processMap.put("updateRechargeOrderStatus", new updateRechargeOrderStatus());
9406
      processMap.put("updateRechargeOrderStatus", new updateRechargeOrderStatus());
9285
      processMap.put("activateRechargeTxn", new activateRechargeTxn());
9407
      processMap.put("activateRechargeTxn", new activateRechargeTxn());
9286
      processMap.put("getRechargeOrders", new getRechargeOrders());
9408
      processMap.put("getUserWallet", new getUserWallet());
9287
      processMap.put("getRechargeCoupons", new getRechargeCoupons());
9409
      processMap.put("getUserWalletHistory", new getUserWalletHistory());
9288
      return processMap;
9410
      return processMap;
9289
    }
9411
    }
9290
 
9412
 
9291
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
9413
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
9292
      public createTransaction() {
9414
      public createTransaction() {
Line 11734... Line 11856...
11734
        }
11856
        }
11735
        return result;
11857
        return result;
11736
      }
11858
      }
11737
    }
11859
    }
11738
 
11860
 
-
 
11861
    private static class getRechargeOrder<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRechargeOrder_args> {
-
 
11862
      public getRechargeOrder() {
-
 
11863
        super("getRechargeOrder");
-
 
11864
      }
-
 
11865
 
-
 
11866
      protected getRechargeOrder_args getEmptyArgsInstance() {
-
 
11867
        return new getRechargeOrder_args();
-
 
11868
      }
-
 
11869
 
-
 
11870
      protected getRechargeOrder_result getResult(I iface, getRechargeOrder_args args) throws org.apache.thrift.TException {
-
 
11871
        getRechargeOrder_result result = new getRechargeOrder_result();
-
 
11872
        try {
-
 
11873
          result.success = iface.getRechargeOrder(args.rechargeRrderId);
-
 
11874
        } catch (TransactionServiceException ex) {
-
 
11875
          result.ex = ex;
-
 
11876
        }
-
 
11877
        return result;
-
 
11878
      }
-
 
11879
    }
-
 
11880
 
-
 
11881
    private static class getRechargeOrders<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRechargeOrders_args> {
-
 
11882
      public getRechargeOrders() {
-
 
11883
        super("getRechargeOrders");
-
 
11884
      }
-
 
11885
 
-
 
11886
      protected getRechargeOrders_args getEmptyArgsInstance() {
-
 
11887
        return new getRechargeOrders_args();
-
 
11888
      }
-
 
11889
 
-
 
11890
      protected getRechargeOrders_result getResult(I iface, getRechargeOrders_args args) throws org.apache.thrift.TException {
-
 
11891
        getRechargeOrders_result result = new getRechargeOrders_result();
-
 
11892
        result.success = iface.getRechargeOrders(args.userId);
-
 
11893
        return result;
-
 
11894
      }
-
 
11895
    }
-
 
11896
 
11739
    private static class updateRechargeOrderStatus<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateRechargeOrderStatus_args> {
11897
    private static class updateRechargeOrderStatus<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateRechargeOrderStatus_args> {
11740
      public updateRechargeOrderStatus() {
11898
      public updateRechargeOrderStatus() {
11741
        super("updateRechargeOrderStatus");
11899
        super("updateRechargeOrderStatus");
11742
      }
11900
      }
11743
 
11901
 
Line 11746... Line 11904...
11746
      }
11904
      }
11747
 
11905
 
11748
      protected updateRechargeOrderStatus_result getResult(I iface, updateRechargeOrderStatus_args args) throws org.apache.thrift.TException {
11906
      protected updateRechargeOrderStatus_result getResult(I iface, updateRechargeOrderStatus_args args) throws org.apache.thrift.TException {
11749
        updateRechargeOrderStatus_result result = new updateRechargeOrderStatus_result();
11907
        updateRechargeOrderStatus_result result = new updateRechargeOrderStatus_result();
11750
        try {
11908
        try {
11751
          iface.updateRechargeOrderStatus(args.rechargeOrderId, args.rechargeOrderStatus);
11909
          result.success = iface.updateRechargeOrderStatus(args.rechargeOrderId, args.rechargeOrderStatus);
-
 
11910
          result.setSuccessIsSet(true);
11752
        } catch (TransactionServiceException ex) {
11911
        } catch (TransactionServiceException ex) {
11753
          result.ex = ex;
11912
          result.ex = ex;
11754
        }
11913
        }
11755
        return result;
11914
        return result;
11756
      }
11915
      }
Line 11766... Line 11925...
11766
      }
11925
      }
11767
 
11926
 
11768
      protected activateRechargeTxn_result getResult(I iface, activateRechargeTxn_args args) throws org.apache.thrift.TException {
11927
      protected activateRechargeTxn_result getResult(I iface, activateRechargeTxn_args args) throws org.apache.thrift.TException {
11769
        activateRechargeTxn_result result = new activateRechargeTxn_result();
11928
        activateRechargeTxn_result result = new activateRechargeTxn_result();
11770
        try {
11929
        try {
11771
          result.success = iface.activateRechargeTxn(args.rechargeCoupons);
11930
          result.success = iface.activateRechargeTxn(args.rechargeOrderId);
-
 
11931
          result.setSuccessIsSet(true);
11772
        } catch (TransactionServiceException ex) {
11932
        } catch (TransactionServiceException ex) {
11773
          result.ex = ex;
11933
          result.ex = ex;
11774
        }
11934
        }
11775
        return result;
11935
        return result;
11776
      }
11936
      }
11777
    }
11937
    }
11778
 
11938
 
11779
    private static class getRechargeOrders<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRechargeOrders_args> {
11939
    private static class getUserWallet<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getUserWallet_args> {
11780
      public getRechargeOrders() {
11940
      public getUserWallet() {
11781
        super("getRechargeOrders");
11941
        super("getUserWallet");
11782
      }
11942
      }
11783
 
11943
 
11784
      protected getRechargeOrders_args getEmptyArgsInstance() {
11944
      protected getUserWallet_args getEmptyArgsInstance() {
11785
        return new getRechargeOrders_args();
11945
        return new getUserWallet_args();
11786
      }
11946
      }
11787
 
11947
 
11788
      protected getRechargeOrders_result getResult(I iface, getRechargeOrders_args args) throws org.apache.thrift.TException {
11948
      protected getUserWallet_result getResult(I iface, getUserWallet_args args) throws org.apache.thrift.TException {
11789
        getRechargeOrders_result result = new getRechargeOrders_result();
11949
        getUserWallet_result result = new getUserWallet_result();
11790
        result.success = iface.getRechargeOrders(args.customerId);
11950
        result.success = iface.getUserWallet(args.userId);
11791
        return result;
11951
        return result;
11792
      }
11952
      }
11793
    }
11953
    }
11794
 
11954
 
11795
    private static class getRechargeCoupons<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRechargeCoupons_args> {
11955
    private static class getUserWalletHistory<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getUserWalletHistory_args> {
11796
      public getRechargeCoupons() {
11956
      public getUserWalletHistory() {
11797
        super("getRechargeCoupons");
11957
        super("getUserWalletHistory");
11798
      }
11958
      }
11799
 
11959
 
11800
      protected getRechargeCoupons_args getEmptyArgsInstance() {
11960
      protected getUserWalletHistory_args getEmptyArgsInstance() {
11801
        return new getRechargeCoupons_args();
11961
        return new getUserWalletHistory_args();
11802
      }
11962
      }
11803
 
11963
 
11804
      protected getRechargeCoupons_result getResult(I iface, getRechargeCoupons_args args) throws org.apache.thrift.TException {
11964
      protected getUserWalletHistory_result getResult(I iface, getUserWalletHistory_args args) throws org.apache.thrift.TException {
11805
        getRechargeCoupons_result result = new getRechargeCoupons_result();
11965
        getUserWalletHistory_result result = new getUserWalletHistory_result();
11806
        result.success = iface.getRechargeCoupons(args.customerId, args.rechargeCouponStatus);
11966
        result.success = iface.getUserWalletHistory(args.userId);
11807
        return result;
11967
        return result;
11808
      }
11968
      }
11809
    }
11969
    }
11810
 
11970
 
11811
  }
11971
  }
Line 14038... Line 14198...
14038
        }
14198
        }
14039
        switch (field.id) {
14199
        switch (field.id) {
14040
          case 0: // SUCCESS
14200
          case 0: // SUCCESS
14041
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
14201
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
14042
              {
14202
              {
14043
                org.apache.thrift.protocol.TList _list40 = iprot.readListBegin();
14203
                org.apache.thrift.protocol.TList _list36 = iprot.readListBegin();
14044
                this.success = new ArrayList<Transaction>(_list40.size);
14204
                this.success = new ArrayList<Transaction>(_list36.size);
14045
                for (int _i41 = 0; _i41 < _list40.size; ++_i41)
14205
                for (int _i37 = 0; _i37 < _list36.size; ++_i37)
14046
                {
14206
                {
14047
                  Transaction _elem42; // required
14207
                  Transaction _elem38; // required
14048
                  _elem42 = new Transaction();
14208
                  _elem38 = new Transaction();
14049
                  _elem42.read(iprot);
14209
                  _elem38.read(iprot);
14050
                  this.success.add(_elem42);
14210
                  this.success.add(_elem38);
14051
                }
14211
                }
14052
                iprot.readListEnd();
14212
                iprot.readListEnd();
14053
              }
14213
              }
14054
            } else { 
14214
            } else { 
14055
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
14215
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 14077... Line 14237...
14077
 
14237
 
14078
      if (this.isSetSuccess()) {
14238
      if (this.isSetSuccess()) {
14079
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
14239
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
14080
        {
14240
        {
14081
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
14241
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
14082
          for (Transaction _iter43 : this.success)
14242
          for (Transaction _iter39 : this.success)
14083
          {
14243
          {
14084
            _iter43.write(oprot);
14244
            _iter39.write(oprot);
14085
          }
14245
          }
14086
          oprot.writeListEnd();
14246
          oprot.writeListEnd();
14087
        }
14247
        }
14088
        oprot.writeFieldEnd();
14248
        oprot.writeFieldEnd();
14089
      } else if (this.isSetEx()) {
14249
      } else if (this.isSetEx()) {
Line 14751... Line 14911...
14751
        }
14911
        }
14752
        switch (field.id) {
14912
        switch (field.id) {
14753
          case 0: // SUCCESS
14913
          case 0: // SUCCESS
14754
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
14914
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
14755
              {
14915
              {
14756
                org.apache.thrift.protocol.TList _list44 = iprot.readListBegin();
14916
                org.apache.thrift.protocol.TList _list40 = iprot.readListBegin();
14757
                this.success = new ArrayList<Transaction>(_list44.size);
14917
                this.success = new ArrayList<Transaction>(_list40.size);
14758
                for (int _i45 = 0; _i45 < _list44.size; ++_i45)
14918
                for (int _i41 = 0; _i41 < _list40.size; ++_i41)
14759
                {
14919
                {
14760
                  Transaction _elem46; // required
14920
                  Transaction _elem42; // required
14761
                  _elem46 = new Transaction();
14921
                  _elem42 = new Transaction();
14762
                  _elem46.read(iprot);
14922
                  _elem42.read(iprot);
14763
                  this.success.add(_elem46);
14923
                  this.success.add(_elem42);
14764
                }
14924
                }
14765
                iprot.readListEnd();
14925
                iprot.readListEnd();
14766
              }
14926
              }
14767
            } else { 
14927
            } else { 
14768
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
14928
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 14790... Line 14950...
14790
 
14950
 
14791
      if (this.isSetSuccess()) {
14951
      if (this.isSetSuccess()) {
14792
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
14952
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
14793
        {
14953
        {
14794
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
14954
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
14795
          for (Transaction _iter47 : this.success)
14955
          for (Transaction _iter43 : this.success)
14796
          {
14956
          {
14797
            _iter47.write(oprot);
14957
            _iter43.write(oprot);
14798
          }
14958
          }
14799
          oprot.writeListEnd();
14959
          oprot.writeListEnd();
14800
        }
14960
        }
14801
        oprot.writeFieldEnd();
14961
        oprot.writeFieldEnd();
14802
      } else if (this.isSetEx()) {
14962
      } else if (this.isSetEx()) {
Line 17717... Line 17877...
17717
        }
17877
        }
17718
        switch (field.id) {
17878
        switch (field.id) {
17719
          case 1: // STATUSES
17879
          case 1: // STATUSES
17720
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
17880
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
17721
              {
17881
              {
17722
                org.apache.thrift.protocol.TList _list48 = iprot.readListBegin();
17882
                org.apache.thrift.protocol.TList _list44 = iprot.readListBegin();
17723
                this.statuses = new ArrayList<OrderStatus>(_list48.size);
17883
                this.statuses = new ArrayList<OrderStatus>(_list44.size);
17724
                for (int _i49 = 0; _i49 < _list48.size; ++_i49)
17884
                for (int _i45 = 0; _i45 < _list44.size; ++_i45)
17725
                {
17885
                {
17726
                  OrderStatus _elem50; // required
17886
                  OrderStatus _elem46; // required
17727
                  _elem50 = OrderStatus.findByValue(iprot.readI32());
17887
                  _elem46 = OrderStatus.findByValue(iprot.readI32());
17728
                  this.statuses.add(_elem50);
17888
                  this.statuses.add(_elem46);
17729
                }
17889
                }
17730
                iprot.readListEnd();
17890
                iprot.readListEnd();
17731
              }
17891
              }
17732
            } else { 
17892
            } else { 
17733
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
17893
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 17772... Line 17932...
17772
      oprot.writeStructBegin(STRUCT_DESC);
17932
      oprot.writeStructBegin(STRUCT_DESC);
17773
      if (this.statuses != null) {
17933
      if (this.statuses != null) {
17774
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
17934
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
17775
        {
17935
        {
17776
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
17936
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
17777
          for (OrderStatus _iter51 : this.statuses)
17937
          for (OrderStatus _iter47 : this.statuses)
17778
          {
17938
          {
17779
            oprot.writeI32(_iter51.getValue());
17939
            oprot.writeI32(_iter47.getValue());
17780
          }
17940
          }
17781
          oprot.writeListEnd();
17941
          oprot.writeListEnd();
17782
        }
17942
        }
17783
        oprot.writeFieldEnd();
17943
        oprot.writeFieldEnd();
17784
      }
17944
      }
Line 18163... Line 18323...
18163
        }
18323
        }
18164
        switch (field.id) {
18324
        switch (field.id) {
18165
          case 0: // SUCCESS
18325
          case 0: // SUCCESS
18166
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
18326
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
18167
              {
18327
              {
18168
                org.apache.thrift.protocol.TList _list52 = iprot.readListBegin();
18328
                org.apache.thrift.protocol.TList _list48 = iprot.readListBegin();
18169
                this.success = new ArrayList<Order>(_list52.size);
18329
                this.success = new ArrayList<Order>(_list48.size);
18170
                for (int _i53 = 0; _i53 < _list52.size; ++_i53)
18330
                for (int _i49 = 0; _i49 < _list48.size; ++_i49)
18171
                {
18331
                {
18172
                  Order _elem54; // required
18332
                  Order _elem50; // required
18173
                  _elem54 = new Order();
18333
                  _elem50 = new Order();
18174
                  _elem54.read(iprot);
18334
                  _elem50.read(iprot);
18175
                  this.success.add(_elem54);
18335
                  this.success.add(_elem50);
18176
                }
18336
                }
18177
                iprot.readListEnd();
18337
                iprot.readListEnd();
18178
              }
18338
              }
18179
            } else { 
18339
            } else { 
18180
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
18340
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 18202... Line 18362...
18202
 
18362
 
18203
      if (this.isSetSuccess()) {
18363
      if (this.isSetSuccess()) {
18204
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
18364
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
18205
        {
18365
        {
18206
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
18366
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
18207
          for (Order _iter55 : this.success)
18367
          for (Order _iter51 : this.success)
18208
          {
18368
          {
18209
            _iter55.write(oprot);
18369
            _iter51.write(oprot);
18210
          }
18370
          }
18211
          oprot.writeListEnd();
18371
          oprot.writeListEnd();
18212
        }
18372
        }
18213
        oprot.writeFieldEnd();
18373
        oprot.writeFieldEnd();
18214
      } else if (this.isSetEx()) {
18374
      } else if (this.isSetEx()) {
Line 18721... Line 18881...
18721
        }
18881
        }
18722
        switch (field.id) {
18882
        switch (field.id) {
18723
          case 1: // STATUSES
18883
          case 1: // STATUSES
18724
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
18884
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
18725
              {
18885
              {
18726
                org.apache.thrift.protocol.TList _list56 = iprot.readListBegin();
18886
                org.apache.thrift.protocol.TList _list52 = iprot.readListBegin();
18727
                this.statuses = new ArrayList<OrderStatus>(_list56.size);
18887
                this.statuses = new ArrayList<OrderStatus>(_list52.size);
18728
                for (int _i57 = 0; _i57 < _list56.size; ++_i57)
18888
                for (int _i53 = 0; _i53 < _list52.size; ++_i53)
18729
                {
18889
                {
18730
                  OrderStatus _elem58; // required
18890
                  OrderStatus _elem54; // required
18731
                  _elem58 = OrderStatus.findByValue(iprot.readI32());
18891
                  _elem54 = OrderStatus.findByValue(iprot.readI32());
18732
                  this.statuses.add(_elem58);
18892
                  this.statuses.add(_elem54);
18733
                }
18893
                }
18734
                iprot.readListEnd();
18894
                iprot.readListEnd();
18735
              }
18895
              }
18736
            } else { 
18896
            } else { 
18737
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
18897
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 18776... Line 18936...
18776
      oprot.writeStructBegin(STRUCT_DESC);
18936
      oprot.writeStructBegin(STRUCT_DESC);
18777
      if (this.statuses != null) {
18937
      if (this.statuses != null) {
18778
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
18938
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
18779
        {
18939
        {
18780
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
18940
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
18781
          for (OrderStatus _iter59 : this.statuses)
18941
          for (OrderStatus _iter55 : this.statuses)
18782
          {
18942
          {
18783
            oprot.writeI32(_iter59.getValue());
18943
            oprot.writeI32(_iter55.getValue());
18784
          }
18944
          }
18785
          oprot.writeListEnd();
18945
          oprot.writeListEnd();
18786
        }
18946
        }
18787
        oprot.writeFieldEnd();
18947
        oprot.writeFieldEnd();
18788
      }
18948
      }
Line 19165... Line 19325...
19165
        }
19325
        }
19166
        switch (field.id) {
19326
        switch (field.id) {
19167
          case 0: // SUCCESS
19327
          case 0: // SUCCESS
19168
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
19328
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
19169
              {
19329
              {
19170
                org.apache.thrift.protocol.TList _list60 = iprot.readListBegin();
19330
                org.apache.thrift.protocol.TList _list56 = iprot.readListBegin();
19171
                this.success = new ArrayList<Order>(_list60.size);
19331
                this.success = new ArrayList<Order>(_list56.size);
19172
                for (int _i61 = 0; _i61 < _list60.size; ++_i61)
19332
                for (int _i57 = 0; _i57 < _list56.size; ++_i57)
19173
                {
19333
                {
19174
                  Order _elem62; // required
19334
                  Order _elem58; // required
19175
                  _elem62 = new Order();
19335
                  _elem58 = new Order();
19176
                  _elem62.read(iprot);
19336
                  _elem58.read(iprot);
19177
                  this.success.add(_elem62);
19337
                  this.success.add(_elem58);
19178
                }
19338
                }
19179
                iprot.readListEnd();
19339
                iprot.readListEnd();
19180
              }
19340
              }
19181
            } else { 
19341
            } else { 
19182
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
19342
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 19204... Line 19364...
19204
 
19364
 
19205
      if (this.isSetSuccess()) {
19365
      if (this.isSetSuccess()) {
19206
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
19366
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
19207
        {
19367
        {
19208
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
19368
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
19209
          for (Order _iter63 : this.success)
19369
          for (Order _iter59 : this.success)
19210
          {
19370
          {
19211
            _iter63.write(oprot);
19371
            _iter59.write(oprot);
19212
          }
19372
          }
19213
          oprot.writeListEnd();
19373
          oprot.writeListEnd();
19214
        }
19374
        }
19215
        oprot.writeFieldEnd();
19375
        oprot.writeFieldEnd();
19216
      } else if (this.isSetEx()) {
19376
      } else if (this.isSetEx()) {
Line 19587... Line 19747...
19587
        }
19747
        }
19588
        switch (field.id) {
19748
        switch (field.id) {
19589
          case 1: // STATUSES
19749
          case 1: // STATUSES
19590
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
19750
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
19591
              {
19751
              {
19592
                org.apache.thrift.protocol.TList _list64 = iprot.readListBegin();
19752
                org.apache.thrift.protocol.TList _list60 = iprot.readListBegin();
19593
                this.statuses = new ArrayList<OrderStatus>(_list64.size);
19753
                this.statuses = new ArrayList<OrderStatus>(_list60.size);
19594
                for (int _i65 = 0; _i65 < _list64.size; ++_i65)
19754
                for (int _i61 = 0; _i61 < _list60.size; ++_i61)
19595
                {
19755
                {
19596
                  OrderStatus _elem66; // required
19756
                  OrderStatus _elem62; // required
19597
                  _elem66 = OrderStatus.findByValue(iprot.readI32());
19757
                  _elem62 = OrderStatus.findByValue(iprot.readI32());
19598
                  this.statuses.add(_elem66);
19758
                  this.statuses.add(_elem62);
19599
                }
19759
                }
19600
                iprot.readListEnd();
19760
                iprot.readListEnd();
19601
              }
19761
              }
19602
            } else { 
19762
            } else { 
19603
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
19763
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 19626... Line 19786...
19626
      oprot.writeStructBegin(STRUCT_DESC);
19786
      oprot.writeStructBegin(STRUCT_DESC);
19627
      if (this.statuses != null) {
19787
      if (this.statuses != null) {
19628
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
19788
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
19629
        {
19789
        {
19630
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
19790
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
19631
          for (OrderStatus _iter67 : this.statuses)
19791
          for (OrderStatus _iter63 : this.statuses)
19632
          {
19792
          {
19633
            oprot.writeI32(_iter67.getValue());
19793
            oprot.writeI32(_iter63.getValue());
19634
          }
19794
          }
19635
          oprot.writeListEnd();
19795
          oprot.writeListEnd();
19636
        }
19796
        }
19637
        oprot.writeFieldEnd();
19797
        oprot.writeFieldEnd();
19638
      }
19798
      }
Line 20942... Line 21102...
20942
        }
21102
        }
20943
        switch (field.id) {
21103
        switch (field.id) {
20944
          case 0: // SUCCESS
21104
          case 0: // SUCCESS
20945
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
21105
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
20946
              {
21106
              {
20947
                org.apache.thrift.protocol.TList _list68 = iprot.readListBegin();
21107
                org.apache.thrift.protocol.TList _list64 = iprot.readListBegin();
20948
                this.success = new ArrayList<Order>(_list68.size);
21108
                this.success = new ArrayList<Order>(_list64.size);
20949
                for (int _i69 = 0; _i69 < _list68.size; ++_i69)
21109
                for (int _i65 = 0; _i65 < _list64.size; ++_i65)
20950
                {
21110
                {
20951
                  Order _elem70; // required
21111
                  Order _elem66; // required
20952
                  _elem70 = new Order();
21112
                  _elem66 = new Order();
20953
                  _elem70.read(iprot);
21113
                  _elem66.read(iprot);
20954
                  this.success.add(_elem70);
21114
                  this.success.add(_elem66);
20955
                }
21115
                }
20956
                iprot.readListEnd();
21116
                iprot.readListEnd();
20957
              }
21117
              }
20958
            } else { 
21118
            } else { 
20959
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
21119
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 20981... Line 21141...
20981
 
21141
 
20982
      if (this.isSetSuccess()) {
21142
      if (this.isSetSuccess()) {
20983
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
21143
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
20984
        {
21144
        {
20985
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
21145
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
20986
          for (Order _iter71 : this.success)
21146
          for (Order _iter67 : this.success)
20987
          {
21147
          {
20988
            _iter71.write(oprot);
21148
            _iter67.write(oprot);
20989
          }
21149
          }
20990
          oprot.writeListEnd();
21150
          oprot.writeListEnd();
20991
        }
21151
        }
20992
        oprot.writeFieldEnd();
21152
        oprot.writeFieldEnd();
20993
      } else if (this.isSetEx()) {
21153
      } else if (this.isSetEx()) {
Line 21985... Line 22145...
21985
        }
22145
        }
21986
        switch (field.id) {
22146
        switch (field.id) {
21987
          case 0: // SUCCESS
22147
          case 0: // SUCCESS
21988
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
22148
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
21989
              {
22149
              {
21990
                org.apache.thrift.protocol.TList _list72 = iprot.readListBegin();
22150
                org.apache.thrift.protocol.TList _list68 = iprot.readListBegin();
21991
                this.success = new ArrayList<Order>(_list72.size);
22151
                this.success = new ArrayList<Order>(_list68.size);
21992
                for (int _i73 = 0; _i73 < _list72.size; ++_i73)
22152
                for (int _i69 = 0; _i69 < _list68.size; ++_i69)
21993
                {
22153
                {
21994
                  Order _elem74; // required
22154
                  Order _elem70; // required
21995
                  _elem74 = new Order();
22155
                  _elem70 = new Order();
21996
                  _elem74.read(iprot);
22156
                  _elem70.read(iprot);
21997
                  this.success.add(_elem74);
22157
                  this.success.add(_elem70);
21998
                }
22158
                }
21999
                iprot.readListEnd();
22159
                iprot.readListEnd();
22000
              }
22160
              }
22001
            } else { 
22161
            } else { 
22002
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
22162
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 22024... Line 22184...
22024
 
22184
 
22025
      if (this.isSetSuccess()) {
22185
      if (this.isSetSuccess()) {
22026
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
22186
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
22027
        {
22187
        {
22028
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
22188
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
22029
          for (Order _iter75 : this.success)
22189
          for (Order _iter71 : this.success)
22030
          {
22190
          {
22031
            _iter75.write(oprot);
22191
            _iter71.write(oprot);
22032
          }
22192
          }
22033
          oprot.writeListEnd();
22193
          oprot.writeListEnd();
22034
        }
22194
        }
22035
        oprot.writeFieldEnd();
22195
        oprot.writeFieldEnd();
22036
      } else if (this.isSetEx()) {
22196
      } else if (this.isSetEx()) {
Line 22781... Line 22941...
22781
        }
22941
        }
22782
        switch (field.id) {
22942
        switch (field.id) {
22783
          case 0: // SUCCESS
22943
          case 0: // SUCCESS
22784
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
22944
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
22785
              {
22945
              {
22786
                org.apache.thrift.protocol.TList _list76 = iprot.readListBegin();
22946
                org.apache.thrift.protocol.TList _list72 = iprot.readListBegin();
22787
                this.success = new ArrayList<Long>(_list76.size);
22947
                this.success = new ArrayList<Long>(_list72.size);
22788
                for (int _i77 = 0; _i77 < _list76.size; ++_i77)
22948
                for (int _i73 = 0; _i73 < _list72.size; ++_i73)
22789
                {
22949
                {
22790
                  long _elem78; // required
22950
                  long _elem74; // required
22791
                  _elem78 = iprot.readI64();
22951
                  _elem74 = iprot.readI64();
22792
                  this.success.add(_elem78);
22952
                  this.success.add(_elem74);
22793
                }
22953
                }
22794
                iprot.readListEnd();
22954
                iprot.readListEnd();
22795
              }
22955
              }
22796
            } else { 
22956
            } else { 
22797
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
22957
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 22819... Line 22979...
22819
 
22979
 
22820
      if (this.isSetSuccess()) {
22980
      if (this.isSetSuccess()) {
22821
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
22981
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
22822
        {
22982
        {
22823
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
22983
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
22824
          for (long _iter79 : this.success)
22984
          for (long _iter75 : this.success)
22825
          {
22985
          {
22826
            oprot.writeI64(_iter79);
22986
            oprot.writeI64(_iter75);
22827
          }
22987
          }
22828
          oprot.writeListEnd();
22988
          oprot.writeListEnd();
22829
        }
22989
        }
22830
        oprot.writeFieldEnd();
22990
        oprot.writeFieldEnd();
22831
      } else if (this.isSetEx()) {
22991
      } else if (this.isSetEx()) {
Line 23576... Line 23736...
23576
        }
23736
        }
23577
        switch (field.id) {
23737
        switch (field.id) {
23578
          case 0: // SUCCESS
23738
          case 0: // SUCCESS
23579
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
23739
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
23580
              {
23740
              {
23581
                org.apache.thrift.protocol.TList _list80 = iprot.readListBegin();
23741
                org.apache.thrift.protocol.TList _list76 = iprot.readListBegin();
23582
                this.success = new ArrayList<Long>(_list80.size);
23742
                this.success = new ArrayList<Long>(_list76.size);
23583
                for (int _i81 = 0; _i81 < _list80.size; ++_i81)
23743
                for (int _i77 = 0; _i77 < _list76.size; ++_i77)
23584
                {
23744
                {
23585
                  long _elem82; // required
23745
                  long _elem78; // required
23586
                  _elem82 = iprot.readI64();
23746
                  _elem78 = iprot.readI64();
23587
                  this.success.add(_elem82);
23747
                  this.success.add(_elem78);
23588
                }
23748
                }
23589
                iprot.readListEnd();
23749
                iprot.readListEnd();
23590
              }
23750
              }
23591
            } else { 
23751
            } else { 
23592
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
23752
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 23614... Line 23774...
23614
 
23774
 
23615
      if (this.isSetSuccess()) {
23775
      if (this.isSetSuccess()) {
23616
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
23776
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
23617
        {
23777
        {
23618
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
23778
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
23619
          for (long _iter83 : this.success)
23779
          for (long _iter79 : this.success)
23620
          {
23780
          {
23621
            oprot.writeI64(_iter83);
23781
            oprot.writeI64(_iter79);
23622
          }
23782
          }
23623
          oprot.writeListEnd();
23783
          oprot.writeListEnd();
23624
        }
23784
        }
23625
        oprot.writeFieldEnd();
23785
        oprot.writeFieldEnd();
23626
      } else if (this.isSetEx()) {
23786
      } else if (this.isSetEx()) {
Line 25232... Line 25392...
25232
        }
25392
        }
25233
        switch (field.id) {
25393
        switch (field.id) {
25234
          case 0: // SUCCESS
25394
          case 0: // SUCCESS
25235
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
25395
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
25236
              {
25396
              {
25237
                org.apache.thrift.protocol.TList _list84 = iprot.readListBegin();
25397
                org.apache.thrift.protocol.TList _list80 = iprot.readListBegin();
25238
                this.success = new ArrayList<Order>(_list84.size);
25398
                this.success = new ArrayList<Order>(_list80.size);
25239
                for (int _i85 = 0; _i85 < _list84.size; ++_i85)
25399
                for (int _i81 = 0; _i81 < _list80.size; ++_i81)
25240
                {
25400
                {
25241
                  Order _elem86; // required
25401
                  Order _elem82; // required
25242
                  _elem86 = new Order();
25402
                  _elem82 = new Order();
25243
                  _elem86.read(iprot);
25403
                  _elem82.read(iprot);
25244
                  this.success.add(_elem86);
25404
                  this.success.add(_elem82);
25245
                }
25405
                }
25246
                iprot.readListEnd();
25406
                iprot.readListEnd();
25247
              }
25407
              }
25248
            } else { 
25408
            } else { 
25249
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
25409
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 25271... Line 25431...
25271
 
25431
 
25272
      if (this.isSetSuccess()) {
25432
      if (this.isSetSuccess()) {
25273
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
25433
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
25274
        {
25434
        {
25275
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
25435
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
25276
          for (Order _iter87 : this.success)
25436
          for (Order _iter83 : this.success)
25277
          {
25437
          {
25278
            _iter87.write(oprot);
25438
            _iter83.write(oprot);
25279
          }
25439
          }
25280
          oprot.writeListEnd();
25440
          oprot.writeListEnd();
25281
        }
25441
        }
25282
        oprot.writeFieldEnd();
25442
        oprot.writeFieldEnd();
25283
      } else if (this.isSetEx()) {
25443
      } else if (this.isSetEx()) {
Line 25814... Line 25974...
25814
            }
25974
            }
25815
            break;
25975
            break;
25816
          case 4: // STATUSES
25976
          case 4: // STATUSES
25817
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
25977
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
25818
              {
25978
              {
25819
                org.apache.thrift.protocol.TList _list88 = iprot.readListBegin();
25979
                org.apache.thrift.protocol.TList _list84 = iprot.readListBegin();
25820
                this.statuses = new ArrayList<OrderStatus>(_list88.size);
25980
                this.statuses = new ArrayList<OrderStatus>(_list84.size);
25821
                for (int _i89 = 0; _i89 < _list88.size; ++_i89)
25981
                for (int _i85 = 0; _i85 < _list84.size; ++_i85)
25822
                {
25982
                {
25823
                  OrderStatus _elem90; // required
25983
                  OrderStatus _elem86; // required
25824
                  _elem90 = OrderStatus.findByValue(iprot.readI32());
25984
                  _elem86 = OrderStatus.findByValue(iprot.readI32());
25825
                  this.statuses.add(_elem90);
25985
                  this.statuses.add(_elem86);
25826
                }
25986
                }
25827
                iprot.readListEnd();
25987
                iprot.readListEnd();
25828
              }
25988
              }
25829
            } else { 
25989
            } else { 
25830
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
25990
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 25854... Line 26014...
25854
      oprot.writeFieldEnd();
26014
      oprot.writeFieldEnd();
25855
      if (this.statuses != null) {
26015
      if (this.statuses != null) {
25856
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
26016
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
25857
        {
26017
        {
25858
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
26018
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
25859
          for (OrderStatus _iter91 : this.statuses)
26019
          for (OrderStatus _iter87 : this.statuses)
25860
          {
26020
          {
25861
            oprot.writeI32(_iter91.getValue());
26021
            oprot.writeI32(_iter87.getValue());
25862
          }
26022
          }
25863
          oprot.writeListEnd();
26023
          oprot.writeListEnd();
25864
        }
26024
        }
25865
        oprot.writeFieldEnd();
26025
        oprot.writeFieldEnd();
25866
      }
26026
      }
Line 26234... Line 26394...
26234
        }
26394
        }
26235
        switch (field.id) {
26395
        switch (field.id) {
26236
          case 0: // SUCCESS
26396
          case 0: // SUCCESS
26237
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
26397
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
26238
              {
26398
              {
26239
                org.apache.thrift.protocol.TList _list92 = iprot.readListBegin();
26399
                org.apache.thrift.protocol.TList _list88 = iprot.readListBegin();
26240
                this.success = new ArrayList<Order>(_list92.size);
26400
                this.success = new ArrayList<Order>(_list88.size);
26241
                for (int _i93 = 0; _i93 < _list92.size; ++_i93)
26401
                for (int _i89 = 0; _i89 < _list88.size; ++_i89)
26242
                {
26402
                {
26243
                  Order _elem94; // required
26403
                  Order _elem90; // required
26244
                  _elem94 = new Order();
26404
                  _elem90 = new Order();
26245
                  _elem94.read(iprot);
26405
                  _elem90.read(iprot);
26246
                  this.success.add(_elem94);
26406
                  this.success.add(_elem90);
26247
                }
26407
                }
26248
                iprot.readListEnd();
26408
                iprot.readListEnd();
26249
              }
26409
              }
26250
            } else { 
26410
            } else { 
26251
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
26411
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 26273... Line 26433...
26273
 
26433
 
26274
      if (this.isSetSuccess()) {
26434
      if (this.isSetSuccess()) {
26275
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26435
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26276
        {
26436
        {
26277
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
26437
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
26278
          for (Order _iter95 : this.success)
26438
          for (Order _iter91 : this.success)
26279
          {
26439
          {
26280
            _iter95.write(oprot);
26440
            _iter91.write(oprot);
26281
          }
26441
          }
26282
          oprot.writeListEnd();
26442
          oprot.writeListEnd();
26283
        }
26443
        }
26284
        oprot.writeFieldEnd();
26444
        oprot.writeFieldEnd();
26285
      } else if (this.isSetEx()) {
26445
      } else if (this.isSetEx()) {
Line 28299... Line 28459...
28299
        }
28459
        }
28300
        switch (field.id) {
28460
        switch (field.id) {
28301
          case 0: // SUCCESS
28461
          case 0: // SUCCESS
28302
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28462
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28303
              {
28463
              {
28304
                org.apache.thrift.protocol.TList _list96 = iprot.readListBegin();
28464
                org.apache.thrift.protocol.TList _list92 = iprot.readListBegin();
28305
                this.success = new ArrayList<LineItem>(_list96.size);
28465
                this.success = new ArrayList<LineItem>(_list92.size);
28306
                for (int _i97 = 0; _i97 < _list96.size; ++_i97)
28466
                for (int _i93 = 0; _i93 < _list92.size; ++_i93)
28307
                {
28467
                {
28308
                  LineItem _elem98; // required
28468
                  LineItem _elem94; // required
28309
                  _elem98 = new LineItem();
28469
                  _elem94 = new LineItem();
28310
                  _elem98.read(iprot);
28470
                  _elem94.read(iprot);
28311
                  this.success.add(_elem98);
28471
                  this.success.add(_elem94);
28312
                }
28472
                }
28313
                iprot.readListEnd();
28473
                iprot.readListEnd();
28314
              }
28474
              }
28315
            } else { 
28475
            } else { 
28316
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
28476
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 28338... Line 28498...
28338
 
28498
 
28339
      if (this.isSetSuccess()) {
28499
      if (this.isSetSuccess()) {
28340
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
28500
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
28341
        {
28501
        {
28342
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
28502
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
28343
          for (LineItem _iter99 : this.success)
28503
          for (LineItem _iter95 : this.success)
28344
          {
28504
          {
28345
            _iter99.write(oprot);
28505
            _iter95.write(oprot);
28346
          }
28506
          }
28347
          oprot.writeListEnd();
28507
          oprot.writeListEnd();
28348
        }
28508
        }
28349
        oprot.writeFieldEnd();
28509
        oprot.writeFieldEnd();
28350
      } else if (this.isSetEx()) {
28510
      } else if (this.isSetEx()) {
Line 28650... Line 28810...
28650
        }
28810
        }
28651
        switch (field.id) {
28811
        switch (field.id) {
28652
          case 1: // ORDER_IDS
28812
          case 1: // ORDER_IDS
28653
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28813
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28654
              {
28814
              {
28655
                org.apache.thrift.protocol.TList _list100 = iprot.readListBegin();
28815
                org.apache.thrift.protocol.TList _list96 = iprot.readListBegin();
28656
                this.order_ids = new ArrayList<Long>(_list100.size);
28816
                this.order_ids = new ArrayList<Long>(_list96.size);
28657
                for (int _i101 = 0; _i101 < _list100.size; ++_i101)
28817
                for (int _i97 = 0; _i97 < _list96.size; ++_i97)
28658
                {
28818
                {
28659
                  long _elem102; // required
28819
                  long _elem98; // required
28660
                  _elem102 = iprot.readI64();
28820
                  _elem98 = iprot.readI64();
28661
                  this.order_ids.add(_elem102);
28821
                  this.order_ids.add(_elem98);
28662
                }
28822
                }
28663
                iprot.readListEnd();
28823
                iprot.readListEnd();
28664
              }
28824
              }
28665
            } else { 
28825
            } else { 
28666
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
28826
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 28681... Line 28841...
28681
      oprot.writeStructBegin(STRUCT_DESC);
28841
      oprot.writeStructBegin(STRUCT_DESC);
28682
      if (this.order_ids != null) {
28842
      if (this.order_ids != null) {
28683
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
28843
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
28684
        {
28844
        {
28685
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
28845
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
28686
          for (long _iter103 : this.order_ids)
28846
          for (long _iter99 : this.order_ids)
28687
          {
28847
          {
28688
            oprot.writeI64(_iter103);
28848
            oprot.writeI64(_iter99);
28689
          }
28849
          }
28690
          oprot.writeListEnd();
28850
          oprot.writeListEnd();
28691
        }
28851
        }
28692
        oprot.writeFieldEnd();
28852
        oprot.writeFieldEnd();
28693
      }
28853
      }
Line 28981... Line 29141...
28981
        }
29141
        }
28982
        switch (field.id) {
29142
        switch (field.id) {
28983
          case 0: // SUCCESS
29143
          case 0: // SUCCESS
28984
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
29144
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28985
              {
29145
              {
28986
                org.apache.thrift.protocol.TList _list104 = iprot.readListBegin();
29146
                org.apache.thrift.protocol.TList _list100 = iprot.readListBegin();
28987
                this.success = new ArrayList<Order>(_list104.size);
29147
                this.success = new ArrayList<Order>(_list100.size);
28988
                for (int _i105 = 0; _i105 < _list104.size; ++_i105)
29148
                for (int _i101 = 0; _i101 < _list100.size; ++_i101)
28989
                {
29149
                {
28990
                  Order _elem106; // required
29150
                  Order _elem102; // required
28991
                  _elem106 = new Order();
29151
                  _elem102 = new Order();
28992
                  _elem106.read(iprot);
29152
                  _elem102.read(iprot);
28993
                  this.success.add(_elem106);
29153
                  this.success.add(_elem102);
28994
                }
29154
                }
28995
                iprot.readListEnd();
29155
                iprot.readListEnd();
28996
              }
29156
              }
28997
            } else { 
29157
            } else { 
28998
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
29158
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 29012... Line 29172...
29012
 
29172
 
29013
      if (this.isSetSuccess()) {
29173
      if (this.isSetSuccess()) {
29014
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
29174
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
29015
        {
29175
        {
29016
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
29176
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
29017
          for (Order _iter107 : this.success)
29177
          for (Order _iter103 : this.success)
29018
          {
29178
          {
29019
            _iter107.write(oprot);
29179
            _iter103.write(oprot);
29020
          }
29180
          }
29021
          oprot.writeListEnd();
29181
          oprot.writeListEnd();
29022
        }
29182
        }
29023
        oprot.writeFieldEnd();
29183
        oprot.writeFieldEnd();
29024
      }
29184
      }
Line 29383... Line 29543...
29383
        }
29543
        }
29384
        switch (field.id) {
29544
        switch (field.id) {
29385
          case 1: // ORDER_IDS
29545
          case 1: // ORDER_IDS
29386
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
29546
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
29387
              {
29547
              {
29388
                org.apache.thrift.protocol.TList _list108 = iprot.readListBegin();
29548
                org.apache.thrift.protocol.TList _list104 = iprot.readListBegin();
29389
                this.order_ids = new ArrayList<Long>(_list108.size);
29549
                this.order_ids = new ArrayList<Long>(_list104.size);
29390
                for (int _i109 = 0; _i109 < _list108.size; ++_i109)
29550
                for (int _i105 = 0; _i105 < _list104.size; ++_i105)
29391
                {
29551
                {
29392
                  long _elem110; // required
29552
                  long _elem106; // required
29393
                  _elem110 = iprot.readI64();
29553
                  _elem106 = iprot.readI64();
29394
                  this.order_ids.add(_elem110);
29554
                  this.order_ids.add(_elem106);
29395
                }
29555
                }
29396
                iprot.readListEnd();
29556
                iprot.readListEnd();
29397
              }
29557
              }
29398
            } else { 
29558
            } else { 
29399
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
29559
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 29422... Line 29582...
29422
      oprot.writeStructBegin(STRUCT_DESC);
29582
      oprot.writeStructBegin(STRUCT_DESC);
29423
      if (this.order_ids != null) {
29583
      if (this.order_ids != null) {
29424
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
29584
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
29425
        {
29585
        {
29426
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
29586
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
29427
          for (long _iter111 : this.order_ids)
29587
          for (long _iter107 : this.order_ids)
29428
          {
29588
          {
29429
            oprot.writeI64(_iter111);
29589
            oprot.writeI64(_iter107);
29430
          }
29590
          }
29431
          oprot.writeListEnd();
29591
          oprot.writeListEnd();
29432
        }
29592
        }
29433
        oprot.writeFieldEnd();
29593
        oprot.writeFieldEnd();
29434
      }
29594
      }
Line 29731... Line 29891...
29731
        }
29891
        }
29732
        switch (field.id) {
29892
        switch (field.id) {
29733
          case 0: // SUCCESS
29893
          case 0: // SUCCESS
29734
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
29894
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
29735
              {
29895
              {
29736
                org.apache.thrift.protocol.TList _list112 = iprot.readListBegin();
29896
                org.apache.thrift.protocol.TList _list108 = iprot.readListBegin();
29737
                this.success = new ArrayList<Order>(_list112.size);
29897
                this.success = new ArrayList<Order>(_list108.size);
29738
                for (int _i113 = 0; _i113 < _list112.size; ++_i113)
29898
                for (int _i109 = 0; _i109 < _list108.size; ++_i109)
29739
                {
29899
                {
29740
                  Order _elem114; // required
29900
                  Order _elem110; // required
29741
                  _elem114 = new Order();
29901
                  _elem110 = new Order();
29742
                  _elem114.read(iprot);
29902
                  _elem110.read(iprot);
29743
                  this.success.add(_elem114);
29903
                  this.success.add(_elem110);
29744
                }
29904
                }
29745
                iprot.readListEnd();
29905
                iprot.readListEnd();
29746
              }
29906
              }
29747
            } else { 
29907
            } else { 
29748
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
29908
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 29762... Line 29922...
29762
 
29922
 
29763
      if (this.isSetSuccess()) {
29923
      if (this.isSetSuccess()) {
29764
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
29924
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
29765
        {
29925
        {
29766
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
29926
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
29767
          for (Order _iter115 : this.success)
29927
          for (Order _iter111 : this.success)
29768
          {
29928
          {
29769
            _iter115.write(oprot);
29929
            _iter111.write(oprot);
29770
          }
29930
          }
29771
          oprot.writeListEnd();
29931
          oprot.writeListEnd();
29772
        }
29932
        }
29773
        oprot.writeFieldEnd();
29933
        oprot.writeFieldEnd();
29774
      }
29934
      }
Line 31362... Line 31522...
31362
        }
31522
        }
31363
        switch (field.id) {
31523
        switch (field.id) {
31364
          case 0: // SUCCESS
31524
          case 0: // SUCCESS
31365
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
31525
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
31366
              {
31526
              {
31367
                org.apache.thrift.protocol.TList _list116 = iprot.readListBegin();
31527
                org.apache.thrift.protocol.TList _list112 = iprot.readListBegin();
31368
                this.success = new ArrayList<Alert>(_list116.size);
31528
                this.success = new ArrayList<Alert>(_list112.size);
31369
                for (int _i117 = 0; _i117 < _list116.size; ++_i117)
31529
                for (int _i113 = 0; _i113 < _list112.size; ++_i113)
31370
                {
31530
                {
31371
                  Alert _elem118; // required
31531
                  Alert _elem114; // required
31372
                  _elem118 = new Alert();
31532
                  _elem114 = new Alert();
31373
                  _elem118.read(iprot);
31533
                  _elem114.read(iprot);
31374
                  this.success.add(_elem118);
31534
                  this.success.add(_elem114);
31375
                }
31535
                }
31376
                iprot.readListEnd();
31536
                iprot.readListEnd();
31377
              }
31537
              }
31378
            } else { 
31538
            } else { 
31379
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
31539
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 31393... Line 31553...
31393
 
31553
 
31394
      if (this.isSetSuccess()) {
31554
      if (this.isSetSuccess()) {
31395
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
31555
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
31396
        {
31556
        {
31397
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
31557
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
31398
          for (Alert _iter119 : this.success)
31558
          for (Alert _iter115 : this.success)
31399
          {
31559
          {
31400
            _iter119.write(oprot);
31560
            _iter115.write(oprot);
31401
          }
31561
          }
31402
          oprot.writeListEnd();
31562
          oprot.writeListEnd();
31403
        }
31563
        }
31404
        oprot.writeFieldEnd();
31564
        oprot.writeFieldEnd();
31405
      }
31565
      }
Line 34036... Line 34196...
34036
        }
34196
        }
34037
        switch (field.id) {
34197
        switch (field.id) {
34038
          case 0: // SUCCESS
34198
          case 0: // SUCCESS
34039
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34199
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34040
              {
34200
              {
34041
                org.apache.thrift.protocol.TList _list120 = iprot.readListBegin();
34201
                org.apache.thrift.protocol.TList _list116 = iprot.readListBegin();
34042
                this.success = new ArrayList<Double>(_list120.size);
34202
                this.success = new ArrayList<Double>(_list116.size);
34043
                for (int _i121 = 0; _i121 < _list120.size; ++_i121)
34203
                for (int _i117 = 0; _i117 < _list116.size; ++_i117)
34044
                {
34204
                {
34045
                  double _elem122; // required
34205
                  double _elem118; // required
34046
                  _elem122 = iprot.readDouble();
34206
                  _elem118 = iprot.readDouble();
34047
                  this.success.add(_elem122);
34207
                  this.success.add(_elem118);
34048
                }
34208
                }
34049
                iprot.readListEnd();
34209
                iprot.readListEnd();
34050
              }
34210
              }
34051
            } else { 
34211
            } else { 
34052
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
34212
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 34066... Line 34226...
34066
 
34226
 
34067
      if (this.isSetSuccess()) {
34227
      if (this.isSetSuccess()) {
34068
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34228
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34069
        {
34229
        {
34070
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.DOUBLE, this.success.size()));
34230
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.DOUBLE, this.success.size()));
34071
          for (double _iter123 : this.success)
34231
          for (double _iter119 : this.success)
34072
          {
34232
          {
34073
            oprot.writeDouble(_iter123);
34233
            oprot.writeDouble(_iter119);
34074
          }
34234
          }
34075
          oprot.writeListEnd();
34235
          oprot.writeListEnd();
34076
        }
34236
        }
34077
        oprot.writeFieldEnd();
34237
        oprot.writeFieldEnd();
34078
      }
34238
      }
Line 34741... Line 34901...
34741
        }
34901
        }
34742
        switch (field.id) {
34902
        switch (field.id) {
34743
          case 0: // SUCCESS
34903
          case 0: // SUCCESS
34744
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34904
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34745
              {
34905
              {
34746
                org.apache.thrift.protocol.TList _list124 = iprot.readListBegin();
34906
                org.apache.thrift.protocol.TList _list120 = iprot.readListBegin();
34747
                this.success = new ArrayList<Order>(_list124.size);
34907
                this.success = new ArrayList<Order>(_list120.size);
34748
                for (int _i125 = 0; _i125 < _list124.size; ++_i125)
34908
                for (int _i121 = 0; _i121 < _list120.size; ++_i121)
34749
                {
34909
                {
34750
                  Order _elem126; // required
34910
                  Order _elem122; // required
34751
                  _elem126 = new Order();
34911
                  _elem122 = new Order();
34752
                  _elem126.read(iprot);
34912
                  _elem122.read(iprot);
34753
                  this.success.add(_elem126);
34913
                  this.success.add(_elem122);
34754
                }
34914
                }
34755
                iprot.readListEnd();
34915
                iprot.readListEnd();
34756
              }
34916
              }
34757
            } else { 
34917
            } else { 
34758
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
34918
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 34772... Line 34932...
34772
 
34932
 
34773
      if (this.isSetSuccess()) {
34933
      if (this.isSetSuccess()) {
34774
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34934
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34775
        {
34935
        {
34776
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
34936
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
34777
          for (Order _iter127 : this.success)
34937
          for (Order _iter123 : this.success)
34778
          {
34938
          {
34779
            _iter127.write(oprot);
34939
            _iter123.write(oprot);
34780
          }
34940
          }
34781
          oprot.writeListEnd();
34941
          oprot.writeListEnd();
34782
        }
34942
        }
34783
        oprot.writeFieldEnd();
34943
        oprot.writeFieldEnd();
34784
      }
34944
      }
Line 35432... Line 35592...
35432
        }
35592
        }
35433
        switch (field.id) {
35593
        switch (field.id) {
35434
          case 0: // SUCCESS
35594
          case 0: // SUCCESS
35435
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35595
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35436
              {
35596
              {
35437
                org.apache.thrift.protocol.TList _list128 = iprot.readListBegin();
35597
                org.apache.thrift.protocol.TList _list124 = iprot.readListBegin();
35438
                this.success = new ArrayList<Order>(_list128.size);
35598
                this.success = new ArrayList<Order>(_list124.size);
35439
                for (int _i129 = 0; _i129 < _list128.size; ++_i129)
35599
                for (int _i125 = 0; _i125 < _list124.size; ++_i125)
35440
                {
35600
                {
35441
                  Order _elem130; // required
35601
                  Order _elem126; // required
35442
                  _elem130 = new Order();
35602
                  _elem126 = new Order();
35443
                  _elem130.read(iprot);
35603
                  _elem126.read(iprot);
35444
                  this.success.add(_elem130);
35604
                  this.success.add(_elem126);
35445
                }
35605
                }
35446
                iprot.readListEnd();
35606
                iprot.readListEnd();
35447
              }
35607
              }
35448
            } else { 
35608
            } else { 
35449
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
35609
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 35471... Line 35631...
35471
 
35631
 
35472
      if (this.isSetSuccess()) {
35632
      if (this.isSetSuccess()) {
35473
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
35633
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
35474
        {
35634
        {
35475
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
35635
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
35476
          for (Order _iter131 : this.success)
35636
          for (Order _iter127 : this.success)
35477
          {
35637
          {
35478
            _iter131.write(oprot);
35638
            _iter127.write(oprot);
35479
          }
35639
          }
35480
          oprot.writeListEnd();
35640
          oprot.writeListEnd();
35481
        }
35641
        }
35482
        oprot.writeFieldEnd();
35642
        oprot.writeFieldEnd();
35483
      } else if (this.isSetEx()) {
35643
      } else if (this.isSetEx()) {
Line 38384... Line 38544...
38384
            }
38544
            }
38385
            break;
38545
            break;
38386
          case 3: // SERIAL_NUMBER
38546
          case 3: // SERIAL_NUMBER
38387
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38547
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38388
              {
38548
              {
38389
                org.apache.thrift.protocol.TList _list132 = iprot.readListBegin();
38549
                org.apache.thrift.protocol.TList _list128 = iprot.readListBegin();
38390
                this.serialNumber = new ArrayList<String>(_list132.size);
38550
                this.serialNumber = new ArrayList<String>(_list128.size);
38391
                for (int _i133 = 0; _i133 < _list132.size; ++_i133)
38551
                for (int _i129 = 0; _i129 < _list128.size; ++_i129)
38392
                {
38552
                {
38393
                  String _elem134; // required
38553
                  String _elem130; // required
38394
                  _elem134 = iprot.readString();
38554
                  _elem130 = iprot.readString();
38395
                  this.serialNumber.add(_elem134);
38555
                  this.serialNumber.add(_elem130);
38396
                }
38556
                }
38397
                iprot.readListEnd();
38557
                iprot.readListEnd();
38398
              }
38558
              }
38399
            } else { 
38559
            } else { 
38400
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
38560
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
38401
            }
38561
            }
38402
            break;
38562
            break;
38403
          case 4: // ITEM_NUMBER
38563
          case 4: // ITEM_NUMBER
38404
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38564
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38405
              {
38565
              {
38406
                org.apache.thrift.protocol.TList _list135 = iprot.readListBegin();
38566
                org.apache.thrift.protocol.TList _list131 = iprot.readListBegin();
38407
                this.itemNumber = new ArrayList<String>(_list135.size);
38567
                this.itemNumber = new ArrayList<String>(_list131.size);
38408
                for (int _i136 = 0; _i136 < _list135.size; ++_i136)
38568
                for (int _i132 = 0; _i132 < _list131.size; ++_i132)
38409
                {
38569
                {
38410
                  String _elem137; // required
38570
                  String _elem133; // required
38411
                  _elem137 = iprot.readString();
38571
                  _elem133 = iprot.readString();
38412
                  this.itemNumber.add(_elem137);
38572
                  this.itemNumber.add(_elem133);
38413
                }
38573
                }
38414
                iprot.readListEnd();
38574
                iprot.readListEnd();
38415
              }
38575
              }
38416
            } else { 
38576
            } else { 
38417
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
38577
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 38479... Line 38639...
38479
      }
38639
      }
38480
      if (this.serialNumber != null) {
38640
      if (this.serialNumber != null) {
38481
        oprot.writeFieldBegin(SERIAL_NUMBER_FIELD_DESC);
38641
        oprot.writeFieldBegin(SERIAL_NUMBER_FIELD_DESC);
38482
        {
38642
        {
38483
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.serialNumber.size()));
38643
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.serialNumber.size()));
38484
          for (String _iter138 : this.serialNumber)
38644
          for (String _iter134 : this.serialNumber)
38485
          {
38645
          {
38486
            oprot.writeString(_iter138);
38646
            oprot.writeString(_iter134);
38487
          }
38647
          }
38488
          oprot.writeListEnd();
38648
          oprot.writeListEnd();
38489
        }
38649
        }
38490
        oprot.writeFieldEnd();
38650
        oprot.writeFieldEnd();
38491
      }
38651
      }
38492
      if (this.itemNumber != null) {
38652
      if (this.itemNumber != null) {
38493
        oprot.writeFieldBegin(ITEM_NUMBER_FIELD_DESC);
38653
        oprot.writeFieldBegin(ITEM_NUMBER_FIELD_DESC);
38494
        {
38654
        {
38495
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.itemNumber.size()));
38655
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.itemNumber.size()));
38496
          for (String _iter139 : this.itemNumber)
38656
          for (String _iter135 : this.itemNumber)
38497
          {
38657
          {
38498
            oprot.writeString(_iter139);
38658
            oprot.writeString(_iter135);
38499
          }
38659
          }
38500
          oprot.writeListEnd();
38660
          oprot.writeListEnd();
38501
        }
38661
        }
38502
        oprot.writeFieldEnd();
38662
        oprot.writeFieldEnd();
38503
      }
38663
      }
Line 40228... Line 40388...
40228
            }
40388
            }
40229
            break;
40389
            break;
40230
          case 4: // ORDER_IDS
40390
          case 4: // ORDER_IDS
40231
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40391
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40232
              {
40392
              {
40233
                org.apache.thrift.protocol.TList _list140 = iprot.readListBegin();
40393
                org.apache.thrift.protocol.TList _list136 = iprot.readListBegin();
40234
                this.orderIds = new ArrayList<Long>(_list140.size);
40394
                this.orderIds = new ArrayList<Long>(_list136.size);
40235
                for (int _i141 = 0; _i141 < _list140.size; ++_i141)
40395
                for (int _i137 = 0; _i137 < _list136.size; ++_i137)
40236
                {
40396
                {
40237
                  long _elem142; // required
40397
                  long _elem138; // required
40238
                  _elem142 = iprot.readI64();
40398
                  _elem138 = iprot.readI64();
40239
                  this.orderIds.add(_elem142);
40399
                  this.orderIds.add(_elem138);
40240
                }
40400
                }
40241
                iprot.readListEnd();
40401
                iprot.readListEnd();
40242
              }
40402
              }
40243
            } else { 
40403
            } else { 
40244
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40404
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40268... Line 40428...
40268
      oprot.writeFieldEnd();
40428
      oprot.writeFieldEnd();
40269
      if (this.orderIds != null) {
40429
      if (this.orderIds != null) {
40270
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
40430
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
40271
        {
40431
        {
40272
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
40432
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
40273
          for (long _iter143 : this.orderIds)
40433
          for (long _iter139 : this.orderIds)
40274
          {
40434
          {
40275
            oprot.writeI64(_iter143);
40435
            oprot.writeI64(_iter139);
40276
          }
40436
          }
40277
          oprot.writeListEnd();
40437
          oprot.writeListEnd();
40278
        }
40438
        }
40279
        oprot.writeFieldEnd();
40439
        oprot.writeFieldEnd();
40280
      }
40440
      }
Line 41128... Line 41288...
41128
            }
41288
            }
41129
            break;
41289
            break;
41130
          case 2: // ORDER_IDS
41290
          case 2: // ORDER_IDS
41131
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41291
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41132
              {
41292
              {
41133
                org.apache.thrift.protocol.TList _list144 = iprot.readListBegin();
41293
                org.apache.thrift.protocol.TList _list140 = iprot.readListBegin();
41134
                this.orderIds = new ArrayList<Long>(_list144.size);
41294
                this.orderIds = new ArrayList<Long>(_list140.size);
41135
                for (int _i145 = 0; _i145 < _list144.size; ++_i145)
41295
                for (int _i141 = 0; _i141 < _list140.size; ++_i141)
41136
                {
41296
                {
41137
                  long _elem146; // required
41297
                  long _elem142; // required
41138
                  _elem146 = iprot.readI64();
41298
                  _elem142 = iprot.readI64();
41139
                  this.orderIds.add(_elem146);
41299
                  this.orderIds.add(_elem142);
41140
                }
41300
                }
41141
                iprot.readListEnd();
41301
                iprot.readListEnd();
41142
              }
41302
              }
41143
            } else { 
41303
            } else { 
41144
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41304
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41145
            }
41305
            }
41146
            break;
41306
            break;
41147
          case 3: // AWBS
41307
          case 3: // AWBS
41148
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41308
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41149
              {
41309
              {
41150
                org.apache.thrift.protocol.TList _list147 = iprot.readListBegin();
41310
                org.apache.thrift.protocol.TList _list143 = iprot.readListBegin();
41151
                this.awbs = new ArrayList<String>(_list147.size);
41311
                this.awbs = new ArrayList<String>(_list143.size);
41152
                for (int _i148 = 0; _i148 < _list147.size; ++_i148)
41312
                for (int _i144 = 0; _i144 < _list143.size; ++_i144)
41153
                {
41313
                {
41154
                  String _elem149; // required
41314
                  String _elem145; // required
41155
                  _elem149 = iprot.readString();
41315
                  _elem145 = iprot.readString();
41156
                  this.awbs.add(_elem149);
41316
                  this.awbs.add(_elem145);
41157
                }
41317
                }
41158
                iprot.readListEnd();
41318
                iprot.readListEnd();
41159
              }
41319
              }
41160
            } else { 
41320
            } else { 
41161
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41321
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41179... Line 41339...
41179
      oprot.writeFieldEnd();
41339
      oprot.writeFieldEnd();
41180
      if (this.orderIds != null) {
41340
      if (this.orderIds != null) {
41181
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
41341
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
41182
        {
41342
        {
41183
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
41343
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
41184
          for (long _iter150 : this.orderIds)
41344
          for (long _iter146 : this.orderIds)
41185
          {
41345
          {
41186
            oprot.writeI64(_iter150);
41346
            oprot.writeI64(_iter146);
41187
          }
41347
          }
41188
          oprot.writeListEnd();
41348
          oprot.writeListEnd();
41189
        }
41349
        }
41190
        oprot.writeFieldEnd();
41350
        oprot.writeFieldEnd();
41191
      }
41351
      }
41192
      if (this.awbs != null) {
41352
      if (this.awbs != null) {
41193
        oprot.writeFieldBegin(AWBS_FIELD_DESC);
41353
        oprot.writeFieldBegin(AWBS_FIELD_DESC);
41194
        {
41354
        {
41195
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.awbs.size()));
41355
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.awbs.size()));
41196
          for (String _iter151 : this.awbs)
41356
          for (String _iter147 : this.awbs)
41197
          {
41357
          {
41198
            oprot.writeString(_iter151);
41358
            oprot.writeString(_iter147);
41199
          }
41359
          }
41200
          oprot.writeListEnd();
41360
          oprot.writeListEnd();
41201
        }
41361
        }
41202
        oprot.writeFieldEnd();
41362
        oprot.writeFieldEnd();
41203
      }
41363
      }
Line 41970... Line 42130...
41970
            }
42130
            }
41971
            break;
42131
            break;
41972
          case 2: // PICKUP_DETAILS
42132
          case 2: // PICKUP_DETAILS
41973
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
42133
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
41974
              {
42134
              {
41975
                org.apache.thrift.protocol.TMap _map152 = iprot.readMapBegin();
42135
                org.apache.thrift.protocol.TMap _map148 = iprot.readMapBegin();
41976
                this.pickupDetails = new HashMap<String,String>(2*_map152.size);
42136
                this.pickupDetails = new HashMap<String,String>(2*_map148.size);
41977
                for (int _i153 = 0; _i153 < _map152.size; ++_i153)
42137
                for (int _i149 = 0; _i149 < _map148.size; ++_i149)
41978
                {
42138
                {
41979
                  String _key154; // required
42139
                  String _key150; // required
41980
                  String _val155; // required
42140
                  String _val151; // required
41981
                  _key154 = iprot.readString();
42141
                  _key150 = iprot.readString();
41982
                  _val155 = iprot.readString();
42142
                  _val151 = iprot.readString();
41983
                  this.pickupDetails.put(_key154, _val155);
42143
                  this.pickupDetails.put(_key150, _val151);
41984
                }
42144
                }
41985
                iprot.readMapEnd();
42145
                iprot.readMapEnd();
41986
              }
42146
              }
41987
            } else { 
42147
            } else { 
41988
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42148
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42006... Line 42166...
42006
      oprot.writeFieldEnd();
42166
      oprot.writeFieldEnd();
42007
      if (this.pickupDetails != null) {
42167
      if (this.pickupDetails != null) {
42008
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
42168
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
42009
        {
42169
        {
42010
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
42170
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
42011
          for (Map.Entry<String, String> _iter156 : this.pickupDetails.entrySet())
42171
          for (Map.Entry<String, String> _iter152 : this.pickupDetails.entrySet())
42012
          {
42172
          {
42013
            oprot.writeString(_iter156.getKey());
42173
            oprot.writeString(_iter152.getKey());
42014
            oprot.writeString(_iter156.getValue());
42174
            oprot.writeString(_iter152.getValue());
42015
          }
42175
          }
42016
          oprot.writeMapEnd();
42176
          oprot.writeMapEnd();
42017
        }
42177
        }
42018
        oprot.writeFieldEnd();
42178
        oprot.writeFieldEnd();
42019
      }
42179
      }
Line 42899... Line 43059...
42899
        }
43059
        }
42900
        switch (field.id) {
43060
        switch (field.id) {
42901
          case 0: // SUCCESS
43061
          case 0: // SUCCESS
42902
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43062
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42903
              {
43063
              {
42904
                org.apache.thrift.protocol.TList _list157 = iprot.readListBegin();
43064
                org.apache.thrift.protocol.TList _list153 = iprot.readListBegin();
42905
                this.success = new ArrayList<Order>(_list157.size);
43065
                this.success = new ArrayList<Order>(_list153.size);
42906
                for (int _i158 = 0; _i158 < _list157.size; ++_i158)
43066
                for (int _i154 = 0; _i154 < _list153.size; ++_i154)
42907
                {
43067
                {
42908
                  Order _elem159; // required
43068
                  Order _elem155; // required
42909
                  _elem159 = new Order();
43069
                  _elem155 = new Order();
42910
                  _elem159.read(iprot);
43070
                  _elem155.read(iprot);
42911
                  this.success.add(_elem159);
43071
                  this.success.add(_elem155);
42912
                }
43072
                }
42913
                iprot.readListEnd();
43073
                iprot.readListEnd();
42914
              }
43074
              }
42915
            } else { 
43075
            } else { 
42916
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43076
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42930... Line 43090...
42930
 
43090
 
42931
      if (this.isSetSuccess()) {
43091
      if (this.isSetSuccess()) {
42932
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43092
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42933
        {
43093
        {
42934
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
43094
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42935
          for (Order _iter160 : this.success)
43095
          for (Order _iter156 : this.success)
42936
          {
43096
          {
42937
            _iter160.write(oprot);
43097
            _iter156.write(oprot);
42938
          }
43098
          }
42939
          oprot.writeListEnd();
43099
          oprot.writeListEnd();
42940
        }
43100
        }
42941
        oprot.writeFieldEnd();
43101
        oprot.writeFieldEnd();
42942
      }
43102
      }
Line 43314... Line 43474...
43314
            }
43474
            }
43315
            break;
43475
            break;
43316
          case 2: // DELIVERED_ORDERS
43476
          case 2: // DELIVERED_ORDERS
43317
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
43477
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
43318
              {
43478
              {
43319
                org.apache.thrift.protocol.TMap _map161 = iprot.readMapBegin();
43479
                org.apache.thrift.protocol.TMap _map157 = iprot.readMapBegin();
43320
                this.deliveredOrders = new HashMap<String,String>(2*_map161.size);
43480
                this.deliveredOrders = new HashMap<String,String>(2*_map157.size);
43321
                for (int _i162 = 0; _i162 < _map161.size; ++_i162)
43481
                for (int _i158 = 0; _i158 < _map157.size; ++_i158)
43322
                {
43482
                {
43323
                  String _key163; // required
43483
                  String _key159; // required
43324
                  String _val164; // required
43484
                  String _val160; // required
43325
                  _key163 = iprot.readString();
43485
                  _key159 = iprot.readString();
43326
                  _val164 = iprot.readString();
43486
                  _val160 = iprot.readString();
43327
                  this.deliveredOrders.put(_key163, _val164);
43487
                  this.deliveredOrders.put(_key159, _val160);
43328
                }
43488
                }
43329
                iprot.readMapEnd();
43489
                iprot.readMapEnd();
43330
              }
43490
              }
43331
            } else { 
43491
            } else { 
43332
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43492
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 43350... Line 43510...
43350
      oprot.writeFieldEnd();
43510
      oprot.writeFieldEnd();
43351
      if (this.deliveredOrders != null) {
43511
      if (this.deliveredOrders != null) {
43352
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
43512
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
43353
        {
43513
        {
43354
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.deliveredOrders.size()));
43514
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.deliveredOrders.size()));
43355
          for (Map.Entry<String, String> _iter165 : this.deliveredOrders.entrySet())
43515
          for (Map.Entry<String, String> _iter161 : this.deliveredOrders.entrySet())
43356
          {
43516
          {
43357
            oprot.writeString(_iter165.getKey());
43517
            oprot.writeString(_iter161.getKey());
43358
            oprot.writeString(_iter165.getValue());
43518
            oprot.writeString(_iter161.getValue());
43359
          }
43519
          }
43360
          oprot.writeMapEnd();
43520
          oprot.writeMapEnd();
43361
        }
43521
        }
43362
        oprot.writeFieldEnd();
43522
        oprot.writeFieldEnd();
43363
      }
43523
      }
Line 44033... Line 44193...
44033
            }
44193
            }
44034
            break;
44194
            break;
44035
          case 2: // RETURNED_ORDERS
44195
          case 2: // RETURNED_ORDERS
44036
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
44196
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
44037
              {
44197
              {
44038
                org.apache.thrift.protocol.TMap _map166 = iprot.readMapBegin();
44198
                org.apache.thrift.protocol.TMap _map162 = iprot.readMapBegin();
44039
                this.returnedOrders = new HashMap<String,String>(2*_map166.size);
44199
                this.returnedOrders = new HashMap<String,String>(2*_map162.size);
44040
                for (int _i167 = 0; _i167 < _map166.size; ++_i167)
44200
                for (int _i163 = 0; _i163 < _map162.size; ++_i163)
44041
                {
44201
                {
44042
                  String _key168; // required
44202
                  String _key164; // required
44043
                  String _val169; // required
44203
                  String _val165; // required
44044
                  _key168 = iprot.readString();
44204
                  _key164 = iprot.readString();
44045
                  _val169 = iprot.readString();
44205
                  _val165 = iprot.readString();
44046
                  this.returnedOrders.put(_key168, _val169);
44206
                  this.returnedOrders.put(_key164, _val165);
44047
                }
44207
                }
44048
                iprot.readMapEnd();
44208
                iprot.readMapEnd();
44049
              }
44209
              }
44050
            } else { 
44210
            } else { 
44051
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44211
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44069... Line 44229...
44069
      oprot.writeFieldEnd();
44229
      oprot.writeFieldEnd();
44070
      if (this.returnedOrders != null) {
44230
      if (this.returnedOrders != null) {
44071
        oprot.writeFieldBegin(RETURNED_ORDERS_FIELD_DESC);
44231
        oprot.writeFieldBegin(RETURNED_ORDERS_FIELD_DESC);
44072
        {
44232
        {
44073
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.returnedOrders.size()));
44233
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.returnedOrders.size()));
44074
          for (Map.Entry<String, String> _iter170 : this.returnedOrders.entrySet())
44234
          for (Map.Entry<String, String> _iter166 : this.returnedOrders.entrySet())
44075
          {
44235
          {
44076
            oprot.writeString(_iter170.getKey());
44236
            oprot.writeString(_iter166.getKey());
44077
            oprot.writeString(_iter170.getValue());
44237
            oprot.writeString(_iter166.getValue());
44078
          }
44238
          }
44079
          oprot.writeMapEnd();
44239
          oprot.writeMapEnd();
44080
        }
44240
        }
44081
        oprot.writeFieldEnd();
44241
        oprot.writeFieldEnd();
44082
      }
44242
      }
Line 44962... Line 45122...
44962
        }
45122
        }
44963
        switch (field.id) {
45123
        switch (field.id) {
44964
          case 0: // SUCCESS
45124
          case 0: // SUCCESS
44965
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45125
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44966
              {
45126
              {
44967
                org.apache.thrift.protocol.TList _list171 = iprot.readListBegin();
45127
                org.apache.thrift.protocol.TList _list167 = iprot.readListBegin();
44968
                this.success = new ArrayList<Order>(_list171.size);
45128
                this.success = new ArrayList<Order>(_list167.size);
44969
                for (int _i172 = 0; _i172 < _list171.size; ++_i172)
45129
                for (int _i168 = 0; _i168 < _list167.size; ++_i168)
44970
                {
45130
                {
44971
                  Order _elem173; // required
45131
                  Order _elem169; // required
44972
                  _elem173 = new Order();
45132
                  _elem169 = new Order();
44973
                  _elem173.read(iprot);
45133
                  _elem169.read(iprot);
44974
                  this.success.add(_elem173);
45134
                  this.success.add(_elem169);
44975
                }
45135
                }
44976
                iprot.readListEnd();
45136
                iprot.readListEnd();
44977
              }
45137
              }
44978
            } else { 
45138
            } else { 
44979
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45139
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44993... Line 45153...
44993
 
45153
 
44994
      if (this.isSetSuccess()) {
45154
      if (this.isSetSuccess()) {
44995
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45155
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44996
        {
45156
        {
44997
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45157
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
44998
          for (Order _iter174 : this.success)
45158
          for (Order _iter170 : this.success)
44999
          {
45159
          {
45000
            _iter174.write(oprot);
45160
            _iter170.write(oprot);
45001
          }
45161
          }
45002
          oprot.writeListEnd();
45162
          oprot.writeListEnd();
45003
        }
45163
        }
45004
        oprot.writeFieldEnd();
45164
        oprot.writeFieldEnd();
45005
      }
45165
      }
Line 45377... Line 45537...
45377
            }
45537
            }
45378
            break;
45538
            break;
45379
          case 2: // UNDELIVERED_ORDERS
45539
          case 2: // UNDELIVERED_ORDERS
45380
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
45540
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
45381
              {
45541
              {
45382
                org.apache.thrift.protocol.TMap _map175 = iprot.readMapBegin();
45542
                org.apache.thrift.protocol.TMap _map171 = iprot.readMapBegin();
45383
                this.undeliveredOrders = new HashMap<String,String>(2*_map175.size);
45543
                this.undeliveredOrders = new HashMap<String,String>(2*_map171.size);
45384
                for (int _i176 = 0; _i176 < _map175.size; ++_i176)
45544
                for (int _i172 = 0; _i172 < _map171.size; ++_i172)
45385
                {
45545
                {
45386
                  String _key177; // required
45546
                  String _key173; // required
45387
                  String _val178; // required
45547
                  String _val174; // required
45388
                  _key177 = iprot.readString();
45548
                  _key173 = iprot.readString();
45389
                  _val178 = iprot.readString();
45549
                  _val174 = iprot.readString();
45390
                  this.undeliveredOrders.put(_key177, _val178);
45550
                  this.undeliveredOrders.put(_key173, _val174);
45391
                }
45551
                }
45392
                iprot.readMapEnd();
45552
                iprot.readMapEnd();
45393
              }
45553
              }
45394
            } else { 
45554
            } else { 
45395
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45555
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 45413... Line 45573...
45413
      oprot.writeFieldEnd();
45573
      oprot.writeFieldEnd();
45414
      if (this.undeliveredOrders != null) {
45574
      if (this.undeliveredOrders != null) {
45415
        oprot.writeFieldBegin(UNDELIVERED_ORDERS_FIELD_DESC);
45575
        oprot.writeFieldBegin(UNDELIVERED_ORDERS_FIELD_DESC);
45416
        {
45576
        {
45417
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.undeliveredOrders.size()));
45577
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.undeliveredOrders.size()));
45418
          for (Map.Entry<String, String> _iter179 : this.undeliveredOrders.entrySet())
45578
          for (Map.Entry<String, String> _iter175 : this.undeliveredOrders.entrySet())
45419
          {
45579
          {
45420
            oprot.writeString(_iter179.getKey());
45580
            oprot.writeString(_iter175.getKey());
45421
            oprot.writeString(_iter179.getValue());
45581
            oprot.writeString(_iter175.getValue());
45422
          }
45582
          }
45423
          oprot.writeMapEnd();
45583
          oprot.writeMapEnd();
45424
        }
45584
        }
45425
        oprot.writeFieldEnd();
45585
        oprot.writeFieldEnd();
45426
      }
45586
      }
Line 46306... Line 46466...
46306
        }
46466
        }
46307
        switch (field.id) {
46467
        switch (field.id) {
46308
          case 0: // SUCCESS
46468
          case 0: // SUCCESS
46309
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46469
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46310
              {
46470
              {
46311
                org.apache.thrift.protocol.TList _list180 = iprot.readListBegin();
46471
                org.apache.thrift.protocol.TList _list176 = iprot.readListBegin();
46312
                this.success = new ArrayList<Order>(_list180.size);
46472
                this.success = new ArrayList<Order>(_list176.size);
46313
                for (int _i181 = 0; _i181 < _list180.size; ++_i181)
46473
                for (int _i177 = 0; _i177 < _list176.size; ++_i177)
46314
                {
46474
                {
46315
                  Order _elem182; // required
46475
                  Order _elem178; // required
46316
                  _elem182 = new Order();
46476
                  _elem178 = new Order();
46317
                  _elem182.read(iprot);
46477
                  _elem178.read(iprot);
46318
                  this.success.add(_elem182);
46478
                  this.success.add(_elem178);
46319
                }
46479
                }
46320
                iprot.readListEnd();
46480
                iprot.readListEnd();
46321
              }
46481
              }
46322
            } else { 
46482
            } else { 
46323
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46483
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46337... Line 46497...
46337
 
46497
 
46338
      if (this.isSetSuccess()) {
46498
      if (this.isSetSuccess()) {
46339
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46499
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46340
        {
46500
        {
46341
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46501
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46342
          for (Order _iter183 : this.success)
46502
          for (Order _iter179 : this.success)
46343
          {
46503
          {
46344
            _iter183.write(oprot);
46504
            _iter179.write(oprot);
46345
          }
46505
          }
46346
          oprot.writeListEnd();
46506
          oprot.writeListEnd();
46347
        }
46507
        }
46348
        oprot.writeFieldEnd();
46508
        oprot.writeFieldEnd();
46349
      }
46509
      }
Line 46721... Line 46881...
46721
            }
46881
            }
46722
            break;
46882
            break;
46723
          case 2: // LOCAL_CONNECTED_ORDERS
46883
          case 2: // LOCAL_CONNECTED_ORDERS
46724
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
46884
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
46725
              {
46885
              {
46726
                org.apache.thrift.protocol.TMap _map184 = iprot.readMapBegin();
46886
                org.apache.thrift.protocol.TMap _map180 = iprot.readMapBegin();
46727
                this.local_connected_orders = new HashMap<String,String>(2*_map184.size);
46887
                this.local_connected_orders = new HashMap<String,String>(2*_map180.size);
46728
                for (int _i185 = 0; _i185 < _map184.size; ++_i185)
46888
                for (int _i181 = 0; _i181 < _map180.size; ++_i181)
46729
                {
46889
                {
46730
                  String _key186; // required
46890
                  String _key182; // required
46731
                  String _val187; // required
46891
                  String _val183; // required
46732
                  _key186 = iprot.readString();
46892
                  _key182 = iprot.readString();
46733
                  _val187 = iprot.readString();
46893
                  _val183 = iprot.readString();
46734
                  this.local_connected_orders.put(_key186, _val187);
46894
                  this.local_connected_orders.put(_key182, _val183);
46735
                }
46895
                }
46736
                iprot.readMapEnd();
46896
                iprot.readMapEnd();
46737
              }
46897
              }
46738
            } else { 
46898
            } else { 
46739
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46899
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46757... Line 46917...
46757
      oprot.writeFieldEnd();
46917
      oprot.writeFieldEnd();
46758
      if (this.local_connected_orders != null) {
46918
      if (this.local_connected_orders != null) {
46759
        oprot.writeFieldBegin(LOCAL_CONNECTED_ORDERS_FIELD_DESC);
46919
        oprot.writeFieldBegin(LOCAL_CONNECTED_ORDERS_FIELD_DESC);
46760
        {
46920
        {
46761
          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()));
46921
          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()));
46762
          for (Map.Entry<String, String> _iter188 : this.local_connected_orders.entrySet())
46922
          for (Map.Entry<String, String> _iter184 : this.local_connected_orders.entrySet())
46763
          {
46923
          {
46764
            oprot.writeString(_iter188.getKey());
46924
            oprot.writeString(_iter184.getKey());
46765
            oprot.writeString(_iter188.getValue());
46925
            oprot.writeString(_iter184.getValue());
46766
          }
46926
          }
46767
          oprot.writeMapEnd();
46927
          oprot.writeMapEnd();
46768
        }
46928
        }
46769
        oprot.writeFieldEnd();
46929
        oprot.writeFieldEnd();
46770
      }
46930
      }
Line 47650... Line 47810...
47650
        }
47810
        }
47651
        switch (field.id) {
47811
        switch (field.id) {
47652
          case 0: // SUCCESS
47812
          case 0: // SUCCESS
47653
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47813
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47654
              {
47814
              {
47655
                org.apache.thrift.protocol.TList _list189 = iprot.readListBegin();
47815
                org.apache.thrift.protocol.TList _list185 = iprot.readListBegin();
47656
                this.success = new ArrayList<Order>(_list189.size);
47816
                this.success = new ArrayList<Order>(_list185.size);
47657
                for (int _i190 = 0; _i190 < _list189.size; ++_i190)
47817
                for (int _i186 = 0; _i186 < _list185.size; ++_i186)
47658
                {
47818
                {
47659
                  Order _elem191; // required
47819
                  Order _elem187; // required
47660
                  _elem191 = new Order();
47820
                  _elem187 = new Order();
47661
                  _elem191.read(iprot);
47821
                  _elem187.read(iprot);
47662
                  this.success.add(_elem191);
47822
                  this.success.add(_elem187);
47663
                }
47823
                }
47664
                iprot.readListEnd();
47824
                iprot.readListEnd();
47665
              }
47825
              }
47666
            } else { 
47826
            } else { 
47667
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47827
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47681... Line 47841...
47681
 
47841
 
47682
      if (this.isSetSuccess()) {
47842
      if (this.isSetSuccess()) {
47683
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47843
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47684
        {
47844
        {
47685
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47845
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47686
          for (Order _iter192 : this.success)
47846
          for (Order _iter188 : this.success)
47687
          {
47847
          {
47688
            _iter192.write(oprot);
47848
            _iter188.write(oprot);
47689
          }
47849
          }
47690
          oprot.writeListEnd();
47850
          oprot.writeListEnd();
47691
        }
47851
        }
47692
        oprot.writeFieldEnd();
47852
        oprot.writeFieldEnd();
47693
      }
47853
      }
Line 48065... Line 48225...
48065
            }
48225
            }
48066
            break;
48226
            break;
48067
          case 2: // DESTINATION_CITY_REACHED_ORDERS
48227
          case 2: // DESTINATION_CITY_REACHED_ORDERS
48068
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
48228
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
48069
              {
48229
              {
48070
                org.apache.thrift.protocol.TMap _map193 = iprot.readMapBegin();
48230
                org.apache.thrift.protocol.TMap _map189 = iprot.readMapBegin();
48071
                this.destination_city_reached_orders = new HashMap<String,String>(2*_map193.size);
48231
                this.destination_city_reached_orders = new HashMap<String,String>(2*_map189.size);
48072
                for (int _i194 = 0; _i194 < _map193.size; ++_i194)
48232
                for (int _i190 = 0; _i190 < _map189.size; ++_i190)
48073
                {
48233
                {
48074
                  String _key195; // required
48234
                  String _key191; // required
48075
                  String _val196; // required
48235
                  String _val192; // required
48076
                  _key195 = iprot.readString();
48236
                  _key191 = iprot.readString();
48077
                  _val196 = iprot.readString();
48237
                  _val192 = iprot.readString();
48078
                  this.destination_city_reached_orders.put(_key195, _val196);
48238
                  this.destination_city_reached_orders.put(_key191, _val192);
48079
                }
48239
                }
48080
                iprot.readMapEnd();
48240
                iprot.readMapEnd();
48081
              }
48241
              }
48082
            } else { 
48242
            } else { 
48083
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48243
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 48101... Line 48261...
48101
      oprot.writeFieldEnd();
48261
      oprot.writeFieldEnd();
48102
      if (this.destination_city_reached_orders != null) {
48262
      if (this.destination_city_reached_orders != null) {
48103
        oprot.writeFieldBegin(DESTINATION_CITY_REACHED_ORDERS_FIELD_DESC);
48263
        oprot.writeFieldBegin(DESTINATION_CITY_REACHED_ORDERS_FIELD_DESC);
48104
        {
48264
        {
48105
          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()));
48265
          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()));
48106
          for (Map.Entry<String, String> _iter197 : this.destination_city_reached_orders.entrySet())
48266
          for (Map.Entry<String, String> _iter193 : this.destination_city_reached_orders.entrySet())
48107
          {
48267
          {
48108
            oprot.writeString(_iter197.getKey());
48268
            oprot.writeString(_iter193.getKey());
48109
            oprot.writeString(_iter197.getValue());
48269
            oprot.writeString(_iter193.getValue());
48110
          }
48270
          }
48111
          oprot.writeMapEnd();
48271
          oprot.writeMapEnd();
48112
        }
48272
        }
48113
        oprot.writeFieldEnd();
48273
        oprot.writeFieldEnd();
48114
      }
48274
      }
Line 48784... Line 48944...
48784
            }
48944
            }
48785
            break;
48945
            break;
48786
          case 2: // FIRST_ATDL_ORDERS
48946
          case 2: // FIRST_ATDL_ORDERS
48787
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
48947
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
48788
              {
48948
              {
48789
                org.apache.thrift.protocol.TMap _map198 = iprot.readMapBegin();
48949
                org.apache.thrift.protocol.TMap _map194 = iprot.readMapBegin();
48790
                this.first_atdl_orders = new HashMap<String,String>(2*_map198.size);
48950
                this.first_atdl_orders = new HashMap<String,String>(2*_map194.size);
48791
                for (int _i199 = 0; _i199 < _map198.size; ++_i199)
48951
                for (int _i195 = 0; _i195 < _map194.size; ++_i195)
48792
                {
48952
                {
48793
                  String _key200; // required
48953
                  String _key196; // required
48794
                  String _val201; // required
48954
                  String _val197; // required
48795
                  _key200 = iprot.readString();
48955
                  _key196 = iprot.readString();
48796
                  _val201 = iprot.readString();
48956
                  _val197 = iprot.readString();
48797
                  this.first_atdl_orders.put(_key200, _val201);
48957
                  this.first_atdl_orders.put(_key196, _val197);
48798
                }
48958
                }
48799
                iprot.readMapEnd();
48959
                iprot.readMapEnd();
48800
              }
48960
              }
48801
            } else { 
48961
            } else { 
48802
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48962
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 48820... Line 48980...
48820
      oprot.writeFieldEnd();
48980
      oprot.writeFieldEnd();
48821
      if (this.first_atdl_orders != null) {
48981
      if (this.first_atdl_orders != null) {
48822
        oprot.writeFieldBegin(FIRST_ATDL_ORDERS_FIELD_DESC);
48982
        oprot.writeFieldBegin(FIRST_ATDL_ORDERS_FIELD_DESC);
48823
        {
48983
        {
48824
          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()));
48984
          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()));
48825
          for (Map.Entry<String, String> _iter202 : this.first_atdl_orders.entrySet())
48985
          for (Map.Entry<String, String> _iter198 : this.first_atdl_orders.entrySet())
48826
          {
48986
          {
48827
            oprot.writeString(_iter202.getKey());
48987
            oprot.writeString(_iter198.getKey());
48828
            oprot.writeString(_iter202.getValue());
48988
            oprot.writeString(_iter198.getValue());
48829
          }
48989
          }
48830
          oprot.writeMapEnd();
48990
          oprot.writeMapEnd();
48831
        }
48991
        }
48832
        oprot.writeFieldEnd();
48992
        oprot.writeFieldEnd();
48833
      }
48993
      }
Line 49794... Line 49954...
49794
        }
49954
        }
49795
        switch (field.id) {
49955
        switch (field.id) {
49796
          case 0: // SUCCESS
49956
          case 0: // SUCCESS
49797
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49957
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49798
              {
49958
              {
49799
                org.apache.thrift.protocol.TList _list203 = iprot.readListBegin();
49959
                org.apache.thrift.protocol.TList _list199 = iprot.readListBegin();
49800
                this.success = new ArrayList<Order>(_list203.size);
49960
                this.success = new ArrayList<Order>(_list199.size);
49801
                for (int _i204 = 0; _i204 < _list203.size; ++_i204)
49961
                for (int _i200 = 0; _i200 < _list199.size; ++_i200)
49802
                {
49962
                {
49803
                  Order _elem205; // required
49963
                  Order _elem201; // required
49804
                  _elem205 = new Order();
49964
                  _elem201 = new Order();
49805
                  _elem205.read(iprot);
49965
                  _elem201.read(iprot);
49806
                  this.success.add(_elem205);
49966
                  this.success.add(_elem201);
49807
                }
49967
                }
49808
                iprot.readListEnd();
49968
                iprot.readListEnd();
49809
              }
49969
              }
49810
            } else { 
49970
            } else { 
49811
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
49971
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 49825... Line 49985...
49825
 
49985
 
49826
      if (this.isSetSuccess()) {
49986
      if (this.isSetSuccess()) {
49827
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49987
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49828
        {
49988
        {
49829
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49989
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49830
          for (Order _iter206 : this.success)
49990
          for (Order _iter202 : this.success)
49831
          {
49991
          {
49832
            _iter206.write(oprot);
49992
            _iter202.write(oprot);
49833
          }
49993
          }
49834
          oprot.writeListEnd();
49994
          oprot.writeListEnd();
49835
        }
49995
        }
49836
        oprot.writeFieldEnd();
49996
        oprot.writeFieldEnd();
49837
      }
49997
      }
Line 50325... Line 50485...
50325
        }
50485
        }
50326
        switch (field.id) {
50486
        switch (field.id) {
50327
          case 0: // SUCCESS
50487
          case 0: // SUCCESS
50328
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50488
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50329
              {
50489
              {
50330
                org.apache.thrift.protocol.TList _list207 = iprot.readListBegin();
50490
                org.apache.thrift.protocol.TList _list203 = iprot.readListBegin();
50331
                this.success = new ArrayList<Order>(_list207.size);
50491
                this.success = new ArrayList<Order>(_list203.size);
50332
                for (int _i208 = 0; _i208 < _list207.size; ++_i208)
50492
                for (int _i204 = 0; _i204 < _list203.size; ++_i204)
50333
                {
50493
                {
50334
                  Order _elem209; // required
50494
                  Order _elem205; // required
50335
                  _elem209 = new Order();
50495
                  _elem205 = new Order();
50336
                  _elem209.read(iprot);
50496
                  _elem205.read(iprot);
50337
                  this.success.add(_elem209);
50497
                  this.success.add(_elem205);
50338
                }
50498
                }
50339
                iprot.readListEnd();
50499
                iprot.readListEnd();
50340
              }
50500
              }
50341
            } else { 
50501
            } else { 
50342
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
50502
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 50356... Line 50516...
50356
 
50516
 
50357
      if (this.isSetSuccess()) {
50517
      if (this.isSetSuccess()) {
50358
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50518
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50359
        {
50519
        {
50360
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
50520
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
50361
          for (Order _iter210 : this.success)
50521
          for (Order _iter206 : this.success)
50362
          {
50522
          {
50363
            _iter210.write(oprot);
50523
            _iter206.write(oprot);
50364
          }
50524
          }
50365
          oprot.writeListEnd();
50525
          oprot.writeListEnd();
50366
        }
50526
        }
50367
        oprot.writeFieldEnd();
50527
        oprot.writeFieldEnd();
50368
      }
50528
      }
Line 57303... Line 57463...
57303
            }
57463
            }
57304
            break;
57464
            break;
57305
          case 2: // PICKUP_DETAILS
57465
          case 2: // PICKUP_DETAILS
57306
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
57466
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
57307
              {
57467
              {
57308
                org.apache.thrift.protocol.TMap _map211 = iprot.readMapBegin();
57468
                org.apache.thrift.protocol.TMap _map207 = iprot.readMapBegin();
57309
                this.pickupDetails = new HashMap<String,String>(2*_map211.size);
57469
                this.pickupDetails = new HashMap<String,String>(2*_map207.size);
57310
                for (int _i212 = 0; _i212 < _map211.size; ++_i212)
57470
                for (int _i208 = 0; _i208 < _map207.size; ++_i208)
57311
                {
57471
                {
57312
                  String _key213; // required
57472
                  String _key209; // required
57313
                  String _val214; // required
57473
                  String _val210; // required
57314
                  _key213 = iprot.readString();
57474
                  _key209 = iprot.readString();
57315
                  _val214 = iprot.readString();
57475
                  _val210 = iprot.readString();
57316
                  this.pickupDetails.put(_key213, _val214);
57476
                  this.pickupDetails.put(_key209, _val210);
57317
                }
57477
                }
57318
                iprot.readMapEnd();
57478
                iprot.readMapEnd();
57319
              }
57479
              }
57320
            } else { 
57480
            } else { 
57321
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57481
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 57339... Line 57499...
57339
      oprot.writeFieldEnd();
57499
      oprot.writeFieldEnd();
57340
      if (this.pickupDetails != null) {
57500
      if (this.pickupDetails != null) {
57341
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
57501
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
57342
        {
57502
        {
57343
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
57503
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
57344
          for (Map.Entry<String, String> _iter215 : this.pickupDetails.entrySet())
57504
          for (Map.Entry<String, String> _iter211 : this.pickupDetails.entrySet())
57345
          {
57505
          {
57346
            oprot.writeString(_iter215.getKey());
57506
            oprot.writeString(_iter211.getKey());
57347
            oprot.writeString(_iter215.getValue());
57507
            oprot.writeString(_iter211.getValue());
57348
          }
57508
          }
57349
          oprot.writeMapEnd();
57509
          oprot.writeMapEnd();
57350
        }
57510
        }
57351
        oprot.writeFieldEnd();
57511
        oprot.writeFieldEnd();
57352
      }
57512
      }
Line 58135... Line 58295...
58135
        }
58295
        }
58136
        switch (field.id) {
58296
        switch (field.id) {
58137
          case 0: // SUCCESS
58297
          case 0: // SUCCESS
58138
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58298
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58139
              {
58299
              {
58140
                org.apache.thrift.protocol.TList _list216 = iprot.readListBegin();
58300
                org.apache.thrift.protocol.TList _list212 = iprot.readListBegin();
58141
                this.success = new ArrayList<Order>(_list216.size);
58301
                this.success = new ArrayList<Order>(_list212.size);
58142
                for (int _i217 = 0; _i217 < _list216.size; ++_i217)
58302
                for (int _i213 = 0; _i213 < _list212.size; ++_i213)
58143
                {
58303
                {
58144
                  Order _elem218; // required
58304
                  Order _elem214; // required
58145
                  _elem218 = new Order();
58305
                  _elem214 = new Order();
58146
                  _elem218.read(iprot);
58306
                  _elem214.read(iprot);
58147
                  this.success.add(_elem218);
58307
                  this.success.add(_elem214);
58148
                }
58308
                }
58149
                iprot.readListEnd();
58309
                iprot.readListEnd();
58150
              }
58310
              }
58151
            } else { 
58311
            } else { 
58152
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58312
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 58166... Line 58326...
58166
 
58326
 
58167
      if (this.isSetSuccess()) {
58327
      if (this.isSetSuccess()) {
58168
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58328
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58169
        {
58329
        {
58170
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58330
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58171
          for (Order _iter219 : this.success)
58331
          for (Order _iter215 : this.success)
58172
          {
58332
          {
58173
            _iter219.write(oprot);
58333
            _iter215.write(oprot);
58174
          }
58334
          }
58175
          oprot.writeListEnd();
58335
          oprot.writeListEnd();
58176
        }
58336
        }
58177
        oprot.writeFieldEnd();
58337
        oprot.writeFieldEnd();
58178
      }
58338
      }
Line 58550... Line 58710...
58550
            }
58710
            }
58551
            break;
58711
            break;
58552
          case 2: // PICKUP_DETAILS
58712
          case 2: // PICKUP_DETAILS
58553
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
58713
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
58554
              {
58714
              {
58555
                org.apache.thrift.protocol.TMap _map220 = iprot.readMapBegin();
58715
                org.apache.thrift.protocol.TMap _map216 = iprot.readMapBegin();
58556
                this.pickupDetails = new HashMap<String,String>(2*_map220.size);
58716
                this.pickupDetails = new HashMap<String,String>(2*_map216.size);
58557
                for (int _i221 = 0; _i221 < _map220.size; ++_i221)
58717
                for (int _i217 = 0; _i217 < _map216.size; ++_i217)
58558
                {
58718
                {
58559
                  String _key222; // required
58719
                  String _key218; // required
58560
                  String _val223; // required
58720
                  String _val219; // required
58561
                  _key222 = iprot.readString();
58721
                  _key218 = iprot.readString();
58562
                  _val223 = iprot.readString();
58722
                  _val219 = iprot.readString();
58563
                  this.pickupDetails.put(_key222, _val223);
58723
                  this.pickupDetails.put(_key218, _val219);
58564
                }
58724
                }
58565
                iprot.readMapEnd();
58725
                iprot.readMapEnd();
58566
              }
58726
              }
58567
            } else { 
58727
            } else { 
58568
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58728
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 58586... Line 58746...
58586
      oprot.writeFieldEnd();
58746
      oprot.writeFieldEnd();
58587
      if (this.pickupDetails != null) {
58747
      if (this.pickupDetails != null) {
58588
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
58748
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
58589
        {
58749
        {
58590
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
58750
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
58591
          for (Map.Entry<String, String> _iter224 : this.pickupDetails.entrySet())
58751
          for (Map.Entry<String, String> _iter220 : this.pickupDetails.entrySet())
58592
          {
58752
          {
58593
            oprot.writeString(_iter224.getKey());
58753
            oprot.writeString(_iter220.getKey());
58594
            oprot.writeString(_iter224.getValue());
58754
            oprot.writeString(_iter220.getValue());
58595
          }
58755
          }
58596
          oprot.writeMapEnd();
58756
          oprot.writeMapEnd();
58597
        }
58757
        }
58598
        oprot.writeFieldEnd();
58758
        oprot.writeFieldEnd();
58599
      }
58759
      }
Line 59382... Line 59542...
59382
        }
59542
        }
59383
        switch (field.id) {
59543
        switch (field.id) {
59384
          case 0: // SUCCESS
59544
          case 0: // SUCCESS
59385
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59545
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59386
              {
59546
              {
59387
                org.apache.thrift.protocol.TList _list225 = iprot.readListBegin();
59547
                org.apache.thrift.protocol.TList _list221 = iprot.readListBegin();
59388
                this.success = new ArrayList<Order>(_list225.size);
59548
                this.success = new ArrayList<Order>(_list221.size);
59389
                for (int _i226 = 0; _i226 < _list225.size; ++_i226)
59549
                for (int _i222 = 0; _i222 < _list221.size; ++_i222)
59390
                {
59550
                {
59391
                  Order _elem227; // required
59551
                  Order _elem223; // required
59392
                  _elem227 = new Order();
59552
                  _elem223 = new Order();
59393
                  _elem227.read(iprot);
59553
                  _elem223.read(iprot);
59394
                  this.success.add(_elem227);
59554
                  this.success.add(_elem223);
59395
                }
59555
                }
59396
                iprot.readListEnd();
59556
                iprot.readListEnd();
59397
              }
59557
              }
59398
            } else { 
59558
            } else { 
59399
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
59559
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 59413... Line 59573...
59413
 
59573
 
59414
      if (this.isSetSuccess()) {
59574
      if (this.isSetSuccess()) {
59415
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59575
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59416
        {
59576
        {
59417
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
59577
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
59418
          for (Order _iter228 : this.success)
59578
          for (Order _iter224 : this.success)
59419
          {
59579
          {
59420
            _iter228.write(oprot);
59580
            _iter224.write(oprot);
59421
          }
59581
          }
59422
          oprot.writeListEnd();
59582
          oprot.writeListEnd();
59423
        }
59583
        }
59424
        oprot.writeFieldEnd();
59584
        oprot.writeFieldEnd();
59425
      }
59585
      }
Line 63963... Line 64123...
63963
        }
64123
        }
63964
        switch (field.id) {
64124
        switch (field.id) {
63965
          case 0: // SUCCESS
64125
          case 0: // SUCCESS
63966
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
64126
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63967
              {
64127
              {
63968
                org.apache.thrift.protocol.TList _list229 = iprot.readListBegin();
64128
                org.apache.thrift.protocol.TList _list225 = iprot.readListBegin();
63969
                this.success = new ArrayList<ReturnOrder>(_list229.size);
64129
                this.success = new ArrayList<ReturnOrder>(_list225.size);
63970
                for (int _i230 = 0; _i230 < _list229.size; ++_i230)
64130
                for (int _i226 = 0; _i226 < _list225.size; ++_i226)
63971
                {
64131
                {
63972
                  ReturnOrder _elem231; // required
64132
                  ReturnOrder _elem227; // required
63973
                  _elem231 = new ReturnOrder();
64133
                  _elem227 = new ReturnOrder();
63974
                  _elem231.read(iprot);
64134
                  _elem227.read(iprot);
63975
                  this.success.add(_elem231);
64135
                  this.success.add(_elem227);
63976
                }
64136
                }
63977
                iprot.readListEnd();
64137
                iprot.readListEnd();
63978
              }
64138
              }
63979
            } else { 
64139
            } else { 
63980
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
64140
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 63994... Line 64154...
63994
 
64154
 
63995
      if (this.isSetSuccess()) {
64155
      if (this.isSetSuccess()) {
63996
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
64156
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
63997
        {
64157
        {
63998
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
64158
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
63999
          for (ReturnOrder _iter232 : this.success)
64159
          for (ReturnOrder _iter228 : this.success)
64000
          {
64160
          {
64001
            _iter232.write(oprot);
64161
            _iter228.write(oprot);
64002
          }
64162
          }
64003
          oprot.writeListEnd();
64163
          oprot.writeListEnd();
64004
        }
64164
        }
64005
        oprot.writeFieldEnd();
64165
        oprot.writeFieldEnd();
64006
      }
64166
      }
Line 64754... Line 64914...
64754
        }
64914
        }
64755
        switch (field.id) {
64915
        switch (field.id) {
64756
          case 0: // SUCCESS
64916
          case 0: // SUCCESS
64757
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
64917
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
64758
              {
64918
              {
64759
                org.apache.thrift.protocol.TList _list233 = iprot.readListBegin();
64919
                org.apache.thrift.protocol.TList _list229 = iprot.readListBegin();
64760
                this.success = new ArrayList<ReturnOrder>(_list233.size);
64920
                this.success = new ArrayList<ReturnOrder>(_list229.size);
64761
                for (int _i234 = 0; _i234 < _list233.size; ++_i234)
64921
                for (int _i230 = 0; _i230 < _list229.size; ++_i230)
64762
                {
64922
                {
64763
                  ReturnOrder _elem235; // required
64923
                  ReturnOrder _elem231; // required
64764
                  _elem235 = new ReturnOrder();
64924
                  _elem231 = new ReturnOrder();
64765
                  _elem235.read(iprot);
64925
                  _elem231.read(iprot);
64766
                  this.success.add(_elem235);
64926
                  this.success.add(_elem231);
64767
                }
64927
                }
64768
                iprot.readListEnd();
64928
                iprot.readListEnd();
64769
              }
64929
              }
64770
            } else { 
64930
            } else { 
64771
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
64931
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 64785... Line 64945...
64785
 
64945
 
64786
      if (this.isSetSuccess()) {
64946
      if (this.isSetSuccess()) {
64787
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
64947
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
64788
        {
64948
        {
64789
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
64949
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
64790
          for (ReturnOrder _iter236 : this.success)
64950
          for (ReturnOrder _iter232 : this.success)
64791
          {
64951
          {
64792
            _iter236.write(oprot);
64952
            _iter232.write(oprot);
64793
          }
64953
          }
64794
          oprot.writeListEnd();
64954
          oprot.writeListEnd();
64795
        }
64955
        }
64796
        oprot.writeFieldEnd();
64956
        oprot.writeFieldEnd();
64797
      }
64957
      }
Line 69772... Line 69932...
69772
        }
69932
        }
69773
        switch (field.id) {
69933
        switch (field.id) {
69774
          case 1: // COLLECTED_AMOUNT_MAP
69934
          case 1: // COLLECTED_AMOUNT_MAP
69775
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
69935
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
69776
              {
69936
              {
69777
                org.apache.thrift.protocol.TMap _map237 = iprot.readMapBegin();
69937
                org.apache.thrift.protocol.TMap _map233 = iprot.readMapBegin();
69778
                this.collectedAmountMap = new HashMap<String,Double>(2*_map237.size);
69938
                this.collectedAmountMap = new HashMap<String,Double>(2*_map233.size);
69779
                for (int _i238 = 0; _i238 < _map237.size; ++_i238)
69939
                for (int _i234 = 0; _i234 < _map233.size; ++_i234)
69780
                {
69940
                {
69781
                  String _key239; // required
69941
                  String _key235; // required
69782
                  double _val240; // required
69942
                  double _val236; // required
69783
                  _key239 = iprot.readString();
69943
                  _key235 = iprot.readString();
69784
                  _val240 = iprot.readDouble();
69944
                  _val236 = iprot.readDouble();
69785
                  this.collectedAmountMap.put(_key239, _val240);
69945
                  this.collectedAmountMap.put(_key235, _val236);
69786
                }
69946
                }
69787
                iprot.readMapEnd();
69947
                iprot.readMapEnd();
69788
              }
69948
              }
69789
            } else { 
69949
            } else { 
69790
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
69950
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 69827... Line 69987...
69827
      oprot.writeStructBegin(STRUCT_DESC);
69987
      oprot.writeStructBegin(STRUCT_DESC);
69828
      if (this.collectedAmountMap != null) {
69988
      if (this.collectedAmountMap != null) {
69829
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
69989
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
69830
        {
69990
        {
69831
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
69991
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
69832
          for (Map.Entry<String, Double> _iter241 : this.collectedAmountMap.entrySet())
69992
          for (Map.Entry<String, Double> _iter237 : this.collectedAmountMap.entrySet())
69833
          {
69993
          {
69834
            oprot.writeString(_iter241.getKey());
69994
            oprot.writeString(_iter237.getKey());
69835
            oprot.writeDouble(_iter241.getValue());
69995
            oprot.writeDouble(_iter237.getValue());
69836
          }
69996
          }
69837
          oprot.writeMapEnd();
69997
          oprot.writeMapEnd();
69838
        }
69998
        }
69839
        oprot.writeFieldEnd();
69999
        oprot.writeFieldEnd();
69840
      }
70000
      }
Line 70234... Line 70394...
70234
        }
70394
        }
70235
        switch (field.id) {
70395
        switch (field.id) {
70236
          case 0: // SUCCESS
70396
          case 0: // SUCCESS
70237
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
70397
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
70238
              {
70398
              {
70239
                org.apache.thrift.protocol.TMap _map242 = iprot.readMapBegin();
70399
                org.apache.thrift.protocol.TMap _map238 = iprot.readMapBegin();
70240
                this.success = new HashMap<String,String>(2*_map242.size);
70400
                this.success = new HashMap<String,String>(2*_map238.size);
70241
                for (int _i243 = 0; _i243 < _map242.size; ++_i243)
70401
                for (int _i239 = 0; _i239 < _map238.size; ++_i239)
70242
                {
70402
                {
70243
                  String _key244; // required
70403
                  String _key240; // required
70244
                  String _val245; // required
70404
                  String _val241; // required
70245
                  _key244 = iprot.readString();
70405
                  _key240 = iprot.readString();
70246
                  _val245 = iprot.readString();
70406
                  _val241 = iprot.readString();
70247
                  this.success.put(_key244, _val245);
70407
                  this.success.put(_key240, _val241);
70248
                }
70408
                }
70249
                iprot.readMapEnd();
70409
                iprot.readMapEnd();
70250
              }
70410
              }
70251
            } else { 
70411
            } else { 
70252
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
70412
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 70274... Line 70434...
70274
 
70434
 
70275
      if (this.isSetSuccess()) {
70435
      if (this.isSetSuccess()) {
70276
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70436
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70277
        {
70437
        {
70278
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
70438
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
70279
          for (Map.Entry<String, String> _iter246 : this.success.entrySet())
70439
          for (Map.Entry<String, String> _iter242 : this.success.entrySet())
70280
          {
70440
          {
70281
            oprot.writeString(_iter246.getKey());
70441
            oprot.writeString(_iter242.getKey());
70282
            oprot.writeString(_iter246.getValue());
70442
            oprot.writeString(_iter242.getValue());
70283
          }
70443
          }
70284
          oprot.writeMapEnd();
70444
          oprot.writeMapEnd();
70285
        }
70445
        }
70286
        oprot.writeFieldEnd();
70446
        oprot.writeFieldEnd();
70287
      } else if (this.isSetEx()) {
70447
      } else if (this.isSetEx()) {
Line 70893... Line 71053...
70893
        }
71053
        }
70894
        switch (field.id) {
71054
        switch (field.id) {
70895
          case 0: // SUCCESS
71055
          case 0: // SUCCESS
70896
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71056
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
70897
              {
71057
              {
70898
                org.apache.thrift.protocol.TList _list247 = iprot.readListBegin();
71058
                org.apache.thrift.protocol.TList _list243 = iprot.readListBegin();
70899
                this.success = new ArrayList<Long>(_list247.size);
71059
                this.success = new ArrayList<Long>(_list243.size);
70900
                for (int _i248 = 0; _i248 < _list247.size; ++_i248)
71060
                for (int _i244 = 0; _i244 < _list243.size; ++_i244)
70901
                {
71061
                {
70902
                  long _elem249; // required
71062
                  long _elem245; // required
70903
                  _elem249 = iprot.readI64();
71063
                  _elem245 = iprot.readI64();
70904
                  this.success.add(_elem249);
71064
                  this.success.add(_elem245);
70905
                }
71065
                }
70906
                iprot.readListEnd();
71066
                iprot.readListEnd();
70907
              }
71067
              }
70908
            } else { 
71068
            } else { 
70909
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
71069
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 70923... Line 71083...
70923
 
71083
 
70924
      if (this.isSetSuccess()) {
71084
      if (this.isSetSuccess()) {
70925
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71085
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70926
        {
71086
        {
70927
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
71087
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
70928
          for (long _iter250 : this.success)
71088
          for (long _iter246 : this.success)
70929
          {
71089
          {
70930
            oprot.writeI64(_iter250);
71090
            oprot.writeI64(_iter246);
70931
          }
71091
          }
70932
          oprot.writeListEnd();
71092
          oprot.writeListEnd();
70933
        }
71093
        }
70934
        oprot.writeFieldEnd();
71094
        oprot.writeFieldEnd();
70935
      }
71095
      }
Line 72019... Line 72179...
72019
        }
72179
        }
72020
        switch (field.id) {
72180
        switch (field.id) {
72021
          case 0: // SUCCESS
72181
          case 0: // SUCCESS
72022
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
72182
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
72023
              {
72183
              {
72024
                org.apache.thrift.protocol.TMap _map251 = iprot.readMapBegin();
72184
                org.apache.thrift.protocol.TMap _map247 = iprot.readMapBegin();
72025
                this.success = new HashMap<Long,Long>(2*_map251.size);
72185
                this.success = new HashMap<Long,Long>(2*_map247.size);
72026
                for (int _i252 = 0; _i252 < _map251.size; ++_i252)
72186
                for (int _i248 = 0; _i248 < _map247.size; ++_i248)
72027
                {
72187
                {
72028
                  long _key253; // required
72188
                  long _key249; // required
72029
                  long _val254; // required
72189
                  long _val250; // required
72030
                  _key253 = iprot.readI64();
72190
                  _key249 = iprot.readI64();
72031
                  _val254 = iprot.readI64();
72191
                  _val250 = iprot.readI64();
72032
                  this.success.put(_key253, _val254);
72192
                  this.success.put(_key249, _val250);
72033
                }
72193
                }
72034
                iprot.readMapEnd();
72194
                iprot.readMapEnd();
72035
              }
72195
              }
72036
            } else { 
72196
            } else { 
72037
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
72197
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 72051... Line 72211...
72051
 
72211
 
72052
      if (this.isSetSuccess()) {
72212
      if (this.isSetSuccess()) {
72053
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
72213
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
72054
        {
72214
        {
72055
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
72215
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
72056
          for (Map.Entry<Long, Long> _iter255 : this.success.entrySet())
72216
          for (Map.Entry<Long, Long> _iter251 : this.success.entrySet())
72057
          {
72217
          {
72058
            oprot.writeI64(_iter255.getKey());
72218
            oprot.writeI64(_iter251.getKey());
72059
            oprot.writeI64(_iter255.getValue());
72219
            oprot.writeI64(_iter251.getValue());
72060
          }
72220
          }
72061
          oprot.writeMapEnd();
72221
          oprot.writeMapEnd();
72062
        }
72222
        }
72063
        oprot.writeFieldEnd();
72223
        oprot.writeFieldEnd();
72064
      }
72224
      }
Line 72352... Line 72512...
72352
        }
72512
        }
72353
        switch (field.id) {
72513
        switch (field.id) {
72354
          case 1: // ITEM_IDS
72514
          case 1: // ITEM_IDS
72355
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72515
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72356
              {
72516
              {
72357
                org.apache.thrift.protocol.TList _list256 = iprot.readListBegin();
72517
                org.apache.thrift.protocol.TList _list252 = iprot.readListBegin();
72358
                this.itemIds = new ArrayList<Long>(_list256.size);
72518
                this.itemIds = new ArrayList<Long>(_list252.size);
72359
                for (int _i257 = 0; _i257 < _list256.size; ++_i257)
72519
                for (int _i253 = 0; _i253 < _list252.size; ++_i253)
72360
                {
72520
                {
72361
                  long _elem258; // required
72521
                  long _elem254; // required
72362
                  _elem258 = iprot.readI64();
72522
                  _elem254 = iprot.readI64();
72363
                  this.itemIds.add(_elem258);
72523
                  this.itemIds.add(_elem254);
72364
                }
72524
                }
72365
                iprot.readListEnd();
72525
                iprot.readListEnd();
72366
              }
72526
              }
72367
            } else { 
72527
            } else { 
72368
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
72528
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 72383... Line 72543...
72383
      oprot.writeStructBegin(STRUCT_DESC);
72543
      oprot.writeStructBegin(STRUCT_DESC);
72384
      if (this.itemIds != null) {
72544
      if (this.itemIds != null) {
72385
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
72545
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
72386
        {
72546
        {
72387
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
72547
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
72388
          for (long _iter259 : this.itemIds)
72548
          for (long _iter255 : this.itemIds)
72389
          {
72549
          {
72390
            oprot.writeI64(_iter259);
72550
            oprot.writeI64(_iter255);
72391
          }
72551
          }
72392
          oprot.writeListEnd();
72552
          oprot.writeListEnd();
72393
        }
72553
        }
72394
        oprot.writeFieldEnd();
72554
        oprot.writeFieldEnd();
72395
      }
72555
      }
Line 72683... Line 72843...
72683
        }
72843
        }
72684
        switch (field.id) {
72844
        switch (field.id) {
72685
          case 0: // SUCCESS
72845
          case 0: // SUCCESS
72686
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72846
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72687
              {
72847
              {
72688
                org.apache.thrift.protocol.TList _list260 = iprot.readListBegin();
72848
                org.apache.thrift.protocol.TList _list256 = iprot.readListBegin();
72689
                this.success = new ArrayList<Order>(_list260.size);
72849
                this.success = new ArrayList<Order>(_list256.size);
72690
                for (int _i261 = 0; _i261 < _list260.size; ++_i261)
72850
                for (int _i257 = 0; _i257 < _list256.size; ++_i257)
72691
                {
72851
                {
72692
                  Order _elem262; // required
72852
                  Order _elem258; // required
72693
                  _elem262 = new Order();
72853
                  _elem258 = new Order();
72694
                  _elem262.read(iprot);
72854
                  _elem258.read(iprot);
72695
                  this.success.add(_elem262);
72855
                  this.success.add(_elem258);
72696
                }
72856
                }
72697
                iprot.readListEnd();
72857
                iprot.readListEnd();
72698
              }
72858
              }
72699
            } else { 
72859
            } else { 
72700
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
72860
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 72714... Line 72874...
72714
 
72874
 
72715
      if (this.isSetSuccess()) {
72875
      if (this.isSetSuccess()) {
72716
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
72876
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
72717
        {
72877
        {
72718
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
72878
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
72719
          for (Order _iter263 : this.success)
72879
          for (Order _iter259 : this.success)
72720
          {
72880
          {
72721
            _iter263.write(oprot);
72881
            _iter259.write(oprot);
72722
          }
72882
          }
72723
          oprot.writeListEnd();
72883
          oprot.writeListEnd();
72724
        }
72884
        }
72725
        oprot.writeFieldEnd();
72885
        oprot.writeFieldEnd();
72726
      }
72886
      }
Line 80672... Line 80832...
80672
        }
80832
        }
80673
        switch (field.id) {
80833
        switch (field.id) {
80674
          case 0: // SUCCESS
80834
          case 0: // SUCCESS
80675
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
80835
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
80676
              {
80836
              {
80677
                org.apache.thrift.protocol.TMap _map264 = iprot.readMapBegin();
80837
                org.apache.thrift.protocol.TMap _map260 = iprot.readMapBegin();
80678
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map264.size);
80838
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map260.size);
80679
                for (int _i265 = 0; _i265 < _map264.size; ++_i265)
80839
                for (int _i261 = 0; _i261 < _map260.size; ++_i261)
80680
                {
80840
                {
80681
                  int _key266; // required
80841
                  int _key262; // required
80682
                  TimeoutSummary _val267; // required
80842
                  TimeoutSummary _val263; // required
80683
                  _key266 = iprot.readI32();
80843
                  _key262 = iprot.readI32();
80684
                  _val267 = new TimeoutSummary();
80844
                  _val263 = new TimeoutSummary();
80685
                  _val267.read(iprot);
80845
                  _val263.read(iprot);
80686
                  this.success.put(_key266, _val267);
80846
                  this.success.put(_key262, _val263);
80687
                }
80847
                }
80688
                iprot.readMapEnd();
80848
                iprot.readMapEnd();
80689
              }
80849
              }
80690
            } else { 
80850
            } else { 
80691
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
80851
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 80713... Line 80873...
80713
 
80873
 
80714
      if (this.isSetSuccess()) {
80874
      if (this.isSetSuccess()) {
80715
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
80875
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
80716
        {
80876
        {
80717
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
80877
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
80718
          for (Map.Entry<Integer, TimeoutSummary> _iter268 : this.success.entrySet())
80878
          for (Map.Entry<Integer, TimeoutSummary> _iter264 : this.success.entrySet())
80719
          {
80879
          {
80720
            oprot.writeI32(_iter268.getKey());
80880
            oprot.writeI32(_iter264.getKey());
80721
            _iter268.getValue().write(oprot);
80881
            _iter264.getValue().write(oprot);
80722
          }
80882
          }
80723
          oprot.writeMapEnd();
80883
          oprot.writeMapEnd();
80724
        }
80884
        }
80725
        oprot.writeFieldEnd();
80885
        oprot.writeFieldEnd();
80726
      } else if (this.isSetEx()) {
80886
      } else if (this.isSetEx()) {
Line 82456... Line 82616...
82456
            }
82616
            }
82457
            break;
82617
            break;
82458
          case 2: // ORDER_STATUS_LIST
82618
          case 2: // ORDER_STATUS_LIST
82459
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
82619
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
82460
              {
82620
              {
82461
                org.apache.thrift.protocol.TList _list269 = iprot.readListBegin();
82621
                org.apache.thrift.protocol.TList _list265 = iprot.readListBegin();
82462
                this.order_status_list = new ArrayList<OrderStatus>(_list269.size);
82622
                this.order_status_list = new ArrayList<OrderStatus>(_list265.size);
82463
                for (int _i270 = 0; _i270 < _list269.size; ++_i270)
82623
                for (int _i266 = 0; _i266 < _list265.size; ++_i266)
82464
                {
82624
                {
82465
                  OrderStatus _elem271; // required
82625
                  OrderStatus _elem267; // required
82466
                  _elem271 = OrderStatus.findByValue(iprot.readI32());
82626
                  _elem267 = OrderStatus.findByValue(iprot.readI32());
82467
                  this.order_status_list.add(_elem271);
82627
                  this.order_status_list.add(_elem267);
82468
                }
82628
                }
82469
                iprot.readListEnd();
82629
                iprot.readListEnd();
82470
              }
82630
              }
82471
            } else { 
82631
            } else { 
82472
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
82632
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 82490... Line 82650...
82490
      oprot.writeFieldEnd();
82650
      oprot.writeFieldEnd();
82491
      if (this.order_status_list != null) {
82651
      if (this.order_status_list != null) {
82492
        oprot.writeFieldBegin(ORDER_STATUS_LIST_FIELD_DESC);
82652
        oprot.writeFieldBegin(ORDER_STATUS_LIST_FIELD_DESC);
82493
        {
82653
        {
82494
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.order_status_list.size()));
82654
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.order_status_list.size()));
82495
          for (OrderStatus _iter272 : this.order_status_list)
82655
          for (OrderStatus _iter268 : this.order_status_list)
82496
          {
82656
          {
82497
            oprot.writeI32(_iter272.getValue());
82657
            oprot.writeI32(_iter268.getValue());
82498
          }
82658
          }
82499
          oprot.writeListEnd();
82659
          oprot.writeListEnd();
82500
        }
82660
        }
82501
        oprot.writeFieldEnd();
82661
        oprot.writeFieldEnd();
82502
      }
82662
      }
Line 82864... Line 83024...
82864
        }
83024
        }
82865
        switch (field.id) {
83025
        switch (field.id) {
82866
          case 0: // SUCCESS
83026
          case 0: // SUCCESS
82867
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
83027
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
82868
              {
83028
              {
82869
                org.apache.thrift.protocol.TList _list273 = iprot.readListBegin();
83029
                org.apache.thrift.protocol.TList _list269 = iprot.readListBegin();
82870
                this.success = new ArrayList<Order>(_list273.size);
83030
                this.success = new ArrayList<Order>(_list269.size);
82871
                for (int _i274 = 0; _i274 < _list273.size; ++_i274)
83031
                for (int _i270 = 0; _i270 < _list269.size; ++_i270)
82872
                {
83032
                {
82873
                  Order _elem275; // required
83033
                  Order _elem271; // required
82874
                  _elem275 = new Order();
83034
                  _elem271 = new Order();
82875
                  _elem275.read(iprot);
83035
                  _elem271.read(iprot);
82876
                  this.success.add(_elem275);
83036
                  this.success.add(_elem271);
82877
                }
83037
                }
82878
                iprot.readListEnd();
83038
                iprot.readListEnd();
82879
              }
83039
              }
82880
            } else { 
83040
            } else { 
82881
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
83041
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 82903... Line 83063...
82903
 
83063
 
82904
      if (this.isSetSuccess()) {
83064
      if (this.isSetSuccess()) {
82905
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
83065
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
82906
        {
83066
        {
82907
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
83067
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
82908
          for (Order _iter276 : this.success)
83068
          for (Order _iter272 : this.success)
82909
          {
83069
          {
82910
            _iter276.write(oprot);
83070
            _iter272.write(oprot);
82911
          }
83071
          }
82912
          oprot.writeListEnd();
83072
          oprot.writeListEnd();
82913
        }
83073
        }
82914
        oprot.writeFieldEnd();
83074
        oprot.writeFieldEnd();
82915
      } else if (this.isSetEx()) {
83075
      } else if (this.isSetEx()) {
Line 83743... Line 83903...
83743
        }
83903
        }
83744
        switch (field.id) {
83904
        switch (field.id) {
83745
          case 0: // SUCCESS
83905
          case 0: // SUCCESS
83746
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
83906
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
83747
              {
83907
              {
83748
                org.apache.thrift.protocol.TList _list277 = iprot.readListBegin();
83908
                org.apache.thrift.protocol.TList _list273 = iprot.readListBegin();
83749
                this.success = new ArrayList<Order>(_list277.size);
83909
                this.success = new ArrayList<Order>(_list273.size);
83750
                for (int _i278 = 0; _i278 < _list277.size; ++_i278)
83910
                for (int _i274 = 0; _i274 < _list273.size; ++_i274)
83751
                {
83911
                {
83752
                  Order _elem279; // required
83912
                  Order _elem275; // required
83753
                  _elem279 = new Order();
83913
                  _elem275 = new Order();
83754
                  _elem279.read(iprot);
83914
                  _elem275.read(iprot);
83755
                  this.success.add(_elem279);
83915
                  this.success.add(_elem275);
83756
                }
83916
                }
83757
                iprot.readListEnd();
83917
                iprot.readListEnd();
83758
              }
83918
              }
83759
            } else { 
83919
            } else { 
83760
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
83920
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 83782... Line 83942...
83782
 
83942
 
83783
      if (this.isSetSuccess()) {
83943
      if (this.isSetSuccess()) {
83784
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
83944
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
83785
        {
83945
        {
83786
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
83946
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
83787
          for (Order _iter280 : this.success)
83947
          for (Order _iter276 : this.success)
83788
          {
83948
          {
83789
            _iter280.write(oprot);
83949
            _iter276.write(oprot);
83790
          }
83950
          }
83791
          oprot.writeListEnd();
83951
          oprot.writeListEnd();
83792
        }
83952
        }
83793
        oprot.writeFieldEnd();
83953
        oprot.writeFieldEnd();
83794
      } else if (this.isSetEx()) {
83954
      } else if (this.isSetEx()) {
Line 84362... Line 84522...
84362
        }
84522
        }
84363
        switch (field.id) {
84523
        switch (field.id) {
84364
          case 0: // SUCCESS
84524
          case 0: // SUCCESS
84365
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
84525
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
84366
              {
84526
              {
84367
                org.apache.thrift.protocol.TList _list281 = iprot.readListBegin();
84527
                org.apache.thrift.protocol.TList _list277 = iprot.readListBegin();
84368
                this.success = new ArrayList<Order>(_list281.size);
84528
                this.success = new ArrayList<Order>(_list277.size);
84369
                for (int _i282 = 0; _i282 < _list281.size; ++_i282)
84529
                for (int _i278 = 0; _i278 < _list277.size; ++_i278)
84370
                {
84530
                {
84371
                  Order _elem283; // required
84531
                  Order _elem279; // required
84372
                  _elem283 = new Order();
84532
                  _elem279 = new Order();
84373
                  _elem283.read(iprot);
84533
                  _elem279.read(iprot);
84374
                  this.success.add(_elem283);
84534
                  this.success.add(_elem279);
84375
                }
84535
                }
84376
                iprot.readListEnd();
84536
                iprot.readListEnd();
84377
              }
84537
              }
84378
            } else { 
84538
            } else { 
84379
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
84539
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 84401... Line 84561...
84401
 
84561
 
84402
      if (this.isSetSuccess()) {
84562
      if (this.isSetSuccess()) {
84403
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
84563
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
84404
        {
84564
        {
84405
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
84565
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
84406
          for (Order _iter284 : this.success)
84566
          for (Order _iter280 : this.success)
84407
          {
84567
          {
84408
            _iter284.write(oprot);
84568
            _iter280.write(oprot);
84409
          }
84569
          }
84410
          oprot.writeListEnd();
84570
          oprot.writeListEnd();
84411
        }
84571
        }
84412
        oprot.writeFieldEnd();
84572
        oprot.writeFieldEnd();
84413
      } else if (this.isSetEx()) {
84573
      } else if (this.isSetEx()) {
Line 85158... Line 85318...
85158
        }
85318
        }
85159
        switch (field.id) {
85319
        switch (field.id) {
85160
          case 0: // SUCCESS
85320
          case 0: // SUCCESS
85161
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
85321
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
85162
              {
85322
              {
85163
                org.apache.thrift.protocol.TList _list285 = iprot.readListBegin();
85323
                org.apache.thrift.protocol.TList _list281 = iprot.readListBegin();
85164
                this.success = new ArrayList<Order>(_list285.size);
85324
                this.success = new ArrayList<Order>(_list281.size);
85165
                for (int _i286 = 0; _i286 < _list285.size; ++_i286)
85325
                for (int _i282 = 0; _i282 < _list281.size; ++_i282)
85166
                {
85326
                {
85167
                  Order _elem287; // required
85327
                  Order _elem283; // required
85168
                  _elem287 = new Order();
85328
                  _elem283 = new Order();
85169
                  _elem287.read(iprot);
85329
                  _elem283.read(iprot);
85170
                  this.success.add(_elem287);
85330
                  this.success.add(_elem283);
85171
                }
85331
                }
85172
                iprot.readListEnd();
85332
                iprot.readListEnd();
85173
              }
85333
              }
85174
            } else { 
85334
            } else { 
85175
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
85335
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 85197... Line 85357...
85197
 
85357
 
85198
      if (this.isSetSuccess()) {
85358
      if (this.isSetSuccess()) {
85199
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
85359
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
85200
        {
85360
        {
85201
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
85361
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
85202
          for (Order _iter288 : this.success)
85362
          for (Order _iter284 : this.success)
85203
          {
85363
          {
85204
            _iter288.write(oprot);
85364
            _iter284.write(oprot);
85205
          }
85365
          }
85206
          oprot.writeListEnd();
85366
          oprot.writeListEnd();
85207
        }
85367
        }
85208
        oprot.writeFieldEnd();
85368
        oprot.writeFieldEnd();
85209
      } else if (this.isSetEx()) {
85369
      } else if (this.isSetEx()) {
Line 85514... Line 85674...
85514
        }
85674
        }
85515
        switch (field.id) {
85675
        switch (field.id) {
85516
          case 1: // MAP_AWBAND_AMOUNT
85676
          case 1: // MAP_AWBAND_AMOUNT
85517
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
85677
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
85518
              {
85678
              {
85519
                org.apache.thrift.protocol.TMap _map289 = iprot.readMapBegin();
85679
                org.apache.thrift.protocol.TMap _map285 = iprot.readMapBegin();
85520
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map289.size);
85680
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map285.size);
85521
                for (int _i290 = 0; _i290 < _map289.size; ++_i290)
85681
                for (int _i286 = 0; _i286 < _map285.size; ++_i286)
85522
                {
85682
                {
85523
                  long _key291; // required
85683
                  long _key287; // required
85524
                  double _val292; // required
85684
                  double _val288; // required
85525
                  _key291 = iprot.readI64();
85685
                  _key287 = iprot.readI64();
85526
                  _val292 = iprot.readDouble();
85686
                  _val288 = iprot.readDouble();
85527
                  this.mapAWBAndAmount.put(_key291, _val292);
85687
                  this.mapAWBAndAmount.put(_key287, _val288);
85528
                }
85688
                }
85529
                iprot.readMapEnd();
85689
                iprot.readMapEnd();
85530
              }
85690
              }
85531
            } else { 
85691
            } else { 
85532
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
85692
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 85547... Line 85707...
85547
      oprot.writeStructBegin(STRUCT_DESC);
85707
      oprot.writeStructBegin(STRUCT_DESC);
85548
      if (this.mapAWBAndAmount != null) {
85708
      if (this.mapAWBAndAmount != null) {
85549
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
85709
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
85550
        {
85710
        {
85551
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
85711
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
85552
          for (Map.Entry<Long, Double> _iter293 : this.mapAWBAndAmount.entrySet())
85712
          for (Map.Entry<Long, Double> _iter289 : this.mapAWBAndAmount.entrySet())
85553
          {
85713
          {
85554
            oprot.writeI64(_iter293.getKey());
85714
            oprot.writeI64(_iter289.getKey());
85555
            oprot.writeDouble(_iter293.getValue());
85715
            oprot.writeDouble(_iter289.getValue());
85556
          }
85716
          }
85557
          oprot.writeMapEnd();
85717
          oprot.writeMapEnd();
85558
        }
85718
        }
85559
        oprot.writeFieldEnd();
85719
        oprot.writeFieldEnd();
85560
      }
85720
      }
Line 89856... Line 90016...
89856
        }
90016
        }
89857
        switch (field.id) {
90017
        switch (field.id) {
89858
          case 0: // SUCCESS
90018
          case 0: // SUCCESS
89859
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
90019
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
89860
              {
90020
              {
89861
                org.apache.thrift.protocol.TMap _map294 = iprot.readMapBegin();
90021
                org.apache.thrift.protocol.TMap _map290 = iprot.readMapBegin();
89862
                this.success = new HashMap<Long,String>(2*_map294.size);
90022
                this.success = new HashMap<Long,String>(2*_map290.size);
89863
                for (int _i295 = 0; _i295 < _map294.size; ++_i295)
90023
                for (int _i291 = 0; _i291 < _map290.size; ++_i291)
89864
                {
90024
                {
89865
                  long _key296; // required
90025
                  long _key292; // required
89866
                  String _val297; // required
90026
                  String _val293; // required
89867
                  _key296 = iprot.readI64();
90027
                  _key292 = iprot.readI64();
89868
                  _val297 = iprot.readString();
90028
                  _val293 = iprot.readString();
89869
                  this.success.put(_key296, _val297);
90029
                  this.success.put(_key292, _val293);
89870
                }
90030
                }
89871
                iprot.readMapEnd();
90031
                iprot.readMapEnd();
89872
              }
90032
              }
89873
            } else { 
90033
            } else { 
89874
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
90034
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 89896... Line 90056...
89896
 
90056
 
89897
      if (this.isSetSuccess()) {
90057
      if (this.isSetSuccess()) {
89898
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
90058
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
89899
        {
90059
        {
89900
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
90060
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
89901
          for (Map.Entry<Long, String> _iter298 : this.success.entrySet())
90061
          for (Map.Entry<Long, String> _iter294 : this.success.entrySet())
89902
          {
90062
          {
89903
            oprot.writeI64(_iter298.getKey());
90063
            oprot.writeI64(_iter294.getKey());
89904
            oprot.writeString(_iter298.getValue());
90064
            oprot.writeString(_iter294.getValue());
89905
          }
90065
          }
89906
          oprot.writeMapEnd();
90066
          oprot.writeMapEnd();
89907
        }
90067
        }
89908
        oprot.writeFieldEnd();
90068
        oprot.writeFieldEnd();
89909
      } else if (this.isSetEx()) {
90069
      } else if (this.isSetEx()) {
Line 92000... Line 92160...
92000
        }
92160
        }
92001
        switch (field.id) {
92161
        switch (field.id) {
92002
          case 0: // SUCCESS
92162
          case 0: // SUCCESS
92003
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
92163
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
92004
              {
92164
              {
92005
                org.apache.thrift.protocol.TList _list299 = iprot.readListBegin();
92165
                org.apache.thrift.protocol.TList _list295 = iprot.readListBegin();
92006
                this.success = new ArrayList<PaymentSettlement>(_list299.size);
92166
                this.success = new ArrayList<PaymentSettlement>(_list295.size);
92007
                for (int _i300 = 0; _i300 < _list299.size; ++_i300)
92167
                for (int _i296 = 0; _i296 < _list295.size; ++_i296)
92008
                {
92168
                {
92009
                  PaymentSettlement _elem301; // required
92169
                  PaymentSettlement _elem297; // required
92010
                  _elem301 = new PaymentSettlement();
92170
                  _elem297 = new PaymentSettlement();
92011
                  _elem301.read(iprot);
92171
                  _elem297.read(iprot);
92012
                  this.success.add(_elem301);
92172
                  this.success.add(_elem297);
92013
                }
92173
                }
92014
                iprot.readListEnd();
92174
                iprot.readListEnd();
92015
              }
92175
              }
92016
            } else { 
92176
            } else { 
92017
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
92177
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 92039... Line 92199...
92039
 
92199
 
92040
      if (this.isSetSuccess()) {
92200
      if (this.isSetSuccess()) {
92041
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
92201
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
92042
        {
92202
        {
92043
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
92203
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
92044
          for (PaymentSettlement _iter302 : this.success)
92204
          for (PaymentSettlement _iter298 : this.success)
92045
          {
92205
          {
92046
            _iter302.write(oprot);
92206
            _iter298.write(oprot);
92047
          }
92207
          }
92048
          oprot.writeListEnd();
92208
          oprot.writeListEnd();
92049
        }
92209
        }
92050
        oprot.writeFieldEnd();
92210
        oprot.writeFieldEnd();
92051
      } else if (this.isSetEx()) {
92211
      } else if (this.isSetEx()) {
Line 92351... Line 92511...
92351
        }
92511
        }
92352
        switch (field.id) {
92512
        switch (field.id) {
92353
          case 1: // ORDER_IDS
92513
          case 1: // ORDER_IDS
92354
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
92514
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
92355
              {
92515
              {
92356
                org.apache.thrift.protocol.TList _list303 = iprot.readListBegin();
92516
                org.apache.thrift.protocol.TList _list299 = iprot.readListBegin();
92357
                this.orderIds = new ArrayList<Long>(_list303.size);
92517
                this.orderIds = new ArrayList<Long>(_list299.size);
92358
                for (int _i304 = 0; _i304 < _list303.size; ++_i304)
92518
                for (int _i300 = 0; _i300 < _list299.size; ++_i300)
92359
                {
92519
                {
92360
                  long _elem305; // required
92520
                  long _elem301; // required
92361
                  _elem305 = iprot.readI64();
92521
                  _elem301 = iprot.readI64();
92362
                  this.orderIds.add(_elem305);
92522
                  this.orderIds.add(_elem301);
92363
                }
92523
                }
92364
                iprot.readListEnd();
92524
                iprot.readListEnd();
92365
              }
92525
              }
92366
            } else { 
92526
            } else { 
92367
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
92527
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 92382... Line 92542...
92382
      oprot.writeStructBegin(STRUCT_DESC);
92542
      oprot.writeStructBegin(STRUCT_DESC);
92383
      if (this.orderIds != null) {
92543
      if (this.orderIds != null) {
92384
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
92544
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
92385
        {
92545
        {
92386
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
92546
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
92387
          for (long _iter306 : this.orderIds)
92547
          for (long _iter302 : this.orderIds)
92388
          {
92548
          {
92389
            oprot.writeI64(_iter306);
92549
            oprot.writeI64(_iter302);
92390
          }
92550
          }
92391
          oprot.writeListEnd();
92551
          oprot.writeListEnd();
92392
        }
92552
        }
92393
        oprot.writeFieldEnd();
92553
        oprot.writeFieldEnd();
92394
      }
92554
      }
Line 92750... Line 92910...
92750
        }
92910
        }
92751
        switch (field.id) {
92911
        switch (field.id) {
92752
          case 0: // SUCCESS
92912
          case 0: // SUCCESS
92753
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
92913
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
92754
              {
92914
              {
92755
                org.apache.thrift.protocol.TList _list307 = iprot.readListBegin();
92915
                org.apache.thrift.protocol.TList _list303 = iprot.readListBegin();
92756
                this.success = new ArrayList<Long>(_list307.size);
92916
                this.success = new ArrayList<Long>(_list303.size);
92757
                for (int _i308 = 0; _i308 < _list307.size; ++_i308)
92917
                for (int _i304 = 0; _i304 < _list303.size; ++_i304)
92758
                {
92918
                {
92759
                  long _elem309; // required
92919
                  long _elem305; // required
92760
                  _elem309 = iprot.readI64();
92920
                  _elem305 = iprot.readI64();
92761
                  this.success.add(_elem309);
92921
                  this.success.add(_elem305);
92762
                }
92922
                }
92763
                iprot.readListEnd();
92923
                iprot.readListEnd();
92764
              }
92924
              }
92765
            } else { 
92925
            } else { 
92766
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
92926
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 92788... Line 92948...
92788
 
92948
 
92789
      if (this.isSetSuccess()) {
92949
      if (this.isSetSuccess()) {
92790
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
92950
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
92791
        {
92951
        {
92792
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
92952
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
92793
          for (long _iter310 : this.success)
92953
          for (long _iter306 : this.success)
92794
          {
92954
          {
92795
            oprot.writeI64(_iter310);
92955
            oprot.writeI64(_iter306);
92796
          }
92956
          }
92797
          oprot.writeListEnd();
92957
          oprot.writeListEnd();
92798
        }
92958
        }
92799
        oprot.writeFieldEnd();
92959
        oprot.writeFieldEnd();
92800
      } else if (this.isSetEx()) {
92960
      } else if (this.isSetEx()) {
Line 93711... Line 93871...
93711
        }
93871
        }
93712
        switch (field.id) {
93872
        switch (field.id) {
93713
          case 0: // SUCCESS
93873
          case 0: // SUCCESS
93714
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
93874
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
93715
              {
93875
              {
93716
                org.apache.thrift.protocol.TList _list311 = iprot.readListBegin();
93876
                org.apache.thrift.protocol.TList _list307 = iprot.readListBegin();
93717
                this.success = new ArrayList<Order>(_list311.size);
93877
                this.success = new ArrayList<Order>(_list307.size);
93718
                for (int _i312 = 0; _i312 < _list311.size; ++_i312)
93878
                for (int _i308 = 0; _i308 < _list307.size; ++_i308)
93719
                {
93879
                {
93720
                  Order _elem313; // required
93880
                  Order _elem309; // required
93721
                  _elem313 = new Order();
93881
                  _elem309 = new Order();
93722
                  _elem313.read(iprot);
93882
                  _elem309.read(iprot);
93723
                  this.success.add(_elem313);
93883
                  this.success.add(_elem309);
93724
                }
93884
                }
93725
                iprot.readListEnd();
93885
                iprot.readListEnd();
93726
              }
93886
              }
93727
            } else { 
93887
            } else { 
93728
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
93888
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 93750... Line 93910...
93750
 
93910
 
93751
      if (this.isSetSuccess()) {
93911
      if (this.isSetSuccess()) {
93752
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
93912
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
93753
        {
93913
        {
93754
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
93914
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
93755
          for (Order _iter314 : this.success)
93915
          for (Order _iter310 : this.success)
93756
          {
93916
          {
93757
            _iter314.write(oprot);
93917
            _iter310.write(oprot);
93758
          }
93918
          }
93759
          oprot.writeListEnd();
93919
          oprot.writeListEnd();
93760
        }
93920
        }
93761
        oprot.writeFieldEnd();
93921
        oprot.writeFieldEnd();
93762
      } else if (this.isSetEx()) {
93922
      } else if (this.isSetEx()) {
Line 94512... Line 94672...
94512
        }
94672
        }
94513
        switch (field.id) {
94673
        switch (field.id) {
94514
          case 0: // SUCCESS
94674
          case 0: // SUCCESS
94515
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
94675
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
94516
              {
94676
              {
94517
                org.apache.thrift.protocol.TMap _map315 = iprot.readMapBegin();
94677
                org.apache.thrift.protocol.TMap _map311 = iprot.readMapBegin();
94518
                this.success = new HashMap<Long,Long>(2*_map315.size);
94678
                this.success = new HashMap<Long,Long>(2*_map311.size);
94519
                for (int _i316 = 0; _i316 < _map315.size; ++_i316)
94679
                for (int _i312 = 0; _i312 < _map311.size; ++_i312)
94520
                {
94680
                {
94521
                  long _key317; // required
94681
                  long _key313; // required
94522
                  long _val318; // required
94682
                  long _val314; // required
94523
                  _key317 = iprot.readI64();
94683
                  _key313 = iprot.readI64();
94524
                  _val318 = iprot.readI64();
94684
                  _val314 = iprot.readI64();
94525
                  this.success.put(_key317, _val318);
94685
                  this.success.put(_key313, _val314);
94526
                }
94686
                }
94527
                iprot.readMapEnd();
94687
                iprot.readMapEnd();
94528
              }
94688
              }
94529
            } else { 
94689
            } else { 
94530
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
94690
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 94552... Line 94712...
94552
 
94712
 
94553
      if (this.isSetSuccess()) {
94713
      if (this.isSetSuccess()) {
94554
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
94714
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
94555
        {
94715
        {
94556
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
94716
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
94557
          for (Map.Entry<Long, Long> _iter319 : this.success.entrySet())
94717
          for (Map.Entry<Long, Long> _iter315 : this.success.entrySet())
94558
          {
94718
          {
94559
            oprot.writeI64(_iter319.getKey());
94719
            oprot.writeI64(_iter315.getKey());
94560
            oprot.writeI64(_iter319.getValue());
94720
            oprot.writeI64(_iter315.getValue());
94561
          }
94721
          }
94562
          oprot.writeMapEnd();
94722
          oprot.writeMapEnd();
94563
        }
94723
        }
94564
        oprot.writeFieldEnd();
94724
        oprot.writeFieldEnd();
94565
      } else if (this.isSetEx()) {
94725
      } else if (this.isSetEx()) {
Line 95393... Line 95553...
95393
        }
95553
        }
95394
        switch (field.id) {
95554
        switch (field.id) {
95395
          case 0: // SUCCESS
95555
          case 0: // SUCCESS
95396
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
95556
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
95397
              {
95557
              {
95398
                org.apache.thrift.protocol.TList _list320 = iprot.readListBegin();
95558
                org.apache.thrift.protocol.TList _list316 = iprot.readListBegin();
95399
                this.success = new ArrayList<Long>(_list320.size);
95559
                this.success = new ArrayList<Long>(_list316.size);
95400
                for (int _i321 = 0; _i321 < _list320.size; ++_i321)
95560
                for (int _i317 = 0; _i317 < _list316.size; ++_i317)
95401
                {
95561
                {
95402
                  long _elem322; // required
95562
                  long _elem318; // required
95403
                  _elem322 = iprot.readI64();
95563
                  _elem318 = iprot.readI64();
95404
                  this.success.add(_elem322);
95564
                  this.success.add(_elem318);
95405
                }
95565
                }
95406
                iprot.readListEnd();
95566
                iprot.readListEnd();
95407
              }
95567
              }
95408
            } else { 
95568
            } else { 
95409
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
95569
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 95431... Line 95591...
95431
 
95591
 
95432
      if (this.isSetSuccess()) {
95592
      if (this.isSetSuccess()) {
95433
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
95593
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
95434
        {
95594
        {
95435
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
95595
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
95436
          for (long _iter323 : this.success)
95596
          for (long _iter319 : this.success)
95437
          {
95597
          {
95438
            oprot.writeI64(_iter323);
95598
            oprot.writeI64(_iter319);
95439
          }
95599
          }
95440
          oprot.writeListEnd();
95600
          oprot.writeListEnd();
95441
        }
95601
        }
95442
        oprot.writeFieldEnd();
95602
        oprot.writeFieldEnd();
95443
      } else if (this.isSetEx()) {
95603
      } else if (this.isSetEx()) {
Line 97863... Line 98023...
97863
        }
98023
        }
97864
        switch (field.id) {
98024
        switch (field.id) {
97865
          case 0: // SUCCESS
98025
          case 0: // SUCCESS
97866
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
98026
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
97867
              {
98027
              {
97868
                org.apache.thrift.protocol.TList _list324 = iprot.readListBegin();
98028
                org.apache.thrift.protocol.TList _list320 = iprot.readListBegin();
97869
                this.success = new ArrayList<Order>(_list324.size);
98029
                this.success = new ArrayList<Order>(_list320.size);
97870
                for (int _i325 = 0; _i325 < _list324.size; ++_i325)
98030
                for (int _i321 = 0; _i321 < _list320.size; ++_i321)
97871
                {
98031
                {
97872
                  Order _elem326; // required
98032
                  Order _elem322; // required
97873
                  _elem326 = new Order();
98033
                  _elem322 = new Order();
97874
                  _elem326.read(iprot);
98034
                  _elem322.read(iprot);
97875
                  this.success.add(_elem326);
98035
                  this.success.add(_elem322);
97876
                }
98036
                }
97877
                iprot.readListEnd();
98037
                iprot.readListEnd();
97878
              }
98038
              }
97879
            } else { 
98039
            } else { 
97880
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
98040
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 97902... Line 98062...
97902
 
98062
 
97903
      if (this.isSetSuccess()) {
98063
      if (this.isSetSuccess()) {
97904
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
98064
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
97905
        {
98065
        {
97906
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
98066
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
97907
          for (Order _iter327 : this.success)
98067
          for (Order _iter323 : this.success)
97908
          {
98068
          {
97909
            _iter327.write(oprot);
98069
            _iter323.write(oprot);
97910
          }
98070
          }
97911
          oprot.writeListEnd();
98071
          oprot.writeListEnd();
97912
        }
98072
        }
97913
        oprot.writeFieldEnd();
98073
        oprot.writeFieldEnd();
97914
      } else if (this.isSetEx()) {
98074
      } else if (this.isSetEx()) {
Line 98591... Line 98751...
98591
        }
98751
        }
98592
        switch (field.id) {
98752
        switch (field.id) {
98593
          case 0: // SUCCESS
98753
          case 0: // SUCCESS
98594
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
98754
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
98595
              {
98755
              {
98596
                org.apache.thrift.protocol.TList _list328 = iprot.readListBegin();
98756
                org.apache.thrift.protocol.TList _list324 = iprot.readListBegin();
98597
                this.success = new ArrayList<CODVerificationAgent>(_list328.size);
98757
                this.success = new ArrayList<CODVerificationAgent>(_list324.size);
98598
                for (int _i329 = 0; _i329 < _list328.size; ++_i329)
98758
                for (int _i325 = 0; _i325 < _list324.size; ++_i325)
98599
                {
98759
                {
98600
                  CODVerificationAgent _elem330; // required
98760
                  CODVerificationAgent _elem326; // required
98601
                  _elem330 = new CODVerificationAgent();
98761
                  _elem326 = new CODVerificationAgent();
98602
                  _elem330.read(iprot);
98762
                  _elem326.read(iprot);
98603
                  this.success.add(_elem330);
98763
                  this.success.add(_elem326);
98604
                }
98764
                }
98605
                iprot.readListEnd();
98765
                iprot.readListEnd();
98606
              }
98766
              }
98607
            } else { 
98767
            } else { 
98608
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
98768
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 98622... Line 98782...
98622
 
98782
 
98623
      if (this.isSetSuccess()) {
98783
      if (this.isSetSuccess()) {
98624
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
98784
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
98625
        {
98785
        {
98626
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
98786
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
98627
          for (CODVerificationAgent _iter331 : this.success)
98787
          for (CODVerificationAgent _iter327 : this.success)
98628
          {
98788
          {
98629
            _iter331.write(oprot);
98789
            _iter327.write(oprot);
98630
          }
98790
          }
98631
          oprot.writeListEnd();
98791
          oprot.writeListEnd();
98632
        }
98792
        }
98633
        oprot.writeFieldEnd();
98793
        oprot.writeFieldEnd();
98634
      }
98794
      }
Line 99216... Line 99376...
99216
        }
99376
        }
99217
        switch (field.id) {
99377
        switch (field.id) {
99218
          case 0: // SUCCESS
99378
          case 0: // SUCCESS
99219
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
99379
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
99220
              {
99380
              {
99221
                org.apache.thrift.protocol.TList _list332 = iprot.readListBegin();
99381
                org.apache.thrift.protocol.TList _list328 = iprot.readListBegin();
99222
                this.success = new ArrayList<Attribute>(_list332.size);
99382
                this.success = new ArrayList<Attribute>(_list328.size);
99223
                for (int _i333 = 0; _i333 < _list332.size; ++_i333)
99383
                for (int _i329 = 0; _i329 < _list328.size; ++_i329)
99224
                {
99384
                {
99225
                  Attribute _elem334; // required
99385
                  Attribute _elem330; // required
99226
                  _elem334 = new Attribute();
99386
                  _elem330 = new Attribute();
99227
                  _elem334.read(iprot);
99387
                  _elem330.read(iprot);
99228
                  this.success.add(_elem334);
99388
                  this.success.add(_elem330);
99229
                }
99389
                }
99230
                iprot.readListEnd();
99390
                iprot.readListEnd();
99231
              }
99391
              }
99232
            } else { 
99392
            } else { 
99233
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
99393
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 99247... Line 99407...
99247
 
99407
 
99248
      if (this.isSetSuccess()) {
99408
      if (this.isSetSuccess()) {
99249
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
99409
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
99250
        {
99410
        {
99251
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
99411
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
99252
          for (Attribute _iter335 : this.success)
99412
          for (Attribute _iter331 : this.success)
99253
          {
99413
          {
99254
            _iter335.write(oprot);
99414
            _iter331.write(oprot);
99255
          }
99415
          }
99256
          oprot.writeListEnd();
99416
          oprot.writeListEnd();
99257
        }
99417
        }
99258
        oprot.writeFieldEnd();
99418
        oprot.writeFieldEnd();
99259
      }
99419
      }
Line 99626... Line 99786...
99626
            }
99786
            }
99627
            break;
99787
            break;
99628
          case -1: // ATTRIBUTES
99788
          case -1: // ATTRIBUTES
99629
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
99789
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
99630
              {
99790
              {
99631
                org.apache.thrift.protocol.TList _list336 = iprot.readListBegin();
99791
                org.apache.thrift.protocol.TList _list332 = iprot.readListBegin();
99632
                this.attributes = new ArrayList<Attribute>(_list336.size);
99792
                this.attributes = new ArrayList<Attribute>(_list332.size);
99633
                for (int _i337 = 0; _i337 < _list336.size; ++_i337)
99793
                for (int _i333 = 0; _i333 < _list332.size; ++_i333)
99634
                {
99794
                {
99635
                  Attribute _elem338; // required
99795
                  Attribute _elem334; // required
99636
                  _elem338 = new Attribute();
99796
                  _elem334 = new Attribute();
99637
                  _elem338.read(iprot);
99797
                  _elem334.read(iprot);
99638
                  this.attributes.add(_elem338);
99798
                  this.attributes.add(_elem334);
99639
                }
99799
                }
99640
                iprot.readListEnd();
99800
                iprot.readListEnd();
99641
              }
99801
              }
99642
            } else { 
99802
            } else { 
99643
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
99803
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 99658... Line 99818...
99658
      oprot.writeStructBegin(STRUCT_DESC);
99818
      oprot.writeStructBegin(STRUCT_DESC);
99659
      if (this.attributes != null) {
99819
      if (this.attributes != null) {
99660
        oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC);
99820
        oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC);
99661
        {
99821
        {
99662
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.attributes.size()));
99822
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.attributes.size()));
99663
          for (Attribute _iter339 : this.attributes)
99823
          for (Attribute _iter335 : this.attributes)
99664
          {
99824
          {
99665
            _iter339.write(oprot);
99825
            _iter335.write(oprot);
99666
          }
99826
          }
99667
          oprot.writeListEnd();
99827
          oprot.writeListEnd();
99668
        }
99828
        }
99669
        oprot.writeFieldEnd();
99829
        oprot.writeFieldEnd();
99670
      }
99830
      }
Line 101042... Line 101202...
101042
        }
101202
        }
101043
        switch (field.id) {
101203
        switch (field.id) {
101044
          case 0: // SUCCESS
101204
          case 0: // SUCCESS
101045
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
101205
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
101046
              {
101206
              {
101047
                org.apache.thrift.protocol.TList _list340 = iprot.readListBegin();
101207
                org.apache.thrift.protocol.TList _list336 = iprot.readListBegin();
101048
                this.success = new ArrayList<Order>(_list340.size);
101208
                this.success = new ArrayList<Order>(_list336.size);
101049
                for (int _i341 = 0; _i341 < _list340.size; ++_i341)
101209
                for (int _i337 = 0; _i337 < _list336.size; ++_i337)
101050
                {
101210
                {
101051
                  Order _elem342; // required
101211
                  Order _elem338; // required
101052
                  _elem342 = new Order();
101212
                  _elem338 = new Order();
101053
                  _elem342.read(iprot);
101213
                  _elem338.read(iprot);
101054
                  this.success.add(_elem342);
101214
                  this.success.add(_elem338);
101055
                }
101215
                }
101056
                iprot.readListEnd();
101216
                iprot.readListEnd();
101057
              }
101217
              }
101058
            } else { 
101218
            } else { 
101059
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
101219
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 101073... Line 101233...
101073
 
101233
 
101074
      if (this.isSetSuccess()) {
101234
      if (this.isSetSuccess()) {
101075
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
101235
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
101076
        {
101236
        {
101077
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
101237
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
101078
          for (Order _iter343 : this.success)
101238
          for (Order _iter339 : this.success)
101079
          {
101239
          {
101080
            _iter343.write(oprot);
101240
            _iter339.write(oprot);
101081
          }
101241
          }
101082
          oprot.writeListEnd();
101242
          oprot.writeListEnd();
101083
        }
101243
        }
101084
        oprot.writeFieldEnd();
101244
        oprot.writeFieldEnd();
101085
      }
101245
      }
Line 101667... Line 101827...
101667
        }
101827
        }
101668
        switch (field.id) {
101828
        switch (field.id) {
101669
          case 0: // SUCCESS
101829
          case 0: // SUCCESS
101670
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
101830
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
101671
              {
101831
              {
101672
                org.apache.thrift.protocol.TList _list344 = iprot.readListBegin();
101832
                org.apache.thrift.protocol.TList _list340 = iprot.readListBegin();
101673
                this.success = new ArrayList<Order>(_list344.size);
101833
                this.success = new ArrayList<Order>(_list340.size);
101674
                for (int _i345 = 0; _i345 < _list344.size; ++_i345)
101834
                for (int _i341 = 0; _i341 < _list340.size; ++_i341)
101675
                {
101835
                {
101676
                  Order _elem346; // required
101836
                  Order _elem342; // required
101677
                  _elem346 = new Order();
101837
                  _elem342 = new Order();
101678
                  _elem346.read(iprot);
101838
                  _elem342.read(iprot);
101679
                  this.success.add(_elem346);
101839
                  this.success.add(_elem342);
101680
                }
101840
                }
101681
                iprot.readListEnd();
101841
                iprot.readListEnd();
101682
              }
101842
              }
101683
            } else { 
101843
            } else { 
101684
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
101844
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 101698... Line 101858...
101698
 
101858
 
101699
      if (this.isSetSuccess()) {
101859
      if (this.isSetSuccess()) {
101700
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
101860
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
101701
        {
101861
        {
101702
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
101862
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
101703
          for (Order _iter347 : this.success)
101863
          for (Order _iter343 : this.success)
101704
          {
101864
          {
101705
            _iter347.write(oprot);
101865
            _iter343.write(oprot);
101706
          }
101866
          }
101707
          oprot.writeListEnd();
101867
          oprot.writeListEnd();
101708
        }
101868
        }
101709
        oprot.writeFieldEnd();
101869
        oprot.writeFieldEnd();
101710
      }
101870
      }
Line 102541... Line 102701...
102541
        }
102701
        }
102542
        switch (field.id) {
102702
        switch (field.id) {
102543
          case 0: // SUCCESS
102703
          case 0: // SUCCESS
102544
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
102704
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
102545
              {
102705
              {
102546
                org.apache.thrift.protocol.TList _list348 = iprot.readListBegin();
102706
                org.apache.thrift.protocol.TList _list344 = iprot.readListBegin();
102547
                this.success = new ArrayList<Order>(_list348.size);
102707
                this.success = new ArrayList<Order>(_list344.size);
102548
                for (int _i349 = 0; _i349 < _list348.size; ++_i349)
102708
                for (int _i345 = 0; _i345 < _list344.size; ++_i345)
102549
                {
102709
                {
102550
                  Order _elem350; // required
102710
                  Order _elem346; // required
102551
                  _elem350 = new Order();
102711
                  _elem346 = new Order();
102552
                  _elem350.read(iprot);
102712
                  _elem346.read(iprot);
102553
                  this.success.add(_elem350);
102713
                  this.success.add(_elem346);
102554
                }
102714
                }
102555
                iprot.readListEnd();
102715
                iprot.readListEnd();
102556
              }
102716
              }
102557
            } else { 
102717
            } else { 
102558
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
102718
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 102572... Line 102732...
102572
 
102732
 
102573
      if (this.isSetSuccess()) {
102733
      if (this.isSetSuccess()) {
102574
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
102734
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
102575
        {
102735
        {
102576
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
102736
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
102577
          for (Order _iter351 : this.success)
102737
          for (Order _iter347 : this.success)
102578
          {
102738
          {
102579
            _iter351.write(oprot);
102739
            _iter347.write(oprot);
102580
          }
102740
          }
102581
          oprot.writeListEnd();
102741
          oprot.writeListEnd();
102582
        }
102742
        }
102583
        oprot.writeFieldEnd();
102743
        oprot.writeFieldEnd();
102584
      }
102744
      }
Line 105971... Line 106131...
105971
      }
106131
      }
105972
    }
106132
    }
105973
 
106133
 
105974
  }
106134
  }
105975
 
106135
 
-
 
106136
  public static class getRechargeOrder_args implements org.apache.thrift.TBase<getRechargeOrder_args, getRechargeOrder_args._Fields>, java.io.Serializable, Cloneable   {
-
 
106137
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeOrder_args");
-
 
106138
 
-
 
106139
    private static final org.apache.thrift.protocol.TField RECHARGE_RRDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("rechargeRrderId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
106140
 
-
 
106141
    private long rechargeRrderId; // required
-
 
106142
 
-
 
106143
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
106144
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
106145
      RECHARGE_RRDER_ID((short)1, "rechargeRrderId");
-
 
106146
 
-
 
106147
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
106148
 
-
 
106149
      static {
-
 
106150
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
106151
          byName.put(field.getFieldName(), field);
-
 
106152
        }
-
 
106153
      }
-
 
106154
 
-
 
106155
      /**
-
 
106156
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
106157
       */
-
 
106158
      public static _Fields findByThriftId(int fieldId) {
-
 
106159
        switch(fieldId) {
-
 
106160
          case 1: // RECHARGE_RRDER_ID
-
 
106161
            return RECHARGE_RRDER_ID;
-
 
106162
          default:
-
 
106163
            return null;
-
 
106164
        }
-
 
106165
      }
-
 
106166
 
-
 
106167
      /**
-
 
106168
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
106169
       * if it is not found.
-
 
106170
       */
-
 
106171
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
106172
        _Fields fields = findByThriftId(fieldId);
-
 
106173
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
106174
        return fields;
-
 
106175
      }
-
 
106176
 
-
 
106177
      /**
-
 
106178
       * Find the _Fields constant that matches name, or null if its not found.
-
 
106179
       */
-
 
106180
      public static _Fields findByName(String name) {
-
 
106181
        return byName.get(name);
-
 
106182
      }
-
 
106183
 
-
 
106184
      private final short _thriftId;
-
 
106185
      private final String _fieldName;
-
 
106186
 
-
 
106187
      _Fields(short thriftId, String fieldName) {
-
 
106188
        _thriftId = thriftId;
-
 
106189
        _fieldName = fieldName;
-
 
106190
      }
-
 
106191
 
-
 
106192
      public short getThriftFieldId() {
-
 
106193
        return _thriftId;
-
 
106194
      }
-
 
106195
 
-
 
106196
      public String getFieldName() {
-
 
106197
        return _fieldName;
-
 
106198
      }
-
 
106199
    }
-
 
106200
 
-
 
106201
    // isset id assignments
-
 
106202
    private static final int __RECHARGERRDERID_ISSET_ID = 0;
-
 
106203
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
106204
 
-
 
106205
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
106206
    static {
-
 
106207
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
106208
      tmpMap.put(_Fields.RECHARGE_RRDER_ID, new org.apache.thrift.meta_data.FieldMetaData("rechargeRrderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
106209
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
106210
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
106211
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeOrder_args.class, metaDataMap);
-
 
106212
    }
-
 
106213
 
-
 
106214
    public getRechargeOrder_args() {
-
 
106215
    }
-
 
106216
 
-
 
106217
    public getRechargeOrder_args(
-
 
106218
      long rechargeRrderId)
-
 
106219
    {
-
 
106220
      this();
-
 
106221
      this.rechargeRrderId = rechargeRrderId;
-
 
106222
      setRechargeRrderIdIsSet(true);
-
 
106223
    }
-
 
106224
 
-
 
106225
    /**
-
 
106226
     * Performs a deep copy on <i>other</i>.
-
 
106227
     */
-
 
106228
    public getRechargeOrder_args(getRechargeOrder_args other) {
-
 
106229
      __isset_bit_vector.clear();
-
 
106230
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
106231
      this.rechargeRrderId = other.rechargeRrderId;
-
 
106232
    }
-
 
106233
 
-
 
106234
    public getRechargeOrder_args deepCopy() {
-
 
106235
      return new getRechargeOrder_args(this);
-
 
106236
    }
-
 
106237
 
-
 
106238
    @Override
-
 
106239
    public void clear() {
-
 
106240
      setRechargeRrderIdIsSet(false);
-
 
106241
      this.rechargeRrderId = 0;
-
 
106242
    }
-
 
106243
 
-
 
106244
    public long getRechargeRrderId() {
-
 
106245
      return this.rechargeRrderId;
-
 
106246
    }
-
 
106247
 
-
 
106248
    public void setRechargeRrderId(long rechargeRrderId) {
-
 
106249
      this.rechargeRrderId = rechargeRrderId;
-
 
106250
      setRechargeRrderIdIsSet(true);
-
 
106251
    }
-
 
106252
 
-
 
106253
    public void unsetRechargeRrderId() {
-
 
106254
      __isset_bit_vector.clear(__RECHARGERRDERID_ISSET_ID);
-
 
106255
    }
-
 
106256
 
-
 
106257
    /** Returns true if field rechargeRrderId is set (has been assigned a value) and false otherwise */
-
 
106258
    public boolean isSetRechargeRrderId() {
-
 
106259
      return __isset_bit_vector.get(__RECHARGERRDERID_ISSET_ID);
-
 
106260
    }
-
 
106261
 
-
 
106262
    public void setRechargeRrderIdIsSet(boolean value) {
-
 
106263
      __isset_bit_vector.set(__RECHARGERRDERID_ISSET_ID, value);
-
 
106264
    }
-
 
106265
 
-
 
106266
    public void setFieldValue(_Fields field, Object value) {
-
 
106267
      switch (field) {
-
 
106268
      case RECHARGE_RRDER_ID:
-
 
106269
        if (value == null) {
-
 
106270
          unsetRechargeRrderId();
-
 
106271
        } else {
-
 
106272
          setRechargeRrderId((Long)value);
-
 
106273
        }
-
 
106274
        break;
-
 
106275
 
-
 
106276
      }
-
 
106277
    }
-
 
106278
 
-
 
106279
    public Object getFieldValue(_Fields field) {
-
 
106280
      switch (field) {
-
 
106281
      case RECHARGE_RRDER_ID:
-
 
106282
        return Long.valueOf(getRechargeRrderId());
-
 
106283
 
-
 
106284
      }
-
 
106285
      throw new IllegalStateException();
-
 
106286
    }
-
 
106287
 
-
 
106288
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
106289
    public boolean isSet(_Fields field) {
-
 
106290
      if (field == null) {
-
 
106291
        throw new IllegalArgumentException();
-
 
106292
      }
-
 
106293
 
-
 
106294
      switch (field) {
-
 
106295
      case RECHARGE_RRDER_ID:
-
 
106296
        return isSetRechargeRrderId();
-
 
106297
      }
-
 
106298
      throw new IllegalStateException();
-
 
106299
    }
-
 
106300
 
-
 
106301
    @Override
-
 
106302
    public boolean equals(Object that) {
-
 
106303
      if (that == null)
-
 
106304
        return false;
-
 
106305
      if (that instanceof getRechargeOrder_args)
-
 
106306
        return this.equals((getRechargeOrder_args)that);
-
 
106307
      return false;
-
 
106308
    }
-
 
106309
 
-
 
106310
    public boolean equals(getRechargeOrder_args that) {
-
 
106311
      if (that == null)
-
 
106312
        return false;
-
 
106313
 
-
 
106314
      boolean this_present_rechargeRrderId = true;
-
 
106315
      boolean that_present_rechargeRrderId = true;
-
 
106316
      if (this_present_rechargeRrderId || that_present_rechargeRrderId) {
-
 
106317
        if (!(this_present_rechargeRrderId && that_present_rechargeRrderId))
-
 
106318
          return false;
-
 
106319
        if (this.rechargeRrderId != that.rechargeRrderId)
-
 
106320
          return false;
-
 
106321
      }
-
 
106322
 
-
 
106323
      return true;
-
 
106324
    }
-
 
106325
 
-
 
106326
    @Override
-
 
106327
    public int hashCode() {
-
 
106328
      return 0;
-
 
106329
    }
-
 
106330
 
-
 
106331
    public int compareTo(getRechargeOrder_args other) {
-
 
106332
      if (!getClass().equals(other.getClass())) {
-
 
106333
        return getClass().getName().compareTo(other.getClass().getName());
-
 
106334
      }
-
 
106335
 
-
 
106336
      int lastComparison = 0;
-
 
106337
      getRechargeOrder_args typedOther = (getRechargeOrder_args)other;
-
 
106338
 
-
 
106339
      lastComparison = Boolean.valueOf(isSetRechargeRrderId()).compareTo(typedOther.isSetRechargeRrderId());
-
 
106340
      if (lastComparison != 0) {
-
 
106341
        return lastComparison;
-
 
106342
      }
-
 
106343
      if (isSetRechargeRrderId()) {
-
 
106344
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rechargeRrderId, typedOther.rechargeRrderId);
-
 
106345
        if (lastComparison != 0) {
-
 
106346
          return lastComparison;
-
 
106347
        }
-
 
106348
      }
-
 
106349
      return 0;
-
 
106350
    }
-
 
106351
 
-
 
106352
    public _Fields fieldForId(int fieldId) {
-
 
106353
      return _Fields.findByThriftId(fieldId);
-
 
106354
    }
-
 
106355
 
-
 
106356
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
106357
      org.apache.thrift.protocol.TField field;
-
 
106358
      iprot.readStructBegin();
-
 
106359
      while (true)
-
 
106360
      {
-
 
106361
        field = iprot.readFieldBegin();
-
 
106362
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
106363
          break;
-
 
106364
        }
-
 
106365
        switch (field.id) {
-
 
106366
          case 1: // RECHARGE_RRDER_ID
-
 
106367
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
106368
              this.rechargeRrderId = iprot.readI64();
-
 
106369
              setRechargeRrderIdIsSet(true);
-
 
106370
            } else { 
-
 
106371
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
106372
            }
-
 
106373
            break;
-
 
106374
          default:
-
 
106375
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
106376
        }
-
 
106377
        iprot.readFieldEnd();
-
 
106378
      }
-
 
106379
      iprot.readStructEnd();
-
 
106380
      validate();
-
 
106381
    }
-
 
106382
 
-
 
106383
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
106384
      validate();
-
 
106385
 
-
 
106386
      oprot.writeStructBegin(STRUCT_DESC);
-
 
106387
      oprot.writeFieldBegin(RECHARGE_RRDER_ID_FIELD_DESC);
-
 
106388
      oprot.writeI64(this.rechargeRrderId);
-
 
106389
      oprot.writeFieldEnd();
-
 
106390
      oprot.writeFieldStop();
-
 
106391
      oprot.writeStructEnd();
-
 
106392
    }
-
 
106393
 
-
 
106394
    @Override
-
 
106395
    public String toString() {
-
 
106396
      StringBuilder sb = new StringBuilder("getRechargeOrder_args(");
-
 
106397
      boolean first = true;
-
 
106398
 
-
 
106399
      sb.append("rechargeRrderId:");
-
 
106400
      sb.append(this.rechargeRrderId);
-
 
106401
      first = false;
-
 
106402
      sb.append(")");
-
 
106403
      return sb.toString();
-
 
106404
    }
-
 
106405
 
-
 
106406
    public void validate() throws org.apache.thrift.TException {
-
 
106407
      // check for required fields
-
 
106408
    }
-
 
106409
 
-
 
106410
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
106411
      try {
-
 
106412
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
106413
      } catch (org.apache.thrift.TException te) {
-
 
106414
        throw new java.io.IOException(te);
-
 
106415
      }
-
 
106416
    }
-
 
106417
 
-
 
106418
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
106419
      try {
-
 
106420
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
106421
        __isset_bit_vector = new BitSet(1);
-
 
106422
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
106423
      } catch (org.apache.thrift.TException te) {
-
 
106424
        throw new java.io.IOException(te);
-
 
106425
      }
-
 
106426
    }
-
 
106427
 
-
 
106428
  }
-
 
106429
 
-
 
106430
  public static class getRechargeOrder_result implements org.apache.thrift.TBase<getRechargeOrder_result, getRechargeOrder_result._Fields>, java.io.Serializable, Cloneable   {
-
 
106431
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeOrder_result");
-
 
106432
 
-
 
106433
    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);
-
 
106434
    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);
-
 
106435
 
-
 
106436
    private RechargeOrder success; // required
-
 
106437
    private TransactionServiceException ex; // required
-
 
106438
 
-
 
106439
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
106440
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
106441
      SUCCESS((short)0, "success"),
-
 
106442
      EX((short)1, "ex");
-
 
106443
 
-
 
106444
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
106445
 
-
 
106446
      static {
-
 
106447
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
106448
          byName.put(field.getFieldName(), field);
-
 
106449
        }
-
 
106450
      }
-
 
106451
 
-
 
106452
      /**
-
 
106453
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
106454
       */
-
 
106455
      public static _Fields findByThriftId(int fieldId) {
-
 
106456
        switch(fieldId) {
-
 
106457
          case 0: // SUCCESS
-
 
106458
            return SUCCESS;
-
 
106459
          case 1: // EX
-
 
106460
            return EX;
-
 
106461
          default:
-
 
106462
            return null;
-
 
106463
        }
-
 
106464
      }
-
 
106465
 
-
 
106466
      /**
-
 
106467
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
106468
       * if it is not found.
-
 
106469
       */
-
 
106470
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
106471
        _Fields fields = findByThriftId(fieldId);
-
 
106472
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
106473
        return fields;
-
 
106474
      }
-
 
106475
 
-
 
106476
      /**
-
 
106477
       * Find the _Fields constant that matches name, or null if its not found.
-
 
106478
       */
-
 
106479
      public static _Fields findByName(String name) {
-
 
106480
        return byName.get(name);
-
 
106481
      }
-
 
106482
 
-
 
106483
      private final short _thriftId;
-
 
106484
      private final String _fieldName;
-
 
106485
 
-
 
106486
      _Fields(short thriftId, String fieldName) {
-
 
106487
        _thriftId = thriftId;
-
 
106488
        _fieldName = fieldName;
-
 
106489
      }
-
 
106490
 
-
 
106491
      public short getThriftFieldId() {
-
 
106492
        return _thriftId;
-
 
106493
      }
-
 
106494
 
-
 
106495
      public String getFieldName() {
-
 
106496
        return _fieldName;
-
 
106497
      }
-
 
106498
    }
-
 
106499
 
-
 
106500
    // isset id assignments
-
 
106501
 
-
 
106502
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
106503
    static {
-
 
106504
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
106505
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
106506
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, RechargeOrder.class)));
-
 
106507
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
106508
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
106509
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
106510
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeOrder_result.class, metaDataMap);
-
 
106511
    }
-
 
106512
 
-
 
106513
    public getRechargeOrder_result() {
-
 
106514
    }
-
 
106515
 
-
 
106516
    public getRechargeOrder_result(
-
 
106517
      RechargeOrder success,
-
 
106518
      TransactionServiceException ex)
-
 
106519
    {
-
 
106520
      this();
-
 
106521
      this.success = success;
-
 
106522
      this.ex = ex;
-
 
106523
    }
-
 
106524
 
-
 
106525
    /**
-
 
106526
     * Performs a deep copy on <i>other</i>.
-
 
106527
     */
-
 
106528
    public getRechargeOrder_result(getRechargeOrder_result other) {
-
 
106529
      if (other.isSetSuccess()) {
-
 
106530
        this.success = new RechargeOrder(other.success);
-
 
106531
      }
-
 
106532
      if (other.isSetEx()) {
-
 
106533
        this.ex = new TransactionServiceException(other.ex);
-
 
106534
      }
-
 
106535
    }
-
 
106536
 
-
 
106537
    public getRechargeOrder_result deepCopy() {
-
 
106538
      return new getRechargeOrder_result(this);
-
 
106539
    }
-
 
106540
 
-
 
106541
    @Override
-
 
106542
    public void clear() {
-
 
106543
      this.success = null;
-
 
106544
      this.ex = null;
-
 
106545
    }
-
 
106546
 
-
 
106547
    public RechargeOrder getSuccess() {
-
 
106548
      return this.success;
-
 
106549
    }
-
 
106550
 
-
 
106551
    public void setSuccess(RechargeOrder success) {
-
 
106552
      this.success = success;
-
 
106553
    }
-
 
106554
 
-
 
106555
    public void unsetSuccess() {
-
 
106556
      this.success = null;
-
 
106557
    }
-
 
106558
 
-
 
106559
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
106560
    public boolean isSetSuccess() {
-
 
106561
      return this.success != null;
-
 
106562
    }
-
 
106563
 
-
 
106564
    public void setSuccessIsSet(boolean value) {
-
 
106565
      if (!value) {
-
 
106566
        this.success = null;
-
 
106567
      }
-
 
106568
    }
-
 
106569
 
-
 
106570
    public TransactionServiceException getEx() {
-
 
106571
      return this.ex;
-
 
106572
    }
-
 
106573
 
-
 
106574
    public void setEx(TransactionServiceException ex) {
-
 
106575
      this.ex = ex;
-
 
106576
    }
-
 
106577
 
-
 
106578
    public void unsetEx() {
-
 
106579
      this.ex = null;
-
 
106580
    }
-
 
106581
 
-
 
106582
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
106583
    public boolean isSetEx() {
-
 
106584
      return this.ex != null;
-
 
106585
    }
-
 
106586
 
-
 
106587
    public void setExIsSet(boolean value) {
-
 
106588
      if (!value) {
-
 
106589
        this.ex = null;
-
 
106590
      }
-
 
106591
    }
-
 
106592
 
-
 
106593
    public void setFieldValue(_Fields field, Object value) {
-
 
106594
      switch (field) {
-
 
106595
      case SUCCESS:
-
 
106596
        if (value == null) {
-
 
106597
          unsetSuccess();
-
 
106598
        } else {
-
 
106599
          setSuccess((RechargeOrder)value);
-
 
106600
        }
-
 
106601
        break;
-
 
106602
 
-
 
106603
      case EX:
-
 
106604
        if (value == null) {
-
 
106605
          unsetEx();
-
 
106606
        } else {
-
 
106607
          setEx((TransactionServiceException)value);
-
 
106608
        }
-
 
106609
        break;
-
 
106610
 
-
 
106611
      }
-
 
106612
    }
-
 
106613
 
-
 
106614
    public Object getFieldValue(_Fields field) {
-
 
106615
      switch (field) {
-
 
106616
      case SUCCESS:
-
 
106617
        return getSuccess();
-
 
106618
 
-
 
106619
      case EX:
-
 
106620
        return getEx();
-
 
106621
 
-
 
106622
      }
-
 
106623
      throw new IllegalStateException();
-
 
106624
    }
-
 
106625
 
-
 
106626
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
106627
    public boolean isSet(_Fields field) {
-
 
106628
      if (field == null) {
-
 
106629
        throw new IllegalArgumentException();
-
 
106630
      }
-
 
106631
 
-
 
106632
      switch (field) {
-
 
106633
      case SUCCESS:
-
 
106634
        return isSetSuccess();
-
 
106635
      case EX:
-
 
106636
        return isSetEx();
-
 
106637
      }
-
 
106638
      throw new IllegalStateException();
-
 
106639
    }
-
 
106640
 
-
 
106641
    @Override
-
 
106642
    public boolean equals(Object that) {
-
 
106643
      if (that == null)
-
 
106644
        return false;
-
 
106645
      if (that instanceof getRechargeOrder_result)
-
 
106646
        return this.equals((getRechargeOrder_result)that);
-
 
106647
      return false;
-
 
106648
    }
-
 
106649
 
-
 
106650
    public boolean equals(getRechargeOrder_result that) {
-
 
106651
      if (that == null)
-
 
106652
        return false;
-
 
106653
 
-
 
106654
      boolean this_present_success = true && this.isSetSuccess();
-
 
106655
      boolean that_present_success = true && that.isSetSuccess();
-
 
106656
      if (this_present_success || that_present_success) {
-
 
106657
        if (!(this_present_success && that_present_success))
-
 
106658
          return false;
-
 
106659
        if (!this.success.equals(that.success))
-
 
106660
          return false;
-
 
106661
      }
-
 
106662
 
-
 
106663
      boolean this_present_ex = true && this.isSetEx();
-
 
106664
      boolean that_present_ex = true && that.isSetEx();
-
 
106665
      if (this_present_ex || that_present_ex) {
-
 
106666
        if (!(this_present_ex && that_present_ex))
-
 
106667
          return false;
-
 
106668
        if (!this.ex.equals(that.ex))
-
 
106669
          return false;
-
 
106670
      }
-
 
106671
 
-
 
106672
      return true;
-
 
106673
    }
-
 
106674
 
-
 
106675
    @Override
-
 
106676
    public int hashCode() {
-
 
106677
      return 0;
-
 
106678
    }
-
 
106679
 
-
 
106680
    public int compareTo(getRechargeOrder_result other) {
-
 
106681
      if (!getClass().equals(other.getClass())) {
-
 
106682
        return getClass().getName().compareTo(other.getClass().getName());
-
 
106683
      }
-
 
106684
 
-
 
106685
      int lastComparison = 0;
-
 
106686
      getRechargeOrder_result typedOther = (getRechargeOrder_result)other;
-
 
106687
 
-
 
106688
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
106689
      if (lastComparison != 0) {
-
 
106690
        return lastComparison;
-
 
106691
      }
-
 
106692
      if (isSetSuccess()) {
-
 
106693
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
106694
        if (lastComparison != 0) {
-
 
106695
          return lastComparison;
-
 
106696
        }
-
 
106697
      }
-
 
106698
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
106699
      if (lastComparison != 0) {
-
 
106700
        return lastComparison;
-
 
106701
      }
-
 
106702
      if (isSetEx()) {
-
 
106703
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
106704
        if (lastComparison != 0) {
-
 
106705
          return lastComparison;
-
 
106706
        }
-
 
106707
      }
-
 
106708
      return 0;
-
 
106709
    }
-
 
106710
 
-
 
106711
    public _Fields fieldForId(int fieldId) {
-
 
106712
      return _Fields.findByThriftId(fieldId);
-
 
106713
    }
-
 
106714
 
-
 
106715
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
106716
      org.apache.thrift.protocol.TField field;
-
 
106717
      iprot.readStructBegin();
-
 
106718
      while (true)
-
 
106719
      {
-
 
106720
        field = iprot.readFieldBegin();
-
 
106721
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
106722
          break;
-
 
106723
        }
-
 
106724
        switch (field.id) {
-
 
106725
          case 0: // SUCCESS
-
 
106726
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
106727
              this.success = new RechargeOrder();
-
 
106728
              this.success.read(iprot);
-
 
106729
            } else { 
-
 
106730
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
106731
            }
-
 
106732
            break;
-
 
106733
          case 1: // EX
-
 
106734
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
106735
              this.ex = new TransactionServiceException();
-
 
106736
              this.ex.read(iprot);
-
 
106737
            } else { 
-
 
106738
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
106739
            }
-
 
106740
            break;
-
 
106741
          default:
-
 
106742
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
106743
        }
-
 
106744
        iprot.readFieldEnd();
-
 
106745
      }
-
 
106746
      iprot.readStructEnd();
-
 
106747
      validate();
-
 
106748
    }
-
 
106749
 
-
 
106750
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
106751
      oprot.writeStructBegin(STRUCT_DESC);
-
 
106752
 
-
 
106753
      if (this.isSetSuccess()) {
-
 
106754
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
106755
        this.success.write(oprot);
-
 
106756
        oprot.writeFieldEnd();
-
 
106757
      } else if (this.isSetEx()) {
-
 
106758
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
106759
        this.ex.write(oprot);
-
 
106760
        oprot.writeFieldEnd();
-
 
106761
      }
-
 
106762
      oprot.writeFieldStop();
-
 
106763
      oprot.writeStructEnd();
-
 
106764
    }
-
 
106765
 
-
 
106766
    @Override
-
 
106767
    public String toString() {
-
 
106768
      StringBuilder sb = new StringBuilder("getRechargeOrder_result(");
-
 
106769
      boolean first = true;
-
 
106770
 
-
 
106771
      sb.append("success:");
-
 
106772
      if (this.success == null) {
-
 
106773
        sb.append("null");
-
 
106774
      } else {
-
 
106775
        sb.append(this.success);
-
 
106776
      }
-
 
106777
      first = false;
-
 
106778
      if (!first) sb.append(", ");
-
 
106779
      sb.append("ex:");
-
 
106780
      if (this.ex == null) {
-
 
106781
        sb.append("null");
-
 
106782
      } else {
-
 
106783
        sb.append(this.ex);
-
 
106784
      }
-
 
106785
      first = false;
-
 
106786
      sb.append(")");
-
 
106787
      return sb.toString();
-
 
106788
    }
-
 
106789
 
-
 
106790
    public void validate() throws org.apache.thrift.TException {
-
 
106791
      // check for required fields
-
 
106792
    }
-
 
106793
 
-
 
106794
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
106795
      try {
-
 
106796
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
106797
      } catch (org.apache.thrift.TException te) {
-
 
106798
        throw new java.io.IOException(te);
-
 
106799
      }
-
 
106800
    }
-
 
106801
 
-
 
106802
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
106803
      try {
-
 
106804
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
106805
      } catch (org.apache.thrift.TException te) {
-
 
106806
        throw new java.io.IOException(te);
-
 
106807
      }
-
 
106808
    }
-
 
106809
 
-
 
106810
  }
-
 
106811
 
-
 
106812
  public static class getRechargeOrders_args implements org.apache.thrift.TBase<getRechargeOrders_args, getRechargeOrders_args._Fields>, java.io.Serializable, Cloneable   {
-
 
106813
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeOrders_args");
-
 
106814
 
-
 
106815
    private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
106816
 
-
 
106817
    private long userId; // required
-
 
106818
 
-
 
106819
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
106820
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
106821
      USER_ID((short)1, "userId");
-
 
106822
 
-
 
106823
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
106824
 
-
 
106825
      static {
-
 
106826
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
106827
          byName.put(field.getFieldName(), field);
-
 
106828
        }
-
 
106829
      }
-
 
106830
 
-
 
106831
      /**
-
 
106832
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
106833
       */
-
 
106834
      public static _Fields findByThriftId(int fieldId) {
-
 
106835
        switch(fieldId) {
-
 
106836
          case 1: // USER_ID
-
 
106837
            return USER_ID;
-
 
106838
          default:
-
 
106839
            return null;
-
 
106840
        }
-
 
106841
      }
-
 
106842
 
-
 
106843
      /**
-
 
106844
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
106845
       * if it is not found.
-
 
106846
       */
-
 
106847
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
106848
        _Fields fields = findByThriftId(fieldId);
-
 
106849
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
106850
        return fields;
-
 
106851
      }
-
 
106852
 
-
 
106853
      /**
-
 
106854
       * Find the _Fields constant that matches name, or null if its not found.
-
 
106855
       */
-
 
106856
      public static _Fields findByName(String name) {
-
 
106857
        return byName.get(name);
-
 
106858
      }
-
 
106859
 
-
 
106860
      private final short _thriftId;
-
 
106861
      private final String _fieldName;
-
 
106862
 
-
 
106863
      _Fields(short thriftId, String fieldName) {
-
 
106864
        _thriftId = thriftId;
-
 
106865
        _fieldName = fieldName;
-
 
106866
      }
-
 
106867
 
-
 
106868
      public short getThriftFieldId() {
-
 
106869
        return _thriftId;
-
 
106870
      }
-
 
106871
 
-
 
106872
      public String getFieldName() {
-
 
106873
        return _fieldName;
-
 
106874
      }
-
 
106875
    }
-
 
106876
 
-
 
106877
    // isset id assignments
-
 
106878
    private static final int __USERID_ISSET_ID = 0;
-
 
106879
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
106880
 
-
 
106881
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
106882
    static {
-
 
106883
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
106884
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
106885
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
106886
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
106887
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeOrders_args.class, metaDataMap);
-
 
106888
    }
-
 
106889
 
-
 
106890
    public getRechargeOrders_args() {
-
 
106891
    }
-
 
106892
 
-
 
106893
    public getRechargeOrders_args(
-
 
106894
      long userId)
-
 
106895
    {
-
 
106896
      this();
-
 
106897
      this.userId = userId;
-
 
106898
      setUserIdIsSet(true);
-
 
106899
    }
-
 
106900
 
-
 
106901
    /**
-
 
106902
     * Performs a deep copy on <i>other</i>.
-
 
106903
     */
-
 
106904
    public getRechargeOrders_args(getRechargeOrders_args other) {
-
 
106905
      __isset_bit_vector.clear();
-
 
106906
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
106907
      this.userId = other.userId;
-
 
106908
    }
-
 
106909
 
-
 
106910
    public getRechargeOrders_args deepCopy() {
-
 
106911
      return new getRechargeOrders_args(this);
-
 
106912
    }
-
 
106913
 
-
 
106914
    @Override
-
 
106915
    public void clear() {
-
 
106916
      setUserIdIsSet(false);
-
 
106917
      this.userId = 0;
-
 
106918
    }
-
 
106919
 
-
 
106920
    public long getUserId() {
-
 
106921
      return this.userId;
-
 
106922
    }
-
 
106923
 
-
 
106924
    public void setUserId(long userId) {
-
 
106925
      this.userId = userId;
-
 
106926
      setUserIdIsSet(true);
-
 
106927
    }
-
 
106928
 
-
 
106929
    public void unsetUserId() {
-
 
106930
      __isset_bit_vector.clear(__USERID_ISSET_ID);
-
 
106931
    }
-
 
106932
 
-
 
106933
    /** Returns true if field userId is set (has been assigned a value) and false otherwise */
-
 
106934
    public boolean isSetUserId() {
-
 
106935
      return __isset_bit_vector.get(__USERID_ISSET_ID);
-
 
106936
    }
-
 
106937
 
-
 
106938
    public void setUserIdIsSet(boolean value) {
-
 
106939
      __isset_bit_vector.set(__USERID_ISSET_ID, value);
-
 
106940
    }
-
 
106941
 
-
 
106942
    public void setFieldValue(_Fields field, Object value) {
-
 
106943
      switch (field) {
-
 
106944
      case USER_ID:
-
 
106945
        if (value == null) {
-
 
106946
          unsetUserId();
-
 
106947
        } else {
-
 
106948
          setUserId((Long)value);
-
 
106949
        }
-
 
106950
        break;
-
 
106951
 
-
 
106952
      }
-
 
106953
    }
-
 
106954
 
-
 
106955
    public Object getFieldValue(_Fields field) {
-
 
106956
      switch (field) {
-
 
106957
      case USER_ID:
-
 
106958
        return Long.valueOf(getUserId());
-
 
106959
 
-
 
106960
      }
-
 
106961
      throw new IllegalStateException();
-
 
106962
    }
-
 
106963
 
-
 
106964
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
106965
    public boolean isSet(_Fields field) {
-
 
106966
      if (field == null) {
-
 
106967
        throw new IllegalArgumentException();
-
 
106968
      }
-
 
106969
 
-
 
106970
      switch (field) {
-
 
106971
      case USER_ID:
-
 
106972
        return isSetUserId();
-
 
106973
      }
-
 
106974
      throw new IllegalStateException();
-
 
106975
    }
-
 
106976
 
-
 
106977
    @Override
-
 
106978
    public boolean equals(Object that) {
-
 
106979
      if (that == null)
-
 
106980
        return false;
-
 
106981
      if (that instanceof getRechargeOrders_args)
-
 
106982
        return this.equals((getRechargeOrders_args)that);
-
 
106983
      return false;
-
 
106984
    }
-
 
106985
 
-
 
106986
    public boolean equals(getRechargeOrders_args that) {
-
 
106987
      if (that == null)
-
 
106988
        return false;
-
 
106989
 
-
 
106990
      boolean this_present_userId = true;
-
 
106991
      boolean that_present_userId = true;
-
 
106992
      if (this_present_userId || that_present_userId) {
-
 
106993
        if (!(this_present_userId && that_present_userId))
-
 
106994
          return false;
-
 
106995
        if (this.userId != that.userId)
-
 
106996
          return false;
-
 
106997
      }
-
 
106998
 
-
 
106999
      return true;
-
 
107000
    }
-
 
107001
 
-
 
107002
    @Override
-
 
107003
    public int hashCode() {
-
 
107004
      return 0;
-
 
107005
    }
-
 
107006
 
-
 
107007
    public int compareTo(getRechargeOrders_args other) {
-
 
107008
      if (!getClass().equals(other.getClass())) {
-
 
107009
        return getClass().getName().compareTo(other.getClass().getName());
-
 
107010
      }
-
 
107011
 
-
 
107012
      int lastComparison = 0;
-
 
107013
      getRechargeOrders_args typedOther = (getRechargeOrders_args)other;
-
 
107014
 
-
 
107015
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
-
 
107016
      if (lastComparison != 0) {
-
 
107017
        return lastComparison;
-
 
107018
      }
-
 
107019
      if (isSetUserId()) {
-
 
107020
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
-
 
107021
        if (lastComparison != 0) {
-
 
107022
          return lastComparison;
-
 
107023
        }
-
 
107024
      }
-
 
107025
      return 0;
-
 
107026
    }
-
 
107027
 
-
 
107028
    public _Fields fieldForId(int fieldId) {
-
 
107029
      return _Fields.findByThriftId(fieldId);
-
 
107030
    }
-
 
107031
 
-
 
107032
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
107033
      org.apache.thrift.protocol.TField field;
-
 
107034
      iprot.readStructBegin();
-
 
107035
      while (true)
-
 
107036
      {
-
 
107037
        field = iprot.readFieldBegin();
-
 
107038
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
107039
          break;
-
 
107040
        }
-
 
107041
        switch (field.id) {
-
 
107042
          case 1: // USER_ID
-
 
107043
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
107044
              this.userId = iprot.readI64();
-
 
107045
              setUserIdIsSet(true);
-
 
107046
            } else { 
-
 
107047
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
107048
            }
-
 
107049
            break;
-
 
107050
          default:
-
 
107051
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
107052
        }
-
 
107053
        iprot.readFieldEnd();
-
 
107054
      }
-
 
107055
      iprot.readStructEnd();
-
 
107056
      validate();
-
 
107057
    }
-
 
107058
 
-
 
107059
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
107060
      validate();
-
 
107061
 
-
 
107062
      oprot.writeStructBegin(STRUCT_DESC);
-
 
107063
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
-
 
107064
      oprot.writeI64(this.userId);
-
 
107065
      oprot.writeFieldEnd();
-
 
107066
      oprot.writeFieldStop();
-
 
107067
      oprot.writeStructEnd();
-
 
107068
    }
-
 
107069
 
-
 
107070
    @Override
-
 
107071
    public String toString() {
-
 
107072
      StringBuilder sb = new StringBuilder("getRechargeOrders_args(");
-
 
107073
      boolean first = true;
-
 
107074
 
-
 
107075
      sb.append("userId:");
-
 
107076
      sb.append(this.userId);
-
 
107077
      first = false;
-
 
107078
      sb.append(")");
-
 
107079
      return sb.toString();
-
 
107080
    }
-
 
107081
 
-
 
107082
    public void validate() throws org.apache.thrift.TException {
-
 
107083
      // check for required fields
-
 
107084
    }
-
 
107085
 
-
 
107086
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
107087
      try {
-
 
107088
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
107089
      } catch (org.apache.thrift.TException te) {
-
 
107090
        throw new java.io.IOException(te);
-
 
107091
      }
-
 
107092
    }
-
 
107093
 
-
 
107094
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
107095
      try {
-
 
107096
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
107097
      } catch (org.apache.thrift.TException te) {
-
 
107098
        throw new java.io.IOException(te);
-
 
107099
      }
-
 
107100
    }
-
 
107101
 
-
 
107102
  }
-
 
107103
 
-
 
107104
  public static class getRechargeOrders_result implements org.apache.thrift.TBase<getRechargeOrders_result, getRechargeOrders_result._Fields>, java.io.Serializable, Cloneable   {
-
 
107105
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeOrders_result");
-
 
107106
 
-
 
107107
    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);
-
 
107108
 
-
 
107109
    private List<RechargeOrder> success; // required
-
 
107110
 
-
 
107111
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
107112
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
107113
      SUCCESS((short)0, "success");
-
 
107114
 
-
 
107115
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
107116
 
-
 
107117
      static {
-
 
107118
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
107119
          byName.put(field.getFieldName(), field);
-
 
107120
        }
-
 
107121
      }
-
 
107122
 
-
 
107123
      /**
-
 
107124
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
107125
       */
-
 
107126
      public static _Fields findByThriftId(int fieldId) {
-
 
107127
        switch(fieldId) {
-
 
107128
          case 0: // SUCCESS
-
 
107129
            return SUCCESS;
-
 
107130
          default:
-
 
107131
            return null;
-
 
107132
        }
-
 
107133
      }
-
 
107134
 
-
 
107135
      /**
-
 
107136
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
107137
       * if it is not found.
-
 
107138
       */
-
 
107139
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
107140
        _Fields fields = findByThriftId(fieldId);
-
 
107141
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
107142
        return fields;
-
 
107143
      }
-
 
107144
 
-
 
107145
      /**
-
 
107146
       * Find the _Fields constant that matches name, or null if its not found.
-
 
107147
       */
-
 
107148
      public static _Fields findByName(String name) {
-
 
107149
        return byName.get(name);
-
 
107150
      }
-
 
107151
 
-
 
107152
      private final short _thriftId;
-
 
107153
      private final String _fieldName;
-
 
107154
 
-
 
107155
      _Fields(short thriftId, String fieldName) {
-
 
107156
        _thriftId = thriftId;
-
 
107157
        _fieldName = fieldName;
-
 
107158
      }
-
 
107159
 
-
 
107160
      public short getThriftFieldId() {
-
 
107161
        return _thriftId;
-
 
107162
      }
-
 
107163
 
-
 
107164
      public String getFieldName() {
-
 
107165
        return _fieldName;
-
 
107166
      }
-
 
107167
    }
-
 
107168
 
-
 
107169
    // isset id assignments
-
 
107170
 
-
 
107171
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
107172
    static {
-
 
107173
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
107174
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
107175
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
107176
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, RechargeOrder.class))));
-
 
107177
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
107178
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeOrders_result.class, metaDataMap);
-
 
107179
    }
-
 
107180
 
-
 
107181
    public getRechargeOrders_result() {
-
 
107182
    }
-
 
107183
 
-
 
107184
    public getRechargeOrders_result(
-
 
107185
      List<RechargeOrder> success)
-
 
107186
    {
-
 
107187
      this();
-
 
107188
      this.success = success;
-
 
107189
    }
-
 
107190
 
-
 
107191
    /**
-
 
107192
     * Performs a deep copy on <i>other</i>.
-
 
107193
     */
-
 
107194
    public getRechargeOrders_result(getRechargeOrders_result other) {
-
 
107195
      if (other.isSetSuccess()) {
-
 
107196
        List<RechargeOrder> __this__success = new ArrayList<RechargeOrder>();
-
 
107197
        for (RechargeOrder other_element : other.success) {
-
 
107198
          __this__success.add(new RechargeOrder(other_element));
-
 
107199
        }
-
 
107200
        this.success = __this__success;
-
 
107201
      }
-
 
107202
    }
-
 
107203
 
-
 
107204
    public getRechargeOrders_result deepCopy() {
-
 
107205
      return new getRechargeOrders_result(this);
-
 
107206
    }
-
 
107207
 
-
 
107208
    @Override
-
 
107209
    public void clear() {
-
 
107210
      this.success = null;
-
 
107211
    }
-
 
107212
 
-
 
107213
    public int getSuccessSize() {
-
 
107214
      return (this.success == null) ? 0 : this.success.size();
-
 
107215
    }
-
 
107216
 
-
 
107217
    public java.util.Iterator<RechargeOrder> getSuccessIterator() {
-
 
107218
      return (this.success == null) ? null : this.success.iterator();
-
 
107219
    }
-
 
107220
 
-
 
107221
    public void addToSuccess(RechargeOrder elem) {
-
 
107222
      if (this.success == null) {
-
 
107223
        this.success = new ArrayList<RechargeOrder>();
-
 
107224
      }
-
 
107225
      this.success.add(elem);
-
 
107226
    }
-
 
107227
 
-
 
107228
    public List<RechargeOrder> getSuccess() {
-
 
107229
      return this.success;
-
 
107230
    }
-
 
107231
 
-
 
107232
    public void setSuccess(List<RechargeOrder> success) {
-
 
107233
      this.success = success;
-
 
107234
    }
-
 
107235
 
-
 
107236
    public void unsetSuccess() {
-
 
107237
      this.success = null;
-
 
107238
    }
-
 
107239
 
-
 
107240
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
107241
    public boolean isSetSuccess() {
-
 
107242
      return this.success != null;
-
 
107243
    }
-
 
107244
 
-
 
107245
    public void setSuccessIsSet(boolean value) {
-
 
107246
      if (!value) {
-
 
107247
        this.success = null;
-
 
107248
      }
-
 
107249
    }
-
 
107250
 
-
 
107251
    public void setFieldValue(_Fields field, Object value) {
-
 
107252
      switch (field) {
-
 
107253
      case SUCCESS:
-
 
107254
        if (value == null) {
-
 
107255
          unsetSuccess();
-
 
107256
        } else {
-
 
107257
          setSuccess((List<RechargeOrder>)value);
-
 
107258
        }
-
 
107259
        break;
-
 
107260
 
-
 
107261
      }
-
 
107262
    }
-
 
107263
 
-
 
107264
    public Object getFieldValue(_Fields field) {
-
 
107265
      switch (field) {
-
 
107266
      case SUCCESS:
-
 
107267
        return getSuccess();
-
 
107268
 
-
 
107269
      }
-
 
107270
      throw new IllegalStateException();
-
 
107271
    }
-
 
107272
 
-
 
107273
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
107274
    public boolean isSet(_Fields field) {
-
 
107275
      if (field == null) {
-
 
107276
        throw new IllegalArgumentException();
-
 
107277
      }
-
 
107278
 
-
 
107279
      switch (field) {
-
 
107280
      case SUCCESS:
-
 
107281
        return isSetSuccess();
-
 
107282
      }
-
 
107283
      throw new IllegalStateException();
-
 
107284
    }
-
 
107285
 
-
 
107286
    @Override
-
 
107287
    public boolean equals(Object that) {
-
 
107288
      if (that == null)
-
 
107289
        return false;
-
 
107290
      if (that instanceof getRechargeOrders_result)
-
 
107291
        return this.equals((getRechargeOrders_result)that);
-
 
107292
      return false;
-
 
107293
    }
-
 
107294
 
-
 
107295
    public boolean equals(getRechargeOrders_result that) {
-
 
107296
      if (that == null)
-
 
107297
        return false;
-
 
107298
 
-
 
107299
      boolean this_present_success = true && this.isSetSuccess();
-
 
107300
      boolean that_present_success = true && that.isSetSuccess();
-
 
107301
      if (this_present_success || that_present_success) {
-
 
107302
        if (!(this_present_success && that_present_success))
-
 
107303
          return false;
-
 
107304
        if (!this.success.equals(that.success))
-
 
107305
          return false;
-
 
107306
      }
-
 
107307
 
-
 
107308
      return true;
-
 
107309
    }
-
 
107310
 
-
 
107311
    @Override
-
 
107312
    public int hashCode() {
-
 
107313
      return 0;
-
 
107314
    }
-
 
107315
 
-
 
107316
    public int compareTo(getRechargeOrders_result other) {
-
 
107317
      if (!getClass().equals(other.getClass())) {
-
 
107318
        return getClass().getName().compareTo(other.getClass().getName());
-
 
107319
      }
-
 
107320
 
-
 
107321
      int lastComparison = 0;
-
 
107322
      getRechargeOrders_result typedOther = (getRechargeOrders_result)other;
-
 
107323
 
-
 
107324
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
107325
      if (lastComparison != 0) {
-
 
107326
        return lastComparison;
-
 
107327
      }
-
 
107328
      if (isSetSuccess()) {
-
 
107329
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
107330
        if (lastComparison != 0) {
-
 
107331
          return lastComparison;
-
 
107332
        }
-
 
107333
      }
-
 
107334
      return 0;
-
 
107335
    }
-
 
107336
 
-
 
107337
    public _Fields fieldForId(int fieldId) {
-
 
107338
      return _Fields.findByThriftId(fieldId);
-
 
107339
    }
-
 
107340
 
-
 
107341
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
107342
      org.apache.thrift.protocol.TField field;
-
 
107343
      iprot.readStructBegin();
-
 
107344
      while (true)
-
 
107345
      {
-
 
107346
        field = iprot.readFieldBegin();
-
 
107347
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
107348
          break;
-
 
107349
        }
-
 
107350
        switch (field.id) {
-
 
107351
          case 0: // SUCCESS
-
 
107352
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
107353
              {
-
 
107354
                org.apache.thrift.protocol.TList _list348 = iprot.readListBegin();
-
 
107355
                this.success = new ArrayList<RechargeOrder>(_list348.size);
-
 
107356
                for (int _i349 = 0; _i349 < _list348.size; ++_i349)
-
 
107357
                {
-
 
107358
                  RechargeOrder _elem350; // required
-
 
107359
                  _elem350 = new RechargeOrder();
-
 
107360
                  _elem350.read(iprot);
-
 
107361
                  this.success.add(_elem350);
-
 
107362
                }
-
 
107363
                iprot.readListEnd();
-
 
107364
              }
-
 
107365
            } else { 
-
 
107366
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
107367
            }
-
 
107368
            break;
-
 
107369
          default:
-
 
107370
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
107371
        }
-
 
107372
        iprot.readFieldEnd();
-
 
107373
      }
-
 
107374
      iprot.readStructEnd();
-
 
107375
      validate();
-
 
107376
    }
-
 
107377
 
-
 
107378
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
107379
      oprot.writeStructBegin(STRUCT_DESC);
-
 
107380
 
-
 
107381
      if (this.isSetSuccess()) {
-
 
107382
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
107383
        {
-
 
107384
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
107385
          for (RechargeOrder _iter351 : this.success)
-
 
107386
          {
-
 
107387
            _iter351.write(oprot);
-
 
107388
          }
-
 
107389
          oprot.writeListEnd();
-
 
107390
        }
-
 
107391
        oprot.writeFieldEnd();
-
 
107392
      }
-
 
107393
      oprot.writeFieldStop();
-
 
107394
      oprot.writeStructEnd();
-
 
107395
    }
-
 
107396
 
-
 
107397
    @Override
-
 
107398
    public String toString() {
-
 
107399
      StringBuilder sb = new StringBuilder("getRechargeOrders_result(");
-
 
107400
      boolean first = true;
-
 
107401
 
-
 
107402
      sb.append("success:");
-
 
107403
      if (this.success == null) {
-
 
107404
        sb.append("null");
-
 
107405
      } else {
-
 
107406
        sb.append(this.success);
-
 
107407
      }
-
 
107408
      first = false;
-
 
107409
      sb.append(")");
-
 
107410
      return sb.toString();
-
 
107411
    }
-
 
107412
 
-
 
107413
    public void validate() throws org.apache.thrift.TException {
-
 
107414
      // check for required fields
-
 
107415
    }
-
 
107416
 
-
 
107417
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
107418
      try {
-
 
107419
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
107420
      } catch (org.apache.thrift.TException te) {
-
 
107421
        throw new java.io.IOException(te);
-
 
107422
      }
-
 
107423
    }
-
 
107424
 
-
 
107425
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
107426
      try {
-
 
107427
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
107428
      } catch (org.apache.thrift.TException te) {
-
 
107429
        throw new java.io.IOException(te);
-
 
107430
      }
-
 
107431
    }
-
 
107432
 
-
 
107433
  }
-
 
107434
 
105976
  public static class updateRechargeOrderStatus_args implements org.apache.thrift.TBase<updateRechargeOrderStatus_args, updateRechargeOrderStatus_args._Fields>, java.io.Serializable, Cloneable   {
107435
  public static class updateRechargeOrderStatus_args implements org.apache.thrift.TBase<updateRechargeOrderStatus_args, updateRechargeOrderStatus_args._Fields>, java.io.Serializable, Cloneable   {
105977
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateRechargeOrderStatus_args");
107436
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateRechargeOrderStatus_args");
105978
 
107437
 
105979
    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);
107438
    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);
105980
    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);
107439
    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);
Line 106368... Line 107827...
106368
  }
107827
  }
106369
 
107828
 
106370
  public static class updateRechargeOrderStatus_result implements org.apache.thrift.TBase<updateRechargeOrderStatus_result, updateRechargeOrderStatus_result._Fields>, java.io.Serializable, Cloneable   {
107829
  public static class updateRechargeOrderStatus_result implements org.apache.thrift.TBase<updateRechargeOrderStatus_result, updateRechargeOrderStatus_result._Fields>, java.io.Serializable, Cloneable   {
106371
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateRechargeOrderStatus_result");
107830
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateRechargeOrderStatus_result");
106372
 
107831
 
-
 
107832
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
106373
    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);
107833
    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);
106374
 
107834
 
-
 
107835
    private boolean success; // required
106375
    private TransactionServiceException ex; // required
107836
    private TransactionServiceException ex; // required
106376
 
107837
 
106377
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
107838
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
106378
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
107839
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
107840
      SUCCESS((short)0, "success"),
106379
      EX((short)1, "ex");
107841
      EX((short)1, "ex");
106380
 
107842
 
106381
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
107843
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
106382
 
107844
 
106383
      static {
107845
      static {
Line 106389... Line 107851...
106389
      /**
107851
      /**
106390
       * Find the _Fields constant that matches fieldId, or null if its not found.
107852
       * Find the _Fields constant that matches fieldId, or null if its not found.
106391
       */
107853
       */
106392
      public static _Fields findByThriftId(int fieldId) {
107854
      public static _Fields findByThriftId(int fieldId) {
106393
        switch(fieldId) {
107855
        switch(fieldId) {
-
 
107856
          case 0: // SUCCESS
-
 
107857
            return SUCCESS;
106394
          case 1: // EX
107858
          case 1: // EX
106395
            return EX;
107859
            return EX;
106396
          default:
107860
          default:
106397
            return null;
107861
            return null;
106398
        }
107862
        }
Line 106431... Line 107895...
106431
        return _fieldName;
107895
        return _fieldName;
106432
      }
107896
      }
106433
    }
107897
    }
106434
 
107898
 
106435
    // isset id assignments
107899
    // isset id assignments
-
 
107900
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
107901
    private BitSet __isset_bit_vector = new BitSet(1);
106436
 
107902
 
106437
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
107903
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
106438
    static {
107904
    static {
106439
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
107905
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
107906
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
107907
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
106440
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
107908
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
106441
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
107909
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
106442
      metaDataMap = Collections.unmodifiableMap(tmpMap);
107910
      metaDataMap = Collections.unmodifiableMap(tmpMap);
106443
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateRechargeOrderStatus_result.class, metaDataMap);
107911
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateRechargeOrderStatus_result.class, metaDataMap);
106444
    }
107912
    }
106445
 
107913
 
106446
    public updateRechargeOrderStatus_result() {
107914
    public updateRechargeOrderStatus_result() {
106447
    }
107915
    }
106448
 
107916
 
106449
    public updateRechargeOrderStatus_result(
107917
    public updateRechargeOrderStatus_result(
-
 
107918
      boolean success,
106450
      TransactionServiceException ex)
107919
      TransactionServiceException ex)
106451
    {
107920
    {
106452
      this();
107921
      this();
-
 
107922
      this.success = success;
-
 
107923
      setSuccessIsSet(true);
106453
      this.ex = ex;
107924
      this.ex = ex;
106454
    }
107925
    }
106455
 
107926
 
106456
    /**
107927
    /**
106457
     * Performs a deep copy on <i>other</i>.
107928
     * Performs a deep copy on <i>other</i>.
106458
     */
107929
     */
106459
    public updateRechargeOrderStatus_result(updateRechargeOrderStatus_result other) {
107930
    public updateRechargeOrderStatus_result(updateRechargeOrderStatus_result other) {
-
 
107931
      __isset_bit_vector.clear();
-
 
107932
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
107933
      this.success = other.success;
106460
      if (other.isSetEx()) {
107934
      if (other.isSetEx()) {
106461
        this.ex = new TransactionServiceException(other.ex);
107935
        this.ex = new TransactionServiceException(other.ex);
106462
      }
107936
      }
106463
    }
107937
    }
106464
 
107938
 
Line 106466... Line 107940...
106466
      return new updateRechargeOrderStatus_result(this);
107940
      return new updateRechargeOrderStatus_result(this);
106467
    }
107941
    }
106468
 
107942
 
106469
    @Override
107943
    @Override
106470
    public void clear() {
107944
    public void clear() {
-
 
107945
      setSuccessIsSet(false);
-
 
107946
      this.success = false;
106471
      this.ex = null;
107947
      this.ex = null;
106472
    }
107948
    }
106473
 
107949
 
-
 
107950
    public boolean isSuccess() {
-
 
107951
      return this.success;
-
 
107952
    }
-
 
107953
 
-
 
107954
    public void setSuccess(boolean success) {
-
 
107955
      this.success = success;
-
 
107956
      setSuccessIsSet(true);
-
 
107957
    }
-
 
107958
 
-
 
107959
    public void unsetSuccess() {
-
 
107960
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
107961
    }
-
 
107962
 
-
 
107963
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
107964
    public boolean isSetSuccess() {
-
 
107965
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
107966
    }
-
 
107967
 
-
 
107968
    public void setSuccessIsSet(boolean value) {
-
 
107969
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
107970
    }
-
 
107971
 
106474
    public TransactionServiceException getEx() {
107972
    public TransactionServiceException getEx() {
106475
      return this.ex;
107973
      return this.ex;
106476
    }
107974
    }
106477
 
107975
 
106478
    public void setEx(TransactionServiceException ex) {
107976
    public void setEx(TransactionServiceException ex) {
Line 106494... Line 107992...
106494
      }
107992
      }
106495
    }
107993
    }
106496
 
107994
 
106497
    public void setFieldValue(_Fields field, Object value) {
107995
    public void setFieldValue(_Fields field, Object value) {
106498
      switch (field) {
107996
      switch (field) {
-
 
107997
      case SUCCESS:
-
 
107998
        if (value == null) {
-
 
107999
          unsetSuccess();
-
 
108000
        } else {
-
 
108001
          setSuccess((Boolean)value);
-
 
108002
        }
-
 
108003
        break;
-
 
108004
 
106499
      case EX:
108005
      case EX:
106500
        if (value == null) {
108006
        if (value == null) {
106501
          unsetEx();
108007
          unsetEx();
106502
        } else {
108008
        } else {
106503
          setEx((TransactionServiceException)value);
108009
          setEx((TransactionServiceException)value);
Line 106507... Line 108013...
106507
      }
108013
      }
106508
    }
108014
    }
106509
 
108015
 
106510
    public Object getFieldValue(_Fields field) {
108016
    public Object getFieldValue(_Fields field) {
106511
      switch (field) {
108017
      switch (field) {
-
 
108018
      case SUCCESS:
-
 
108019
        return Boolean.valueOf(isSuccess());
-
 
108020
 
106512
      case EX:
108021
      case EX:
106513
        return getEx();
108022
        return getEx();
106514
 
108023
 
106515
      }
108024
      }
106516
      throw new IllegalStateException();
108025
      throw new IllegalStateException();
Line 106521... Line 108030...
106521
      if (field == null) {
108030
      if (field == null) {
106522
        throw new IllegalArgumentException();
108031
        throw new IllegalArgumentException();
106523
      }
108032
      }
106524
 
108033
 
106525
      switch (field) {
108034
      switch (field) {
-
 
108035
      case SUCCESS:
-
 
108036
        return isSetSuccess();
106526
      case EX:
108037
      case EX:
106527
        return isSetEx();
108038
        return isSetEx();
106528
      }
108039
      }
106529
      throw new IllegalStateException();
108040
      throw new IllegalStateException();
106530
    }
108041
    }
Line 106540... Line 108051...
106540
 
108051
 
106541
    public boolean equals(updateRechargeOrderStatus_result that) {
108052
    public boolean equals(updateRechargeOrderStatus_result that) {
106542
      if (that == null)
108053
      if (that == null)
106543
        return false;
108054
        return false;
106544
 
108055
 
-
 
108056
      boolean this_present_success = true;
-
 
108057
      boolean that_present_success = true;
-
 
108058
      if (this_present_success || that_present_success) {
-
 
108059
        if (!(this_present_success && that_present_success))
-
 
108060
          return false;
-
 
108061
        if (this.success != that.success)
-
 
108062
          return false;
-
 
108063
      }
-
 
108064
 
106545
      boolean this_present_ex = true && this.isSetEx();
108065
      boolean this_present_ex = true && this.isSetEx();
106546
      boolean that_present_ex = true && that.isSetEx();
108066
      boolean that_present_ex = true && that.isSetEx();
106547
      if (this_present_ex || that_present_ex) {
108067
      if (this_present_ex || that_present_ex) {
106548
        if (!(this_present_ex && that_present_ex))
108068
        if (!(this_present_ex && that_present_ex))
106549
          return false;
108069
          return false;
Line 106565... Line 108085...
106565
      }
108085
      }
106566
 
108086
 
106567
      int lastComparison = 0;
108087
      int lastComparison = 0;
106568
      updateRechargeOrderStatus_result typedOther = (updateRechargeOrderStatus_result)other;
108088
      updateRechargeOrderStatus_result typedOther = (updateRechargeOrderStatus_result)other;
106569
 
108089
 
-
 
108090
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
108091
      if (lastComparison != 0) {
-
 
108092
        return lastComparison;
-
 
108093
      }
-
 
108094
      if (isSetSuccess()) {
-
 
108095
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
108096
        if (lastComparison != 0) {
-
 
108097
          return lastComparison;
-
 
108098
        }
-
 
108099
      }
106570
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
108100
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
106571
      if (lastComparison != 0) {
108101
      if (lastComparison != 0) {
106572
        return lastComparison;
108102
        return lastComparison;
106573
      }
108103
      }
106574
      if (isSetEx()) {
108104
      if (isSetEx()) {
Line 106592... Line 108122...
106592
        field = iprot.readFieldBegin();
108122
        field = iprot.readFieldBegin();
106593
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
108123
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
106594
          break;
108124
          break;
106595
        }
108125
        }
106596
        switch (field.id) {
108126
        switch (field.id) {
-
 
108127
          case 0: // SUCCESS
-
 
108128
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
108129
              this.success = iprot.readBool();
-
 
108130
              setSuccessIsSet(true);
-
 
108131
            } else { 
-
 
108132
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
108133
            }
-
 
108134
            break;
106597
          case 1: // EX
108135
          case 1: // EX
106598
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
108136
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
106599
              this.ex = new TransactionServiceException();
108137
              this.ex = new TransactionServiceException();
106600
              this.ex.read(iprot);
108138
              this.ex.read(iprot);
106601
            } else { 
108139
            } else { 
Line 106612... Line 108150...
106612
    }
108150
    }
106613
 
108151
 
106614
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
108152
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
106615
      oprot.writeStructBegin(STRUCT_DESC);
108153
      oprot.writeStructBegin(STRUCT_DESC);
106616
 
108154
 
-
 
108155
      if (this.isSetSuccess()) {
-
 
108156
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
108157
        oprot.writeBool(this.success);
-
 
108158
        oprot.writeFieldEnd();
106617
      if (this.isSetEx()) {
108159
      } else if (this.isSetEx()) {
106618
        oprot.writeFieldBegin(EX_FIELD_DESC);
108160
        oprot.writeFieldBegin(EX_FIELD_DESC);
106619
        this.ex.write(oprot);
108161
        this.ex.write(oprot);
106620
        oprot.writeFieldEnd();
108162
        oprot.writeFieldEnd();
106621
      }
108163
      }
106622
      oprot.writeFieldStop();
108164
      oprot.writeFieldStop();
Line 106626... Line 108168...
106626
    @Override
108168
    @Override
106627
    public String toString() {
108169
    public String toString() {
106628
      StringBuilder sb = new StringBuilder("updateRechargeOrderStatus_result(");
108170
      StringBuilder sb = new StringBuilder("updateRechargeOrderStatus_result(");
106629
      boolean first = true;
108171
      boolean first = true;
106630
 
108172
 
-
 
108173
      sb.append("success:");
-
 
108174
      sb.append(this.success);
-
 
108175
      first = false;
-
 
108176
      if (!first) sb.append(", ");
106631
      sb.append("ex:");
108177
      sb.append("ex:");
106632
      if (this.ex == null) {
108178
      if (this.ex == null) {
106633
        sb.append("null");
108179
        sb.append("null");
106634
      } else {
108180
      } else {
106635
        sb.append(this.ex);
108181
        sb.append(this.ex);
Line 106662... Line 108208...
106662
  }
108208
  }
106663
 
108209
 
106664
  public static class activateRechargeTxn_args implements org.apache.thrift.TBase<activateRechargeTxn_args, activateRechargeTxn_args._Fields>, java.io.Serializable, Cloneable   {
108210
  public static class activateRechargeTxn_args implements org.apache.thrift.TBase<activateRechargeTxn_args, activateRechargeTxn_args._Fields>, java.io.Serializable, Cloneable   {
106665
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("activateRechargeTxn_args");
108211
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("activateRechargeTxn_args");
106666
 
108212
 
106667
    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);
108213
    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);
106668
 
108214
 
106669
    private List<RechargeCoupon> rechargeCoupons; // required
108215
    private long rechargeOrderId; // required
106670
 
108216
 
106671
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
108217
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
106672
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
108218
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
106673
      RECHARGE_COUPONS((short)1, "rechargeCoupons");
108219
      RECHARGE_ORDER_ID((short)1, "rechargeOrderId");
106674
 
108220
 
106675
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
108221
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
106676
 
108222
 
106677
      static {
108223
      static {
106678
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
108224
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 106683... Line 108229...
106683
      /**
108229
      /**
106684
       * Find the _Fields constant that matches fieldId, or null if its not found.
108230
       * Find the _Fields constant that matches fieldId, or null if its not found.
106685
       */
108231
       */
106686
      public static _Fields findByThriftId(int fieldId) {
108232
      public static _Fields findByThriftId(int fieldId) {
106687
        switch(fieldId) {
108233
        switch(fieldId) {
106688
          case 1: // RECHARGE_COUPONS
108234
          case 1: // RECHARGE_ORDER_ID
106689
            return RECHARGE_COUPONS;
108235
            return RECHARGE_ORDER_ID;
106690
          default:
108236
          default:
106691
            return null;
108237
            return null;
106692
        }
108238
        }
106693
      }
108239
      }
106694
 
108240
 
Line 106725... Line 108271...
106725
        return _fieldName;
108271
        return _fieldName;
106726
      }
108272
      }
106727
    }
108273
    }
106728
 
108274
 
106729
    // isset id assignments
108275
    // isset id assignments
-
 
108276
    private static final int __RECHARGEORDERID_ISSET_ID = 0;
-
 
108277
    private BitSet __isset_bit_vector = new BitSet(1);
106730
 
108278
 
106731
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
108279
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
106732
    static {
108280
    static {
106733
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
108281
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
106734
      tmpMap.put(_Fields.RECHARGE_COUPONS, new org.apache.thrift.meta_data.FieldMetaData("rechargeCoupons", org.apache.thrift.TFieldRequirementType.DEFAULT, 
108282
      tmpMap.put(_Fields.RECHARGE_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("rechargeOrderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
106735
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
108283
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
106736
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, RechargeCoupon.class))));
-
 
106737
      metaDataMap = Collections.unmodifiableMap(tmpMap);
108284
      metaDataMap = Collections.unmodifiableMap(tmpMap);
106738
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(activateRechargeTxn_args.class, metaDataMap);
108285
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(activateRechargeTxn_args.class, metaDataMap);
106739
    }
108286
    }
106740
 
108287
 
106741
    public activateRechargeTxn_args() {
108288
    public activateRechargeTxn_args() {
106742
    }
108289
    }
106743
 
108290
 
106744
    public activateRechargeTxn_args(
108291
    public activateRechargeTxn_args(
106745
      List<RechargeCoupon> rechargeCoupons)
108292
      long rechargeOrderId)
106746
    {
108293
    {
106747
      this();
108294
      this();
106748
      this.rechargeCoupons = rechargeCoupons;
108295
      this.rechargeOrderId = rechargeOrderId;
-
 
108296
      setRechargeOrderIdIsSet(true);
106749
    }
108297
    }
106750
 
108298
 
106751
    /**
108299
    /**
106752
     * Performs a deep copy on <i>other</i>.
108300
     * Performs a deep copy on <i>other</i>.
106753
     */
108301
     */
106754
    public activateRechargeTxn_args(activateRechargeTxn_args other) {
108302
    public activateRechargeTxn_args(activateRechargeTxn_args other) {
106755
      if (other.isSetRechargeCoupons()) {
108303
      __isset_bit_vector.clear();
106756
        List<RechargeCoupon> __this__rechargeCoupons = new ArrayList<RechargeCoupon>();
-
 
106757
        for (RechargeCoupon other_element : other.rechargeCoupons) {
108304
      __isset_bit_vector.or(other.__isset_bit_vector);
106758
          __this__rechargeCoupons.add(new RechargeCoupon(other_element));
-
 
106759
        }
-
 
106760
        this.rechargeCoupons = __this__rechargeCoupons;
108305
      this.rechargeOrderId = other.rechargeOrderId;
106761
      }
-
 
106762
    }
108306
    }
106763
 
108307
 
106764
    public activateRechargeTxn_args deepCopy() {
108308
    public activateRechargeTxn_args deepCopy() {
106765
      return new activateRechargeTxn_args(this);
108309
      return new activateRechargeTxn_args(this);
106766
    }
108310
    }
106767
 
108311
 
106768
    @Override
108312
    @Override
106769
    public void clear() {
108313
    public void clear() {
106770
      this.rechargeCoupons = null;
108314
      setRechargeOrderIdIsSet(false);
106771
    }
-
 
106772
 
-
 
106773
    public int getRechargeCouponsSize() {
-
 
106774
      return (this.rechargeCoupons == null) ? 0 : this.rechargeCoupons.size();
-
 
106775
    }
-
 
106776
 
-
 
106777
    public java.util.Iterator<RechargeCoupon> getRechargeCouponsIterator() {
-
 
106778
      return (this.rechargeCoupons == null) ? null : this.rechargeCoupons.iterator();
-
 
106779
    }
-
 
106780
 
-
 
106781
    public void addToRechargeCoupons(RechargeCoupon elem) {
-
 
106782
      if (this.rechargeCoupons == null) {
-
 
106783
        this.rechargeCoupons = new ArrayList<RechargeCoupon>();
-
 
106784
      }
-
 
106785
      this.rechargeCoupons.add(elem);
108315
      this.rechargeOrderId = 0;
106786
    }
108316
    }
106787
 
108317
 
106788
    public List<RechargeCoupon> getRechargeCoupons() {
108318
    public long getRechargeOrderId() {
106789
      return this.rechargeCoupons;
108319
      return this.rechargeOrderId;
106790
    }
108320
    }
106791
 
108321
 
106792
    public void setRechargeCoupons(List<RechargeCoupon> rechargeCoupons) {
108322
    public void setRechargeOrderId(long rechargeOrderId) {
106793
      this.rechargeCoupons = rechargeCoupons;
108323
      this.rechargeOrderId = rechargeOrderId;
-
 
108324
      setRechargeOrderIdIsSet(true);
106794
    }
108325
    }
106795
 
108326
 
106796
    public void unsetRechargeCoupons() {
108327
    public void unsetRechargeOrderId() {
106797
      this.rechargeCoupons = null;
108328
      __isset_bit_vector.clear(__RECHARGEORDERID_ISSET_ID);
106798
    }
108329
    }
106799
 
108330
 
106800
    /** Returns true if field rechargeCoupons is set (has been assigned a value) and false otherwise */
108331
    /** Returns true if field rechargeOrderId is set (has been assigned a value) and false otherwise */
106801
    public boolean isSetRechargeCoupons() {
108332
    public boolean isSetRechargeOrderId() {
106802
      return this.rechargeCoupons != null;
108333
      return __isset_bit_vector.get(__RECHARGEORDERID_ISSET_ID);
106803
    }
108334
    }
106804
 
108335
 
106805
    public void setRechargeCouponsIsSet(boolean value) {
108336
    public void setRechargeOrderIdIsSet(boolean value) {
106806
      if (!value) {
-
 
106807
        this.rechargeCoupons = null;
108337
      __isset_bit_vector.set(__RECHARGEORDERID_ISSET_ID, value);
106808
      }
-
 
106809
    }
108338
    }
106810
 
108339
 
106811
    public void setFieldValue(_Fields field, Object value) {
108340
    public void setFieldValue(_Fields field, Object value) {
106812
      switch (field) {
108341
      switch (field) {
106813
      case RECHARGE_COUPONS:
108342
      case RECHARGE_ORDER_ID:
106814
        if (value == null) {
108343
        if (value == null) {
106815
          unsetRechargeCoupons();
108344
          unsetRechargeOrderId();
106816
        } else {
108345
        } else {
106817
          setRechargeCoupons((List<RechargeCoupon>)value);
108346
          setRechargeOrderId((Long)value);
106818
        }
108347
        }
106819
        break;
108348
        break;
106820
 
108349
 
106821
      }
108350
      }
106822
    }
108351
    }
106823
 
108352
 
106824
    public Object getFieldValue(_Fields field) {
108353
    public Object getFieldValue(_Fields field) {
106825
      switch (field) {
108354
      switch (field) {
106826
      case RECHARGE_COUPONS:
108355
      case RECHARGE_ORDER_ID:
106827
        return getRechargeCoupons();
108356
        return Long.valueOf(getRechargeOrderId());
106828
 
108357
 
106829
      }
108358
      }
106830
      throw new IllegalStateException();
108359
      throw new IllegalStateException();
106831
    }
108360
    }
106832
 
108361
 
Line 106835... Line 108364...
106835
      if (field == null) {
108364
      if (field == null) {
106836
        throw new IllegalArgumentException();
108365
        throw new IllegalArgumentException();
106837
      }
108366
      }
106838
 
108367
 
106839
      switch (field) {
108368
      switch (field) {
106840
      case RECHARGE_COUPONS:
108369
      case RECHARGE_ORDER_ID:
106841
        return isSetRechargeCoupons();
108370
        return isSetRechargeOrderId();
106842
      }
108371
      }
106843
      throw new IllegalStateException();
108372
      throw new IllegalStateException();
106844
    }
108373
    }
106845
 
108374
 
106846
    @Override
108375
    @Override
Line 106854... Line 108383...
106854
 
108383
 
106855
    public boolean equals(activateRechargeTxn_args that) {
108384
    public boolean equals(activateRechargeTxn_args that) {
106856
      if (that == null)
108385
      if (that == null)
106857
        return false;
108386
        return false;
106858
 
108387
 
106859
      boolean this_present_rechargeCoupons = true && this.isSetRechargeCoupons();
108388
      boolean this_present_rechargeOrderId = true;
106860
      boolean that_present_rechargeCoupons = true && that.isSetRechargeCoupons();
108389
      boolean that_present_rechargeOrderId = true;
106861
      if (this_present_rechargeCoupons || that_present_rechargeCoupons) {
108390
      if (this_present_rechargeOrderId || that_present_rechargeOrderId) {
106862
        if (!(this_present_rechargeCoupons && that_present_rechargeCoupons))
108391
        if (!(this_present_rechargeOrderId && that_present_rechargeOrderId))
106863
          return false;
108392
          return false;
106864
        if (!this.rechargeCoupons.equals(that.rechargeCoupons))
108393
        if (this.rechargeOrderId != that.rechargeOrderId)
106865
          return false;
108394
          return false;
106866
      }
108395
      }
106867
 
108396
 
106868
      return true;
108397
      return true;
106869
    }
108398
    }
Line 106879... Line 108408...
106879
      }
108408
      }
106880
 
108409
 
106881
      int lastComparison = 0;
108410
      int lastComparison = 0;
106882
      activateRechargeTxn_args typedOther = (activateRechargeTxn_args)other;
108411
      activateRechargeTxn_args typedOther = (activateRechargeTxn_args)other;
106883
 
108412
 
106884
      lastComparison = Boolean.valueOf(isSetRechargeCoupons()).compareTo(typedOther.isSetRechargeCoupons());
108413
      lastComparison = Boolean.valueOf(isSetRechargeOrderId()).compareTo(typedOther.isSetRechargeOrderId());
106885
      if (lastComparison != 0) {
108414
      if (lastComparison != 0) {
106886
        return lastComparison;
108415
        return lastComparison;
106887
      }
108416
      }
106888
      if (isSetRechargeCoupons()) {
108417
      if (isSetRechargeOrderId()) {
106889
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rechargeCoupons, typedOther.rechargeCoupons);
108418
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rechargeOrderId, typedOther.rechargeOrderId);
106890
        if (lastComparison != 0) {
108419
        if (lastComparison != 0) {
106891
          return lastComparison;
108420
          return lastComparison;
106892
        }
108421
        }
106893
      }
108422
      }
106894
      return 0;
108423
      return 0;
Line 106906... Line 108435...
106906
        field = iprot.readFieldBegin();
108435
        field = iprot.readFieldBegin();
106907
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
108436
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
106908
          break;
108437
          break;
106909
        }
108438
        }
106910
        switch (field.id) {
108439
        switch (field.id) {
106911
          case 1: // RECHARGE_COUPONS
108440
          case 1: // RECHARGE_ORDER_ID
106912
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
108441
            if (field.type == org.apache.thrift.protocol.TType.I64) {
106913
              {
-
 
106914
                org.apache.thrift.protocol.TList _list352 = iprot.readListBegin();
-
 
106915
                this.rechargeCoupons = new ArrayList<RechargeCoupon>(_list352.size);
-
 
106916
                for (int _i353 = 0; _i353 < _list352.size; ++_i353)
-
 
106917
                {
-
 
106918
                  RechargeCoupon _elem354; // required
-
 
106919
                  _elem354 = new RechargeCoupon();
-
 
106920
                  _elem354.read(iprot);
-
 
106921
                  this.rechargeCoupons.add(_elem354);
108442
              this.rechargeOrderId = iprot.readI64();
106922
                }
-
 
106923
                iprot.readListEnd();
108443
              setRechargeOrderIdIsSet(true);
106924
              }
-
 
106925
            } else { 
108444
            } else { 
106926
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
108445
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
106927
            }
108446
            }
106928
            break;
108447
            break;
106929
          default:
108448
          default:
Line 106937... Line 108456...
106937
 
108456
 
106938
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
108457
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
106939
      validate();
108458
      validate();
106940
 
108459
 
106941
      oprot.writeStructBegin(STRUCT_DESC);
108460
      oprot.writeStructBegin(STRUCT_DESC);
106942
      if (this.rechargeCoupons != null) {
-
 
106943
        oprot.writeFieldBegin(RECHARGE_COUPONS_FIELD_DESC);
108461
      oprot.writeFieldBegin(RECHARGE_ORDER_ID_FIELD_DESC);
106944
        {
-
 
106945
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.rechargeCoupons.size()));
-
 
106946
          for (RechargeCoupon _iter355 : this.rechargeCoupons)
-
 
106947
          {
-
 
106948
            _iter355.write(oprot);
-
 
106949
          }
-
 
106950
          oprot.writeListEnd();
108462
      oprot.writeI64(this.rechargeOrderId);
106951
        }
-
 
106952
        oprot.writeFieldEnd();
108463
      oprot.writeFieldEnd();
106953
      }
-
 
106954
      oprot.writeFieldStop();
108464
      oprot.writeFieldStop();
106955
      oprot.writeStructEnd();
108465
      oprot.writeStructEnd();
106956
    }
108466
    }
106957
 
108467
 
106958
    @Override
108468
    @Override
106959
    public String toString() {
108469
    public String toString() {
106960
      StringBuilder sb = new StringBuilder("activateRechargeTxn_args(");
108470
      StringBuilder sb = new StringBuilder("activateRechargeTxn_args(");
106961
      boolean first = true;
108471
      boolean first = true;
106962
 
108472
 
106963
      sb.append("rechargeCoupons:");
108473
      sb.append("rechargeOrderId:");
106964
      if (this.rechargeCoupons == null) {
-
 
106965
        sb.append("null");
-
 
106966
      } else {
-
 
106967
        sb.append(this.rechargeCoupons);
108474
      sb.append(this.rechargeOrderId);
106968
      }
-
 
106969
      first = false;
108475
      first = false;
106970
      sb.append(")");
108476
      sb.append(")");
106971
      return sb.toString();
108477
      return sb.toString();
106972
    }
108478
    }
106973
 
108479
 
Line 106983... Line 108489...
106983
      }
108489
      }
106984
    }
108490
    }
106985
 
108491
 
106986
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
108492
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
106987
      try {
108493
      try {
-
 
108494
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
108495
        __isset_bit_vector = new BitSet(1);
106988
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
108496
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
106989
      } catch (org.apache.thrift.TException te) {
108497
      } catch (org.apache.thrift.TException te) {
106990
        throw new java.io.IOException(te);
108498
        throw new java.io.IOException(te);
106991
      }
108499
      }
106992
    }
108500
    }
Line 106994... Line 108502...
106994
  }
108502
  }
106995
 
108503
 
106996
  public static class activateRechargeTxn_result implements org.apache.thrift.TBase<activateRechargeTxn_result, activateRechargeTxn_result._Fields>, java.io.Serializable, Cloneable   {
108504
  public static class activateRechargeTxn_result implements org.apache.thrift.TBase<activateRechargeTxn_result, activateRechargeTxn_result._Fields>, java.io.Serializable, Cloneable   {
106997
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("activateRechargeTxn_result");
108505
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("activateRechargeTxn_result");
106998
 
108506
 
106999
    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);
108507
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
107000
    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);
108508
    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);
107001
 
108509
 
107002
    private RechargeResponse success; // required
108510
    private boolean success; // required
107003
    private TransactionServiceException ex; // required
108511
    private TransactionServiceException ex; // required
107004
 
108512
 
107005
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
108513
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
107006
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
108514
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
107007
      SUCCESS((short)0, "success"),
108515
      SUCCESS((short)0, "success"),
Line 107062... Line 108570...
107062
        return _fieldName;
108570
        return _fieldName;
107063
      }
108571
      }
107064
    }
108572
    }
107065
 
108573
 
107066
    // isset id assignments
108574
    // isset id assignments
-
 
108575
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
108576
    private BitSet __isset_bit_vector = new BitSet(1);
107067
 
108577
 
107068
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
108578
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
107069
    static {
108579
    static {
107070
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
108580
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
107071
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
108581
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
107072
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, RechargeResponse.class)));
108582
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
107073
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
108583
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
107074
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
108584
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
107075
      metaDataMap = Collections.unmodifiableMap(tmpMap);
108585
      metaDataMap = Collections.unmodifiableMap(tmpMap);
107076
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(activateRechargeTxn_result.class, metaDataMap);
108586
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(activateRechargeTxn_result.class, metaDataMap);
107077
    }
108587
    }
107078
 
108588
 
107079
    public activateRechargeTxn_result() {
108589
    public activateRechargeTxn_result() {
107080
    }
108590
    }
107081
 
108591
 
107082
    public activateRechargeTxn_result(
108592
    public activateRechargeTxn_result(
107083
      RechargeResponse success,
108593
      boolean success,
107084
      TransactionServiceException ex)
108594
      TransactionServiceException ex)
107085
    {
108595
    {
107086
      this();
108596
      this();
107087
      this.success = success;
108597
      this.success = success;
-
 
108598
      setSuccessIsSet(true);
107088
      this.ex = ex;
108599
      this.ex = ex;
107089
    }
108600
    }
107090
 
108601
 
107091
    /**
108602
    /**
107092
     * Performs a deep copy on <i>other</i>.
108603
     * Performs a deep copy on <i>other</i>.
107093
     */
108604
     */
107094
    public activateRechargeTxn_result(activateRechargeTxn_result other) {
108605
    public activateRechargeTxn_result(activateRechargeTxn_result other) {
107095
      if (other.isSetSuccess()) {
108606
      __isset_bit_vector.clear();
107096
        this.success = new RechargeResponse(other.success);
108607
      __isset_bit_vector.or(other.__isset_bit_vector);
107097
      }
108608
      this.success = other.success;
107098
      if (other.isSetEx()) {
108609
      if (other.isSetEx()) {
107099
        this.ex = new TransactionServiceException(other.ex);
108610
        this.ex = new TransactionServiceException(other.ex);
107100
      }
108611
      }
107101
    }
108612
    }
107102
 
108613
 
Line 107104... Line 108615...
107104
      return new activateRechargeTxn_result(this);
108615
      return new activateRechargeTxn_result(this);
107105
    }
108616
    }
107106
 
108617
 
107107
    @Override
108618
    @Override
107108
    public void clear() {
108619
    public void clear() {
-
 
108620
      setSuccessIsSet(false);
107109
      this.success = null;
108621
      this.success = false;
107110
      this.ex = null;
108622
      this.ex = null;
107111
    }
108623
    }
107112
 
108624
 
107113
    public RechargeResponse getSuccess() {
108625
    public boolean isSuccess() {
107114
      return this.success;
108626
      return this.success;
107115
    }
108627
    }
107116
 
108628
 
107117
    public void setSuccess(RechargeResponse success) {
108629
    public void setSuccess(boolean success) {
107118
      this.success = success;
108630
      this.success = success;
-
 
108631
      setSuccessIsSet(true);
107119
    }
108632
    }
107120
 
108633
 
107121
    public void unsetSuccess() {
108634
    public void unsetSuccess() {
107122
      this.success = null;
108635
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
107123
    }
108636
    }
107124
 
108637
 
107125
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
108638
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
107126
    public boolean isSetSuccess() {
108639
    public boolean isSetSuccess() {
107127
      return this.success != null;
108640
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
107128
    }
108641
    }
107129
 
108642
 
107130
    public void setSuccessIsSet(boolean value) {
108643
    public void setSuccessIsSet(boolean value) {
107131
      if (!value) {
-
 
107132
        this.success = null;
108644
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
107133
      }
-
 
107134
    }
108645
    }
107135
 
108646
 
107136
    public TransactionServiceException getEx() {
108647
    public TransactionServiceException getEx() {
107137
      return this.ex;
108648
      return this.ex;
107138
    }
108649
    }
Line 107160... Line 108671...
107160
      switch (field) {
108671
      switch (field) {
107161
      case SUCCESS:
108672
      case SUCCESS:
107162
        if (value == null) {
108673
        if (value == null) {
107163
          unsetSuccess();
108674
          unsetSuccess();
107164
        } else {
108675
        } else {
107165
          setSuccess((RechargeResponse)value);
108676
          setSuccess((Boolean)value);
107166
        }
108677
        }
107167
        break;
108678
        break;
107168
 
108679
 
107169
      case EX:
108680
      case EX:
107170
        if (value == null) {
108681
        if (value == null) {
Line 107178... Line 108689...
107178
    }
108689
    }
107179
 
108690
 
107180
    public Object getFieldValue(_Fields field) {
108691
    public Object getFieldValue(_Fields field) {
107181
      switch (field) {
108692
      switch (field) {
107182
      case SUCCESS:
108693
      case SUCCESS:
107183
        return getSuccess();
108694
        return Boolean.valueOf(isSuccess());
107184
 
108695
 
107185
      case EX:
108696
      case EX:
107186
        return getEx();
108697
        return getEx();
107187
 
108698
 
107188
      }
108699
      }
Line 107215... Line 108726...
107215
 
108726
 
107216
    public boolean equals(activateRechargeTxn_result that) {
108727
    public boolean equals(activateRechargeTxn_result that) {
107217
      if (that == null)
108728
      if (that == null)
107218
        return false;
108729
        return false;
107219
 
108730
 
107220
      boolean this_present_success = true && this.isSetSuccess();
108731
      boolean this_present_success = true;
107221
      boolean that_present_success = true && that.isSetSuccess();
108732
      boolean that_present_success = true;
107222
      if (this_present_success || that_present_success) {
108733
      if (this_present_success || that_present_success) {
107223
        if (!(this_present_success && that_present_success))
108734
        if (!(this_present_success && that_present_success))
107224
          return false;
108735
          return false;
107225
        if (!this.success.equals(that.success))
108736
        if (this.success != that.success)
107226
          return false;
108737
          return false;
107227
      }
108738
      }
107228
 
108739
 
107229
      boolean this_present_ex = true && this.isSetEx();
108740
      boolean this_present_ex = true && this.isSetEx();
107230
      boolean that_present_ex = true && that.isSetEx();
108741
      boolean that_present_ex = true && that.isSetEx();
Line 107287... Line 108798...
107287
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
108798
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
107288
          break;
108799
          break;
107289
        }
108800
        }
107290
        switch (field.id) {
108801
        switch (field.id) {
107291
          case 0: // SUCCESS
108802
          case 0: // SUCCESS
107292
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
108803
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
107293
              this.success = new RechargeResponse();
108804
              this.success = iprot.readBool();
107294
              this.success.read(iprot);
108805
              setSuccessIsSet(true);
107295
            } else { 
108806
            } else { 
107296
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
108807
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
107297
            }
108808
            }
107298
            break;
108809
            break;
107299
          case 1: // EX
108810
          case 1: // EX
Line 107316... Line 108827...
107316
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
108827
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
107317
      oprot.writeStructBegin(STRUCT_DESC);
108828
      oprot.writeStructBegin(STRUCT_DESC);
107318
 
108829
 
107319
      if (this.isSetSuccess()) {
108830
      if (this.isSetSuccess()) {
107320
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
108831
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
107321
        this.success.write(oprot);
108832
        oprot.writeBool(this.success);
107322
        oprot.writeFieldEnd();
108833
        oprot.writeFieldEnd();
107323
      } else if (this.isSetEx()) {
108834
      } else if (this.isSetEx()) {
107324
        oprot.writeFieldBegin(EX_FIELD_DESC);
108835
        oprot.writeFieldBegin(EX_FIELD_DESC);
107325
        this.ex.write(oprot);
108836
        this.ex.write(oprot);
107326
        oprot.writeFieldEnd();
108837
        oprot.writeFieldEnd();
Line 107333... Line 108844...
107333
    public String toString() {
108844
    public String toString() {
107334
      StringBuilder sb = new StringBuilder("activateRechargeTxn_result(");
108845
      StringBuilder sb = new StringBuilder("activateRechargeTxn_result(");
107335
      boolean first = true;
108846
      boolean first = true;
107336
 
108847
 
107337
      sb.append("success:");
108848
      sb.append("success:");
107338
      if (this.success == null) {
-
 
107339
        sb.append("null");
-
 
107340
      } else {
-
 
107341
        sb.append(this.success);
108849
      sb.append(this.success);
107342
      }
-
 
107343
      first = false;
108850
      first = false;
107344
      if (!first) sb.append(", ");
108851
      if (!first) sb.append(", ");
107345
      sb.append("ex:");
108852
      sb.append("ex:");
107346
      if (this.ex == null) {
108853
      if (this.ex == null) {
107347
        sb.append("null");
108854
        sb.append("null");
Line 107373... Line 108880...
107373
      }
108880
      }
107374
    }
108881
    }
107375
 
108882
 
107376
  }
108883
  }
107377
 
108884
 
107378
  public static class getRechargeOrders_args implements org.apache.thrift.TBase<getRechargeOrders_args, getRechargeOrders_args._Fields>, java.io.Serializable, Cloneable   {
108885
  public static class getUserWallet_args implements org.apache.thrift.TBase<getUserWallet_args, getUserWallet_args._Fields>, java.io.Serializable, Cloneable   {
107379
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeOrders_args");
108886
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserWallet_args");
107380
 
108887
 
107381
    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);
108888
    private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)1);
107382
 
108889
 
107383
    private long customerId; // required
108890
    private long userId; // required
107384
 
108891
 
107385
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
108892
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
107386
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
108893
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
107387
      CUSTOMER_ID((short)1, "customerId");
108894
      USER_ID((short)1, "userId");
107388
 
108895
 
107389
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
108896
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
107390
 
108897
 
107391
      static {
108898
      static {
107392
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
108899
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 107397... Line 108904...
107397
      /**
108904
      /**
107398
       * Find the _Fields constant that matches fieldId, or null if its not found.
108905
       * Find the _Fields constant that matches fieldId, or null if its not found.
107399
       */
108906
       */
107400
      public static _Fields findByThriftId(int fieldId) {
108907
      public static _Fields findByThriftId(int fieldId) {
107401
        switch(fieldId) {
108908
        switch(fieldId) {
107402
          case 1: // CUSTOMER_ID
108909
          case 1: // USER_ID
107403
            return CUSTOMER_ID;
108910
            return USER_ID;
107404
          default:
108911
          default:
107405
            return null;
108912
            return null;
107406
        }
108913
        }
107407
      }
108914
      }
107408
 
108915
 
Line 107439... Line 108946...
107439
        return _fieldName;
108946
        return _fieldName;
107440
      }
108947
      }
107441
    }
108948
    }
107442
 
108949
 
107443
    // isset id assignments
108950
    // isset id assignments
107444
    private static final int __CUSTOMERID_ISSET_ID = 0;
108951
    private static final int __USERID_ISSET_ID = 0;
107445
    private BitSet __isset_bit_vector = new BitSet(1);
108952
    private BitSet __isset_bit_vector = new BitSet(1);
107446
 
108953
 
107447
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
108954
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
107448
    static {
108955
    static {
107449
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
108956
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
107450
      tmpMap.put(_Fields.CUSTOMER_ID, new org.apache.thrift.meta_data.FieldMetaData("customerId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
108957
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
107451
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
108958
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
107452
      metaDataMap = Collections.unmodifiableMap(tmpMap);
108959
      metaDataMap = Collections.unmodifiableMap(tmpMap);
107453
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeOrders_args.class, metaDataMap);
108960
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserWallet_args.class, metaDataMap);
107454
    }
108961
    }
107455
 
108962
 
107456
    public getRechargeOrders_args() {
108963
    public getUserWallet_args() {
107457
    }
108964
    }
107458
 
108965
 
107459
    public getRechargeOrders_args(
108966
    public getUserWallet_args(
107460
      long customerId)
108967
      long userId)
107461
    {
108968
    {
107462
      this();
108969
      this();
107463
      this.customerId = customerId;
108970
      this.userId = userId;
107464
      setCustomerIdIsSet(true);
108971
      setUserIdIsSet(true);
107465
    }
108972
    }
107466
 
108973
 
107467
    /**
108974
    /**
107468
     * Performs a deep copy on <i>other</i>.
108975
     * Performs a deep copy on <i>other</i>.
107469
     */
108976
     */
107470
    public getRechargeOrders_args(getRechargeOrders_args other) {
108977
    public getUserWallet_args(getUserWallet_args other) {
107471
      __isset_bit_vector.clear();
108978
      __isset_bit_vector.clear();
107472
      __isset_bit_vector.or(other.__isset_bit_vector);
108979
      __isset_bit_vector.or(other.__isset_bit_vector);
107473
      this.customerId = other.customerId;
108980
      this.userId = other.userId;
107474
    }
108981
    }
107475
 
108982
 
107476
    public getRechargeOrders_args deepCopy() {
108983
    public getUserWallet_args deepCopy() {
107477
      return new getRechargeOrders_args(this);
108984
      return new getUserWallet_args(this);
107478
    }
108985
    }
107479
 
108986
 
107480
    @Override
108987
    @Override
107481
    public void clear() {
108988
    public void clear() {
107482
      setCustomerIdIsSet(false);
108989
      setUserIdIsSet(false);
107483
      this.customerId = 0;
108990
      this.userId = 0;
107484
    }
108991
    }
107485
 
108992
 
107486
    public long getCustomerId() {
108993
    public long getUserId() {
107487
      return this.customerId;
108994
      return this.userId;
107488
    }
108995
    }
107489
 
108996
 
107490
    public void setCustomerId(long customerId) {
108997
    public void setUserId(long userId) {
107491
      this.customerId = customerId;
108998
      this.userId = userId;
107492
      setCustomerIdIsSet(true);
108999
      setUserIdIsSet(true);
107493
    }
109000
    }
107494
 
109001
 
107495
    public void unsetCustomerId() {
109002
    public void unsetUserId() {
107496
      __isset_bit_vector.clear(__CUSTOMERID_ISSET_ID);
109003
      __isset_bit_vector.clear(__USERID_ISSET_ID);
107497
    }
109004
    }
107498
 
109005
 
107499
    /** Returns true if field customerId is set (has been assigned a value) and false otherwise */
109006
    /** Returns true if field userId is set (has been assigned a value) and false otherwise */
107500
    public boolean isSetCustomerId() {
109007
    public boolean isSetUserId() {
107501
      return __isset_bit_vector.get(__CUSTOMERID_ISSET_ID);
109008
      return __isset_bit_vector.get(__USERID_ISSET_ID);
107502
    }
109009
    }
107503
 
109010
 
107504
    public void setCustomerIdIsSet(boolean value) {
109011
    public void setUserIdIsSet(boolean value) {
107505
      __isset_bit_vector.set(__CUSTOMERID_ISSET_ID, value);
109012
      __isset_bit_vector.set(__USERID_ISSET_ID, value);
107506
    }
109013
    }
107507
 
109014
 
107508
    public void setFieldValue(_Fields field, Object value) {
109015
    public void setFieldValue(_Fields field, Object value) {
107509
      switch (field) {
109016
      switch (field) {
107510
      case CUSTOMER_ID:
109017
      case USER_ID:
107511
        if (value == null) {
109018
        if (value == null) {
107512
          unsetCustomerId();
109019
          unsetUserId();
107513
        } else {
109020
        } else {
107514
          setCustomerId((Long)value);
109021
          setUserId((Long)value);
107515
        }
109022
        }
107516
        break;
109023
        break;
107517
 
109024
 
107518
      }
109025
      }
107519
    }
109026
    }
107520
 
109027
 
107521
    public Object getFieldValue(_Fields field) {
109028
    public Object getFieldValue(_Fields field) {
107522
      switch (field) {
109029
      switch (field) {
107523
      case CUSTOMER_ID:
109030
      case USER_ID:
107524
        return Long.valueOf(getCustomerId());
109031
        return Long.valueOf(getUserId());
107525
 
109032
 
107526
      }
109033
      }
107527
      throw new IllegalStateException();
109034
      throw new IllegalStateException();
107528
    }
109035
    }
107529
 
109036
 
Line 107532... Line 109039...
107532
      if (field == null) {
109039
      if (field == null) {
107533
        throw new IllegalArgumentException();
109040
        throw new IllegalArgumentException();
107534
      }
109041
      }
107535
 
109042
 
107536
      switch (field) {
109043
      switch (field) {
107537
      case CUSTOMER_ID:
109044
      case USER_ID:
107538
        return isSetCustomerId();
109045
        return isSetUserId();
107539
      }
109046
      }
107540
      throw new IllegalStateException();
109047
      throw new IllegalStateException();
107541
    }
109048
    }
107542
 
109049
 
107543
    @Override
109050
    @Override
107544
    public boolean equals(Object that) {
109051
    public boolean equals(Object that) {
107545
      if (that == null)
109052
      if (that == null)
107546
        return false;
109053
        return false;
107547
      if (that instanceof getRechargeOrders_args)
109054
      if (that instanceof getUserWallet_args)
107548
        return this.equals((getRechargeOrders_args)that);
109055
        return this.equals((getUserWallet_args)that);
107549
      return false;
109056
      return false;
107550
    }
109057
    }
107551
 
109058
 
107552
    public boolean equals(getRechargeOrders_args that) {
109059
    public boolean equals(getUserWallet_args that) {
107553
      if (that == null)
109060
      if (that == null)
107554
        return false;
109061
        return false;
107555
 
109062
 
107556
      boolean this_present_customerId = true;
109063
      boolean this_present_userId = true;
107557
      boolean that_present_customerId = true;
109064
      boolean that_present_userId = true;
107558
      if (this_present_customerId || that_present_customerId) {
109065
      if (this_present_userId || that_present_userId) {
107559
        if (!(this_present_customerId && that_present_customerId))
109066
        if (!(this_present_userId && that_present_userId))
107560
          return false;
109067
          return false;
107561
        if (this.customerId != that.customerId)
109068
        if (this.userId != that.userId)
107562
          return false;
109069
          return false;
107563
      }
109070
      }
107564
 
109071
 
107565
      return true;
109072
      return true;
107566
    }
109073
    }
Line 107568... Line 109075...
107568
    @Override
109075
    @Override
107569
    public int hashCode() {
109076
    public int hashCode() {
107570
      return 0;
109077
      return 0;
107571
    }
109078
    }
107572
 
109079
 
107573
    public int compareTo(getRechargeOrders_args other) {
109080
    public int compareTo(getUserWallet_args other) {
107574
      if (!getClass().equals(other.getClass())) {
109081
      if (!getClass().equals(other.getClass())) {
107575
        return getClass().getName().compareTo(other.getClass().getName());
109082
        return getClass().getName().compareTo(other.getClass().getName());
107576
      }
109083
      }
107577
 
109084
 
107578
      int lastComparison = 0;
109085
      int lastComparison = 0;
107579
      getRechargeOrders_args typedOther = (getRechargeOrders_args)other;
109086
      getUserWallet_args typedOther = (getUserWallet_args)other;
107580
 
109087
 
107581
      lastComparison = Boolean.valueOf(isSetCustomerId()).compareTo(typedOther.isSetCustomerId());
109088
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
107582
      if (lastComparison != 0) {
109089
      if (lastComparison != 0) {
107583
        return lastComparison;
109090
        return lastComparison;
107584
      }
109091
      }
107585
      if (isSetCustomerId()) {
109092
      if (isSetUserId()) {
107586
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerId, typedOther.customerId);
109093
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
107587
        if (lastComparison != 0) {
109094
        if (lastComparison != 0) {
107588
          return lastComparison;
109095
          return lastComparison;
107589
        }
109096
        }
107590
      }
109097
      }
107591
      return 0;
109098
      return 0;
Line 107603... Line 109110...
107603
        field = iprot.readFieldBegin();
109110
        field = iprot.readFieldBegin();
107604
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
109111
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
107605
          break;
109112
          break;
107606
        }
109113
        }
107607
        switch (field.id) {
109114
        switch (field.id) {
107608
          case 1: // CUSTOMER_ID
109115
          case 1: // USER_ID
107609
            if (field.type == org.apache.thrift.protocol.TType.I64) {
109116
            if (field.type == org.apache.thrift.protocol.TType.I64) {
107610
              this.customerId = iprot.readI64();
109117
              this.userId = iprot.readI64();
107611
              setCustomerIdIsSet(true);
109118
              setUserIdIsSet(true);
107612
            } else { 
109119
            } else { 
107613
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
109120
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
107614
            }
109121
            }
107615
            break;
109122
            break;
107616
          default:
109123
          default:
Line 107624... Line 109131...
107624
 
109131
 
107625
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
109132
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
107626
      validate();
109133
      validate();
107627
 
109134
 
107628
      oprot.writeStructBegin(STRUCT_DESC);
109135
      oprot.writeStructBegin(STRUCT_DESC);
107629
      oprot.writeFieldBegin(CUSTOMER_ID_FIELD_DESC);
109136
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
107630
      oprot.writeI64(this.customerId);
109137
      oprot.writeI64(this.userId);
107631
      oprot.writeFieldEnd();
109138
      oprot.writeFieldEnd();
107632
      oprot.writeFieldStop();
109139
      oprot.writeFieldStop();
107633
      oprot.writeStructEnd();
109140
      oprot.writeStructEnd();
107634
    }
109141
    }
107635
 
109142
 
107636
    @Override
109143
    @Override
107637
    public String toString() {
109144
    public String toString() {
107638
      StringBuilder sb = new StringBuilder("getRechargeOrders_args(");
109145
      StringBuilder sb = new StringBuilder("getUserWallet_args(");
107639
      boolean first = true;
109146
      boolean first = true;
107640
 
109147
 
107641
      sb.append("customerId:");
109148
      sb.append("userId:");
107642
      sb.append(this.customerId);
109149
      sb.append(this.userId);
107643
      first = false;
109150
      first = false;
107644
      sb.append(")");
109151
      sb.append(")");
107645
      return sb.toString();
109152
      return sb.toString();
107646
    }
109153
    }
107647
 
109154
 
Line 107667... Line 109174...
107667
      }
109174
      }
107668
    }
109175
    }
107669
 
109176
 
107670
  }
109177
  }
107671
 
109178
 
107672
  public static class getRechargeOrders_result implements org.apache.thrift.TBase<getRechargeOrders_result, getRechargeOrders_result._Fields>, java.io.Serializable, Cloneable   {
109179
  public static class getUserWallet_result implements org.apache.thrift.TBase<getUserWallet_result, getUserWallet_result._Fields>, java.io.Serializable, Cloneable   {
107673
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeOrders_result");
109180
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserWallet_result");
107674
 
109181
 
107675
    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);
109182
    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);
107676
 
109183
 
107677
    private List<RechargeOrder> success; // required
109184
    private UserWallet success; // required
107678
 
109185
 
107679
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
109186
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
107680
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
109187
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
107681
      SUCCESS((short)0, "success");
109188
      SUCCESS((short)0, "success");
107682
 
109189
 
Line 107738... Line 109245...
107738
 
109245
 
107739
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
109246
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
107740
    static {
109247
    static {
107741
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
109248
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
107742
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
109249
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
107743
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
107744
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, RechargeOrder.class))));
109250
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserWallet.class)));
107745
      metaDataMap = Collections.unmodifiableMap(tmpMap);
109251
      metaDataMap = Collections.unmodifiableMap(tmpMap);
107746
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeOrders_result.class, metaDataMap);
109252
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserWallet_result.class, metaDataMap);
107747
    }
109253
    }
107748
 
109254
 
107749
    public getRechargeOrders_result() {
109255
    public getUserWallet_result() {
107750
    }
109256
    }
107751
 
109257
 
107752
    public getRechargeOrders_result(
109258
    public getUserWallet_result(
107753
      List<RechargeOrder> success)
109259
      UserWallet success)
107754
    {
109260
    {
107755
      this();
109261
      this();
107756
      this.success = success;
109262
      this.success = success;
107757
    }
109263
    }
107758
 
109264
 
107759
    /**
109265
    /**
107760
     * Performs a deep copy on <i>other</i>.
109266
     * Performs a deep copy on <i>other</i>.
107761
     */
109267
     */
107762
    public getRechargeOrders_result(getRechargeOrders_result other) {
109268
    public getUserWallet_result(getUserWallet_result other) {
107763
      if (other.isSetSuccess()) {
109269
      if (other.isSetSuccess()) {
107764
        List<RechargeOrder> __this__success = new ArrayList<RechargeOrder>();
-
 
107765
        for (RechargeOrder other_element : other.success) {
-
 
107766
          __this__success.add(new RechargeOrder(other_element));
-
 
107767
        }
-
 
107768
        this.success = __this__success;
109270
        this.success = new UserWallet(other.success);
107769
      }
109271
      }
107770
    }
109272
    }
107771
 
109273
 
107772
    public getRechargeOrders_result deepCopy() {
109274
    public getUserWallet_result deepCopy() {
107773
      return new getRechargeOrders_result(this);
109275
      return new getUserWallet_result(this);
107774
    }
109276
    }
107775
 
109277
 
107776
    @Override
109278
    @Override
107777
    public void clear() {
109279
    public void clear() {
107778
      this.success = null;
109280
      this.success = null;
107779
    }
109281
    }
107780
 
109282
 
107781
    public int getSuccessSize() {
-
 
107782
      return (this.success == null) ? 0 : this.success.size();
-
 
107783
    }
-
 
107784
 
-
 
107785
    public java.util.Iterator<RechargeOrder> getSuccessIterator() {
-
 
107786
      return (this.success == null) ? null : this.success.iterator();
-
 
107787
    }
-
 
107788
 
-
 
107789
    public void addToSuccess(RechargeOrder elem) {
-
 
107790
      if (this.success == null) {
-
 
107791
        this.success = new ArrayList<RechargeOrder>();
-
 
107792
      }
-
 
107793
      this.success.add(elem);
-
 
107794
    }
-
 
107795
 
-
 
107796
    public List<RechargeOrder> getSuccess() {
109283
    public UserWallet getSuccess() {
107797
      return this.success;
109284
      return this.success;
107798
    }
109285
    }
107799
 
109286
 
107800
    public void setSuccess(List<RechargeOrder> success) {
109287
    public void setSuccess(UserWallet success) {
107801
      this.success = success;
109288
      this.success = success;
107802
    }
109289
    }
107803
 
109290
 
107804
    public void unsetSuccess() {
109291
    public void unsetSuccess() {
107805
      this.success = null;
109292
      this.success = null;
Line 107820... Line 109307...
107820
      switch (field) {
109307
      switch (field) {
107821
      case SUCCESS:
109308
      case SUCCESS:
107822
        if (value == null) {
109309
        if (value == null) {
107823
          unsetSuccess();
109310
          unsetSuccess();
107824
        } else {
109311
        } else {
107825
          setSuccess((List<RechargeOrder>)value);
109312
          setSuccess((UserWallet)value);
107826
        }
109313
        }
107827
        break;
109314
        break;
107828
 
109315
 
107829
      }
109316
      }
107830
    }
109317
    }
Line 107853... Line 109340...
107853
 
109340
 
107854
    @Override
109341
    @Override
107855
    public boolean equals(Object that) {
109342
    public boolean equals(Object that) {
107856
      if (that == null)
109343
      if (that == null)
107857
        return false;
109344
        return false;
107858
      if (that instanceof getRechargeOrders_result)
109345
      if (that instanceof getUserWallet_result)
107859
        return this.equals((getRechargeOrders_result)that);
109346
        return this.equals((getUserWallet_result)that);
107860
      return false;
109347
      return false;
107861
    }
109348
    }
107862
 
109349
 
107863
    public boolean equals(getRechargeOrders_result that) {
109350
    public boolean equals(getUserWallet_result that) {
107864
      if (that == null)
109351
      if (that == null)
107865
        return false;
109352
        return false;
107866
 
109353
 
107867
      boolean this_present_success = true && this.isSetSuccess();
109354
      boolean this_present_success = true && this.isSetSuccess();
107868
      boolean that_present_success = true && that.isSetSuccess();
109355
      boolean that_present_success = true && that.isSetSuccess();
Line 107879... Line 109366...
107879
    @Override
109366
    @Override
107880
    public int hashCode() {
109367
    public int hashCode() {
107881
      return 0;
109368
      return 0;
107882
    }
109369
    }
107883
 
109370
 
107884
    public int compareTo(getRechargeOrders_result other) {
109371
    public int compareTo(getUserWallet_result other) {
107885
      if (!getClass().equals(other.getClass())) {
109372
      if (!getClass().equals(other.getClass())) {
107886
        return getClass().getName().compareTo(other.getClass().getName());
109373
        return getClass().getName().compareTo(other.getClass().getName());
107887
      }
109374
      }
107888
 
109375
 
107889
      int lastComparison = 0;
109376
      int lastComparison = 0;
107890
      getRechargeOrders_result typedOther = (getRechargeOrders_result)other;
109377
      getUserWallet_result typedOther = (getUserWallet_result)other;
107891
 
109378
 
107892
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
109379
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
107893
      if (lastComparison != 0) {
109380
      if (lastComparison != 0) {
107894
        return lastComparison;
109381
        return lastComparison;
107895
      }
109382
      }
Line 107915... Line 109402...
107915
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
109402
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
107916
          break;
109403
          break;
107917
        }
109404
        }
107918
        switch (field.id) {
109405
        switch (field.id) {
107919
          case 0: // SUCCESS
109406
          case 0: // SUCCESS
107920
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
109407
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
107921
              {
-
 
107922
                org.apache.thrift.protocol.TList _list356 = iprot.readListBegin();
-
 
107923
                this.success = new ArrayList<RechargeOrder>(_list356.size);
-
 
107924
                for (int _i357 = 0; _i357 < _list356.size; ++_i357)
-
 
107925
                {
-
 
107926
                  RechargeOrder _elem358; // required
-
 
107927
                  _elem358 = new RechargeOrder();
109408
              this.success = new UserWallet();
107928
                  _elem358.read(iprot);
109409
              this.success.read(iprot);
107929
                  this.success.add(_elem358);
-
 
107930
                }
-
 
107931
                iprot.readListEnd();
-
 
107932
              }
-
 
107933
            } else { 
109410
            } else { 
107934
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
109411
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
107935
            }
109412
            }
107936
            break;
109413
            break;
107937
          default:
109414
          default:
Line 107946... Line 109423...
107946
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
109423
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
107947
      oprot.writeStructBegin(STRUCT_DESC);
109424
      oprot.writeStructBegin(STRUCT_DESC);
107948
 
109425
 
107949
      if (this.isSetSuccess()) {
109426
      if (this.isSetSuccess()) {
107950
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
109427
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
107951
        {
-
 
107952
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
107953
          for (RechargeOrder _iter359 : this.success)
-
 
107954
          {
-
 
107955
            _iter359.write(oprot);
109428
        this.success.write(oprot);
107956
          }
-
 
107957
          oprot.writeListEnd();
-
 
107958
        }
-
 
107959
        oprot.writeFieldEnd();
109429
        oprot.writeFieldEnd();
107960
      }
109430
      }
107961
      oprot.writeFieldStop();
109431
      oprot.writeFieldStop();
107962
      oprot.writeStructEnd();
109432
      oprot.writeStructEnd();
107963
    }
109433
    }
107964
 
109434
 
107965
    @Override
109435
    @Override
107966
    public String toString() {
109436
    public String toString() {
107967
      StringBuilder sb = new StringBuilder("getRechargeOrders_result(");
109437
      StringBuilder sb = new StringBuilder("getUserWallet_result(");
107968
      boolean first = true;
109438
      boolean first = true;
107969
 
109439
 
107970
      sb.append("success:");
109440
      sb.append("success:");
107971
      if (this.success == null) {
109441
      if (this.success == null) {
107972
        sb.append("null");
109442
        sb.append("null");
Line 107998... Line 109468...
107998
      }
109468
      }
107999
    }
109469
    }
108000
 
109470
 
108001
  }
109471
  }
108002
 
109472
 
108003
  public static class getRechargeCoupons_args implements org.apache.thrift.TBase<getRechargeCoupons_args, getRechargeCoupons_args._Fields>, java.io.Serializable, Cloneable   {
109473
  public static class getUserWalletHistory_args implements org.apache.thrift.TBase<getUserWalletHistory_args, getUserWalletHistory_args._Fields>, java.io.Serializable, Cloneable   {
108004
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeCoupons_args");
109474
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserWalletHistory_args");
108005
 
109475
 
108006
    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);
109476
    private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)1);
108007
    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);
-
 
108008
 
109477
 
108009
    private long customerId; // required
109478
    private long userId; // required
108010
    private RechargeCouponStatus rechargeCouponStatus; // required
-
 
108011
 
109479
 
108012
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
109480
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
108013
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
109481
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
108014
      CUSTOMER_ID((short)1, "customerId"),
109482
      USER_ID((short)1, "userId");
108015
      /**
-
 
108016
       * 
-
 
108017
       * @see RechargeCouponStatus
-
 
108018
       */
-
 
108019
      RECHARGE_COUPON_STATUS((short)2, "rechargeCouponStatus");
-
 
108020
 
109483
 
108021
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
109484
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
108022
 
109485
 
108023
      static {
109486
      static {
108024
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
109487
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 108029... Line 109492...
108029
      /**
109492
      /**
108030
       * Find the _Fields constant that matches fieldId, or null if its not found.
109493
       * Find the _Fields constant that matches fieldId, or null if its not found.
108031
       */
109494
       */
108032
      public static _Fields findByThriftId(int fieldId) {
109495
      public static _Fields findByThriftId(int fieldId) {
108033
        switch(fieldId) {
109496
        switch(fieldId) {
108034
          case 1: // CUSTOMER_ID
109497
          case 1: // USER_ID
108035
            return CUSTOMER_ID;
109498
            return USER_ID;
108036
          case 2: // RECHARGE_COUPON_STATUS
-
 
108037
            return RECHARGE_COUPON_STATUS;
-
 
108038
          default:
109499
          default:
108039
            return null;
109500
            return null;
108040
        }
109501
        }
108041
      }
109502
      }
108042
 
109503
 
Line 108073... Line 109534...
108073
        return _fieldName;
109534
        return _fieldName;
108074
      }
109535
      }
108075
    }
109536
    }
108076
 
109537
 
108077
    // isset id assignments
109538
    // isset id assignments
108078
    private static final int __CUSTOMERID_ISSET_ID = 0;
109539
    private static final int __USERID_ISSET_ID = 0;
108079
    private BitSet __isset_bit_vector = new BitSet(1);
109540
    private BitSet __isset_bit_vector = new BitSet(1);
108080
 
109541
 
108081
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
109542
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
108082
    static {
109543
    static {
108083
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
109544
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
108084
      tmpMap.put(_Fields.CUSTOMER_ID, new org.apache.thrift.meta_data.FieldMetaData("customerId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
109545
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
108085
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
109546
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
108086
      tmpMap.put(_Fields.RECHARGE_COUPON_STATUS, new org.apache.thrift.meta_data.FieldMetaData("rechargeCouponStatus", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
108087
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, RechargeCouponStatus.class)));
-
 
108088
      metaDataMap = Collections.unmodifiableMap(tmpMap);
109547
      metaDataMap = Collections.unmodifiableMap(tmpMap);
108089
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeCoupons_args.class, metaDataMap);
109548
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserWalletHistory_args.class, metaDataMap);
108090
    }
109549
    }
108091
 
109550
 
108092
    public getRechargeCoupons_args() {
109551
    public getUserWalletHistory_args() {
108093
    }
109552
    }
108094
 
109553
 
108095
    public getRechargeCoupons_args(
109554
    public getUserWalletHistory_args(
108096
      long customerId,
109555
      long userId)
108097
      RechargeCouponStatus rechargeCouponStatus)
-
 
108098
    {
109556
    {
108099
      this();
109557
      this();
108100
      this.customerId = customerId;
109558
      this.userId = userId;
108101
      setCustomerIdIsSet(true);
109559
      setUserIdIsSet(true);
108102
      this.rechargeCouponStatus = rechargeCouponStatus;
-
 
108103
    }
109560
    }
108104
 
109561
 
108105
    /**
109562
    /**
108106
     * Performs a deep copy on <i>other</i>.
109563
     * Performs a deep copy on <i>other</i>.
108107
     */
109564
     */
108108
    public getRechargeCoupons_args(getRechargeCoupons_args other) {
109565
    public getUserWalletHistory_args(getUserWalletHistory_args other) {
108109
      __isset_bit_vector.clear();
109566
      __isset_bit_vector.clear();
108110
      __isset_bit_vector.or(other.__isset_bit_vector);
109567
      __isset_bit_vector.or(other.__isset_bit_vector);
108111
      this.customerId = other.customerId;
109568
      this.userId = other.userId;
108112
      if (other.isSetRechargeCouponStatus()) {
-
 
108113
        this.rechargeCouponStatus = other.rechargeCouponStatus;
-
 
108114
      }
-
 
108115
    }
109569
    }
108116
 
109570
 
108117
    public getRechargeCoupons_args deepCopy() {
109571
    public getUserWalletHistory_args deepCopy() {
108118
      return new getRechargeCoupons_args(this);
109572
      return new getUserWalletHistory_args(this);
108119
    }
109573
    }
108120
 
109574
 
108121
    @Override
109575
    @Override
108122
    public void clear() {
109576
    public void clear() {
108123
      setCustomerIdIsSet(false);
109577
      setUserIdIsSet(false);
108124
      this.customerId = 0;
109578
      this.userId = 0;
108125
      this.rechargeCouponStatus = null;
-
 
108126
    }
-
 
108127
 
-
 
108128
    public long getCustomerId() {
-
 
108129
      return this.customerId;
-
 
108130
    }
109579
    }
108131
 
109580
 
108132
    public void setCustomerId(long customerId) {
109581
    public long getUserId() {
108133
      this.customerId = customerId;
-
 
108134
      setCustomerIdIsSet(true);
109582
      return this.userId;
108135
    }
109583
    }
108136
 
109584
 
108137
    public void unsetCustomerId() {
109585
    public void setUserId(long userId) {
108138
      __isset_bit_vector.clear(__CUSTOMERID_ISSET_ID);
109586
      this.userId = userId;
-
 
109587
      setUserIdIsSet(true);
108139
    }
109588
    }
108140
 
109589
 
108141
    /** Returns true if field customerId is set (has been assigned a value) and false otherwise */
-
 
108142
    public boolean isSetCustomerId() {
109590
    public void unsetUserId() {
108143
      return __isset_bit_vector.get(__CUSTOMERID_ISSET_ID);
109591
      __isset_bit_vector.clear(__USERID_ISSET_ID);
108144
    }
109592
    }
108145
 
109593
 
-
 
109594
    /** Returns true if field userId is set (has been assigned a value) and false otherwise */
108146
    public void setCustomerIdIsSet(boolean value) {
109595
    public boolean isSetUserId() {
108147
      __isset_bit_vector.set(__CUSTOMERID_ISSET_ID, value);
109596
      return __isset_bit_vector.get(__USERID_ISSET_ID);
108148
    }
109597
    }
108149
 
109598
 
108150
    /**
-
 
108151
     * 
-
 
108152
     * @see RechargeCouponStatus
-
 
108153
     */
-
 
108154
    public RechargeCouponStatus getRechargeCouponStatus() {
-
 
108155
      return this.rechargeCouponStatus;
-
 
108156
    }
-
 
108157
 
-
 
108158
    /**
-
 
108159
     * 
-
 
108160
     * @see RechargeCouponStatus
-
 
108161
     */
-
 
108162
    public void setRechargeCouponStatus(RechargeCouponStatus rechargeCouponStatus) {
-
 
108163
      this.rechargeCouponStatus = rechargeCouponStatus;
-
 
108164
    }
-
 
108165
 
-
 
108166
    public void unsetRechargeCouponStatus() {
-
 
108167
      this.rechargeCouponStatus = null;
-
 
108168
    }
-
 
108169
 
-
 
108170
    /** Returns true if field rechargeCouponStatus is set (has been assigned a value) and false otherwise */
-
 
108171
    public boolean isSetRechargeCouponStatus() {
-
 
108172
      return this.rechargeCouponStatus != null;
-
 
108173
    }
-
 
108174
 
-
 
108175
    public void setRechargeCouponStatusIsSet(boolean value) {
109599
    public void setUserIdIsSet(boolean value) {
108176
      if (!value) {
-
 
108177
        this.rechargeCouponStatus = null;
109600
      __isset_bit_vector.set(__USERID_ISSET_ID, value);
108178
      }
-
 
108179
    }
109601
    }
108180
 
109602
 
108181
    public void setFieldValue(_Fields field, Object value) {
109603
    public void setFieldValue(_Fields field, Object value) {
108182
      switch (field) {
109604
      switch (field) {
108183
      case CUSTOMER_ID:
109605
      case USER_ID:
108184
        if (value == null) {
-
 
108185
          unsetCustomerId();
-
 
108186
        } else {
-
 
108187
          setCustomerId((Long)value);
-
 
108188
        }
-
 
108189
        break;
-
 
108190
 
-
 
108191
      case RECHARGE_COUPON_STATUS:
-
 
108192
        if (value == null) {
109606
        if (value == null) {
108193
          unsetRechargeCouponStatus();
109607
          unsetUserId();
108194
        } else {
109608
        } else {
108195
          setRechargeCouponStatus((RechargeCouponStatus)value);
109609
          setUserId((Long)value);
108196
        }
109610
        }
108197
        break;
109611
        break;
108198
 
109612
 
108199
      }
109613
      }
108200
    }
109614
    }
108201
 
109615
 
108202
    public Object getFieldValue(_Fields field) {
109616
    public Object getFieldValue(_Fields field) {
108203
      switch (field) {
109617
      switch (field) {
108204
      case CUSTOMER_ID:
109618
      case USER_ID:
108205
        return Long.valueOf(getCustomerId());
109619
        return Long.valueOf(getUserId());
108206
 
-
 
108207
      case RECHARGE_COUPON_STATUS:
-
 
108208
        return getRechargeCouponStatus();
-
 
108209
 
109620
 
108210
      }
109621
      }
108211
      throw new IllegalStateException();
109622
      throw new IllegalStateException();
108212
    }
109623
    }
108213
 
109624
 
Line 108216... Line 109627...
108216
      if (field == null) {
109627
      if (field == null) {
108217
        throw new IllegalArgumentException();
109628
        throw new IllegalArgumentException();
108218
      }
109629
      }
108219
 
109630
 
108220
      switch (field) {
109631
      switch (field) {
108221
      case CUSTOMER_ID:
109632
      case USER_ID:
108222
        return isSetCustomerId();
109633
        return isSetUserId();
108223
      case RECHARGE_COUPON_STATUS:
-
 
108224
        return isSetRechargeCouponStatus();
-
 
108225
      }
109634
      }
108226
      throw new IllegalStateException();
109635
      throw new IllegalStateException();
108227
    }
109636
    }
108228
 
109637
 
108229
    @Override
109638
    @Override
108230
    public boolean equals(Object that) {
109639
    public boolean equals(Object that) {
108231
      if (that == null)
109640
      if (that == null)
108232
        return false;
109641
        return false;
108233
      if (that instanceof getRechargeCoupons_args)
109642
      if (that instanceof getUserWalletHistory_args)
108234
        return this.equals((getRechargeCoupons_args)that);
109643
        return this.equals((getUserWalletHistory_args)that);
108235
      return false;
109644
      return false;
108236
    }
109645
    }
108237
 
109646
 
108238
    public boolean equals(getRechargeCoupons_args that) {
109647
    public boolean equals(getUserWalletHistory_args that) {
108239
      if (that == null)
109648
      if (that == null)
108240
        return false;
109649
        return false;
108241
 
109650
 
108242
      boolean this_present_customerId = true;
109651
      boolean this_present_userId = true;
108243
      boolean that_present_customerId = true;
109652
      boolean that_present_userId = true;
108244
      if (this_present_customerId || that_present_customerId) {
109653
      if (this_present_userId || that_present_userId) {
108245
        if (!(this_present_customerId && that_present_customerId))
109654
        if (!(this_present_userId && that_present_userId))
108246
          return false;
-
 
108247
        if (this.customerId != that.customerId)
-
 
108248
          return false;
-
 
108249
      }
-
 
108250
 
-
 
108251
      boolean this_present_rechargeCouponStatus = true && this.isSetRechargeCouponStatus();
-
 
108252
      boolean that_present_rechargeCouponStatus = true && that.isSetRechargeCouponStatus();
-
 
108253
      if (this_present_rechargeCouponStatus || that_present_rechargeCouponStatus) {
-
 
108254
        if (!(this_present_rechargeCouponStatus && that_present_rechargeCouponStatus))
-
 
108255
          return false;
109655
          return false;
108256
        if (!this.rechargeCouponStatus.equals(that.rechargeCouponStatus))
109656
        if (this.userId != that.userId)
108257
          return false;
109657
          return false;
108258
      }
109658
      }
108259
 
109659
 
108260
      return true;
109660
      return true;
108261
    }
109661
    }
Line 108263... Line 109663...
108263
    @Override
109663
    @Override
108264
    public int hashCode() {
109664
    public int hashCode() {
108265
      return 0;
109665
      return 0;
108266
    }
109666
    }
108267
 
109667
 
108268
    public int compareTo(getRechargeCoupons_args other) {
109668
    public int compareTo(getUserWalletHistory_args other) {
108269
      if (!getClass().equals(other.getClass())) {
109669
      if (!getClass().equals(other.getClass())) {
108270
        return getClass().getName().compareTo(other.getClass().getName());
109670
        return getClass().getName().compareTo(other.getClass().getName());
108271
      }
109671
      }
108272
 
109672
 
108273
      int lastComparison = 0;
109673
      int lastComparison = 0;
108274
      getRechargeCoupons_args typedOther = (getRechargeCoupons_args)other;
109674
      getUserWalletHistory_args typedOther = (getUserWalletHistory_args)other;
108275
 
109675
 
108276
      lastComparison = Boolean.valueOf(isSetCustomerId()).compareTo(typedOther.isSetCustomerId());
109676
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
108277
      if (lastComparison != 0) {
109677
      if (lastComparison != 0) {
108278
        return lastComparison;
109678
        return lastComparison;
108279
      }
109679
      }
108280
      if (isSetCustomerId()) {
109680
      if (isSetUserId()) {
108281
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerId, typedOther.customerId);
109681
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
108282
        if (lastComparison != 0) {
-
 
108283
          return lastComparison;
-
 
108284
        }
-
 
108285
      }
-
 
108286
      lastComparison = Boolean.valueOf(isSetRechargeCouponStatus()).compareTo(typedOther.isSetRechargeCouponStatus());
-
 
108287
      if (lastComparison != 0) {
-
 
108288
        return lastComparison;
-
 
108289
      }
-
 
108290
      if (isSetRechargeCouponStatus()) {
-
 
108291
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rechargeCouponStatus, typedOther.rechargeCouponStatus);
-
 
108292
        if (lastComparison != 0) {
109682
        if (lastComparison != 0) {
108293
          return lastComparison;
109683
          return lastComparison;
108294
        }
109684
        }
108295
      }
109685
      }
108296
      return 0;
109686
      return 0;
Line 108308... Line 109698...
108308
        field = iprot.readFieldBegin();
109698
        field = iprot.readFieldBegin();
108309
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
109699
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
108310
          break;
109700
          break;
108311
        }
109701
        }
108312
        switch (field.id) {
109702
        switch (field.id) {
108313
          case 1: // CUSTOMER_ID
109703
          case 1: // USER_ID
108314
            if (field.type == org.apache.thrift.protocol.TType.I64) {
109704
            if (field.type == org.apache.thrift.protocol.TType.I64) {
108315
              this.customerId = iprot.readI64();
109705
              this.userId = iprot.readI64();
108316
              setCustomerIdIsSet(true);
109706
              setUserIdIsSet(true);
108317
            } else { 
-
 
108318
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
108319
            }
-
 
108320
            break;
-
 
108321
          case 2: // RECHARGE_COUPON_STATUS
-
 
108322
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
108323
              this.rechargeCouponStatus = RechargeCouponStatus.findByValue(iprot.readI32());
-
 
108324
            } else { 
109707
            } else { 
108325
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
109708
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
108326
            }
109709
            }
108327
            break;
109710
            break;
108328
          default:
109711
          default:
Line 108336... Line 109719...
108336
 
109719
 
108337
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
109720
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
108338
      validate();
109721
      validate();
108339
 
109722
 
108340
      oprot.writeStructBegin(STRUCT_DESC);
109723
      oprot.writeStructBegin(STRUCT_DESC);
108341
      oprot.writeFieldBegin(CUSTOMER_ID_FIELD_DESC);
109724
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
108342
      oprot.writeI64(this.customerId);
109725
      oprot.writeI64(this.userId);
108343
      oprot.writeFieldEnd();
109726
      oprot.writeFieldEnd();
108344
      if (this.rechargeCouponStatus != null) {
-
 
108345
        oprot.writeFieldBegin(RECHARGE_COUPON_STATUS_FIELD_DESC);
-
 
108346
        oprot.writeI32(this.rechargeCouponStatus.getValue());
-
 
108347
        oprot.writeFieldEnd();
-
 
108348
      }
-
 
108349
      oprot.writeFieldStop();
109727
      oprot.writeFieldStop();
108350
      oprot.writeStructEnd();
109728
      oprot.writeStructEnd();
108351
    }
109729
    }
108352
 
109730
 
108353
    @Override
109731
    @Override
108354
    public String toString() {
109732
    public String toString() {
108355
      StringBuilder sb = new StringBuilder("getRechargeCoupons_args(");
109733
      StringBuilder sb = new StringBuilder("getUserWalletHistory_args(");
108356
      boolean first = true;
109734
      boolean first = true;
108357
 
109735
 
108358
      sb.append("customerId:");
109736
      sb.append("userId:");
108359
      sb.append(this.customerId);
109737
      sb.append(this.userId);
108360
      first = false;
-
 
108361
      if (!first) sb.append(", ");
-
 
108362
      sb.append("rechargeCouponStatus:");
-
 
108363
      if (this.rechargeCouponStatus == null) {
-
 
108364
        sb.append("null");
-
 
108365
      } else {
-
 
108366
        sb.append(this.rechargeCouponStatus);
-
 
108367
      }
-
 
108368
      first = false;
109738
      first = false;
108369
      sb.append(")");
109739
      sb.append(")");
108370
      return sb.toString();
109740
      return sb.toString();
108371
    }
109741
    }
108372
 
109742
 
Line 108392... Line 109762...
108392
      }
109762
      }
108393
    }
109763
    }
108394
 
109764
 
108395
  }
109765
  }
108396
 
109766
 
108397
  public static class getRechargeCoupons_result implements org.apache.thrift.TBase<getRechargeCoupons_result, getRechargeCoupons_result._Fields>, java.io.Serializable, Cloneable   {
109767
  public static class getUserWalletHistory_result implements org.apache.thrift.TBase<getUserWalletHistory_result, getUserWalletHistory_result._Fields>, java.io.Serializable, Cloneable   {
108398
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeCoupons_result");
109768
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserWalletHistory_result");
108399
 
109769
 
108400
    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);
109770
    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);
108401
 
109771
 
108402
    private List<RechargeCoupon> success; // required
109772
    private List<UserWalletHistory> success; // required
108403
 
109773
 
108404
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
109774
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
108405
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
109775
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
108406
      SUCCESS((short)0, "success");
109776
      SUCCESS((short)0, "success");
108407
 
109777
 
Line 108464... Line 109834...
108464
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
109834
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
108465
    static {
109835
    static {
108466
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
109836
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
108467
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
109837
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
108468
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
109838
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
108469
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, RechargeCoupon.class))));
109839
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserWalletHistory.class))));
108470
      metaDataMap = Collections.unmodifiableMap(tmpMap);
109840
      metaDataMap = Collections.unmodifiableMap(tmpMap);
108471
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeCoupons_result.class, metaDataMap);
109841
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserWalletHistory_result.class, metaDataMap);
108472
    }
109842
    }
108473
 
109843
 
108474
    public getRechargeCoupons_result() {
109844
    public getUserWalletHistory_result() {
108475
    }
109845
    }
108476
 
109846
 
108477
    public getRechargeCoupons_result(
109847
    public getUserWalletHistory_result(
108478
      List<RechargeCoupon> success)
109848
      List<UserWalletHistory> success)
108479
    {
109849
    {
108480
      this();
109850
      this();
108481
      this.success = success;
109851
      this.success = success;
108482
    }
109852
    }
108483
 
109853
 
108484
    /**
109854
    /**
108485
     * Performs a deep copy on <i>other</i>.
109855
     * Performs a deep copy on <i>other</i>.
108486
     */
109856
     */
108487
    public getRechargeCoupons_result(getRechargeCoupons_result other) {
109857
    public getUserWalletHistory_result(getUserWalletHistory_result other) {
108488
      if (other.isSetSuccess()) {
109858
      if (other.isSetSuccess()) {
108489
        List<RechargeCoupon> __this__success = new ArrayList<RechargeCoupon>();
109859
        List<UserWalletHistory> __this__success = new ArrayList<UserWalletHistory>();
108490
        for (RechargeCoupon other_element : other.success) {
109860
        for (UserWalletHistory other_element : other.success) {
108491
          __this__success.add(new RechargeCoupon(other_element));
109861
          __this__success.add(new UserWalletHistory(other_element));
108492
        }
109862
        }
108493
        this.success = __this__success;
109863
        this.success = __this__success;
108494
      }
109864
      }
108495
    }
109865
    }
108496
 
109866
 
108497
    public getRechargeCoupons_result deepCopy() {
109867
    public getUserWalletHistory_result deepCopy() {
108498
      return new getRechargeCoupons_result(this);
109868
      return new getUserWalletHistory_result(this);
108499
    }
109869
    }
108500
 
109870
 
108501
    @Override
109871
    @Override
108502
    public void clear() {
109872
    public void clear() {
108503
      this.success = null;
109873
      this.success = null;
Line 108505... Line 109875...
108505
 
109875
 
108506
    public int getSuccessSize() {
109876
    public int getSuccessSize() {
108507
      return (this.success == null) ? 0 : this.success.size();
109877
      return (this.success == null) ? 0 : this.success.size();
108508
    }
109878
    }
108509
 
109879
 
108510
    public java.util.Iterator<RechargeCoupon> getSuccessIterator() {
109880
    public java.util.Iterator<UserWalletHistory> getSuccessIterator() {
108511
      return (this.success == null) ? null : this.success.iterator();
109881
      return (this.success == null) ? null : this.success.iterator();
108512
    }
109882
    }
108513
 
109883
 
108514
    public void addToSuccess(RechargeCoupon elem) {
109884
    public void addToSuccess(UserWalletHistory elem) {
108515
      if (this.success == null) {
109885
      if (this.success == null) {
108516
        this.success = new ArrayList<RechargeCoupon>();
109886
        this.success = new ArrayList<UserWalletHistory>();
108517
      }
109887
      }
108518
      this.success.add(elem);
109888
      this.success.add(elem);
108519
    }
109889
    }
108520
 
109890
 
108521
    public List<RechargeCoupon> getSuccess() {
109891
    public List<UserWalletHistory> getSuccess() {
108522
      return this.success;
109892
      return this.success;
108523
    }
109893
    }
108524
 
109894
 
108525
    public void setSuccess(List<RechargeCoupon> success) {
109895
    public void setSuccess(List<UserWalletHistory> success) {
108526
      this.success = success;
109896
      this.success = success;
108527
    }
109897
    }
108528
 
109898
 
108529
    public void unsetSuccess() {
109899
    public void unsetSuccess() {
108530
      this.success = null;
109900
      this.success = null;
Line 108545... Line 109915...
108545
      switch (field) {
109915
      switch (field) {
108546
      case SUCCESS:
109916
      case SUCCESS:
108547
        if (value == null) {
109917
        if (value == null) {
108548
          unsetSuccess();
109918
          unsetSuccess();
108549
        } else {
109919
        } else {
108550
          setSuccess((List<RechargeCoupon>)value);
109920
          setSuccess((List<UserWalletHistory>)value);
108551
        }
109921
        }
108552
        break;
109922
        break;
108553
 
109923
 
108554
      }
109924
      }
108555
    }
109925
    }
Line 108578... Line 109948...
108578
 
109948
 
108579
    @Override
109949
    @Override
108580
    public boolean equals(Object that) {
109950
    public boolean equals(Object that) {
108581
      if (that == null)
109951
      if (that == null)
108582
        return false;
109952
        return false;
108583
      if (that instanceof getRechargeCoupons_result)
109953
      if (that instanceof getUserWalletHistory_result)
108584
        return this.equals((getRechargeCoupons_result)that);
109954
        return this.equals((getUserWalletHistory_result)that);
108585
      return false;
109955
      return false;
108586
    }
109956
    }
108587
 
109957
 
108588
    public boolean equals(getRechargeCoupons_result that) {
109958
    public boolean equals(getUserWalletHistory_result that) {
108589
      if (that == null)
109959
      if (that == null)
108590
        return false;
109960
        return false;
108591
 
109961
 
108592
      boolean this_present_success = true && this.isSetSuccess();
109962
      boolean this_present_success = true && this.isSetSuccess();
108593
      boolean that_present_success = true && that.isSetSuccess();
109963
      boolean that_present_success = true && that.isSetSuccess();
Line 108604... Line 109974...
108604
    @Override
109974
    @Override
108605
    public int hashCode() {
109975
    public int hashCode() {
108606
      return 0;
109976
      return 0;
108607
    }
109977
    }
108608
 
109978
 
108609
    public int compareTo(getRechargeCoupons_result other) {
109979
    public int compareTo(getUserWalletHistory_result other) {
108610
      if (!getClass().equals(other.getClass())) {
109980
      if (!getClass().equals(other.getClass())) {
108611
        return getClass().getName().compareTo(other.getClass().getName());
109981
        return getClass().getName().compareTo(other.getClass().getName());
108612
      }
109982
      }
108613
 
109983
 
108614
      int lastComparison = 0;
109984
      int lastComparison = 0;
108615
      getRechargeCoupons_result typedOther = (getRechargeCoupons_result)other;
109985
      getUserWalletHistory_result typedOther = (getUserWalletHistory_result)other;
108616
 
109986
 
108617
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
109987
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
108618
      if (lastComparison != 0) {
109988
      if (lastComparison != 0) {
108619
        return lastComparison;
109989
        return lastComparison;
108620
      }
109990
      }
Line 108642... Line 110012...
108642
        }
110012
        }
108643
        switch (field.id) {
110013
        switch (field.id) {
108644
          case 0: // SUCCESS
110014
          case 0: // SUCCESS
108645
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
110015
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
108646
              {
110016
              {
108647
                org.apache.thrift.protocol.TList _list360 = iprot.readListBegin();
110017
                org.apache.thrift.protocol.TList _list352 = iprot.readListBegin();
108648
                this.success = new ArrayList<RechargeCoupon>(_list360.size);
110018
                this.success = new ArrayList<UserWalletHistory>(_list352.size);
108649
                for (int _i361 = 0; _i361 < _list360.size; ++_i361)
110019
                for (int _i353 = 0; _i353 < _list352.size; ++_i353)
108650
                {
110020
                {
108651
                  RechargeCoupon _elem362; // required
110021
                  UserWalletHistory _elem354; // required
108652
                  _elem362 = new RechargeCoupon();
110022
                  _elem354 = new UserWalletHistory();
108653
                  _elem362.read(iprot);
110023
                  _elem354.read(iprot);
108654
                  this.success.add(_elem362);
110024
                  this.success.add(_elem354);
108655
                }
110025
                }
108656
                iprot.readListEnd();
110026
                iprot.readListEnd();
108657
              }
110027
              }
108658
            } else { 
110028
            } else { 
108659
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
110029
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 108673... Line 110043...
108673
 
110043
 
108674
      if (this.isSetSuccess()) {
110044
      if (this.isSetSuccess()) {
108675
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
110045
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
108676
        {
110046
        {
108677
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
110047
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
108678
          for (RechargeCoupon _iter363 : this.success)
110048
          for (UserWalletHistory _iter355 : this.success)
108679
          {
110049
          {
108680
            _iter363.write(oprot);
110050
            _iter355.write(oprot);
108681
          }
110051
          }
108682
          oprot.writeListEnd();
110052
          oprot.writeListEnd();
108683
        }
110053
        }
108684
        oprot.writeFieldEnd();
110054
        oprot.writeFieldEnd();
108685
      }
110055
      }
Line 108687... Line 110057...
108687
      oprot.writeStructEnd();
110057
      oprot.writeStructEnd();
108688
    }
110058
    }
108689
 
110059
 
108690
    @Override
110060
    @Override
108691
    public String toString() {
110061
    public String toString() {
108692
      StringBuilder sb = new StringBuilder("getRechargeCoupons_result(");
110062
      StringBuilder sb = new StringBuilder("getUserWalletHistory_result(");
108693
      boolean first = true;
110063
      boolean first = true;
108694
 
110064
 
108695
      sb.append("success:");
110065
      sb.append("success:");
108696
      if (this.success == null) {
110066
      if (this.success == null) {
108697
        sb.append("null");
110067
        sb.append("null");