Subversion Repositories SmartDukaan

Rev

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

Rev 18041 Rev 18578
Line 1121... Line 1121...
1121
 
1121
 
1122
    public Order splitBulkOrder(long orderId, long splitOrderQty) throws org.apache.thrift.TException;
1122
    public Order splitBulkOrder(long orderId, long splitOrderQty) throws org.apache.thrift.TException;
1123
 
1123
 
1124
    public String moveOrdersToCorrectWarehouse() throws org.apache.thrift.TException;
1124
    public String moveOrdersToCorrectWarehouse() throws org.apache.thrift.TException;
1125
 
1125
 
-
 
1126
    public Creditor getCreditorInfo(long id, String name) throws org.apache.thrift.TException;
-
 
1127
 
-
 
1128
    public boolean updateCreditorInfo(Creditor creditor) throws org.apache.thrift.TException;
-
 
1129
 
-
 
1130
    public List<UserSanction> getUserSanctionDetails(long userId) throws org.apache.thrift.TException;
-
 
1131
 
-
 
1132
    public UserSanction getUserSanctionDetailsForCreditor(long userId, long creditorId) throws org.apache.thrift.TException;
-
 
1133
 
-
 
1134
    public boolean updateUserSanction(UserSanction userSanaction) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1135
 
-
 
1136
    public List<CreditHistory> getCreditHistoryRecordsForTransaction(long paymentId, long creditorId, String creditTxnType) throws org.apache.thrift.TException;
-
 
1137
 
-
 
1138
    public List<CreditHistory> getCreditHistoryRecordsForUserAndCreditor(long userId, String creditTxnType) throws org.apache.thrift.TException;
-
 
1139
 
-
 
1140
    public boolean processCreditTransaction(long paymentId, List<CreditHistory> creditTxns) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1141
 
-
 
1142
    public List<CreditHistory> getLoanPayableForUserToCreditor(long userId, long creditorId, long dueDate) throws org.apache.thrift.TException;
-
 
1143
 
-
 
1144
    public ReturnOrderInfo getReturnOrderInfo(long id) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1145
 
-
 
1146
    public Map<Long,List<ReturnOrderInfo>> getReturnOrderInfoList(List<Long> order_ids) throws org.apache.thrift.TException;
-
 
1147
 
-
 
1148
    public Map<Long,List<ReturnOrderInfo>> getReturnOrderInfoListAsByStatus(List<Long> order_ids, List<String> statuses) throws org.apache.thrift.TException;
-
 
1149
 
-
 
1150
    public boolean updateReturnOrderInfo(ReturnOrderInfo returnInfo) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1151
 
-
 
1152
    public Map<Long,Boolean> bulkUpdateReturnOrderInfo(Map<Long,List<ReturnOrderInfo>> orderReturnInfosMap) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1153
 
-
 
1154
    public List<ReturnOrderInfo> getReturnOrdersAsPerWarehouseId(long warehouseId) throws org.apache.thrift.TException;
-
 
1155
 
-
 
1156
    public long createReturnTransaction(ReturnTransaction returnTransaction) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1157
 
-
 
1158
    public ReturnTransaction getReturnTransaction(long id) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1159
 
-
 
1160
    public List<ReturnOrderInfo> getReturnOrdersForReturnTransaction(long returnTransactionId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1161
 
-
 
1162
    public boolean changeReturnTransactionStatus(long returnTransactionId, ReturnTransactionStatus status, List<Long> returnOrderIds) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1163
 
-
 
1164
    public boolean createReturnPickupRequest(List<Long> returnOrderIds, long providerId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1165
 
-
 
1166
    public boolean updateReturnPickupRequest(ReturnPickupRequest returnPickupRequest) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1167
 
-
 
1168
    public List<ReturnOrderInfo> getAllReturnOrdersForReturnPickupRequest(long logisticsRequestId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1169
 
-
 
1170
    public boolean receiveReturnPickup(Map<Long,Map<String,String>> returnOrdersMap, long id) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1171
 
-
 
1172
    public boolean validateReturnPickup(long returnPickupId, Map<Long,Boolean> returnOrdersMap) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1173
 
-
 
1174
    public boolean processReturnPickup(long returnPickupId, Map<Long,Map<String,String>> returnOrdersMap) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1175
 
-
 
1176
    public boolean markReturnTransactionComplete(long returnTransactionId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1177
 
-
 
1178
    public boolean refundReturnTransactionPayment(Map<Long,Map<String,String>> refundOrdersMap, long returntransactionId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1179
 
-
 
1180
    public List<ReturnTransaction> getReturnTransactionsForCustomer(List<ReturnTransactionStatus> statusList, String customerMobile, String customerEmail, long returnTransactionId, long customerId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1181
 
-
 
1182
    public boolean verifyOrderForTransaction(long transactionId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1183
 
1126
  }
1184
  }
1127
 
1185
 
1128
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1186
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1129
 
1187
 
1130
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
1188
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1627... Line 1685...
1627
 
1685
 
1628
    public void splitBulkOrder(long orderId, long splitOrderQty, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.splitBulkOrder_call> resultHandler) throws org.apache.thrift.TException;
1686
    public void splitBulkOrder(long orderId, long splitOrderQty, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.splitBulkOrder_call> resultHandler) throws org.apache.thrift.TException;
1629
 
1687
 
1630
    public void moveOrdersToCorrectWarehouse(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.moveOrdersToCorrectWarehouse_call> resultHandler) throws org.apache.thrift.TException;
1688
    public void moveOrdersToCorrectWarehouse(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.moveOrdersToCorrectWarehouse_call> resultHandler) throws org.apache.thrift.TException;
1631
 
1689
 
-
 
1690
    public void getCreditorInfo(long id, String name, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCreditorInfo_call> resultHandler) throws org.apache.thrift.TException;
-
 
1691
 
-
 
1692
    public void updateCreditorInfo(Creditor creditor, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateCreditorInfo_call> resultHandler) throws org.apache.thrift.TException;
-
 
1693
 
-
 
1694
    public void getUserSanctionDetails(long userId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUserSanctionDetails_call> resultHandler) throws org.apache.thrift.TException;
-
 
1695
 
-
 
1696
    public void getUserSanctionDetailsForCreditor(long userId, long creditorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUserSanctionDetailsForCreditor_call> resultHandler) throws org.apache.thrift.TException;
-
 
1697
 
-
 
1698
    public void updateUserSanction(UserSanction userSanaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateUserSanction_call> resultHandler) throws org.apache.thrift.TException;
-
 
1699
 
-
 
1700
    public void getCreditHistoryRecordsForTransaction(long paymentId, long creditorId, String creditTxnType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCreditHistoryRecordsForTransaction_call> resultHandler) throws org.apache.thrift.TException;
-
 
1701
 
-
 
1702
    public void getCreditHistoryRecordsForUserAndCreditor(long userId, String creditTxnType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCreditHistoryRecordsForUserAndCreditor_call> resultHandler) throws org.apache.thrift.TException;
-
 
1703
 
-
 
1704
    public void processCreditTransaction(long paymentId, List<CreditHistory> creditTxns, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.processCreditTransaction_call> resultHandler) throws org.apache.thrift.TException;
-
 
1705
 
-
 
1706
    public void getLoanPayableForUserToCreditor(long userId, long creditorId, long dueDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLoanPayableForUserToCreditor_call> resultHandler) throws org.apache.thrift.TException;
-
 
1707
 
-
 
1708
    public void getReturnOrderInfo(long id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException;
-
 
1709
 
-
 
1710
    public void getReturnOrderInfoList(List<Long> order_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfoList_call> resultHandler) throws org.apache.thrift.TException;
-
 
1711
 
-
 
1712
    public void getReturnOrderInfoListAsByStatus(List<Long> order_ids, List<String> statuses, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfoListAsByStatus_call> resultHandler) throws org.apache.thrift.TException;
-
 
1713
 
-
 
1714
    public void updateReturnOrderInfo(ReturnOrderInfo returnInfo, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException;
-
 
1715
 
-
 
1716
    public void bulkUpdateReturnOrderInfo(Map<Long,List<ReturnOrderInfo>> orderReturnInfosMap, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.bulkUpdateReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException;
-
 
1717
 
-
 
1718
    public void getReturnOrdersAsPerWarehouseId(long warehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrdersAsPerWarehouseId_call> resultHandler) throws org.apache.thrift.TException;
-
 
1719
 
-
 
1720
    public void createReturnTransaction(ReturnTransaction returnTransaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createReturnTransaction_call> resultHandler) throws org.apache.thrift.TException;
-
 
1721
 
-
 
1722
    public void getReturnTransaction(long id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnTransaction_call> resultHandler) throws org.apache.thrift.TException;
-
 
1723
 
-
 
1724
    public void getReturnOrdersForReturnTransaction(long returnTransactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrdersForReturnTransaction_call> resultHandler) throws org.apache.thrift.TException;
-
 
1725
 
-
 
1726
    public void changeReturnTransactionStatus(long returnTransactionId, ReturnTransactionStatus status, List<Long> returnOrderIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.changeReturnTransactionStatus_call> resultHandler) throws org.apache.thrift.TException;
-
 
1727
 
-
 
1728
    public void createReturnPickupRequest(List<Long> returnOrderIds, long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createReturnPickupRequest_call> resultHandler) throws org.apache.thrift.TException;
-
 
1729
 
-
 
1730
    public void updateReturnPickupRequest(ReturnPickupRequest returnPickupRequest, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateReturnPickupRequest_call> resultHandler) throws org.apache.thrift.TException;
-
 
1731
 
-
 
1732
    public void getAllReturnOrdersForReturnPickupRequest(long logisticsRequestId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllReturnOrdersForReturnPickupRequest_call> resultHandler) throws org.apache.thrift.TException;
-
 
1733
 
-
 
1734
    public void receiveReturnPickup(Map<Long,Map<String,String>> returnOrdersMap, long id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.receiveReturnPickup_call> resultHandler) throws org.apache.thrift.TException;
-
 
1735
 
-
 
1736
    public void validateReturnPickup(long returnPickupId, Map<Long,Boolean> returnOrdersMap, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateReturnPickup_call> resultHandler) throws org.apache.thrift.TException;
-
 
1737
 
-
 
1738
    public void processReturnPickup(long returnPickupId, Map<Long,Map<String,String>> returnOrdersMap, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.processReturnPickup_call> resultHandler) throws org.apache.thrift.TException;
-
 
1739
 
-
 
1740
    public void markReturnTransactionComplete(long returnTransactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markReturnTransactionComplete_call> resultHandler) throws org.apache.thrift.TException;
-
 
1741
 
-
 
1742
    public void refundReturnTransactionPayment(Map<Long,Map<String,String>> refundOrdersMap, long returntransactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.refundReturnTransactionPayment_call> resultHandler) throws org.apache.thrift.TException;
-
 
1743
 
-
 
1744
    public void getReturnTransactionsForCustomer(List<ReturnTransactionStatus> statusList, String customerMobile, String customerEmail, long returnTransactionId, long customerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnTransactionsForCustomer_call> resultHandler) throws org.apache.thrift.TException;
-
 
1745
 
-
 
1746
    public void verifyOrderForTransaction(long transactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.verifyOrderForTransaction_call> resultHandler) throws org.apache.thrift.TException;
-
 
1747
 
1632
  }
1748
  }
1633
 
1749
 
1634
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1750
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1635
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1751
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1636
      public Factory() {}
1752
      public Factory() {}
Line 7837... Line 7953...
7837
        return result.success;
7953
        return result.success;
7838
      }
7954
      }
7839
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "moveOrdersToCorrectWarehouse failed: unknown result");
7955
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "moveOrdersToCorrectWarehouse failed: unknown result");
7840
    }
7956
    }
7841
 
7957
 
-
 
7958
    public Creditor getCreditorInfo(long id, String name) throws org.apache.thrift.TException
-
 
7959
    {
-
 
7960
      send_getCreditorInfo(id, name);
-
 
7961
      return recv_getCreditorInfo();
-
 
7962
    }
-
 
7963
 
-
 
7964
    public void send_getCreditorInfo(long id, String name) throws org.apache.thrift.TException
-
 
7965
    {
-
 
7966
      getCreditorInfo_args args = new getCreditorInfo_args();
-
 
7967
      args.setId(id);
-
 
7968
      args.setName(name);
-
 
7969
      sendBase("getCreditorInfo", args);
-
 
7970
    }
-
 
7971
 
-
 
7972
    public Creditor recv_getCreditorInfo() throws org.apache.thrift.TException
-
 
7973
    {
-
 
7974
      getCreditorInfo_result result = new getCreditorInfo_result();
-
 
7975
      receiveBase(result, "getCreditorInfo");
-
 
7976
      if (result.isSetSuccess()) {
-
 
7977
        return result.success;
-
 
7978
      }
-
 
7979
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getCreditorInfo failed: unknown result");
-
 
7980
    }
-
 
7981
 
-
 
7982
    public boolean updateCreditorInfo(Creditor creditor) throws org.apache.thrift.TException
-
 
7983
    {
-
 
7984
      send_updateCreditorInfo(creditor);
-
 
7985
      return recv_updateCreditorInfo();
-
 
7986
    }
-
 
7987
 
-
 
7988
    public void send_updateCreditorInfo(Creditor creditor) throws org.apache.thrift.TException
-
 
7989
    {
-
 
7990
      updateCreditorInfo_args args = new updateCreditorInfo_args();
-
 
7991
      args.setCreditor(creditor);
-
 
7992
      sendBase("updateCreditorInfo", args);
-
 
7993
    }
-
 
7994
 
-
 
7995
    public boolean recv_updateCreditorInfo() throws org.apache.thrift.TException
-
 
7996
    {
-
 
7997
      updateCreditorInfo_result result = new updateCreditorInfo_result();
-
 
7998
      receiveBase(result, "updateCreditorInfo");
-
 
7999
      if (result.isSetSuccess()) {
-
 
8000
        return result.success;
-
 
8001
      }
-
 
8002
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateCreditorInfo failed: unknown result");
-
 
8003
    }
-
 
8004
 
-
 
8005
    public List<UserSanction> getUserSanctionDetails(long userId) throws org.apache.thrift.TException
-
 
8006
    {
-
 
8007
      send_getUserSanctionDetails(userId);
-
 
8008
      return recv_getUserSanctionDetails();
-
 
8009
    }
-
 
8010
 
-
 
8011
    public void send_getUserSanctionDetails(long userId) throws org.apache.thrift.TException
-
 
8012
    {
-
 
8013
      getUserSanctionDetails_args args = new getUserSanctionDetails_args();
-
 
8014
      args.setUserId(userId);
-
 
8015
      sendBase("getUserSanctionDetails", args);
-
 
8016
    }
-
 
8017
 
-
 
8018
    public List<UserSanction> recv_getUserSanctionDetails() throws org.apache.thrift.TException
-
 
8019
    {
-
 
8020
      getUserSanctionDetails_result result = new getUserSanctionDetails_result();
-
 
8021
      receiveBase(result, "getUserSanctionDetails");
-
 
8022
      if (result.isSetSuccess()) {
-
 
8023
        return result.success;
-
 
8024
      }
-
 
8025
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUserSanctionDetails failed: unknown result");
-
 
8026
    }
-
 
8027
 
-
 
8028
    public UserSanction getUserSanctionDetailsForCreditor(long userId, long creditorId) throws org.apache.thrift.TException
-
 
8029
    {
-
 
8030
      send_getUserSanctionDetailsForCreditor(userId, creditorId);
-
 
8031
      return recv_getUserSanctionDetailsForCreditor();
-
 
8032
    }
-
 
8033
 
-
 
8034
    public void send_getUserSanctionDetailsForCreditor(long userId, long creditorId) throws org.apache.thrift.TException
-
 
8035
    {
-
 
8036
      getUserSanctionDetailsForCreditor_args args = new getUserSanctionDetailsForCreditor_args();
-
 
8037
      args.setUserId(userId);
-
 
8038
      args.setCreditorId(creditorId);
-
 
8039
      sendBase("getUserSanctionDetailsForCreditor", args);
-
 
8040
    }
-
 
8041
 
-
 
8042
    public UserSanction recv_getUserSanctionDetailsForCreditor() throws org.apache.thrift.TException
-
 
8043
    {
-
 
8044
      getUserSanctionDetailsForCreditor_result result = new getUserSanctionDetailsForCreditor_result();
-
 
8045
      receiveBase(result, "getUserSanctionDetailsForCreditor");
-
 
8046
      if (result.isSetSuccess()) {
-
 
8047
        return result.success;
-
 
8048
      }
-
 
8049
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUserSanctionDetailsForCreditor failed: unknown result");
-
 
8050
    }
-
 
8051
 
-
 
8052
    public boolean updateUserSanction(UserSanction userSanaction) throws TransactionServiceException, org.apache.thrift.TException
-
 
8053
    {
-
 
8054
      send_updateUserSanction(userSanaction);
-
 
8055
      return recv_updateUserSanction();
-
 
8056
    }
-
 
8057
 
-
 
8058
    public void send_updateUserSanction(UserSanction userSanaction) throws org.apache.thrift.TException
-
 
8059
    {
-
 
8060
      updateUserSanction_args args = new updateUserSanction_args();
-
 
8061
      args.setUserSanaction(userSanaction);
-
 
8062
      sendBase("updateUserSanction", args);
-
 
8063
    }
-
 
8064
 
-
 
8065
    public boolean recv_updateUserSanction() throws TransactionServiceException, org.apache.thrift.TException
-
 
8066
    {
-
 
8067
      updateUserSanction_result result = new updateUserSanction_result();
-
 
8068
      receiveBase(result, "updateUserSanction");
-
 
8069
      if (result.isSetSuccess()) {
-
 
8070
        return result.success;
-
 
8071
      }
-
 
8072
      if (result.pe != null) {
-
 
8073
        throw result.pe;
-
 
8074
      }
-
 
8075
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateUserSanction failed: unknown result");
-
 
8076
    }
-
 
8077
 
-
 
8078
    public List<CreditHistory> getCreditHistoryRecordsForTransaction(long paymentId, long creditorId, String creditTxnType) throws org.apache.thrift.TException
-
 
8079
    {
-
 
8080
      send_getCreditHistoryRecordsForTransaction(paymentId, creditorId, creditTxnType);
-
 
8081
      return recv_getCreditHistoryRecordsForTransaction();
-
 
8082
    }
-
 
8083
 
-
 
8084
    public void send_getCreditHistoryRecordsForTransaction(long paymentId, long creditorId, String creditTxnType) throws org.apache.thrift.TException
-
 
8085
    {
-
 
8086
      getCreditHistoryRecordsForTransaction_args args = new getCreditHistoryRecordsForTransaction_args();
-
 
8087
      args.setPaymentId(paymentId);
-
 
8088
      args.setCreditorId(creditorId);
-
 
8089
      args.setCreditTxnType(creditTxnType);
-
 
8090
      sendBase("getCreditHistoryRecordsForTransaction", args);
-
 
8091
    }
-
 
8092
 
-
 
8093
    public List<CreditHistory> recv_getCreditHistoryRecordsForTransaction() throws org.apache.thrift.TException
-
 
8094
    {
-
 
8095
      getCreditHistoryRecordsForTransaction_result result = new getCreditHistoryRecordsForTransaction_result();
-
 
8096
      receiveBase(result, "getCreditHistoryRecordsForTransaction");
-
 
8097
      if (result.isSetSuccess()) {
-
 
8098
        return result.success;
-
 
8099
      }
-
 
8100
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getCreditHistoryRecordsForTransaction failed: unknown result");
-
 
8101
    }
-
 
8102
 
-
 
8103
    public List<CreditHistory> getCreditHistoryRecordsForUserAndCreditor(long userId, String creditTxnType) throws org.apache.thrift.TException
-
 
8104
    {
-
 
8105
      send_getCreditHistoryRecordsForUserAndCreditor(userId, creditTxnType);
-
 
8106
      return recv_getCreditHistoryRecordsForUserAndCreditor();
-
 
8107
    }
-
 
8108
 
-
 
8109
    public void send_getCreditHistoryRecordsForUserAndCreditor(long userId, String creditTxnType) throws org.apache.thrift.TException
-
 
8110
    {
-
 
8111
      getCreditHistoryRecordsForUserAndCreditor_args args = new getCreditHistoryRecordsForUserAndCreditor_args();
-
 
8112
      args.setUserId(userId);
-
 
8113
      args.setCreditTxnType(creditTxnType);
-
 
8114
      sendBase("getCreditHistoryRecordsForUserAndCreditor", args);
-
 
8115
    }
-
 
8116
 
-
 
8117
    public List<CreditHistory> recv_getCreditHistoryRecordsForUserAndCreditor() throws org.apache.thrift.TException
-
 
8118
    {
-
 
8119
      getCreditHistoryRecordsForUserAndCreditor_result result = new getCreditHistoryRecordsForUserAndCreditor_result();
-
 
8120
      receiveBase(result, "getCreditHistoryRecordsForUserAndCreditor");
-
 
8121
      if (result.isSetSuccess()) {
-
 
8122
        return result.success;
-
 
8123
      }
-
 
8124
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getCreditHistoryRecordsForUserAndCreditor failed: unknown result");
-
 
8125
    }
-
 
8126
 
-
 
8127
    public boolean processCreditTransaction(long paymentId, List<CreditHistory> creditTxns) throws TransactionServiceException, org.apache.thrift.TException
-
 
8128
    {
-
 
8129
      send_processCreditTransaction(paymentId, creditTxns);
-
 
8130
      return recv_processCreditTransaction();
-
 
8131
    }
-
 
8132
 
-
 
8133
    public void send_processCreditTransaction(long paymentId, List<CreditHistory> creditTxns) throws org.apache.thrift.TException
-
 
8134
    {
-
 
8135
      processCreditTransaction_args args = new processCreditTransaction_args();
-
 
8136
      args.setPaymentId(paymentId);
-
 
8137
      args.setCreditTxns(creditTxns);
-
 
8138
      sendBase("processCreditTransaction", args);
-
 
8139
    }
-
 
8140
 
-
 
8141
    public boolean recv_processCreditTransaction() throws TransactionServiceException, org.apache.thrift.TException
-
 
8142
    {
-
 
8143
      processCreditTransaction_result result = new processCreditTransaction_result();
-
 
8144
      receiveBase(result, "processCreditTransaction");
-
 
8145
      if (result.isSetSuccess()) {
-
 
8146
        return result.success;
-
 
8147
      }
-
 
8148
      if (result.pe != null) {
-
 
8149
        throw result.pe;
-
 
8150
      }
-
 
8151
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "processCreditTransaction failed: unknown result");
-
 
8152
    }
-
 
8153
 
-
 
8154
    public List<CreditHistory> getLoanPayableForUserToCreditor(long userId, long creditorId, long dueDate) throws org.apache.thrift.TException
-
 
8155
    {
-
 
8156
      send_getLoanPayableForUserToCreditor(userId, creditorId, dueDate);
-
 
8157
      return recv_getLoanPayableForUserToCreditor();
-
 
8158
    }
-
 
8159
 
-
 
8160
    public void send_getLoanPayableForUserToCreditor(long userId, long creditorId, long dueDate) throws org.apache.thrift.TException
-
 
8161
    {
-
 
8162
      getLoanPayableForUserToCreditor_args args = new getLoanPayableForUserToCreditor_args();
-
 
8163
      args.setUserId(userId);
-
 
8164
      args.setCreditorId(creditorId);
-
 
8165
      args.setDueDate(dueDate);
-
 
8166
      sendBase("getLoanPayableForUserToCreditor", args);
-
 
8167
    }
-
 
8168
 
-
 
8169
    public List<CreditHistory> recv_getLoanPayableForUserToCreditor() throws org.apache.thrift.TException
-
 
8170
    {
-
 
8171
      getLoanPayableForUserToCreditor_result result = new getLoanPayableForUserToCreditor_result();
-
 
8172
      receiveBase(result, "getLoanPayableForUserToCreditor");
-
 
8173
      if (result.isSetSuccess()) {
-
 
8174
        return result.success;
-
 
8175
      }
-
 
8176
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getLoanPayableForUserToCreditor failed: unknown result");
-
 
8177
    }
-
 
8178
 
-
 
8179
    public ReturnOrderInfo getReturnOrderInfo(long id) throws TransactionServiceException, org.apache.thrift.TException
-
 
8180
    {
-
 
8181
      send_getReturnOrderInfo(id);
-
 
8182
      return recv_getReturnOrderInfo();
-
 
8183
    }
-
 
8184
 
-
 
8185
    public void send_getReturnOrderInfo(long id) throws org.apache.thrift.TException
-
 
8186
    {
-
 
8187
      getReturnOrderInfo_args args = new getReturnOrderInfo_args();
-
 
8188
      args.setId(id);
-
 
8189
      sendBase("getReturnOrderInfo", args);
-
 
8190
    }
-
 
8191
 
-
 
8192
    public ReturnOrderInfo recv_getReturnOrderInfo() throws TransactionServiceException, org.apache.thrift.TException
-
 
8193
    {
-
 
8194
      getReturnOrderInfo_result result = new getReturnOrderInfo_result();
-
 
8195
      receiveBase(result, "getReturnOrderInfo");
-
 
8196
      if (result.isSetSuccess()) {
-
 
8197
        return result.success;
-
 
8198
      }
-
 
8199
      if (result.ex != null) {
-
 
8200
        throw result.ex;
-
 
8201
      }
-
 
8202
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReturnOrderInfo failed: unknown result");
-
 
8203
    }
-
 
8204
 
-
 
8205
    public Map<Long,List<ReturnOrderInfo>> getReturnOrderInfoList(List<Long> order_ids) throws org.apache.thrift.TException
-
 
8206
    {
-
 
8207
      send_getReturnOrderInfoList(order_ids);
-
 
8208
      return recv_getReturnOrderInfoList();
-
 
8209
    }
-
 
8210
 
-
 
8211
    public void send_getReturnOrderInfoList(List<Long> order_ids) throws org.apache.thrift.TException
-
 
8212
    {
-
 
8213
      getReturnOrderInfoList_args args = new getReturnOrderInfoList_args();
-
 
8214
      args.setOrder_ids(order_ids);
-
 
8215
      sendBase("getReturnOrderInfoList", args);
-
 
8216
    }
-
 
8217
 
-
 
8218
    public Map<Long,List<ReturnOrderInfo>> recv_getReturnOrderInfoList() throws org.apache.thrift.TException
-
 
8219
    {
-
 
8220
      getReturnOrderInfoList_result result = new getReturnOrderInfoList_result();
-
 
8221
      receiveBase(result, "getReturnOrderInfoList");
-
 
8222
      if (result.isSetSuccess()) {
-
 
8223
        return result.success;
-
 
8224
      }
-
 
8225
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReturnOrderInfoList failed: unknown result");
-
 
8226
    }
-
 
8227
 
-
 
8228
    public Map<Long,List<ReturnOrderInfo>> getReturnOrderInfoListAsByStatus(List<Long> order_ids, List<String> statuses) throws org.apache.thrift.TException
-
 
8229
    {
-
 
8230
      send_getReturnOrderInfoListAsByStatus(order_ids, statuses);
-
 
8231
      return recv_getReturnOrderInfoListAsByStatus();
-
 
8232
    }
-
 
8233
 
-
 
8234
    public void send_getReturnOrderInfoListAsByStatus(List<Long> order_ids, List<String> statuses) throws org.apache.thrift.TException
-
 
8235
    {
-
 
8236
      getReturnOrderInfoListAsByStatus_args args = new getReturnOrderInfoListAsByStatus_args();
-
 
8237
      args.setOrder_ids(order_ids);
-
 
8238
      args.setStatuses(statuses);
-
 
8239
      sendBase("getReturnOrderInfoListAsByStatus", args);
-
 
8240
    }
-
 
8241
 
-
 
8242
    public Map<Long,List<ReturnOrderInfo>> recv_getReturnOrderInfoListAsByStatus() throws org.apache.thrift.TException
-
 
8243
    {
-
 
8244
      getReturnOrderInfoListAsByStatus_result result = new getReturnOrderInfoListAsByStatus_result();
-
 
8245
      receiveBase(result, "getReturnOrderInfoListAsByStatus");
-
 
8246
      if (result.isSetSuccess()) {
-
 
8247
        return result.success;
-
 
8248
      }
-
 
8249
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReturnOrderInfoListAsByStatus failed: unknown result");
-
 
8250
    }
-
 
8251
 
-
 
8252
    public boolean updateReturnOrderInfo(ReturnOrderInfo returnInfo) throws TransactionServiceException, org.apache.thrift.TException
-
 
8253
    {
-
 
8254
      send_updateReturnOrderInfo(returnInfo);
-
 
8255
      return recv_updateReturnOrderInfo();
-
 
8256
    }
-
 
8257
 
-
 
8258
    public void send_updateReturnOrderInfo(ReturnOrderInfo returnInfo) throws org.apache.thrift.TException
-
 
8259
    {
-
 
8260
      updateReturnOrderInfo_args args = new updateReturnOrderInfo_args();
-
 
8261
      args.setReturnInfo(returnInfo);
-
 
8262
      sendBase("updateReturnOrderInfo", args);
-
 
8263
    }
-
 
8264
 
-
 
8265
    public boolean recv_updateReturnOrderInfo() throws TransactionServiceException, org.apache.thrift.TException
-
 
8266
    {
-
 
8267
      updateReturnOrderInfo_result result = new updateReturnOrderInfo_result();
-
 
8268
      receiveBase(result, "updateReturnOrderInfo");
-
 
8269
      if (result.isSetSuccess()) {
-
 
8270
        return result.success;
-
 
8271
      }
-
 
8272
      if (result.ex != null) {
-
 
8273
        throw result.ex;
-
 
8274
      }
-
 
8275
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateReturnOrderInfo failed: unknown result");
-
 
8276
    }
-
 
8277
 
-
 
8278
    public Map<Long,Boolean> bulkUpdateReturnOrderInfo(Map<Long,List<ReturnOrderInfo>> orderReturnInfosMap) throws TransactionServiceException, org.apache.thrift.TException
-
 
8279
    {
-
 
8280
      send_bulkUpdateReturnOrderInfo(orderReturnInfosMap);
-
 
8281
      return recv_bulkUpdateReturnOrderInfo();
-
 
8282
    }
-
 
8283
 
-
 
8284
    public void send_bulkUpdateReturnOrderInfo(Map<Long,List<ReturnOrderInfo>> orderReturnInfosMap) throws org.apache.thrift.TException
-
 
8285
    {
-
 
8286
      bulkUpdateReturnOrderInfo_args args = new bulkUpdateReturnOrderInfo_args();
-
 
8287
      args.setOrderReturnInfosMap(orderReturnInfosMap);
-
 
8288
      sendBase("bulkUpdateReturnOrderInfo", args);
-
 
8289
    }
-
 
8290
 
-
 
8291
    public Map<Long,Boolean> recv_bulkUpdateReturnOrderInfo() throws TransactionServiceException, org.apache.thrift.TException
-
 
8292
    {
-
 
8293
      bulkUpdateReturnOrderInfo_result result = new bulkUpdateReturnOrderInfo_result();
-
 
8294
      receiveBase(result, "bulkUpdateReturnOrderInfo");
-
 
8295
      if (result.isSetSuccess()) {
-
 
8296
        return result.success;
-
 
8297
      }
-
 
8298
      if (result.ex != null) {
-
 
8299
        throw result.ex;
-
 
8300
      }
-
 
8301
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "bulkUpdateReturnOrderInfo failed: unknown result");
-
 
8302
    }
-
 
8303
 
-
 
8304
    public List<ReturnOrderInfo> getReturnOrdersAsPerWarehouseId(long warehouseId) throws org.apache.thrift.TException
-
 
8305
    {
-
 
8306
      send_getReturnOrdersAsPerWarehouseId(warehouseId);
-
 
8307
      return recv_getReturnOrdersAsPerWarehouseId();
-
 
8308
    }
-
 
8309
 
-
 
8310
    public void send_getReturnOrdersAsPerWarehouseId(long warehouseId) throws org.apache.thrift.TException
-
 
8311
    {
-
 
8312
      getReturnOrdersAsPerWarehouseId_args args = new getReturnOrdersAsPerWarehouseId_args();
-
 
8313
      args.setWarehouseId(warehouseId);
-
 
8314
      sendBase("getReturnOrdersAsPerWarehouseId", args);
-
 
8315
    }
-
 
8316
 
-
 
8317
    public List<ReturnOrderInfo> recv_getReturnOrdersAsPerWarehouseId() throws org.apache.thrift.TException
-
 
8318
    {
-
 
8319
      getReturnOrdersAsPerWarehouseId_result result = new getReturnOrdersAsPerWarehouseId_result();
-
 
8320
      receiveBase(result, "getReturnOrdersAsPerWarehouseId");
-
 
8321
      if (result.isSetSuccess()) {
-
 
8322
        return result.success;
-
 
8323
      }
-
 
8324
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReturnOrdersAsPerWarehouseId failed: unknown result");
-
 
8325
    }
-
 
8326
 
-
 
8327
    public long createReturnTransaction(ReturnTransaction returnTransaction) throws TransactionServiceException, org.apache.thrift.TException
-
 
8328
    {
-
 
8329
      send_createReturnTransaction(returnTransaction);
-
 
8330
      return recv_createReturnTransaction();
-
 
8331
    }
-
 
8332
 
-
 
8333
    public void send_createReturnTransaction(ReturnTransaction returnTransaction) throws org.apache.thrift.TException
-
 
8334
    {
-
 
8335
      createReturnTransaction_args args = new createReturnTransaction_args();
-
 
8336
      args.setReturnTransaction(returnTransaction);
-
 
8337
      sendBase("createReturnTransaction", args);
-
 
8338
    }
-
 
8339
 
-
 
8340
    public long recv_createReturnTransaction() throws TransactionServiceException, org.apache.thrift.TException
-
 
8341
    {
-
 
8342
      createReturnTransaction_result result = new createReturnTransaction_result();
-
 
8343
      receiveBase(result, "createReturnTransaction");
-
 
8344
      if (result.isSetSuccess()) {
-
 
8345
        return result.success;
-
 
8346
      }
-
 
8347
      if (result.ex != null) {
-
 
8348
        throw result.ex;
-
 
8349
      }
-
 
8350
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createReturnTransaction failed: unknown result");
-
 
8351
    }
-
 
8352
 
-
 
8353
    public ReturnTransaction getReturnTransaction(long id) throws TransactionServiceException, org.apache.thrift.TException
-
 
8354
    {
-
 
8355
      send_getReturnTransaction(id);
-
 
8356
      return recv_getReturnTransaction();
-
 
8357
    }
-
 
8358
 
-
 
8359
    public void send_getReturnTransaction(long id) throws org.apache.thrift.TException
-
 
8360
    {
-
 
8361
      getReturnTransaction_args args = new getReturnTransaction_args();
-
 
8362
      args.setId(id);
-
 
8363
      sendBase("getReturnTransaction", args);
-
 
8364
    }
-
 
8365
 
-
 
8366
    public ReturnTransaction recv_getReturnTransaction() throws TransactionServiceException, org.apache.thrift.TException
-
 
8367
    {
-
 
8368
      getReturnTransaction_result result = new getReturnTransaction_result();
-
 
8369
      receiveBase(result, "getReturnTransaction");
-
 
8370
      if (result.isSetSuccess()) {
-
 
8371
        return result.success;
-
 
8372
      }
-
 
8373
      if (result.ex != null) {
-
 
8374
        throw result.ex;
-
 
8375
      }
-
 
8376
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReturnTransaction failed: unknown result");
-
 
8377
    }
-
 
8378
 
-
 
8379
    public List<ReturnOrderInfo> getReturnOrdersForReturnTransaction(long returnTransactionId) throws TransactionServiceException, org.apache.thrift.TException
-
 
8380
    {
-
 
8381
      send_getReturnOrdersForReturnTransaction(returnTransactionId);
-
 
8382
      return recv_getReturnOrdersForReturnTransaction();
-
 
8383
    }
-
 
8384
 
-
 
8385
    public void send_getReturnOrdersForReturnTransaction(long returnTransactionId) throws org.apache.thrift.TException
-
 
8386
    {
-
 
8387
      getReturnOrdersForReturnTransaction_args args = new getReturnOrdersForReturnTransaction_args();
-
 
8388
      args.setReturnTransactionId(returnTransactionId);
-
 
8389
      sendBase("getReturnOrdersForReturnTransaction", args);
-
 
8390
    }
-
 
8391
 
-
 
8392
    public List<ReturnOrderInfo> recv_getReturnOrdersForReturnTransaction() throws TransactionServiceException, org.apache.thrift.TException
-
 
8393
    {
-
 
8394
      getReturnOrdersForReturnTransaction_result result = new getReturnOrdersForReturnTransaction_result();
-
 
8395
      receiveBase(result, "getReturnOrdersForReturnTransaction");
-
 
8396
      if (result.isSetSuccess()) {
-
 
8397
        return result.success;
-
 
8398
      }
-
 
8399
      if (result.ex != null) {
-
 
8400
        throw result.ex;
-
 
8401
      }
-
 
8402
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReturnOrdersForReturnTransaction failed: unknown result");
-
 
8403
    }
-
 
8404
 
-
 
8405
    public boolean changeReturnTransactionStatus(long returnTransactionId, ReturnTransactionStatus status, List<Long> returnOrderIds) throws TransactionServiceException, org.apache.thrift.TException
-
 
8406
    {
-
 
8407
      send_changeReturnTransactionStatus(returnTransactionId, status, returnOrderIds);
-
 
8408
      return recv_changeReturnTransactionStatus();
-
 
8409
    }
-
 
8410
 
-
 
8411
    public void send_changeReturnTransactionStatus(long returnTransactionId, ReturnTransactionStatus status, List<Long> returnOrderIds) throws org.apache.thrift.TException
-
 
8412
    {
-
 
8413
      changeReturnTransactionStatus_args args = new changeReturnTransactionStatus_args();
-
 
8414
      args.setReturnTransactionId(returnTransactionId);
-
 
8415
      args.setStatus(status);
-
 
8416
      args.setReturnOrderIds(returnOrderIds);
-
 
8417
      sendBase("changeReturnTransactionStatus", args);
-
 
8418
    }
-
 
8419
 
-
 
8420
    public boolean recv_changeReturnTransactionStatus() throws TransactionServiceException, org.apache.thrift.TException
-
 
8421
    {
-
 
8422
      changeReturnTransactionStatus_result result = new changeReturnTransactionStatus_result();
-
 
8423
      receiveBase(result, "changeReturnTransactionStatus");
-
 
8424
      if (result.isSetSuccess()) {
-
 
8425
        return result.success;
-
 
8426
      }
-
 
8427
      if (result.ex != null) {
-
 
8428
        throw result.ex;
-
 
8429
      }
-
 
8430
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "changeReturnTransactionStatus failed: unknown result");
-
 
8431
    }
-
 
8432
 
-
 
8433
    public boolean createReturnPickupRequest(List<Long> returnOrderIds, long providerId) throws TransactionServiceException, org.apache.thrift.TException
-
 
8434
    {
-
 
8435
      send_createReturnPickupRequest(returnOrderIds, providerId);
-
 
8436
      return recv_createReturnPickupRequest();
-
 
8437
    }
-
 
8438
 
-
 
8439
    public void send_createReturnPickupRequest(List<Long> returnOrderIds, long providerId) throws org.apache.thrift.TException
-
 
8440
    {
-
 
8441
      createReturnPickupRequest_args args = new createReturnPickupRequest_args();
-
 
8442
      args.setReturnOrderIds(returnOrderIds);
-
 
8443
      args.setProviderId(providerId);
-
 
8444
      sendBase("createReturnPickupRequest", args);
-
 
8445
    }
-
 
8446
 
-
 
8447
    public boolean recv_createReturnPickupRequest() throws TransactionServiceException, org.apache.thrift.TException
-
 
8448
    {
-
 
8449
      createReturnPickupRequest_result result = new createReturnPickupRequest_result();
-
 
8450
      receiveBase(result, "createReturnPickupRequest");
-
 
8451
      if (result.isSetSuccess()) {
-
 
8452
        return result.success;
-
 
8453
      }
-
 
8454
      if (result.ex != null) {
-
 
8455
        throw result.ex;
-
 
8456
      }
-
 
8457
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createReturnPickupRequest failed: unknown result");
-
 
8458
    }
-
 
8459
 
-
 
8460
    public boolean updateReturnPickupRequest(ReturnPickupRequest returnPickupRequest) throws TransactionServiceException, org.apache.thrift.TException
-
 
8461
    {
-
 
8462
      send_updateReturnPickupRequest(returnPickupRequest);
-
 
8463
      return recv_updateReturnPickupRequest();
-
 
8464
    }
-
 
8465
 
-
 
8466
    public void send_updateReturnPickupRequest(ReturnPickupRequest returnPickupRequest) throws org.apache.thrift.TException
-
 
8467
    {
-
 
8468
      updateReturnPickupRequest_args args = new updateReturnPickupRequest_args();
-
 
8469
      args.setReturnPickupRequest(returnPickupRequest);
-
 
8470
      sendBase("updateReturnPickupRequest", args);
-
 
8471
    }
-
 
8472
 
-
 
8473
    public boolean recv_updateReturnPickupRequest() throws TransactionServiceException, org.apache.thrift.TException
-
 
8474
    {
-
 
8475
      updateReturnPickupRequest_result result = new updateReturnPickupRequest_result();
-
 
8476
      receiveBase(result, "updateReturnPickupRequest");
-
 
8477
      if (result.isSetSuccess()) {
-
 
8478
        return result.success;
-
 
8479
      }
-
 
8480
      if (result.ex != null) {
-
 
8481
        throw result.ex;
-
 
8482
      }
-
 
8483
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateReturnPickupRequest failed: unknown result");
-
 
8484
    }
-
 
8485
 
-
 
8486
    public List<ReturnOrderInfo> getAllReturnOrdersForReturnPickupRequest(long logisticsRequestId) throws TransactionServiceException, org.apache.thrift.TException
-
 
8487
    {
-
 
8488
      send_getAllReturnOrdersForReturnPickupRequest(logisticsRequestId);
-
 
8489
      return recv_getAllReturnOrdersForReturnPickupRequest();
-
 
8490
    }
-
 
8491
 
-
 
8492
    public void send_getAllReturnOrdersForReturnPickupRequest(long logisticsRequestId) throws org.apache.thrift.TException
-
 
8493
    {
-
 
8494
      getAllReturnOrdersForReturnPickupRequest_args args = new getAllReturnOrdersForReturnPickupRequest_args();
-
 
8495
      args.setLogisticsRequestId(logisticsRequestId);
-
 
8496
      sendBase("getAllReturnOrdersForReturnPickupRequest", args);
-
 
8497
    }
-
 
8498
 
-
 
8499
    public List<ReturnOrderInfo> recv_getAllReturnOrdersForReturnPickupRequest() throws TransactionServiceException, org.apache.thrift.TException
-
 
8500
    {
-
 
8501
      getAllReturnOrdersForReturnPickupRequest_result result = new getAllReturnOrdersForReturnPickupRequest_result();
-
 
8502
      receiveBase(result, "getAllReturnOrdersForReturnPickupRequest");
-
 
8503
      if (result.isSetSuccess()) {
-
 
8504
        return result.success;
-
 
8505
      }
-
 
8506
      if (result.ex != null) {
-
 
8507
        throw result.ex;
-
 
8508
      }
-
 
8509
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllReturnOrdersForReturnPickupRequest failed: unknown result");
-
 
8510
    }
-
 
8511
 
-
 
8512
    public boolean receiveReturnPickup(Map<Long,Map<String,String>> returnOrdersMap, long id) throws TransactionServiceException, org.apache.thrift.TException
-
 
8513
    {
-
 
8514
      send_receiveReturnPickup(returnOrdersMap, id);
-
 
8515
      return recv_receiveReturnPickup();
-
 
8516
    }
-
 
8517
 
-
 
8518
    public void send_receiveReturnPickup(Map<Long,Map<String,String>> returnOrdersMap, long id) throws org.apache.thrift.TException
-
 
8519
    {
-
 
8520
      receiveReturnPickup_args args = new receiveReturnPickup_args();
-
 
8521
      args.setReturnOrdersMap(returnOrdersMap);
-
 
8522
      args.setId(id);
-
 
8523
      sendBase("receiveReturnPickup", args);
-
 
8524
    }
-
 
8525
 
-
 
8526
    public boolean recv_receiveReturnPickup() throws TransactionServiceException, org.apache.thrift.TException
-
 
8527
    {
-
 
8528
      receiveReturnPickup_result result = new receiveReturnPickup_result();
-
 
8529
      receiveBase(result, "receiveReturnPickup");
-
 
8530
      if (result.isSetSuccess()) {
-
 
8531
        return result.success;
-
 
8532
      }
-
 
8533
      if (result.ex != null) {
-
 
8534
        throw result.ex;
-
 
8535
      }
-
 
8536
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "receiveReturnPickup failed: unknown result");
-
 
8537
    }
-
 
8538
 
-
 
8539
    public boolean validateReturnPickup(long returnPickupId, Map<Long,Boolean> returnOrdersMap) throws TransactionServiceException, org.apache.thrift.TException
-
 
8540
    {
-
 
8541
      send_validateReturnPickup(returnPickupId, returnOrdersMap);
-
 
8542
      return recv_validateReturnPickup();
-
 
8543
    }
-
 
8544
 
-
 
8545
    public void send_validateReturnPickup(long returnPickupId, Map<Long,Boolean> returnOrdersMap) throws org.apache.thrift.TException
-
 
8546
    {
-
 
8547
      validateReturnPickup_args args = new validateReturnPickup_args();
-
 
8548
      args.setReturnPickupId(returnPickupId);
-
 
8549
      args.setReturnOrdersMap(returnOrdersMap);
-
 
8550
      sendBase("validateReturnPickup", args);
-
 
8551
    }
-
 
8552
 
-
 
8553
    public boolean recv_validateReturnPickup() throws TransactionServiceException, org.apache.thrift.TException
-
 
8554
    {
-
 
8555
      validateReturnPickup_result result = new validateReturnPickup_result();
-
 
8556
      receiveBase(result, "validateReturnPickup");
-
 
8557
      if (result.isSetSuccess()) {
-
 
8558
        return result.success;
-
 
8559
      }
-
 
8560
      if (result.ex != null) {
-
 
8561
        throw result.ex;
-
 
8562
      }
-
 
8563
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "validateReturnPickup failed: unknown result");
-
 
8564
    }
-
 
8565
 
-
 
8566
    public boolean processReturnPickup(long returnPickupId, Map<Long,Map<String,String>> returnOrdersMap) throws TransactionServiceException, org.apache.thrift.TException
-
 
8567
    {
-
 
8568
      send_processReturnPickup(returnPickupId, returnOrdersMap);
-
 
8569
      return recv_processReturnPickup();
-
 
8570
    }
-
 
8571
 
-
 
8572
    public void send_processReturnPickup(long returnPickupId, Map<Long,Map<String,String>> returnOrdersMap) throws org.apache.thrift.TException
-
 
8573
    {
-
 
8574
      processReturnPickup_args args = new processReturnPickup_args();
-
 
8575
      args.setReturnPickupId(returnPickupId);
-
 
8576
      args.setReturnOrdersMap(returnOrdersMap);
-
 
8577
      sendBase("processReturnPickup", args);
-
 
8578
    }
-
 
8579
 
-
 
8580
    public boolean recv_processReturnPickup() throws TransactionServiceException, org.apache.thrift.TException
-
 
8581
    {
-
 
8582
      processReturnPickup_result result = new processReturnPickup_result();
-
 
8583
      receiveBase(result, "processReturnPickup");
-
 
8584
      if (result.isSetSuccess()) {
-
 
8585
        return result.success;
-
 
8586
      }
-
 
8587
      if (result.ex != null) {
-
 
8588
        throw result.ex;
-
 
8589
      }
-
 
8590
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "processReturnPickup failed: unknown result");
-
 
8591
    }
-
 
8592
 
-
 
8593
    public boolean markReturnTransactionComplete(long returnTransactionId) throws TransactionServiceException, org.apache.thrift.TException
-
 
8594
    {
-
 
8595
      send_markReturnTransactionComplete(returnTransactionId);
-
 
8596
      return recv_markReturnTransactionComplete();
-
 
8597
    }
-
 
8598
 
-
 
8599
    public void send_markReturnTransactionComplete(long returnTransactionId) throws org.apache.thrift.TException
-
 
8600
    {
-
 
8601
      markReturnTransactionComplete_args args = new markReturnTransactionComplete_args();
-
 
8602
      args.setReturnTransactionId(returnTransactionId);
-
 
8603
      sendBase("markReturnTransactionComplete", args);
-
 
8604
    }
-
 
8605
 
-
 
8606
    public boolean recv_markReturnTransactionComplete() throws TransactionServiceException, org.apache.thrift.TException
-
 
8607
    {
-
 
8608
      markReturnTransactionComplete_result result = new markReturnTransactionComplete_result();
-
 
8609
      receiveBase(result, "markReturnTransactionComplete");
-
 
8610
      if (result.isSetSuccess()) {
-
 
8611
        return result.success;
-
 
8612
      }
-
 
8613
      if (result.ex != null) {
-
 
8614
        throw result.ex;
-
 
8615
      }
-
 
8616
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markReturnTransactionComplete failed: unknown result");
-
 
8617
    }
-
 
8618
 
-
 
8619
    public boolean refundReturnTransactionPayment(Map<Long,Map<String,String>> refundOrdersMap, long returntransactionId) throws TransactionServiceException, org.apache.thrift.TException
-
 
8620
    {
-
 
8621
      send_refundReturnTransactionPayment(refundOrdersMap, returntransactionId);
-
 
8622
      return recv_refundReturnTransactionPayment();
-
 
8623
    }
-
 
8624
 
-
 
8625
    public void send_refundReturnTransactionPayment(Map<Long,Map<String,String>> refundOrdersMap, long returntransactionId) throws org.apache.thrift.TException
-
 
8626
    {
-
 
8627
      refundReturnTransactionPayment_args args = new refundReturnTransactionPayment_args();
-
 
8628
      args.setRefundOrdersMap(refundOrdersMap);
-
 
8629
      args.setReturntransactionId(returntransactionId);
-
 
8630
      sendBase("refundReturnTransactionPayment", args);
-
 
8631
    }
-
 
8632
 
-
 
8633
    public boolean recv_refundReturnTransactionPayment() throws TransactionServiceException, org.apache.thrift.TException
-
 
8634
    {
-
 
8635
      refundReturnTransactionPayment_result result = new refundReturnTransactionPayment_result();
-
 
8636
      receiveBase(result, "refundReturnTransactionPayment");
-
 
8637
      if (result.isSetSuccess()) {
-
 
8638
        return result.success;
-
 
8639
      }
-
 
8640
      if (result.ex != null) {
-
 
8641
        throw result.ex;
-
 
8642
      }
-
 
8643
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "refundReturnTransactionPayment failed: unknown result");
-
 
8644
    }
-
 
8645
 
-
 
8646
    public List<ReturnTransaction> getReturnTransactionsForCustomer(List<ReturnTransactionStatus> statusList, String customerMobile, String customerEmail, long returnTransactionId, long customerId) throws TransactionServiceException, org.apache.thrift.TException
-
 
8647
    {
-
 
8648
      send_getReturnTransactionsForCustomer(statusList, customerMobile, customerEmail, returnTransactionId, customerId);
-
 
8649
      return recv_getReturnTransactionsForCustomer();
-
 
8650
    }
-
 
8651
 
-
 
8652
    public void send_getReturnTransactionsForCustomer(List<ReturnTransactionStatus> statusList, String customerMobile, String customerEmail, long returnTransactionId, long customerId) throws org.apache.thrift.TException
-
 
8653
    {
-
 
8654
      getReturnTransactionsForCustomer_args args = new getReturnTransactionsForCustomer_args();
-
 
8655
      args.setStatusList(statusList);
-
 
8656
      args.setCustomerMobile(customerMobile);
-
 
8657
      args.setCustomerEmail(customerEmail);
-
 
8658
      args.setReturnTransactionId(returnTransactionId);
-
 
8659
      args.setCustomerId(customerId);
-
 
8660
      sendBase("getReturnTransactionsForCustomer", args);
-
 
8661
    }
-
 
8662
 
-
 
8663
    public List<ReturnTransaction> recv_getReturnTransactionsForCustomer() throws TransactionServiceException, org.apache.thrift.TException
-
 
8664
    {
-
 
8665
      getReturnTransactionsForCustomer_result result = new getReturnTransactionsForCustomer_result();
-
 
8666
      receiveBase(result, "getReturnTransactionsForCustomer");
-
 
8667
      if (result.isSetSuccess()) {
-
 
8668
        return result.success;
-
 
8669
      }
-
 
8670
      if (result.ex != null) {
-
 
8671
        throw result.ex;
-
 
8672
      }
-
 
8673
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReturnTransactionsForCustomer failed: unknown result");
-
 
8674
    }
-
 
8675
 
-
 
8676
    public boolean verifyOrderForTransaction(long transactionId) throws TransactionServiceException, org.apache.thrift.TException
-
 
8677
    {
-
 
8678
      send_verifyOrderForTransaction(transactionId);
-
 
8679
      return recv_verifyOrderForTransaction();
-
 
8680
    }
-
 
8681
 
-
 
8682
    public void send_verifyOrderForTransaction(long transactionId) throws org.apache.thrift.TException
-
 
8683
    {
-
 
8684
      verifyOrderForTransaction_args args = new verifyOrderForTransaction_args();
-
 
8685
      args.setTransactionId(transactionId);
-
 
8686
      sendBase("verifyOrderForTransaction", args);
-
 
8687
    }
-
 
8688
 
-
 
8689
    public boolean recv_verifyOrderForTransaction() throws TransactionServiceException, org.apache.thrift.TException
-
 
8690
    {
-
 
8691
      verifyOrderForTransaction_result result = new verifyOrderForTransaction_result();
-
 
8692
      receiveBase(result, "verifyOrderForTransaction");
-
 
8693
      if (result.isSetSuccess()) {
-
 
8694
        return result.success;
-
 
8695
      }
-
 
8696
      if (result.ex != null) {
-
 
8697
        throw result.ex;
-
 
8698
      }
-
 
8699
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "verifyOrderForTransaction failed: unknown result");
-
 
8700
    }
-
 
8701
 
7842
  }
8702
  }
7843
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
8703
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
7844
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
8704
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
7845
      private org.apache.thrift.async.TAsyncClientManager clientManager;
8705
      private org.apache.thrift.async.TAsyncClientManager clientManager;
7846
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
8706
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 16583... Line 17443...
16583
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
17443
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
16584
        return (new Client(prot)).recv_moveOrdersToCorrectWarehouse();
17444
        return (new Client(prot)).recv_moveOrdersToCorrectWarehouse();
16585
      }
17445
      }
16586
    }
17446
    }
16587
 
17447
 
-
 
17448
    public void getCreditorInfo(long id, String name, org.apache.thrift.async.AsyncMethodCallback<getCreditorInfo_call> resultHandler) throws org.apache.thrift.TException {
-
 
17449
      checkReady();
-
 
17450
      getCreditorInfo_call method_call = new getCreditorInfo_call(id, name, resultHandler, this, ___protocolFactory, ___transport);
-
 
17451
      this.___currentMethod = method_call;
-
 
17452
      ___manager.call(method_call);
-
 
17453
    }
-
 
17454
 
-
 
17455
    public static class getCreditorInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17456
      private long id;
-
 
17457
      private String name;
-
 
17458
      public getCreditorInfo_call(long id, String name, org.apache.thrift.async.AsyncMethodCallback<getCreditorInfo_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 {
-
 
17459
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17460
        this.id = id;
-
 
17461
        this.name = name;
-
 
17462
      }
-
 
17463
 
-
 
17464
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
17465
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getCreditorInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
17466
        getCreditorInfo_args args = new getCreditorInfo_args();
-
 
17467
        args.setId(id);
-
 
17468
        args.setName(name);
-
 
17469
        args.write(prot);
-
 
17470
        prot.writeMessageEnd();
-
 
17471
      }
-
 
17472
 
-
 
17473
      public Creditor getResult() throws org.apache.thrift.TException {
-
 
17474
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
17475
          throw new IllegalStateException("Method call not finished!");
-
 
17476
        }
-
 
17477
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
17478
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
17479
        return (new Client(prot)).recv_getCreditorInfo();
-
 
17480
      }
-
 
17481
    }
-
 
17482
 
-
 
17483
    public void updateCreditorInfo(Creditor creditor, org.apache.thrift.async.AsyncMethodCallback<updateCreditorInfo_call> resultHandler) throws org.apache.thrift.TException {
-
 
17484
      checkReady();
-
 
17485
      updateCreditorInfo_call method_call = new updateCreditorInfo_call(creditor, resultHandler, this, ___protocolFactory, ___transport);
-
 
17486
      this.___currentMethod = method_call;
-
 
17487
      ___manager.call(method_call);
-
 
17488
    }
-
 
17489
 
-
 
17490
    public static class updateCreditorInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17491
      private Creditor creditor;
-
 
17492
      public updateCreditorInfo_call(Creditor creditor, org.apache.thrift.async.AsyncMethodCallback<updateCreditorInfo_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 {
-
 
17493
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17494
        this.creditor = creditor;
-
 
17495
      }
-
 
17496
 
-
 
17497
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
17498
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateCreditorInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
17499
        updateCreditorInfo_args args = new updateCreditorInfo_args();
-
 
17500
        args.setCreditor(creditor);
-
 
17501
        args.write(prot);
-
 
17502
        prot.writeMessageEnd();
-
 
17503
      }
-
 
17504
 
-
 
17505
      public boolean getResult() throws org.apache.thrift.TException {
-
 
17506
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
17507
          throw new IllegalStateException("Method call not finished!");
-
 
17508
        }
-
 
17509
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
17510
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
17511
        return (new Client(prot)).recv_updateCreditorInfo();
-
 
17512
      }
-
 
17513
    }
-
 
17514
 
-
 
17515
    public void getUserSanctionDetails(long userId, org.apache.thrift.async.AsyncMethodCallback<getUserSanctionDetails_call> resultHandler) throws org.apache.thrift.TException {
-
 
17516
      checkReady();
-
 
17517
      getUserSanctionDetails_call method_call = new getUserSanctionDetails_call(userId, resultHandler, this, ___protocolFactory, ___transport);
-
 
17518
      this.___currentMethod = method_call;
-
 
17519
      ___manager.call(method_call);
-
 
17520
    }
-
 
17521
 
-
 
17522
    public static class getUserSanctionDetails_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17523
      private long userId;
-
 
17524
      public getUserSanctionDetails_call(long userId, org.apache.thrift.async.AsyncMethodCallback<getUserSanctionDetails_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 {
-
 
17525
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17526
        this.userId = userId;
-
 
17527
      }
-
 
17528
 
-
 
17529
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
17530
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getUserSanctionDetails", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
17531
        getUserSanctionDetails_args args = new getUserSanctionDetails_args();
-
 
17532
        args.setUserId(userId);
-
 
17533
        args.write(prot);
-
 
17534
        prot.writeMessageEnd();
-
 
17535
      }
-
 
17536
 
-
 
17537
      public List<UserSanction> getResult() throws org.apache.thrift.TException {
-
 
17538
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
17539
          throw new IllegalStateException("Method call not finished!");
-
 
17540
        }
-
 
17541
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
17542
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
17543
        return (new Client(prot)).recv_getUserSanctionDetails();
-
 
17544
      }
-
 
17545
    }
-
 
17546
 
-
 
17547
    public void getUserSanctionDetailsForCreditor(long userId, long creditorId, org.apache.thrift.async.AsyncMethodCallback<getUserSanctionDetailsForCreditor_call> resultHandler) throws org.apache.thrift.TException {
-
 
17548
      checkReady();
-
 
17549
      getUserSanctionDetailsForCreditor_call method_call = new getUserSanctionDetailsForCreditor_call(userId, creditorId, resultHandler, this, ___protocolFactory, ___transport);
-
 
17550
      this.___currentMethod = method_call;
-
 
17551
      ___manager.call(method_call);
-
 
17552
    }
-
 
17553
 
-
 
17554
    public static class getUserSanctionDetailsForCreditor_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17555
      private long userId;
-
 
17556
      private long creditorId;
-
 
17557
      public getUserSanctionDetailsForCreditor_call(long userId, long creditorId, org.apache.thrift.async.AsyncMethodCallback<getUserSanctionDetailsForCreditor_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 {
-
 
17558
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17559
        this.userId = userId;
-
 
17560
        this.creditorId = creditorId;
-
 
17561
      }
-
 
17562
 
-
 
17563
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
17564
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getUserSanctionDetailsForCreditor", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
17565
        getUserSanctionDetailsForCreditor_args args = new getUserSanctionDetailsForCreditor_args();
-
 
17566
        args.setUserId(userId);
-
 
17567
        args.setCreditorId(creditorId);
-
 
17568
        args.write(prot);
-
 
17569
        prot.writeMessageEnd();
-
 
17570
      }
-
 
17571
 
-
 
17572
      public UserSanction getResult() throws org.apache.thrift.TException {
-
 
17573
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
17574
          throw new IllegalStateException("Method call not finished!");
-
 
17575
        }
-
 
17576
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
17577
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
17578
        return (new Client(prot)).recv_getUserSanctionDetailsForCreditor();
-
 
17579
      }
-
 
17580
    }
-
 
17581
 
-
 
17582
    public void updateUserSanction(UserSanction userSanaction, org.apache.thrift.async.AsyncMethodCallback<updateUserSanction_call> resultHandler) throws org.apache.thrift.TException {
-
 
17583
      checkReady();
-
 
17584
      updateUserSanction_call method_call = new updateUserSanction_call(userSanaction, resultHandler, this, ___protocolFactory, ___transport);
-
 
17585
      this.___currentMethod = method_call;
-
 
17586
      ___manager.call(method_call);
-
 
17587
    }
-
 
17588
 
-
 
17589
    public static class updateUserSanction_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17590
      private UserSanction userSanaction;
-
 
17591
      public updateUserSanction_call(UserSanction userSanaction, org.apache.thrift.async.AsyncMethodCallback<updateUserSanction_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 {
-
 
17592
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17593
        this.userSanaction = userSanaction;
-
 
17594
      }
-
 
17595
 
-
 
17596
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
17597
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateUserSanction", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
17598
        updateUserSanction_args args = new updateUserSanction_args();
-
 
17599
        args.setUserSanaction(userSanaction);
-
 
17600
        args.write(prot);
-
 
17601
        prot.writeMessageEnd();
-
 
17602
      }
-
 
17603
 
-
 
17604
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
17605
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
17606
          throw new IllegalStateException("Method call not finished!");
-
 
17607
        }
-
 
17608
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
17609
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
17610
        return (new Client(prot)).recv_updateUserSanction();
-
 
17611
      }
-
 
17612
    }
-
 
17613
 
-
 
17614
    public void getCreditHistoryRecordsForTransaction(long paymentId, long creditorId, String creditTxnType, org.apache.thrift.async.AsyncMethodCallback<getCreditHistoryRecordsForTransaction_call> resultHandler) throws org.apache.thrift.TException {
-
 
17615
      checkReady();
-
 
17616
      getCreditHistoryRecordsForTransaction_call method_call = new getCreditHistoryRecordsForTransaction_call(paymentId, creditorId, creditTxnType, resultHandler, this, ___protocolFactory, ___transport);
-
 
17617
      this.___currentMethod = method_call;
-
 
17618
      ___manager.call(method_call);
-
 
17619
    }
-
 
17620
 
-
 
17621
    public static class getCreditHistoryRecordsForTransaction_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17622
      private long paymentId;
-
 
17623
      private long creditorId;
-
 
17624
      private String creditTxnType;
-
 
17625
      public getCreditHistoryRecordsForTransaction_call(long paymentId, long creditorId, String creditTxnType, org.apache.thrift.async.AsyncMethodCallback<getCreditHistoryRecordsForTransaction_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 {
-
 
17626
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17627
        this.paymentId = paymentId;
-
 
17628
        this.creditorId = creditorId;
-
 
17629
        this.creditTxnType = creditTxnType;
-
 
17630
      }
-
 
17631
 
-
 
17632
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
17633
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getCreditHistoryRecordsForTransaction", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
17634
        getCreditHistoryRecordsForTransaction_args args = new getCreditHistoryRecordsForTransaction_args();
-
 
17635
        args.setPaymentId(paymentId);
-
 
17636
        args.setCreditorId(creditorId);
-
 
17637
        args.setCreditTxnType(creditTxnType);
-
 
17638
        args.write(prot);
-
 
17639
        prot.writeMessageEnd();
-
 
17640
      }
-
 
17641
 
-
 
17642
      public List<CreditHistory> getResult() throws org.apache.thrift.TException {
-
 
17643
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
17644
          throw new IllegalStateException("Method call not finished!");
-
 
17645
        }
-
 
17646
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
17647
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
17648
        return (new Client(prot)).recv_getCreditHistoryRecordsForTransaction();
-
 
17649
      }
-
 
17650
    }
-
 
17651
 
-
 
17652
    public void getCreditHistoryRecordsForUserAndCreditor(long userId, String creditTxnType, org.apache.thrift.async.AsyncMethodCallback<getCreditHistoryRecordsForUserAndCreditor_call> resultHandler) throws org.apache.thrift.TException {
-
 
17653
      checkReady();
-
 
17654
      getCreditHistoryRecordsForUserAndCreditor_call method_call = new getCreditHistoryRecordsForUserAndCreditor_call(userId, creditTxnType, resultHandler, this, ___protocolFactory, ___transport);
-
 
17655
      this.___currentMethod = method_call;
-
 
17656
      ___manager.call(method_call);
-
 
17657
    }
-
 
17658
 
-
 
17659
    public static class getCreditHistoryRecordsForUserAndCreditor_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17660
      private long userId;
-
 
17661
      private String creditTxnType;
-
 
17662
      public getCreditHistoryRecordsForUserAndCreditor_call(long userId, String creditTxnType, org.apache.thrift.async.AsyncMethodCallback<getCreditHistoryRecordsForUserAndCreditor_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 {
-
 
17663
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17664
        this.userId = userId;
-
 
17665
        this.creditTxnType = creditTxnType;
-
 
17666
      }
-
 
17667
 
-
 
17668
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
17669
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getCreditHistoryRecordsForUserAndCreditor", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
17670
        getCreditHistoryRecordsForUserAndCreditor_args args = new getCreditHistoryRecordsForUserAndCreditor_args();
-
 
17671
        args.setUserId(userId);
-
 
17672
        args.setCreditTxnType(creditTxnType);
-
 
17673
        args.write(prot);
-
 
17674
        prot.writeMessageEnd();
-
 
17675
      }
-
 
17676
 
-
 
17677
      public List<CreditHistory> getResult() throws org.apache.thrift.TException {
-
 
17678
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
17679
          throw new IllegalStateException("Method call not finished!");
-
 
17680
        }
-
 
17681
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
17682
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
17683
        return (new Client(prot)).recv_getCreditHistoryRecordsForUserAndCreditor();
-
 
17684
      }
-
 
17685
    }
-
 
17686
 
-
 
17687
    public void processCreditTransaction(long paymentId, List<CreditHistory> creditTxns, org.apache.thrift.async.AsyncMethodCallback<processCreditTransaction_call> resultHandler) throws org.apache.thrift.TException {
-
 
17688
      checkReady();
-
 
17689
      processCreditTransaction_call method_call = new processCreditTransaction_call(paymentId, creditTxns, resultHandler, this, ___protocolFactory, ___transport);
-
 
17690
      this.___currentMethod = method_call;
-
 
17691
      ___manager.call(method_call);
-
 
17692
    }
-
 
17693
 
-
 
17694
    public static class processCreditTransaction_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17695
      private long paymentId;
-
 
17696
      private List<CreditHistory> creditTxns;
-
 
17697
      public processCreditTransaction_call(long paymentId, List<CreditHistory> creditTxns, org.apache.thrift.async.AsyncMethodCallback<processCreditTransaction_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 {
-
 
17698
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17699
        this.paymentId = paymentId;
-
 
17700
        this.creditTxns = creditTxns;
-
 
17701
      }
-
 
17702
 
-
 
17703
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
17704
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("processCreditTransaction", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
17705
        processCreditTransaction_args args = new processCreditTransaction_args();
-
 
17706
        args.setPaymentId(paymentId);
-
 
17707
        args.setCreditTxns(creditTxns);
-
 
17708
        args.write(prot);
-
 
17709
        prot.writeMessageEnd();
-
 
17710
      }
-
 
17711
 
-
 
17712
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
17713
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
17714
          throw new IllegalStateException("Method call not finished!");
-
 
17715
        }
-
 
17716
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
17717
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
17718
        return (new Client(prot)).recv_processCreditTransaction();
-
 
17719
      }
-
 
17720
    }
-
 
17721
 
-
 
17722
    public void getLoanPayableForUserToCreditor(long userId, long creditorId, long dueDate, org.apache.thrift.async.AsyncMethodCallback<getLoanPayableForUserToCreditor_call> resultHandler) throws org.apache.thrift.TException {
-
 
17723
      checkReady();
-
 
17724
      getLoanPayableForUserToCreditor_call method_call = new getLoanPayableForUserToCreditor_call(userId, creditorId, dueDate, resultHandler, this, ___protocolFactory, ___transport);
-
 
17725
      this.___currentMethod = method_call;
-
 
17726
      ___manager.call(method_call);
-
 
17727
    }
-
 
17728
 
-
 
17729
    public static class getLoanPayableForUserToCreditor_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17730
      private long userId;
-
 
17731
      private long creditorId;
-
 
17732
      private long dueDate;
-
 
17733
      public getLoanPayableForUserToCreditor_call(long userId, long creditorId, long dueDate, org.apache.thrift.async.AsyncMethodCallback<getLoanPayableForUserToCreditor_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 {
-
 
17734
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17735
        this.userId = userId;
-
 
17736
        this.creditorId = creditorId;
-
 
17737
        this.dueDate = dueDate;
-
 
17738
      }
-
 
17739
 
-
 
17740
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
17741
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getLoanPayableForUserToCreditor", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
17742
        getLoanPayableForUserToCreditor_args args = new getLoanPayableForUserToCreditor_args();
-
 
17743
        args.setUserId(userId);
-
 
17744
        args.setCreditorId(creditorId);
-
 
17745
        args.setDueDate(dueDate);
-
 
17746
        args.write(prot);
-
 
17747
        prot.writeMessageEnd();
-
 
17748
      }
-
 
17749
 
-
 
17750
      public List<CreditHistory> getResult() throws org.apache.thrift.TException {
-
 
17751
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
17752
          throw new IllegalStateException("Method call not finished!");
-
 
17753
        }
-
 
17754
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
17755
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
17756
        return (new Client(prot)).recv_getLoanPayableForUserToCreditor();
-
 
17757
      }
-
 
17758
    }
-
 
17759
 
-
 
17760
    public void getReturnOrderInfo(long id, org.apache.thrift.async.AsyncMethodCallback<getReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException {
-
 
17761
      checkReady();
-
 
17762
      getReturnOrderInfo_call method_call = new getReturnOrderInfo_call(id, resultHandler, this, ___protocolFactory, ___transport);
-
 
17763
      this.___currentMethod = method_call;
-
 
17764
      ___manager.call(method_call);
-
 
17765
    }
-
 
17766
 
-
 
17767
    public static class getReturnOrderInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17768
      private long id;
-
 
17769
      public getReturnOrderInfo_call(long id, org.apache.thrift.async.AsyncMethodCallback<getReturnOrderInfo_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 {
-
 
17770
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17771
        this.id = id;
-
 
17772
      }
-
 
17773
 
-
 
17774
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
17775
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getReturnOrderInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
17776
        getReturnOrderInfo_args args = new getReturnOrderInfo_args();
-
 
17777
        args.setId(id);
-
 
17778
        args.write(prot);
-
 
17779
        prot.writeMessageEnd();
-
 
17780
      }
-
 
17781
 
-
 
17782
      public ReturnOrderInfo getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
17783
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
17784
          throw new IllegalStateException("Method call not finished!");
-
 
17785
        }
-
 
17786
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
17787
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
17788
        return (new Client(prot)).recv_getReturnOrderInfo();
-
 
17789
      }
-
 
17790
    }
-
 
17791
 
-
 
17792
    public void getReturnOrderInfoList(List<Long> order_ids, org.apache.thrift.async.AsyncMethodCallback<getReturnOrderInfoList_call> resultHandler) throws org.apache.thrift.TException {
-
 
17793
      checkReady();
-
 
17794
      getReturnOrderInfoList_call method_call = new getReturnOrderInfoList_call(order_ids, resultHandler, this, ___protocolFactory, ___transport);
-
 
17795
      this.___currentMethod = method_call;
-
 
17796
      ___manager.call(method_call);
-
 
17797
    }
-
 
17798
 
-
 
17799
    public static class getReturnOrderInfoList_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17800
      private List<Long> order_ids;
-
 
17801
      public getReturnOrderInfoList_call(List<Long> order_ids, org.apache.thrift.async.AsyncMethodCallback<getReturnOrderInfoList_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 {
-
 
17802
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17803
        this.order_ids = order_ids;
-
 
17804
      }
-
 
17805
 
-
 
17806
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
17807
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getReturnOrderInfoList", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
17808
        getReturnOrderInfoList_args args = new getReturnOrderInfoList_args();
-
 
17809
        args.setOrder_ids(order_ids);
-
 
17810
        args.write(prot);
-
 
17811
        prot.writeMessageEnd();
-
 
17812
      }
-
 
17813
 
-
 
17814
      public Map<Long,List<ReturnOrderInfo>> getResult() throws org.apache.thrift.TException {
-
 
17815
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
17816
          throw new IllegalStateException("Method call not finished!");
-
 
17817
        }
-
 
17818
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
17819
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
17820
        return (new Client(prot)).recv_getReturnOrderInfoList();
-
 
17821
      }
-
 
17822
    }
-
 
17823
 
-
 
17824
    public void getReturnOrderInfoListAsByStatus(List<Long> order_ids, List<String> statuses, org.apache.thrift.async.AsyncMethodCallback<getReturnOrderInfoListAsByStatus_call> resultHandler) throws org.apache.thrift.TException {
-
 
17825
      checkReady();
-
 
17826
      getReturnOrderInfoListAsByStatus_call method_call = new getReturnOrderInfoListAsByStatus_call(order_ids, statuses, resultHandler, this, ___protocolFactory, ___transport);
-
 
17827
      this.___currentMethod = method_call;
-
 
17828
      ___manager.call(method_call);
-
 
17829
    }
-
 
17830
 
-
 
17831
    public static class getReturnOrderInfoListAsByStatus_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17832
      private List<Long> order_ids;
-
 
17833
      private List<String> statuses;
-
 
17834
      public getReturnOrderInfoListAsByStatus_call(List<Long> order_ids, List<String> statuses, org.apache.thrift.async.AsyncMethodCallback<getReturnOrderInfoListAsByStatus_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 {
-
 
17835
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17836
        this.order_ids = order_ids;
-
 
17837
        this.statuses = statuses;
-
 
17838
      }
-
 
17839
 
-
 
17840
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
17841
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getReturnOrderInfoListAsByStatus", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
17842
        getReturnOrderInfoListAsByStatus_args args = new getReturnOrderInfoListAsByStatus_args();
-
 
17843
        args.setOrder_ids(order_ids);
-
 
17844
        args.setStatuses(statuses);
-
 
17845
        args.write(prot);
-
 
17846
        prot.writeMessageEnd();
-
 
17847
      }
-
 
17848
 
-
 
17849
      public Map<Long,List<ReturnOrderInfo>> getResult() throws org.apache.thrift.TException {
-
 
17850
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
17851
          throw new IllegalStateException("Method call not finished!");
-
 
17852
        }
-
 
17853
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
17854
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
17855
        return (new Client(prot)).recv_getReturnOrderInfoListAsByStatus();
-
 
17856
      }
-
 
17857
    }
-
 
17858
 
-
 
17859
    public void updateReturnOrderInfo(ReturnOrderInfo returnInfo, org.apache.thrift.async.AsyncMethodCallback<updateReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException {
-
 
17860
      checkReady();
-
 
17861
      updateReturnOrderInfo_call method_call = new updateReturnOrderInfo_call(returnInfo, resultHandler, this, ___protocolFactory, ___transport);
-
 
17862
      this.___currentMethod = method_call;
-
 
17863
      ___manager.call(method_call);
-
 
17864
    }
-
 
17865
 
-
 
17866
    public static class updateReturnOrderInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17867
      private ReturnOrderInfo returnInfo;
-
 
17868
      public updateReturnOrderInfo_call(ReturnOrderInfo returnInfo, org.apache.thrift.async.AsyncMethodCallback<updateReturnOrderInfo_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 {
-
 
17869
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17870
        this.returnInfo = returnInfo;
-
 
17871
      }
-
 
17872
 
-
 
17873
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
17874
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateReturnOrderInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
17875
        updateReturnOrderInfo_args args = new updateReturnOrderInfo_args();
-
 
17876
        args.setReturnInfo(returnInfo);
-
 
17877
        args.write(prot);
-
 
17878
        prot.writeMessageEnd();
-
 
17879
      }
-
 
17880
 
-
 
17881
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
17882
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
17883
          throw new IllegalStateException("Method call not finished!");
-
 
17884
        }
-
 
17885
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
17886
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
17887
        return (new Client(prot)).recv_updateReturnOrderInfo();
-
 
17888
      }
-
 
17889
    }
-
 
17890
 
-
 
17891
    public void bulkUpdateReturnOrderInfo(Map<Long,List<ReturnOrderInfo>> orderReturnInfosMap, org.apache.thrift.async.AsyncMethodCallback<bulkUpdateReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException {
-
 
17892
      checkReady();
-
 
17893
      bulkUpdateReturnOrderInfo_call method_call = new bulkUpdateReturnOrderInfo_call(orderReturnInfosMap, resultHandler, this, ___protocolFactory, ___transport);
-
 
17894
      this.___currentMethod = method_call;
-
 
17895
      ___manager.call(method_call);
-
 
17896
    }
-
 
17897
 
-
 
17898
    public static class bulkUpdateReturnOrderInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17899
      private Map<Long,List<ReturnOrderInfo>> orderReturnInfosMap;
-
 
17900
      public bulkUpdateReturnOrderInfo_call(Map<Long,List<ReturnOrderInfo>> orderReturnInfosMap, org.apache.thrift.async.AsyncMethodCallback<bulkUpdateReturnOrderInfo_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 {
-
 
17901
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17902
        this.orderReturnInfosMap = orderReturnInfosMap;
-
 
17903
      }
-
 
17904
 
-
 
17905
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
17906
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("bulkUpdateReturnOrderInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
17907
        bulkUpdateReturnOrderInfo_args args = new bulkUpdateReturnOrderInfo_args();
-
 
17908
        args.setOrderReturnInfosMap(orderReturnInfosMap);
-
 
17909
        args.write(prot);
-
 
17910
        prot.writeMessageEnd();
-
 
17911
      }
-
 
17912
 
-
 
17913
      public Map<Long,Boolean> getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
17914
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
17915
          throw new IllegalStateException("Method call not finished!");
-
 
17916
        }
-
 
17917
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
17918
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
17919
        return (new Client(prot)).recv_bulkUpdateReturnOrderInfo();
-
 
17920
      }
-
 
17921
    }
-
 
17922
 
-
 
17923
    public void getReturnOrdersAsPerWarehouseId(long warehouseId, org.apache.thrift.async.AsyncMethodCallback<getReturnOrdersAsPerWarehouseId_call> resultHandler) throws org.apache.thrift.TException {
-
 
17924
      checkReady();
-
 
17925
      getReturnOrdersAsPerWarehouseId_call method_call = new getReturnOrdersAsPerWarehouseId_call(warehouseId, resultHandler, this, ___protocolFactory, ___transport);
-
 
17926
      this.___currentMethod = method_call;
-
 
17927
      ___manager.call(method_call);
-
 
17928
    }
-
 
17929
 
-
 
17930
    public static class getReturnOrdersAsPerWarehouseId_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17931
      private long warehouseId;
-
 
17932
      public getReturnOrdersAsPerWarehouseId_call(long warehouseId, org.apache.thrift.async.AsyncMethodCallback<getReturnOrdersAsPerWarehouseId_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 {
-
 
17933
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17934
        this.warehouseId = warehouseId;
-
 
17935
      }
-
 
17936
 
-
 
17937
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
17938
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getReturnOrdersAsPerWarehouseId", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
17939
        getReturnOrdersAsPerWarehouseId_args args = new getReturnOrdersAsPerWarehouseId_args();
-
 
17940
        args.setWarehouseId(warehouseId);
-
 
17941
        args.write(prot);
-
 
17942
        prot.writeMessageEnd();
-
 
17943
      }
-
 
17944
 
-
 
17945
      public List<ReturnOrderInfo> getResult() throws org.apache.thrift.TException {
-
 
17946
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
17947
          throw new IllegalStateException("Method call not finished!");
-
 
17948
        }
-
 
17949
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
17950
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
17951
        return (new Client(prot)).recv_getReturnOrdersAsPerWarehouseId();
-
 
17952
      }
-
 
17953
    }
-
 
17954
 
-
 
17955
    public void createReturnTransaction(ReturnTransaction returnTransaction, org.apache.thrift.async.AsyncMethodCallback<createReturnTransaction_call> resultHandler) throws org.apache.thrift.TException {
-
 
17956
      checkReady();
-
 
17957
      createReturnTransaction_call method_call = new createReturnTransaction_call(returnTransaction, resultHandler, this, ___protocolFactory, ___transport);
-
 
17958
      this.___currentMethod = method_call;
-
 
17959
      ___manager.call(method_call);
-
 
17960
    }
-
 
17961
 
-
 
17962
    public static class createReturnTransaction_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17963
      private ReturnTransaction returnTransaction;
-
 
17964
      public createReturnTransaction_call(ReturnTransaction returnTransaction, org.apache.thrift.async.AsyncMethodCallback<createReturnTransaction_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 {
-
 
17965
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17966
        this.returnTransaction = returnTransaction;
-
 
17967
      }
-
 
17968
 
-
 
17969
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
17970
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createReturnTransaction", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
17971
        createReturnTransaction_args args = new createReturnTransaction_args();
-
 
17972
        args.setReturnTransaction(returnTransaction);
-
 
17973
        args.write(prot);
-
 
17974
        prot.writeMessageEnd();
-
 
17975
      }
-
 
17976
 
-
 
17977
      public long getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
17978
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
17979
          throw new IllegalStateException("Method call not finished!");
-
 
17980
        }
-
 
17981
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
17982
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
17983
        return (new Client(prot)).recv_createReturnTransaction();
-
 
17984
      }
-
 
17985
    }
-
 
17986
 
-
 
17987
    public void getReturnTransaction(long id, org.apache.thrift.async.AsyncMethodCallback<getReturnTransaction_call> resultHandler) throws org.apache.thrift.TException {
-
 
17988
      checkReady();
-
 
17989
      getReturnTransaction_call method_call = new getReturnTransaction_call(id, resultHandler, this, ___protocolFactory, ___transport);
-
 
17990
      this.___currentMethod = method_call;
-
 
17991
      ___manager.call(method_call);
-
 
17992
    }
-
 
17993
 
-
 
17994
    public static class getReturnTransaction_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
17995
      private long id;
-
 
17996
      public getReturnTransaction_call(long id, org.apache.thrift.async.AsyncMethodCallback<getReturnTransaction_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 {
-
 
17997
        super(client, protocolFactory, transport, resultHandler, false);
-
 
17998
        this.id = id;
-
 
17999
      }
-
 
18000
 
-
 
18001
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
18002
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getReturnTransaction", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
18003
        getReturnTransaction_args args = new getReturnTransaction_args();
-
 
18004
        args.setId(id);
-
 
18005
        args.write(prot);
-
 
18006
        prot.writeMessageEnd();
-
 
18007
      }
-
 
18008
 
-
 
18009
      public ReturnTransaction getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
18010
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
18011
          throw new IllegalStateException("Method call not finished!");
-
 
18012
        }
-
 
18013
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
18014
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
18015
        return (new Client(prot)).recv_getReturnTransaction();
-
 
18016
      }
-
 
18017
    }
-
 
18018
 
-
 
18019
    public void getReturnOrdersForReturnTransaction(long returnTransactionId, org.apache.thrift.async.AsyncMethodCallback<getReturnOrdersForReturnTransaction_call> resultHandler) throws org.apache.thrift.TException {
-
 
18020
      checkReady();
-
 
18021
      getReturnOrdersForReturnTransaction_call method_call = new getReturnOrdersForReturnTransaction_call(returnTransactionId, resultHandler, this, ___protocolFactory, ___transport);
-
 
18022
      this.___currentMethod = method_call;
-
 
18023
      ___manager.call(method_call);
-
 
18024
    }
-
 
18025
 
-
 
18026
    public static class getReturnOrdersForReturnTransaction_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
18027
      private long returnTransactionId;
-
 
18028
      public getReturnOrdersForReturnTransaction_call(long returnTransactionId, org.apache.thrift.async.AsyncMethodCallback<getReturnOrdersForReturnTransaction_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
18029
        super(client, protocolFactory, transport, resultHandler, false);
-
 
18030
        this.returnTransactionId = returnTransactionId;
-
 
18031
      }
-
 
18032
 
-
 
18033
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
18034
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getReturnOrdersForReturnTransaction", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
18035
        getReturnOrdersForReturnTransaction_args args = new getReturnOrdersForReturnTransaction_args();
-
 
18036
        args.setReturnTransactionId(returnTransactionId);
-
 
18037
        args.write(prot);
-
 
18038
        prot.writeMessageEnd();
-
 
18039
      }
-
 
18040
 
-
 
18041
      public List<ReturnOrderInfo> getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
18042
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
18043
          throw new IllegalStateException("Method call not finished!");
-
 
18044
        }
-
 
18045
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
18046
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
18047
        return (new Client(prot)).recv_getReturnOrdersForReturnTransaction();
-
 
18048
      }
-
 
18049
    }
-
 
18050
 
-
 
18051
    public void changeReturnTransactionStatus(long returnTransactionId, ReturnTransactionStatus status, List<Long> returnOrderIds, org.apache.thrift.async.AsyncMethodCallback<changeReturnTransactionStatus_call> resultHandler) throws org.apache.thrift.TException {
-
 
18052
      checkReady();
-
 
18053
      changeReturnTransactionStatus_call method_call = new changeReturnTransactionStatus_call(returnTransactionId, status, returnOrderIds, resultHandler, this, ___protocolFactory, ___transport);
-
 
18054
      this.___currentMethod = method_call;
-
 
18055
      ___manager.call(method_call);
-
 
18056
    }
-
 
18057
 
-
 
18058
    public static class changeReturnTransactionStatus_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
18059
      private long returnTransactionId;
-
 
18060
      private ReturnTransactionStatus status;
-
 
18061
      private List<Long> returnOrderIds;
-
 
18062
      public changeReturnTransactionStatus_call(long returnTransactionId, ReturnTransactionStatus status, List<Long> returnOrderIds, org.apache.thrift.async.AsyncMethodCallback<changeReturnTransactionStatus_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 {
-
 
18063
        super(client, protocolFactory, transport, resultHandler, false);
-
 
18064
        this.returnTransactionId = returnTransactionId;
-
 
18065
        this.status = status;
-
 
18066
        this.returnOrderIds = returnOrderIds;
-
 
18067
      }
-
 
18068
 
-
 
18069
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
18070
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("changeReturnTransactionStatus", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
18071
        changeReturnTransactionStatus_args args = new changeReturnTransactionStatus_args();
-
 
18072
        args.setReturnTransactionId(returnTransactionId);
-
 
18073
        args.setStatus(status);
-
 
18074
        args.setReturnOrderIds(returnOrderIds);
-
 
18075
        args.write(prot);
-
 
18076
        prot.writeMessageEnd();
-
 
18077
      }
-
 
18078
 
-
 
18079
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
18080
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
18081
          throw new IllegalStateException("Method call not finished!");
-
 
18082
        }
-
 
18083
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
18084
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
18085
        return (new Client(prot)).recv_changeReturnTransactionStatus();
-
 
18086
      }
-
 
18087
    }
-
 
18088
 
-
 
18089
    public void createReturnPickupRequest(List<Long> returnOrderIds, long providerId, org.apache.thrift.async.AsyncMethodCallback<createReturnPickupRequest_call> resultHandler) throws org.apache.thrift.TException {
-
 
18090
      checkReady();
-
 
18091
      createReturnPickupRequest_call method_call = new createReturnPickupRequest_call(returnOrderIds, providerId, resultHandler, this, ___protocolFactory, ___transport);
-
 
18092
      this.___currentMethod = method_call;
-
 
18093
      ___manager.call(method_call);
-
 
18094
    }
-
 
18095
 
-
 
18096
    public static class createReturnPickupRequest_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
18097
      private List<Long> returnOrderIds;
-
 
18098
      private long providerId;
-
 
18099
      public createReturnPickupRequest_call(List<Long> returnOrderIds, long providerId, org.apache.thrift.async.AsyncMethodCallback<createReturnPickupRequest_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 {
-
 
18100
        super(client, protocolFactory, transport, resultHandler, false);
-
 
18101
        this.returnOrderIds = returnOrderIds;
-
 
18102
        this.providerId = providerId;
-
 
18103
      }
-
 
18104
 
-
 
18105
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
18106
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createReturnPickupRequest", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
18107
        createReturnPickupRequest_args args = new createReturnPickupRequest_args();
-
 
18108
        args.setReturnOrderIds(returnOrderIds);
-
 
18109
        args.setProviderId(providerId);
-
 
18110
        args.write(prot);
-
 
18111
        prot.writeMessageEnd();
-
 
18112
      }
-
 
18113
 
-
 
18114
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
18115
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
18116
          throw new IllegalStateException("Method call not finished!");
-
 
18117
        }
-
 
18118
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
18119
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
18120
        return (new Client(prot)).recv_createReturnPickupRequest();
-
 
18121
      }
-
 
18122
    }
-
 
18123
 
-
 
18124
    public void updateReturnPickupRequest(ReturnPickupRequest returnPickupRequest, org.apache.thrift.async.AsyncMethodCallback<updateReturnPickupRequest_call> resultHandler) throws org.apache.thrift.TException {
-
 
18125
      checkReady();
-
 
18126
      updateReturnPickupRequest_call method_call = new updateReturnPickupRequest_call(returnPickupRequest, resultHandler, this, ___protocolFactory, ___transport);
-
 
18127
      this.___currentMethod = method_call;
-
 
18128
      ___manager.call(method_call);
-
 
18129
    }
-
 
18130
 
-
 
18131
    public static class updateReturnPickupRequest_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
18132
      private ReturnPickupRequest returnPickupRequest;
-
 
18133
      public updateReturnPickupRequest_call(ReturnPickupRequest returnPickupRequest, org.apache.thrift.async.AsyncMethodCallback<updateReturnPickupRequest_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 {
-
 
18134
        super(client, protocolFactory, transport, resultHandler, false);
-
 
18135
        this.returnPickupRequest = returnPickupRequest;
-
 
18136
      }
-
 
18137
 
-
 
18138
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
18139
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateReturnPickupRequest", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
18140
        updateReturnPickupRequest_args args = new updateReturnPickupRequest_args();
-
 
18141
        args.setReturnPickupRequest(returnPickupRequest);
-
 
18142
        args.write(prot);
-
 
18143
        prot.writeMessageEnd();
-
 
18144
      }
-
 
18145
 
-
 
18146
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
18147
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
18148
          throw new IllegalStateException("Method call not finished!");
-
 
18149
        }
-
 
18150
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
18151
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
18152
        return (new Client(prot)).recv_updateReturnPickupRequest();
-
 
18153
      }
-
 
18154
    }
-
 
18155
 
-
 
18156
    public void getAllReturnOrdersForReturnPickupRequest(long logisticsRequestId, org.apache.thrift.async.AsyncMethodCallback<getAllReturnOrdersForReturnPickupRequest_call> resultHandler) throws org.apache.thrift.TException {
-
 
18157
      checkReady();
-
 
18158
      getAllReturnOrdersForReturnPickupRequest_call method_call = new getAllReturnOrdersForReturnPickupRequest_call(logisticsRequestId, resultHandler, this, ___protocolFactory, ___transport);
-
 
18159
      this.___currentMethod = method_call;
-
 
18160
      ___manager.call(method_call);
-
 
18161
    }
-
 
18162
 
-
 
18163
    public static class getAllReturnOrdersForReturnPickupRequest_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
18164
      private long logisticsRequestId;
-
 
18165
      public getAllReturnOrdersForReturnPickupRequest_call(long logisticsRequestId, org.apache.thrift.async.AsyncMethodCallback<getAllReturnOrdersForReturnPickupRequest_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 {
-
 
18166
        super(client, protocolFactory, transport, resultHandler, false);
-
 
18167
        this.logisticsRequestId = logisticsRequestId;
-
 
18168
      }
-
 
18169
 
-
 
18170
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
18171
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllReturnOrdersForReturnPickupRequest", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
18172
        getAllReturnOrdersForReturnPickupRequest_args args = new getAllReturnOrdersForReturnPickupRequest_args();
-
 
18173
        args.setLogisticsRequestId(logisticsRequestId);
-
 
18174
        args.write(prot);
-
 
18175
        prot.writeMessageEnd();
-
 
18176
      }
-
 
18177
 
-
 
18178
      public List<ReturnOrderInfo> getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
18179
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
18180
          throw new IllegalStateException("Method call not finished!");
-
 
18181
        }
-
 
18182
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
18183
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
18184
        return (new Client(prot)).recv_getAllReturnOrdersForReturnPickupRequest();
-
 
18185
      }
-
 
18186
    }
-
 
18187
 
-
 
18188
    public void receiveReturnPickup(Map<Long,Map<String,String>> returnOrdersMap, long id, org.apache.thrift.async.AsyncMethodCallback<receiveReturnPickup_call> resultHandler) throws org.apache.thrift.TException {
-
 
18189
      checkReady();
-
 
18190
      receiveReturnPickup_call method_call = new receiveReturnPickup_call(returnOrdersMap, id, resultHandler, this, ___protocolFactory, ___transport);
-
 
18191
      this.___currentMethod = method_call;
-
 
18192
      ___manager.call(method_call);
-
 
18193
    }
-
 
18194
 
-
 
18195
    public static class receiveReturnPickup_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
18196
      private Map<Long,Map<String,String>> returnOrdersMap;
-
 
18197
      private long id;
-
 
18198
      public receiveReturnPickup_call(Map<Long,Map<String,String>> returnOrdersMap, long id, org.apache.thrift.async.AsyncMethodCallback<receiveReturnPickup_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 {
-
 
18199
        super(client, protocolFactory, transport, resultHandler, false);
-
 
18200
        this.returnOrdersMap = returnOrdersMap;
-
 
18201
        this.id = id;
-
 
18202
      }
-
 
18203
 
-
 
18204
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
18205
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("receiveReturnPickup", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
18206
        receiveReturnPickup_args args = new receiveReturnPickup_args();
-
 
18207
        args.setReturnOrdersMap(returnOrdersMap);
-
 
18208
        args.setId(id);
-
 
18209
        args.write(prot);
-
 
18210
        prot.writeMessageEnd();
-
 
18211
      }
-
 
18212
 
-
 
18213
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
18214
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
18215
          throw new IllegalStateException("Method call not finished!");
-
 
18216
        }
-
 
18217
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
18218
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
18219
        return (new Client(prot)).recv_receiveReturnPickup();
-
 
18220
      }
-
 
18221
    }
-
 
18222
 
-
 
18223
    public void validateReturnPickup(long returnPickupId, Map<Long,Boolean> returnOrdersMap, org.apache.thrift.async.AsyncMethodCallback<validateReturnPickup_call> resultHandler) throws org.apache.thrift.TException {
-
 
18224
      checkReady();
-
 
18225
      validateReturnPickup_call method_call = new validateReturnPickup_call(returnPickupId, returnOrdersMap, resultHandler, this, ___protocolFactory, ___transport);
-
 
18226
      this.___currentMethod = method_call;
-
 
18227
      ___manager.call(method_call);
-
 
18228
    }
-
 
18229
 
-
 
18230
    public static class validateReturnPickup_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
18231
      private long returnPickupId;
-
 
18232
      private Map<Long,Boolean> returnOrdersMap;
-
 
18233
      public validateReturnPickup_call(long returnPickupId, Map<Long,Boolean> returnOrdersMap, org.apache.thrift.async.AsyncMethodCallback<validateReturnPickup_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 {
-
 
18234
        super(client, protocolFactory, transport, resultHandler, false);
-
 
18235
        this.returnPickupId = returnPickupId;
-
 
18236
        this.returnOrdersMap = returnOrdersMap;
-
 
18237
      }
-
 
18238
 
-
 
18239
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
18240
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("validateReturnPickup", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
18241
        validateReturnPickup_args args = new validateReturnPickup_args();
-
 
18242
        args.setReturnPickupId(returnPickupId);
-
 
18243
        args.setReturnOrdersMap(returnOrdersMap);
-
 
18244
        args.write(prot);
-
 
18245
        prot.writeMessageEnd();
-
 
18246
      }
-
 
18247
 
-
 
18248
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
18249
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
18250
          throw new IllegalStateException("Method call not finished!");
-
 
18251
        }
-
 
18252
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
18253
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
18254
        return (new Client(prot)).recv_validateReturnPickup();
-
 
18255
      }
-
 
18256
    }
-
 
18257
 
-
 
18258
    public void processReturnPickup(long returnPickupId, Map<Long,Map<String,String>> returnOrdersMap, org.apache.thrift.async.AsyncMethodCallback<processReturnPickup_call> resultHandler) throws org.apache.thrift.TException {
-
 
18259
      checkReady();
-
 
18260
      processReturnPickup_call method_call = new processReturnPickup_call(returnPickupId, returnOrdersMap, resultHandler, this, ___protocolFactory, ___transport);
-
 
18261
      this.___currentMethod = method_call;
-
 
18262
      ___manager.call(method_call);
-
 
18263
    }
-
 
18264
 
-
 
18265
    public static class processReturnPickup_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
18266
      private long returnPickupId;
-
 
18267
      private Map<Long,Map<String,String>> returnOrdersMap;
-
 
18268
      public processReturnPickup_call(long returnPickupId, Map<Long,Map<String,String>> returnOrdersMap, org.apache.thrift.async.AsyncMethodCallback<processReturnPickup_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 {
-
 
18269
        super(client, protocolFactory, transport, resultHandler, false);
-
 
18270
        this.returnPickupId = returnPickupId;
-
 
18271
        this.returnOrdersMap = returnOrdersMap;
-
 
18272
      }
-
 
18273
 
-
 
18274
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
18275
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("processReturnPickup", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
18276
        processReturnPickup_args args = new processReturnPickup_args();
-
 
18277
        args.setReturnPickupId(returnPickupId);
-
 
18278
        args.setReturnOrdersMap(returnOrdersMap);
-
 
18279
        args.write(prot);
-
 
18280
        prot.writeMessageEnd();
-
 
18281
      }
-
 
18282
 
-
 
18283
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
18284
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
18285
          throw new IllegalStateException("Method call not finished!");
-
 
18286
        }
-
 
18287
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
18288
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
18289
        return (new Client(prot)).recv_processReturnPickup();
-
 
18290
      }
-
 
18291
    }
-
 
18292
 
-
 
18293
    public void markReturnTransactionComplete(long returnTransactionId, org.apache.thrift.async.AsyncMethodCallback<markReturnTransactionComplete_call> resultHandler) throws org.apache.thrift.TException {
-
 
18294
      checkReady();
-
 
18295
      markReturnTransactionComplete_call method_call = new markReturnTransactionComplete_call(returnTransactionId, resultHandler, this, ___protocolFactory, ___transport);
-
 
18296
      this.___currentMethod = method_call;
-
 
18297
      ___manager.call(method_call);
-
 
18298
    }
-
 
18299
 
-
 
18300
    public static class markReturnTransactionComplete_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
18301
      private long returnTransactionId;
-
 
18302
      public markReturnTransactionComplete_call(long returnTransactionId, org.apache.thrift.async.AsyncMethodCallback<markReturnTransactionComplete_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 {
-
 
18303
        super(client, protocolFactory, transport, resultHandler, false);
-
 
18304
        this.returnTransactionId = returnTransactionId;
-
 
18305
      }
-
 
18306
 
-
 
18307
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
18308
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markReturnTransactionComplete", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
18309
        markReturnTransactionComplete_args args = new markReturnTransactionComplete_args();
-
 
18310
        args.setReturnTransactionId(returnTransactionId);
-
 
18311
        args.write(prot);
-
 
18312
        prot.writeMessageEnd();
-
 
18313
      }
-
 
18314
 
-
 
18315
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
18316
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
18317
          throw new IllegalStateException("Method call not finished!");
-
 
18318
        }
-
 
18319
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
18320
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
18321
        return (new Client(prot)).recv_markReturnTransactionComplete();
-
 
18322
      }
-
 
18323
    }
-
 
18324
 
-
 
18325
    public void refundReturnTransactionPayment(Map<Long,Map<String,String>> refundOrdersMap, long returntransactionId, org.apache.thrift.async.AsyncMethodCallback<refundReturnTransactionPayment_call> resultHandler) throws org.apache.thrift.TException {
-
 
18326
      checkReady();
-
 
18327
      refundReturnTransactionPayment_call method_call = new refundReturnTransactionPayment_call(refundOrdersMap, returntransactionId, resultHandler, this, ___protocolFactory, ___transport);
-
 
18328
      this.___currentMethod = method_call;
-
 
18329
      ___manager.call(method_call);
-
 
18330
    }
-
 
18331
 
-
 
18332
    public static class refundReturnTransactionPayment_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
18333
      private Map<Long,Map<String,String>> refundOrdersMap;
-
 
18334
      private long returntransactionId;
-
 
18335
      public refundReturnTransactionPayment_call(Map<Long,Map<String,String>> refundOrdersMap, long returntransactionId, org.apache.thrift.async.AsyncMethodCallback<refundReturnTransactionPayment_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 {
-
 
18336
        super(client, protocolFactory, transport, resultHandler, false);
-
 
18337
        this.refundOrdersMap = refundOrdersMap;
-
 
18338
        this.returntransactionId = returntransactionId;
-
 
18339
      }
-
 
18340
 
-
 
18341
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
18342
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("refundReturnTransactionPayment", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
18343
        refundReturnTransactionPayment_args args = new refundReturnTransactionPayment_args();
-
 
18344
        args.setRefundOrdersMap(refundOrdersMap);
-
 
18345
        args.setReturntransactionId(returntransactionId);
-
 
18346
        args.write(prot);
-
 
18347
        prot.writeMessageEnd();
-
 
18348
      }
-
 
18349
 
-
 
18350
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
18351
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
18352
          throw new IllegalStateException("Method call not finished!");
-
 
18353
        }
-
 
18354
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
18355
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
18356
        return (new Client(prot)).recv_refundReturnTransactionPayment();
-
 
18357
      }
-
 
18358
    }
-
 
18359
 
-
 
18360
    public void getReturnTransactionsForCustomer(List<ReturnTransactionStatus> statusList, String customerMobile, String customerEmail, long returnTransactionId, long customerId, org.apache.thrift.async.AsyncMethodCallback<getReturnTransactionsForCustomer_call> resultHandler) throws org.apache.thrift.TException {
-
 
18361
      checkReady();
-
 
18362
      getReturnTransactionsForCustomer_call method_call = new getReturnTransactionsForCustomer_call(statusList, customerMobile, customerEmail, returnTransactionId, customerId, resultHandler, this, ___protocolFactory, ___transport);
-
 
18363
      this.___currentMethod = method_call;
-
 
18364
      ___manager.call(method_call);
-
 
18365
    }
-
 
18366
 
-
 
18367
    public static class getReturnTransactionsForCustomer_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
18368
      private List<ReturnTransactionStatus> statusList;
-
 
18369
      private String customerMobile;
-
 
18370
      private String customerEmail;
-
 
18371
      private long returnTransactionId;
-
 
18372
      private long customerId;
-
 
18373
      public getReturnTransactionsForCustomer_call(List<ReturnTransactionStatus> statusList, String customerMobile, String customerEmail, long returnTransactionId, long customerId, org.apache.thrift.async.AsyncMethodCallback<getReturnTransactionsForCustomer_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 {
-
 
18374
        super(client, protocolFactory, transport, resultHandler, false);
-
 
18375
        this.statusList = statusList;
-
 
18376
        this.customerMobile = customerMobile;
-
 
18377
        this.customerEmail = customerEmail;
-
 
18378
        this.returnTransactionId = returnTransactionId;
-
 
18379
        this.customerId = customerId;
-
 
18380
      }
-
 
18381
 
-
 
18382
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
18383
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getReturnTransactionsForCustomer", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
18384
        getReturnTransactionsForCustomer_args args = new getReturnTransactionsForCustomer_args();
-
 
18385
        args.setStatusList(statusList);
-
 
18386
        args.setCustomerMobile(customerMobile);
-
 
18387
        args.setCustomerEmail(customerEmail);
-
 
18388
        args.setReturnTransactionId(returnTransactionId);
-
 
18389
        args.setCustomerId(customerId);
-
 
18390
        args.write(prot);
-
 
18391
        prot.writeMessageEnd();
-
 
18392
      }
-
 
18393
 
-
 
18394
      public List<ReturnTransaction> getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
18395
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
18396
          throw new IllegalStateException("Method call not finished!");
-
 
18397
        }
-
 
18398
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
18399
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
18400
        return (new Client(prot)).recv_getReturnTransactionsForCustomer();
-
 
18401
      }
-
 
18402
    }
-
 
18403
 
-
 
18404
    public void verifyOrderForTransaction(long transactionId, org.apache.thrift.async.AsyncMethodCallback<verifyOrderForTransaction_call> resultHandler) throws org.apache.thrift.TException {
-
 
18405
      checkReady();
-
 
18406
      verifyOrderForTransaction_call method_call = new verifyOrderForTransaction_call(transactionId, resultHandler, this, ___protocolFactory, ___transport);
-
 
18407
      this.___currentMethod = method_call;
-
 
18408
      ___manager.call(method_call);
-
 
18409
    }
-
 
18410
 
-
 
18411
    public static class verifyOrderForTransaction_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
18412
      private long transactionId;
-
 
18413
      public verifyOrderForTransaction_call(long transactionId, org.apache.thrift.async.AsyncMethodCallback<verifyOrderForTransaction_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 {
-
 
18414
        super(client, protocolFactory, transport, resultHandler, false);
-
 
18415
        this.transactionId = transactionId;
-
 
18416
      }
-
 
18417
 
-
 
18418
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
18419
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("verifyOrderForTransaction", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
18420
        verifyOrderForTransaction_args args = new verifyOrderForTransaction_args();
-
 
18421
        args.setTransactionId(transactionId);
-
 
18422
        args.write(prot);
-
 
18423
        prot.writeMessageEnd();
-
 
18424
      }
-
 
18425
 
-
 
18426
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
18427
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
18428
          throw new IllegalStateException("Method call not finished!");
-
 
18429
        }
-
 
18430
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
18431
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
18432
        return (new Client(prot)).recv_verifyOrderForTransaction();
-
 
18433
      }
-
 
18434
    }
-
 
18435
 
16588
  }
18436
  }
16589
 
18437
 
16590
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
18438
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
16591
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
18439
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
16592
    public Processor(I iface) {
18440
    public Processor(I iface) {
Line 16847... Line 18695...
16847
      processMap.put("createHomeShopOrder", new createHomeShopOrder());
18695
      processMap.put("createHomeShopOrder", new createHomeShopOrder());
16848
      processMap.put("getHomeShopOrder", new getHomeShopOrder());
18696
      processMap.put("getHomeShopOrder", new getHomeShopOrder());
16849
      processMap.put("homeShopOrderExists", new homeShopOrderExists());
18697
      processMap.put("homeShopOrderExists", new homeShopOrderExists());
16850
      processMap.put("splitBulkOrder", new splitBulkOrder());
18698
      processMap.put("splitBulkOrder", new splitBulkOrder());
16851
      processMap.put("moveOrdersToCorrectWarehouse", new moveOrdersToCorrectWarehouse());
18699
      processMap.put("moveOrdersToCorrectWarehouse", new moveOrdersToCorrectWarehouse());
-
 
18700
      processMap.put("getCreditorInfo", new getCreditorInfo());
-
 
18701
      processMap.put("updateCreditorInfo", new updateCreditorInfo());
-
 
18702
      processMap.put("getUserSanctionDetails", new getUserSanctionDetails());
-
 
18703
      processMap.put("getUserSanctionDetailsForCreditor", new getUserSanctionDetailsForCreditor());
-
 
18704
      processMap.put("updateUserSanction", new updateUserSanction());
-
 
18705
      processMap.put("getCreditHistoryRecordsForTransaction", new getCreditHistoryRecordsForTransaction());
-
 
18706
      processMap.put("getCreditHistoryRecordsForUserAndCreditor", new getCreditHistoryRecordsForUserAndCreditor());
-
 
18707
      processMap.put("processCreditTransaction", new processCreditTransaction());
-
 
18708
      processMap.put("getLoanPayableForUserToCreditor", new getLoanPayableForUserToCreditor());
-
 
18709
      processMap.put("getReturnOrderInfo", new getReturnOrderInfo());
-
 
18710
      processMap.put("getReturnOrderInfoList", new getReturnOrderInfoList());
-
 
18711
      processMap.put("getReturnOrderInfoListAsByStatus", new getReturnOrderInfoListAsByStatus());
-
 
18712
      processMap.put("updateReturnOrderInfo", new updateReturnOrderInfo());
-
 
18713
      processMap.put("bulkUpdateReturnOrderInfo", new bulkUpdateReturnOrderInfo());
-
 
18714
      processMap.put("getReturnOrdersAsPerWarehouseId", new getReturnOrdersAsPerWarehouseId());
-
 
18715
      processMap.put("createReturnTransaction", new createReturnTransaction());
-
 
18716
      processMap.put("getReturnTransaction", new getReturnTransaction());
-
 
18717
      processMap.put("getReturnOrdersForReturnTransaction", new getReturnOrdersForReturnTransaction());
-
 
18718
      processMap.put("changeReturnTransactionStatus", new changeReturnTransactionStatus());
-
 
18719
      processMap.put("createReturnPickupRequest", new createReturnPickupRequest());
-
 
18720
      processMap.put("updateReturnPickupRequest", new updateReturnPickupRequest());
-
 
18721
      processMap.put("getAllReturnOrdersForReturnPickupRequest", new getAllReturnOrdersForReturnPickupRequest());
-
 
18722
      processMap.put("receiveReturnPickup", new receiveReturnPickup());
-
 
18723
      processMap.put("validateReturnPickup", new validateReturnPickup());
-
 
18724
      processMap.put("processReturnPickup", new processReturnPickup());
-
 
18725
      processMap.put("markReturnTransactionComplete", new markReturnTransactionComplete());
-
 
18726
      processMap.put("refundReturnTransactionPayment", new refundReturnTransactionPayment());
-
 
18727
      processMap.put("getReturnTransactionsForCustomer", new getReturnTransactionsForCustomer());
-
 
18728
      processMap.put("verifyOrderForTransaction", new verifyOrderForTransaction());
16852
      return processMap;
18729
      return processMap;
16853
    }
18730
    }
16854
 
18731
 
16855
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
18732
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
16856
      public createTransaction() {
18733
      public createTransaction() {
Line 21392... Line 23269...
21392
        result.success = iface.moveOrdersToCorrectWarehouse();
23269
        result.success = iface.moveOrdersToCorrectWarehouse();
21393
        return result;
23270
        return result;
21394
      }
23271
      }
21395
    }
23272
    }
21396
 
23273
 
-
 
23274
    private static class getCreditorInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getCreditorInfo_args> {
-
 
23275
      public getCreditorInfo() {
-
 
23276
        super("getCreditorInfo");
-
 
23277
      }
-
 
23278
 
-
 
23279
      protected getCreditorInfo_args getEmptyArgsInstance() {
-
 
23280
        return new getCreditorInfo_args();
-
 
23281
      }
-
 
23282
 
-
 
23283
      protected getCreditorInfo_result getResult(I iface, getCreditorInfo_args args) throws org.apache.thrift.TException {
-
 
23284
        getCreditorInfo_result result = new getCreditorInfo_result();
-
 
23285
        result.success = iface.getCreditorInfo(args.id, args.name);
-
 
23286
        return result;
-
 
23287
      }
-
 
23288
    }
-
 
23289
 
-
 
23290
    private static class updateCreditorInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateCreditorInfo_args> {
-
 
23291
      public updateCreditorInfo() {
-
 
23292
        super("updateCreditorInfo");
-
 
23293
      }
-
 
23294
 
-
 
23295
      protected updateCreditorInfo_args getEmptyArgsInstance() {
-
 
23296
        return new updateCreditorInfo_args();
-
 
23297
      }
-
 
23298
 
-
 
23299
      protected updateCreditorInfo_result getResult(I iface, updateCreditorInfo_args args) throws org.apache.thrift.TException {
-
 
23300
        updateCreditorInfo_result result = new updateCreditorInfo_result();
-
 
23301
        result.success = iface.updateCreditorInfo(args.creditor);
-
 
23302
        result.setSuccessIsSet(true);
-
 
23303
        return result;
-
 
23304
      }
-
 
23305
    }
-
 
23306
 
-
 
23307
    private static class getUserSanctionDetails<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getUserSanctionDetails_args> {
-
 
23308
      public getUserSanctionDetails() {
-
 
23309
        super("getUserSanctionDetails");
-
 
23310
      }
-
 
23311
 
-
 
23312
      protected getUserSanctionDetails_args getEmptyArgsInstance() {
-
 
23313
        return new getUserSanctionDetails_args();
-
 
23314
      }
-
 
23315
 
-
 
23316
      protected getUserSanctionDetails_result getResult(I iface, getUserSanctionDetails_args args) throws org.apache.thrift.TException {
-
 
23317
        getUserSanctionDetails_result result = new getUserSanctionDetails_result();
-
 
23318
        result.success = iface.getUserSanctionDetails(args.userId);
-
 
23319
        return result;
-
 
23320
      }
-
 
23321
    }
-
 
23322
 
-
 
23323
    private static class getUserSanctionDetailsForCreditor<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getUserSanctionDetailsForCreditor_args> {
-
 
23324
      public getUserSanctionDetailsForCreditor() {
-
 
23325
        super("getUserSanctionDetailsForCreditor");
-
 
23326
      }
-
 
23327
 
-
 
23328
      protected getUserSanctionDetailsForCreditor_args getEmptyArgsInstance() {
-
 
23329
        return new getUserSanctionDetailsForCreditor_args();
-
 
23330
      }
-
 
23331
 
-
 
23332
      protected getUserSanctionDetailsForCreditor_result getResult(I iface, getUserSanctionDetailsForCreditor_args args) throws org.apache.thrift.TException {
-
 
23333
        getUserSanctionDetailsForCreditor_result result = new getUserSanctionDetailsForCreditor_result();
-
 
23334
        result.success = iface.getUserSanctionDetailsForCreditor(args.userId, args.creditorId);
-
 
23335
        return result;
-
 
23336
      }
-
 
23337
    }
-
 
23338
 
-
 
23339
    private static class updateUserSanction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateUserSanction_args> {
-
 
23340
      public updateUserSanction() {
-
 
23341
        super("updateUserSanction");
-
 
23342
      }
-
 
23343
 
-
 
23344
      protected updateUserSanction_args getEmptyArgsInstance() {
-
 
23345
        return new updateUserSanction_args();
-
 
23346
      }
-
 
23347
 
-
 
23348
      protected updateUserSanction_result getResult(I iface, updateUserSanction_args args) throws org.apache.thrift.TException {
-
 
23349
        updateUserSanction_result result = new updateUserSanction_result();
-
 
23350
        try {
-
 
23351
          result.success = iface.updateUserSanction(args.userSanaction);
-
 
23352
          result.setSuccessIsSet(true);
-
 
23353
        } catch (TransactionServiceException pe) {
-
 
23354
          result.pe = pe;
-
 
23355
        }
-
 
23356
        return result;
-
 
23357
      }
-
 
23358
    }
-
 
23359
 
-
 
23360
    private static class getCreditHistoryRecordsForTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getCreditHistoryRecordsForTransaction_args> {
-
 
23361
      public getCreditHistoryRecordsForTransaction() {
-
 
23362
        super("getCreditHistoryRecordsForTransaction");
-
 
23363
      }
-
 
23364
 
-
 
23365
      protected getCreditHistoryRecordsForTransaction_args getEmptyArgsInstance() {
-
 
23366
        return new getCreditHistoryRecordsForTransaction_args();
-
 
23367
      }
-
 
23368
 
-
 
23369
      protected getCreditHistoryRecordsForTransaction_result getResult(I iface, getCreditHistoryRecordsForTransaction_args args) throws org.apache.thrift.TException {
-
 
23370
        getCreditHistoryRecordsForTransaction_result result = new getCreditHistoryRecordsForTransaction_result();
-
 
23371
        result.success = iface.getCreditHistoryRecordsForTransaction(args.paymentId, args.creditorId, args.creditTxnType);
-
 
23372
        return result;
-
 
23373
      }
-
 
23374
    }
-
 
23375
 
-
 
23376
    private static class getCreditHistoryRecordsForUserAndCreditor<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getCreditHistoryRecordsForUserAndCreditor_args> {
-
 
23377
      public getCreditHistoryRecordsForUserAndCreditor() {
-
 
23378
        super("getCreditHistoryRecordsForUserAndCreditor");
-
 
23379
      }
-
 
23380
 
-
 
23381
      protected getCreditHistoryRecordsForUserAndCreditor_args getEmptyArgsInstance() {
-
 
23382
        return new getCreditHistoryRecordsForUserAndCreditor_args();
-
 
23383
      }
-
 
23384
 
-
 
23385
      protected getCreditHistoryRecordsForUserAndCreditor_result getResult(I iface, getCreditHistoryRecordsForUserAndCreditor_args args) throws org.apache.thrift.TException {
-
 
23386
        getCreditHistoryRecordsForUserAndCreditor_result result = new getCreditHistoryRecordsForUserAndCreditor_result();
-
 
23387
        result.success = iface.getCreditHistoryRecordsForUserAndCreditor(args.userId, args.creditTxnType);
-
 
23388
        return result;
-
 
23389
      }
-
 
23390
    }
-
 
23391
 
-
 
23392
    private static class processCreditTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, processCreditTransaction_args> {
-
 
23393
      public processCreditTransaction() {
-
 
23394
        super("processCreditTransaction");
-
 
23395
      }
-
 
23396
 
-
 
23397
      protected processCreditTransaction_args getEmptyArgsInstance() {
-
 
23398
        return new processCreditTransaction_args();
-
 
23399
      }
-
 
23400
 
-
 
23401
      protected processCreditTransaction_result getResult(I iface, processCreditTransaction_args args) throws org.apache.thrift.TException {
-
 
23402
        processCreditTransaction_result result = new processCreditTransaction_result();
-
 
23403
        try {
-
 
23404
          result.success = iface.processCreditTransaction(args.paymentId, args.creditTxns);
-
 
23405
          result.setSuccessIsSet(true);
-
 
23406
        } catch (TransactionServiceException pe) {
-
 
23407
          result.pe = pe;
-
 
23408
        }
-
 
23409
        return result;
-
 
23410
      }
-
 
23411
    }
-
 
23412
 
-
 
23413
    private static class getLoanPayableForUserToCreditor<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getLoanPayableForUserToCreditor_args> {
-
 
23414
      public getLoanPayableForUserToCreditor() {
-
 
23415
        super("getLoanPayableForUserToCreditor");
-
 
23416
      }
-
 
23417
 
-
 
23418
      protected getLoanPayableForUserToCreditor_args getEmptyArgsInstance() {
-
 
23419
        return new getLoanPayableForUserToCreditor_args();
-
 
23420
      }
-
 
23421
 
-
 
23422
      protected getLoanPayableForUserToCreditor_result getResult(I iface, getLoanPayableForUserToCreditor_args args) throws org.apache.thrift.TException {
-
 
23423
        getLoanPayableForUserToCreditor_result result = new getLoanPayableForUserToCreditor_result();
-
 
23424
        result.success = iface.getLoanPayableForUserToCreditor(args.userId, args.creditorId, args.dueDate);
-
 
23425
        return result;
-
 
23426
      }
-
 
23427
    }
-
 
23428
 
-
 
23429
    private static class getReturnOrderInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReturnOrderInfo_args> {
-
 
23430
      public getReturnOrderInfo() {
-
 
23431
        super("getReturnOrderInfo");
-
 
23432
      }
-
 
23433
 
-
 
23434
      protected getReturnOrderInfo_args getEmptyArgsInstance() {
-
 
23435
        return new getReturnOrderInfo_args();
-
 
23436
      }
-
 
23437
 
-
 
23438
      protected getReturnOrderInfo_result getResult(I iface, getReturnOrderInfo_args args) throws org.apache.thrift.TException {
-
 
23439
        getReturnOrderInfo_result result = new getReturnOrderInfo_result();
-
 
23440
        try {
-
 
23441
          result.success = iface.getReturnOrderInfo(args.id);
-
 
23442
        } catch (TransactionServiceException ex) {
-
 
23443
          result.ex = ex;
-
 
23444
        }
-
 
23445
        return result;
-
 
23446
      }
-
 
23447
    }
-
 
23448
 
-
 
23449
    private static class getReturnOrderInfoList<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReturnOrderInfoList_args> {
-
 
23450
      public getReturnOrderInfoList() {
-
 
23451
        super("getReturnOrderInfoList");
-
 
23452
      }
-
 
23453
 
-
 
23454
      protected getReturnOrderInfoList_args getEmptyArgsInstance() {
-
 
23455
        return new getReturnOrderInfoList_args();
-
 
23456
      }
-
 
23457
 
-
 
23458
      protected getReturnOrderInfoList_result getResult(I iface, getReturnOrderInfoList_args args) throws org.apache.thrift.TException {
-
 
23459
        getReturnOrderInfoList_result result = new getReturnOrderInfoList_result();
-
 
23460
        result.success = iface.getReturnOrderInfoList(args.order_ids);
-
 
23461
        return result;
-
 
23462
      }
-
 
23463
    }
-
 
23464
 
-
 
23465
    private static class getReturnOrderInfoListAsByStatus<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReturnOrderInfoListAsByStatus_args> {
-
 
23466
      public getReturnOrderInfoListAsByStatus() {
-
 
23467
        super("getReturnOrderInfoListAsByStatus");
-
 
23468
      }
-
 
23469
 
-
 
23470
      protected getReturnOrderInfoListAsByStatus_args getEmptyArgsInstance() {
-
 
23471
        return new getReturnOrderInfoListAsByStatus_args();
-
 
23472
      }
-
 
23473
 
-
 
23474
      protected getReturnOrderInfoListAsByStatus_result getResult(I iface, getReturnOrderInfoListAsByStatus_args args) throws org.apache.thrift.TException {
-
 
23475
        getReturnOrderInfoListAsByStatus_result result = new getReturnOrderInfoListAsByStatus_result();
-
 
23476
        result.success = iface.getReturnOrderInfoListAsByStatus(args.order_ids, args.statuses);
-
 
23477
        return result;
-
 
23478
      }
-
 
23479
    }
-
 
23480
 
-
 
23481
    private static class updateReturnOrderInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateReturnOrderInfo_args> {
-
 
23482
      public updateReturnOrderInfo() {
-
 
23483
        super("updateReturnOrderInfo");
-
 
23484
      }
-
 
23485
 
-
 
23486
      protected updateReturnOrderInfo_args getEmptyArgsInstance() {
-
 
23487
        return new updateReturnOrderInfo_args();
-
 
23488
      }
-
 
23489
 
-
 
23490
      protected updateReturnOrderInfo_result getResult(I iface, updateReturnOrderInfo_args args) throws org.apache.thrift.TException {
-
 
23491
        updateReturnOrderInfo_result result = new updateReturnOrderInfo_result();
-
 
23492
        try {
-
 
23493
          result.success = iface.updateReturnOrderInfo(args.returnInfo);
-
 
23494
          result.setSuccessIsSet(true);
-
 
23495
        } catch (TransactionServiceException ex) {
-
 
23496
          result.ex = ex;
-
 
23497
        }
-
 
23498
        return result;
-
 
23499
      }
-
 
23500
    }
-
 
23501
 
-
 
23502
    private static class bulkUpdateReturnOrderInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, bulkUpdateReturnOrderInfo_args> {
-
 
23503
      public bulkUpdateReturnOrderInfo() {
-
 
23504
        super("bulkUpdateReturnOrderInfo");
-
 
23505
      }
-
 
23506
 
-
 
23507
      protected bulkUpdateReturnOrderInfo_args getEmptyArgsInstance() {
-
 
23508
        return new bulkUpdateReturnOrderInfo_args();
-
 
23509
      }
-
 
23510
 
-
 
23511
      protected bulkUpdateReturnOrderInfo_result getResult(I iface, bulkUpdateReturnOrderInfo_args args) throws org.apache.thrift.TException {
-
 
23512
        bulkUpdateReturnOrderInfo_result result = new bulkUpdateReturnOrderInfo_result();
-
 
23513
        try {
-
 
23514
          result.success = iface.bulkUpdateReturnOrderInfo(args.orderReturnInfosMap);
-
 
23515
        } catch (TransactionServiceException ex) {
-
 
23516
          result.ex = ex;
-
 
23517
        }
-
 
23518
        return result;
-
 
23519
      }
-
 
23520
    }
-
 
23521
 
-
 
23522
    private static class getReturnOrdersAsPerWarehouseId<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReturnOrdersAsPerWarehouseId_args> {
-
 
23523
      public getReturnOrdersAsPerWarehouseId() {
-
 
23524
        super("getReturnOrdersAsPerWarehouseId");
-
 
23525
      }
-
 
23526
 
-
 
23527
      protected getReturnOrdersAsPerWarehouseId_args getEmptyArgsInstance() {
-
 
23528
        return new getReturnOrdersAsPerWarehouseId_args();
-
 
23529
      }
-
 
23530
 
-
 
23531
      protected getReturnOrdersAsPerWarehouseId_result getResult(I iface, getReturnOrdersAsPerWarehouseId_args args) throws org.apache.thrift.TException {
-
 
23532
        getReturnOrdersAsPerWarehouseId_result result = new getReturnOrdersAsPerWarehouseId_result();
-
 
23533
        result.success = iface.getReturnOrdersAsPerWarehouseId(args.warehouseId);
-
 
23534
        return result;
-
 
23535
      }
-
 
23536
    }
-
 
23537
 
-
 
23538
    private static class createReturnTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createReturnTransaction_args> {
-
 
23539
      public createReturnTransaction() {
-
 
23540
        super("createReturnTransaction");
-
 
23541
      }
-
 
23542
 
-
 
23543
      protected createReturnTransaction_args getEmptyArgsInstance() {
-
 
23544
        return new createReturnTransaction_args();
-
 
23545
      }
-
 
23546
 
-
 
23547
      protected createReturnTransaction_result getResult(I iface, createReturnTransaction_args args) throws org.apache.thrift.TException {
-
 
23548
        createReturnTransaction_result result = new createReturnTransaction_result();
-
 
23549
        try {
-
 
23550
          result.success = iface.createReturnTransaction(args.returnTransaction);
-
 
23551
          result.setSuccessIsSet(true);
-
 
23552
        } catch (TransactionServiceException ex) {
-
 
23553
          result.ex = ex;
-
 
23554
        }
-
 
23555
        return result;
-
 
23556
      }
-
 
23557
    }
-
 
23558
 
-
 
23559
    private static class getReturnTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReturnTransaction_args> {
-
 
23560
      public getReturnTransaction() {
-
 
23561
        super("getReturnTransaction");
-
 
23562
      }
-
 
23563
 
-
 
23564
      protected getReturnTransaction_args getEmptyArgsInstance() {
-
 
23565
        return new getReturnTransaction_args();
-
 
23566
      }
-
 
23567
 
-
 
23568
      protected getReturnTransaction_result getResult(I iface, getReturnTransaction_args args) throws org.apache.thrift.TException {
-
 
23569
        getReturnTransaction_result result = new getReturnTransaction_result();
-
 
23570
        try {
-
 
23571
          result.success = iface.getReturnTransaction(args.id);
-
 
23572
        } catch (TransactionServiceException ex) {
-
 
23573
          result.ex = ex;
-
 
23574
        }
-
 
23575
        return result;
-
 
23576
      }
-
 
23577
    }
-
 
23578
 
-
 
23579
    private static class getReturnOrdersForReturnTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReturnOrdersForReturnTransaction_args> {
-
 
23580
      public getReturnOrdersForReturnTransaction() {
-
 
23581
        super("getReturnOrdersForReturnTransaction");
-
 
23582
      }
-
 
23583
 
-
 
23584
      protected getReturnOrdersForReturnTransaction_args getEmptyArgsInstance() {
-
 
23585
        return new getReturnOrdersForReturnTransaction_args();
-
 
23586
      }
-
 
23587
 
-
 
23588
      protected getReturnOrdersForReturnTransaction_result getResult(I iface, getReturnOrdersForReturnTransaction_args args) throws org.apache.thrift.TException {
-
 
23589
        getReturnOrdersForReturnTransaction_result result = new getReturnOrdersForReturnTransaction_result();
-
 
23590
        try {
-
 
23591
          result.success = iface.getReturnOrdersForReturnTransaction(args.returnTransactionId);
-
 
23592
        } catch (TransactionServiceException ex) {
-
 
23593
          result.ex = ex;
-
 
23594
        }
-
 
23595
        return result;
-
 
23596
      }
-
 
23597
    }
-
 
23598
 
-
 
23599
    private static class changeReturnTransactionStatus<I extends Iface> extends org.apache.thrift.ProcessFunction<I, changeReturnTransactionStatus_args> {
-
 
23600
      public changeReturnTransactionStatus() {
-
 
23601
        super("changeReturnTransactionStatus");
-
 
23602
      }
-
 
23603
 
-
 
23604
      protected changeReturnTransactionStatus_args getEmptyArgsInstance() {
-
 
23605
        return new changeReturnTransactionStatus_args();
-
 
23606
      }
-
 
23607
 
-
 
23608
      protected changeReturnTransactionStatus_result getResult(I iface, changeReturnTransactionStatus_args args) throws org.apache.thrift.TException {
-
 
23609
        changeReturnTransactionStatus_result result = new changeReturnTransactionStatus_result();
-
 
23610
        try {
-
 
23611
          result.success = iface.changeReturnTransactionStatus(args.returnTransactionId, args.status, args.returnOrderIds);
-
 
23612
          result.setSuccessIsSet(true);
-
 
23613
        } catch (TransactionServiceException ex) {
-
 
23614
          result.ex = ex;
-
 
23615
        }
-
 
23616
        return result;
-
 
23617
      }
-
 
23618
    }
-
 
23619
 
-
 
23620
    private static class createReturnPickupRequest<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createReturnPickupRequest_args> {
-
 
23621
      public createReturnPickupRequest() {
-
 
23622
        super("createReturnPickupRequest");
-
 
23623
      }
-
 
23624
 
-
 
23625
      protected createReturnPickupRequest_args getEmptyArgsInstance() {
-
 
23626
        return new createReturnPickupRequest_args();
-
 
23627
      }
-
 
23628
 
-
 
23629
      protected createReturnPickupRequest_result getResult(I iface, createReturnPickupRequest_args args) throws org.apache.thrift.TException {
-
 
23630
        createReturnPickupRequest_result result = new createReturnPickupRequest_result();
-
 
23631
        try {
-
 
23632
          result.success = iface.createReturnPickupRequest(args.returnOrderIds, args.providerId);
-
 
23633
          result.setSuccessIsSet(true);
-
 
23634
        } catch (TransactionServiceException ex) {
-
 
23635
          result.ex = ex;
-
 
23636
        }
-
 
23637
        return result;
-
 
23638
      }
-
 
23639
    }
-
 
23640
 
-
 
23641
    private static class updateReturnPickupRequest<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateReturnPickupRequest_args> {
-
 
23642
      public updateReturnPickupRequest() {
-
 
23643
        super("updateReturnPickupRequest");
-
 
23644
      }
-
 
23645
 
-
 
23646
      protected updateReturnPickupRequest_args getEmptyArgsInstance() {
-
 
23647
        return new updateReturnPickupRequest_args();
-
 
23648
      }
-
 
23649
 
-
 
23650
      protected updateReturnPickupRequest_result getResult(I iface, updateReturnPickupRequest_args args) throws org.apache.thrift.TException {
-
 
23651
        updateReturnPickupRequest_result result = new updateReturnPickupRequest_result();
-
 
23652
        try {
-
 
23653
          result.success = iface.updateReturnPickupRequest(args.returnPickupRequest);
-
 
23654
          result.setSuccessIsSet(true);
-
 
23655
        } catch (TransactionServiceException ex) {
-
 
23656
          result.ex = ex;
-
 
23657
        }
-
 
23658
        return result;
-
 
23659
      }
-
 
23660
    }
-
 
23661
 
-
 
23662
    private static class getAllReturnOrdersForReturnPickupRequest<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllReturnOrdersForReturnPickupRequest_args> {
-
 
23663
      public getAllReturnOrdersForReturnPickupRequest() {
-
 
23664
        super("getAllReturnOrdersForReturnPickupRequest");
-
 
23665
      }
-
 
23666
 
-
 
23667
      protected getAllReturnOrdersForReturnPickupRequest_args getEmptyArgsInstance() {
-
 
23668
        return new getAllReturnOrdersForReturnPickupRequest_args();
-
 
23669
      }
-
 
23670
 
-
 
23671
      protected getAllReturnOrdersForReturnPickupRequest_result getResult(I iface, getAllReturnOrdersForReturnPickupRequest_args args) throws org.apache.thrift.TException {
-
 
23672
        getAllReturnOrdersForReturnPickupRequest_result result = new getAllReturnOrdersForReturnPickupRequest_result();
-
 
23673
        try {
-
 
23674
          result.success = iface.getAllReturnOrdersForReturnPickupRequest(args.logisticsRequestId);
-
 
23675
        } catch (TransactionServiceException ex) {
-
 
23676
          result.ex = ex;
-
 
23677
        }
-
 
23678
        return result;
-
 
23679
      }
-
 
23680
    }
-
 
23681
 
-
 
23682
    private static class receiveReturnPickup<I extends Iface> extends org.apache.thrift.ProcessFunction<I, receiveReturnPickup_args> {
-
 
23683
      public receiveReturnPickup() {
-
 
23684
        super("receiveReturnPickup");
-
 
23685
      }
-
 
23686
 
-
 
23687
      protected receiveReturnPickup_args getEmptyArgsInstance() {
-
 
23688
        return new receiveReturnPickup_args();
-
 
23689
      }
-
 
23690
 
-
 
23691
      protected receiveReturnPickup_result getResult(I iface, receiveReturnPickup_args args) throws org.apache.thrift.TException {
-
 
23692
        receiveReturnPickup_result result = new receiveReturnPickup_result();
-
 
23693
        try {
-
 
23694
          result.success = iface.receiveReturnPickup(args.returnOrdersMap, args.id);
-
 
23695
          result.setSuccessIsSet(true);
-
 
23696
        } catch (TransactionServiceException ex) {
-
 
23697
          result.ex = ex;
-
 
23698
        }
-
 
23699
        return result;
-
 
23700
      }
-
 
23701
    }
-
 
23702
 
-
 
23703
    private static class validateReturnPickup<I extends Iface> extends org.apache.thrift.ProcessFunction<I, validateReturnPickup_args> {
-
 
23704
      public validateReturnPickup() {
-
 
23705
        super("validateReturnPickup");
-
 
23706
      }
-
 
23707
 
-
 
23708
      protected validateReturnPickup_args getEmptyArgsInstance() {
-
 
23709
        return new validateReturnPickup_args();
-
 
23710
      }
-
 
23711
 
-
 
23712
      protected validateReturnPickup_result getResult(I iface, validateReturnPickup_args args) throws org.apache.thrift.TException {
-
 
23713
        validateReturnPickup_result result = new validateReturnPickup_result();
-
 
23714
        try {
-
 
23715
          result.success = iface.validateReturnPickup(args.returnPickupId, args.returnOrdersMap);
-
 
23716
          result.setSuccessIsSet(true);
-
 
23717
        } catch (TransactionServiceException ex) {
-
 
23718
          result.ex = ex;
-
 
23719
        }
-
 
23720
        return result;
-
 
23721
      }
-
 
23722
    }
-
 
23723
 
-
 
23724
    private static class processReturnPickup<I extends Iface> extends org.apache.thrift.ProcessFunction<I, processReturnPickup_args> {
-
 
23725
      public processReturnPickup() {
-
 
23726
        super("processReturnPickup");
-
 
23727
      }
-
 
23728
 
-
 
23729
      protected processReturnPickup_args getEmptyArgsInstance() {
-
 
23730
        return new processReturnPickup_args();
-
 
23731
      }
-
 
23732
 
-
 
23733
      protected processReturnPickup_result getResult(I iface, processReturnPickup_args args) throws org.apache.thrift.TException {
-
 
23734
        processReturnPickup_result result = new processReturnPickup_result();
-
 
23735
        try {
-
 
23736
          result.success = iface.processReturnPickup(args.returnPickupId, args.returnOrdersMap);
-
 
23737
          result.setSuccessIsSet(true);
-
 
23738
        } catch (TransactionServiceException ex) {
-
 
23739
          result.ex = ex;
-
 
23740
        }
-
 
23741
        return result;
-
 
23742
      }
-
 
23743
    }
-
 
23744
 
-
 
23745
    private static class markReturnTransactionComplete<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markReturnTransactionComplete_args> {
-
 
23746
      public markReturnTransactionComplete() {
-
 
23747
        super("markReturnTransactionComplete");
-
 
23748
      }
-
 
23749
 
-
 
23750
      protected markReturnTransactionComplete_args getEmptyArgsInstance() {
-
 
23751
        return new markReturnTransactionComplete_args();
-
 
23752
      }
-
 
23753
 
-
 
23754
      protected markReturnTransactionComplete_result getResult(I iface, markReturnTransactionComplete_args args) throws org.apache.thrift.TException {
-
 
23755
        markReturnTransactionComplete_result result = new markReturnTransactionComplete_result();
-
 
23756
        try {
-
 
23757
          result.success = iface.markReturnTransactionComplete(args.returnTransactionId);
-
 
23758
          result.setSuccessIsSet(true);
-
 
23759
        } catch (TransactionServiceException ex) {
-
 
23760
          result.ex = ex;
-
 
23761
        }
-
 
23762
        return result;
-
 
23763
      }
-
 
23764
    }
-
 
23765
 
-
 
23766
    private static class refundReturnTransactionPayment<I extends Iface> extends org.apache.thrift.ProcessFunction<I, refundReturnTransactionPayment_args> {
-
 
23767
      public refundReturnTransactionPayment() {
-
 
23768
        super("refundReturnTransactionPayment");
-
 
23769
      }
-
 
23770
 
-
 
23771
      protected refundReturnTransactionPayment_args getEmptyArgsInstance() {
-
 
23772
        return new refundReturnTransactionPayment_args();
-
 
23773
      }
-
 
23774
 
-
 
23775
      protected refundReturnTransactionPayment_result getResult(I iface, refundReturnTransactionPayment_args args) throws org.apache.thrift.TException {
-
 
23776
        refundReturnTransactionPayment_result result = new refundReturnTransactionPayment_result();
-
 
23777
        try {
-
 
23778
          result.success = iface.refundReturnTransactionPayment(args.refundOrdersMap, args.returntransactionId);
-
 
23779
          result.setSuccessIsSet(true);
-
 
23780
        } catch (TransactionServiceException ex) {
-
 
23781
          result.ex = ex;
-
 
23782
        }
-
 
23783
        return result;
-
 
23784
      }
-
 
23785
    }
-
 
23786
 
-
 
23787
    private static class getReturnTransactionsForCustomer<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReturnTransactionsForCustomer_args> {
-
 
23788
      public getReturnTransactionsForCustomer() {
-
 
23789
        super("getReturnTransactionsForCustomer");
-
 
23790
      }
-
 
23791
 
-
 
23792
      protected getReturnTransactionsForCustomer_args getEmptyArgsInstance() {
-
 
23793
        return new getReturnTransactionsForCustomer_args();
-
 
23794
      }
-
 
23795
 
-
 
23796
      protected getReturnTransactionsForCustomer_result getResult(I iface, getReturnTransactionsForCustomer_args args) throws org.apache.thrift.TException {
-
 
23797
        getReturnTransactionsForCustomer_result result = new getReturnTransactionsForCustomer_result();
-
 
23798
        try {
-
 
23799
          result.success = iface.getReturnTransactionsForCustomer(args.statusList, args.customerMobile, args.customerEmail, args.returnTransactionId, args.customerId);
-
 
23800
        } catch (TransactionServiceException ex) {
-
 
23801
          result.ex = ex;
-
 
23802
        }
-
 
23803
        return result;
-
 
23804
      }
-
 
23805
    }
-
 
23806
 
-
 
23807
    private static class verifyOrderForTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, verifyOrderForTransaction_args> {
-
 
23808
      public verifyOrderForTransaction() {
-
 
23809
        super("verifyOrderForTransaction");
-
 
23810
      }
-
 
23811
 
-
 
23812
      protected verifyOrderForTransaction_args getEmptyArgsInstance() {
-
 
23813
        return new verifyOrderForTransaction_args();
-
 
23814
      }
-
 
23815
 
-
 
23816
      protected verifyOrderForTransaction_result getResult(I iface, verifyOrderForTransaction_args args) throws org.apache.thrift.TException {
-
 
23817
        verifyOrderForTransaction_result result = new verifyOrderForTransaction_result();
-
 
23818
        try {
-
 
23819
          result.success = iface.verifyOrderForTransaction(args.transactionId);
-
 
23820
          result.setSuccessIsSet(true);
-
 
23821
        } catch (TransactionServiceException ex) {
-
 
23822
          result.ex = ex;
-
 
23823
        }
-
 
23824
        return result;
-
 
23825
      }
-
 
23826
    }
-
 
23827
 
21397
  }
23828
  }
21398
 
23829
 
21399
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
23830
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
21400
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
23831
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
21401
 
23832
 
Line 23624... Line 26055...
23624
        }
26055
        }
23625
        switch (field.id) {
26056
        switch (field.id) {
23626
          case 0: // SUCCESS
26057
          case 0: // SUCCESS
23627
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
26058
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
23628
              {
26059
              {
23629
                org.apache.thrift.protocol.TList _list60 = iprot.readListBegin();
26060
                org.apache.thrift.protocol.TList _list64 = iprot.readListBegin();
23630
                this.success = new ArrayList<Transaction>(_list60.size);
26061
                this.success = new ArrayList<Transaction>(_list64.size);
23631
                for (int _i61 = 0; _i61 < _list60.size; ++_i61)
26062
                for (int _i65 = 0; _i65 < _list64.size; ++_i65)
23632
                {
26063
                {
23633
                  Transaction _elem62; // required
26064
                  Transaction _elem66; // required
23634
                  _elem62 = new Transaction();
26065
                  _elem66 = new Transaction();
23635
                  _elem62.read(iprot);
26066
                  _elem66.read(iprot);
23636
                  this.success.add(_elem62);
26067
                  this.success.add(_elem66);
23637
                }
26068
                }
23638
                iprot.readListEnd();
26069
                iprot.readListEnd();
23639
              }
26070
              }
23640
            } else { 
26071
            } else { 
23641
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
26072
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 23663... Line 26094...
23663
 
26094
 
23664
      if (this.isSetSuccess()) {
26095
      if (this.isSetSuccess()) {
23665
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26096
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
23666
        {
26097
        {
23667
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
26098
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
23668
          for (Transaction _iter63 : this.success)
26099
          for (Transaction _iter67 : this.success)
23669
          {
26100
          {
23670
            _iter63.write(oprot);
26101
            _iter67.write(oprot);
23671
          }
26102
          }
23672
          oprot.writeListEnd();
26103
          oprot.writeListEnd();
23673
        }
26104
        }
23674
        oprot.writeFieldEnd();
26105
        oprot.writeFieldEnd();
23675
      } else if (this.isSetEx()) {
26106
      } else if (this.isSetEx()) {
Line 24337... Line 26768...
24337
        }
26768
        }
24338
        switch (field.id) {
26769
        switch (field.id) {
24339
          case 0: // SUCCESS
26770
          case 0: // SUCCESS
24340
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
26771
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
24341
              {
26772
              {
24342
                org.apache.thrift.protocol.TList _list64 = iprot.readListBegin();
26773
                org.apache.thrift.protocol.TList _list68 = iprot.readListBegin();
24343
                this.success = new ArrayList<Transaction>(_list64.size);
26774
                this.success = new ArrayList<Transaction>(_list68.size);
24344
                for (int _i65 = 0; _i65 < _list64.size; ++_i65)
26775
                for (int _i69 = 0; _i69 < _list68.size; ++_i69)
24345
                {
26776
                {
24346
                  Transaction _elem66; // required
26777
                  Transaction _elem70; // required
24347
                  _elem66 = new Transaction();
26778
                  _elem70 = new Transaction();
24348
                  _elem66.read(iprot);
26779
                  _elem70.read(iprot);
24349
                  this.success.add(_elem66);
26780
                  this.success.add(_elem70);
24350
                }
26781
                }
24351
                iprot.readListEnd();
26782
                iprot.readListEnd();
24352
              }
26783
              }
24353
            } else { 
26784
            } else { 
24354
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
26785
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 24376... Line 26807...
24376
 
26807
 
24377
      if (this.isSetSuccess()) {
26808
      if (this.isSetSuccess()) {
24378
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26809
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
24379
        {
26810
        {
24380
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
26811
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
24381
          for (Transaction _iter67 : this.success)
26812
          for (Transaction _iter71 : this.success)
24382
          {
26813
          {
24383
            _iter67.write(oprot);
26814
            _iter71.write(oprot);
24384
          }
26815
          }
24385
          oprot.writeListEnd();
26816
          oprot.writeListEnd();
24386
        }
26817
        }
24387
        oprot.writeFieldEnd();
26818
        oprot.writeFieldEnd();
24388
      } else if (this.isSetEx()) {
26819
      } else if (this.isSetEx()) {
Line 27403... Line 29834...
27403
        }
29834
        }
27404
        switch (field.id) {
29835
        switch (field.id) {
27405
          case 1: // STATUSES
29836
          case 1: // STATUSES
27406
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
29837
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
27407
              {
29838
              {
27408
                org.apache.thrift.protocol.TList _list68 = iprot.readListBegin();
29839
                org.apache.thrift.protocol.TList _list72 = iprot.readListBegin();
27409
                this.statuses = new ArrayList<OrderStatus>(_list68.size);
29840
                this.statuses = new ArrayList<OrderStatus>(_list72.size);
27410
                for (int _i69 = 0; _i69 < _list68.size; ++_i69)
29841
                for (int _i73 = 0; _i73 < _list72.size; ++_i73)
27411
                {
29842
                {
27412
                  OrderStatus _elem70; // required
29843
                  OrderStatus _elem74; // required
27413
                  _elem70 = OrderStatus.findByValue(iprot.readI32());
29844
                  _elem74 = OrderStatus.findByValue(iprot.readI32());
27414
                  this.statuses.add(_elem70);
29845
                  this.statuses.add(_elem74);
27415
                }
29846
                }
27416
                iprot.readListEnd();
29847
                iprot.readListEnd();
27417
              }
29848
              }
27418
            } else { 
29849
            } else { 
27419
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
29850
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 27458... Line 29889...
27458
      oprot.writeStructBegin(STRUCT_DESC);
29889
      oprot.writeStructBegin(STRUCT_DESC);
27459
      if (this.statuses != null) {
29890
      if (this.statuses != null) {
27460
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
29891
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
27461
        {
29892
        {
27462
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
29893
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
27463
          for (OrderStatus _iter71 : this.statuses)
29894
          for (OrderStatus _iter75 : this.statuses)
27464
          {
29895
          {
27465
            oprot.writeI32(_iter71.getValue());
29896
            oprot.writeI32(_iter75.getValue());
27466
          }
29897
          }
27467
          oprot.writeListEnd();
29898
          oprot.writeListEnd();
27468
        }
29899
        }
27469
        oprot.writeFieldEnd();
29900
        oprot.writeFieldEnd();
27470
      }
29901
      }
Line 27849... Line 30280...
27849
        }
30280
        }
27850
        switch (field.id) {
30281
        switch (field.id) {
27851
          case 0: // SUCCESS
30282
          case 0: // SUCCESS
27852
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
30283
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
27853
              {
30284
              {
27854
                org.apache.thrift.protocol.TList _list72 = iprot.readListBegin();
30285
                org.apache.thrift.protocol.TList _list76 = iprot.readListBegin();
27855
                this.success = new ArrayList<Order>(_list72.size);
30286
                this.success = new ArrayList<Order>(_list76.size);
27856
                for (int _i73 = 0; _i73 < _list72.size; ++_i73)
30287
                for (int _i77 = 0; _i77 < _list76.size; ++_i77)
27857
                {
30288
                {
27858
                  Order _elem74; // required
30289
                  Order _elem78; // required
27859
                  _elem74 = new Order();
30290
                  _elem78 = new Order();
27860
                  _elem74.read(iprot);
30291
                  _elem78.read(iprot);
27861
                  this.success.add(_elem74);
30292
                  this.success.add(_elem78);
27862
                }
30293
                }
27863
                iprot.readListEnd();
30294
                iprot.readListEnd();
27864
              }
30295
              }
27865
            } else { 
30296
            } else { 
27866
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
30297
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 27888... Line 30319...
27888
 
30319
 
27889
      if (this.isSetSuccess()) {
30320
      if (this.isSetSuccess()) {
27890
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
30321
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
27891
        {
30322
        {
27892
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
30323
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
27893
          for (Order _iter75 : this.success)
30324
          for (Order _iter79 : this.success)
27894
          {
30325
          {
27895
            _iter75.write(oprot);
30326
            _iter79.write(oprot);
27896
          }
30327
          }
27897
          oprot.writeListEnd();
30328
          oprot.writeListEnd();
27898
        }
30329
        }
27899
        oprot.writeFieldEnd();
30330
        oprot.writeFieldEnd();
27900
      } else if (this.isSetEx()) {
30331
      } else if (this.isSetEx()) {
Line 28475... Line 30906...
28475
        }
30906
        }
28476
        switch (field.id) {
30907
        switch (field.id) {
28477
          case 1: // STATUSES
30908
          case 1: // STATUSES
28478
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
30909
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28479
              {
30910
              {
28480
                org.apache.thrift.protocol.TList _list76 = iprot.readListBegin();
30911
                org.apache.thrift.protocol.TList _list80 = iprot.readListBegin();
28481
                this.statuses = new ArrayList<OrderStatus>(_list76.size);
30912
                this.statuses = new ArrayList<OrderStatus>(_list80.size);
28482
                for (int _i77 = 0; _i77 < _list76.size; ++_i77)
30913
                for (int _i81 = 0; _i81 < _list80.size; ++_i81)
28483
                {
30914
                {
28484
                  OrderStatus _elem78; // required
30915
                  OrderStatus _elem82; // required
28485
                  _elem78 = OrderStatus.findByValue(iprot.readI32());
30916
                  _elem82 = OrderStatus.findByValue(iprot.readI32());
28486
                  this.statuses.add(_elem78);
30917
                  this.statuses.add(_elem82);
28487
                }
30918
                }
28488
                iprot.readListEnd();
30919
                iprot.readListEnd();
28489
              }
30920
              }
28490
            } else { 
30921
            } else { 
28491
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
30922
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 28538... Line 30969...
28538
      oprot.writeStructBegin(STRUCT_DESC);
30969
      oprot.writeStructBegin(STRUCT_DESC);
28539
      if (this.statuses != null) {
30970
      if (this.statuses != null) {
28540
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
30971
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
28541
        {
30972
        {
28542
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
30973
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
28543
          for (OrderStatus _iter79 : this.statuses)
30974
          for (OrderStatus _iter83 : this.statuses)
28544
          {
30975
          {
28545
            oprot.writeI32(_iter79.getValue());
30976
            oprot.writeI32(_iter83.getValue());
28546
          }
30977
          }
28547
          oprot.writeListEnd();
30978
          oprot.writeListEnd();
28548
        }
30979
        }
28549
        oprot.writeFieldEnd();
30980
        oprot.writeFieldEnd();
28550
      }
30981
      }
Line 28934... Line 31365...
28934
        }
31365
        }
28935
        switch (field.id) {
31366
        switch (field.id) {
28936
          case 0: // SUCCESS
31367
          case 0: // SUCCESS
28937
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
31368
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28938
              {
31369
              {
28939
                org.apache.thrift.protocol.TList _list80 = iprot.readListBegin();
31370
                org.apache.thrift.protocol.TList _list84 = iprot.readListBegin();
28940
                this.success = new ArrayList<Order>(_list80.size);
31371
                this.success = new ArrayList<Order>(_list84.size);
28941
                for (int _i81 = 0; _i81 < _list80.size; ++_i81)
31372
                for (int _i85 = 0; _i85 < _list84.size; ++_i85)
28942
                {
31373
                {
28943
                  Order _elem82; // required
31374
                  Order _elem86; // required
28944
                  _elem82 = new Order();
31375
                  _elem86 = new Order();
28945
                  _elem82.read(iprot);
31376
                  _elem86.read(iprot);
28946
                  this.success.add(_elem82);
31377
                  this.success.add(_elem86);
28947
                }
31378
                }
28948
                iprot.readListEnd();
31379
                iprot.readListEnd();
28949
              }
31380
              }
28950
            } else { 
31381
            } else { 
28951
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
31382
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 28973... Line 31404...
28973
 
31404
 
28974
      if (this.isSetSuccess()) {
31405
      if (this.isSetSuccess()) {
28975
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
31406
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
28976
        {
31407
        {
28977
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
31408
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
28978
          for (Order _iter83 : this.success)
31409
          for (Order _iter87 : this.success)
28979
          {
31410
          {
28980
            _iter83.write(oprot);
31411
            _iter87.write(oprot);
28981
          }
31412
          }
28982
          oprot.writeListEnd();
31413
          oprot.writeListEnd();
28983
        }
31414
        }
28984
        oprot.writeFieldEnd();
31415
        oprot.writeFieldEnd();
28985
      } else if (this.isSetEx()) {
31416
      } else if (this.isSetEx()) {
Line 29424... Line 31855...
29424
        }
31855
        }
29425
        switch (field.id) {
31856
        switch (field.id) {
29426
          case 1: // STATUSES
31857
          case 1: // STATUSES
29427
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
31858
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
29428
              {
31859
              {
29429
                org.apache.thrift.protocol.TList _list84 = iprot.readListBegin();
31860
                org.apache.thrift.protocol.TList _list88 = iprot.readListBegin();
29430
                this.statuses = new ArrayList<OrderStatus>(_list84.size);
31861
                this.statuses = new ArrayList<OrderStatus>(_list88.size);
29431
                for (int _i85 = 0; _i85 < _list84.size; ++_i85)
31862
                for (int _i89 = 0; _i89 < _list88.size; ++_i89)
29432
                {
31863
                {
29433
                  OrderStatus _elem86; // required
31864
                  OrderStatus _elem90; // required
29434
                  _elem86 = OrderStatus.findByValue(iprot.readI32());
31865
                  _elem90 = OrderStatus.findByValue(iprot.readI32());
29435
                  this.statuses.add(_elem86);
31866
                  this.statuses.add(_elem90);
29436
                }
31867
                }
29437
                iprot.readListEnd();
31868
                iprot.readListEnd();
29438
              }
31869
              }
29439
            } else { 
31870
            } else { 
29440
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
31871
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 29471... Line 31902...
29471
      oprot.writeStructBegin(STRUCT_DESC);
31902
      oprot.writeStructBegin(STRUCT_DESC);
29472
      if (this.statuses != null) {
31903
      if (this.statuses != null) {
29473
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
31904
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
29474
        {
31905
        {
29475
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
31906
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
29476
          for (OrderStatus _iter87 : this.statuses)
31907
          for (OrderStatus _iter91 : this.statuses)
29477
          {
31908
          {
29478
            oprot.writeI32(_iter87.getValue());
31909
            oprot.writeI32(_iter91.getValue());
29479
          }
31910
          }
29480
          oprot.writeListEnd();
31911
          oprot.writeListEnd();
29481
        }
31912
        }
29482
        oprot.writeFieldEnd();
31913
        oprot.writeFieldEnd();
29483
      }
31914
      }
Line 30794... Line 33225...
30794
        }
33225
        }
30795
        switch (field.id) {
33226
        switch (field.id) {
30796
          case 0: // SUCCESS
33227
          case 0: // SUCCESS
30797
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
33228
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
30798
              {
33229
              {
30799
                org.apache.thrift.protocol.TList _list88 = iprot.readListBegin();
33230
                org.apache.thrift.protocol.TList _list92 = iprot.readListBegin();
30800
                this.success = new ArrayList<Order>(_list88.size);
33231
                this.success = new ArrayList<Order>(_list92.size);
30801
                for (int _i89 = 0; _i89 < _list88.size; ++_i89)
33232
                for (int _i93 = 0; _i93 < _list92.size; ++_i93)
30802
                {
33233
                {
30803
                  Order _elem90; // required
33234
                  Order _elem94; // required
30804
                  _elem90 = new Order();
33235
                  _elem94 = new Order();
30805
                  _elem90.read(iprot);
33236
                  _elem94.read(iprot);
30806
                  this.success.add(_elem90);
33237
                  this.success.add(_elem94);
30807
                }
33238
                }
30808
                iprot.readListEnd();
33239
                iprot.readListEnd();
30809
              }
33240
              }
30810
            } else { 
33241
            } else { 
30811
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
33242
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 30833... Line 33264...
30833
 
33264
 
30834
      if (this.isSetSuccess()) {
33265
      if (this.isSetSuccess()) {
30835
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33266
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
30836
        {
33267
        {
30837
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
33268
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
30838
          for (Order _iter91 : this.success)
33269
          for (Order _iter95 : this.success)
30839
          {
33270
          {
30840
            _iter91.write(oprot);
33271
            _iter95.write(oprot);
30841
          }
33272
          }
30842
          oprot.writeListEnd();
33273
          oprot.writeListEnd();
30843
        }
33274
        }
30844
        oprot.writeFieldEnd();
33275
        oprot.writeFieldEnd();
30845
      } else if (this.isSetEx()) {
33276
      } else if (this.isSetEx()) {
Line 31837... Line 34268...
31837
        }
34268
        }
31838
        switch (field.id) {
34269
        switch (field.id) {
31839
          case 0: // SUCCESS
34270
          case 0: // SUCCESS
31840
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34271
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
31841
              {
34272
              {
31842
                org.apache.thrift.protocol.TList _list92 = iprot.readListBegin();
34273
                org.apache.thrift.protocol.TList _list96 = iprot.readListBegin();
31843
                this.success = new ArrayList<Order>(_list92.size);
34274
                this.success = new ArrayList<Order>(_list96.size);
31844
                for (int _i93 = 0; _i93 < _list92.size; ++_i93)
34275
                for (int _i97 = 0; _i97 < _list96.size; ++_i97)
31845
                {
34276
                {
31846
                  Order _elem94; // required
34277
                  Order _elem98; // required
31847
                  _elem94 = new Order();
34278
                  _elem98 = new Order();
31848
                  _elem94.read(iprot);
34279
                  _elem98.read(iprot);
31849
                  this.success.add(_elem94);
34280
                  this.success.add(_elem98);
31850
                }
34281
                }
31851
                iprot.readListEnd();
34282
                iprot.readListEnd();
31852
              }
34283
              }
31853
            } else { 
34284
            } else { 
31854
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
34285
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 31876... Line 34307...
31876
 
34307
 
31877
      if (this.isSetSuccess()) {
34308
      if (this.isSetSuccess()) {
31878
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34309
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
31879
        {
34310
        {
31880
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
34311
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
31881
          for (Order _iter95 : this.success)
34312
          for (Order _iter99 : this.success)
31882
          {
34313
          {
31883
            _iter95.write(oprot);
34314
            _iter99.write(oprot);
31884
          }
34315
          }
31885
          oprot.writeListEnd();
34316
          oprot.writeListEnd();
31886
        }
34317
        }
31887
        oprot.writeFieldEnd();
34318
        oprot.writeFieldEnd();
31888
      } else if (this.isSetEx()) {
34319
      } else if (this.isSetEx()) {
Line 32633... Line 35064...
32633
        }
35064
        }
32634
        switch (field.id) {
35065
        switch (field.id) {
32635
          case 0: // SUCCESS
35066
          case 0: // SUCCESS
32636
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35067
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
32637
              {
35068
              {
32638
                org.apache.thrift.protocol.TList _list96 = iprot.readListBegin();
35069
                org.apache.thrift.protocol.TList _list100 = iprot.readListBegin();
32639
                this.success = new ArrayList<Long>(_list96.size);
35070
                this.success = new ArrayList<Long>(_list100.size);
32640
                for (int _i97 = 0; _i97 < _list96.size; ++_i97)
35071
                for (int _i101 = 0; _i101 < _list100.size; ++_i101)
32641
                {
35072
                {
32642
                  long _elem98; // required
35073
                  long _elem102; // required
32643
                  _elem98 = iprot.readI64();
35074
                  _elem102 = iprot.readI64();
32644
                  this.success.add(_elem98);
35075
                  this.success.add(_elem102);
32645
                }
35076
                }
32646
                iprot.readListEnd();
35077
                iprot.readListEnd();
32647
              }
35078
              }
32648
            } else { 
35079
            } else { 
32649
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
35080
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 32671... Line 35102...
32671
 
35102
 
32672
      if (this.isSetSuccess()) {
35103
      if (this.isSetSuccess()) {
32673
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
35104
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32674
        {
35105
        {
32675
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
35106
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
32676
          for (long _iter99 : this.success)
35107
          for (long _iter103 : this.success)
32677
          {
35108
          {
32678
            oprot.writeI64(_iter99);
35109
            oprot.writeI64(_iter103);
32679
          }
35110
          }
32680
          oprot.writeListEnd();
35111
          oprot.writeListEnd();
32681
        }
35112
        }
32682
        oprot.writeFieldEnd();
35113
        oprot.writeFieldEnd();
32683
      } else if (this.isSetEx()) {
35114
      } else if (this.isSetEx()) {
Line 33428... Line 35859...
33428
        }
35859
        }
33429
        switch (field.id) {
35860
        switch (field.id) {
33430
          case 0: // SUCCESS
35861
          case 0: // SUCCESS
33431
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35862
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
33432
              {
35863
              {
33433
                org.apache.thrift.protocol.TList _list100 = iprot.readListBegin();
35864
                org.apache.thrift.protocol.TList _list104 = iprot.readListBegin();
33434
                this.success = new ArrayList<Long>(_list100.size);
35865
                this.success = new ArrayList<Long>(_list104.size);
33435
                for (int _i101 = 0; _i101 < _list100.size; ++_i101)
35866
                for (int _i105 = 0; _i105 < _list104.size; ++_i105)
33436
                {
35867
                {
33437
                  long _elem102; // required
35868
                  long _elem106; // required
33438
                  _elem102 = iprot.readI64();
35869
                  _elem106 = iprot.readI64();
33439
                  this.success.add(_elem102);
35870
                  this.success.add(_elem106);
33440
                }
35871
                }
33441
                iprot.readListEnd();
35872
                iprot.readListEnd();
33442
              }
35873
              }
33443
            } else { 
35874
            } else { 
33444
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
35875
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 33466... Line 35897...
33466
 
35897
 
33467
      if (this.isSetSuccess()) {
35898
      if (this.isSetSuccess()) {
33468
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
35899
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33469
        {
35900
        {
33470
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
35901
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
33471
          for (long _iter103 : this.success)
35902
          for (long _iter107 : this.success)
33472
          {
35903
          {
33473
            oprot.writeI64(_iter103);
35904
            oprot.writeI64(_iter107);
33474
          }
35905
          }
33475
          oprot.writeListEnd();
35906
          oprot.writeListEnd();
33476
        }
35907
        }
33477
        oprot.writeFieldEnd();
35908
        oprot.writeFieldEnd();
33478
      } else if (this.isSetEx()) {
35909
      } else if (this.isSetEx()) {
Line 35084... Line 37515...
35084
        }
37515
        }
35085
        switch (field.id) {
37516
        switch (field.id) {
35086
          case 0: // SUCCESS
37517
          case 0: // SUCCESS
35087
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37518
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35088
              {
37519
              {
35089
                org.apache.thrift.protocol.TList _list104 = iprot.readListBegin();
37520
                org.apache.thrift.protocol.TList _list108 = iprot.readListBegin();
35090
                this.success = new ArrayList<Order>(_list104.size);
37521
                this.success = new ArrayList<Order>(_list108.size);
35091
                for (int _i105 = 0; _i105 < _list104.size; ++_i105)
37522
                for (int _i109 = 0; _i109 < _list108.size; ++_i109)
35092
                {
37523
                {
35093
                  Order _elem106; // required
37524
                  Order _elem110; // required
35094
                  _elem106 = new Order();
37525
                  _elem110 = new Order();
35095
                  _elem106.read(iprot);
37526
                  _elem110.read(iprot);
35096
                  this.success.add(_elem106);
37527
                  this.success.add(_elem110);
35097
                }
37528
                }
35098
                iprot.readListEnd();
37529
                iprot.readListEnd();
35099
              }
37530
              }
35100
            } else { 
37531
            } else { 
35101
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
37532
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 35123... Line 37554...
35123
 
37554
 
35124
      if (this.isSetSuccess()) {
37555
      if (this.isSetSuccess()) {
35125
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
37556
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
35126
        {
37557
        {
35127
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
37558
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
35128
          for (Order _iter107 : this.success)
37559
          for (Order _iter111 : this.success)
35129
          {
37560
          {
35130
            _iter107.write(oprot);
37561
            _iter111.write(oprot);
35131
          }
37562
          }
35132
          oprot.writeListEnd();
37563
          oprot.writeListEnd();
35133
        }
37564
        }
35134
        oprot.writeFieldEnd();
37565
        oprot.writeFieldEnd();
35135
      } else if (this.isSetEx()) {
37566
      } else if (this.isSetEx()) {
Line 35666... Line 38097...
35666
            }
38097
            }
35667
            break;
38098
            break;
35668
          case 4: // STATUSES
38099
          case 4: // STATUSES
35669
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38100
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35670
              {
38101
              {
35671
                org.apache.thrift.protocol.TList _list108 = iprot.readListBegin();
38102
                org.apache.thrift.protocol.TList _list112 = iprot.readListBegin();
35672
                this.statuses = new ArrayList<OrderStatus>(_list108.size);
38103
                this.statuses = new ArrayList<OrderStatus>(_list112.size);
35673
                for (int _i109 = 0; _i109 < _list108.size; ++_i109)
38104
                for (int _i113 = 0; _i113 < _list112.size; ++_i113)
35674
                {
38105
                {
35675
                  OrderStatus _elem110; // required
38106
                  OrderStatus _elem114; // required
35676
                  _elem110 = OrderStatus.findByValue(iprot.readI32());
38107
                  _elem114 = OrderStatus.findByValue(iprot.readI32());
35677
                  this.statuses.add(_elem110);
38108
                  this.statuses.add(_elem114);
35678
                }
38109
                }
35679
                iprot.readListEnd();
38110
                iprot.readListEnd();
35680
              }
38111
              }
35681
            } else { 
38112
            } else { 
35682
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
38113
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 35706... Line 38137...
35706
      oprot.writeFieldEnd();
38137
      oprot.writeFieldEnd();
35707
      if (this.statuses != null) {
38138
      if (this.statuses != null) {
35708
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
38139
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
35709
        {
38140
        {
35710
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
38141
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
35711
          for (OrderStatus _iter111 : this.statuses)
38142
          for (OrderStatus _iter115 : this.statuses)
35712
          {
38143
          {
35713
            oprot.writeI32(_iter111.getValue());
38144
            oprot.writeI32(_iter115.getValue());
35714
          }
38145
          }
35715
          oprot.writeListEnd();
38146
          oprot.writeListEnd();
35716
        }
38147
        }
35717
        oprot.writeFieldEnd();
38148
        oprot.writeFieldEnd();
35718
      }
38149
      }
Line 36086... Line 38517...
36086
        }
38517
        }
36087
        switch (field.id) {
38518
        switch (field.id) {
36088
          case 0: // SUCCESS
38519
          case 0: // SUCCESS
36089
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38520
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
36090
              {
38521
              {
36091
                org.apache.thrift.protocol.TList _list112 = iprot.readListBegin();
38522
                org.apache.thrift.protocol.TList _list116 = iprot.readListBegin();
36092
                this.success = new ArrayList<Order>(_list112.size);
38523
                this.success = new ArrayList<Order>(_list116.size);
36093
                for (int _i113 = 0; _i113 < _list112.size; ++_i113)
38524
                for (int _i117 = 0; _i117 < _list116.size; ++_i117)
36094
                {
38525
                {
36095
                  Order _elem114; // required
38526
                  Order _elem118; // required
36096
                  _elem114 = new Order();
38527
                  _elem118 = new Order();
36097
                  _elem114.read(iprot);
38528
                  _elem118.read(iprot);
36098
                  this.success.add(_elem114);
38529
                  this.success.add(_elem118);
36099
                }
38530
                }
36100
                iprot.readListEnd();
38531
                iprot.readListEnd();
36101
              }
38532
              }
36102
            } else { 
38533
            } else { 
36103
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
38534
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 36125... Line 38556...
36125
 
38556
 
36126
      if (this.isSetSuccess()) {
38557
      if (this.isSetSuccess()) {
36127
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
38558
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
36128
        {
38559
        {
36129
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
38560
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
36130
          for (Order _iter115 : this.success)
38561
          for (Order _iter119 : this.success)
36131
          {
38562
          {
36132
            _iter115.write(oprot);
38563
            _iter119.write(oprot);
36133
          }
38564
          }
36134
          oprot.writeListEnd();
38565
          oprot.writeListEnd();
36135
        }
38566
        }
36136
        oprot.writeFieldEnd();
38567
        oprot.writeFieldEnd();
36137
      } else if (this.isSetEx()) {
38568
      } else if (this.isSetEx()) {
Line 38151... Line 40582...
38151
        }
40582
        }
38152
        switch (field.id) {
40583
        switch (field.id) {
38153
          case 0: // SUCCESS
40584
          case 0: // SUCCESS
38154
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40585
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38155
              {
40586
              {
38156
                org.apache.thrift.protocol.TList _list116 = iprot.readListBegin();
40587
                org.apache.thrift.protocol.TList _list120 = iprot.readListBegin();
38157
                this.success = new ArrayList<LineItem>(_list116.size);
40588
                this.success = new ArrayList<LineItem>(_list120.size);
38158
                for (int _i117 = 0; _i117 < _list116.size; ++_i117)
40589
                for (int _i121 = 0; _i121 < _list120.size; ++_i121)
38159
                {
40590
                {
38160
                  LineItem _elem118; // required
40591
                  LineItem _elem122; // required
38161
                  _elem118 = new LineItem();
40592
                  _elem122 = new LineItem();
38162
                  _elem118.read(iprot);
40593
                  _elem122.read(iprot);
38163
                  this.success.add(_elem118);
40594
                  this.success.add(_elem122);
38164
                }
40595
                }
38165
                iprot.readListEnd();
40596
                iprot.readListEnd();
38166
              }
40597
              }
38167
            } else { 
40598
            } else { 
38168
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40599
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 38190... Line 40621...
38190
 
40621
 
38191
      if (this.isSetSuccess()) {
40622
      if (this.isSetSuccess()) {
38192
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40623
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
38193
        {
40624
        {
38194
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
40625
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
38195
          for (LineItem _iter119 : this.success)
40626
          for (LineItem _iter123 : this.success)
38196
          {
40627
          {
38197
            _iter119.write(oprot);
40628
            _iter123.write(oprot);
38198
          }
40629
          }
38199
          oprot.writeListEnd();
40630
          oprot.writeListEnd();
38200
        }
40631
        }
38201
        oprot.writeFieldEnd();
40632
        oprot.writeFieldEnd();
38202
      } else if (this.isSetEx()) {
40633
      } else if (this.isSetEx()) {
Line 38502... Line 40933...
38502
        }
40933
        }
38503
        switch (field.id) {
40934
        switch (field.id) {
38504
          case 1: // ORDER_IDS
40935
          case 1: // ORDER_IDS
38505
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40936
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38506
              {
40937
              {
38507
                org.apache.thrift.protocol.TList _list120 = iprot.readListBegin();
40938
                org.apache.thrift.protocol.TList _list124 = iprot.readListBegin();
38508
                this.order_ids = new ArrayList<Long>(_list120.size);
40939
                this.order_ids = new ArrayList<Long>(_list124.size);
38509
                for (int _i121 = 0; _i121 < _list120.size; ++_i121)
40940
                for (int _i125 = 0; _i125 < _list124.size; ++_i125)
38510
                {
40941
                {
38511
                  long _elem122; // required
40942
                  long _elem126; // required
38512
                  _elem122 = iprot.readI64();
40943
                  _elem126 = iprot.readI64();
38513
                  this.order_ids.add(_elem122);
40944
                  this.order_ids.add(_elem126);
38514
                }
40945
                }
38515
                iprot.readListEnd();
40946
                iprot.readListEnd();
38516
              }
40947
              }
38517
            } else { 
40948
            } else { 
38518
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40949
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 38533... Line 40964...
38533
      oprot.writeStructBegin(STRUCT_DESC);
40964
      oprot.writeStructBegin(STRUCT_DESC);
38534
      if (this.order_ids != null) {
40965
      if (this.order_ids != null) {
38535
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
40966
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
38536
        {
40967
        {
38537
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
40968
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
38538
          for (long _iter123 : this.order_ids)
40969
          for (long _iter127 : this.order_ids)
38539
          {
40970
          {
38540
            oprot.writeI64(_iter123);
40971
            oprot.writeI64(_iter127);
38541
          }
40972
          }
38542
          oprot.writeListEnd();
40973
          oprot.writeListEnd();
38543
        }
40974
        }
38544
        oprot.writeFieldEnd();
40975
        oprot.writeFieldEnd();
38545
      }
40976
      }
Line 38833... Line 41264...
38833
        }
41264
        }
38834
        switch (field.id) {
41265
        switch (field.id) {
38835
          case 0: // SUCCESS
41266
          case 0: // SUCCESS
38836
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41267
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38837
              {
41268
              {
38838
                org.apache.thrift.protocol.TList _list124 = iprot.readListBegin();
41269
                org.apache.thrift.protocol.TList _list128 = iprot.readListBegin();
38839
                this.success = new ArrayList<Order>(_list124.size);
41270
                this.success = new ArrayList<Order>(_list128.size);
38840
                for (int _i125 = 0; _i125 < _list124.size; ++_i125)
41271
                for (int _i129 = 0; _i129 < _list128.size; ++_i129)
38841
                {
41272
                {
38842
                  Order _elem126; // required
41273
                  Order _elem130; // required
38843
                  _elem126 = new Order();
41274
                  _elem130 = new Order();
38844
                  _elem126.read(iprot);
41275
                  _elem130.read(iprot);
38845
                  this.success.add(_elem126);
41276
                  this.success.add(_elem130);
38846
                }
41277
                }
38847
                iprot.readListEnd();
41278
                iprot.readListEnd();
38848
              }
41279
              }
38849
            } else { 
41280
            } else { 
38850
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41281
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 38864... Line 41295...
38864
 
41295
 
38865
      if (this.isSetSuccess()) {
41296
      if (this.isSetSuccess()) {
38866
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41297
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
38867
        {
41298
        {
38868
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41299
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
38869
          for (Order _iter127 : this.success)
41300
          for (Order _iter131 : this.success)
38870
          {
41301
          {
38871
            _iter127.write(oprot);
41302
            _iter131.write(oprot);
38872
          }
41303
          }
38873
          oprot.writeListEnd();
41304
          oprot.writeListEnd();
38874
        }
41305
        }
38875
        oprot.writeFieldEnd();
41306
        oprot.writeFieldEnd();
38876
      }
41307
      }
Line 39235... Line 41666...
39235
        }
41666
        }
39236
        switch (field.id) {
41667
        switch (field.id) {
39237
          case 1: // ORDER_IDS
41668
          case 1: // ORDER_IDS
39238
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41669
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39239
              {
41670
              {
39240
                org.apache.thrift.protocol.TList _list128 = iprot.readListBegin();
41671
                org.apache.thrift.protocol.TList _list132 = iprot.readListBegin();
39241
                this.order_ids = new ArrayList<Long>(_list128.size);
41672
                this.order_ids = new ArrayList<Long>(_list132.size);
39242
                for (int _i129 = 0; _i129 < _list128.size; ++_i129)
41673
                for (int _i133 = 0; _i133 < _list132.size; ++_i133)
39243
                {
41674
                {
39244
                  long _elem130; // required
41675
                  long _elem134; // required
39245
                  _elem130 = iprot.readI64();
41676
                  _elem134 = iprot.readI64();
39246
                  this.order_ids.add(_elem130);
41677
                  this.order_ids.add(_elem134);
39247
                }
41678
                }
39248
                iprot.readListEnd();
41679
                iprot.readListEnd();
39249
              }
41680
              }
39250
            } else { 
41681
            } else { 
39251
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41682
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 39274... Line 41705...
39274
      oprot.writeStructBegin(STRUCT_DESC);
41705
      oprot.writeStructBegin(STRUCT_DESC);
39275
      if (this.order_ids != null) {
41706
      if (this.order_ids != null) {
39276
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
41707
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
39277
        {
41708
        {
39278
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
41709
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
39279
          for (long _iter131 : this.order_ids)
41710
          for (long _iter135 : this.order_ids)
39280
          {
41711
          {
39281
            oprot.writeI64(_iter131);
41712
            oprot.writeI64(_iter135);
39282
          }
41713
          }
39283
          oprot.writeListEnd();
41714
          oprot.writeListEnd();
39284
        }
41715
        }
39285
        oprot.writeFieldEnd();
41716
        oprot.writeFieldEnd();
39286
      }
41717
      }
Line 39583... Line 42014...
39583
        }
42014
        }
39584
        switch (field.id) {
42015
        switch (field.id) {
39585
          case 0: // SUCCESS
42016
          case 0: // SUCCESS
39586
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42017
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39587
              {
42018
              {
39588
                org.apache.thrift.protocol.TList _list132 = iprot.readListBegin();
42019
                org.apache.thrift.protocol.TList _list136 = iprot.readListBegin();
39589
                this.success = new ArrayList<Order>(_list132.size);
42020
                this.success = new ArrayList<Order>(_list136.size);
39590
                for (int _i133 = 0; _i133 < _list132.size; ++_i133)
42021
                for (int _i137 = 0; _i137 < _list136.size; ++_i137)
39591
                {
42022
                {
39592
                  Order _elem134; // required
42023
                  Order _elem138; // required
39593
                  _elem134 = new Order();
42024
                  _elem138 = new Order();
39594
                  _elem134.read(iprot);
42025
                  _elem138.read(iprot);
39595
                  this.success.add(_elem134);
42026
                  this.success.add(_elem138);
39596
                }
42027
                }
39597
                iprot.readListEnd();
42028
                iprot.readListEnd();
39598
              }
42029
              }
39599
            } else { 
42030
            } else { 
39600
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42031
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 39614... Line 42045...
39614
 
42045
 
39615
      if (this.isSetSuccess()) {
42046
      if (this.isSetSuccess()) {
39616
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42047
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39617
        {
42048
        {
39618
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42049
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
39619
          for (Order _iter135 : this.success)
42050
          for (Order _iter139 : this.success)
39620
          {
42051
          {
39621
            _iter135.write(oprot);
42052
            _iter139.write(oprot);
39622
          }
42053
          }
39623
          oprot.writeListEnd();
42054
          oprot.writeListEnd();
39624
        }
42055
        }
39625
        oprot.writeFieldEnd();
42056
        oprot.writeFieldEnd();
39626
      }
42057
      }
Line 41214... Line 43645...
41214
        }
43645
        }
41215
        switch (field.id) {
43646
        switch (field.id) {
41216
          case 0: // SUCCESS
43647
          case 0: // SUCCESS
41217
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43648
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41218
              {
43649
              {
41219
                org.apache.thrift.protocol.TList _list136 = iprot.readListBegin();
43650
                org.apache.thrift.protocol.TList _list140 = iprot.readListBegin();
41220
                this.success = new ArrayList<Alert>(_list136.size);
43651
                this.success = new ArrayList<Alert>(_list140.size);
41221
                for (int _i137 = 0; _i137 < _list136.size; ++_i137)
43652
                for (int _i141 = 0; _i141 < _list140.size; ++_i141)
41222
                {
43653
                {
41223
                  Alert _elem138; // required
43654
                  Alert _elem142; // required
41224
                  _elem138 = new Alert();
43655
                  _elem142 = new Alert();
41225
                  _elem138.read(iprot);
43656
                  _elem142.read(iprot);
41226
                  this.success.add(_elem138);
43657
                  this.success.add(_elem142);
41227
                }
43658
                }
41228
                iprot.readListEnd();
43659
                iprot.readListEnd();
41229
              }
43660
              }
41230
            } else { 
43661
            } else { 
41231
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43662
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41245... Line 43676...
41245
 
43676
 
41246
      if (this.isSetSuccess()) {
43677
      if (this.isSetSuccess()) {
41247
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43678
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41248
        {
43679
        {
41249
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
43680
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41250
          for (Alert _iter139 : this.success)
43681
          for (Alert _iter143 : this.success)
41251
          {
43682
          {
41252
            _iter139.write(oprot);
43683
            _iter143.write(oprot);
41253
          }
43684
          }
41254
          oprot.writeListEnd();
43685
          oprot.writeListEnd();
41255
        }
43686
        }
41256
        oprot.writeFieldEnd();
43687
        oprot.writeFieldEnd();
41257
      }
43688
      }
Line 43888... Line 46319...
43888
        }
46319
        }
43889
        switch (field.id) {
46320
        switch (field.id) {
43890
          case 0: // SUCCESS
46321
          case 0: // SUCCESS
43891
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46322
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43892
              {
46323
              {
43893
                org.apache.thrift.protocol.TList _list140 = iprot.readListBegin();
46324
                org.apache.thrift.protocol.TList _list144 = iprot.readListBegin();
43894
                this.success = new ArrayList<Double>(_list140.size);
46325
                this.success = new ArrayList<Double>(_list144.size);
43895
                for (int _i141 = 0; _i141 < _list140.size; ++_i141)
46326
                for (int _i145 = 0; _i145 < _list144.size; ++_i145)
43896
                {
46327
                {
43897
                  double _elem142; // required
46328
                  double _elem146; // required
43898
                  _elem142 = iprot.readDouble();
46329
                  _elem146 = iprot.readDouble();
43899
                  this.success.add(_elem142);
46330
                  this.success.add(_elem146);
43900
                }
46331
                }
43901
                iprot.readListEnd();
46332
                iprot.readListEnd();
43902
              }
46333
              }
43903
            } else { 
46334
            } else { 
43904
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46335
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 43918... Line 46349...
43918
 
46349
 
43919
      if (this.isSetSuccess()) {
46350
      if (this.isSetSuccess()) {
43920
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46351
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43921
        {
46352
        {
43922
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.DOUBLE, this.success.size()));
46353
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.DOUBLE, this.success.size()));
43923
          for (double _iter143 : this.success)
46354
          for (double _iter147 : this.success)
43924
          {
46355
          {
43925
            oprot.writeDouble(_iter143);
46356
            oprot.writeDouble(_iter147);
43926
          }
46357
          }
43927
          oprot.writeListEnd();
46358
          oprot.writeListEnd();
43928
        }
46359
        }
43929
        oprot.writeFieldEnd();
46360
        oprot.writeFieldEnd();
43930
      }
46361
      }
Line 44593... Line 47024...
44593
        }
47024
        }
44594
        switch (field.id) {
47025
        switch (field.id) {
44595
          case 0: // SUCCESS
47026
          case 0: // SUCCESS
44596
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47027
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44597
              {
47028
              {
44598
                org.apache.thrift.protocol.TList _list144 = iprot.readListBegin();
47029
                org.apache.thrift.protocol.TList _list148 = iprot.readListBegin();
44599
                this.success = new ArrayList<Order>(_list144.size);
47030
                this.success = new ArrayList<Order>(_list148.size);
44600
                for (int _i145 = 0; _i145 < _list144.size; ++_i145)
47031
                for (int _i149 = 0; _i149 < _list148.size; ++_i149)
44601
                {
47032
                {
44602
                  Order _elem146; // required
47033
                  Order _elem150; // required
44603
                  _elem146 = new Order();
47034
                  _elem150 = new Order();
44604
                  _elem146.read(iprot);
47035
                  _elem150.read(iprot);
44605
                  this.success.add(_elem146);
47036
                  this.success.add(_elem150);
44606
                }
47037
                }
44607
                iprot.readListEnd();
47038
                iprot.readListEnd();
44608
              }
47039
              }
44609
            } else { 
47040
            } else { 
44610
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47041
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44624... Line 47055...
44624
 
47055
 
44625
      if (this.isSetSuccess()) {
47056
      if (this.isSetSuccess()) {
44626
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47057
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44627
        {
47058
        {
44628
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47059
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
44629
          for (Order _iter147 : this.success)
47060
          for (Order _iter151 : this.success)
44630
          {
47061
          {
44631
            _iter147.write(oprot);
47062
            _iter151.write(oprot);
44632
          }
47063
          }
44633
          oprot.writeListEnd();
47064
          oprot.writeListEnd();
44634
        }
47065
        }
44635
        oprot.writeFieldEnd();
47066
        oprot.writeFieldEnd();
44636
      }
47067
      }
Line 45284... Line 47715...
45284
        }
47715
        }
45285
        switch (field.id) {
47716
        switch (field.id) {
45286
          case 0: // SUCCESS
47717
          case 0: // SUCCESS
45287
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47718
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45288
              {
47719
              {
45289
                org.apache.thrift.protocol.TList _list148 = iprot.readListBegin();
47720
                org.apache.thrift.protocol.TList _list152 = iprot.readListBegin();
45290
                this.success = new ArrayList<Order>(_list148.size);
47721
                this.success = new ArrayList<Order>(_list152.size);
45291
                for (int _i149 = 0; _i149 < _list148.size; ++_i149)
47722
                for (int _i153 = 0; _i153 < _list152.size; ++_i153)
45292
                {
47723
                {
45293
                  Order _elem150; // required
47724
                  Order _elem154; // required
45294
                  _elem150 = new Order();
47725
                  _elem154 = new Order();
45295
                  _elem150.read(iprot);
47726
                  _elem154.read(iprot);
45296
                  this.success.add(_elem150);
47727
                  this.success.add(_elem154);
45297
                }
47728
                }
45298
                iprot.readListEnd();
47729
                iprot.readListEnd();
45299
              }
47730
              }
45300
            } else { 
47731
            } else { 
45301
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47732
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 45323... Line 47754...
45323
 
47754
 
45324
      if (this.isSetSuccess()) {
47755
      if (this.isSetSuccess()) {
45325
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47756
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45326
        {
47757
        {
45327
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47758
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45328
          for (Order _iter151 : this.success)
47759
          for (Order _iter155 : this.success)
45329
          {
47760
          {
45330
            _iter151.write(oprot);
47761
            _iter155.write(oprot);
45331
          }
47762
          }
45332
          oprot.writeListEnd();
47763
          oprot.writeListEnd();
45333
        }
47764
        }
45334
        oprot.writeFieldEnd();
47765
        oprot.writeFieldEnd();
45335
      } else if (this.isSetEx()) {
47766
      } else if (this.isSetEx()) {
Line 48304... Line 50735...
48304
            }
50735
            }
48305
            break;
50736
            break;
48306
          case 3: // SERIAL_NUMBER
50737
          case 3: // SERIAL_NUMBER
48307
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50738
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48308
              {
50739
              {
48309
                org.apache.thrift.protocol.TList _list152 = iprot.readListBegin();
50740
                org.apache.thrift.protocol.TList _list156 = iprot.readListBegin();
48310
                this.serialNumber = new ArrayList<String>(_list152.size);
50741
                this.serialNumber = new ArrayList<String>(_list156.size);
48311
                for (int _i153 = 0; _i153 < _list152.size; ++_i153)
50742
                for (int _i157 = 0; _i157 < _list156.size; ++_i157)
48312
                {
50743
                {
48313
                  String _elem154; // required
50744
                  String _elem158; // required
48314
                  _elem154 = iprot.readString();
50745
                  _elem158 = iprot.readString();
48315
                  this.serialNumber.add(_elem154);
50746
                  this.serialNumber.add(_elem158);
48316
                }
50747
                }
48317
                iprot.readListEnd();
50748
                iprot.readListEnd();
48318
              }
50749
              }
48319
            } else { 
50750
            } else { 
48320
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
50751
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48321
            }
50752
            }
48322
            break;
50753
            break;
48323
          case 4: // ITEM_NUMBER
50754
          case 4: // ITEM_NUMBER
48324
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50755
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48325
              {
50756
              {
48326
                org.apache.thrift.protocol.TList _list155 = iprot.readListBegin();
50757
                org.apache.thrift.protocol.TList _list159 = iprot.readListBegin();
48327
                this.itemNumber = new ArrayList<String>(_list155.size);
50758
                this.itemNumber = new ArrayList<String>(_list159.size);
48328
                for (int _i156 = 0; _i156 < _list155.size; ++_i156)
50759
                for (int _i160 = 0; _i160 < _list159.size; ++_i160)
48329
                {
50760
                {
48330
                  String _elem157; // required
50761
                  String _elem161; // required
48331
                  _elem157 = iprot.readString();
50762
                  _elem161 = iprot.readString();
48332
                  this.itemNumber.add(_elem157);
50763
                  this.itemNumber.add(_elem161);
48333
                }
50764
                }
48334
                iprot.readListEnd();
50765
                iprot.readListEnd();
48335
              }
50766
              }
48336
            } else { 
50767
            } else { 
48337
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
50768
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 48407... Line 50838...
48407
      }
50838
      }
48408
      if (this.serialNumber != null) {
50839
      if (this.serialNumber != null) {
48409
        oprot.writeFieldBegin(SERIAL_NUMBER_FIELD_DESC);
50840
        oprot.writeFieldBegin(SERIAL_NUMBER_FIELD_DESC);
48410
        {
50841
        {
48411
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.serialNumber.size()));
50842
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.serialNumber.size()));
48412
          for (String _iter158 : this.serialNumber)
50843
          for (String _iter162 : this.serialNumber)
48413
          {
50844
          {
48414
            oprot.writeString(_iter158);
50845
            oprot.writeString(_iter162);
48415
          }
50846
          }
48416
          oprot.writeListEnd();
50847
          oprot.writeListEnd();
48417
        }
50848
        }
48418
        oprot.writeFieldEnd();
50849
        oprot.writeFieldEnd();
48419
      }
50850
      }
48420
      if (this.itemNumber != null) {
50851
      if (this.itemNumber != null) {
48421
        oprot.writeFieldBegin(ITEM_NUMBER_FIELD_DESC);
50852
        oprot.writeFieldBegin(ITEM_NUMBER_FIELD_DESC);
48422
        {
50853
        {
48423
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.itemNumber.size()));
50854
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.itemNumber.size()));
48424
          for (String _iter159 : this.itemNumber)
50855
          for (String _iter163 : this.itemNumber)
48425
          {
50856
          {
48426
            oprot.writeString(_iter159);
50857
            oprot.writeString(_iter163);
48427
          }
50858
          }
48428
          oprot.writeListEnd();
50859
          oprot.writeListEnd();
48429
        }
50860
        }
48430
        oprot.writeFieldEnd();
50861
        oprot.writeFieldEnd();
48431
      }
50862
      }
Line 50339... Line 52770...
50339
            }
52770
            }
50340
            break;
52771
            break;
50341
          case 4: // ORDER_IDS
52772
          case 4: // ORDER_IDS
50342
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52773
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50343
              {
52774
              {
50344
                org.apache.thrift.protocol.TList _list160 = iprot.readListBegin();
52775
                org.apache.thrift.protocol.TList _list164 = iprot.readListBegin();
50345
                this.orderIds = new ArrayList<Long>(_list160.size);
52776
                this.orderIds = new ArrayList<Long>(_list164.size);
50346
                for (int _i161 = 0; _i161 < _list160.size; ++_i161)
52777
                for (int _i165 = 0; _i165 < _list164.size; ++_i165)
50347
                {
52778
                {
50348
                  long _elem162; // required
52779
                  long _elem166; // required
50349
                  _elem162 = iprot.readI64();
52780
                  _elem166 = iprot.readI64();
50350
                  this.orderIds.add(_elem162);
52781
                  this.orderIds.add(_elem166);
50351
                }
52782
                }
50352
                iprot.readListEnd();
52783
                iprot.readListEnd();
50353
              }
52784
              }
50354
            } else { 
52785
            } else { 
50355
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
52786
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 50379... Line 52810...
50379
      oprot.writeFieldEnd();
52810
      oprot.writeFieldEnd();
50380
      if (this.orderIds != null) {
52811
      if (this.orderIds != null) {
50381
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
52812
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
50382
        {
52813
        {
50383
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
52814
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
50384
          for (long _iter163 : this.orderIds)
52815
          for (long _iter167 : this.orderIds)
50385
          {
52816
          {
50386
            oprot.writeI64(_iter163);
52817
            oprot.writeI64(_iter167);
50387
          }
52818
          }
50388
          oprot.writeListEnd();
52819
          oprot.writeListEnd();
50389
        }
52820
        }
50390
        oprot.writeFieldEnd();
52821
        oprot.writeFieldEnd();
50391
      }
52822
      }
Line 51239... Line 53670...
51239
            }
53670
            }
51240
            break;
53671
            break;
51241
          case 2: // ORDER_IDS
53672
          case 2: // ORDER_IDS
51242
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53673
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
51243
              {
53674
              {
51244
                org.apache.thrift.protocol.TList _list164 = iprot.readListBegin();
53675
                org.apache.thrift.protocol.TList _list168 = iprot.readListBegin();
51245
                this.orderIds = new ArrayList<Long>(_list164.size);
53676
                this.orderIds = new ArrayList<Long>(_list168.size);
51246
                for (int _i165 = 0; _i165 < _list164.size; ++_i165)
53677
                for (int _i169 = 0; _i169 < _list168.size; ++_i169)
51247
                {
53678
                {
51248
                  long _elem166; // required
53679
                  long _elem170; // required
51249
                  _elem166 = iprot.readI64();
53680
                  _elem170 = iprot.readI64();
51250
                  this.orderIds.add(_elem166);
53681
                  this.orderIds.add(_elem170);
51251
                }
53682
                }
51252
                iprot.readListEnd();
53683
                iprot.readListEnd();
51253
              }
53684
              }
51254
            } else { 
53685
            } else { 
51255
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
53686
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
51256
            }
53687
            }
51257
            break;
53688
            break;
51258
          case 3: // AWBS
53689
          case 3: // AWBS
51259
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53690
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
51260
              {
53691
              {
51261
                org.apache.thrift.protocol.TList _list167 = iprot.readListBegin();
53692
                org.apache.thrift.protocol.TList _list171 = iprot.readListBegin();
51262
                this.awbs = new ArrayList<String>(_list167.size);
53693
                this.awbs = new ArrayList<String>(_list171.size);
51263
                for (int _i168 = 0; _i168 < _list167.size; ++_i168)
53694
                for (int _i172 = 0; _i172 < _list171.size; ++_i172)
51264
                {
53695
                {
51265
                  String _elem169; // required
53696
                  String _elem173; // required
51266
                  _elem169 = iprot.readString();
53697
                  _elem173 = iprot.readString();
51267
                  this.awbs.add(_elem169);
53698
                  this.awbs.add(_elem173);
51268
                }
53699
                }
51269
                iprot.readListEnd();
53700
                iprot.readListEnd();
51270
              }
53701
              }
51271
            } else { 
53702
            } else { 
51272
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
53703
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 51290... Line 53721...
51290
      oprot.writeFieldEnd();
53721
      oprot.writeFieldEnd();
51291
      if (this.orderIds != null) {
53722
      if (this.orderIds != null) {
51292
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
53723
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
51293
        {
53724
        {
51294
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
53725
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
51295
          for (long _iter170 : this.orderIds)
53726
          for (long _iter174 : this.orderIds)
51296
          {
53727
          {
51297
            oprot.writeI64(_iter170);
53728
            oprot.writeI64(_iter174);
51298
          }
53729
          }
51299
          oprot.writeListEnd();
53730
          oprot.writeListEnd();
51300
        }
53731
        }
51301
        oprot.writeFieldEnd();
53732
        oprot.writeFieldEnd();
51302
      }
53733
      }
51303
      if (this.awbs != null) {
53734
      if (this.awbs != null) {
51304
        oprot.writeFieldBegin(AWBS_FIELD_DESC);
53735
        oprot.writeFieldBegin(AWBS_FIELD_DESC);
51305
        {
53736
        {
51306
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.awbs.size()));
53737
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.awbs.size()));
51307
          for (String _iter171 : this.awbs)
53738
          for (String _iter175 : this.awbs)
51308
          {
53739
          {
51309
            oprot.writeString(_iter171);
53740
            oprot.writeString(_iter175);
51310
          }
53741
          }
51311
          oprot.writeListEnd();
53742
          oprot.writeListEnd();
51312
        }
53743
        }
51313
        oprot.writeFieldEnd();
53744
        oprot.writeFieldEnd();
51314
      }
53745
      }
Line 52081... Line 54512...
52081
            }
54512
            }
52082
            break;
54513
            break;
52083
          case 2: // PICKUP_DETAILS
54514
          case 2: // PICKUP_DETAILS
52084
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
54515
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
52085
              {
54516
              {
52086
                org.apache.thrift.protocol.TMap _map172 = iprot.readMapBegin();
54517
                org.apache.thrift.protocol.TMap _map176 = iprot.readMapBegin();
52087
                this.pickupDetails = new HashMap<String,String>(2*_map172.size);
54518
                this.pickupDetails = new HashMap<String,String>(2*_map176.size);
52088
                for (int _i173 = 0; _i173 < _map172.size; ++_i173)
54519
                for (int _i177 = 0; _i177 < _map176.size; ++_i177)
52089
                {
54520
                {
52090
                  String _key174; // required
54521
                  String _key178; // required
52091
                  String _val175; // required
54522
                  String _val179; // required
52092
                  _key174 = iprot.readString();
54523
                  _key178 = iprot.readString();
52093
                  _val175 = iprot.readString();
54524
                  _val179 = iprot.readString();
52094
                  this.pickupDetails.put(_key174, _val175);
54525
                  this.pickupDetails.put(_key178, _val179);
52095
                }
54526
                }
52096
                iprot.readMapEnd();
54527
                iprot.readMapEnd();
52097
              }
54528
              }
52098
            } else { 
54529
            } else { 
52099
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54530
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52117... Line 54548...
52117
      oprot.writeFieldEnd();
54548
      oprot.writeFieldEnd();
52118
      if (this.pickupDetails != null) {
54549
      if (this.pickupDetails != null) {
52119
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
54550
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
52120
        {
54551
        {
52121
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
54552
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
52122
          for (Map.Entry<String, String> _iter176 : this.pickupDetails.entrySet())
54553
          for (Map.Entry<String, String> _iter180 : this.pickupDetails.entrySet())
52123
          {
54554
          {
52124
            oprot.writeString(_iter176.getKey());
54555
            oprot.writeString(_iter180.getKey());
52125
            oprot.writeString(_iter176.getValue());
54556
            oprot.writeString(_iter180.getValue());
52126
          }
54557
          }
52127
          oprot.writeMapEnd();
54558
          oprot.writeMapEnd();
52128
        }
54559
        }
52129
        oprot.writeFieldEnd();
54560
        oprot.writeFieldEnd();
52130
      }
54561
      }
Line 53010... Line 55441...
53010
        }
55441
        }
53011
        switch (field.id) {
55442
        switch (field.id) {
53012
          case 0: // SUCCESS
55443
          case 0: // SUCCESS
53013
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
55444
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53014
              {
55445
              {
53015
                org.apache.thrift.protocol.TList _list177 = iprot.readListBegin();
55446
                org.apache.thrift.protocol.TList _list181 = iprot.readListBegin();
53016
                this.success = new ArrayList<Order>(_list177.size);
55447
                this.success = new ArrayList<Order>(_list181.size);
53017
                for (int _i178 = 0; _i178 < _list177.size; ++_i178)
55448
                for (int _i182 = 0; _i182 < _list181.size; ++_i182)
53018
                {
55449
                {
53019
                  Order _elem179; // required
55450
                  Order _elem183; // required
53020
                  _elem179 = new Order();
55451
                  _elem183 = new Order();
53021
                  _elem179.read(iprot);
55452
                  _elem183.read(iprot);
53022
                  this.success.add(_elem179);
55453
                  this.success.add(_elem183);
53023
                }
55454
                }
53024
                iprot.readListEnd();
55455
                iprot.readListEnd();
53025
              }
55456
              }
53026
            } else { 
55457
            } else { 
53027
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
55458
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 53041... Line 55472...
53041
 
55472
 
53042
      if (this.isSetSuccess()) {
55473
      if (this.isSetSuccess()) {
53043
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
55474
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53044
        {
55475
        {
53045
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
55476
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
53046
          for (Order _iter180 : this.success)
55477
          for (Order _iter184 : this.success)
53047
          {
55478
          {
53048
            _iter180.write(oprot);
55479
            _iter184.write(oprot);
53049
          }
55480
          }
53050
          oprot.writeListEnd();
55481
          oprot.writeListEnd();
53051
        }
55482
        }
53052
        oprot.writeFieldEnd();
55483
        oprot.writeFieldEnd();
53053
      }
55484
      }
Line 53425... Line 55856...
53425
            }
55856
            }
53426
            break;
55857
            break;
53427
          case 2: // DELIVERED_ORDERS
55858
          case 2: // DELIVERED_ORDERS
53428
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
55859
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
53429
              {
55860
              {
53430
                org.apache.thrift.protocol.TMap _map181 = iprot.readMapBegin();
55861
                org.apache.thrift.protocol.TMap _map185 = iprot.readMapBegin();
53431
                this.deliveredOrders = new HashMap<String,String>(2*_map181.size);
55862
                this.deliveredOrders = new HashMap<String,String>(2*_map185.size);
53432
                for (int _i182 = 0; _i182 < _map181.size; ++_i182)
55863
                for (int _i186 = 0; _i186 < _map185.size; ++_i186)
53433
                {
55864
                {
53434
                  String _key183; // required
55865
                  String _key187; // required
53435
                  String _val184; // required
55866
                  String _val188; // required
53436
                  _key183 = iprot.readString();
55867
                  _key187 = iprot.readString();
53437
                  _val184 = iprot.readString();
55868
                  _val188 = iprot.readString();
53438
                  this.deliveredOrders.put(_key183, _val184);
55869
                  this.deliveredOrders.put(_key187, _val188);
53439
                }
55870
                }
53440
                iprot.readMapEnd();
55871
                iprot.readMapEnd();
53441
              }
55872
              }
53442
            } else { 
55873
            } else { 
53443
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
55874
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 53461... Line 55892...
53461
      oprot.writeFieldEnd();
55892
      oprot.writeFieldEnd();
53462
      if (this.deliveredOrders != null) {
55893
      if (this.deliveredOrders != null) {
53463
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
55894
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
53464
        {
55895
        {
53465
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.deliveredOrders.size()));
55896
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.deliveredOrders.size()));
53466
          for (Map.Entry<String, String> _iter185 : this.deliveredOrders.entrySet())
55897
          for (Map.Entry<String, String> _iter189 : this.deliveredOrders.entrySet())
53467
          {
55898
          {
53468
            oprot.writeString(_iter185.getKey());
55899
            oprot.writeString(_iter189.getKey());
53469
            oprot.writeString(_iter185.getValue());
55900
            oprot.writeString(_iter189.getValue());
53470
          }
55901
          }
53471
          oprot.writeMapEnd();
55902
          oprot.writeMapEnd();
53472
        }
55903
        }
53473
        oprot.writeFieldEnd();
55904
        oprot.writeFieldEnd();
53474
      }
55905
      }
Line 54144... Line 56575...
54144
            }
56575
            }
54145
            break;
56576
            break;
54146
          case 2: // RETURNED_ORDERS
56577
          case 2: // RETURNED_ORDERS
54147
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
56578
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
54148
              {
56579
              {
54149
                org.apache.thrift.protocol.TMap _map186 = iprot.readMapBegin();
56580
                org.apache.thrift.protocol.TMap _map190 = iprot.readMapBegin();
54150
                this.returnedOrders = new HashMap<String,String>(2*_map186.size);
56581
                this.returnedOrders = new HashMap<String,String>(2*_map190.size);
54151
                for (int _i187 = 0; _i187 < _map186.size; ++_i187)
56582
                for (int _i191 = 0; _i191 < _map190.size; ++_i191)
54152
                {
56583
                {
54153
                  String _key188; // required
56584
                  String _key192; // required
54154
                  String _val189; // required
56585
                  String _val193; // required
54155
                  _key188 = iprot.readString();
56586
                  _key192 = iprot.readString();
54156
                  _val189 = iprot.readString();
56587
                  _val193 = iprot.readString();
54157
                  this.returnedOrders.put(_key188, _val189);
56588
                  this.returnedOrders.put(_key192, _val193);
54158
                }
56589
                }
54159
                iprot.readMapEnd();
56590
                iprot.readMapEnd();
54160
              }
56591
              }
54161
            } else { 
56592
            } else { 
54162
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
56593
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 54180... Line 56611...
54180
      oprot.writeFieldEnd();
56611
      oprot.writeFieldEnd();
54181
      if (this.returnedOrders != null) {
56612
      if (this.returnedOrders != null) {
54182
        oprot.writeFieldBegin(RETURNED_ORDERS_FIELD_DESC);
56613
        oprot.writeFieldBegin(RETURNED_ORDERS_FIELD_DESC);
54183
        {
56614
        {
54184
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.returnedOrders.size()));
56615
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.returnedOrders.size()));
54185
          for (Map.Entry<String, String> _iter190 : this.returnedOrders.entrySet())
56616
          for (Map.Entry<String, String> _iter194 : this.returnedOrders.entrySet())
54186
          {
56617
          {
54187
            oprot.writeString(_iter190.getKey());
56618
            oprot.writeString(_iter194.getKey());
54188
            oprot.writeString(_iter190.getValue());
56619
            oprot.writeString(_iter194.getValue());
54189
          }
56620
          }
54190
          oprot.writeMapEnd();
56621
          oprot.writeMapEnd();
54191
        }
56622
        }
54192
        oprot.writeFieldEnd();
56623
        oprot.writeFieldEnd();
54193
      }
56624
      }
Line 55073... Line 57504...
55073
        }
57504
        }
55074
        switch (field.id) {
57505
        switch (field.id) {
55075
          case 0: // SUCCESS
57506
          case 0: // SUCCESS
55076
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57507
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
55077
              {
57508
              {
55078
                org.apache.thrift.protocol.TList _list191 = iprot.readListBegin();
57509
                org.apache.thrift.protocol.TList _list195 = iprot.readListBegin();
55079
                this.success = new ArrayList<Order>(_list191.size);
57510
                this.success = new ArrayList<Order>(_list195.size);
55080
                for (int _i192 = 0; _i192 < _list191.size; ++_i192)
57511
                for (int _i196 = 0; _i196 < _list195.size; ++_i196)
55081
                {
57512
                {
55082
                  Order _elem193; // required
57513
                  Order _elem197; // required
55083
                  _elem193 = new Order();
57514
                  _elem197 = new Order();
55084
                  _elem193.read(iprot);
57515
                  _elem197.read(iprot);
55085
                  this.success.add(_elem193);
57516
                  this.success.add(_elem197);
55086
                }
57517
                }
55087
                iprot.readListEnd();
57518
                iprot.readListEnd();
55088
              }
57519
              }
55089
            } else { 
57520
            } else { 
55090
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57521
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 55104... Line 57535...
55104
 
57535
 
55105
      if (this.isSetSuccess()) {
57536
      if (this.isSetSuccess()) {
55106
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
57537
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
55107
        {
57538
        {
55108
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
57539
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
55109
          for (Order _iter194 : this.success)
57540
          for (Order _iter198 : this.success)
55110
          {
57541
          {
55111
            _iter194.write(oprot);
57542
            _iter198.write(oprot);
55112
          }
57543
          }
55113
          oprot.writeListEnd();
57544
          oprot.writeListEnd();
55114
        }
57545
        }
55115
        oprot.writeFieldEnd();
57546
        oprot.writeFieldEnd();
55116
      }
57547
      }
Line 55488... Line 57919...
55488
            }
57919
            }
55489
            break;
57920
            break;
55490
          case 2: // UNDELIVERED_ORDERS
57921
          case 2: // UNDELIVERED_ORDERS
55491
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
57922
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
55492
              {
57923
              {
55493
                org.apache.thrift.protocol.TMap _map195 = iprot.readMapBegin();
57924
                org.apache.thrift.protocol.TMap _map199 = iprot.readMapBegin();
55494
                this.undeliveredOrders = new HashMap<String,String>(2*_map195.size);
57925
                this.undeliveredOrders = new HashMap<String,String>(2*_map199.size);
55495
                for (int _i196 = 0; _i196 < _map195.size; ++_i196)
57926
                for (int _i200 = 0; _i200 < _map199.size; ++_i200)
55496
                {
57927
                {
55497
                  String _key197; // required
57928
                  String _key201; // required
55498
                  String _val198; // required
57929
                  String _val202; // required
55499
                  _key197 = iprot.readString();
57930
                  _key201 = iprot.readString();
55500
                  _val198 = iprot.readString();
57931
                  _val202 = iprot.readString();
55501
                  this.undeliveredOrders.put(_key197, _val198);
57932
                  this.undeliveredOrders.put(_key201, _val202);
55502
                }
57933
                }
55503
                iprot.readMapEnd();
57934
                iprot.readMapEnd();
55504
              }
57935
              }
55505
            } else { 
57936
            } else { 
55506
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57937
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 55524... Line 57955...
55524
      oprot.writeFieldEnd();
57955
      oprot.writeFieldEnd();
55525
      if (this.undeliveredOrders != null) {
57956
      if (this.undeliveredOrders != null) {
55526
        oprot.writeFieldBegin(UNDELIVERED_ORDERS_FIELD_DESC);
57957
        oprot.writeFieldBegin(UNDELIVERED_ORDERS_FIELD_DESC);
55527
        {
57958
        {
55528
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.undeliveredOrders.size()));
57959
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.undeliveredOrders.size()));
55529
          for (Map.Entry<String, String> _iter199 : this.undeliveredOrders.entrySet())
57960
          for (Map.Entry<String, String> _iter203 : this.undeliveredOrders.entrySet())
55530
          {
57961
          {
55531
            oprot.writeString(_iter199.getKey());
57962
            oprot.writeString(_iter203.getKey());
55532
            oprot.writeString(_iter199.getValue());
57963
            oprot.writeString(_iter203.getValue());
55533
          }
57964
          }
55534
          oprot.writeMapEnd();
57965
          oprot.writeMapEnd();
55535
        }
57966
        }
55536
        oprot.writeFieldEnd();
57967
        oprot.writeFieldEnd();
55537
      }
57968
      }
Line 56417... Line 58848...
56417
        }
58848
        }
56418
        switch (field.id) {
58849
        switch (field.id) {
56419
          case 0: // SUCCESS
58850
          case 0: // SUCCESS
56420
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58851
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56421
              {
58852
              {
56422
                org.apache.thrift.protocol.TList _list200 = iprot.readListBegin();
58853
                org.apache.thrift.protocol.TList _list204 = iprot.readListBegin();
56423
                this.success = new ArrayList<Order>(_list200.size);
58854
                this.success = new ArrayList<Order>(_list204.size);
56424
                for (int _i201 = 0; _i201 < _list200.size; ++_i201)
58855
                for (int _i205 = 0; _i205 < _list204.size; ++_i205)
56425
                {
58856
                {
56426
                  Order _elem202; // required
58857
                  Order _elem206; // required
56427
                  _elem202 = new Order();
58858
                  _elem206 = new Order();
56428
                  _elem202.read(iprot);
58859
                  _elem206.read(iprot);
56429
                  this.success.add(_elem202);
58860
                  this.success.add(_elem206);
56430
                }
58861
                }
56431
                iprot.readListEnd();
58862
                iprot.readListEnd();
56432
              }
58863
              }
56433
            } else { 
58864
            } else { 
56434
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58865
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 56448... Line 58879...
56448
 
58879
 
56449
      if (this.isSetSuccess()) {
58880
      if (this.isSetSuccess()) {
56450
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58881
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56451
        {
58882
        {
56452
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58883
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
56453
          for (Order _iter203 : this.success)
58884
          for (Order _iter207 : this.success)
56454
          {
58885
          {
56455
            _iter203.write(oprot);
58886
            _iter207.write(oprot);
56456
          }
58887
          }
56457
          oprot.writeListEnd();
58888
          oprot.writeListEnd();
56458
        }
58889
        }
56459
        oprot.writeFieldEnd();
58890
        oprot.writeFieldEnd();
56460
      }
58891
      }
Line 56832... Line 59263...
56832
            }
59263
            }
56833
            break;
59264
            break;
56834
          case 2: // LOCAL_CONNECTED_ORDERS
59265
          case 2: // LOCAL_CONNECTED_ORDERS
56835
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
59266
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
56836
              {
59267
              {
56837
                org.apache.thrift.protocol.TMap _map204 = iprot.readMapBegin();
59268
                org.apache.thrift.protocol.TMap _map208 = iprot.readMapBegin();
56838
                this.local_connected_orders = new HashMap<String,String>(2*_map204.size);
59269
                this.local_connected_orders = new HashMap<String,String>(2*_map208.size);
56839
                for (int _i205 = 0; _i205 < _map204.size; ++_i205)
59270
                for (int _i209 = 0; _i209 < _map208.size; ++_i209)
56840
                {
59271
                {
56841
                  String _key206; // required
59272
                  String _key210; // required
56842
                  String _val207; // required
59273
                  String _val211; // required
56843
                  _key206 = iprot.readString();
59274
                  _key210 = iprot.readString();
56844
                  _val207 = iprot.readString();
59275
                  _val211 = iprot.readString();
56845
                  this.local_connected_orders.put(_key206, _val207);
59276
                  this.local_connected_orders.put(_key210, _val211);
56846
                }
59277
                }
56847
                iprot.readMapEnd();
59278
                iprot.readMapEnd();
56848
              }
59279
              }
56849
            } else { 
59280
            } else { 
56850
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
59281
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 56868... Line 59299...
56868
      oprot.writeFieldEnd();
59299
      oprot.writeFieldEnd();
56869
      if (this.local_connected_orders != null) {
59300
      if (this.local_connected_orders != null) {
56870
        oprot.writeFieldBegin(LOCAL_CONNECTED_ORDERS_FIELD_DESC);
59301
        oprot.writeFieldBegin(LOCAL_CONNECTED_ORDERS_FIELD_DESC);
56871
        {
59302
        {
56872
          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()));
59303
          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()));
56873
          for (Map.Entry<String, String> _iter208 : this.local_connected_orders.entrySet())
59304
          for (Map.Entry<String, String> _iter212 : this.local_connected_orders.entrySet())
56874
          {
59305
          {
56875
            oprot.writeString(_iter208.getKey());
59306
            oprot.writeString(_iter212.getKey());
56876
            oprot.writeString(_iter208.getValue());
59307
            oprot.writeString(_iter212.getValue());
56877
          }
59308
          }
56878
          oprot.writeMapEnd();
59309
          oprot.writeMapEnd();
56879
        }
59310
        }
56880
        oprot.writeFieldEnd();
59311
        oprot.writeFieldEnd();
56881
      }
59312
      }
Line 57761... Line 60192...
57761
        }
60192
        }
57762
        switch (field.id) {
60193
        switch (field.id) {
57763
          case 0: // SUCCESS
60194
          case 0: // SUCCESS
57764
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60195
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57765
              {
60196
              {
57766
                org.apache.thrift.protocol.TList _list209 = iprot.readListBegin();
60197
                org.apache.thrift.protocol.TList _list213 = iprot.readListBegin();
57767
                this.success = new ArrayList<Order>(_list209.size);
60198
                this.success = new ArrayList<Order>(_list213.size);
57768
                for (int _i210 = 0; _i210 < _list209.size; ++_i210)
60199
                for (int _i214 = 0; _i214 < _list213.size; ++_i214)
57769
                {
60200
                {
57770
                  Order _elem211; // required
60201
                  Order _elem215; // required
57771
                  _elem211 = new Order();
60202
                  _elem215 = new Order();
57772
                  _elem211.read(iprot);
60203
                  _elem215.read(iprot);
57773
                  this.success.add(_elem211);
60204
                  this.success.add(_elem215);
57774
                }
60205
                }
57775
                iprot.readListEnd();
60206
                iprot.readListEnd();
57776
              }
60207
              }
57777
            } else { 
60208
            } else { 
57778
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60209
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 57792... Line 60223...
57792
 
60223
 
57793
      if (this.isSetSuccess()) {
60224
      if (this.isSetSuccess()) {
57794
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
60225
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
57795
        {
60226
        {
57796
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
60227
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
57797
          for (Order _iter212 : this.success)
60228
          for (Order _iter216 : this.success)
57798
          {
60229
          {
57799
            _iter212.write(oprot);
60230
            _iter216.write(oprot);
57800
          }
60231
          }
57801
          oprot.writeListEnd();
60232
          oprot.writeListEnd();
57802
        }
60233
        }
57803
        oprot.writeFieldEnd();
60234
        oprot.writeFieldEnd();
57804
      }
60235
      }
Line 58176... Line 60607...
58176
            }
60607
            }
58177
            break;
60608
            break;
58178
          case 2: // DESTINATION_CITY_REACHED_ORDERS
60609
          case 2: // DESTINATION_CITY_REACHED_ORDERS
58179
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
60610
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
58180
              {
60611
              {
58181
                org.apache.thrift.protocol.TMap _map213 = iprot.readMapBegin();
60612
                org.apache.thrift.protocol.TMap _map217 = iprot.readMapBegin();
58182
                this.destination_city_reached_orders = new HashMap<String,String>(2*_map213.size);
60613
                this.destination_city_reached_orders = new HashMap<String,String>(2*_map217.size);
58183
                for (int _i214 = 0; _i214 < _map213.size; ++_i214)
60614
                for (int _i218 = 0; _i218 < _map217.size; ++_i218)
58184
                {
60615
                {
58185
                  String _key215; // required
60616
                  String _key219; // required
58186
                  String _val216; // required
60617
                  String _val220; // required
58187
                  _key215 = iprot.readString();
60618
                  _key219 = iprot.readString();
58188
                  _val216 = iprot.readString();
60619
                  _val220 = iprot.readString();
58189
                  this.destination_city_reached_orders.put(_key215, _val216);
60620
                  this.destination_city_reached_orders.put(_key219, _val220);
58190
                }
60621
                }
58191
                iprot.readMapEnd();
60622
                iprot.readMapEnd();
58192
              }
60623
              }
58193
            } else { 
60624
            } else { 
58194
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60625
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 58212... Line 60643...
58212
      oprot.writeFieldEnd();
60643
      oprot.writeFieldEnd();
58213
      if (this.destination_city_reached_orders != null) {
60644
      if (this.destination_city_reached_orders != null) {
58214
        oprot.writeFieldBegin(DESTINATION_CITY_REACHED_ORDERS_FIELD_DESC);
60645
        oprot.writeFieldBegin(DESTINATION_CITY_REACHED_ORDERS_FIELD_DESC);
58215
        {
60646
        {
58216
          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()));
60647
          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()));
58217
          for (Map.Entry<String, String> _iter217 : this.destination_city_reached_orders.entrySet())
60648
          for (Map.Entry<String, String> _iter221 : this.destination_city_reached_orders.entrySet())
58218
          {
60649
          {
58219
            oprot.writeString(_iter217.getKey());
60650
            oprot.writeString(_iter221.getKey());
58220
            oprot.writeString(_iter217.getValue());
60651
            oprot.writeString(_iter221.getValue());
58221
          }
60652
          }
58222
          oprot.writeMapEnd();
60653
          oprot.writeMapEnd();
58223
        }
60654
        }
58224
        oprot.writeFieldEnd();
60655
        oprot.writeFieldEnd();
58225
      }
60656
      }
Line 58895... Line 61326...
58895
            }
61326
            }
58896
            break;
61327
            break;
58897
          case 2: // FIRST_ATDL_ORDERS
61328
          case 2: // FIRST_ATDL_ORDERS
58898
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
61329
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
58899
              {
61330
              {
58900
                org.apache.thrift.protocol.TMap _map218 = iprot.readMapBegin();
61331
                org.apache.thrift.protocol.TMap _map222 = iprot.readMapBegin();
58901
                this.first_atdl_orders = new HashMap<String,String>(2*_map218.size);
61332
                this.first_atdl_orders = new HashMap<String,String>(2*_map222.size);
58902
                for (int _i219 = 0; _i219 < _map218.size; ++_i219)
61333
                for (int _i223 = 0; _i223 < _map222.size; ++_i223)
58903
                {
61334
                {
58904
                  String _key220; // required
61335
                  String _key224; // required
58905
                  String _val221; // required
61336
                  String _val225; // required
58906
                  _key220 = iprot.readString();
61337
                  _key224 = iprot.readString();
58907
                  _val221 = iprot.readString();
61338
                  _val225 = iprot.readString();
58908
                  this.first_atdl_orders.put(_key220, _val221);
61339
                  this.first_atdl_orders.put(_key224, _val225);
58909
                }
61340
                }
58910
                iprot.readMapEnd();
61341
                iprot.readMapEnd();
58911
              }
61342
              }
58912
            } else { 
61343
            } else { 
58913
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
61344
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 58931... Line 61362...
58931
      oprot.writeFieldEnd();
61362
      oprot.writeFieldEnd();
58932
      if (this.first_atdl_orders != null) {
61363
      if (this.first_atdl_orders != null) {
58933
        oprot.writeFieldBegin(FIRST_ATDL_ORDERS_FIELD_DESC);
61364
        oprot.writeFieldBegin(FIRST_ATDL_ORDERS_FIELD_DESC);
58934
        {
61365
        {
58935
          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()));
61366
          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()));
58936
          for (Map.Entry<String, String> _iter222 : this.first_atdl_orders.entrySet())
61367
          for (Map.Entry<String, String> _iter226 : this.first_atdl_orders.entrySet())
58937
          {
61368
          {
58938
            oprot.writeString(_iter222.getKey());
61369
            oprot.writeString(_iter226.getKey());
58939
            oprot.writeString(_iter222.getValue());
61370
            oprot.writeString(_iter226.getValue());
58940
          }
61371
          }
58941
          oprot.writeMapEnd();
61372
          oprot.writeMapEnd();
58942
        }
61373
        }
58943
        oprot.writeFieldEnd();
61374
        oprot.writeFieldEnd();
58944
      }
61375
      }
Line 59905... Line 62336...
59905
        }
62336
        }
59906
        switch (field.id) {
62337
        switch (field.id) {
59907
          case 0: // SUCCESS
62338
          case 0: // SUCCESS
59908
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
62339
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59909
              {
62340
              {
59910
                org.apache.thrift.protocol.TList _list223 = iprot.readListBegin();
62341
                org.apache.thrift.protocol.TList _list227 = iprot.readListBegin();
59911
                this.success = new ArrayList<Order>(_list223.size);
62342
                this.success = new ArrayList<Order>(_list227.size);
59912
                for (int _i224 = 0; _i224 < _list223.size; ++_i224)
62343
                for (int _i228 = 0; _i228 < _list227.size; ++_i228)
59913
                {
62344
                {
59914
                  Order _elem225; // required
62345
                  Order _elem229; // required
59915
                  _elem225 = new Order();
62346
                  _elem229 = new Order();
59916
                  _elem225.read(iprot);
62347
                  _elem229.read(iprot);
59917
                  this.success.add(_elem225);
62348
                  this.success.add(_elem229);
59918
                }
62349
                }
59919
                iprot.readListEnd();
62350
                iprot.readListEnd();
59920
              }
62351
              }
59921
            } else { 
62352
            } else { 
59922
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
62353
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 59936... Line 62367...
59936
 
62367
 
59937
      if (this.isSetSuccess()) {
62368
      if (this.isSetSuccess()) {
59938
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
62369
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59939
        {
62370
        {
59940
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
62371
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
59941
          for (Order _iter226 : this.success)
62372
          for (Order _iter230 : this.success)
59942
          {
62373
          {
59943
            _iter226.write(oprot);
62374
            _iter230.write(oprot);
59944
          }
62375
          }
59945
          oprot.writeListEnd();
62376
          oprot.writeListEnd();
59946
        }
62377
        }
59947
        oprot.writeFieldEnd();
62378
        oprot.writeFieldEnd();
59948
      }
62379
      }
Line 60436... Line 62867...
60436
        }
62867
        }
60437
        switch (field.id) {
62868
        switch (field.id) {
60438
          case 0: // SUCCESS
62869
          case 0: // SUCCESS
60439
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
62870
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60440
              {
62871
              {
60441
                org.apache.thrift.protocol.TList _list227 = iprot.readListBegin();
62872
                org.apache.thrift.protocol.TList _list231 = iprot.readListBegin();
60442
                this.success = new ArrayList<Order>(_list227.size);
62873
                this.success = new ArrayList<Order>(_list231.size);
60443
                for (int _i228 = 0; _i228 < _list227.size; ++_i228)
62874
                for (int _i232 = 0; _i232 < _list231.size; ++_i232)
60444
                {
62875
                {
60445
                  Order _elem229; // required
62876
                  Order _elem233; // required
60446
                  _elem229 = new Order();
62877
                  _elem233 = new Order();
60447
                  _elem229.read(iprot);
62878
                  _elem233.read(iprot);
60448
                  this.success.add(_elem229);
62879
                  this.success.add(_elem233);
60449
                }
62880
                }
60450
                iprot.readListEnd();
62881
                iprot.readListEnd();
60451
              }
62882
              }
60452
            } else { 
62883
            } else { 
60453
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
62884
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 60467... Line 62898...
60467
 
62898
 
60468
      if (this.isSetSuccess()) {
62899
      if (this.isSetSuccess()) {
60469
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
62900
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
60470
        {
62901
        {
60471
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
62902
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
60472
          for (Order _iter230 : this.success)
62903
          for (Order _iter234 : this.success)
60473
          {
62904
          {
60474
            _iter230.write(oprot);
62905
            _iter234.write(oprot);
60475
          }
62906
          }
60476
          oprot.writeListEnd();
62907
          oprot.writeListEnd();
60477
        }
62908
        }
60478
        oprot.writeFieldEnd();
62909
        oprot.writeFieldEnd();
60479
      }
62910
      }
Line 66179... Line 68610...
66179
      }
68610
      }
66180
    }
68611
    }
66181
 
68612
 
66182
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
68613
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
66183
      try {
68614
      try {
-
 
68615
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
68616
        __isset_bit_vector = new BitSet(1);
66184
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
68617
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
66185
      } catch (org.apache.thrift.TException te) {
68618
      } catch (org.apache.thrift.TException te) {
66186
        throw new java.io.IOException(te);
68619
        throw new java.io.IOException(te);
66187
      }
68620
      }
66188
    }
68621
    }
Line 67746... Line 70179...
67746
            }
70179
            }
67747
            break;
70180
            break;
67748
          case 2: // PICKUP_DETAILS
70181
          case 2: // PICKUP_DETAILS
67749
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
70182
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
67750
              {
70183
              {
67751
                org.apache.thrift.protocol.TMap _map231 = iprot.readMapBegin();
70184
                org.apache.thrift.protocol.TMap _map235 = iprot.readMapBegin();
67752
                this.pickupDetails = new HashMap<String,String>(2*_map231.size);
70185
                this.pickupDetails = new HashMap<String,String>(2*_map235.size);
67753
                for (int _i232 = 0; _i232 < _map231.size; ++_i232)
70186
                for (int _i236 = 0; _i236 < _map235.size; ++_i236)
67754
                {
70187
                {
67755
                  String _key233; // required
70188
                  String _key237; // required
67756
                  String _val234; // required
70189
                  String _val238; // required
67757
                  _key233 = iprot.readString();
70190
                  _key237 = iprot.readString();
67758
                  _val234 = iprot.readString();
70191
                  _val238 = iprot.readString();
67759
                  this.pickupDetails.put(_key233, _val234);
70192
                  this.pickupDetails.put(_key237, _val238);
67760
                }
70193
                }
67761
                iprot.readMapEnd();
70194
                iprot.readMapEnd();
67762
              }
70195
              }
67763
            } else { 
70196
            } else { 
67764
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
70197
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 67782... Line 70215...
67782
      oprot.writeFieldEnd();
70215
      oprot.writeFieldEnd();
67783
      if (this.pickupDetails != null) {
70216
      if (this.pickupDetails != null) {
67784
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
70217
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
67785
        {
70218
        {
67786
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
70219
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
67787
          for (Map.Entry<String, String> _iter235 : this.pickupDetails.entrySet())
70220
          for (Map.Entry<String, String> _iter239 : this.pickupDetails.entrySet())
67788
          {
70221
          {
67789
            oprot.writeString(_iter235.getKey());
70222
            oprot.writeString(_iter239.getKey());
67790
            oprot.writeString(_iter235.getValue());
70223
            oprot.writeString(_iter239.getValue());
67791
          }
70224
          }
67792
          oprot.writeMapEnd();
70225
          oprot.writeMapEnd();
67793
        }
70226
        }
67794
        oprot.writeFieldEnd();
70227
        oprot.writeFieldEnd();
67795
      }
70228
      }
Line 68578... Line 71011...
68578
        }
71011
        }
68579
        switch (field.id) {
71012
        switch (field.id) {
68580
          case 0: // SUCCESS
71013
          case 0: // SUCCESS
68581
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71014
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
68582
              {
71015
              {
68583
                org.apache.thrift.protocol.TList _list236 = iprot.readListBegin();
71016
                org.apache.thrift.protocol.TList _list240 = iprot.readListBegin();
68584
                this.success = new ArrayList<Order>(_list236.size);
71017
                this.success = new ArrayList<Order>(_list240.size);
68585
                for (int _i237 = 0; _i237 < _list236.size; ++_i237)
71018
                for (int _i241 = 0; _i241 < _list240.size; ++_i241)
68586
                {
71019
                {
68587
                  Order _elem238; // required
71020
                  Order _elem242; // required
68588
                  _elem238 = new Order();
71021
                  _elem242 = new Order();
68589
                  _elem238.read(iprot);
71022
                  _elem242.read(iprot);
68590
                  this.success.add(_elem238);
71023
                  this.success.add(_elem242);
68591
                }
71024
                }
68592
                iprot.readListEnd();
71025
                iprot.readListEnd();
68593
              }
71026
              }
68594
            } else { 
71027
            } else { 
68595
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
71028
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 68609... Line 71042...
68609
 
71042
 
68610
      if (this.isSetSuccess()) {
71043
      if (this.isSetSuccess()) {
68611
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71044
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
68612
        {
71045
        {
68613
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
71046
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
68614
          for (Order _iter239 : this.success)
71047
          for (Order _iter243 : this.success)
68615
          {
71048
          {
68616
            _iter239.write(oprot);
71049
            _iter243.write(oprot);
68617
          }
71050
          }
68618
          oprot.writeListEnd();
71051
          oprot.writeListEnd();
68619
        }
71052
        }
68620
        oprot.writeFieldEnd();
71053
        oprot.writeFieldEnd();
68621
      }
71054
      }
Line 68993... Line 71426...
68993
            }
71426
            }
68994
            break;
71427
            break;
68995
          case 2: // PICKUP_DETAILS
71428
          case 2: // PICKUP_DETAILS
68996
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
71429
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
68997
              {
71430
              {
68998
                org.apache.thrift.protocol.TMap _map240 = iprot.readMapBegin();
71431
                org.apache.thrift.protocol.TMap _map244 = iprot.readMapBegin();
68999
                this.pickupDetails = new HashMap<String,String>(2*_map240.size);
71432
                this.pickupDetails = new HashMap<String,String>(2*_map244.size);
69000
                for (int _i241 = 0; _i241 < _map240.size; ++_i241)
71433
                for (int _i245 = 0; _i245 < _map244.size; ++_i245)
69001
                {
71434
                {
69002
                  String _key242; // required
71435
                  String _key246; // required
69003
                  String _val243; // required
71436
                  String _val247; // required
69004
                  _key242 = iprot.readString();
71437
                  _key246 = iprot.readString();
69005
                  _val243 = iprot.readString();
71438
                  _val247 = iprot.readString();
69006
                  this.pickupDetails.put(_key242, _val243);
71439
                  this.pickupDetails.put(_key246, _val247);
69007
                }
71440
                }
69008
                iprot.readMapEnd();
71441
                iprot.readMapEnd();
69009
              }
71442
              }
69010
            } else { 
71443
            } else { 
69011
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
71444
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 69029... Line 71462...
69029
      oprot.writeFieldEnd();
71462
      oprot.writeFieldEnd();
69030
      if (this.pickupDetails != null) {
71463
      if (this.pickupDetails != null) {
69031
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
71464
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
69032
        {
71465
        {
69033
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
71466
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
69034
          for (Map.Entry<String, String> _iter244 : this.pickupDetails.entrySet())
71467
          for (Map.Entry<String, String> _iter248 : this.pickupDetails.entrySet())
69035
          {
71468
          {
69036
            oprot.writeString(_iter244.getKey());
71469
            oprot.writeString(_iter248.getKey());
69037
            oprot.writeString(_iter244.getValue());
71470
            oprot.writeString(_iter248.getValue());
69038
          }
71471
          }
69039
          oprot.writeMapEnd();
71472
          oprot.writeMapEnd();
69040
        }
71473
        }
69041
        oprot.writeFieldEnd();
71474
        oprot.writeFieldEnd();
69042
      }
71475
      }
Line 69825... Line 72258...
69825
        }
72258
        }
69826
        switch (field.id) {
72259
        switch (field.id) {
69827
          case 0: // SUCCESS
72260
          case 0: // SUCCESS
69828
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72261
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
69829
              {
72262
              {
69830
                org.apache.thrift.protocol.TList _list245 = iprot.readListBegin();
72263
                org.apache.thrift.protocol.TList _list249 = iprot.readListBegin();
69831
                this.success = new ArrayList<Order>(_list245.size);
72264
                this.success = new ArrayList<Order>(_list249.size);
69832
                for (int _i246 = 0; _i246 < _list245.size; ++_i246)
72265
                for (int _i250 = 0; _i250 < _list249.size; ++_i250)
69833
                {
72266
                {
69834
                  Order _elem247; // required
72267
                  Order _elem251; // required
69835
                  _elem247 = new Order();
72268
                  _elem251 = new Order();
69836
                  _elem247.read(iprot);
72269
                  _elem251.read(iprot);
69837
                  this.success.add(_elem247);
72270
                  this.success.add(_elem251);
69838
                }
72271
                }
69839
                iprot.readListEnd();
72272
                iprot.readListEnd();
69840
              }
72273
              }
69841
            } else { 
72274
            } else { 
69842
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
72275
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 69856... Line 72289...
69856
 
72289
 
69857
      if (this.isSetSuccess()) {
72290
      if (this.isSetSuccess()) {
69858
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
72291
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
69859
        {
72292
        {
69860
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
72293
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
69861
          for (Order _iter248 : this.success)
72294
          for (Order _iter252 : this.success)
69862
          {
72295
          {
69863
            _iter248.write(oprot);
72296
            _iter252.write(oprot);
69864
          }
72297
          }
69865
          oprot.writeListEnd();
72298
          oprot.writeListEnd();
69866
        }
72299
        }
69867
        oprot.writeFieldEnd();
72300
        oprot.writeFieldEnd();
69868
      }
72301
      }
Line 74577... Line 77010...
74577
        }
77010
        }
74578
        switch (field.id) {
77011
        switch (field.id) {
74579
          case 0: // SUCCESS
77012
          case 0: // SUCCESS
74580
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
77013
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
74581
              {
77014
              {
74582
                org.apache.thrift.protocol.TList _list249 = iprot.readListBegin();
77015
                org.apache.thrift.protocol.TList _list253 = iprot.readListBegin();
74583
                this.success = new ArrayList<ReturnOrder>(_list249.size);
77016
                this.success = new ArrayList<ReturnOrder>(_list253.size);
74584
                for (int _i250 = 0; _i250 < _list249.size; ++_i250)
77017
                for (int _i254 = 0; _i254 < _list253.size; ++_i254)
74585
                {
77018
                {
74586
                  ReturnOrder _elem251; // required
77019
                  ReturnOrder _elem255; // required
74587
                  _elem251 = new ReturnOrder();
77020
                  _elem255 = new ReturnOrder();
74588
                  _elem251.read(iprot);
77021
                  _elem255.read(iprot);
74589
                  this.success.add(_elem251);
77022
                  this.success.add(_elem255);
74590
                }
77023
                }
74591
                iprot.readListEnd();
77024
                iprot.readListEnd();
74592
              }
77025
              }
74593
            } else { 
77026
            } else { 
74594
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
77027
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 74608... Line 77041...
74608
 
77041
 
74609
      if (this.isSetSuccess()) {
77042
      if (this.isSetSuccess()) {
74610
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
77043
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
74611
        {
77044
        {
74612
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
77045
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
74613
          for (ReturnOrder _iter252 : this.success)
77046
          for (ReturnOrder _iter256 : this.success)
74614
          {
77047
          {
74615
            _iter252.write(oprot);
77048
            _iter256.write(oprot);
74616
          }
77049
          }
74617
          oprot.writeListEnd();
77050
          oprot.writeListEnd();
74618
        }
77051
        }
74619
        oprot.writeFieldEnd();
77052
        oprot.writeFieldEnd();
74620
      }
77053
      }
Line 75368... Line 77801...
75368
        }
77801
        }
75369
        switch (field.id) {
77802
        switch (field.id) {
75370
          case 0: // SUCCESS
77803
          case 0: // SUCCESS
75371
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
77804
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
75372
              {
77805
              {
75373
                org.apache.thrift.protocol.TList _list253 = iprot.readListBegin();
77806
                org.apache.thrift.protocol.TList _list257 = iprot.readListBegin();
75374
                this.success = new ArrayList<ReturnOrder>(_list253.size);
77807
                this.success = new ArrayList<ReturnOrder>(_list257.size);
75375
                for (int _i254 = 0; _i254 < _list253.size; ++_i254)
77808
                for (int _i258 = 0; _i258 < _list257.size; ++_i258)
75376
                {
77809
                {
75377
                  ReturnOrder _elem255; // required
77810
                  ReturnOrder _elem259; // required
75378
                  _elem255 = new ReturnOrder();
77811
                  _elem259 = new ReturnOrder();
75379
                  _elem255.read(iprot);
77812
                  _elem259.read(iprot);
75380
                  this.success.add(_elem255);
77813
                  this.success.add(_elem259);
75381
                }
77814
                }
75382
                iprot.readListEnd();
77815
                iprot.readListEnd();
75383
              }
77816
              }
75384
            } else { 
77817
            } else { 
75385
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
77818
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 75399... Line 77832...
75399
 
77832
 
75400
      if (this.isSetSuccess()) {
77833
      if (this.isSetSuccess()) {
75401
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
77834
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
75402
        {
77835
        {
75403
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
77836
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
75404
          for (ReturnOrder _iter256 : this.success)
77837
          for (ReturnOrder _iter260 : this.success)
75405
          {
77838
          {
75406
            _iter256.write(oprot);
77839
            _iter260.write(oprot);
75407
          }
77840
          }
75408
          oprot.writeListEnd();
77841
          oprot.writeListEnd();
75409
        }
77842
        }
75410
        oprot.writeFieldEnd();
77843
        oprot.writeFieldEnd();
75411
      }
77844
      }
Line 81145... Line 83578...
81145
        }
83578
        }
81146
        switch (field.id) {
83579
        switch (field.id) {
81147
          case 1: // COLLECTED_AMOUNT_MAP
83580
          case 1: // COLLECTED_AMOUNT_MAP
81148
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
83581
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
81149
              {
83582
              {
81150
                org.apache.thrift.protocol.TMap _map257 = iprot.readMapBegin();
83583
                org.apache.thrift.protocol.TMap _map261 = iprot.readMapBegin();
81151
                this.collectedAmountMap = new HashMap<String,Double>(2*_map257.size);
83584
                this.collectedAmountMap = new HashMap<String,Double>(2*_map261.size);
81152
                for (int _i258 = 0; _i258 < _map257.size; ++_i258)
83585
                for (int _i262 = 0; _i262 < _map261.size; ++_i262)
81153
                {
83586
                {
81154
                  String _key259; // required
83587
                  String _key263; // required
81155
                  double _val260; // required
83588
                  double _val264; // required
81156
                  _key259 = iprot.readString();
83589
                  _key263 = iprot.readString();
81157
                  _val260 = iprot.readDouble();
83590
                  _val264 = iprot.readDouble();
81158
                  this.collectedAmountMap.put(_key259, _val260);
83591
                  this.collectedAmountMap.put(_key263, _val264);
81159
                }
83592
                }
81160
                iprot.readMapEnd();
83593
                iprot.readMapEnd();
81161
              }
83594
              }
81162
            } else { 
83595
            } else { 
81163
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
83596
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 81200... Line 83633...
81200
      oprot.writeStructBegin(STRUCT_DESC);
83633
      oprot.writeStructBegin(STRUCT_DESC);
81201
      if (this.collectedAmountMap != null) {
83634
      if (this.collectedAmountMap != null) {
81202
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
83635
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
81203
        {
83636
        {
81204
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
83637
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
81205
          for (Map.Entry<String, Double> _iter261 : this.collectedAmountMap.entrySet())
83638
          for (Map.Entry<String, Double> _iter265 : this.collectedAmountMap.entrySet())
81206
          {
83639
          {
81207
            oprot.writeString(_iter261.getKey());
83640
            oprot.writeString(_iter265.getKey());
81208
            oprot.writeDouble(_iter261.getValue());
83641
            oprot.writeDouble(_iter265.getValue());
81209
          }
83642
          }
81210
          oprot.writeMapEnd();
83643
          oprot.writeMapEnd();
81211
        }
83644
        }
81212
        oprot.writeFieldEnd();
83645
        oprot.writeFieldEnd();
81213
      }
83646
      }
Line 81607... Line 84040...
81607
        }
84040
        }
81608
        switch (field.id) {
84041
        switch (field.id) {
81609
          case 0: // SUCCESS
84042
          case 0: // SUCCESS
81610
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
84043
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
81611
              {
84044
              {
81612
                org.apache.thrift.protocol.TMap _map262 = iprot.readMapBegin();
84045
                org.apache.thrift.protocol.TMap _map266 = iprot.readMapBegin();
81613
                this.success = new HashMap<String,String>(2*_map262.size);
84046
                this.success = new HashMap<String,String>(2*_map266.size);
81614
                for (int _i263 = 0; _i263 < _map262.size; ++_i263)
84047
                for (int _i267 = 0; _i267 < _map266.size; ++_i267)
81615
                {
84048
                {
81616
                  String _key264; // required
84049
                  String _key268; // required
81617
                  String _val265; // required
84050
                  String _val269; // required
81618
                  _key264 = iprot.readString();
84051
                  _key268 = iprot.readString();
81619
                  _val265 = iprot.readString();
84052
                  _val269 = iprot.readString();
81620
                  this.success.put(_key264, _val265);
84053
                  this.success.put(_key268, _val269);
81621
                }
84054
                }
81622
                iprot.readMapEnd();
84055
                iprot.readMapEnd();
81623
              }
84056
              }
81624
            } else { 
84057
            } else { 
81625
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
84058
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 81647... Line 84080...
81647
 
84080
 
81648
      if (this.isSetSuccess()) {
84081
      if (this.isSetSuccess()) {
81649
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
84082
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
81650
        {
84083
        {
81651
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
84084
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
81652
          for (Map.Entry<String, String> _iter266 : this.success.entrySet())
84085
          for (Map.Entry<String, String> _iter270 : this.success.entrySet())
81653
          {
84086
          {
81654
            oprot.writeString(_iter266.getKey());
84087
            oprot.writeString(_iter270.getKey());
81655
            oprot.writeString(_iter266.getValue());
84088
            oprot.writeString(_iter270.getValue());
81656
          }
84089
          }
81657
          oprot.writeMapEnd();
84090
          oprot.writeMapEnd();
81658
        }
84091
        }
81659
        oprot.writeFieldEnd();
84092
        oprot.writeFieldEnd();
81660
      } else if (this.isSetEx()) {
84093
      } else if (this.isSetEx()) {
Line 82266... Line 84699...
82266
        }
84699
        }
82267
        switch (field.id) {
84700
        switch (field.id) {
82268
          case 0: // SUCCESS
84701
          case 0: // SUCCESS
82269
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
84702
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
82270
              {
84703
              {
82271
                org.apache.thrift.protocol.TList _list267 = iprot.readListBegin();
84704
                org.apache.thrift.protocol.TList _list271 = iprot.readListBegin();
82272
                this.success = new ArrayList<Long>(_list267.size);
84705
                this.success = new ArrayList<Long>(_list271.size);
82273
                for (int _i268 = 0; _i268 < _list267.size; ++_i268)
84706
                for (int _i272 = 0; _i272 < _list271.size; ++_i272)
82274
                {
84707
                {
82275
                  long _elem269; // required
84708
                  long _elem273; // required
82276
                  _elem269 = iprot.readI64();
84709
                  _elem273 = iprot.readI64();
82277
                  this.success.add(_elem269);
84710
                  this.success.add(_elem273);
82278
                }
84711
                }
82279
                iprot.readListEnd();
84712
                iprot.readListEnd();
82280
              }
84713
              }
82281
            } else { 
84714
            } else { 
82282
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
84715
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 82296... Line 84729...
82296
 
84729
 
82297
      if (this.isSetSuccess()) {
84730
      if (this.isSetSuccess()) {
82298
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
84731
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
82299
        {
84732
        {
82300
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
84733
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
82301
          for (long _iter270 : this.success)
84734
          for (long _iter274 : this.success)
82302
          {
84735
          {
82303
            oprot.writeI64(_iter270);
84736
            oprot.writeI64(_iter274);
82304
          }
84737
          }
82305
          oprot.writeListEnd();
84738
          oprot.writeListEnd();
82306
        }
84739
        }
82307
        oprot.writeFieldEnd();
84740
        oprot.writeFieldEnd();
82308
      }
84741
      }
Line 83394... Line 85827...
83394
        }
85827
        }
83395
        switch (field.id) {
85828
        switch (field.id) {
83396
          case 0: // SUCCESS
85829
          case 0: // SUCCESS
83397
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
85830
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
83398
              {
85831
              {
83399
                org.apache.thrift.protocol.TMap _map271 = iprot.readMapBegin();
85832
                org.apache.thrift.protocol.TMap _map275 = iprot.readMapBegin();
83400
                this.success = new HashMap<Long,Long>(2*_map271.size);
85833
                this.success = new HashMap<Long,Long>(2*_map275.size);
83401
                for (int _i272 = 0; _i272 < _map271.size; ++_i272)
85834
                for (int _i276 = 0; _i276 < _map275.size; ++_i276)
83402
                {
85835
                {
83403
                  long _key273; // required
85836
                  long _key277; // required
83404
                  long _val274; // required
85837
                  long _val278; // required
83405
                  _key273 = iprot.readI64();
85838
                  _key277 = iprot.readI64();
83406
                  _val274 = iprot.readI64();
85839
                  _val278 = iprot.readI64();
83407
                  this.success.put(_key273, _val274);
85840
                  this.success.put(_key277, _val278);
83408
                }
85841
                }
83409
                iprot.readMapEnd();
85842
                iprot.readMapEnd();
83410
              }
85843
              }
83411
            } else { 
85844
            } else { 
83412
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
85845
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 83426... Line 85859...
83426
 
85859
 
83427
      if (this.isSetSuccess()) {
85860
      if (this.isSetSuccess()) {
83428
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
85861
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
83429
        {
85862
        {
83430
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
85863
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
83431
          for (Map.Entry<Long, Long> _iter275 : this.success.entrySet())
85864
          for (Map.Entry<Long, Long> _iter279 : this.success.entrySet())
83432
          {
85865
          {
83433
            oprot.writeI64(_iter275.getKey());
85866
            oprot.writeI64(_iter279.getKey());
83434
            oprot.writeI64(_iter275.getValue());
85867
            oprot.writeI64(_iter279.getValue());
83435
          }
85868
          }
83436
          oprot.writeMapEnd();
85869
          oprot.writeMapEnd();
83437
        }
85870
        }
83438
        oprot.writeFieldEnd();
85871
        oprot.writeFieldEnd();
83439
      }
85872
      }
Line 83727... Line 86160...
83727
        }
86160
        }
83728
        switch (field.id) {
86161
        switch (field.id) {
83729
          case 1: // ITEM_IDS
86162
          case 1: // ITEM_IDS
83730
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
86163
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
83731
              {
86164
              {
83732
                org.apache.thrift.protocol.TList _list276 = iprot.readListBegin();
86165
                org.apache.thrift.protocol.TList _list280 = iprot.readListBegin();
83733
                this.itemIds = new ArrayList<Long>(_list276.size);
86166
                this.itemIds = new ArrayList<Long>(_list280.size);
83734
                for (int _i277 = 0; _i277 < _list276.size; ++_i277)
86167
                for (int _i281 = 0; _i281 < _list280.size; ++_i281)
83735
                {
86168
                {
83736
                  long _elem278; // required
86169
                  long _elem282; // required
83737
                  _elem278 = iprot.readI64();
86170
                  _elem282 = iprot.readI64();
83738
                  this.itemIds.add(_elem278);
86171
                  this.itemIds.add(_elem282);
83739
                }
86172
                }
83740
                iprot.readListEnd();
86173
                iprot.readListEnd();
83741
              }
86174
              }
83742
            } else { 
86175
            } else { 
83743
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
86176
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 83758... Line 86191...
83758
      oprot.writeStructBegin(STRUCT_DESC);
86191
      oprot.writeStructBegin(STRUCT_DESC);
83759
      if (this.itemIds != null) {
86192
      if (this.itemIds != null) {
83760
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
86193
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
83761
        {
86194
        {
83762
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
86195
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
83763
          for (long _iter279 : this.itemIds)
86196
          for (long _iter283 : this.itemIds)
83764
          {
86197
          {
83765
            oprot.writeI64(_iter279);
86198
            oprot.writeI64(_iter283);
83766
          }
86199
          }
83767
          oprot.writeListEnd();
86200
          oprot.writeListEnd();
83768
        }
86201
        }
83769
        oprot.writeFieldEnd();
86202
        oprot.writeFieldEnd();
83770
      }
86203
      }
Line 84058... Line 86491...
84058
        }
86491
        }
84059
        switch (field.id) {
86492
        switch (field.id) {
84060
          case 0: // SUCCESS
86493
          case 0: // SUCCESS
84061
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
86494
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
84062
              {
86495
              {
84063
                org.apache.thrift.protocol.TList _list280 = iprot.readListBegin();
86496
                org.apache.thrift.protocol.TList _list284 = iprot.readListBegin();
84064
                this.success = new ArrayList<Order>(_list280.size);
86497
                this.success = new ArrayList<Order>(_list284.size);
84065
                for (int _i281 = 0; _i281 < _list280.size; ++_i281)
86498
                for (int _i285 = 0; _i285 < _list284.size; ++_i285)
84066
                {
86499
                {
84067
                  Order _elem282; // required
86500
                  Order _elem286; // required
84068
                  _elem282 = new Order();
86501
                  _elem286 = new Order();
84069
                  _elem282.read(iprot);
86502
                  _elem286.read(iprot);
84070
                  this.success.add(_elem282);
86503
                  this.success.add(_elem286);
84071
                }
86504
                }
84072
                iprot.readListEnd();
86505
                iprot.readListEnd();
84073
              }
86506
              }
84074
            } else { 
86507
            } else { 
84075
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
86508
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 84089... Line 86522...
84089
 
86522
 
84090
      if (this.isSetSuccess()) {
86523
      if (this.isSetSuccess()) {
84091
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
86524
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
84092
        {
86525
        {
84093
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
86526
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
84094
          for (Order _iter283 : this.success)
86527
          for (Order _iter287 : this.success)
84095
          {
86528
          {
84096
            _iter283.write(oprot);
86529
            _iter287.write(oprot);
84097
          }
86530
          }
84098
          oprot.writeListEnd();
86531
          oprot.writeListEnd();
84099
        }
86532
        }
84100
        oprot.writeFieldEnd();
86533
        oprot.writeFieldEnd();
84101
      }
86534
      }
Line 92047... Line 94480...
92047
        }
94480
        }
92048
        switch (field.id) {
94481
        switch (field.id) {
92049
          case 0: // SUCCESS
94482
          case 0: // SUCCESS
92050
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
94483
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
92051
              {
94484
              {
92052
                org.apache.thrift.protocol.TMap _map284 = iprot.readMapBegin();
94485
                org.apache.thrift.protocol.TMap _map288 = iprot.readMapBegin();
92053
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map284.size);
94486
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map288.size);
92054
                for (int _i285 = 0; _i285 < _map284.size; ++_i285)
94487
                for (int _i289 = 0; _i289 < _map288.size; ++_i289)
92055
                {
94488
                {
92056
                  int _key286; // required
94489
                  int _key290; // required
92057
                  TimeoutSummary _val287; // required
94490
                  TimeoutSummary _val291; // required
92058
                  _key286 = iprot.readI32();
94491
                  _key290 = iprot.readI32();
92059
                  _val287 = new TimeoutSummary();
94492
                  _val291 = new TimeoutSummary();
92060
                  _val287.read(iprot);
94493
                  _val291.read(iprot);
92061
                  this.success.put(_key286, _val287);
94494
                  this.success.put(_key290, _val291);
92062
                }
94495
                }
92063
                iprot.readMapEnd();
94496
                iprot.readMapEnd();
92064
              }
94497
              }
92065
            } else { 
94498
            } else { 
92066
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
94499
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 92088... Line 94521...
92088
 
94521
 
92089
      if (this.isSetSuccess()) {
94522
      if (this.isSetSuccess()) {
92090
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
94523
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
92091
        {
94524
        {
92092
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
94525
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
92093
          for (Map.Entry<Integer, TimeoutSummary> _iter288 : this.success.entrySet())
94526
          for (Map.Entry<Integer, TimeoutSummary> _iter292 : this.success.entrySet())
92094
          {
94527
          {
92095
            oprot.writeI32(_iter288.getKey());
94528
            oprot.writeI32(_iter292.getKey());
92096
            _iter288.getValue().write(oprot);
94529
            _iter292.getValue().write(oprot);
92097
          }
94530
          }
92098
          oprot.writeMapEnd();
94531
          oprot.writeMapEnd();
92099
        }
94532
        }
92100
        oprot.writeFieldEnd();
94533
        oprot.writeFieldEnd();
92101
      } else if (this.isSetEx()) {
94534
      } else if (this.isSetEx()) {
Line 93438... Line 95871...
93438
        }
95871
        }
93439
        switch (field.id) {
95872
        switch (field.id) {
93440
          case 0: // SUCCESS
95873
          case 0: // SUCCESS
93441
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
95874
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
93442
              {
95875
              {
93443
                org.apache.thrift.protocol.TList _list289 = iprot.readListBegin();
95876
                org.apache.thrift.protocol.TList _list293 = iprot.readListBegin();
93444
                this.success = new ArrayList<Order>(_list289.size);
95877
                this.success = new ArrayList<Order>(_list293.size);
93445
                for (int _i290 = 0; _i290 < _list289.size; ++_i290)
95878
                for (int _i294 = 0; _i294 < _list293.size; ++_i294)
93446
                {
95879
                {
93447
                  Order _elem291; // required
95880
                  Order _elem295; // required
93448
                  _elem291 = new Order();
95881
                  _elem295 = new Order();
93449
                  _elem291.read(iprot);
95882
                  _elem295.read(iprot);
93450
                  this.success.add(_elem291);
95883
                  this.success.add(_elem295);
93451
                }
95884
                }
93452
                iprot.readListEnd();
95885
                iprot.readListEnd();
93453
              }
95886
              }
93454
            } else { 
95887
            } else { 
93455
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
95888
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 93477... Line 95910...
93477
 
95910
 
93478
      if (this.isSetSuccess()) {
95911
      if (this.isSetSuccess()) {
93479
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
95912
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
93480
        {
95913
        {
93481
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
95914
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
93482
          for (Order _iter292 : this.success)
95915
          for (Order _iter296 : this.success)
93483
          {
95916
          {
93484
            _iter292.write(oprot);
95917
            _iter296.write(oprot);
93485
          }
95918
          }
93486
          oprot.writeListEnd();
95919
          oprot.writeListEnd();
93487
        }
95920
        }
93488
        oprot.writeFieldEnd();
95921
        oprot.writeFieldEnd();
93489
      } else if (this.isSetEx()) {
95922
      } else if (this.isSetEx()) {
Line 93868... Line 96301...
93868
            }
96301
            }
93869
            break;
96302
            break;
93870
          case 2: // ORDER_STATUS_LIST
96303
          case 2: // ORDER_STATUS_LIST
93871
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
96304
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
93872
              {
96305
              {
93873
                org.apache.thrift.protocol.TList _list293 = iprot.readListBegin();
96306
                org.apache.thrift.protocol.TList _list297 = iprot.readListBegin();
93874
                this.order_status_list = new ArrayList<OrderStatus>(_list293.size);
96307
                this.order_status_list = new ArrayList<OrderStatus>(_list297.size);
93875
                for (int _i294 = 0; _i294 < _list293.size; ++_i294)
96308
                for (int _i298 = 0; _i298 < _list297.size; ++_i298)
93876
                {
96309
                {
93877
                  OrderStatus _elem295; // required
96310
                  OrderStatus _elem299; // required
93878
                  _elem295 = OrderStatus.findByValue(iprot.readI32());
96311
                  _elem299 = OrderStatus.findByValue(iprot.readI32());
93879
                  this.order_status_list.add(_elem295);
96312
                  this.order_status_list.add(_elem299);
93880
                }
96313
                }
93881
                iprot.readListEnd();
96314
                iprot.readListEnd();
93882
              }
96315
              }
93883
            } else { 
96316
            } else { 
93884
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
96317
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 93902... Line 96335...
93902
      oprot.writeFieldEnd();
96335
      oprot.writeFieldEnd();
93903
      if (this.order_status_list != null) {
96336
      if (this.order_status_list != null) {
93904
        oprot.writeFieldBegin(ORDER_STATUS_LIST_FIELD_DESC);
96337
        oprot.writeFieldBegin(ORDER_STATUS_LIST_FIELD_DESC);
93905
        {
96338
        {
93906
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.order_status_list.size()));
96339
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.order_status_list.size()));
93907
          for (OrderStatus _iter296 : this.order_status_list)
96340
          for (OrderStatus _iter300 : this.order_status_list)
93908
          {
96341
          {
93909
            oprot.writeI32(_iter296.getValue());
96342
            oprot.writeI32(_iter300.getValue());
93910
          }
96343
          }
93911
          oprot.writeListEnd();
96344
          oprot.writeListEnd();
93912
        }
96345
        }
93913
        oprot.writeFieldEnd();
96346
        oprot.writeFieldEnd();
93914
      }
96347
      }
Line 94276... Line 96709...
94276
        }
96709
        }
94277
        switch (field.id) {
96710
        switch (field.id) {
94278
          case 0: // SUCCESS
96711
          case 0: // SUCCESS
94279
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
96712
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
94280
              {
96713
              {
94281
                org.apache.thrift.protocol.TList _list297 = iprot.readListBegin();
96714
                org.apache.thrift.protocol.TList _list301 = iprot.readListBegin();
94282
                this.success = new ArrayList<Order>(_list297.size);
96715
                this.success = new ArrayList<Order>(_list301.size);
94283
                for (int _i298 = 0; _i298 < _list297.size; ++_i298)
96716
                for (int _i302 = 0; _i302 < _list301.size; ++_i302)
94284
                {
96717
                {
94285
                  Order _elem299; // required
96718
                  Order _elem303; // required
94286
                  _elem299 = new Order();
96719
                  _elem303 = new Order();
94287
                  _elem299.read(iprot);
96720
                  _elem303.read(iprot);
94288
                  this.success.add(_elem299);
96721
                  this.success.add(_elem303);
94289
                }
96722
                }
94290
                iprot.readListEnd();
96723
                iprot.readListEnd();
94291
              }
96724
              }
94292
            } else { 
96725
            } else { 
94293
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
96726
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 94315... Line 96748...
94315
 
96748
 
94316
      if (this.isSetSuccess()) {
96749
      if (this.isSetSuccess()) {
94317
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
96750
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
94318
        {
96751
        {
94319
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
96752
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
94320
          for (Order _iter300 : this.success)
96753
          for (Order _iter304 : this.success)
94321
          {
96754
          {
94322
            _iter300.write(oprot);
96755
            _iter304.write(oprot);
94323
          }
96756
          }
94324
          oprot.writeListEnd();
96757
          oprot.writeListEnd();
94325
        }
96758
        }
94326
        oprot.writeFieldEnd();
96759
        oprot.writeFieldEnd();
94327
      } else if (this.isSetEx()) {
96760
      } else if (this.isSetEx()) {
Line 95155... Line 97588...
95155
        }
97588
        }
95156
        switch (field.id) {
97589
        switch (field.id) {
95157
          case 0: // SUCCESS
97590
          case 0: // SUCCESS
95158
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
97591
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
95159
              {
97592
              {
95160
                org.apache.thrift.protocol.TList _list301 = iprot.readListBegin();
97593
                org.apache.thrift.protocol.TList _list305 = iprot.readListBegin();
95161
                this.success = new ArrayList<Order>(_list301.size);
97594
                this.success = new ArrayList<Order>(_list305.size);
95162
                for (int _i302 = 0; _i302 < _list301.size; ++_i302)
97595
                for (int _i306 = 0; _i306 < _list305.size; ++_i306)
95163
                {
97596
                {
95164
                  Order _elem303; // required
97597
                  Order _elem307; // required
95165
                  _elem303 = new Order();
97598
                  _elem307 = new Order();
95166
                  _elem303.read(iprot);
97599
                  _elem307.read(iprot);
95167
                  this.success.add(_elem303);
97600
                  this.success.add(_elem307);
95168
                }
97601
                }
95169
                iprot.readListEnd();
97602
                iprot.readListEnd();
95170
              }
97603
              }
95171
            } else { 
97604
            } else { 
95172
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
97605
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 95194... Line 97627...
95194
 
97627
 
95195
      if (this.isSetSuccess()) {
97628
      if (this.isSetSuccess()) {
95196
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
97629
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
95197
        {
97630
        {
95198
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
97631
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
95199
          for (Order _iter304 : this.success)
97632
          for (Order _iter308 : this.success)
95200
          {
97633
          {
95201
            _iter304.write(oprot);
97634
            _iter308.write(oprot);
95202
          }
97635
          }
95203
          oprot.writeListEnd();
97636
          oprot.writeListEnd();
95204
        }
97637
        }
95205
        oprot.writeFieldEnd();
97638
        oprot.writeFieldEnd();
95206
      } else if (this.isSetEx()) {
97639
      } else if (this.isSetEx()) {
Line 95774... Line 98207...
95774
        }
98207
        }
95775
        switch (field.id) {
98208
        switch (field.id) {
95776
          case 0: // SUCCESS
98209
          case 0: // SUCCESS
95777
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
98210
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
95778
              {
98211
              {
95779
                org.apache.thrift.protocol.TList _list305 = iprot.readListBegin();
98212
                org.apache.thrift.protocol.TList _list309 = iprot.readListBegin();
95780
                this.success = new ArrayList<Order>(_list305.size);
98213
                this.success = new ArrayList<Order>(_list309.size);
95781
                for (int _i306 = 0; _i306 < _list305.size; ++_i306)
98214
                for (int _i310 = 0; _i310 < _list309.size; ++_i310)
95782
                {
98215
                {
95783
                  Order _elem307; // required
98216
                  Order _elem311; // required
95784
                  _elem307 = new Order();
98217
                  _elem311 = new Order();
95785
                  _elem307.read(iprot);
98218
                  _elem311.read(iprot);
95786
                  this.success.add(_elem307);
98219
                  this.success.add(_elem311);
95787
                }
98220
                }
95788
                iprot.readListEnd();
98221
                iprot.readListEnd();
95789
              }
98222
              }
95790
            } else { 
98223
            } else { 
95791
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
98224
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 95813... Line 98246...
95813
 
98246
 
95814
      if (this.isSetSuccess()) {
98247
      if (this.isSetSuccess()) {
95815
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
98248
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
95816
        {
98249
        {
95817
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
98250
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
95818
          for (Order _iter308 : this.success)
98251
          for (Order _iter312 : this.success)
95819
          {
98252
          {
95820
            _iter308.write(oprot);
98253
            _iter312.write(oprot);
95821
          }
98254
          }
95822
          oprot.writeListEnd();
98255
          oprot.writeListEnd();
95823
        }
98256
        }
95824
        oprot.writeFieldEnd();
98257
        oprot.writeFieldEnd();
95825
      } else if (this.isSetEx()) {
98258
      } else if (this.isSetEx()) {
Line 96570... Line 99003...
96570
        }
99003
        }
96571
        switch (field.id) {
99004
        switch (field.id) {
96572
          case 0: // SUCCESS
99005
          case 0: // SUCCESS
96573
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
99006
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
96574
              {
99007
              {
96575
                org.apache.thrift.protocol.TList _list309 = iprot.readListBegin();
99008
                org.apache.thrift.protocol.TList _list313 = iprot.readListBegin();
96576
                this.success = new ArrayList<Order>(_list309.size);
99009
                this.success = new ArrayList<Order>(_list313.size);
96577
                for (int _i310 = 0; _i310 < _list309.size; ++_i310)
99010
                for (int _i314 = 0; _i314 < _list313.size; ++_i314)
96578
                {
99011
                {
96579
                  Order _elem311; // required
99012
                  Order _elem315; // required
96580
                  _elem311 = new Order();
99013
                  _elem315 = new Order();
96581
                  _elem311.read(iprot);
99014
                  _elem315.read(iprot);
96582
                  this.success.add(_elem311);
99015
                  this.success.add(_elem315);
96583
                }
99016
                }
96584
                iprot.readListEnd();
99017
                iprot.readListEnd();
96585
              }
99018
              }
96586
            } else { 
99019
            } else { 
96587
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
99020
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 96609... Line 99042...
96609
 
99042
 
96610
      if (this.isSetSuccess()) {
99043
      if (this.isSetSuccess()) {
96611
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
99044
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
96612
        {
99045
        {
96613
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
99046
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
96614
          for (Order _iter312 : this.success)
99047
          for (Order _iter316 : this.success)
96615
          {
99048
          {
96616
            _iter312.write(oprot);
99049
            _iter316.write(oprot);
96617
          }
99050
          }
96618
          oprot.writeListEnd();
99051
          oprot.writeListEnd();
96619
        }
99052
        }
96620
        oprot.writeFieldEnd();
99053
        oprot.writeFieldEnd();
96621
      } else if (this.isSetEx()) {
99054
      } else if (this.isSetEx()) {
Line 96926... Line 99359...
96926
        }
99359
        }
96927
        switch (field.id) {
99360
        switch (field.id) {
96928
          case 1: // MAP_AWBAND_AMOUNT
99361
          case 1: // MAP_AWBAND_AMOUNT
96929
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
99362
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
96930
              {
99363
              {
96931
                org.apache.thrift.protocol.TMap _map313 = iprot.readMapBegin();
99364
                org.apache.thrift.protocol.TMap _map317 = iprot.readMapBegin();
96932
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map313.size);
99365
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map317.size);
96933
                for (int _i314 = 0; _i314 < _map313.size; ++_i314)
99366
                for (int _i318 = 0; _i318 < _map317.size; ++_i318)
96934
                {
99367
                {
96935
                  long _key315; // required
99368
                  long _key319; // required
96936
                  double _val316; // required
99369
                  double _val320; // required
96937
                  _key315 = iprot.readI64();
99370
                  _key319 = iprot.readI64();
96938
                  _val316 = iprot.readDouble();
99371
                  _val320 = iprot.readDouble();
96939
                  this.mapAWBAndAmount.put(_key315, _val316);
99372
                  this.mapAWBAndAmount.put(_key319, _val320);
96940
                }
99373
                }
96941
                iprot.readMapEnd();
99374
                iprot.readMapEnd();
96942
              }
99375
              }
96943
            } else { 
99376
            } else { 
96944
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
99377
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 96959... Line 99392...
96959
      oprot.writeStructBegin(STRUCT_DESC);
99392
      oprot.writeStructBegin(STRUCT_DESC);
96960
      if (this.mapAWBAndAmount != null) {
99393
      if (this.mapAWBAndAmount != null) {
96961
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
99394
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
96962
        {
99395
        {
96963
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
99396
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
96964
          for (Map.Entry<Long, Double> _iter317 : this.mapAWBAndAmount.entrySet())
99397
          for (Map.Entry<Long, Double> _iter321 : this.mapAWBAndAmount.entrySet())
96965
          {
99398
          {
96966
            oprot.writeI64(_iter317.getKey());
99399
            oprot.writeI64(_iter321.getKey());
96967
            oprot.writeDouble(_iter317.getValue());
99400
            oprot.writeDouble(_iter321.getValue());
96968
          }
99401
          }
96969
          oprot.writeMapEnd();
99402
          oprot.writeMapEnd();
96970
        }
99403
        }
96971
        oprot.writeFieldEnd();
99404
        oprot.writeFieldEnd();
96972
      }
99405
      }
Line 101268... Line 103701...
101268
        }
103701
        }
101269
        switch (field.id) {
103702
        switch (field.id) {
101270
          case 0: // SUCCESS
103703
          case 0: // SUCCESS
101271
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
103704
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
101272
              {
103705
              {
101273
                org.apache.thrift.protocol.TMap _map318 = iprot.readMapBegin();
103706
                org.apache.thrift.protocol.TMap _map322 = iprot.readMapBegin();
101274
                this.success = new HashMap<Long,String>(2*_map318.size);
103707
                this.success = new HashMap<Long,String>(2*_map322.size);
101275
                for (int _i319 = 0; _i319 < _map318.size; ++_i319)
103708
                for (int _i323 = 0; _i323 < _map322.size; ++_i323)
101276
                {
103709
                {
101277
                  long _key320; // required
103710
                  long _key324; // required
101278
                  String _val321; // required
103711
                  String _val325; // required
101279
                  _key320 = iprot.readI64();
103712
                  _key324 = iprot.readI64();
101280
                  _val321 = iprot.readString();
103713
                  _val325 = iprot.readString();
101281
                  this.success.put(_key320, _val321);
103714
                  this.success.put(_key324, _val325);
101282
                }
103715
                }
101283
                iprot.readMapEnd();
103716
                iprot.readMapEnd();
101284
              }
103717
              }
101285
            } else { 
103718
            } else { 
101286
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
103719
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 101308... Line 103741...
101308
 
103741
 
101309
      if (this.isSetSuccess()) {
103742
      if (this.isSetSuccess()) {
101310
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
103743
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
101311
        {
103744
        {
101312
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
103745
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
101313
          for (Map.Entry<Long, String> _iter322 : this.success.entrySet())
103746
          for (Map.Entry<Long, String> _iter326 : this.success.entrySet())
101314
          {
103747
          {
101315
            oprot.writeI64(_iter322.getKey());
103748
            oprot.writeI64(_iter326.getKey());
101316
            oprot.writeString(_iter322.getValue());
103749
            oprot.writeString(_iter326.getValue());
101317
          }
103750
          }
101318
          oprot.writeMapEnd();
103751
          oprot.writeMapEnd();
101319
        }
103752
        }
101320
        oprot.writeFieldEnd();
103753
        oprot.writeFieldEnd();
101321
      } else if (this.isSetEx()) {
103754
      } else if (this.isSetEx()) {
Line 103412... Line 105845...
103412
        }
105845
        }
103413
        switch (field.id) {
105846
        switch (field.id) {
103414
          case 0: // SUCCESS
105847
          case 0: // SUCCESS
103415
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
105848
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
103416
              {
105849
              {
103417
                org.apache.thrift.protocol.TList _list323 = iprot.readListBegin();
105850
                org.apache.thrift.protocol.TList _list327 = iprot.readListBegin();
103418
                this.success = new ArrayList<PaymentSettlement>(_list323.size);
105851
                this.success = new ArrayList<PaymentSettlement>(_list327.size);
103419
                for (int _i324 = 0; _i324 < _list323.size; ++_i324)
105852
                for (int _i328 = 0; _i328 < _list327.size; ++_i328)
103420
                {
105853
                {
103421
                  PaymentSettlement _elem325; // required
105854
                  PaymentSettlement _elem329; // required
103422
                  _elem325 = new PaymentSettlement();
105855
                  _elem329 = new PaymentSettlement();
103423
                  _elem325.read(iprot);
105856
                  _elem329.read(iprot);
103424
                  this.success.add(_elem325);
105857
                  this.success.add(_elem329);
103425
                }
105858
                }
103426
                iprot.readListEnd();
105859
                iprot.readListEnd();
103427
              }
105860
              }
103428
            } else { 
105861
            } else { 
103429
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
105862
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 103451... Line 105884...
103451
 
105884
 
103452
      if (this.isSetSuccess()) {
105885
      if (this.isSetSuccess()) {
103453
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
105886
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
103454
        {
105887
        {
103455
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
105888
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
103456
          for (PaymentSettlement _iter326 : this.success)
105889
          for (PaymentSettlement _iter330 : this.success)
103457
          {
105890
          {
103458
            _iter326.write(oprot);
105891
            _iter330.write(oprot);
103459
          }
105892
          }
103460
          oprot.writeListEnd();
105893
          oprot.writeListEnd();
103461
        }
105894
        }
103462
        oprot.writeFieldEnd();
105895
        oprot.writeFieldEnd();
103463
      } else if (this.isSetEx()) {
105896
      } else if (this.isSetEx()) {
Line 103763... Line 106196...
103763
        }
106196
        }
103764
        switch (field.id) {
106197
        switch (field.id) {
103765
          case 1: // ORDER_IDS
106198
          case 1: // ORDER_IDS
103766
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
106199
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
103767
              {
106200
              {
103768
                org.apache.thrift.protocol.TList _list327 = iprot.readListBegin();
106201
                org.apache.thrift.protocol.TList _list331 = iprot.readListBegin();
103769
                this.orderIds = new ArrayList<Long>(_list327.size);
106202
                this.orderIds = new ArrayList<Long>(_list331.size);
103770
                for (int _i328 = 0; _i328 < _list327.size; ++_i328)
106203
                for (int _i332 = 0; _i332 < _list331.size; ++_i332)
103771
                {
106204
                {
103772
                  long _elem329; // required
106205
                  long _elem333; // required
103773
                  _elem329 = iprot.readI64();
106206
                  _elem333 = iprot.readI64();
103774
                  this.orderIds.add(_elem329);
106207
                  this.orderIds.add(_elem333);
103775
                }
106208
                }
103776
                iprot.readListEnd();
106209
                iprot.readListEnd();
103777
              }
106210
              }
103778
            } else { 
106211
            } else { 
103779
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
106212
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 103794... Line 106227...
103794
      oprot.writeStructBegin(STRUCT_DESC);
106227
      oprot.writeStructBegin(STRUCT_DESC);
103795
      if (this.orderIds != null) {
106228
      if (this.orderIds != null) {
103796
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
106229
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
103797
        {
106230
        {
103798
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
106231
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
103799
          for (long _iter330 : this.orderIds)
106232
          for (long _iter334 : this.orderIds)
103800
          {
106233
          {
103801
            oprot.writeI64(_iter330);
106234
            oprot.writeI64(_iter334);
103802
          }
106235
          }
103803
          oprot.writeListEnd();
106236
          oprot.writeListEnd();
103804
        }
106237
        }
103805
        oprot.writeFieldEnd();
106238
        oprot.writeFieldEnd();
103806
      }
106239
      }
Line 104162... Line 106595...
104162
        }
106595
        }
104163
        switch (field.id) {
106596
        switch (field.id) {
104164
          case 0: // SUCCESS
106597
          case 0: // SUCCESS
104165
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
106598
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
104166
              {
106599
              {
104167
                org.apache.thrift.protocol.TList _list331 = iprot.readListBegin();
106600
                org.apache.thrift.protocol.TList _list335 = iprot.readListBegin();
104168
                this.success = new ArrayList<Long>(_list331.size);
106601
                this.success = new ArrayList<Long>(_list335.size);
104169
                for (int _i332 = 0; _i332 < _list331.size; ++_i332)
106602
                for (int _i336 = 0; _i336 < _list335.size; ++_i336)
104170
                {
106603
                {
104171
                  long _elem333; // required
106604
                  long _elem337; // required
104172
                  _elem333 = iprot.readI64();
106605
                  _elem337 = iprot.readI64();
104173
                  this.success.add(_elem333);
106606
                  this.success.add(_elem337);
104174
                }
106607
                }
104175
                iprot.readListEnd();
106608
                iprot.readListEnd();
104176
              }
106609
              }
104177
            } else { 
106610
            } else { 
104178
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
106611
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 104200... Line 106633...
104200
 
106633
 
104201
      if (this.isSetSuccess()) {
106634
      if (this.isSetSuccess()) {
104202
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
106635
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
104203
        {
106636
        {
104204
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
106637
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
104205
          for (long _iter334 : this.success)
106638
          for (long _iter338 : this.success)
104206
          {
106639
          {
104207
            oprot.writeI64(_iter334);
106640
            oprot.writeI64(_iter338);
104208
          }
106641
          }
104209
          oprot.writeListEnd();
106642
          oprot.writeListEnd();
104210
        }
106643
        }
104211
        oprot.writeFieldEnd();
106644
        oprot.writeFieldEnd();
104212
      } else if (this.isSetEx()) {
106645
      } else if (this.isSetEx()) {
Line 105123... Line 107556...
105123
        }
107556
        }
105124
        switch (field.id) {
107557
        switch (field.id) {
105125
          case 0: // SUCCESS
107558
          case 0: // SUCCESS
105126
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
107559
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
105127
              {
107560
              {
105128
                org.apache.thrift.protocol.TList _list335 = iprot.readListBegin();
107561
                org.apache.thrift.protocol.TList _list339 = iprot.readListBegin();
105129
                this.success = new ArrayList<Order>(_list335.size);
107562
                this.success = new ArrayList<Order>(_list339.size);
105130
                for (int _i336 = 0; _i336 < _list335.size; ++_i336)
107563
                for (int _i340 = 0; _i340 < _list339.size; ++_i340)
105131
                {
107564
                {
105132
                  Order _elem337; // required
107565
                  Order _elem341; // required
105133
                  _elem337 = new Order();
107566
                  _elem341 = new Order();
105134
                  _elem337.read(iprot);
107567
                  _elem341.read(iprot);
105135
                  this.success.add(_elem337);
107568
                  this.success.add(_elem341);
105136
                }
107569
                }
105137
                iprot.readListEnd();
107570
                iprot.readListEnd();
105138
              }
107571
              }
105139
            } else { 
107572
            } else { 
105140
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
107573
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 105162... Line 107595...
105162
 
107595
 
105163
      if (this.isSetSuccess()) {
107596
      if (this.isSetSuccess()) {
105164
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
107597
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
105165
        {
107598
        {
105166
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
107599
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
105167
          for (Order _iter338 : this.success)
107600
          for (Order _iter342 : this.success)
105168
          {
107601
          {
105169
            _iter338.write(oprot);
107602
            _iter342.write(oprot);
105170
          }
107603
          }
105171
          oprot.writeListEnd();
107604
          oprot.writeListEnd();
105172
        }
107605
        }
105173
        oprot.writeFieldEnd();
107606
        oprot.writeFieldEnd();
105174
      } else if (this.isSetEx()) {
107607
      } else if (this.isSetEx()) {
Line 105924... Line 108357...
105924
        }
108357
        }
105925
        switch (field.id) {
108358
        switch (field.id) {
105926
          case 0: // SUCCESS
108359
          case 0: // SUCCESS
105927
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
108360
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
105928
              {
108361
              {
105929
                org.apache.thrift.protocol.TMap _map339 = iprot.readMapBegin();
108362
                org.apache.thrift.protocol.TMap _map343 = iprot.readMapBegin();
105930
                this.success = new HashMap<Long,Long>(2*_map339.size);
108363
                this.success = new HashMap<Long,Long>(2*_map343.size);
105931
                for (int _i340 = 0; _i340 < _map339.size; ++_i340)
108364
                for (int _i344 = 0; _i344 < _map343.size; ++_i344)
105932
                {
108365
                {
105933
                  long _key341; // required
108366
                  long _key345; // required
105934
                  long _val342; // required
108367
                  long _val346; // required
105935
                  _key341 = iprot.readI64();
108368
                  _key345 = iprot.readI64();
105936
                  _val342 = iprot.readI64();
108369
                  _val346 = iprot.readI64();
105937
                  this.success.put(_key341, _val342);
108370
                  this.success.put(_key345, _val346);
105938
                }
108371
                }
105939
                iprot.readMapEnd();
108372
                iprot.readMapEnd();
105940
              }
108373
              }
105941
            } else { 
108374
            } else { 
105942
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
108375
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 105964... Line 108397...
105964
 
108397
 
105965
      if (this.isSetSuccess()) {
108398
      if (this.isSetSuccess()) {
105966
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
108399
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
105967
        {
108400
        {
105968
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
108401
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
105969
          for (Map.Entry<Long, Long> _iter343 : this.success.entrySet())
108402
          for (Map.Entry<Long, Long> _iter347 : this.success.entrySet())
105970
          {
108403
          {
105971
            oprot.writeI64(_iter343.getKey());
108404
            oprot.writeI64(_iter347.getKey());
105972
            oprot.writeI64(_iter343.getValue());
108405
            oprot.writeI64(_iter347.getValue());
105973
          }
108406
          }
105974
          oprot.writeMapEnd();
108407
          oprot.writeMapEnd();
105975
        }
108408
        }
105976
        oprot.writeFieldEnd();
108409
        oprot.writeFieldEnd();
105977
      } else if (this.isSetEx()) {
108410
      } else if (this.isSetEx()) {
Line 106805... Line 109238...
106805
        }
109238
        }
106806
        switch (field.id) {
109239
        switch (field.id) {
106807
          case 0: // SUCCESS
109240
          case 0: // SUCCESS
106808
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
109241
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
106809
              {
109242
              {
106810
                org.apache.thrift.protocol.TList _list344 = iprot.readListBegin();
109243
                org.apache.thrift.protocol.TList _list348 = iprot.readListBegin();
106811
                this.success = new ArrayList<Long>(_list344.size);
109244
                this.success = new ArrayList<Long>(_list348.size);
106812
                for (int _i345 = 0; _i345 < _list344.size; ++_i345)
109245
                for (int _i349 = 0; _i349 < _list348.size; ++_i349)
106813
                {
109246
                {
106814
                  long _elem346; // required
109247
                  long _elem350; // required
106815
                  _elem346 = iprot.readI64();
109248
                  _elem350 = iprot.readI64();
106816
                  this.success.add(_elem346);
109249
                  this.success.add(_elem350);
106817
                }
109250
                }
106818
                iprot.readListEnd();
109251
                iprot.readListEnd();
106819
              }
109252
              }
106820
            } else { 
109253
            } else { 
106821
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
109254
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 106843... Line 109276...
106843
 
109276
 
106844
      if (this.isSetSuccess()) {
109277
      if (this.isSetSuccess()) {
106845
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
109278
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
106846
        {
109279
        {
106847
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
109280
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
106848
          for (long _iter347 : this.success)
109281
          for (long _iter351 : this.success)
106849
          {
109282
          {
106850
            oprot.writeI64(_iter347);
109283
            oprot.writeI64(_iter351);
106851
          }
109284
          }
106852
          oprot.writeListEnd();
109285
          oprot.writeListEnd();
106853
        }
109286
        }
106854
        oprot.writeFieldEnd();
109287
        oprot.writeFieldEnd();
106855
      } else if (this.isSetEx()) {
109288
      } else if (this.isSetEx()) {
Line 109275... Line 111708...
109275
        }
111708
        }
109276
        switch (field.id) {
111709
        switch (field.id) {
109277
          case 0: // SUCCESS
111710
          case 0: // SUCCESS
109278
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
111711
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
109279
              {
111712
              {
109280
                org.apache.thrift.protocol.TList _list348 = iprot.readListBegin();
111713
                org.apache.thrift.protocol.TList _list352 = iprot.readListBegin();
109281
                this.success = new ArrayList<Order>(_list348.size);
111714
                this.success = new ArrayList<Order>(_list352.size);
109282
                for (int _i349 = 0; _i349 < _list348.size; ++_i349)
111715
                for (int _i353 = 0; _i353 < _list352.size; ++_i353)
109283
                {
111716
                {
109284
                  Order _elem350; // required
111717
                  Order _elem354; // required
109285
                  _elem350 = new Order();
111718
                  _elem354 = new Order();
109286
                  _elem350.read(iprot);
111719
                  _elem354.read(iprot);
109287
                  this.success.add(_elem350);
111720
                  this.success.add(_elem354);
109288
                }
111721
                }
109289
                iprot.readListEnd();
111722
                iprot.readListEnd();
109290
              }
111723
              }
109291
            } else { 
111724
            } else { 
109292
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
111725
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 109314... Line 111747...
109314
 
111747
 
109315
      if (this.isSetSuccess()) {
111748
      if (this.isSetSuccess()) {
109316
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
111749
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
109317
        {
111750
        {
109318
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
111751
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
109319
          for (Order _iter351 : this.success)
111752
          for (Order _iter355 : this.success)
109320
          {
111753
          {
109321
            _iter351.write(oprot);
111754
            _iter355.write(oprot);
109322
          }
111755
          }
109323
          oprot.writeListEnd();
111756
          oprot.writeListEnd();
109324
        }
111757
        }
109325
        oprot.writeFieldEnd();
111758
        oprot.writeFieldEnd();
109326
      } else if (this.isSetEx()) {
111759
      } else if (this.isSetEx()) {
Line 110003... Line 112436...
110003
        }
112436
        }
110004
        switch (field.id) {
112437
        switch (field.id) {
110005
          case 0: // SUCCESS
112438
          case 0: // SUCCESS
110006
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
112439
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
110007
              {
112440
              {
110008
                org.apache.thrift.protocol.TList _list352 = iprot.readListBegin();
112441
                org.apache.thrift.protocol.TList _list356 = iprot.readListBegin();
110009
                this.success = new ArrayList<CODVerificationAgent>(_list352.size);
112442
                this.success = new ArrayList<CODVerificationAgent>(_list356.size);
110010
                for (int _i353 = 0; _i353 < _list352.size; ++_i353)
112443
                for (int _i357 = 0; _i357 < _list356.size; ++_i357)
110011
                {
112444
                {
110012
                  CODVerificationAgent _elem354; // required
112445
                  CODVerificationAgent _elem358; // required
110013
                  _elem354 = new CODVerificationAgent();
112446
                  _elem358 = new CODVerificationAgent();
110014
                  _elem354.read(iprot);
112447
                  _elem358.read(iprot);
110015
                  this.success.add(_elem354);
112448
                  this.success.add(_elem358);
110016
                }
112449
                }
110017
                iprot.readListEnd();
112450
                iprot.readListEnd();
110018
              }
112451
              }
110019
            } else { 
112452
            } else { 
110020
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
112453
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 110034... Line 112467...
110034
 
112467
 
110035
      if (this.isSetSuccess()) {
112468
      if (this.isSetSuccess()) {
110036
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
112469
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
110037
        {
112470
        {
110038
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
112471
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
110039
          for (CODVerificationAgent _iter355 : this.success)
112472
          for (CODVerificationAgent _iter359 : this.success)
110040
          {
112473
          {
110041
            _iter355.write(oprot);
112474
            _iter359.write(oprot);
110042
          }
112475
          }
110043
          oprot.writeListEnd();
112476
          oprot.writeListEnd();
110044
        }
112477
        }
110045
        oprot.writeFieldEnd();
112478
        oprot.writeFieldEnd();
110046
      }
112479
      }
Line 110628... Line 113061...
110628
        }
113061
        }
110629
        switch (field.id) {
113062
        switch (field.id) {
110630
          case 0: // SUCCESS
113063
          case 0: // SUCCESS
110631
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
113064
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
110632
              {
113065
              {
110633
                org.apache.thrift.protocol.TList _list356 = iprot.readListBegin();
113066
                org.apache.thrift.protocol.TList _list360 = iprot.readListBegin();
110634
                this.success = new ArrayList<Attribute>(_list356.size);
113067
                this.success = new ArrayList<Attribute>(_list360.size);
110635
                for (int _i357 = 0; _i357 < _list356.size; ++_i357)
113068
                for (int _i361 = 0; _i361 < _list360.size; ++_i361)
110636
                {
113069
                {
110637
                  Attribute _elem358; // required
113070
                  Attribute _elem362; // required
110638
                  _elem358 = new Attribute();
113071
                  _elem362 = new Attribute();
110639
                  _elem358.read(iprot);
113072
                  _elem362.read(iprot);
110640
                  this.success.add(_elem358);
113073
                  this.success.add(_elem362);
110641
                }
113074
                }
110642
                iprot.readListEnd();
113075
                iprot.readListEnd();
110643
              }
113076
              }
110644
            } else { 
113077
            } else { 
110645
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
113078
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 110659... Line 113092...
110659
 
113092
 
110660
      if (this.isSetSuccess()) {
113093
      if (this.isSetSuccess()) {
110661
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
113094
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
110662
        {
113095
        {
110663
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
113096
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
110664
          for (Attribute _iter359 : this.success)
113097
          for (Attribute _iter363 : this.success)
110665
          {
113098
          {
110666
            _iter359.write(oprot);
113099
            _iter363.write(oprot);
110667
          }
113100
          }
110668
          oprot.writeListEnd();
113101
          oprot.writeListEnd();
110669
        }
113102
        }
110670
        oprot.writeFieldEnd();
113103
        oprot.writeFieldEnd();
110671
      }
113104
      }
Line 111038... Line 113471...
111038
            }
113471
            }
111039
            break;
113472
            break;
111040
          case -1: // ATTRIBUTES
113473
          case -1: // ATTRIBUTES
111041
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
113474
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
111042
              {
113475
              {
111043
                org.apache.thrift.protocol.TList _list360 = iprot.readListBegin();
113476
                org.apache.thrift.protocol.TList _list364 = iprot.readListBegin();
111044
                this.attributes = new ArrayList<Attribute>(_list360.size);
113477
                this.attributes = new ArrayList<Attribute>(_list364.size);
111045
                for (int _i361 = 0; _i361 < _list360.size; ++_i361)
113478
                for (int _i365 = 0; _i365 < _list364.size; ++_i365)
111046
                {
113479
                {
111047
                  Attribute _elem362; // required
113480
                  Attribute _elem366; // required
111048
                  _elem362 = new Attribute();
113481
                  _elem366 = new Attribute();
111049
                  _elem362.read(iprot);
113482
                  _elem366.read(iprot);
111050
                  this.attributes.add(_elem362);
113483
                  this.attributes.add(_elem366);
111051
                }
113484
                }
111052
                iprot.readListEnd();
113485
                iprot.readListEnd();
111053
              }
113486
              }
111054
            } else { 
113487
            } else { 
111055
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
113488
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 111070... Line 113503...
111070
      oprot.writeStructBegin(STRUCT_DESC);
113503
      oprot.writeStructBegin(STRUCT_DESC);
111071
      if (this.attributes != null) {
113504
      if (this.attributes != null) {
111072
        oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC);
113505
        oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC);
111073
        {
113506
        {
111074
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.attributes.size()));
113507
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.attributes.size()));
111075
          for (Attribute _iter363 : this.attributes)
113508
          for (Attribute _iter367 : this.attributes)
111076
          {
113509
          {
111077
            _iter363.write(oprot);
113510
            _iter367.write(oprot);
111078
          }
113511
          }
111079
          oprot.writeListEnd();
113512
          oprot.writeListEnd();
111080
        }
113513
        }
111081
        oprot.writeFieldEnd();
113514
        oprot.writeFieldEnd();
111082
      }
113515
      }
Line 112452... Line 114885...
112452
        }
114885
        }
112453
        switch (field.id) {
114886
        switch (field.id) {
112454
          case 0: // SUCCESS
114887
          case 0: // SUCCESS
112455
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
114888
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
112456
              {
114889
              {
112457
                org.apache.thrift.protocol.TList _list364 = iprot.readListBegin();
114890
                org.apache.thrift.protocol.TList _list368 = iprot.readListBegin();
112458
                this.success = new ArrayList<Order>(_list364.size);
114891
                this.success = new ArrayList<Order>(_list368.size);
112459
                for (int _i365 = 0; _i365 < _list364.size; ++_i365)
114892
                for (int _i369 = 0; _i369 < _list368.size; ++_i369)
112460
                {
114893
                {
112461
                  Order _elem366; // required
114894
                  Order _elem370; // required
112462
                  _elem366 = new Order();
114895
                  _elem370 = new Order();
112463
                  _elem366.read(iprot);
114896
                  _elem370.read(iprot);
112464
                  this.success.add(_elem366);
114897
                  this.success.add(_elem370);
112465
                }
114898
                }
112466
                iprot.readListEnd();
114899
                iprot.readListEnd();
112467
              }
114900
              }
112468
            } else { 
114901
            } else { 
112469
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
114902
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 112483... Line 114916...
112483
 
114916
 
112484
      if (this.isSetSuccess()) {
114917
      if (this.isSetSuccess()) {
112485
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
114918
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
112486
        {
114919
        {
112487
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
114920
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
112488
          for (Order _iter367 : this.success)
114921
          for (Order _iter371 : this.success)
112489
          {
114922
          {
112490
            _iter367.write(oprot);
114923
            _iter371.write(oprot);
112491
          }
114924
          }
112492
          oprot.writeListEnd();
114925
          oprot.writeListEnd();
112493
        }
114926
        }
112494
        oprot.writeFieldEnd();
114927
        oprot.writeFieldEnd();
112495
      }
114928
      }
Line 113077... Line 115510...
113077
        }
115510
        }
113078
        switch (field.id) {
115511
        switch (field.id) {
113079
          case 0: // SUCCESS
115512
          case 0: // SUCCESS
113080
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
115513
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
113081
              {
115514
              {
113082
                org.apache.thrift.protocol.TList _list368 = iprot.readListBegin();
115515
                org.apache.thrift.protocol.TList _list372 = iprot.readListBegin();
113083
                this.success = new ArrayList<Order>(_list368.size);
115516
                this.success = new ArrayList<Order>(_list372.size);
113084
                for (int _i369 = 0; _i369 < _list368.size; ++_i369)
115517
                for (int _i373 = 0; _i373 < _list372.size; ++_i373)
113085
                {
115518
                {
113086
                  Order _elem370; // required
115519
                  Order _elem374; // required
113087
                  _elem370 = new Order();
115520
                  _elem374 = new Order();
113088
                  _elem370.read(iprot);
115521
                  _elem374.read(iprot);
113089
                  this.success.add(_elem370);
115522
                  this.success.add(_elem374);
113090
                }
115523
                }
113091
                iprot.readListEnd();
115524
                iprot.readListEnd();
113092
              }
115525
              }
113093
            } else { 
115526
            } else { 
113094
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
115527
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 113108... Line 115541...
113108
 
115541
 
113109
      if (this.isSetSuccess()) {
115542
      if (this.isSetSuccess()) {
113110
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
115543
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
113111
        {
115544
        {
113112
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
115545
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
113113
          for (Order _iter371 : this.success)
115546
          for (Order _iter375 : this.success)
113114
          {
115547
          {
113115
            _iter371.write(oprot);
115548
            _iter375.write(oprot);
113116
          }
115549
          }
113117
          oprot.writeListEnd();
115550
          oprot.writeListEnd();
113118
        }
115551
        }
113119
        oprot.writeFieldEnd();
115552
        oprot.writeFieldEnd();
113120
      }
115553
      }
Line 113951... Line 116384...
113951
        }
116384
        }
113952
        switch (field.id) {
116385
        switch (field.id) {
113953
          case 0: // SUCCESS
116386
          case 0: // SUCCESS
113954
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
116387
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
113955
              {
116388
              {
113956
                org.apache.thrift.protocol.TList _list372 = iprot.readListBegin();
116389
                org.apache.thrift.protocol.TList _list376 = iprot.readListBegin();
113957
                this.success = new ArrayList<Order>(_list372.size);
116390
                this.success = new ArrayList<Order>(_list376.size);
113958
                for (int _i373 = 0; _i373 < _list372.size; ++_i373)
116391
                for (int _i377 = 0; _i377 < _list376.size; ++_i377)
113959
                {
116392
                {
113960
                  Order _elem374; // required
116393
                  Order _elem378; // required
113961
                  _elem374 = new Order();
116394
                  _elem378 = new Order();
113962
                  _elem374.read(iprot);
116395
                  _elem378.read(iprot);
113963
                  this.success.add(_elem374);
116396
                  this.success.add(_elem378);
113964
                }
116397
                }
113965
                iprot.readListEnd();
116398
                iprot.readListEnd();
113966
              }
116399
              }
113967
            } else { 
116400
            } else { 
113968
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
116401
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 113982... Line 116415...
113982
 
116415
 
113983
      if (this.isSetSuccess()) {
116416
      if (this.isSetSuccess()) {
113984
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
116417
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
113985
        {
116418
        {
113986
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
116419
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
113987
          for (Order _iter375 : this.success)
116420
          for (Order _iter379 : this.success)
113988
          {
116421
          {
113989
            _iter375.write(oprot);
116422
            _iter379.write(oprot);
113990
          }
116423
          }
113991
          oprot.writeListEnd();
116424
          oprot.writeListEnd();
113992
        }
116425
        }
113993
        oprot.writeFieldEnd();
116426
        oprot.writeFieldEnd();
113994
      }
116427
      }
Line 118599... Line 121032...
118599
        }
121032
        }
118600
        switch (field.id) {
121033
        switch (field.id) {
118601
          case 0: // SUCCESS
121034
          case 0: // SUCCESS
118602
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
121035
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
118603
              {
121036
              {
118604
                org.apache.thrift.protocol.TList _list376 = iprot.readListBegin();
121037
                org.apache.thrift.protocol.TList _list380 = iprot.readListBegin();
118605
                this.success = new ArrayList<RechargeOrder>(_list376.size);
121038
                this.success = new ArrayList<RechargeOrder>(_list380.size);
118606
                for (int _i377 = 0; _i377 < _list376.size; ++_i377)
121039
                for (int _i381 = 0; _i381 < _list380.size; ++_i381)
118607
                {
121040
                {
118608
                  RechargeOrder _elem378; // required
121041
                  RechargeOrder _elem382; // required
118609
                  _elem378 = new RechargeOrder();
121042
                  _elem382 = new RechargeOrder();
118610
                  _elem378.read(iprot);
121043
                  _elem382.read(iprot);
118611
                  this.success.add(_elem378);
121044
                  this.success.add(_elem382);
118612
                }
121045
                }
118613
                iprot.readListEnd();
121046
                iprot.readListEnd();
118614
              }
121047
              }
118615
            } else { 
121048
            } else { 
118616
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
121049
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 118630... Line 121063...
118630
 
121063
 
118631
      if (this.isSetSuccess()) {
121064
      if (this.isSetSuccess()) {
118632
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
121065
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
118633
        {
121066
        {
118634
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
121067
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
118635
          for (RechargeOrder _iter379 : this.success)
121068
          for (RechargeOrder _iter383 : this.success)
118636
          {
121069
          {
118637
            _iter379.write(oprot);
121070
            _iter383.write(oprot);
118638
          }
121071
          }
118639
          oprot.writeListEnd();
121072
          oprot.writeListEnd();
118640
        }
121073
        }
118641
        oprot.writeFieldEnd();
121074
        oprot.writeFieldEnd();
118642
      }
121075
      }
Line 121262... Line 123695...
121262
        }
123695
        }
121263
        switch (field.id) {
123696
        switch (field.id) {
121264
          case 0: // SUCCESS
123697
          case 0: // SUCCESS
121265
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
123698
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
121266
              {
123699
              {
121267
                org.apache.thrift.protocol.TList _list380 = iprot.readListBegin();
123700
                org.apache.thrift.protocol.TList _list384 = iprot.readListBegin();
121268
                this.success = new ArrayList<UserWalletHistory>(_list380.size);
123701
                this.success = new ArrayList<UserWalletHistory>(_list384.size);
121269
                for (int _i381 = 0; _i381 < _list380.size; ++_i381)
123702
                for (int _i385 = 0; _i385 < _list384.size; ++_i385)
121270
                {
123703
                {
121271
                  UserWalletHistory _elem382; // required
123704
                  UserWalletHistory _elem386; // required
121272
                  _elem382 = new UserWalletHistory();
123705
                  _elem386 = new UserWalletHistory();
121273
                  _elem382.read(iprot);
123706
                  _elem386.read(iprot);
121274
                  this.success.add(_elem382);
123707
                  this.success.add(_elem386);
121275
                }
123708
                }
121276
                iprot.readListEnd();
123709
                iprot.readListEnd();
121277
              }
123710
              }
121278
            } else { 
123711
            } else { 
121279
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
123712
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 121293... Line 123726...
121293
 
123726
 
121294
      if (this.isSetSuccess()) {
123727
      if (this.isSetSuccess()) {
121295
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
123728
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
121296
        {
123729
        {
121297
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
123730
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
121298
          for (UserWalletHistory _iter383 : this.success)
123731
          for (UserWalletHistory _iter387 : this.success)
121299
          {
123732
          {
121300
            _iter383.write(oprot);
123733
            _iter387.write(oprot);
121301
          }
123734
          }
121302
          oprot.writeListEnd();
123735
          oprot.writeListEnd();
121303
        }
123736
        }
121304
        oprot.writeFieldEnd();
123737
        oprot.writeFieldEnd();
121305
      }
123738
      }
Line 122668... Line 125101...
122668
        }
125101
        }
122669
        switch (field.id) {
125102
        switch (field.id) {
122670
          case 0: // SUCCESS
125103
          case 0: // SUCCESS
122671
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
125104
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
122672
              {
125105
              {
122673
                org.apache.thrift.protocol.TMap _map384 = iprot.readMapBegin();
125106
                org.apache.thrift.protocol.TMap _map388 = iprot.readMapBegin();
122674
                this.success = new HashMap<Long,String>(2*_map384.size);
125107
                this.success = new HashMap<Long,String>(2*_map388.size);
122675
                for (int _i385 = 0; _i385 < _map384.size; ++_i385)
125108
                for (int _i389 = 0; _i389 < _map388.size; ++_i389)
122676
                {
125109
                {
122677
                  long _key386; // required
125110
                  long _key390; // required
122678
                  String _val387; // required
125111
                  String _val391; // required
122679
                  _key386 = iprot.readI64();
125112
                  _key390 = iprot.readI64();
122680
                  _val387 = iprot.readString();
125113
                  _val391 = iprot.readString();
122681
                  this.success.put(_key386, _val387);
125114
                  this.success.put(_key390, _val391);
122682
                }
125115
                }
122683
                iprot.readMapEnd();
125116
                iprot.readMapEnd();
122684
              }
125117
              }
122685
            } else { 
125118
            } else { 
122686
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
125119
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 122700... Line 125133...
122700
 
125133
 
122701
      if (this.isSetSuccess()) {
125134
      if (this.isSetSuccess()) {
122702
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
125135
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
122703
        {
125136
        {
122704
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
125137
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
122705
          for (Map.Entry<Long, String> _iter388 : this.success.entrySet())
125138
          for (Map.Entry<Long, String> _iter392 : this.success.entrySet())
122706
          {
125139
          {
122707
            oprot.writeI64(_iter388.getKey());
125140
            oprot.writeI64(_iter392.getKey());
122708
            oprot.writeString(_iter388.getValue());
125141
            oprot.writeString(_iter392.getValue());
122709
          }
125142
          }
122710
          oprot.writeMapEnd();
125143
          oprot.writeMapEnd();
122711
        }
125144
        }
122712
        oprot.writeFieldEnd();
125145
        oprot.writeFieldEnd();
122713
      }
125146
      }
Line 124846... Line 127279...
124846
        }
127279
        }
124847
        switch (field.id) {
127280
        switch (field.id) {
124848
          case 0: // SUCCESS
127281
          case 0: // SUCCESS
124849
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
127282
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
124850
              {
127283
              {
124851
                org.apache.thrift.protocol.TList _list389 = iprot.readListBegin();
127284
                org.apache.thrift.protocol.TList _list393 = iprot.readListBegin();
124852
                this.success = new ArrayList<RechargeOrder>(_list389.size);
127285
                this.success = new ArrayList<RechargeOrder>(_list393.size);
124853
                for (int _i390 = 0; _i390 < _list389.size; ++_i390)
127286
                for (int _i394 = 0; _i394 < _list393.size; ++_i394)
124854
                {
127287
                {
124855
                  RechargeOrder _elem391; // required
127288
                  RechargeOrder _elem395; // required
124856
                  _elem391 = new RechargeOrder();
127289
                  _elem395 = new RechargeOrder();
124857
                  _elem391.read(iprot);
127290
                  _elem395.read(iprot);
124858
                  this.success.add(_elem391);
127291
                  this.success.add(_elem395);
124859
                }
127292
                }
124860
                iprot.readListEnd();
127293
                iprot.readListEnd();
124861
              }
127294
              }
124862
            } else { 
127295
            } else { 
124863
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
127296
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 124877... Line 127310...
124877
 
127310
 
124878
      if (this.isSetSuccess()) {
127311
      if (this.isSetSuccess()) {
124879
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
127312
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
124880
        {
127313
        {
124881
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
127314
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
124882
          for (RechargeOrder _iter392 : this.success)
127315
          for (RechargeOrder _iter396 : this.success)
124883
          {
127316
          {
124884
            _iter392.write(oprot);
127317
            _iter396.write(oprot);
124885
          }
127318
          }
124886
          oprot.writeListEnd();
127319
          oprot.writeListEnd();
124887
        }
127320
        }
124888
        oprot.writeFieldEnd();
127321
        oprot.writeFieldEnd();
124889
      }
127322
      }
Line 127205... Line 129638...
127205
        }
129638
        }
127206
        switch (field.id) {
129639
        switch (field.id) {
127207
          case 0: // SUCCESS
129640
          case 0: // SUCCESS
127208
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
129641
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
127209
              {
129642
              {
127210
                org.apache.thrift.protocol.TList _list393 = iprot.readListBegin();
129643
                org.apache.thrift.protocol.TList _list397 = iprot.readListBegin();
127211
                this.success = new ArrayList<RechargeOrder>(_list393.size);
129644
                this.success = new ArrayList<RechargeOrder>(_list397.size);
127212
                for (int _i394 = 0; _i394 < _list393.size; ++_i394)
129645
                for (int _i398 = 0; _i398 < _list397.size; ++_i398)
127213
                {
129646
                {
127214
                  RechargeOrder _elem395; // required
129647
                  RechargeOrder _elem399; // required
127215
                  _elem395 = new RechargeOrder();
129648
                  _elem399 = new RechargeOrder();
127216
                  _elem395.read(iprot);
129649
                  _elem399.read(iprot);
127217
                  this.success.add(_elem395);
129650
                  this.success.add(_elem399);
127218
                }
129651
                }
127219
                iprot.readListEnd();
129652
                iprot.readListEnd();
127220
              }
129653
              }
127221
            } else { 
129654
            } else { 
127222
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
129655
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 127236... Line 129669...
127236
 
129669
 
127237
      if (this.isSetSuccess()) {
129670
      if (this.isSetSuccess()) {
127238
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
129671
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
127239
        {
129672
        {
127240
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
129673
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
127241
          for (RechargeOrder _iter396 : this.success)
129674
          for (RechargeOrder _iter400 : this.success)
127242
          {
129675
          {
127243
            _iter396.write(oprot);
129676
            _iter400.write(oprot);
127244
          }
129677
          }
127245
          oprot.writeListEnd();
129678
          oprot.writeListEnd();
127246
        }
129679
        }
127247
        oprot.writeFieldEnd();
129680
        oprot.writeFieldEnd();
127248
      }
129681
      }
Line 127830... Line 130263...
127830
        }
130263
        }
127831
        switch (field.id) {
130264
        switch (field.id) {
127832
          case 0: // SUCCESS
130265
          case 0: // SUCCESS
127833
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
130266
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
127834
              {
130267
              {
127835
                org.apache.thrift.protocol.TList _list397 = iprot.readListBegin();
130268
                org.apache.thrift.protocol.TList _list401 = iprot.readListBegin();
127836
                this.success = new ArrayList<RechargePlan>(_list397.size);
130269
                this.success = new ArrayList<RechargePlan>(_list401.size);
127837
                for (int _i398 = 0; _i398 < _list397.size; ++_i398)
130270
                for (int _i402 = 0; _i402 < _list401.size; ++_i402)
127838
                {
130271
                {
127839
                  RechargePlan _elem399; // required
130272
                  RechargePlan _elem403; // required
127840
                  _elem399 = new RechargePlan();
130273
                  _elem403 = new RechargePlan();
127841
                  _elem399.read(iprot);
130274
                  _elem403.read(iprot);
127842
                  this.success.add(_elem399);
130275
                  this.success.add(_elem403);
127843
                }
130276
                }
127844
                iprot.readListEnd();
130277
                iprot.readListEnd();
127845
              }
130278
              }
127846
            } else { 
130279
            } else { 
127847
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
130280
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 127861... Line 130294...
127861
 
130294
 
127862
      if (this.isSetSuccess()) {
130295
      if (this.isSetSuccess()) {
127863
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
130296
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
127864
        {
130297
        {
127865
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
130298
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
127866
          for (RechargePlan _iter400 : this.success)
130299
          for (RechargePlan _iter404 : this.success)
127867
          {
130300
          {
127868
            _iter400.write(oprot);
130301
            _iter404.write(oprot);
127869
          }
130302
          }
127870
          oprot.writeListEnd();
130303
          oprot.writeListEnd();
127871
        }
130304
        }
127872
        oprot.writeFieldEnd();
130305
        oprot.writeFieldEnd();
127873
      }
130306
      }
Line 128711... Line 131144...
128711
        }
131144
        }
128712
        switch (field.id) {
131145
        switch (field.id) {
128713
          case 0: // SUCCESS
131146
          case 0: // SUCCESS
128714
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
131147
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
128715
              {
131148
              {
128716
                org.apache.thrift.protocol.TList _list401 = iprot.readListBegin();
131149
                org.apache.thrift.protocol.TList _list405 = iprot.readListBegin();
128717
                this.success = new ArrayList<RechargeDenomination>(_list401.size);
131150
                this.success = new ArrayList<RechargeDenomination>(_list405.size);
128718
                for (int _i402 = 0; _i402 < _list401.size; ++_i402)
131151
                for (int _i406 = 0; _i406 < _list405.size; ++_i406)
128719
                {
131152
                {
128720
                  RechargeDenomination _elem403; // required
131153
                  RechargeDenomination _elem407; // required
128721
                  _elem403 = new RechargeDenomination();
131154
                  _elem407 = new RechargeDenomination();
128722
                  _elem403.read(iprot);
131155
                  _elem407.read(iprot);
128723
                  this.success.add(_elem403);
131156
                  this.success.add(_elem407);
128724
                }
131157
                }
128725
                iprot.readListEnd();
131158
                iprot.readListEnd();
128726
              }
131159
              }
128727
            } else { 
131160
            } else { 
128728
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
131161
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 128750... Line 131183...
128750
 
131183
 
128751
      if (this.isSetSuccess()) {
131184
      if (this.isSetSuccess()) {
128752
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
131185
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
128753
        {
131186
        {
128754
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
131187
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
128755
          for (RechargeDenomination _iter404 : this.success)
131188
          for (RechargeDenomination _iter408 : this.success)
128756
          {
131189
          {
128757
            _iter404.write(oprot);
131190
            _iter408.write(oprot);
128758
          }
131191
          }
128759
          oprot.writeListEnd();
131192
          oprot.writeListEnd();
128760
        }
131193
        }
128761
        oprot.writeFieldEnd();
131194
        oprot.writeFieldEnd();
128762
      } else if (this.isSetEx()) {
131195
      } else if (this.isSetEx()) {
Line 129921... Line 132354...
129921
        }
132354
        }
129922
        switch (field.id) {
132355
        switch (field.id) {
129923
          case 0: // SUCCESS
132356
          case 0: // SUCCESS
129924
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
132357
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
129925
              {
132358
              {
129926
                org.apache.thrift.protocol.TList _list405 = iprot.readListBegin();
132359
                org.apache.thrift.protocol.TList _list409 = iprot.readListBegin();
129927
                this.success = new ArrayList<EmiScheme>(_list405.size);
132360
                this.success = new ArrayList<EmiScheme>(_list409.size);
129928
                for (int _i406 = 0; _i406 < _list405.size; ++_i406)
132361
                for (int _i410 = 0; _i410 < _list409.size; ++_i410)
129929
                {
132362
                {
129930
                  EmiScheme _elem407; // required
132363
                  EmiScheme _elem411; // required
129931
                  _elem407 = new EmiScheme();
132364
                  _elem411 = new EmiScheme();
129932
                  _elem407.read(iprot);
132365
                  _elem411.read(iprot);
129933
                  this.success.add(_elem407);
132366
                  this.success.add(_elem411);
129934
                }
132367
                }
129935
                iprot.readListEnd();
132368
                iprot.readListEnd();
129936
              }
132369
              }
129937
            } else { 
132370
            } else { 
129938
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
132371
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 129952... Line 132385...
129952
 
132385
 
129953
      if (this.isSetSuccess()) {
132386
      if (this.isSetSuccess()) {
129954
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
132387
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
129955
        {
132388
        {
129956
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
132389
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
129957
          for (EmiScheme _iter408 : this.success)
132390
          for (EmiScheme _iter412 : this.success)
129958
          {
132391
          {
129959
            _iter408.write(oprot);
132392
            _iter412.write(oprot);
129960
          }
132393
          }
129961
          oprot.writeListEnd();
132394
          oprot.writeListEnd();
129962
        }
132395
        }
129963
        oprot.writeFieldEnd();
132396
        oprot.writeFieldEnd();
129964
      }
132397
      }
Line 130551... Line 132984...
130551
        }
132984
        }
130552
        switch (field.id) {
132985
        switch (field.id) {
130553
          case 0: // SUCCESS
132986
          case 0: // SUCCESS
130554
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
132987
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
130555
              {
132988
              {
130556
                org.apache.thrift.protocol.TMap _map409 = iprot.readMapBegin();
132989
                org.apache.thrift.protocol.TMap _map413 = iprot.readMapBegin();
130557
                this.success = new HashMap<Long,Double>(2*_map409.size);
132990
                this.success = new HashMap<Long,Double>(2*_map413.size);
130558
                for (int _i410 = 0; _i410 < _map409.size; ++_i410)
132991
                for (int _i414 = 0; _i414 < _map413.size; ++_i414)
130559
                {
132992
                {
130560
                  long _key411; // required
132993
                  long _key415; // required
130561
                  double _val412; // required
132994
                  double _val416; // required
130562
                  _key411 = iprot.readI64();
132995
                  _key415 = iprot.readI64();
130563
                  _val412 = iprot.readDouble();
132996
                  _val416 = iprot.readDouble();
130564
                  this.success.put(_key411, _val412);
132997
                  this.success.put(_key415, _val416);
130565
                }
132998
                }
130566
                iprot.readMapEnd();
132999
                iprot.readMapEnd();
130567
              }
133000
              }
130568
            } else { 
133001
            } else { 
130569
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
133002
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 130583... Line 133016...
130583
 
133016
 
130584
      if (this.isSetSuccess()) {
133017
      if (this.isSetSuccess()) {
130585
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
133018
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
130586
        {
133019
        {
130587
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.success.size()));
133020
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.success.size()));
130588
          for (Map.Entry<Long, Double> _iter413 : this.success.entrySet())
133021
          for (Map.Entry<Long, Double> _iter417 : this.success.entrySet())
130589
          {
133022
          {
130590
            oprot.writeI64(_iter413.getKey());
133023
            oprot.writeI64(_iter417.getKey());
130591
            oprot.writeDouble(_iter413.getValue());
133024
            oprot.writeDouble(_iter417.getValue());
130592
          }
133025
          }
130593
          oprot.writeMapEnd();
133026
          oprot.writeMapEnd();
130594
        }
133027
        }
130595
        oprot.writeFieldEnd();
133028
        oprot.writeFieldEnd();
130596
      }
133029
      }
Line 131936... Line 134369...
131936
        }
134369
        }
131937
        switch (field.id) {
134370
        switch (field.id) {
131938
          case 0: // SUCCESS
134371
          case 0: // SUCCESS
131939
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
134372
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
131940
              {
134373
              {
131941
                org.apache.thrift.protocol.TList _list414 = iprot.readListBegin();
134374
                org.apache.thrift.protocol.TList _list418 = iprot.readListBegin();
131942
                this.success = new ArrayList<Order>(_list414.size);
134375
                this.success = new ArrayList<Order>(_list418.size);
131943
                for (int _i415 = 0; _i415 < _list414.size; ++_i415)
134376
                for (int _i419 = 0; _i419 < _list418.size; ++_i419)
131944
                {
134377
                {
131945
                  Order _elem416; // required
134378
                  Order _elem420; // required
131946
                  _elem416 = new Order();
134379
                  _elem420 = new Order();
131947
                  _elem416.read(iprot);
134380
                  _elem420.read(iprot);
131948
                  this.success.add(_elem416);
134381
                  this.success.add(_elem420);
131949
                }
134382
                }
131950
                iprot.readListEnd();
134383
                iprot.readListEnd();
131951
              }
134384
              }
131952
            } else { 
134385
            } else { 
131953
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
134386
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 131967... Line 134400...
131967
 
134400
 
131968
      if (this.isSetSuccess()) {
134401
      if (this.isSetSuccess()) {
131969
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
134402
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
131970
        {
134403
        {
131971
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
134404
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
131972
          for (Order _iter417 : this.success)
134405
          for (Order _iter421 : this.success)
131973
          {
134406
          {
131974
            _iter417.write(oprot);
134407
            _iter421.write(oprot);
131975
          }
134408
          }
131976
          oprot.writeListEnd();
134409
          oprot.writeListEnd();
131977
        }
134410
        }
131978
        oprot.writeFieldEnd();
134411
        oprot.writeFieldEnd();
131979
      }
134412
      }
Line 134948... Line 137381...
134948
        }
137381
        }
134949
        switch (field.id) {
137382
        switch (field.id) {
134950
          case 0: // SUCCESS
137383
          case 0: // SUCCESS
134951
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
137384
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
134952
              {
137385
              {
134953
                org.apache.thrift.protocol.TList _list418 = iprot.readListBegin();
137386
                org.apache.thrift.protocol.TList _list422 = iprot.readListBegin();
134954
                this.success = new ArrayList<String>(_list418.size);
137387
                this.success = new ArrayList<String>(_list422.size);
134955
                for (int _i419 = 0; _i419 < _list418.size; ++_i419)
137388
                for (int _i423 = 0; _i423 < _list422.size; ++_i423)
134956
                {
137389
                {
134957
                  String _elem420; // required
137390
                  String _elem424; // required
134958
                  _elem420 = iprot.readString();
137391
                  _elem424 = iprot.readString();
134959
                  this.success.add(_elem420);
137392
                  this.success.add(_elem424);
134960
                }
137393
                }
134961
                iprot.readListEnd();
137394
                iprot.readListEnd();
134962
              }
137395
              }
134963
            } else { 
137396
            } else { 
134964
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
137397
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 134978... Line 137411...
134978
 
137411
 
134979
      if (this.isSetSuccess()) {
137412
      if (this.isSetSuccess()) {
134980
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
137413
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
134981
        {
137414
        {
134982
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
137415
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
134983
          for (String _iter421 : this.success)
137416
          for (String _iter425 : this.success)
134984
          {
137417
          {
134985
            oprot.writeString(_iter421);
137418
            oprot.writeString(_iter425);
134986
          }
137419
          }
134987
          oprot.writeListEnd();
137420
          oprot.writeListEnd();
134988
        }
137421
        }
134989
        oprot.writeFieldEnd();
137422
        oprot.writeFieldEnd();
134990
      }
137423
      }
Line 136161... Line 138594...
136161
        }
138594
        }
136162
        switch (field.id) {
138595
        switch (field.id) {
136163
          case 0: // SUCCESS
138596
          case 0: // SUCCESS
136164
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
138597
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
136165
              {
138598
              {
136166
                org.apache.thrift.protocol.TList _list422 = iprot.readListBegin();
138599
                org.apache.thrift.protocol.TList _list426 = iprot.readListBegin();
136167
                this.success = new ArrayList<RechargeTransaction>(_list422.size);
138600
                this.success = new ArrayList<RechargeTransaction>(_list426.size);
136168
                for (int _i423 = 0; _i423 < _list422.size; ++_i423)
138601
                for (int _i427 = 0; _i427 < _list426.size; ++_i427)
136169
                {
138602
                {
136170
                  RechargeTransaction _elem424; // required
138603
                  RechargeTransaction _elem428; // required
136171
                  _elem424 = new RechargeTransaction();
138604
                  _elem428 = new RechargeTransaction();
136172
                  _elem424.read(iprot);
138605
                  _elem428.read(iprot);
136173
                  this.success.add(_elem424);
138606
                  this.success.add(_elem428);
136174
                }
138607
                }
136175
                iprot.readListEnd();
138608
                iprot.readListEnd();
136176
              }
138609
              }
136177
            } else { 
138610
            } else { 
136178
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
138611
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 136192... Line 138625...
136192
 
138625
 
136193
      if (this.isSetSuccess()) {
138626
      if (this.isSetSuccess()) {
136194
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
138627
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
136195
        {
138628
        {
136196
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
138629
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
136197
          for (RechargeTransaction _iter425 : this.success)
138630
          for (RechargeTransaction _iter429 : this.success)
136198
          {
138631
          {
136199
            _iter425.write(oprot);
138632
            _iter429.write(oprot);
136200
          }
138633
          }
136201
          oprot.writeListEnd();
138634
          oprot.writeListEnd();
136202
        }
138635
        }
136203
        oprot.writeFieldEnd();
138636
        oprot.writeFieldEnd();
136204
      }
138637
      }
Line 137052... Line 139485...
137052
        }
139485
        }
137053
        switch (field.id) {
139486
        switch (field.id) {
137054
          case 0: // SUCCESS
139487
          case 0: // SUCCESS
137055
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
139488
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
137056
              {
139489
              {
137057
                org.apache.thrift.protocol.TList _list426 = iprot.readListBegin();
139490
                org.apache.thrift.protocol.TList _list430 = iprot.readListBegin();
137058
                this.success = new ArrayList<RechargeTransaction>(_list426.size);
139491
                this.success = new ArrayList<RechargeTransaction>(_list430.size);
137059
                for (int _i427 = 0; _i427 < _list426.size; ++_i427)
139492
                for (int _i431 = 0; _i431 < _list430.size; ++_i431)
137060
                {
139493
                {
137061
                  RechargeTransaction _elem428; // required
139494
                  RechargeTransaction _elem432; // required
137062
                  _elem428 = new RechargeTransaction();
139495
                  _elem432 = new RechargeTransaction();
137063
                  _elem428.read(iprot);
139496
                  _elem432.read(iprot);
137064
                  this.success.add(_elem428);
139497
                  this.success.add(_elem432);
137065
                }
139498
                }
137066
                iprot.readListEnd();
139499
                iprot.readListEnd();
137067
              }
139500
              }
137068
            } else { 
139501
            } else { 
137069
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
139502
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 137083... Line 139516...
137083
 
139516
 
137084
      if (this.isSetSuccess()) {
139517
      if (this.isSetSuccess()) {
137085
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
139518
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
137086
        {
139519
        {
137087
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
139520
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
137088
          for (RechargeTransaction _iter429 : this.success)
139521
          for (RechargeTransaction _iter433 : this.success)
137089
          {
139522
          {
137090
            _iter429.write(oprot);
139523
            _iter433.write(oprot);
137091
          }
139524
          }
137092
          oprot.writeListEnd();
139525
          oprot.writeListEnd();
137093
        }
139526
        }
137094
        oprot.writeFieldEnd();
139527
        oprot.writeFieldEnd();
137095
      }
139528
      }
Line 138348... Line 140781...
138348
        }
140781
        }
138349
        switch (field.id) {
140782
        switch (field.id) {
138350
          case 0: // SUCCESS
140783
          case 0: // SUCCESS
138351
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
140784
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
138352
              {
140785
              {
138353
                org.apache.thrift.protocol.TList _list430 = iprot.readListBegin();
140786
                org.apache.thrift.protocol.TList _list434 = iprot.readListBegin();
138354
                this.success = new ArrayList<FRC>(_list430.size);
140787
                this.success = new ArrayList<FRC>(_list434.size);
138355
                for (int _i431 = 0; _i431 < _list430.size; ++_i431)
140788
                for (int _i435 = 0; _i435 < _list434.size; ++_i435)
138356
                {
140789
                {
138357
                  FRC _elem432; // required
140790
                  FRC _elem436; // required
138358
                  _elem432 = new FRC();
140791
                  _elem436 = new FRC();
138359
                  _elem432.read(iprot);
140792
                  _elem436.read(iprot);
138360
                  this.success.add(_elem432);
140793
                  this.success.add(_elem436);
138361
                }
140794
                }
138362
                iprot.readListEnd();
140795
                iprot.readListEnd();
138363
              }
140796
              }
138364
            } else { 
140797
            } else { 
138365
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
140798
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 138379... Line 140812...
138379
 
140812
 
138380
      if (this.isSetSuccess()) {
140813
      if (this.isSetSuccess()) {
138381
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
140814
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
138382
        {
140815
        {
138383
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
140816
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
138384
          for (FRC _iter433 : this.success)
140817
          for (FRC _iter437 : this.success)
138385
          {
140818
          {
138386
            _iter433.write(oprot);
140819
            _iter437.write(oprot);
138387
          }
140820
          }
138388
          oprot.writeListEnd();
140821
          oprot.writeListEnd();
138389
        }
140822
        }
138390
        oprot.writeFieldEnd();
140823
        oprot.writeFieldEnd();
138391
      }
140824
      }
Line 141769... Line 144202...
141769
        }
144202
        }
141770
        switch (field.id) {
144203
        switch (field.id) {
141771
          case 0: // SUCCESS
144204
          case 0: // SUCCESS
141772
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
144205
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
141773
              {
144206
              {
141774
                org.apache.thrift.protocol.TList _list434 = iprot.readListBegin();
144207
                org.apache.thrift.protocol.TList _list438 = iprot.readListBegin();
141775
                this.success = new ArrayList<RechargeTransaction>(_list434.size);
144208
                this.success = new ArrayList<RechargeTransaction>(_list438.size);
141776
                for (int _i435 = 0; _i435 < _list434.size; ++_i435)
144209
                for (int _i439 = 0; _i439 < _list438.size; ++_i439)
141777
                {
144210
                {
141778
                  RechargeTransaction _elem436; // required
144211
                  RechargeTransaction _elem440; // required
141779
                  _elem436 = new RechargeTransaction();
144212
                  _elem440 = new RechargeTransaction();
141780
                  _elem436.read(iprot);
144213
                  _elem440.read(iprot);
141781
                  this.success.add(_elem436);
144214
                  this.success.add(_elem440);
141782
                }
144215
                }
141783
                iprot.readListEnd();
144216
                iprot.readListEnd();
141784
              }
144217
              }
141785
            } else { 
144218
            } else { 
141786
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
144219
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 141800... Line 144233...
141800
 
144233
 
141801
      if (this.isSetSuccess()) {
144234
      if (this.isSetSuccess()) {
141802
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
144235
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
141803
        {
144236
        {
141804
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
144237
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
141805
          for (RechargeTransaction _iter437 : this.success)
144238
          for (RechargeTransaction _iter441 : this.success)
141806
          {
144239
          {
141807
            _iter437.write(oprot);
144240
            _iter441.write(oprot);
141808
          }
144241
          }
141809
          oprot.writeListEnd();
144242
          oprot.writeListEnd();
141810
        }
144243
        }
141811
        oprot.writeFieldEnd();
144244
        oprot.writeFieldEnd();
141812
      }
144245
      }
Line 145313... Line 147746...
145313
        }
147746
        }
145314
        switch (field.id) {
147747
        switch (field.id) {
145315
          case 0: // SUCCESS
147748
          case 0: // SUCCESS
145316
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
147749
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
145317
              {
147750
              {
145318
                org.apache.thrift.protocol.TList _list438 = iprot.readListBegin();
147751
                org.apache.thrift.protocol.TList _list442 = iprot.readListBegin();
145319
                this.success = new ArrayList<TelecomCircle>(_list438.size);
147752
                this.success = new ArrayList<TelecomCircle>(_list442.size);
145320
                for (int _i439 = 0; _i439 < _list438.size; ++_i439)
147753
                for (int _i443 = 0; _i443 < _list442.size; ++_i443)
145321
                {
147754
                {
145322
                  TelecomCircle _elem440; // required
147755
                  TelecomCircle _elem444; // required
145323
                  _elem440 = new TelecomCircle();
147756
                  _elem444 = new TelecomCircle();
145324
                  _elem440.read(iprot);
147757
                  _elem444.read(iprot);
145325
                  this.success.add(_elem440);
147758
                  this.success.add(_elem444);
145326
                }
147759
                }
145327
                iprot.readListEnd();
147760
                iprot.readListEnd();
145328
              }
147761
              }
145329
            } else { 
147762
            } else { 
145330
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
147763
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 145344... Line 147777...
145344
 
147777
 
145345
      if (this.isSetSuccess()) {
147778
      if (this.isSetSuccess()) {
145346
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
147779
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
145347
        {
147780
        {
145348
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
147781
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
145349
          for (TelecomCircle _iter441 : this.success)
147782
          for (TelecomCircle _iter445 : this.success)
145350
          {
147783
          {
145351
            _iter441.write(oprot);
147784
            _iter445.write(oprot);
145352
          }
147785
          }
145353
          oprot.writeListEnd();
147786
          oprot.writeListEnd();
145354
        }
147787
        }
145355
        oprot.writeFieldEnd();
147788
        oprot.writeFieldEnd();
145356
      }
147789
      }
Line 145644... Line 148077...
145644
        }
148077
        }
145645
        switch (field.id) {
148078
        switch (field.id) {
145646
          case 1: // FRC_IDS_TO_DELETE
148079
          case 1: // FRC_IDS_TO_DELETE
145647
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
148080
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
145648
              {
148081
              {
145649
                org.apache.thrift.protocol.TList _list442 = iprot.readListBegin();
148082
                org.apache.thrift.protocol.TList _list446 = iprot.readListBegin();
145650
                this.frcIdsToDelete = new ArrayList<Long>(_list442.size);
148083
                this.frcIdsToDelete = new ArrayList<Long>(_list446.size);
145651
                for (int _i443 = 0; _i443 < _list442.size; ++_i443)
148084
                for (int _i447 = 0; _i447 < _list446.size; ++_i447)
145652
                {
148085
                {
145653
                  long _elem444; // required
148086
                  long _elem448; // required
145654
                  _elem444 = iprot.readI64();
148087
                  _elem448 = iprot.readI64();
145655
                  this.frcIdsToDelete.add(_elem444);
148088
                  this.frcIdsToDelete.add(_elem448);
145656
                }
148089
                }
145657
                iprot.readListEnd();
148090
                iprot.readListEnd();
145658
              }
148091
              }
145659
            } else { 
148092
            } else { 
145660
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
148093
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 145675... Line 148108...
145675
      oprot.writeStructBegin(STRUCT_DESC);
148108
      oprot.writeStructBegin(STRUCT_DESC);
145676
      if (this.frcIdsToDelete != null) {
148109
      if (this.frcIdsToDelete != null) {
145677
        oprot.writeFieldBegin(FRC_IDS_TO_DELETE_FIELD_DESC);
148110
        oprot.writeFieldBegin(FRC_IDS_TO_DELETE_FIELD_DESC);
145678
        {
148111
        {
145679
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.frcIdsToDelete.size()));
148112
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.frcIdsToDelete.size()));
145680
          for (long _iter445 : this.frcIdsToDelete)
148113
          for (long _iter449 : this.frcIdsToDelete)
145681
          {
148114
          {
145682
            oprot.writeI64(_iter445);
148115
            oprot.writeI64(_iter449);
145683
          }
148116
          }
145684
          oprot.writeListEnd();
148117
          oprot.writeListEnd();
145685
        }
148118
        }
145686
        oprot.writeFieldEnd();
148119
        oprot.writeFieldEnd();
145687
      }
148120
      }
Line 147637... Line 150070...
147637
        }
150070
        }
147638
        switch (field.id) {
150071
        switch (field.id) {
147639
          case 0: // SUCCESS
150072
          case 0: // SUCCESS
147640
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
150073
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
147641
              {
150074
              {
147642
                org.apache.thrift.protocol.TList _list446 = iprot.readListBegin();
150075
                org.apache.thrift.protocol.TList _list450 = iprot.readListBegin();
147643
                this.success = new ArrayList<Order>(_list446.size);
150076
                this.success = new ArrayList<Order>(_list450.size);
147644
                for (int _i447 = 0; _i447 < _list446.size; ++_i447)
150077
                for (int _i451 = 0; _i451 < _list450.size; ++_i451)
147645
                {
150078
                {
147646
                  Order _elem448; // required
150079
                  Order _elem452; // required
147647
                  _elem448 = new Order();
150080
                  _elem452 = new Order();
147648
                  _elem448.read(iprot);
150081
                  _elem452.read(iprot);
147649
                  this.success.add(_elem448);
150082
                  this.success.add(_elem452);
147650
                }
150083
                }
147651
                iprot.readListEnd();
150084
                iprot.readListEnd();
147652
              }
150085
              }
147653
            } else { 
150086
            } else { 
147654
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
150087
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 147668... Line 150101...
147668
 
150101
 
147669
      if (this.isSetSuccess()) {
150102
      if (this.isSetSuccess()) {
147670
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
150103
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
147671
        {
150104
        {
147672
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
150105
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
147673
          for (Order _iter449 : this.success)
150106
          for (Order _iter453 : this.success)
147674
          {
150107
          {
147675
            _iter449.write(oprot);
150108
            _iter453.write(oprot);
147676
          }
150109
          }
147677
          oprot.writeListEnd();
150110
          oprot.writeListEnd();
147678
        }
150111
        }
147679
        oprot.writeFieldEnd();
150112
        oprot.writeFieldEnd();
147680
      }
150113
      }
Line 148262... Line 150695...
148262
        }
150695
        }
148263
        switch (field.id) {
150696
        switch (field.id) {
148264
          case 0: // SUCCESS
150697
          case 0: // SUCCESS
148265
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
150698
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
148266
              {
150699
              {
148267
                org.apache.thrift.protocol.TList _list450 = iprot.readListBegin();
150700
                org.apache.thrift.protocol.TList _list454 = iprot.readListBegin();
148268
                this.success = new ArrayList<Order>(_list450.size);
150701
                this.success = new ArrayList<Order>(_list454.size);
148269
                for (int _i451 = 0; _i451 < _list450.size; ++_i451)
150702
                for (int _i455 = 0; _i455 < _list454.size; ++_i455)
148270
                {
150703
                {
148271
                  Order _elem452; // required
150704
                  Order _elem456; // required
148272
                  _elem452 = new Order();
150705
                  _elem456 = new Order();
148273
                  _elem452.read(iprot);
150706
                  _elem456.read(iprot);
148274
                  this.success.add(_elem452);
150707
                  this.success.add(_elem456);
148275
                }
150708
                }
148276
                iprot.readListEnd();
150709
                iprot.readListEnd();
148277
              }
150710
              }
148278
            } else { 
150711
            } else { 
148279
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
150712
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 148293... Line 150726...
148293
 
150726
 
148294
      if (this.isSetSuccess()) {
150727
      if (this.isSetSuccess()) {
148295
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
150728
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
148296
        {
150729
        {
148297
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
150730
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
148298
          for (Order _iter453 : this.success)
150731
          for (Order _iter457 : this.success)
148299
          {
150732
          {
148300
            _iter453.write(oprot);
150733
            _iter457.write(oprot);
148301
          }
150734
          }
148302
          oprot.writeListEnd();
150735
          oprot.writeListEnd();
148303
        }
150736
        }
148304
        oprot.writeFieldEnd();
150737
        oprot.writeFieldEnd();
148305
      }
150738
      }
Line 149475... Line 151908...
149475
        }
151908
        }
149476
        switch (field.id) {
151909
        switch (field.id) {
149477
          case 0: // SUCCESS
151910
          case 0: // SUCCESS
149478
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
151911
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
149479
              {
151912
              {
149480
                org.apache.thrift.protocol.TList _list454 = iprot.readListBegin();
151913
                org.apache.thrift.protocol.TList _list458 = iprot.readListBegin();
149481
                this.success = new ArrayList<AmazonOrder>(_list454.size);
151914
                this.success = new ArrayList<AmazonOrder>(_list458.size);
149482
                for (int _i455 = 0; _i455 < _list454.size; ++_i455)
151915
                for (int _i459 = 0; _i459 < _list458.size; ++_i459)
149483
                {
151916
                {
149484
                  AmazonOrder _elem456; // required
151917
                  AmazonOrder _elem460; // required
149485
                  _elem456 = new AmazonOrder();
151918
                  _elem460 = new AmazonOrder();
149486
                  _elem456.read(iprot);
151919
                  _elem460.read(iprot);
149487
                  this.success.add(_elem456);
151920
                  this.success.add(_elem460);
149488
                }
151921
                }
149489
                iprot.readListEnd();
151922
                iprot.readListEnd();
149490
              }
151923
              }
149491
            } else { 
151924
            } else { 
149492
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
151925
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 149506... Line 151939...
149506
 
151939
 
149507
      if (this.isSetSuccess()) {
151940
      if (this.isSetSuccess()) {
149508
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
151941
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
149509
        {
151942
        {
149510
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
151943
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
149511
          for (AmazonOrder _iter457 : this.success)
151944
          for (AmazonOrder _iter461 : this.success)
149512
          {
151945
          {
149513
            _iter457.write(oprot);
151946
            _iter461.write(oprot);
149514
          }
151947
          }
149515
          oprot.writeListEnd();
151948
          oprot.writeListEnd();
149516
        }
151949
        }
149517
        oprot.writeFieldEnd();
151950
        oprot.writeFieldEnd();
149518
      }
151951
      }
Line 150113... Line 152546...
150113
            }
152546
            }
150114
            break;
152547
            break;
150115
          case 5: // STATUSES
152548
          case 5: // STATUSES
150116
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
152549
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
150117
              {
152550
              {
150118
                org.apache.thrift.protocol.TList _list458 = iprot.readListBegin();
152551
                org.apache.thrift.protocol.TList _list462 = iprot.readListBegin();
150119
                this.statuses = new ArrayList<OrderStatus>(_list458.size);
152552
                this.statuses = new ArrayList<OrderStatus>(_list462.size);
150120
                for (int _i459 = 0; _i459 < _list458.size; ++_i459)
152553
                for (int _i463 = 0; _i463 < _list462.size; ++_i463)
150121
                {
152554
                {
150122
                  OrderStatus _elem460; // required
152555
                  OrderStatus _elem464; // required
150123
                  _elem460 = OrderStatus.findByValue(iprot.readI32());
152556
                  _elem464 = OrderStatus.findByValue(iprot.readI32());
150124
                  this.statuses.add(_elem460);
152557
                  this.statuses.add(_elem464);
150125
                }
152558
                }
150126
                iprot.readListEnd();
152559
                iprot.readListEnd();
150127
              }
152560
              }
150128
            } else { 
152561
            } else { 
150129
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
152562
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 150156... Line 152589...
150156
      oprot.writeFieldEnd();
152589
      oprot.writeFieldEnd();
150157
      if (this.statuses != null) {
152590
      if (this.statuses != null) {
150158
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
152591
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
150159
        {
152592
        {
150160
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
152593
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
150161
          for (OrderStatus _iter461 : this.statuses)
152594
          for (OrderStatus _iter465 : this.statuses)
150162
          {
152595
          {
150163
            oprot.writeI32(_iter461.getValue());
152596
            oprot.writeI32(_iter465.getValue());
150164
          }
152597
          }
150165
          oprot.writeListEnd();
152598
          oprot.writeListEnd();
150166
        }
152599
        }
150167
        oprot.writeFieldEnd();
152600
        oprot.writeFieldEnd();
150168
      }
152601
      }
Line 150474... Line 152907...
150474
        }
152907
        }
150475
        switch (field.id) {
152908
        switch (field.id) {
150476
          case 0: // SUCCESS
152909
          case 0: // SUCCESS
150477
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
152910
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
150478
              {
152911
              {
150479
                org.apache.thrift.protocol.TList _list462 = iprot.readListBegin();
152912
                org.apache.thrift.protocol.TList _list466 = iprot.readListBegin();
150480
                this.success = new ArrayList<Order>(_list462.size);
152913
                this.success = new ArrayList<Order>(_list466.size);
150481
                for (int _i463 = 0; _i463 < _list462.size; ++_i463)
152914
                for (int _i467 = 0; _i467 < _list466.size; ++_i467)
150482
                {
152915
                {
150483
                  Order _elem464; // required
152916
                  Order _elem468; // required
150484
                  _elem464 = new Order();
152917
                  _elem468 = new Order();
150485
                  _elem464.read(iprot);
152918
                  _elem468.read(iprot);
150486
                  this.success.add(_elem464);
152919
                  this.success.add(_elem468);
150487
                }
152920
                }
150488
                iprot.readListEnd();
152921
                iprot.readListEnd();
150489
              }
152922
              }
150490
            } else { 
152923
            } else { 
150491
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
152924
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 150505... Line 152938...
150505
 
152938
 
150506
      if (this.isSetSuccess()) {
152939
      if (this.isSetSuccess()) {
150507
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
152940
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
150508
        {
152941
        {
150509
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
152942
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
150510
          for (Order _iter465 : this.success)
152943
          for (Order _iter469 : this.success)
150511
          {
152944
          {
150512
            _iter465.write(oprot);
152945
            _iter469.write(oprot);
150513
          }
152946
          }
150514
          oprot.writeListEnd();
152947
          oprot.writeListEnd();
150515
        }
152948
        }
150516
        oprot.writeFieldEnd();
152949
        oprot.writeFieldEnd();
150517
      }
152950
      }
Line 154533... Line 156966...
154533
        }
156966
        }
154534
        switch (field.id) {
156967
        switch (field.id) {
154535
          case 0: // SUCCESS
156968
          case 0: // SUCCESS
154536
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
156969
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
154537
              {
156970
              {
154538
                org.apache.thrift.protocol.TList _list466 = iprot.readListBegin();
156971
                org.apache.thrift.protocol.TList _list470 = iprot.readListBegin();
154539
                this.success = new ArrayList<String>(_list466.size);
156972
                this.success = new ArrayList<String>(_list470.size);
154540
                for (int _i467 = 0; _i467 < _list466.size; ++_i467)
156973
                for (int _i471 = 0; _i471 < _list470.size; ++_i471)
154541
                {
156974
                {
154542
                  String _elem468; // required
156975
                  String _elem472; // required
154543
                  _elem468 = iprot.readString();
156976
                  _elem472 = iprot.readString();
154544
                  this.success.add(_elem468);
156977
                  this.success.add(_elem472);
154545
                }
156978
                }
154546
                iprot.readListEnd();
156979
                iprot.readListEnd();
154547
              }
156980
              }
154548
            } else { 
156981
            } else { 
154549
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
156982
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 154563... Line 156996...
154563
 
156996
 
154564
      if (this.isSetSuccess()) {
156997
      if (this.isSetSuccess()) {
154565
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
156998
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
154566
        {
156999
        {
154567
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
157000
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
154568
          for (String _iter469 : this.success)
157001
          for (String _iter473 : this.success)
154569
          {
157002
          {
154570
            oprot.writeString(_iter469);
157003
            oprot.writeString(_iter473);
154571
          }
157004
          }
154572
          oprot.writeListEnd();
157005
          oprot.writeListEnd();
154573
        }
157006
        }
154574
        oprot.writeFieldEnd();
157007
        oprot.writeFieldEnd();
154575
      }
157008
      }
Line 156159... Line 158592...
156159
        }
158592
        }
156160
        switch (field.id) {
158593
        switch (field.id) {
156161
          case 0: // SUCCESS
158594
          case 0: // SUCCESS
156162
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
158595
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
156163
              {
158596
              {
156164
                org.apache.thrift.protocol.TList _list470 = iprot.readListBegin();
158597
                org.apache.thrift.protocol.TList _list474 = iprot.readListBegin();
156165
                this.success = new ArrayList<StoreOrderCollection>(_list470.size);
158598
                this.success = new ArrayList<StoreOrderCollection>(_list474.size);
156166
                for (int _i471 = 0; _i471 < _list470.size; ++_i471)
158599
                for (int _i475 = 0; _i475 < _list474.size; ++_i475)
156167
                {
158600
                {
156168
                  StoreOrderCollection _elem472; // required
158601
                  StoreOrderCollection _elem476; // required
156169
                  _elem472 = new StoreOrderCollection();
158602
                  _elem476 = new StoreOrderCollection();
156170
                  _elem472.read(iprot);
158603
                  _elem476.read(iprot);
156171
                  this.success.add(_elem472);
158604
                  this.success.add(_elem476);
156172
                }
158605
                }
156173
                iprot.readListEnd();
158606
                iprot.readListEnd();
156174
              }
158607
              }
156175
            } else { 
158608
            } else { 
156176
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
158609
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 156190... Line 158623...
156190
 
158623
 
156191
      if (this.isSetSuccess()) {
158624
      if (this.isSetSuccess()) {
156192
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
158625
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
156193
        {
158626
        {
156194
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
158627
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
156195
          for (StoreOrderCollection _iter473 : this.success)
158628
          for (StoreOrderCollection _iter477 : this.success)
156196
          {
158629
          {
156197
            _iter473.write(oprot);
158630
            _iter477.write(oprot);
156198
          }
158631
          }
156199
          oprot.writeListEnd();
158632
          oprot.writeListEnd();
156200
        }
158633
        }
156201
        oprot.writeFieldEnd();
158634
        oprot.writeFieldEnd();
156202
      }
158635
      }
Line 156796... Line 159229...
156796
        }
159229
        }
156797
        switch (field.id) {
159230
        switch (field.id) {
156798
          case 0: // SUCCESS
159231
          case 0: // SUCCESS
156799
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
159232
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
156800
              {
159233
              {
156801
                org.apache.thrift.protocol.TList _list474 = iprot.readListBegin();
159234
                org.apache.thrift.protocol.TList _list478 = iprot.readListBegin();
156802
                this.success = new ArrayList<AmazonOrdersToAcknowledge>(_list474.size);
159235
                this.success = new ArrayList<AmazonOrdersToAcknowledge>(_list478.size);
156803
                for (int _i475 = 0; _i475 < _list474.size; ++_i475)
159236
                for (int _i479 = 0; _i479 < _list478.size; ++_i479)
156804
                {
159237
                {
156805
                  AmazonOrdersToAcknowledge _elem476; // required
159238
                  AmazonOrdersToAcknowledge _elem480; // required
156806
                  _elem476 = new AmazonOrdersToAcknowledge();
159239
                  _elem480 = new AmazonOrdersToAcknowledge();
156807
                  _elem476.read(iprot);
159240
                  _elem480.read(iprot);
156808
                  this.success.add(_elem476);
159241
                  this.success.add(_elem480);
156809
                }
159242
                }
156810
                iprot.readListEnd();
159243
                iprot.readListEnd();
156811
              }
159244
              }
156812
            } else { 
159245
            } else { 
156813
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
159246
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 156827... Line 159260...
156827
 
159260
 
156828
      if (this.isSetSuccess()) {
159261
      if (this.isSetSuccess()) {
156829
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
159262
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
156830
        {
159263
        {
156831
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
159264
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
156832
          for (AmazonOrdersToAcknowledge _iter477 : this.success)
159265
          for (AmazonOrdersToAcknowledge _iter481 : this.success)
156833
          {
159266
          {
156834
            _iter477.write(oprot);
159267
            _iter481.write(oprot);
156835
          }
159268
          }
156836
          oprot.writeListEnd();
159269
          oprot.writeListEnd();
156837
        }
159270
        }
156838
        oprot.writeFieldEnd();
159271
        oprot.writeFieldEnd();
156839
      }
159272
      }
Line 157726... Line 160159...
157726
        }
160159
        }
157727
        switch (field.id) {
160160
        switch (field.id) {
157728
          case 1: // AMAZON_ORDER_DELIVERY
160161
          case 1: // AMAZON_ORDER_DELIVERY
157729
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
160162
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
157730
              {
160163
              {
157731
                org.apache.thrift.protocol.TMap _map478 = iprot.readMapBegin();
160164
                org.apache.thrift.protocol.TMap _map482 = iprot.readMapBegin();
157732
                this.amazonOrderDelivery = new HashMap<Long,Map<String,String>>(2*_map478.size);
160165
                this.amazonOrderDelivery = new HashMap<Long,Map<String,String>>(2*_map482.size);
157733
                for (int _i479 = 0; _i479 < _map478.size; ++_i479)
160166
                for (int _i483 = 0; _i483 < _map482.size; ++_i483)
157734
                {
160167
                {
157735
                  long _key480; // required
160168
                  long _key484; // required
157736
                  Map<String,String> _val481; // required
160169
                  Map<String,String> _val485; // required
157737
                  _key480 = iprot.readI64();
160170
                  _key484 = iprot.readI64();
157738
                  {
160171
                  {
157739
                    org.apache.thrift.protocol.TMap _map482 = iprot.readMapBegin();
160172
                    org.apache.thrift.protocol.TMap _map486 = iprot.readMapBegin();
157740
                    _val481 = new HashMap<String,String>(2*_map482.size);
160173
                    _val485 = new HashMap<String,String>(2*_map486.size);
157741
                    for (int _i483 = 0; _i483 < _map482.size; ++_i483)
160174
                    for (int _i487 = 0; _i487 < _map486.size; ++_i487)
157742
                    {
160175
                    {
157743
                      String _key484; // required
160176
                      String _key488; // required
157744
                      String _val485; // required
160177
                      String _val489; // required
157745
                      _key484 = iprot.readString();
160178
                      _key488 = iprot.readString();
157746
                      _val485 = iprot.readString();
160179
                      _val489 = iprot.readString();
157747
                      _val481.put(_key484, _val485);
160180
                      _val485.put(_key488, _val489);
157748
                    }
160181
                    }
157749
                    iprot.readMapEnd();
160182
                    iprot.readMapEnd();
157750
                  }
160183
                  }
157751
                  this.amazonOrderDelivery.put(_key480, _val481);
160184
                  this.amazonOrderDelivery.put(_key484, _val485);
157752
                }
160185
                }
157753
                iprot.readMapEnd();
160186
                iprot.readMapEnd();
157754
              }
160187
              }
157755
            } else { 
160188
            } else { 
157756
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
160189
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 157771... Line 160204...
157771
      oprot.writeStructBegin(STRUCT_DESC);
160204
      oprot.writeStructBegin(STRUCT_DESC);
157772
      if (this.amazonOrderDelivery != null) {
160205
      if (this.amazonOrderDelivery != null) {
157773
        oprot.writeFieldBegin(AMAZON_ORDER_DELIVERY_FIELD_DESC);
160206
        oprot.writeFieldBegin(AMAZON_ORDER_DELIVERY_FIELD_DESC);
157774
        {
160207
        {
157775
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.amazonOrderDelivery.size()));
160208
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.amazonOrderDelivery.size()));
157776
          for (Map.Entry<Long, Map<String,String>> _iter486 : this.amazonOrderDelivery.entrySet())
160209
          for (Map.Entry<Long, Map<String,String>> _iter490 : this.amazonOrderDelivery.entrySet())
157777
          {
160210
          {
157778
            oprot.writeI64(_iter486.getKey());
160211
            oprot.writeI64(_iter490.getKey());
157779
            {
160212
            {
157780
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter486.getValue().size()));
160213
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter490.getValue().size()));
157781
              for (Map.Entry<String, String> _iter487 : _iter486.getValue().entrySet())
160214
              for (Map.Entry<String, String> _iter491 : _iter490.getValue().entrySet())
157782
              {
160215
              {
157783
                oprot.writeString(_iter487.getKey());
160216
                oprot.writeString(_iter491.getKey());
157784
                oprot.writeString(_iter487.getValue());
160217
                oprot.writeString(_iter491.getValue());
157785
              }
160218
              }
157786
              oprot.writeMapEnd();
160219
              oprot.writeMapEnd();
157787
            }
160220
            }
157788
          }
160221
          }
157789
          oprot.writeMapEnd();
160222
          oprot.writeMapEnd();
Line 159337... Line 161770...
159337
        }
161770
        }
159338
        switch (field.id) {
161771
        switch (field.id) {
159339
          case 0: // SUCCESS
161772
          case 0: // SUCCESS
159340
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
161773
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
159341
              {
161774
              {
159342
                org.apache.thrift.protocol.TList _list488 = iprot.readListBegin();
161775
                org.apache.thrift.protocol.TList _list492 = iprot.readListBegin();
159343
                this.success = new ArrayList<Order>(_list488.size);
161776
                this.success = new ArrayList<Order>(_list492.size);
159344
                for (int _i489 = 0; _i489 < _list488.size; ++_i489)
161777
                for (int _i493 = 0; _i493 < _list492.size; ++_i493)
159345
                {
161778
                {
159346
                  Order _elem490; // required
161779
                  Order _elem494; // required
159347
                  _elem490 = new Order();
161780
                  _elem494 = new Order();
159348
                  _elem490.read(iprot);
161781
                  _elem494.read(iprot);
159349
                  this.success.add(_elem490);
161782
                  this.success.add(_elem494);
159350
                }
161783
                }
159351
                iprot.readListEnd();
161784
                iprot.readListEnd();
159352
              }
161785
              }
159353
            } else { 
161786
            } else { 
159354
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
161787
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 159368... Line 161801...
159368
 
161801
 
159369
      if (this.isSetSuccess()) {
161802
      if (this.isSetSuccess()) {
159370
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
161803
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
159371
        {
161804
        {
159372
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
161805
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
159373
          for (Order _iter491 : this.success)
161806
          for (Order _iter495 : this.success)
159374
          {
161807
          {
159375
            _iter491.write(oprot);
161808
            _iter495.write(oprot);
159376
          }
161809
          }
159377
          oprot.writeListEnd();
161810
          oprot.writeListEnd();
159378
        }
161811
        }
159379
        oprot.writeFieldEnd();
161812
        oprot.writeFieldEnd();
159380
      }
161813
      }
Line 159962... Line 162395...
159962
        }
162395
        }
159963
        switch (field.id) {
162396
        switch (field.id) {
159964
          case 0: // SUCCESS
162397
          case 0: // SUCCESS
159965
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
162398
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
159966
              {
162399
              {
159967
                org.apache.thrift.protocol.TList _list492 = iprot.readListBegin();
162400
                org.apache.thrift.protocol.TList _list496 = iprot.readListBegin();
159968
                this.success = new ArrayList<Order>(_list492.size);
162401
                this.success = new ArrayList<Order>(_list496.size);
159969
                for (int _i493 = 0; _i493 < _list492.size; ++_i493)
162402
                for (int _i497 = 0; _i497 < _list496.size; ++_i497)
159970
                {
162403
                {
159971
                  Order _elem494; // required
162404
                  Order _elem498; // required
159972
                  _elem494 = new Order();
162405
                  _elem498 = new Order();
159973
                  _elem494.read(iprot);
162406
                  _elem498.read(iprot);
159974
                  this.success.add(_elem494);
162407
                  this.success.add(_elem498);
159975
                }
162408
                }
159976
                iprot.readListEnd();
162409
                iprot.readListEnd();
159977
              }
162410
              }
159978
            } else { 
162411
            } else { 
159979
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
162412
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 159993... Line 162426...
159993
 
162426
 
159994
      if (this.isSetSuccess()) {
162427
      if (this.isSetSuccess()) {
159995
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
162428
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
159996
        {
162429
        {
159997
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
162430
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
159998
          for (Order _iter495 : this.success)
162431
          for (Order _iter499 : this.success)
159999
          {
162432
          {
160000
            _iter495.write(oprot);
162433
            _iter499.write(oprot);
160001
          }
162434
          }
160002
          oprot.writeListEnd();
162435
          oprot.writeListEnd();
160003
        }
162436
        }
160004
        oprot.writeFieldEnd();
162437
        oprot.writeFieldEnd();
160005
      }
162438
      }
Line 161751... Line 164184...
161751
        }
164184
        }
161752
        switch (field.id) {
164185
        switch (field.id) {
161753
          case 0: // SUCCESS
164186
          case 0: // SUCCESS
161754
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
164187
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
161755
              {
164188
              {
161756
                org.apache.thrift.protocol.TList _list496 = iprot.readListBegin();
164189
                org.apache.thrift.protocol.TList _list500 = iprot.readListBegin();
161757
                this.success = new ArrayList<HotspotServiceMatrix>(_list496.size);
164190
                this.success = new ArrayList<HotspotServiceMatrix>(_list500.size);
161758
                for (int _i497 = 0; _i497 < _list496.size; ++_i497)
164191
                for (int _i501 = 0; _i501 < _list500.size; ++_i501)
161759
                {
164192
                {
161760
                  HotspotServiceMatrix _elem498; // required
164193
                  HotspotServiceMatrix _elem502; // required
161761
                  _elem498 = new HotspotServiceMatrix();
164194
                  _elem502 = new HotspotServiceMatrix();
161762
                  _elem498.read(iprot);
164195
                  _elem502.read(iprot);
161763
                  this.success.add(_elem498);
164196
                  this.success.add(_elem502);
161764
                }
164197
                }
161765
                iprot.readListEnd();
164198
                iprot.readListEnd();
161766
              }
164199
              }
161767
            } else { 
164200
            } else { 
161768
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
164201
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 161782... Line 164215...
161782
 
164215
 
161783
      if (this.isSetSuccess()) {
164216
      if (this.isSetSuccess()) {
161784
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
164217
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
161785
        {
164218
        {
161786
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
164219
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
161787
          for (HotspotServiceMatrix _iter499 : this.success)
164220
          for (HotspotServiceMatrix _iter503 : this.success)
161788
          {
164221
          {
161789
            _iter499.write(oprot);
164222
            _iter503.write(oprot);
161790
          }
164223
          }
161791
          oprot.writeListEnd();
164224
          oprot.writeListEnd();
161792
        }
164225
        }
161793
        oprot.writeFieldEnd();
164226
        oprot.writeFieldEnd();
161794
      }
164227
      }
Line 162846... Line 165279...
162846
        }
165279
        }
162847
        switch (field.id) {
165280
        switch (field.id) {
162848
          case 1: // VENDORS
165281
          case 1: // VENDORS
162849
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
165282
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
162850
              {
165283
              {
162851
                org.apache.thrift.protocol.TList _list500 = iprot.readListBegin();
165284
                org.apache.thrift.protocol.TList _list504 = iprot.readListBegin();
162852
                this.vendors = new ArrayList<Long>(_list500.size);
165285
                this.vendors = new ArrayList<Long>(_list504.size);
162853
                for (int _i501 = 0; _i501 < _list500.size; ++_i501)
165286
                for (int _i505 = 0; _i505 < _list504.size; ++_i505)
162854
                {
165287
                {
162855
                  long _elem502; // required
165288
                  long _elem506; // required
162856
                  _elem502 = iprot.readI64();
165289
                  _elem506 = iprot.readI64();
162857
                  this.vendors.add(_elem502);
165290
                  this.vendors.add(_elem506);
162858
                }
165291
                }
162859
                iprot.readListEnd();
165292
                iprot.readListEnd();
162860
              }
165293
              }
162861
            } else { 
165294
            } else { 
162862
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
165295
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
162863
            }
165296
            }
162864
            break;
165297
            break;
162865
          case 2: // STATUSES
165298
          case 2: // STATUSES
162866
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
165299
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
162867
              {
165300
              {
162868
                org.apache.thrift.protocol.TList _list503 = iprot.readListBegin();
165301
                org.apache.thrift.protocol.TList _list507 = iprot.readListBegin();
162869
                this.statuses = new ArrayList<OrderStatus>(_list503.size);
165302
                this.statuses = new ArrayList<OrderStatus>(_list507.size);
162870
                for (int _i504 = 0; _i504 < _list503.size; ++_i504)
165303
                for (int _i508 = 0; _i508 < _list507.size; ++_i508)
162871
                {
165304
                {
162872
                  OrderStatus _elem505; // required
165305
                  OrderStatus _elem509; // required
162873
                  _elem505 = OrderStatus.findByValue(iprot.readI32());
165306
                  _elem509 = OrderStatus.findByValue(iprot.readI32());
162874
                  this.statuses.add(_elem505);
165307
                  this.statuses.add(_elem509);
162875
                }
165308
                }
162876
                iprot.readListEnd();
165309
                iprot.readListEnd();
162877
              }
165310
              }
162878
            } else { 
165311
            } else { 
162879
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
165312
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 162894... Line 165327...
162894
      oprot.writeStructBegin(STRUCT_DESC);
165327
      oprot.writeStructBegin(STRUCT_DESC);
162895
      if (this.vendors != null) {
165328
      if (this.vendors != null) {
162896
        oprot.writeFieldBegin(VENDORS_FIELD_DESC);
165329
        oprot.writeFieldBegin(VENDORS_FIELD_DESC);
162897
        {
165330
        {
162898
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.vendors.size()));
165331
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.vendors.size()));
162899
          for (long _iter506 : this.vendors)
165332
          for (long _iter510 : this.vendors)
162900
          {
165333
          {
162901
            oprot.writeI64(_iter506);
165334
            oprot.writeI64(_iter510);
162902
          }
165335
          }
162903
          oprot.writeListEnd();
165336
          oprot.writeListEnd();
162904
        }
165337
        }
162905
        oprot.writeFieldEnd();
165338
        oprot.writeFieldEnd();
162906
      }
165339
      }
162907
      if (this.statuses != null) {
165340
      if (this.statuses != null) {
162908
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
165341
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
162909
        {
165342
        {
162910
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
165343
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
162911
          for (OrderStatus _iter507 : this.statuses)
165344
          for (OrderStatus _iter511 : this.statuses)
162912
          {
165345
          {
162913
            oprot.writeI32(_iter507.getValue());
165346
            oprot.writeI32(_iter511.getValue());
162914
          }
165347
          }
162915
          oprot.writeListEnd();
165348
          oprot.writeListEnd();
162916
        }
165349
        }
162917
        oprot.writeFieldEnd();
165350
        oprot.writeFieldEnd();
162918
      }
165351
      }
Line 163282... Line 165715...
163282
        }
165715
        }
163283
        switch (field.id) {
165716
        switch (field.id) {
163284
          case 0: // SUCCESS
165717
          case 0: // SUCCESS
163285
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
165718
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
163286
              {
165719
              {
163287
                org.apache.thrift.protocol.TList _list508 = iprot.readListBegin();
165720
                org.apache.thrift.protocol.TList _list512 = iprot.readListBegin();
163288
                this.success = new ArrayList<Order>(_list508.size);
165721
                this.success = new ArrayList<Order>(_list512.size);
163289
                for (int _i509 = 0; _i509 < _list508.size; ++_i509)
165722
                for (int _i513 = 0; _i513 < _list512.size; ++_i513)
163290
                {
165723
                {
163291
                  Order _elem510; // required
165724
                  Order _elem514; // required
163292
                  _elem510 = new Order();
165725
                  _elem514 = new Order();
163293
                  _elem510.read(iprot);
165726
                  _elem514.read(iprot);
163294
                  this.success.add(_elem510);
165727
                  this.success.add(_elem514);
163295
                }
165728
                }
163296
                iprot.readListEnd();
165729
                iprot.readListEnd();
163297
              }
165730
              }
163298
            } else { 
165731
            } else { 
163299
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
165732
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 163321... Line 165754...
163321
 
165754
 
163322
      if (this.isSetSuccess()) {
165755
      if (this.isSetSuccess()) {
163323
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
165756
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
163324
        {
165757
        {
163325
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
165758
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
163326
          for (Order _iter511 : this.success)
165759
          for (Order _iter515 : this.success)
163327
          {
165760
          {
163328
            _iter511.write(oprot);
165761
            _iter515.write(oprot);
163329
          }
165762
          }
163330
          oprot.writeListEnd();
165763
          oprot.writeListEnd();
163331
        }
165764
        }
163332
        oprot.writeFieldEnd();
165765
        oprot.writeFieldEnd();
163333
      } else if (this.isSetEx()) {
165766
      } else if (this.isSetEx()) {
Line 165773... Line 168206...
165773
        }
168206
        }
165774
        switch (field.id) {
168207
        switch (field.id) {
165775
          case 0: // SUCCESS
168208
          case 0: // SUCCESS
165776
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
168209
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
165777
              {
168210
              {
165778
                org.apache.thrift.protocol.TList _list512 = iprot.readListBegin();
168211
                org.apache.thrift.protocol.TList _list516 = iprot.readListBegin();
165779
                this.success = new ArrayList<EbayOrder>(_list512.size);
168212
                this.success = new ArrayList<EbayOrder>(_list516.size);
165780
                for (int _i513 = 0; _i513 < _list512.size; ++_i513)
168213
                for (int _i517 = 0; _i517 < _list516.size; ++_i517)
165781
                {
168214
                {
165782
                  EbayOrder _elem514; // required
168215
                  EbayOrder _elem518; // required
165783
                  _elem514 = new EbayOrder();
168216
                  _elem518 = new EbayOrder();
165784
                  _elem514.read(iprot);
168217
                  _elem518.read(iprot);
165785
                  this.success.add(_elem514);
168218
                  this.success.add(_elem518);
165786
                }
168219
                }
165787
                iprot.readListEnd();
168220
                iprot.readListEnd();
165788
              }
168221
              }
165789
            } else { 
168222
            } else { 
165790
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
168223
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 165804... Line 168237...
165804
 
168237
 
165805
      if (this.isSetSuccess()) {
168238
      if (this.isSetSuccess()) {
165806
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
168239
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
165807
        {
168240
        {
165808
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
168241
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
165809
          for (EbayOrder _iter515 : this.success)
168242
          for (EbayOrder _iter519 : this.success)
165810
          {
168243
          {
165811
            _iter515.write(oprot);
168244
            _iter519.write(oprot);
165812
          }
168245
          }
165813
          oprot.writeListEnd();
168246
          oprot.writeListEnd();
165814
        }
168247
        }
165815
        oprot.writeFieldEnd();
168248
        oprot.writeFieldEnd();
165816
      }
168249
      }
Line 169392... Line 171825...
169392
        }
171825
        }
169393
        switch (field.id) {
171826
        switch (field.id) {
169394
          case 0: // SUCCESS
171827
          case 0: // SUCCESS
169395
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
171828
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
169396
              {
171829
              {
169397
                org.apache.thrift.protocol.TList _list516 = iprot.readListBegin();
171830
                org.apache.thrift.protocol.TList _list520 = iprot.readListBegin();
169398
                this.success = new ArrayList<AmazonFbaSalesSnapshot>(_list516.size);
171831
                this.success = new ArrayList<AmazonFbaSalesSnapshot>(_list520.size);
169399
                for (int _i517 = 0; _i517 < _list516.size; ++_i517)
171832
                for (int _i521 = 0; _i521 < _list520.size; ++_i521)
169400
                {
171833
                {
169401
                  AmazonFbaSalesSnapshot _elem518; // required
171834
                  AmazonFbaSalesSnapshot _elem522; // required
169402
                  _elem518 = new AmazonFbaSalesSnapshot();
171835
                  _elem522 = new AmazonFbaSalesSnapshot();
169403
                  _elem518.read(iprot);
171836
                  _elem522.read(iprot);
169404
                  this.success.add(_elem518);
171837
                  this.success.add(_elem522);
169405
                }
171838
                }
169406
                iprot.readListEnd();
171839
                iprot.readListEnd();
169407
              }
171840
              }
169408
            } else { 
171841
            } else { 
169409
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
171842
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 169423... Line 171856...
169423
 
171856
 
169424
      if (this.isSetSuccess()) {
171857
      if (this.isSetSuccess()) {
169425
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
171858
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
169426
        {
171859
        {
169427
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
171860
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
169428
          for (AmazonFbaSalesSnapshot _iter519 : this.success)
171861
          for (AmazonFbaSalesSnapshot _iter523 : this.success)
169429
          {
171862
          {
169430
            _iter519.write(oprot);
171863
            _iter523.write(oprot);
169431
          }
171864
          }
169432
          oprot.writeListEnd();
171865
          oprot.writeListEnd();
169433
        }
171866
        }
169434
        oprot.writeFieldEnd();
171867
        oprot.writeFieldEnd();
169435
      }
171868
      }
Line 171275... Line 173708...
171275
        }
173708
        }
171276
        switch (field.id) {
173709
        switch (field.id) {
171277
          case 0: // SUCCESS
173710
          case 0: // SUCCESS
171278
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
173711
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
171279
              {
173712
              {
171280
                org.apache.thrift.protocol.TList _list520 = iprot.readListBegin();
173713
                org.apache.thrift.protocol.TList _list524 = iprot.readListBegin();
171281
                this.success = new ArrayList<SnapdealOrder>(_list520.size);
173714
                this.success = new ArrayList<SnapdealOrder>(_list524.size);
171282
                for (int _i521 = 0; _i521 < _list520.size; ++_i521)
173715
                for (int _i525 = 0; _i525 < _list524.size; ++_i525)
171283
                {
173716
                {
171284
                  SnapdealOrder _elem522; // required
173717
                  SnapdealOrder _elem526; // required
171285
                  _elem522 = new SnapdealOrder();
173718
                  _elem526 = new SnapdealOrder();
171286
                  _elem522.read(iprot);
173719
                  _elem526.read(iprot);
171287
                  this.success.add(_elem522);
173720
                  this.success.add(_elem526);
171288
                }
173721
                }
171289
                iprot.readListEnd();
173722
                iprot.readListEnd();
171290
              }
173723
              }
171291
            } else { 
173724
            } else { 
171292
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
173725
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 171306... Line 173739...
171306
 
173739
 
171307
      if (this.isSetSuccess()) {
173740
      if (this.isSetSuccess()) {
171308
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
173741
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
171309
        {
173742
        {
171310
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
173743
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
171311
          for (SnapdealOrder _iter523 : this.success)
173744
          for (SnapdealOrder _iter527 : this.success)
171312
          {
173745
          {
171313
            _iter523.write(oprot);
173746
            _iter527.write(oprot);
171314
          }
173747
          }
171315
          oprot.writeListEnd();
173748
          oprot.writeListEnd();
171316
        }
173749
        }
171317
        oprot.writeFieldEnd();
173750
        oprot.writeFieldEnd();
171318
      }
173751
      }
Line 176259... Line 178692...
176259
        }
178692
        }
176260
        switch (field.id) {
178693
        switch (field.id) {
176261
          case 0: // SUCCESS
178694
          case 0: // SUCCESS
176262
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
178695
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
176263
              {
178696
              {
176264
                org.apache.thrift.protocol.TMap _map524 = iprot.readMapBegin();
178697
                org.apache.thrift.protocol.TMap _map528 = iprot.readMapBegin();
176265
                this.success = new HashMap<Long,Long>(2*_map524.size);
178698
                this.success = new HashMap<Long,Long>(2*_map528.size);
176266
                for (int _i525 = 0; _i525 < _map524.size; ++_i525)
178699
                for (int _i529 = 0; _i529 < _map528.size; ++_i529)
176267
                {
178700
                {
176268
                  long _key526; // required
178701
                  long _key530; // required
176269
                  long _val527; // required
178702
                  long _val531; // required
176270
                  _key526 = iprot.readI64();
178703
                  _key530 = iprot.readI64();
176271
                  _val527 = iprot.readI64();
178704
                  _val531 = iprot.readI64();
176272
                  this.success.put(_key526, _val527);
178705
                  this.success.put(_key530, _val531);
176273
                }
178706
                }
176274
                iprot.readMapEnd();
178707
                iprot.readMapEnd();
176275
              }
178708
              }
176276
            } else { 
178709
            } else { 
176277
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
178710
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 176291... Line 178724...
176291
 
178724
 
176292
      if (this.isSetSuccess()) {
178725
      if (this.isSetSuccess()) {
176293
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
178726
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
176294
        {
178727
        {
176295
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
178728
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
176296
          for (Map.Entry<Long, Long> _iter528 : this.success.entrySet())
178729
          for (Map.Entry<Long, Long> _iter532 : this.success.entrySet())
176297
          {
178730
          {
176298
            oprot.writeI64(_iter528.getKey());
178731
            oprot.writeI64(_iter532.getKey());
176299
            oprot.writeI64(_iter528.getValue());
178732
            oprot.writeI64(_iter532.getValue());
176300
          }
178733
          }
176301
          oprot.writeMapEnd();
178734
          oprot.writeMapEnd();
176302
        }
178735
        }
176303
        oprot.writeFieldEnd();
178736
        oprot.writeFieldEnd();
176304
      }
178737
      }
Line 176954... Line 179387...
176954
        }
179387
        }
176955
        switch (field.id) {
179388
        switch (field.id) {
176956
          case 0: // SUCCESS
179389
          case 0: // SUCCESS
176957
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
179390
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
176958
              {
179391
              {
176959
                org.apache.thrift.protocol.TList _list529 = iprot.readListBegin();
179392
                org.apache.thrift.protocol.TList _list533 = iprot.readListBegin();
176960
                this.success = new ArrayList<Order>(_list529.size);
179393
                this.success = new ArrayList<Order>(_list533.size);
176961
                for (int _i530 = 0; _i530 < _list529.size; ++_i530)
179394
                for (int _i534 = 0; _i534 < _list533.size; ++_i534)
176962
                {
179395
                {
176963
                  Order _elem531; // required
179396
                  Order _elem535; // required
176964
                  _elem531 = new Order();
179397
                  _elem535 = new Order();
176965
                  _elem531.read(iprot);
179398
                  _elem535.read(iprot);
176966
                  this.success.add(_elem531);
179399
                  this.success.add(_elem535);
176967
                }
179400
                }
176968
                iprot.readListEnd();
179401
                iprot.readListEnd();
176969
              }
179402
              }
176970
            } else { 
179403
            } else { 
176971
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
179404
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 176993... Line 179426...
176993
 
179426
 
176994
      if (this.isSetSuccess()) {
179427
      if (this.isSetSuccess()) {
176995
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
179428
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
176996
        {
179429
        {
176997
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
179430
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
176998
          for (Order _iter532 : this.success)
179431
          for (Order _iter536 : this.success)
176999
          {
179432
          {
177000
            _iter532.write(oprot);
179433
            _iter536.write(oprot);
177001
          }
179434
          }
177002
          oprot.writeListEnd();
179435
          oprot.writeListEnd();
177003
        }
179436
        }
177004
        oprot.writeFieldEnd();
179437
        oprot.writeFieldEnd();
177005
      } else if (this.isSetEx()) {
179438
      } else if (this.isSetEx()) {
Line 177906... Line 180339...
177906
        }
180339
        }
177907
        switch (field.id) {
180340
        switch (field.id) {
177908
          case 1: // ORDERS
180341
          case 1: // ORDERS
177909
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
180342
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
177910
              {
180343
              {
177911
                org.apache.thrift.protocol.TMap _map533 = iprot.readMapBegin();
180344
                org.apache.thrift.protocol.TMap _map537 = iprot.readMapBegin();
177912
                this.orders = new HashMap<String,List<List<String>>>(2*_map533.size);
180345
                this.orders = new HashMap<String,List<List<String>>>(2*_map537.size);
177913
                for (int _i534 = 0; _i534 < _map533.size; ++_i534)
180346
                for (int _i538 = 0; _i538 < _map537.size; ++_i538)
177914
                {
180347
                {
177915
                  String _key535; // required
180348
                  String _key539; // required
177916
                  List<List<String>> _val536; // required
180349
                  List<List<String>> _val540; // required
177917
                  _key535 = iprot.readString();
180350
                  _key539 = iprot.readString();
177918
                  {
180351
                  {
177919
                    org.apache.thrift.protocol.TList _list537 = iprot.readListBegin();
180352
                    org.apache.thrift.protocol.TList _list541 = iprot.readListBegin();
177920
                    _val536 = new ArrayList<List<String>>(_list537.size);
180353
                    _val540 = new ArrayList<List<String>>(_list541.size);
177921
                    for (int _i538 = 0; _i538 < _list537.size; ++_i538)
180354
                    for (int _i542 = 0; _i542 < _list541.size; ++_i542)
177922
                    {
180355
                    {
177923
                      List<String> _elem539; // required
180356
                      List<String> _elem543; // required
177924
                      {
180357
                      {
177925
                        org.apache.thrift.protocol.TList _list540 = iprot.readListBegin();
180358
                        org.apache.thrift.protocol.TList _list544 = iprot.readListBegin();
177926
                        _elem539 = new ArrayList<String>(_list540.size);
180359
                        _elem543 = new ArrayList<String>(_list544.size);
177927
                        for (int _i541 = 0; _i541 < _list540.size; ++_i541)
180360
                        for (int _i545 = 0; _i545 < _list544.size; ++_i545)
177928
                        {
180361
                        {
177929
                          String _elem542; // required
180362
                          String _elem546; // required
177930
                          _elem542 = iprot.readString();
180363
                          _elem546 = iprot.readString();
177931
                          _elem539.add(_elem542);
180364
                          _elem543.add(_elem546);
177932
                        }
180365
                        }
177933
                        iprot.readListEnd();
180366
                        iprot.readListEnd();
177934
                      }
180367
                      }
177935
                      _val536.add(_elem539);
180368
                      _val540.add(_elem543);
177936
                    }
180369
                    }
177937
                    iprot.readListEnd();
180370
                    iprot.readListEnd();
177938
                  }
180371
                  }
177939
                  this.orders.put(_key535, _val536);
180372
                  this.orders.put(_key539, _val540);
177940
                }
180373
                }
177941
                iprot.readMapEnd();
180374
                iprot.readMapEnd();
177942
              }
180375
              }
177943
            } else { 
180376
            } else { 
177944
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
180377
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 177959... Line 180392...
177959
      oprot.writeStructBegin(STRUCT_DESC);
180392
      oprot.writeStructBegin(STRUCT_DESC);
177960
      if (this.orders != null) {
180393
      if (this.orders != null) {
177961
        oprot.writeFieldBegin(ORDERS_FIELD_DESC);
180394
        oprot.writeFieldBegin(ORDERS_FIELD_DESC);
177962
        {
180395
        {
177963
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, this.orders.size()));
180396
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, this.orders.size()));
177964
          for (Map.Entry<String, List<List<String>>> _iter543 : this.orders.entrySet())
180397
          for (Map.Entry<String, List<List<String>>> _iter547 : this.orders.entrySet())
177965
          {
180398
          {
177966
            oprot.writeString(_iter543.getKey());
180399
            oprot.writeString(_iter547.getKey());
177967
            {
180400
            {
177968
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.LIST, _iter543.getValue().size()));
180401
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.LIST, _iter547.getValue().size()));
177969
              for (List<String> _iter544 : _iter543.getValue())
180402
              for (List<String> _iter548 : _iter547.getValue())
177970
              {
180403
              {
177971
                {
180404
                {
177972
                  oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter544.size()));
180405
                  oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter548.size()));
177973
                  for (String _iter545 : _iter544)
180406
                  for (String _iter549 : _iter548)
177974
                  {
180407
                  {
177975
                    oprot.writeString(_iter545);
180408
                    oprot.writeString(_iter549);
177976
                  }
180409
                  }
177977
                  oprot.writeListEnd();
180410
                  oprot.writeListEnd();
177978
                }
180411
                }
177979
              }
180412
              }
177980
              oprot.writeListEnd();
180413
              oprot.writeListEnd();
Line 178573... Line 181006...
178573
        }
181006
        }
178574
        switch (field.id) {
181007
        switch (field.id) {
178575
          case 1: // DELIVERED_ORDERS
181008
          case 1: // DELIVERED_ORDERS
178576
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
181009
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
178577
              {
181010
              {
178578
                org.apache.thrift.protocol.TList _list546 = iprot.readListBegin();
181011
                org.apache.thrift.protocol.TList _list550 = iprot.readListBegin();
178579
                this.delivered_orders = new ArrayList<List<String>>(_list546.size);
181012
                this.delivered_orders = new ArrayList<List<String>>(_list550.size);
178580
                for (int _i547 = 0; _i547 < _list546.size; ++_i547)
181013
                for (int _i551 = 0; _i551 < _list550.size; ++_i551)
178581
                {
181014
                {
178582
                  List<String> _elem548; // required
181015
                  List<String> _elem552; // required
178583
                  {
181016
                  {
178584
                    org.apache.thrift.protocol.TList _list549 = iprot.readListBegin();
181017
                    org.apache.thrift.protocol.TList _list553 = iprot.readListBegin();
178585
                    _elem548 = new ArrayList<String>(_list549.size);
181018
                    _elem552 = new ArrayList<String>(_list553.size);
178586
                    for (int _i550 = 0; _i550 < _list549.size; ++_i550)
181019
                    for (int _i554 = 0; _i554 < _list553.size; ++_i554)
178587
                    {
181020
                    {
178588
                      String _elem551; // required
181021
                      String _elem555; // required
178589
                      _elem551 = iprot.readString();
181022
                      _elem555 = iprot.readString();
178590
                      _elem548.add(_elem551);
181023
                      _elem552.add(_elem555);
178591
                    }
181024
                    }
178592
                    iprot.readListEnd();
181025
                    iprot.readListEnd();
178593
                  }
181026
                  }
178594
                  this.delivered_orders.add(_elem548);
181027
                  this.delivered_orders.add(_elem552);
178595
                }
181028
                }
178596
                iprot.readListEnd();
181029
                iprot.readListEnd();
178597
              }
181030
              }
178598
            } else { 
181031
            } else { 
178599
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
181032
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 178614... Line 181047...
178614
      oprot.writeStructBegin(STRUCT_DESC);
181047
      oprot.writeStructBegin(STRUCT_DESC);
178615
      if (this.delivered_orders != null) {
181048
      if (this.delivered_orders != null) {
178616
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
181049
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
178617
        {
181050
        {
178618
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.LIST, this.delivered_orders.size()));
181051
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.LIST, this.delivered_orders.size()));
178619
          for (List<String> _iter552 : this.delivered_orders)
181052
          for (List<String> _iter556 : this.delivered_orders)
178620
          {
181053
          {
178621
            {
181054
            {
178622
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter552.size()));
181055
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter556.size()));
178623
              for (String _iter553 : _iter552)
181056
              for (String _iter557 : _iter556)
178624
              {
181057
              {
178625
                oprot.writeString(_iter553);
181058
                oprot.writeString(_iter557);
178626
              }
181059
              }
178627
              oprot.writeListEnd();
181060
              oprot.writeListEnd();
178628
            }
181061
            }
178629
          }
181062
          }
178630
          oprot.writeListEnd();
181063
          oprot.writeListEnd();
Line 179215... Line 181648...
179215
        }
181648
        }
179216
        switch (field.id) {
181649
        switch (field.id) {
179217
          case 1: // AMAZONFBASALESSNAPSHOTLIST
181650
          case 1: // AMAZONFBASALESSNAPSHOTLIST
179218
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
181651
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
179219
              {
181652
              {
179220
                org.apache.thrift.protocol.TList _list554 = iprot.readListBegin();
181653
                org.apache.thrift.protocol.TList _list558 = iprot.readListBegin();
179221
                this.amazonfbasalessnapshotlist = new ArrayList<AmazonFbaSalesSnapshot>(_list554.size);
181654
                this.amazonfbasalessnapshotlist = new ArrayList<AmazonFbaSalesSnapshot>(_list558.size);
179222
                for (int _i555 = 0; _i555 < _list554.size; ++_i555)
181655
                for (int _i559 = 0; _i559 < _list558.size; ++_i559)
179223
                {
181656
                {
179224
                  AmazonFbaSalesSnapshot _elem556; // required
181657
                  AmazonFbaSalesSnapshot _elem560; // required
179225
                  _elem556 = new AmazonFbaSalesSnapshot();
181658
                  _elem560 = new AmazonFbaSalesSnapshot();
179226
                  _elem556.read(iprot);
181659
                  _elem560.read(iprot);
179227
                  this.amazonfbasalessnapshotlist.add(_elem556);
181660
                  this.amazonfbasalessnapshotlist.add(_elem560);
179228
                }
181661
                }
179229
                iprot.readListEnd();
181662
                iprot.readListEnd();
179230
              }
181663
              }
179231
            } else { 
181664
            } else { 
179232
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
181665
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 179247... Line 181680...
179247
      oprot.writeStructBegin(STRUCT_DESC);
181680
      oprot.writeStructBegin(STRUCT_DESC);
179248
      if (this.amazonfbasalessnapshotlist != null) {
181681
      if (this.amazonfbasalessnapshotlist != null) {
179249
        oprot.writeFieldBegin(AMAZONFBASALESSNAPSHOTLIST_FIELD_DESC);
181682
        oprot.writeFieldBegin(AMAZONFBASALESSNAPSHOTLIST_FIELD_DESC);
179250
        {
181683
        {
179251
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.amazonfbasalessnapshotlist.size()));
181684
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.amazonfbasalessnapshotlist.size()));
179252
          for (AmazonFbaSalesSnapshot _iter557 : this.amazonfbasalessnapshotlist)
181685
          for (AmazonFbaSalesSnapshot _iter561 : this.amazonfbasalessnapshotlist)
179253
          {
181686
          {
179254
            _iter557.write(oprot);
181687
            _iter561.write(oprot);
179255
          }
181688
          }
179256
          oprot.writeListEnd();
181689
          oprot.writeListEnd();
179257
        }
181690
        }
179258
        oprot.writeFieldEnd();
181691
        oprot.writeFieldEnd();
179259
      }
181692
      }
Line 179746... Line 182179...
179746
        }
182179
        }
179747
        switch (field.id) {
182180
        switch (field.id) {
179748
          case -1: // FLIPKARTORDERIDS
182181
          case -1: // FLIPKARTORDERIDS
179749
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
182182
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
179750
              {
182183
              {
179751
                org.apache.thrift.protocol.TList _list558 = iprot.readListBegin();
182184
                org.apache.thrift.protocol.TList _list562 = iprot.readListBegin();
179752
                this.flipkartorderids = new ArrayList<String>(_list558.size);
182185
                this.flipkartorderids = new ArrayList<String>(_list562.size);
179753
                for (int _i559 = 0; _i559 < _list558.size; ++_i559)
182186
                for (int _i563 = 0; _i563 < _list562.size; ++_i563)
179754
                {
182187
                {
179755
                  String _elem560; // required
182188
                  String _elem564; // required
179756
                  _elem560 = iprot.readString();
182189
                  _elem564 = iprot.readString();
179757
                  this.flipkartorderids.add(_elem560);
182190
                  this.flipkartorderids.add(_elem564);
179758
                }
182191
                }
179759
                iprot.readListEnd();
182192
                iprot.readListEnd();
179760
              }
182193
              }
179761
            } else { 
182194
            } else { 
179762
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
182195
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 179777... Line 182210...
179777
      oprot.writeStructBegin(STRUCT_DESC);
182210
      oprot.writeStructBegin(STRUCT_DESC);
179778
      if (this.flipkartorderids != null) {
182211
      if (this.flipkartorderids != null) {
179779
        oprot.writeFieldBegin(FLIPKARTORDERIDS_FIELD_DESC);
182212
        oprot.writeFieldBegin(FLIPKARTORDERIDS_FIELD_DESC);
179780
        {
182213
        {
179781
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.flipkartorderids.size()));
182214
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.flipkartorderids.size()));
179782
          for (String _iter561 : this.flipkartorderids)
182215
          for (String _iter565 : this.flipkartorderids)
179783
          {
182216
          {
179784
            oprot.writeString(_iter561);
182217
            oprot.writeString(_iter565);
179785
          }
182218
          }
179786
          oprot.writeListEnd();
182219
          oprot.writeListEnd();
179787
        }
182220
        }
179788
        oprot.writeFieldEnd();
182221
        oprot.writeFieldEnd();
179789
      }
182222
      }
Line 180082... Line 182515...
180082
        }
182515
        }
180083
        switch (field.id) {
182516
        switch (field.id) {
180084
          case 0: // SUCCESS
182517
          case 0: // SUCCESS
180085
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
182518
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
180086
              {
182519
              {
180087
                org.apache.thrift.protocol.TMap _map562 = iprot.readMapBegin();
182520
                org.apache.thrift.protocol.TMap _map566 = iprot.readMapBegin();
180088
                this.success = new HashMap<Long,Long>(2*_map562.size);
182521
                this.success = new HashMap<Long,Long>(2*_map566.size);
180089
                for (int _i563 = 0; _i563 < _map562.size; ++_i563)
182522
                for (int _i567 = 0; _i567 < _map566.size; ++_i567)
180090
                {
182523
                {
180091
                  long _key564; // required
182524
                  long _key568; // required
180092
                  long _val565; // required
182525
                  long _val569; // required
180093
                  _key564 = iprot.readI64();
182526
                  _key568 = iprot.readI64();
180094
                  _val565 = iprot.readI64();
182527
                  _val569 = iprot.readI64();
180095
                  this.success.put(_key564, _val565);
182528
                  this.success.put(_key568, _val569);
180096
                }
182529
                }
180097
                iprot.readMapEnd();
182530
                iprot.readMapEnd();
180098
              }
182531
              }
180099
            } else { 
182532
            } else { 
180100
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
182533
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 180114... Line 182547...
180114
 
182547
 
180115
      if (this.isSetSuccess()) {
182548
      if (this.isSetSuccess()) {
180116
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
182549
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
180117
        {
182550
        {
180118
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
182551
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
180119
          for (Map.Entry<Long, Long> _iter566 : this.success.entrySet())
182552
          for (Map.Entry<Long, Long> _iter570 : this.success.entrySet())
180120
          {
182553
          {
180121
            oprot.writeI64(_iter566.getKey());
182554
            oprot.writeI64(_iter570.getKey());
180122
            oprot.writeI64(_iter566.getValue());
182555
            oprot.writeI64(_iter570.getValue());
180123
          }
182556
          }
180124
          oprot.writeMapEnd();
182557
          oprot.writeMapEnd();
180125
        }
182558
        }
180126
        oprot.writeFieldEnd();
182559
        oprot.writeFieldEnd();
180127
      }
182560
      }
Line 182985... Line 185418...
182985
        }
185418
        }
182986
        switch (field.id) {
185419
        switch (field.id) {
182987
          case 1: // FBA_ORDER_RETURNS
185420
          case 1: // FBA_ORDER_RETURNS
182988
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
185421
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
182989
              {
185422
              {
182990
                org.apache.thrift.protocol.TList _list567 = iprot.readListBegin();
185423
                org.apache.thrift.protocol.TList _list571 = iprot.readListBegin();
182991
                this.fbaOrderReturns = new ArrayList<AmazonFbaOrderReturns>(_list567.size);
185424
                this.fbaOrderReturns = new ArrayList<AmazonFbaOrderReturns>(_list571.size);
182992
                for (int _i568 = 0; _i568 < _list567.size; ++_i568)
185425
                for (int _i572 = 0; _i572 < _list571.size; ++_i572)
182993
                {
185426
                {
182994
                  AmazonFbaOrderReturns _elem569; // required
185427
                  AmazonFbaOrderReturns _elem573; // required
182995
                  _elem569 = new AmazonFbaOrderReturns();
185428
                  _elem573 = new AmazonFbaOrderReturns();
182996
                  _elem569.read(iprot);
185429
                  _elem573.read(iprot);
182997
                  this.fbaOrderReturns.add(_elem569);
185430
                  this.fbaOrderReturns.add(_elem573);
182998
                }
185431
                }
182999
                iprot.readListEnd();
185432
                iprot.readListEnd();
183000
              }
185433
              }
183001
            } else { 
185434
            } else { 
183002
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
185435
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 183017... Line 185450...
183017
      oprot.writeStructBegin(STRUCT_DESC);
185450
      oprot.writeStructBegin(STRUCT_DESC);
183018
      if (this.fbaOrderReturns != null) {
185451
      if (this.fbaOrderReturns != null) {
183019
        oprot.writeFieldBegin(FBA_ORDER_RETURNS_FIELD_DESC);
185452
        oprot.writeFieldBegin(FBA_ORDER_RETURNS_FIELD_DESC);
183020
        {
185453
        {
183021
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.fbaOrderReturns.size()));
185454
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.fbaOrderReturns.size()));
183022
          for (AmazonFbaOrderReturns _iter570 : this.fbaOrderReturns)
185455
          for (AmazonFbaOrderReturns _iter574 : this.fbaOrderReturns)
183023
          {
185456
          {
183024
            _iter570.write(oprot);
185457
            _iter574.write(oprot);
183025
          }
185458
          }
183026
          oprot.writeListEnd();
185459
          oprot.writeListEnd();
183027
        }
185460
        }
183028
        oprot.writeFieldEnd();
185461
        oprot.writeFieldEnd();
183029
      }
185462
      }
Line 183973... Line 186406...
183973
        }
186406
        }
183974
        switch (field.id) {
186407
        switch (field.id) {
183975
          case 0: // SUCCESS
186408
          case 0: // SUCCESS
183976
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
186409
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
183977
              {
186410
              {
183978
                org.apache.thrift.protocol.TList _list571 = iprot.readListBegin();
186411
                org.apache.thrift.protocol.TList _list575 = iprot.readListBegin();
183979
                this.success = new ArrayList<AmazonFbaOrderReturns>(_list571.size);
186412
                this.success = new ArrayList<AmazonFbaOrderReturns>(_list575.size);
183980
                for (int _i572 = 0; _i572 < _list571.size; ++_i572)
186413
                for (int _i576 = 0; _i576 < _list575.size; ++_i576)
183981
                {
186414
                {
183982
                  AmazonFbaOrderReturns _elem573; // required
186415
                  AmazonFbaOrderReturns _elem577; // required
183983
                  _elem573 = new AmazonFbaOrderReturns();
186416
                  _elem577 = new AmazonFbaOrderReturns();
183984
                  _elem573.read(iprot);
186417
                  _elem577.read(iprot);
183985
                  this.success.add(_elem573);
186418
                  this.success.add(_elem577);
183986
                }
186419
                }
183987
                iprot.readListEnd();
186420
                iprot.readListEnd();
183988
              }
186421
              }
183989
            } else { 
186422
            } else { 
183990
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
186423
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 184012... Line 186445...
184012
 
186445
 
184013
      if (this.isSetSuccess()) {
186446
      if (this.isSetSuccess()) {
184014
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
186447
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
184015
        {
186448
        {
184016
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
186449
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
184017
          for (AmazonFbaOrderReturns _iter574 : this.success)
186450
          for (AmazonFbaOrderReturns _iter578 : this.success)
184018
          {
186451
          {
184019
            _iter574.write(oprot);
186452
            _iter578.write(oprot);
184020
          }
186453
          }
184021
          oprot.writeListEnd();
186454
          oprot.writeListEnd();
184022
        }
186455
        }
184023
        oprot.writeFieldEnd();
186456
        oprot.writeFieldEnd();
184024
      } else if (this.isSetEx()) {
186457
      } else if (this.isSetEx()) {
Line 184704... Line 187137...
184704
        }
187137
        }
184705
        switch (field.id) {
187138
        switch (field.id) {
184706
          case 0: // SUCCESS
187139
          case 0: // SUCCESS
184707
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
187140
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
184708
              {
187141
              {
184709
                org.apache.thrift.protocol.TMap _map575 = iprot.readMapBegin();
187142
                org.apache.thrift.protocol.TMap _map579 = iprot.readMapBegin();
184710
                this.success = new HashMap<Long,Map<String,Long>>(2*_map575.size);
187143
                this.success = new HashMap<Long,Map<String,Long>>(2*_map579.size);
184711
                for (int _i576 = 0; _i576 < _map575.size; ++_i576)
187144
                for (int _i580 = 0; _i580 < _map579.size; ++_i580)
184712
                {
187145
                {
184713
                  long _key577; // required
187146
                  long _key581; // required
184714
                  Map<String,Long> _val578; // required
187147
                  Map<String,Long> _val582; // required
184715
                  _key577 = iprot.readI64();
187148
                  _key581 = iprot.readI64();
184716
                  {
187149
                  {
184717
                    org.apache.thrift.protocol.TMap _map579 = iprot.readMapBegin();
187150
                    org.apache.thrift.protocol.TMap _map583 = iprot.readMapBegin();
184718
                    _val578 = new HashMap<String,Long>(2*_map579.size);
187151
                    _val582 = new HashMap<String,Long>(2*_map583.size);
184719
                    for (int _i580 = 0; _i580 < _map579.size; ++_i580)
187152
                    for (int _i584 = 0; _i584 < _map583.size; ++_i584)
184720
                    {
187153
                    {
184721
                      String _key581; // required
187154
                      String _key585; // required
184722
                      long _val582; // required
187155
                      long _val586; // required
184723
                      _key581 = iprot.readString();
187156
                      _key585 = iprot.readString();
184724
                      _val582 = iprot.readI64();
187157
                      _val586 = iprot.readI64();
184725
                      _val578.put(_key581, _val582);
187158
                      _val582.put(_key585, _val586);
184726
                    }
187159
                    }
184727
                    iprot.readMapEnd();
187160
                    iprot.readMapEnd();
184728
                  }
187161
                  }
184729
                  this.success.put(_key577, _val578);
187162
                  this.success.put(_key581, _val582);
184730
                }
187163
                }
184731
                iprot.readMapEnd();
187164
                iprot.readMapEnd();
184732
              }
187165
              }
184733
            } else { 
187166
            } else { 
184734
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
187167
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 184756... Line 187189...
184756
 
187189
 
184757
      if (this.isSetSuccess()) {
187190
      if (this.isSetSuccess()) {
184758
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
187191
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
184759
        {
187192
        {
184760
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.success.size()));
187193
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.success.size()));
184761
          for (Map.Entry<Long, Map<String,Long>> _iter583 : this.success.entrySet())
187194
          for (Map.Entry<Long, Map<String,Long>> _iter587 : this.success.entrySet())
184762
          {
187195
          {
184763
            oprot.writeI64(_iter583.getKey());
187196
            oprot.writeI64(_iter587.getKey());
184764
            {
187197
            {
184765
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, _iter583.getValue().size()));
187198
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, _iter587.getValue().size()));
184766
              for (Map.Entry<String, Long> _iter584 : _iter583.getValue().entrySet())
187199
              for (Map.Entry<String, Long> _iter588 : _iter587.getValue().entrySet())
184767
              {
187200
              {
184768
                oprot.writeString(_iter584.getKey());
187201
                oprot.writeString(_iter588.getKey());
184769
                oprot.writeI64(_iter584.getValue());
187202
                oprot.writeI64(_iter588.getValue());
184770
              }
187203
              }
184771
              oprot.writeMapEnd();
187204
              oprot.writeMapEnd();
184772
            }
187205
            }
184773
          }
187206
          }
184774
          oprot.writeMapEnd();
187207
          oprot.writeMapEnd();
Line 185345... Line 187778...
185345
        }
187778
        }
185346
        switch (field.id) {
187779
        switch (field.id) {
185347
          case 0: // SUCCESS
187780
          case 0: // SUCCESS
185348
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
187781
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
185349
              {
187782
              {
185350
                org.apache.thrift.protocol.TList _list585 = iprot.readListBegin();
187783
                org.apache.thrift.protocol.TList _list589 = iprot.readListBegin();
185351
                this.success = new ArrayList<FlipkartOrder>(_list585.size);
187784
                this.success = new ArrayList<FlipkartOrder>(_list589.size);
185352
                for (int _i586 = 0; _i586 < _list585.size; ++_i586)
187785
                for (int _i590 = 0; _i590 < _list589.size; ++_i590)
185353
                {
187786
                {
185354
                  FlipkartOrder _elem587; // required
187787
                  FlipkartOrder _elem591; // required
185355
                  _elem587 = new FlipkartOrder();
187788
                  _elem591 = new FlipkartOrder();
185356
                  _elem587.read(iprot);
187789
                  _elem591.read(iprot);
185357
                  this.success.add(_elem587);
187790
                  this.success.add(_elem591);
185358
                }
187791
                }
185359
                iprot.readListEnd();
187792
                iprot.readListEnd();
185360
              }
187793
              }
185361
            } else { 
187794
            } else { 
185362
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
187795
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 185384... Line 187817...
185384
 
187817
 
185385
      if (this.isSetSuccess()) {
187818
      if (this.isSetSuccess()) {
185386
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
187819
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
185387
        {
187820
        {
185388
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
187821
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
185389
          for (FlipkartOrder _iter588 : this.success)
187822
          for (FlipkartOrder _iter592 : this.success)
185390
          {
187823
          {
185391
            _iter588.write(oprot);
187824
            _iter592.write(oprot);
185392
          }
187825
          }
185393
          oprot.writeListEnd();
187826
          oprot.writeListEnd();
185394
        }
187827
        }
185395
        oprot.writeFieldEnd();
187828
        oprot.writeFieldEnd();
185396
      } else if (this.isSetEx()) {
187829
      } else if (this.isSetEx()) {
Line 186822... Line 189255...
186822
        }
189255
        }
186823
        switch (field.id) {
189256
        switch (field.id) {
186824
          case 0: // SUCCESS
189257
          case 0: // SUCCESS
186825
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
189258
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
186826
              {
189259
              {
186827
                org.apache.thrift.protocol.TList _list589 = iprot.readListBegin();
189260
                org.apache.thrift.protocol.TList _list593 = iprot.readListBegin();
186828
                this.success = new ArrayList<FlipkartAdvantageOrder>(_list589.size);
189261
                this.success = new ArrayList<FlipkartAdvantageOrder>(_list593.size);
186829
                for (int _i590 = 0; _i590 < _list589.size; ++_i590)
189262
                for (int _i594 = 0; _i594 < _list593.size; ++_i594)
186830
                {
189263
                {
186831
                  FlipkartAdvantageOrder _elem591; // required
189264
                  FlipkartAdvantageOrder _elem595; // required
186832
                  _elem591 = new FlipkartAdvantageOrder();
189265
                  _elem595 = new FlipkartAdvantageOrder();
186833
                  _elem591.read(iprot);
189266
                  _elem595.read(iprot);
186834
                  this.success.add(_elem591);
189267
                  this.success.add(_elem595);
186835
                }
189268
                }
186836
                iprot.readListEnd();
189269
                iprot.readListEnd();
186837
              }
189270
              }
186838
            } else { 
189271
            } else { 
186839
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
189272
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 186861... Line 189294...
186861
 
189294
 
186862
      if (this.isSetSuccess()) {
189295
      if (this.isSetSuccess()) {
186863
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
189296
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
186864
        {
189297
        {
186865
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
189298
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
186866
          for (FlipkartAdvantageOrder _iter592 : this.success)
189299
          for (FlipkartAdvantageOrder _iter596 : this.success)
186867
          {
189300
          {
186868
            _iter592.write(oprot);
189301
            _iter596.write(oprot);
186869
          }
189302
          }
186870
          oprot.writeListEnd();
189303
          oprot.writeListEnd();
186871
        }
189304
        }
186872
        oprot.writeFieldEnd();
189305
        oprot.writeFieldEnd();
186873
      } else if (this.isSetEx()) {
189306
      } else if (this.isSetEx()) {
Line 187173... Line 189606...
187173
        }
189606
        }
187174
        switch (field.id) {
189607
        switch (field.id) {
187175
          case 1: // FA_ORDERS_LIST
189608
          case 1: // FA_ORDERS_LIST
187176
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
189609
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
187177
              {
189610
              {
187178
                org.apache.thrift.protocol.TList _list593 = iprot.readListBegin();
189611
                org.apache.thrift.protocol.TList _list597 = iprot.readListBegin();
187179
                this.faOrdersList = new ArrayList<FlipkartAdvantageOrder>(_list593.size);
189612
                this.faOrdersList = new ArrayList<FlipkartAdvantageOrder>(_list597.size);
187180
                for (int _i594 = 0; _i594 < _list593.size; ++_i594)
189613
                for (int _i598 = 0; _i598 < _list597.size; ++_i598)
187181
                {
189614
                {
187182
                  FlipkartAdvantageOrder _elem595; // required
189615
                  FlipkartAdvantageOrder _elem599; // required
187183
                  _elem595 = new FlipkartAdvantageOrder();
189616
                  _elem599 = new FlipkartAdvantageOrder();
187184
                  _elem595.read(iprot);
189617
                  _elem599.read(iprot);
187185
                  this.faOrdersList.add(_elem595);
189618
                  this.faOrdersList.add(_elem599);
187186
                }
189619
                }
187187
                iprot.readListEnd();
189620
                iprot.readListEnd();
187188
              }
189621
              }
187189
            } else { 
189622
            } else { 
187190
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
189623
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 187205... Line 189638...
187205
      oprot.writeStructBegin(STRUCT_DESC);
189638
      oprot.writeStructBegin(STRUCT_DESC);
187206
      if (this.faOrdersList != null) {
189639
      if (this.faOrdersList != null) {
187207
        oprot.writeFieldBegin(FA_ORDERS_LIST_FIELD_DESC);
189640
        oprot.writeFieldBegin(FA_ORDERS_LIST_FIELD_DESC);
187208
        {
189641
        {
187209
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.faOrdersList.size()));
189642
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.faOrdersList.size()));
187210
          for (FlipkartAdvantageOrder _iter596 : this.faOrdersList)
189643
          for (FlipkartAdvantageOrder _iter600 : this.faOrdersList)
187211
          {
189644
          {
187212
            _iter596.write(oprot);
189645
            _iter600.write(oprot);
187213
          }
189646
          }
187214
          oprot.writeListEnd();
189647
          oprot.writeListEnd();
187215
        }
189648
        }
187216
        oprot.writeFieldEnd();
189649
        oprot.writeFieldEnd();
187217
      }
189650
      }
Line 190575... Line 193008...
190575
        }
193008
        }
190576
        switch (field.id) {
193009
        switch (field.id) {
190577
          case 1: // FLIPKARTFASALESSNAPSHOTLIST
193010
          case 1: // FLIPKARTFASALESSNAPSHOTLIST
190578
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
193011
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
190579
              {
193012
              {
190580
                org.apache.thrift.protocol.TList _list597 = iprot.readListBegin();
193013
                org.apache.thrift.protocol.TList _list601 = iprot.readListBegin();
190581
                this.flipkartfasalessnapshotlist = new ArrayList<FlipkartFaSalesSnapshot>(_list597.size);
193014
                this.flipkartfasalessnapshotlist = new ArrayList<FlipkartFaSalesSnapshot>(_list601.size);
190582
                for (int _i598 = 0; _i598 < _list597.size; ++_i598)
193015
                for (int _i602 = 0; _i602 < _list601.size; ++_i602)
190583
                {
193016
                {
190584
                  FlipkartFaSalesSnapshot _elem599; // required
193017
                  FlipkartFaSalesSnapshot _elem603; // required
190585
                  _elem599 = new FlipkartFaSalesSnapshot();
193018
                  _elem603 = new FlipkartFaSalesSnapshot();
190586
                  _elem599.read(iprot);
193019
                  _elem603.read(iprot);
190587
                  this.flipkartfasalessnapshotlist.add(_elem599);
193020
                  this.flipkartfasalessnapshotlist.add(_elem603);
190588
                }
193021
                }
190589
                iprot.readListEnd();
193022
                iprot.readListEnd();
190590
              }
193023
              }
190591
            } else { 
193024
            } else { 
190592
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
193025
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 190607... Line 193040...
190607
      oprot.writeStructBegin(STRUCT_DESC);
193040
      oprot.writeStructBegin(STRUCT_DESC);
190608
      if (this.flipkartfasalessnapshotlist != null) {
193041
      if (this.flipkartfasalessnapshotlist != null) {
190609
        oprot.writeFieldBegin(FLIPKARTFASALESSNAPSHOTLIST_FIELD_DESC);
193042
        oprot.writeFieldBegin(FLIPKARTFASALESSNAPSHOTLIST_FIELD_DESC);
190610
        {
193043
        {
190611
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.flipkartfasalessnapshotlist.size()));
193044
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.flipkartfasalessnapshotlist.size()));
190612
          for (FlipkartFaSalesSnapshot _iter600 : this.flipkartfasalessnapshotlist)
193045
          for (FlipkartFaSalesSnapshot _iter604 : this.flipkartfasalessnapshotlist)
190613
          {
193046
          {
190614
            _iter600.write(oprot);
193047
            _iter604.write(oprot);
190615
          }
193048
          }
190616
          oprot.writeListEnd();
193049
          oprot.writeListEnd();
190617
        }
193050
        }
190618
        oprot.writeFieldEnd();
193051
        oprot.writeFieldEnd();
190619
      }
193052
      }
Line 191400... Line 193833...
191400
        }
193833
        }
191401
        switch (field.id) {
193834
        switch (field.id) {
191402
          case 0: // SUCCESS
193835
          case 0: // SUCCESS
191403
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
193836
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
191404
              {
193837
              {
191405
                org.apache.thrift.protocol.TList _list601 = iprot.readListBegin();
193838
                org.apache.thrift.protocol.TList _list605 = iprot.readListBegin();
191406
                this.success = new ArrayList<FlipkartFaSalesSnapshot>(_list601.size);
193839
                this.success = new ArrayList<FlipkartFaSalesSnapshot>(_list605.size);
191407
                for (int _i602 = 0; _i602 < _list601.size; ++_i602)
193840
                for (int _i606 = 0; _i606 < _list605.size; ++_i606)
191408
                {
193841
                {
191409
                  FlipkartFaSalesSnapshot _elem603; // required
193842
                  FlipkartFaSalesSnapshot _elem607; // required
191410
                  _elem603 = new FlipkartFaSalesSnapshot();
193843
                  _elem607 = new FlipkartFaSalesSnapshot();
191411
                  _elem603.read(iprot);
193844
                  _elem607.read(iprot);
191412
                  this.success.add(_elem603);
193845
                  this.success.add(_elem607);
191413
                }
193846
                }
191414
                iprot.readListEnd();
193847
                iprot.readListEnd();
191415
              }
193848
              }
191416
            } else { 
193849
            } else { 
191417
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
193850
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 191431... Line 193864...
191431
 
193864
 
191432
      if (this.isSetSuccess()) {
193865
      if (this.isSetSuccess()) {
191433
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
193866
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
191434
        {
193867
        {
191435
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
193868
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
191436
          for (FlipkartFaSalesSnapshot _iter604 : this.success)
193869
          for (FlipkartFaSalesSnapshot _iter608 : this.success)
191437
          {
193870
          {
191438
            _iter604.write(oprot);
193871
            _iter608.write(oprot);
191439
          }
193872
          }
191440
          oprot.writeListEnd();
193873
          oprot.writeListEnd();
191441
        }
193874
        }
191442
        oprot.writeFieldEnd();
193875
        oprot.writeFieldEnd();
191443
      }
193876
      }
Line 192402... Line 194835...
192402
        }
194835
        }
192403
        switch (field.id) {
194836
        switch (field.id) {
192404
          case -1: // ORDERS
194837
          case -1: // ORDERS
192405
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
194838
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
192406
              {
194839
              {
192407
                org.apache.thrift.protocol.TList _list605 = iprot.readListBegin();
194840
                org.apache.thrift.protocol.TList _list609 = iprot.readListBegin();
192408
                this.orders = new ArrayList<Long>(_list605.size);
194841
                this.orders = new ArrayList<Long>(_list609.size);
192409
                for (int _i606 = 0; _i606 < _list605.size; ++_i606)
194842
                for (int _i610 = 0; _i610 < _list609.size; ++_i610)
192410
                {
194843
                {
192411
                  long _elem607; // required
194844
                  long _elem611; // required
192412
                  _elem607 = iprot.readI64();
194845
                  _elem611 = iprot.readI64();
192413
                  this.orders.add(_elem607);
194846
                  this.orders.add(_elem611);
192414
                }
194847
                }
192415
                iprot.readListEnd();
194848
                iprot.readListEnd();
192416
              }
194849
              }
192417
            } else { 
194850
            } else { 
192418
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
194851
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 192433... Line 194866...
192433
      oprot.writeStructBegin(STRUCT_DESC);
194866
      oprot.writeStructBegin(STRUCT_DESC);
192434
      if (this.orders != null) {
194867
      if (this.orders != null) {
192435
        oprot.writeFieldBegin(ORDERS_FIELD_DESC);
194868
        oprot.writeFieldBegin(ORDERS_FIELD_DESC);
192436
        {
194869
        {
192437
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orders.size()));
194870
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orders.size()));
192438
          for (long _iter608 : this.orders)
194871
          for (long _iter612 : this.orders)
192439
          {
194872
          {
192440
            oprot.writeI64(_iter608);
194873
            oprot.writeI64(_iter612);
192441
          }
194874
          }
192442
          oprot.writeListEnd();
194875
          oprot.writeListEnd();
192443
        }
194876
        }
192444
        oprot.writeFieldEnd();
194877
        oprot.writeFieldEnd();
192445
      }
194878
      }
Line 193476... Line 195909...
193476
        }
195909
        }
193477
        switch (field.id) {
195910
        switch (field.id) {
193478
          case 0: // SUCCESS
195911
          case 0: // SUCCESS
193479
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
195912
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
193480
              {
195913
              {
193481
                org.apache.thrift.protocol.TList _list609 = iprot.readListBegin();
195914
                org.apache.thrift.protocol.TList _list613 = iprot.readListBegin();
193482
                this.success = new ArrayList<Order>(_list609.size);
195915
                this.success = new ArrayList<Order>(_list613.size);
193483
                for (int _i610 = 0; _i610 < _list609.size; ++_i610)
195916
                for (int _i614 = 0; _i614 < _list613.size; ++_i614)
193484
                {
195917
                {
193485
                  Order _elem611; // required
195918
                  Order _elem615; // required
193486
                  _elem611 = new Order();
195919
                  _elem615 = new Order();
193487
                  _elem611.read(iprot);
195920
                  _elem615.read(iprot);
193488
                  this.success.add(_elem611);
195921
                  this.success.add(_elem615);
193489
                }
195922
                }
193490
                iprot.readListEnd();
195923
                iprot.readListEnd();
193491
              }
195924
              }
193492
            } else { 
195925
            } else { 
193493
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
195926
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 193515... Line 195948...
193515
 
195948
 
193516
      if (this.isSetSuccess()) {
195949
      if (this.isSetSuccess()) {
193517
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
195950
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
193518
        {
195951
        {
193519
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
195952
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
193520
          for (Order _iter612 : this.success)
195953
          for (Order _iter616 : this.success)
193521
          {
195954
          {
193522
            _iter612.write(oprot);
195955
            _iter616.write(oprot);
193523
          }
195956
          }
193524
          oprot.writeListEnd();
195957
          oprot.writeListEnd();
193525
        }
195958
        }
193526
        oprot.writeFieldEnd();
195959
        oprot.writeFieldEnd();
193527
      } else if (this.isSetEx()) {
195960
      } else if (this.isSetEx()) {
Line 194529... Line 196962...
194529
        }
196962
        }
194530
        switch (field.id) {
196963
        switch (field.id) {
194531
          case 1: // ORDER_IDS
196964
          case 1: // ORDER_IDS
194532
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
196965
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
194533
              {
196966
              {
194534
                org.apache.thrift.protocol.TList _list613 = iprot.readListBegin();
196967
                org.apache.thrift.protocol.TList _list617 = iprot.readListBegin();
194535
                this.order_ids = new ArrayList<Long>(_list613.size);
196968
                this.order_ids = new ArrayList<Long>(_list617.size);
194536
                for (int _i614 = 0; _i614 < _list613.size; ++_i614)
196969
                for (int _i618 = 0; _i618 < _list617.size; ++_i618)
194537
                {
196970
                {
194538
                  long _elem615; // required
196971
                  long _elem619; // required
194539
                  _elem615 = iprot.readI64();
196972
                  _elem619 = iprot.readI64();
194540
                  this.order_ids.add(_elem615);
196973
                  this.order_ids.add(_elem619);
194541
                }
196974
                }
194542
                iprot.readListEnd();
196975
                iprot.readListEnd();
194543
              }
196976
              }
194544
            } else { 
196977
            } else { 
194545
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
196978
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 194553... Line 196986...
194553
            }
196986
            }
194554
            break;
196987
            break;
194555
          case 3: // ITEM_NUMBERS_MAP
196988
          case 3: // ITEM_NUMBERS_MAP
194556
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
196989
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
194557
              {
196990
              {
194558
                org.apache.thrift.protocol.TMap _map616 = iprot.readMapBegin();
196991
                org.apache.thrift.protocol.TMap _map620 = iprot.readMapBegin();
194559
                this.itemNumbersMap = new HashMap<Long,List<String>>(2*_map616.size);
196992
                this.itemNumbersMap = new HashMap<Long,List<String>>(2*_map620.size);
194560
                for (int _i617 = 0; _i617 < _map616.size; ++_i617)
196993
                for (int _i621 = 0; _i621 < _map620.size; ++_i621)
194561
                {
196994
                {
194562
                  long _key618; // required
196995
                  long _key622; // required
194563
                  List<String> _val619; // required
196996
                  List<String> _val623; // required
194564
                  _key618 = iprot.readI64();
196997
                  _key622 = iprot.readI64();
194565
                  {
196998
                  {
194566
                    org.apache.thrift.protocol.TList _list620 = iprot.readListBegin();
196999
                    org.apache.thrift.protocol.TList _list624 = iprot.readListBegin();
194567
                    _val619 = new ArrayList<String>(_list620.size);
197000
                    _val623 = new ArrayList<String>(_list624.size);
194568
                    for (int _i621 = 0; _i621 < _list620.size; ++_i621)
197001
                    for (int _i625 = 0; _i625 < _list624.size; ++_i625)
194569
                    {
197002
                    {
194570
                      String _elem622; // required
197003
                      String _elem626; // required
194571
                      _elem622 = iprot.readString();
197004
                      _elem626 = iprot.readString();
194572
                      _val619.add(_elem622);
197005
                      _val623.add(_elem626);
194573
                    }
197006
                    }
194574
                    iprot.readListEnd();
197007
                    iprot.readListEnd();
194575
                  }
197008
                  }
194576
                  this.itemNumbersMap.put(_key618, _val619);
197009
                  this.itemNumbersMap.put(_key622, _val623);
194577
                }
197010
                }
194578
                iprot.readMapEnd();
197011
                iprot.readMapEnd();
194579
              }
197012
              }
194580
            } else { 
197013
            } else { 
194581
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
197014
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
194582
            }
197015
            }
194583
            break;
197016
            break;
194584
          case 4: // SERIAL_NUMBERS_MAP
197017
          case 4: // SERIAL_NUMBERS_MAP
194585
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
197018
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
194586
              {
197019
              {
194587
                org.apache.thrift.protocol.TMap _map623 = iprot.readMapBegin();
197020
                org.apache.thrift.protocol.TMap _map627 = iprot.readMapBegin();
194588
                this.serialNumbersMap = new HashMap<Long,List<String>>(2*_map623.size);
197021
                this.serialNumbersMap = new HashMap<Long,List<String>>(2*_map627.size);
194589
                for (int _i624 = 0; _i624 < _map623.size; ++_i624)
197022
                for (int _i628 = 0; _i628 < _map627.size; ++_i628)
194590
                {
197023
                {
194591
                  long _key625; // required
197024
                  long _key629; // required
194592
                  List<String> _val626; // required
197025
                  List<String> _val630; // required
194593
                  _key625 = iprot.readI64();
197026
                  _key629 = iprot.readI64();
194594
                  {
197027
                  {
194595
                    org.apache.thrift.protocol.TList _list627 = iprot.readListBegin();
197028
                    org.apache.thrift.protocol.TList _list631 = iprot.readListBegin();
194596
                    _val626 = new ArrayList<String>(_list627.size);
197029
                    _val630 = new ArrayList<String>(_list631.size);
194597
                    for (int _i628 = 0; _i628 < _list627.size; ++_i628)
197030
                    for (int _i632 = 0; _i632 < _list631.size; ++_i632)
194598
                    {
197031
                    {
194599
                      String _elem629; // required
197032
                      String _elem633; // required
194600
                      _elem629 = iprot.readString();
197033
                      _elem633 = iprot.readString();
194601
                      _val626.add(_elem629);
197034
                      _val630.add(_elem633);
194602
                    }
197035
                    }
194603
                    iprot.readListEnd();
197036
                    iprot.readListEnd();
194604
                  }
197037
                  }
194605
                  this.serialNumbersMap.put(_key625, _val626);
197038
                  this.serialNumbersMap.put(_key629, _val630);
194606
                }
197039
                }
194607
                iprot.readMapEnd();
197040
                iprot.readMapEnd();
194608
              }
197041
              }
194609
            } else { 
197042
            } else { 
194610
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
197043
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
194611
            }
197044
            }
194612
            break;
197045
            break;
194613
          case 5: // FREEBIE_WAREHOUSE_ID_MAP
197046
          case 5: // FREEBIE_WAREHOUSE_ID_MAP
194614
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
197047
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
194615
              {
197048
              {
194616
                org.apache.thrift.protocol.TMap _map630 = iprot.readMapBegin();
197049
                org.apache.thrift.protocol.TMap _map634 = iprot.readMapBegin();
194617
                this.freebieWarehouseIdMap = new HashMap<Long,List<Long>>(2*_map630.size);
197050
                this.freebieWarehouseIdMap = new HashMap<Long,List<Long>>(2*_map634.size);
194618
                for (int _i631 = 0; _i631 < _map630.size; ++_i631)
197051
                for (int _i635 = 0; _i635 < _map634.size; ++_i635)
194619
                {
197052
                {
194620
                  long _key632; // required
197053
                  long _key636; // required
194621
                  List<Long> _val633; // required
197054
                  List<Long> _val637; // required
194622
                  _key632 = iprot.readI64();
197055
                  _key636 = iprot.readI64();
194623
                  {
197056
                  {
194624
                    org.apache.thrift.protocol.TList _list634 = iprot.readListBegin();
197057
                    org.apache.thrift.protocol.TList _list638 = iprot.readListBegin();
194625
                    _val633 = new ArrayList<Long>(_list634.size);
197058
                    _val637 = new ArrayList<Long>(_list638.size);
194626
                    for (int _i635 = 0; _i635 < _list634.size; ++_i635)
197059
                    for (int _i639 = 0; _i639 < _list638.size; ++_i639)
194627
                    {
197060
                    {
194628
                      long _elem636; // required
197061
                      long _elem640; // required
194629
                      _elem636 = iprot.readI64();
197062
                      _elem640 = iprot.readI64();
194630
                      _val633.add(_elem636);
197063
                      _val637.add(_elem640);
194631
                    }
197064
                    }
194632
                    iprot.readListEnd();
197065
                    iprot.readListEnd();
194633
                  }
197066
                  }
194634
                  this.freebieWarehouseIdMap.put(_key632, _val633);
197067
                  this.freebieWarehouseIdMap.put(_key636, _val637);
194635
                }
197068
                }
194636
                iprot.readMapEnd();
197069
                iprot.readMapEnd();
194637
              }
197070
              }
194638
            } else { 
197071
            } else { 
194639
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
197072
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 194692... Line 197125...
194692
      oprot.writeStructBegin(STRUCT_DESC);
197125
      oprot.writeStructBegin(STRUCT_DESC);
194693
      if (this.order_ids != null) {
197126
      if (this.order_ids != null) {
194694
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
197127
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
194695
        {
197128
        {
194696
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
197129
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
194697
          for (long _iter637 : this.order_ids)
197130
          for (long _iter641 : this.order_ids)
194698
          {
197131
          {
194699
            oprot.writeI64(_iter637);
197132
            oprot.writeI64(_iter641);
194700
          }
197133
          }
194701
          oprot.writeListEnd();
197134
          oprot.writeListEnd();
194702
        }
197135
        }
194703
        oprot.writeFieldEnd();
197136
        oprot.writeFieldEnd();
194704
      }
197137
      }
Line 194709... Line 197142...
194709
      }
197142
      }
194710
      if (this.itemNumbersMap != null) {
197143
      if (this.itemNumbersMap != null) {
194711
        oprot.writeFieldBegin(ITEM_NUMBERS_MAP_FIELD_DESC);
197144
        oprot.writeFieldBegin(ITEM_NUMBERS_MAP_FIELD_DESC);
194712
        {
197145
        {
194713
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.itemNumbersMap.size()));
197146
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.itemNumbersMap.size()));
194714
          for (Map.Entry<Long, List<String>> _iter638 : this.itemNumbersMap.entrySet())
197147
          for (Map.Entry<Long, List<String>> _iter642 : this.itemNumbersMap.entrySet())
194715
          {
197148
          {
194716
            oprot.writeI64(_iter638.getKey());
197149
            oprot.writeI64(_iter642.getKey());
194717
            {
197150
            {
194718
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter638.getValue().size()));
197151
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter642.getValue().size()));
194719
              for (String _iter639 : _iter638.getValue())
197152
              for (String _iter643 : _iter642.getValue())
194720
              {
197153
              {
194721
                oprot.writeString(_iter639);
197154
                oprot.writeString(_iter643);
194722
              }
197155
              }
194723
              oprot.writeListEnd();
197156
              oprot.writeListEnd();
194724
            }
197157
            }
194725
          }
197158
          }
194726
          oprot.writeMapEnd();
197159
          oprot.writeMapEnd();
Line 194729... Line 197162...
194729
      }
197162
      }
194730
      if (this.serialNumbersMap != null) {
197163
      if (this.serialNumbersMap != null) {
194731
        oprot.writeFieldBegin(SERIAL_NUMBERS_MAP_FIELD_DESC);
197164
        oprot.writeFieldBegin(SERIAL_NUMBERS_MAP_FIELD_DESC);
194732
        {
197165
        {
194733
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.serialNumbersMap.size()));
197166
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.serialNumbersMap.size()));
194734
          for (Map.Entry<Long, List<String>> _iter640 : this.serialNumbersMap.entrySet())
197167
          for (Map.Entry<Long, List<String>> _iter644 : this.serialNumbersMap.entrySet())
194735
          {
197168
          {
194736
            oprot.writeI64(_iter640.getKey());
197169
            oprot.writeI64(_iter644.getKey());
194737
            {
197170
            {
194738
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter640.getValue().size()));
197171
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter644.getValue().size()));
194739
              for (String _iter641 : _iter640.getValue())
197172
              for (String _iter645 : _iter644.getValue())
194740
              {
197173
              {
194741
                oprot.writeString(_iter641);
197174
                oprot.writeString(_iter645);
194742
              }
197175
              }
194743
              oprot.writeListEnd();
197176
              oprot.writeListEnd();
194744
            }
197177
            }
194745
          }
197178
          }
194746
          oprot.writeMapEnd();
197179
          oprot.writeMapEnd();
Line 194749... Line 197182...
194749
      }
197182
      }
194750
      if (this.freebieWarehouseIdMap != null) {
197183
      if (this.freebieWarehouseIdMap != null) {
194751
        oprot.writeFieldBegin(FREEBIE_WAREHOUSE_ID_MAP_FIELD_DESC);
197184
        oprot.writeFieldBegin(FREEBIE_WAREHOUSE_ID_MAP_FIELD_DESC);
194752
        {
197185
        {
194753
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.freebieWarehouseIdMap.size()));
197186
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.freebieWarehouseIdMap.size()));
194754
          for (Map.Entry<Long, List<Long>> _iter642 : this.freebieWarehouseIdMap.entrySet())
197187
          for (Map.Entry<Long, List<Long>> _iter646 : this.freebieWarehouseIdMap.entrySet())
194755
          {
197188
          {
194756
            oprot.writeI64(_iter642.getKey());
197189
            oprot.writeI64(_iter646.getKey());
194757
            {
197190
            {
194758
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, _iter642.getValue().size()));
197191
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, _iter646.getValue().size()));
194759
              for (long _iter643 : _iter642.getValue())
197192
              for (long _iter647 : _iter646.getValue())
194760
              {
197193
              {
194761
                oprot.writeI64(_iter643);
197194
                oprot.writeI64(_iter647);
194762
              }
197195
              }
194763
              oprot.writeListEnd();
197196
              oprot.writeListEnd();
194764
            }
197197
            }
194765
          }
197198
          }
194766
          oprot.writeMapEnd();
197199
          oprot.writeMapEnd();
Line 197241... Line 199674...
197241
        }
199674
        }
197242
        switch (field.id) {
199675
        switch (field.id) {
197243
          case 0: // SUCCESS
199676
          case 0: // SUCCESS
197244
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
199677
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
197245
              {
199678
              {
197246
                org.apache.thrift.protocol.TList _list644 = iprot.readListBegin();
199679
                org.apache.thrift.protocol.TList _list648 = iprot.readListBegin();
197247
                this.success = new ArrayList<HsOrder>(_list644.size);
199680
                this.success = new ArrayList<HsOrder>(_list648.size);
197248
                for (int _i645 = 0; _i645 < _list644.size; ++_i645)
199681
                for (int _i649 = 0; _i649 < _list648.size; ++_i649)
197249
                {
199682
                {
197250
                  HsOrder _elem646; // required
199683
                  HsOrder _elem650; // required
197251
                  _elem646 = new HsOrder();
199684
                  _elem650 = new HsOrder();
197252
                  _elem646.read(iprot);
199685
                  _elem650.read(iprot);
197253
                  this.success.add(_elem646);
199686
                  this.success.add(_elem650);
197254
                }
199687
                }
197255
                iprot.readListEnd();
199688
                iprot.readListEnd();
197256
              }
199689
              }
197257
            } else { 
199690
            } else { 
197258
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
199691
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 197272... Line 199705...
197272
 
199705
 
197273
      if (this.isSetSuccess()) {
199706
      if (this.isSetSuccess()) {
197274
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
199707
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
197275
        {
199708
        {
197276
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
199709
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
197277
          for (HsOrder _iter647 : this.success)
199710
          for (HsOrder _iter651 : this.success)
197278
          {
199711
          {
197279
            _iter647.write(oprot);
199712
            _iter651.write(oprot);
197280
          }
199713
          }
197281
          oprot.writeListEnd();
199714
          oprot.writeListEnd();
197282
        }
199715
        }
197283
        oprot.writeFieldEnd();
199716
        oprot.writeFieldEnd();
197284
      }
199717
      }
Line 199138... Line 201571...
199138
      }
201571
      }
199139
      first = false;
201572
      first = false;
199140
      sb.append(")");
201573
      sb.append(")");
199141
      return sb.toString();
201574
      return sb.toString();
199142
    }
201575
    }
-
 
201576
 
-
 
201577
    public void validate() throws org.apache.thrift.TException {
-
 
201578
      // check for required fields
-
 
201579
    }
-
 
201580
 
-
 
201581
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
201582
      try {
-
 
201583
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
201584
      } catch (org.apache.thrift.TException te) {
-
 
201585
        throw new java.io.IOException(te);
-
 
201586
      }
-
 
201587
    }
-
 
201588
 
-
 
201589
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
201590
      try {
-
 
201591
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
201592
      } catch (org.apache.thrift.TException te) {
-
 
201593
        throw new java.io.IOException(te);
-
 
201594
      }
-
 
201595
    }
-
 
201596
 
-
 
201597
  }
-
 
201598
 
-
 
201599
  public static class getCreditorInfo_args implements org.apache.thrift.TBase<getCreditorInfo_args, getCreditorInfo_args._Fields>, java.io.Serializable, Cloneable   {
-
 
201600
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCreditorInfo_args");
-
 
201601
 
-
 
201602
    private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
201603
    private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
201604
 
-
 
201605
    private long id; // required
-
 
201606
    private String name; // required
-
 
201607
 
-
 
201608
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
201609
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
201610
      ID((short)1, "id"),
-
 
201611
      NAME((short)2, "name");
-
 
201612
 
-
 
201613
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
201614
 
-
 
201615
      static {
-
 
201616
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
201617
          byName.put(field.getFieldName(), field);
-
 
201618
        }
-
 
201619
      }
-
 
201620
 
-
 
201621
      /**
-
 
201622
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
201623
       */
-
 
201624
      public static _Fields findByThriftId(int fieldId) {
-
 
201625
        switch(fieldId) {
-
 
201626
          case 1: // ID
-
 
201627
            return ID;
-
 
201628
          case 2: // NAME
-
 
201629
            return NAME;
-
 
201630
          default:
-
 
201631
            return null;
-
 
201632
        }
-
 
201633
      }
-
 
201634
 
-
 
201635
      /**
-
 
201636
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
201637
       * if it is not found.
-
 
201638
       */
-
 
201639
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
201640
        _Fields fields = findByThriftId(fieldId);
-
 
201641
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
201642
        return fields;
-
 
201643
      }
-
 
201644
 
-
 
201645
      /**
-
 
201646
       * Find the _Fields constant that matches name, or null if its not found.
-
 
201647
       */
-
 
201648
      public static _Fields findByName(String name) {
-
 
201649
        return byName.get(name);
-
 
201650
      }
-
 
201651
 
-
 
201652
      private final short _thriftId;
-
 
201653
      private final String _fieldName;
-
 
201654
 
-
 
201655
      _Fields(short thriftId, String fieldName) {
-
 
201656
        _thriftId = thriftId;
-
 
201657
        _fieldName = fieldName;
-
 
201658
      }
-
 
201659
 
-
 
201660
      public short getThriftFieldId() {
-
 
201661
        return _thriftId;
-
 
201662
      }
-
 
201663
 
-
 
201664
      public String getFieldName() {
-
 
201665
        return _fieldName;
-
 
201666
      }
-
 
201667
    }
-
 
201668
 
-
 
201669
    // isset id assignments
-
 
201670
    private static final int __ID_ISSET_ID = 0;
-
 
201671
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
201672
 
-
 
201673
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
201674
    static {
-
 
201675
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
201676
      tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
201677
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
201678
      tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
201679
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
201680
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
201681
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCreditorInfo_args.class, metaDataMap);
-
 
201682
    }
-
 
201683
 
-
 
201684
    public getCreditorInfo_args() {
-
 
201685
    }
-
 
201686
 
-
 
201687
    public getCreditorInfo_args(
-
 
201688
      long id,
-
 
201689
      String name)
-
 
201690
    {
-
 
201691
      this();
-
 
201692
      this.id = id;
-
 
201693
      setIdIsSet(true);
-
 
201694
      this.name = name;
-
 
201695
    }
-
 
201696
 
-
 
201697
    /**
-
 
201698
     * Performs a deep copy on <i>other</i>.
-
 
201699
     */
-
 
201700
    public getCreditorInfo_args(getCreditorInfo_args other) {
-
 
201701
      __isset_bit_vector.clear();
-
 
201702
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
201703
      this.id = other.id;
-
 
201704
      if (other.isSetName()) {
-
 
201705
        this.name = other.name;
-
 
201706
      }
-
 
201707
    }
-
 
201708
 
-
 
201709
    public getCreditorInfo_args deepCopy() {
-
 
201710
      return new getCreditorInfo_args(this);
-
 
201711
    }
-
 
201712
 
-
 
201713
    @Override
-
 
201714
    public void clear() {
-
 
201715
      setIdIsSet(false);
-
 
201716
      this.id = 0;
-
 
201717
      this.name = null;
-
 
201718
    }
-
 
201719
 
-
 
201720
    public long getId() {
-
 
201721
      return this.id;
-
 
201722
    }
-
 
201723
 
-
 
201724
    public void setId(long id) {
-
 
201725
      this.id = id;
-
 
201726
      setIdIsSet(true);
-
 
201727
    }
-
 
201728
 
-
 
201729
    public void unsetId() {
-
 
201730
      __isset_bit_vector.clear(__ID_ISSET_ID);
-
 
201731
    }
-
 
201732
 
-
 
201733
    /** Returns true if field id is set (has been assigned a value) and false otherwise */
-
 
201734
    public boolean isSetId() {
-
 
201735
      return __isset_bit_vector.get(__ID_ISSET_ID);
-
 
201736
    }
-
 
201737
 
-
 
201738
    public void setIdIsSet(boolean value) {
-
 
201739
      __isset_bit_vector.set(__ID_ISSET_ID, value);
-
 
201740
    }
-
 
201741
 
-
 
201742
    public String getName() {
-
 
201743
      return this.name;
-
 
201744
    }
-
 
201745
 
-
 
201746
    public void setName(String name) {
-
 
201747
      this.name = name;
-
 
201748
    }
-
 
201749
 
-
 
201750
    public void unsetName() {
-
 
201751
      this.name = null;
-
 
201752
    }
-
 
201753
 
-
 
201754
    /** Returns true if field name is set (has been assigned a value) and false otherwise */
-
 
201755
    public boolean isSetName() {
-
 
201756
      return this.name != null;
-
 
201757
    }
-
 
201758
 
-
 
201759
    public void setNameIsSet(boolean value) {
-
 
201760
      if (!value) {
-
 
201761
        this.name = null;
-
 
201762
      }
-
 
201763
    }
-
 
201764
 
-
 
201765
    public void setFieldValue(_Fields field, Object value) {
-
 
201766
      switch (field) {
-
 
201767
      case ID:
-
 
201768
        if (value == null) {
-
 
201769
          unsetId();
-
 
201770
        } else {
-
 
201771
          setId((Long)value);
-
 
201772
        }
-
 
201773
        break;
-
 
201774
 
-
 
201775
      case NAME:
-
 
201776
        if (value == null) {
-
 
201777
          unsetName();
-
 
201778
        } else {
-
 
201779
          setName((String)value);
-
 
201780
        }
-
 
201781
        break;
-
 
201782
 
-
 
201783
      }
-
 
201784
    }
-
 
201785
 
-
 
201786
    public Object getFieldValue(_Fields field) {
-
 
201787
      switch (field) {
-
 
201788
      case ID:
-
 
201789
        return Long.valueOf(getId());
-
 
201790
 
-
 
201791
      case NAME:
-
 
201792
        return getName();
-
 
201793
 
-
 
201794
      }
-
 
201795
      throw new IllegalStateException();
-
 
201796
    }
-
 
201797
 
-
 
201798
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
201799
    public boolean isSet(_Fields field) {
-
 
201800
      if (field == null) {
-
 
201801
        throw new IllegalArgumentException();
-
 
201802
      }
-
 
201803
 
-
 
201804
      switch (field) {
-
 
201805
      case ID:
-
 
201806
        return isSetId();
-
 
201807
      case NAME:
-
 
201808
        return isSetName();
-
 
201809
      }
-
 
201810
      throw new IllegalStateException();
-
 
201811
    }
-
 
201812
 
-
 
201813
    @Override
-
 
201814
    public boolean equals(Object that) {
-
 
201815
      if (that == null)
-
 
201816
        return false;
-
 
201817
      if (that instanceof getCreditorInfo_args)
-
 
201818
        return this.equals((getCreditorInfo_args)that);
-
 
201819
      return false;
-
 
201820
    }
-
 
201821
 
-
 
201822
    public boolean equals(getCreditorInfo_args that) {
-
 
201823
      if (that == null)
-
 
201824
        return false;
-
 
201825
 
-
 
201826
      boolean this_present_id = true;
-
 
201827
      boolean that_present_id = true;
-
 
201828
      if (this_present_id || that_present_id) {
-
 
201829
        if (!(this_present_id && that_present_id))
-
 
201830
          return false;
-
 
201831
        if (this.id != that.id)
-
 
201832
          return false;
-
 
201833
      }
-
 
201834
 
-
 
201835
      boolean this_present_name = true && this.isSetName();
-
 
201836
      boolean that_present_name = true && that.isSetName();
-
 
201837
      if (this_present_name || that_present_name) {
-
 
201838
        if (!(this_present_name && that_present_name))
-
 
201839
          return false;
-
 
201840
        if (!this.name.equals(that.name))
-
 
201841
          return false;
-
 
201842
      }
-
 
201843
 
-
 
201844
      return true;
-
 
201845
    }
-
 
201846
 
-
 
201847
    @Override
-
 
201848
    public int hashCode() {
-
 
201849
      return 0;
-
 
201850
    }
-
 
201851
 
-
 
201852
    public int compareTo(getCreditorInfo_args other) {
-
 
201853
      if (!getClass().equals(other.getClass())) {
-
 
201854
        return getClass().getName().compareTo(other.getClass().getName());
-
 
201855
      }
-
 
201856
 
-
 
201857
      int lastComparison = 0;
-
 
201858
      getCreditorInfo_args typedOther = (getCreditorInfo_args)other;
-
 
201859
 
-
 
201860
      lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
-
 
201861
      if (lastComparison != 0) {
-
 
201862
        return lastComparison;
-
 
201863
      }
-
 
201864
      if (isSetId()) {
-
 
201865
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
-
 
201866
        if (lastComparison != 0) {
-
 
201867
          return lastComparison;
-
 
201868
        }
-
 
201869
      }
-
 
201870
      lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName());
-
 
201871
      if (lastComparison != 0) {
-
 
201872
        return lastComparison;
-
 
201873
      }
-
 
201874
      if (isSetName()) {
-
 
201875
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name);
-
 
201876
        if (lastComparison != 0) {
-
 
201877
          return lastComparison;
-
 
201878
        }
-
 
201879
      }
-
 
201880
      return 0;
-
 
201881
    }
-
 
201882
 
-
 
201883
    public _Fields fieldForId(int fieldId) {
-
 
201884
      return _Fields.findByThriftId(fieldId);
-
 
201885
    }
-
 
201886
 
-
 
201887
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
201888
      org.apache.thrift.protocol.TField field;
-
 
201889
      iprot.readStructBegin();
-
 
201890
      while (true)
-
 
201891
      {
-
 
201892
        field = iprot.readFieldBegin();
-
 
201893
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
201894
          break;
-
 
201895
        }
-
 
201896
        switch (field.id) {
-
 
201897
          case 1: // ID
-
 
201898
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
201899
              this.id = iprot.readI64();
-
 
201900
              setIdIsSet(true);
-
 
201901
            } else { 
-
 
201902
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
201903
            }
-
 
201904
            break;
-
 
201905
          case 2: // NAME
-
 
201906
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
201907
              this.name = iprot.readString();
-
 
201908
            } else { 
-
 
201909
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
201910
            }
-
 
201911
            break;
-
 
201912
          default:
-
 
201913
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
201914
        }
-
 
201915
        iprot.readFieldEnd();
-
 
201916
      }
-
 
201917
      iprot.readStructEnd();
-
 
201918
      validate();
-
 
201919
    }
-
 
201920
 
-
 
201921
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
201922
      validate();
-
 
201923
 
-
 
201924
      oprot.writeStructBegin(STRUCT_DESC);
-
 
201925
      oprot.writeFieldBegin(ID_FIELD_DESC);
-
 
201926
      oprot.writeI64(this.id);
-
 
201927
      oprot.writeFieldEnd();
-
 
201928
      if (this.name != null) {
-
 
201929
        oprot.writeFieldBegin(NAME_FIELD_DESC);
-
 
201930
        oprot.writeString(this.name);
-
 
201931
        oprot.writeFieldEnd();
-
 
201932
      }
-
 
201933
      oprot.writeFieldStop();
-
 
201934
      oprot.writeStructEnd();
-
 
201935
    }
-
 
201936
 
-
 
201937
    @Override
-
 
201938
    public String toString() {
-
 
201939
      StringBuilder sb = new StringBuilder("getCreditorInfo_args(");
-
 
201940
      boolean first = true;
-
 
201941
 
-
 
201942
      sb.append("id:");
-
 
201943
      sb.append(this.id);
-
 
201944
      first = false;
-
 
201945
      if (!first) sb.append(", ");
-
 
201946
      sb.append("name:");
-
 
201947
      if (this.name == null) {
-
 
201948
        sb.append("null");
-
 
201949
      } else {
-
 
201950
        sb.append(this.name);
-
 
201951
      }
-
 
201952
      first = false;
-
 
201953
      sb.append(")");
-
 
201954
      return sb.toString();
-
 
201955
    }
-
 
201956
 
-
 
201957
    public void validate() throws org.apache.thrift.TException {
-
 
201958
      // check for required fields
-
 
201959
    }
-
 
201960
 
-
 
201961
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
201962
      try {
-
 
201963
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
201964
      } catch (org.apache.thrift.TException te) {
-
 
201965
        throw new java.io.IOException(te);
-
 
201966
      }
-
 
201967
    }
-
 
201968
 
-
 
201969
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
201970
      try {
-
 
201971
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
201972
        __isset_bit_vector = new BitSet(1);
-
 
201973
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
201974
      } catch (org.apache.thrift.TException te) {
-
 
201975
        throw new java.io.IOException(te);
-
 
201976
      }
-
 
201977
    }
-
 
201978
 
-
 
201979
  }
-
 
201980
 
-
 
201981
  public static class getCreditorInfo_result implements org.apache.thrift.TBase<getCreditorInfo_result, getCreditorInfo_result._Fields>, java.io.Serializable, Cloneable   {
-
 
201982
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCreditorInfo_result");
-
 
201983
 
-
 
201984
    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);
-
 
201985
 
-
 
201986
    private Creditor success; // required
-
 
201987
 
-
 
201988
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
201989
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
201990
      SUCCESS((short)0, "success");
-
 
201991
 
-
 
201992
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
201993
 
-
 
201994
      static {
-
 
201995
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
201996
          byName.put(field.getFieldName(), field);
-
 
201997
        }
-
 
201998
      }
-
 
201999
 
-
 
202000
      /**
-
 
202001
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
202002
       */
-
 
202003
      public static _Fields findByThriftId(int fieldId) {
-
 
202004
        switch(fieldId) {
-
 
202005
          case 0: // SUCCESS
-
 
202006
            return SUCCESS;
-
 
202007
          default:
-
 
202008
            return null;
-
 
202009
        }
-
 
202010
      }
-
 
202011
 
-
 
202012
      /**
-
 
202013
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
202014
       * if it is not found.
-
 
202015
       */
-
 
202016
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
202017
        _Fields fields = findByThriftId(fieldId);
-
 
202018
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
202019
        return fields;
-
 
202020
      }
-
 
202021
 
-
 
202022
      /**
-
 
202023
       * Find the _Fields constant that matches name, or null if its not found.
-
 
202024
       */
-
 
202025
      public static _Fields findByName(String name) {
-
 
202026
        return byName.get(name);
-
 
202027
      }
-
 
202028
 
-
 
202029
      private final short _thriftId;
-
 
202030
      private final String _fieldName;
-
 
202031
 
-
 
202032
      _Fields(short thriftId, String fieldName) {
-
 
202033
        _thriftId = thriftId;
-
 
202034
        _fieldName = fieldName;
-
 
202035
      }
-
 
202036
 
-
 
202037
      public short getThriftFieldId() {
-
 
202038
        return _thriftId;
-
 
202039
      }
-
 
202040
 
-
 
202041
      public String getFieldName() {
-
 
202042
        return _fieldName;
-
 
202043
      }
-
 
202044
    }
-
 
202045
 
-
 
202046
    // isset id assignments
-
 
202047
 
-
 
202048
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
202049
    static {
-
 
202050
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
202051
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
202052
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Creditor.class)));
-
 
202053
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
202054
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCreditorInfo_result.class, metaDataMap);
-
 
202055
    }
-
 
202056
 
-
 
202057
    public getCreditorInfo_result() {
-
 
202058
    }
-
 
202059
 
-
 
202060
    public getCreditorInfo_result(
-
 
202061
      Creditor success)
-
 
202062
    {
-
 
202063
      this();
-
 
202064
      this.success = success;
-
 
202065
    }
-
 
202066
 
-
 
202067
    /**
-
 
202068
     * Performs a deep copy on <i>other</i>.
-
 
202069
     */
-
 
202070
    public getCreditorInfo_result(getCreditorInfo_result other) {
-
 
202071
      if (other.isSetSuccess()) {
-
 
202072
        this.success = new Creditor(other.success);
-
 
202073
      }
-
 
202074
    }
-
 
202075
 
-
 
202076
    public getCreditorInfo_result deepCopy() {
-
 
202077
      return new getCreditorInfo_result(this);
-
 
202078
    }
-
 
202079
 
-
 
202080
    @Override
-
 
202081
    public void clear() {
-
 
202082
      this.success = null;
-
 
202083
    }
-
 
202084
 
-
 
202085
    public Creditor getSuccess() {
-
 
202086
      return this.success;
-
 
202087
    }
-
 
202088
 
-
 
202089
    public void setSuccess(Creditor success) {
-
 
202090
      this.success = success;
-
 
202091
    }
-
 
202092
 
-
 
202093
    public void unsetSuccess() {
-
 
202094
      this.success = null;
-
 
202095
    }
-
 
202096
 
-
 
202097
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
202098
    public boolean isSetSuccess() {
-
 
202099
      return this.success != null;
-
 
202100
    }
-
 
202101
 
-
 
202102
    public void setSuccessIsSet(boolean value) {
-
 
202103
      if (!value) {
-
 
202104
        this.success = null;
-
 
202105
      }
-
 
202106
    }
-
 
202107
 
-
 
202108
    public void setFieldValue(_Fields field, Object value) {
-
 
202109
      switch (field) {
-
 
202110
      case SUCCESS:
-
 
202111
        if (value == null) {
-
 
202112
          unsetSuccess();
-
 
202113
        } else {
-
 
202114
          setSuccess((Creditor)value);
-
 
202115
        }
-
 
202116
        break;
-
 
202117
 
-
 
202118
      }
-
 
202119
    }
-
 
202120
 
-
 
202121
    public Object getFieldValue(_Fields field) {
-
 
202122
      switch (field) {
-
 
202123
      case SUCCESS:
-
 
202124
        return getSuccess();
-
 
202125
 
-
 
202126
      }
-
 
202127
      throw new IllegalStateException();
-
 
202128
    }
-
 
202129
 
-
 
202130
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
202131
    public boolean isSet(_Fields field) {
-
 
202132
      if (field == null) {
-
 
202133
        throw new IllegalArgumentException();
-
 
202134
      }
-
 
202135
 
-
 
202136
      switch (field) {
-
 
202137
      case SUCCESS:
-
 
202138
        return isSetSuccess();
-
 
202139
      }
-
 
202140
      throw new IllegalStateException();
-
 
202141
    }
-
 
202142
 
-
 
202143
    @Override
-
 
202144
    public boolean equals(Object that) {
-
 
202145
      if (that == null)
-
 
202146
        return false;
-
 
202147
      if (that instanceof getCreditorInfo_result)
-
 
202148
        return this.equals((getCreditorInfo_result)that);
-
 
202149
      return false;
-
 
202150
    }
-
 
202151
 
-
 
202152
    public boolean equals(getCreditorInfo_result that) {
-
 
202153
      if (that == null)
-
 
202154
        return false;
-
 
202155
 
-
 
202156
      boolean this_present_success = true && this.isSetSuccess();
-
 
202157
      boolean that_present_success = true && that.isSetSuccess();
-
 
202158
      if (this_present_success || that_present_success) {
-
 
202159
        if (!(this_present_success && that_present_success))
-
 
202160
          return false;
-
 
202161
        if (!this.success.equals(that.success))
-
 
202162
          return false;
-
 
202163
      }
-
 
202164
 
-
 
202165
      return true;
-
 
202166
    }
-
 
202167
 
-
 
202168
    @Override
-
 
202169
    public int hashCode() {
-
 
202170
      return 0;
-
 
202171
    }
-
 
202172
 
-
 
202173
    public int compareTo(getCreditorInfo_result other) {
-
 
202174
      if (!getClass().equals(other.getClass())) {
-
 
202175
        return getClass().getName().compareTo(other.getClass().getName());
-
 
202176
      }
-
 
202177
 
-
 
202178
      int lastComparison = 0;
-
 
202179
      getCreditorInfo_result typedOther = (getCreditorInfo_result)other;
-
 
202180
 
-
 
202181
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
202182
      if (lastComparison != 0) {
-
 
202183
        return lastComparison;
-
 
202184
      }
-
 
202185
      if (isSetSuccess()) {
-
 
202186
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
202187
        if (lastComparison != 0) {
-
 
202188
          return lastComparison;
-
 
202189
        }
-
 
202190
      }
-
 
202191
      return 0;
-
 
202192
    }
-
 
202193
 
-
 
202194
    public _Fields fieldForId(int fieldId) {
-
 
202195
      return _Fields.findByThriftId(fieldId);
-
 
202196
    }
-
 
202197
 
-
 
202198
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
202199
      org.apache.thrift.protocol.TField field;
-
 
202200
      iprot.readStructBegin();
-
 
202201
      while (true)
-
 
202202
      {
-
 
202203
        field = iprot.readFieldBegin();
-
 
202204
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
202205
          break;
-
 
202206
        }
-
 
202207
        switch (field.id) {
-
 
202208
          case 0: // SUCCESS
-
 
202209
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
202210
              this.success = new Creditor();
-
 
202211
              this.success.read(iprot);
-
 
202212
            } else { 
-
 
202213
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
202214
            }
-
 
202215
            break;
-
 
202216
          default:
-
 
202217
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
202218
        }
-
 
202219
        iprot.readFieldEnd();
-
 
202220
      }
-
 
202221
      iprot.readStructEnd();
-
 
202222
      validate();
-
 
202223
    }
-
 
202224
 
-
 
202225
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
202226
      oprot.writeStructBegin(STRUCT_DESC);
-
 
202227
 
-
 
202228
      if (this.isSetSuccess()) {
-
 
202229
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
202230
        this.success.write(oprot);
-
 
202231
        oprot.writeFieldEnd();
-
 
202232
      }
-
 
202233
      oprot.writeFieldStop();
-
 
202234
      oprot.writeStructEnd();
-
 
202235
    }
-
 
202236
 
-
 
202237
    @Override
-
 
202238
    public String toString() {
-
 
202239
      StringBuilder sb = new StringBuilder("getCreditorInfo_result(");
-
 
202240
      boolean first = true;
-
 
202241
 
-
 
202242
      sb.append("success:");
-
 
202243
      if (this.success == null) {
-
 
202244
        sb.append("null");
-
 
202245
      } else {
-
 
202246
        sb.append(this.success);
-
 
202247
      }
-
 
202248
      first = false;
-
 
202249
      sb.append(")");
-
 
202250
      return sb.toString();
-
 
202251
    }
-
 
202252
 
-
 
202253
    public void validate() throws org.apache.thrift.TException {
-
 
202254
      // check for required fields
-
 
202255
    }
-
 
202256
 
-
 
202257
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
202258
      try {
-
 
202259
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
202260
      } catch (org.apache.thrift.TException te) {
-
 
202261
        throw new java.io.IOException(te);
-
 
202262
      }
-
 
202263
    }
-
 
202264
 
-
 
202265
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
202266
      try {
-
 
202267
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
202268
      } catch (org.apache.thrift.TException te) {
-
 
202269
        throw new java.io.IOException(te);
-
 
202270
      }
-
 
202271
    }
-
 
202272
 
-
 
202273
  }
-
 
202274
 
-
 
202275
  public static class updateCreditorInfo_args implements org.apache.thrift.TBase<updateCreditorInfo_args, updateCreditorInfo_args._Fields>, java.io.Serializable, Cloneable   {
-
 
202276
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateCreditorInfo_args");
-
 
202277
 
-
 
202278
    private static final org.apache.thrift.protocol.TField CREDITOR_FIELD_DESC = new org.apache.thrift.protocol.TField("creditor", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
202279
 
-
 
202280
    private Creditor creditor; // required
-
 
202281
 
-
 
202282
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
202283
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
202284
      CREDITOR((short)1, "creditor");
-
 
202285
 
-
 
202286
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
202287
 
-
 
202288
      static {
-
 
202289
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
202290
          byName.put(field.getFieldName(), field);
-
 
202291
        }
-
 
202292
      }
-
 
202293
 
-
 
202294
      /**
-
 
202295
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
202296
       */
-
 
202297
      public static _Fields findByThriftId(int fieldId) {
-
 
202298
        switch(fieldId) {
-
 
202299
          case 1: // CREDITOR
-
 
202300
            return CREDITOR;
-
 
202301
          default:
-
 
202302
            return null;
-
 
202303
        }
-
 
202304
      }
-
 
202305
 
-
 
202306
      /**
-
 
202307
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
202308
       * if it is not found.
-
 
202309
       */
-
 
202310
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
202311
        _Fields fields = findByThriftId(fieldId);
-
 
202312
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
202313
        return fields;
-
 
202314
      }
-
 
202315
 
-
 
202316
      /**
-
 
202317
       * Find the _Fields constant that matches name, or null if its not found.
-
 
202318
       */
-
 
202319
      public static _Fields findByName(String name) {
-
 
202320
        return byName.get(name);
-
 
202321
      }
-
 
202322
 
-
 
202323
      private final short _thriftId;
-
 
202324
      private final String _fieldName;
-
 
202325
 
-
 
202326
      _Fields(short thriftId, String fieldName) {
-
 
202327
        _thriftId = thriftId;
-
 
202328
        _fieldName = fieldName;
-
 
202329
      }
-
 
202330
 
-
 
202331
      public short getThriftFieldId() {
-
 
202332
        return _thriftId;
-
 
202333
      }
-
 
202334
 
-
 
202335
      public String getFieldName() {
-
 
202336
        return _fieldName;
-
 
202337
      }
-
 
202338
    }
-
 
202339
 
-
 
202340
    // isset id assignments
-
 
202341
 
-
 
202342
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
202343
    static {
-
 
202344
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
202345
      tmpMap.put(_Fields.CREDITOR, new org.apache.thrift.meta_data.FieldMetaData("creditor", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
202346
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Creditor.class)));
-
 
202347
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
202348
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateCreditorInfo_args.class, metaDataMap);
-
 
202349
    }
-
 
202350
 
-
 
202351
    public updateCreditorInfo_args() {
-
 
202352
    }
-
 
202353
 
-
 
202354
    public updateCreditorInfo_args(
-
 
202355
      Creditor creditor)
-
 
202356
    {
-
 
202357
      this();
-
 
202358
      this.creditor = creditor;
-
 
202359
    }
-
 
202360
 
-
 
202361
    /**
-
 
202362
     * Performs a deep copy on <i>other</i>.
-
 
202363
     */
-
 
202364
    public updateCreditorInfo_args(updateCreditorInfo_args other) {
-
 
202365
      if (other.isSetCreditor()) {
-
 
202366
        this.creditor = new Creditor(other.creditor);
-
 
202367
      }
-
 
202368
    }
-
 
202369
 
-
 
202370
    public updateCreditorInfo_args deepCopy() {
-
 
202371
      return new updateCreditorInfo_args(this);
-
 
202372
    }
-
 
202373
 
-
 
202374
    @Override
-
 
202375
    public void clear() {
-
 
202376
      this.creditor = null;
-
 
202377
    }
-
 
202378
 
-
 
202379
    public Creditor getCreditor() {
-
 
202380
      return this.creditor;
-
 
202381
    }
-
 
202382
 
-
 
202383
    public void setCreditor(Creditor creditor) {
-
 
202384
      this.creditor = creditor;
-
 
202385
    }
-
 
202386
 
-
 
202387
    public void unsetCreditor() {
-
 
202388
      this.creditor = null;
-
 
202389
    }
-
 
202390
 
-
 
202391
    /** Returns true if field creditor is set (has been assigned a value) and false otherwise */
-
 
202392
    public boolean isSetCreditor() {
-
 
202393
      return this.creditor != null;
-
 
202394
    }
-
 
202395
 
-
 
202396
    public void setCreditorIsSet(boolean value) {
-
 
202397
      if (!value) {
-
 
202398
        this.creditor = null;
-
 
202399
      }
-
 
202400
    }
-
 
202401
 
-
 
202402
    public void setFieldValue(_Fields field, Object value) {
-
 
202403
      switch (field) {
-
 
202404
      case CREDITOR:
-
 
202405
        if (value == null) {
-
 
202406
          unsetCreditor();
-
 
202407
        } else {
-
 
202408
          setCreditor((Creditor)value);
-
 
202409
        }
-
 
202410
        break;
-
 
202411
 
-
 
202412
      }
-
 
202413
    }
-
 
202414
 
-
 
202415
    public Object getFieldValue(_Fields field) {
-
 
202416
      switch (field) {
-
 
202417
      case CREDITOR:
-
 
202418
        return getCreditor();
-
 
202419
 
-
 
202420
      }
-
 
202421
      throw new IllegalStateException();
-
 
202422
    }
-
 
202423
 
-
 
202424
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
202425
    public boolean isSet(_Fields field) {
-
 
202426
      if (field == null) {
-
 
202427
        throw new IllegalArgumentException();
-
 
202428
      }
-
 
202429
 
-
 
202430
      switch (field) {
-
 
202431
      case CREDITOR:
-
 
202432
        return isSetCreditor();
-
 
202433
      }
-
 
202434
      throw new IllegalStateException();
-
 
202435
    }
-
 
202436
 
-
 
202437
    @Override
-
 
202438
    public boolean equals(Object that) {
-
 
202439
      if (that == null)
-
 
202440
        return false;
-
 
202441
      if (that instanceof updateCreditorInfo_args)
-
 
202442
        return this.equals((updateCreditorInfo_args)that);
-
 
202443
      return false;
-
 
202444
    }
-
 
202445
 
-
 
202446
    public boolean equals(updateCreditorInfo_args that) {
-
 
202447
      if (that == null)
-
 
202448
        return false;
-
 
202449
 
-
 
202450
      boolean this_present_creditor = true && this.isSetCreditor();
-
 
202451
      boolean that_present_creditor = true && that.isSetCreditor();
-
 
202452
      if (this_present_creditor || that_present_creditor) {
-
 
202453
        if (!(this_present_creditor && that_present_creditor))
-
 
202454
          return false;
-
 
202455
        if (!this.creditor.equals(that.creditor))
-
 
202456
          return false;
-
 
202457
      }
-
 
202458
 
-
 
202459
      return true;
-
 
202460
    }
-
 
202461
 
-
 
202462
    @Override
-
 
202463
    public int hashCode() {
-
 
202464
      return 0;
-
 
202465
    }
-
 
202466
 
-
 
202467
    public int compareTo(updateCreditorInfo_args other) {
-
 
202468
      if (!getClass().equals(other.getClass())) {
-
 
202469
        return getClass().getName().compareTo(other.getClass().getName());
-
 
202470
      }
-
 
202471
 
-
 
202472
      int lastComparison = 0;
-
 
202473
      updateCreditorInfo_args typedOther = (updateCreditorInfo_args)other;
-
 
202474
 
-
 
202475
      lastComparison = Boolean.valueOf(isSetCreditor()).compareTo(typedOther.isSetCreditor());
-
 
202476
      if (lastComparison != 0) {
-
 
202477
        return lastComparison;
-
 
202478
      }
-
 
202479
      if (isSetCreditor()) {
-
 
202480
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creditor, typedOther.creditor);
-
 
202481
        if (lastComparison != 0) {
-
 
202482
          return lastComparison;
-
 
202483
        }
-
 
202484
      }
-
 
202485
      return 0;
-
 
202486
    }
-
 
202487
 
-
 
202488
    public _Fields fieldForId(int fieldId) {
-
 
202489
      return _Fields.findByThriftId(fieldId);
-
 
202490
    }
-
 
202491
 
-
 
202492
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
202493
      org.apache.thrift.protocol.TField field;
-
 
202494
      iprot.readStructBegin();
-
 
202495
      while (true)
-
 
202496
      {
-
 
202497
        field = iprot.readFieldBegin();
-
 
202498
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
202499
          break;
-
 
202500
        }
-
 
202501
        switch (field.id) {
-
 
202502
          case 1: // CREDITOR
-
 
202503
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
202504
              this.creditor = new Creditor();
-
 
202505
              this.creditor.read(iprot);
-
 
202506
            } else { 
-
 
202507
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
202508
            }
-
 
202509
            break;
-
 
202510
          default:
-
 
202511
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
202512
        }
-
 
202513
        iprot.readFieldEnd();
-
 
202514
      }
-
 
202515
      iprot.readStructEnd();
-
 
202516
      validate();
-
 
202517
    }
-
 
202518
 
-
 
202519
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
202520
      validate();
-
 
202521
 
-
 
202522
      oprot.writeStructBegin(STRUCT_DESC);
-
 
202523
      if (this.creditor != null) {
-
 
202524
        oprot.writeFieldBegin(CREDITOR_FIELD_DESC);
-
 
202525
        this.creditor.write(oprot);
-
 
202526
        oprot.writeFieldEnd();
-
 
202527
      }
-
 
202528
      oprot.writeFieldStop();
-
 
202529
      oprot.writeStructEnd();
-
 
202530
    }
-
 
202531
 
-
 
202532
    @Override
-
 
202533
    public String toString() {
-
 
202534
      StringBuilder sb = new StringBuilder("updateCreditorInfo_args(");
-
 
202535
      boolean first = true;
-
 
202536
 
-
 
202537
      sb.append("creditor:");
-
 
202538
      if (this.creditor == null) {
-
 
202539
        sb.append("null");
-
 
202540
      } else {
-
 
202541
        sb.append(this.creditor);
-
 
202542
      }
-
 
202543
      first = false;
-
 
202544
      sb.append(")");
-
 
202545
      return sb.toString();
-
 
202546
    }
-
 
202547
 
-
 
202548
    public void validate() throws org.apache.thrift.TException {
-
 
202549
      // check for required fields
-
 
202550
    }
-
 
202551
 
-
 
202552
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
202553
      try {
-
 
202554
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
202555
      } catch (org.apache.thrift.TException te) {
-
 
202556
        throw new java.io.IOException(te);
-
 
202557
      }
-
 
202558
    }
-
 
202559
 
-
 
202560
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
202561
      try {
-
 
202562
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
202563
      } catch (org.apache.thrift.TException te) {
-
 
202564
        throw new java.io.IOException(te);
-
 
202565
      }
-
 
202566
    }
-
 
202567
 
-
 
202568
  }
-
 
202569
 
-
 
202570
  public static class updateCreditorInfo_result implements org.apache.thrift.TBase<updateCreditorInfo_result, updateCreditorInfo_result._Fields>, java.io.Serializable, Cloneable   {
-
 
202571
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateCreditorInfo_result");
-
 
202572
 
-
 
202573
    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);
-
 
202574
 
-
 
202575
    private boolean success; // required
-
 
202576
 
-
 
202577
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
202578
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
202579
      SUCCESS((short)0, "success");
-
 
202580
 
-
 
202581
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
202582
 
-
 
202583
      static {
-
 
202584
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
202585
          byName.put(field.getFieldName(), field);
-
 
202586
        }
-
 
202587
      }
-
 
202588
 
-
 
202589
      /**
-
 
202590
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
202591
       */
-
 
202592
      public static _Fields findByThriftId(int fieldId) {
-
 
202593
        switch(fieldId) {
-
 
202594
          case 0: // SUCCESS
-
 
202595
            return SUCCESS;
-
 
202596
          default:
-
 
202597
            return null;
-
 
202598
        }
-
 
202599
      }
-
 
202600
 
-
 
202601
      /**
-
 
202602
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
202603
       * if it is not found.
-
 
202604
       */
-
 
202605
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
202606
        _Fields fields = findByThriftId(fieldId);
-
 
202607
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
202608
        return fields;
-
 
202609
      }
-
 
202610
 
-
 
202611
      /**
-
 
202612
       * Find the _Fields constant that matches name, or null if its not found.
-
 
202613
       */
-
 
202614
      public static _Fields findByName(String name) {
-
 
202615
        return byName.get(name);
-
 
202616
      }
-
 
202617
 
-
 
202618
      private final short _thriftId;
-
 
202619
      private final String _fieldName;
-
 
202620
 
-
 
202621
      _Fields(short thriftId, String fieldName) {
-
 
202622
        _thriftId = thriftId;
-
 
202623
        _fieldName = fieldName;
-
 
202624
      }
-
 
202625
 
-
 
202626
      public short getThriftFieldId() {
-
 
202627
        return _thriftId;
-
 
202628
      }
-
 
202629
 
-
 
202630
      public String getFieldName() {
-
 
202631
        return _fieldName;
-
 
202632
      }
-
 
202633
    }
-
 
202634
 
-
 
202635
    // isset id assignments
-
 
202636
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
202637
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
202638
 
-
 
202639
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
202640
    static {
-
 
202641
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
202642
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
202643
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
202644
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
202645
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateCreditorInfo_result.class, metaDataMap);
-
 
202646
    }
-
 
202647
 
-
 
202648
    public updateCreditorInfo_result() {
-
 
202649
    }
-
 
202650
 
-
 
202651
    public updateCreditorInfo_result(
-
 
202652
      boolean success)
-
 
202653
    {
-
 
202654
      this();
-
 
202655
      this.success = success;
-
 
202656
      setSuccessIsSet(true);
-
 
202657
    }
-
 
202658
 
-
 
202659
    /**
-
 
202660
     * Performs a deep copy on <i>other</i>.
-
 
202661
     */
-
 
202662
    public updateCreditorInfo_result(updateCreditorInfo_result other) {
-
 
202663
      __isset_bit_vector.clear();
-
 
202664
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
202665
      this.success = other.success;
-
 
202666
    }
-
 
202667
 
-
 
202668
    public updateCreditorInfo_result deepCopy() {
-
 
202669
      return new updateCreditorInfo_result(this);
-
 
202670
    }
-
 
202671
 
-
 
202672
    @Override
-
 
202673
    public void clear() {
-
 
202674
      setSuccessIsSet(false);
-
 
202675
      this.success = false;
-
 
202676
    }
-
 
202677
 
-
 
202678
    public boolean isSuccess() {
-
 
202679
      return this.success;
-
 
202680
    }
-
 
202681
 
-
 
202682
    public void setSuccess(boolean success) {
-
 
202683
      this.success = success;
-
 
202684
      setSuccessIsSet(true);
-
 
202685
    }
-
 
202686
 
-
 
202687
    public void unsetSuccess() {
-
 
202688
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
202689
    }
-
 
202690
 
-
 
202691
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
202692
    public boolean isSetSuccess() {
-
 
202693
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
202694
    }
-
 
202695
 
-
 
202696
    public void setSuccessIsSet(boolean value) {
-
 
202697
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
202698
    }
-
 
202699
 
-
 
202700
    public void setFieldValue(_Fields field, Object value) {
-
 
202701
      switch (field) {
-
 
202702
      case SUCCESS:
-
 
202703
        if (value == null) {
-
 
202704
          unsetSuccess();
-
 
202705
        } else {
-
 
202706
          setSuccess((Boolean)value);
-
 
202707
        }
-
 
202708
        break;
-
 
202709
 
-
 
202710
      }
-
 
202711
    }
-
 
202712
 
-
 
202713
    public Object getFieldValue(_Fields field) {
-
 
202714
      switch (field) {
-
 
202715
      case SUCCESS:
-
 
202716
        return Boolean.valueOf(isSuccess());
-
 
202717
 
-
 
202718
      }
-
 
202719
      throw new IllegalStateException();
-
 
202720
    }
-
 
202721
 
-
 
202722
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
202723
    public boolean isSet(_Fields field) {
-
 
202724
      if (field == null) {
-
 
202725
        throw new IllegalArgumentException();
-
 
202726
      }
-
 
202727
 
-
 
202728
      switch (field) {
-
 
202729
      case SUCCESS:
-
 
202730
        return isSetSuccess();
-
 
202731
      }
-
 
202732
      throw new IllegalStateException();
-
 
202733
    }
-
 
202734
 
-
 
202735
    @Override
-
 
202736
    public boolean equals(Object that) {
-
 
202737
      if (that == null)
-
 
202738
        return false;
-
 
202739
      if (that instanceof updateCreditorInfo_result)
-
 
202740
        return this.equals((updateCreditorInfo_result)that);
-
 
202741
      return false;
-
 
202742
    }
-
 
202743
 
-
 
202744
    public boolean equals(updateCreditorInfo_result that) {
-
 
202745
      if (that == null)
-
 
202746
        return false;
-
 
202747
 
-
 
202748
      boolean this_present_success = true;
-
 
202749
      boolean that_present_success = true;
-
 
202750
      if (this_present_success || that_present_success) {
-
 
202751
        if (!(this_present_success && that_present_success))
-
 
202752
          return false;
-
 
202753
        if (this.success != that.success)
-
 
202754
          return false;
-
 
202755
      }
-
 
202756
 
-
 
202757
      return true;
-
 
202758
    }
-
 
202759
 
-
 
202760
    @Override
-
 
202761
    public int hashCode() {
-
 
202762
      return 0;
-
 
202763
    }
-
 
202764
 
-
 
202765
    public int compareTo(updateCreditorInfo_result other) {
-
 
202766
      if (!getClass().equals(other.getClass())) {
-
 
202767
        return getClass().getName().compareTo(other.getClass().getName());
-
 
202768
      }
-
 
202769
 
-
 
202770
      int lastComparison = 0;
-
 
202771
      updateCreditorInfo_result typedOther = (updateCreditorInfo_result)other;
-
 
202772
 
-
 
202773
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
202774
      if (lastComparison != 0) {
-
 
202775
        return lastComparison;
-
 
202776
      }
-
 
202777
      if (isSetSuccess()) {
-
 
202778
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
202779
        if (lastComparison != 0) {
-
 
202780
          return lastComparison;
-
 
202781
        }
-
 
202782
      }
-
 
202783
      return 0;
-
 
202784
    }
-
 
202785
 
-
 
202786
    public _Fields fieldForId(int fieldId) {
-
 
202787
      return _Fields.findByThriftId(fieldId);
-
 
202788
    }
-
 
202789
 
-
 
202790
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
202791
      org.apache.thrift.protocol.TField field;
-
 
202792
      iprot.readStructBegin();
-
 
202793
      while (true)
-
 
202794
      {
-
 
202795
        field = iprot.readFieldBegin();
-
 
202796
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
202797
          break;
-
 
202798
        }
-
 
202799
        switch (field.id) {
-
 
202800
          case 0: // SUCCESS
-
 
202801
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
202802
              this.success = iprot.readBool();
-
 
202803
              setSuccessIsSet(true);
-
 
202804
            } else { 
-
 
202805
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
202806
            }
-
 
202807
            break;
-
 
202808
          default:
-
 
202809
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
202810
        }
-
 
202811
        iprot.readFieldEnd();
-
 
202812
      }
-
 
202813
      iprot.readStructEnd();
-
 
202814
      validate();
-
 
202815
    }
-
 
202816
 
-
 
202817
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
202818
      oprot.writeStructBegin(STRUCT_DESC);
-
 
202819
 
-
 
202820
      if (this.isSetSuccess()) {
-
 
202821
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
202822
        oprot.writeBool(this.success);
-
 
202823
        oprot.writeFieldEnd();
-
 
202824
      }
-
 
202825
      oprot.writeFieldStop();
-
 
202826
      oprot.writeStructEnd();
-
 
202827
    }
-
 
202828
 
-
 
202829
    @Override
-
 
202830
    public String toString() {
-
 
202831
      StringBuilder sb = new StringBuilder("updateCreditorInfo_result(");
-
 
202832
      boolean first = true;
-
 
202833
 
-
 
202834
      sb.append("success:");
-
 
202835
      sb.append(this.success);
-
 
202836
      first = false;
-
 
202837
      sb.append(")");
-
 
202838
      return sb.toString();
-
 
202839
    }
-
 
202840
 
-
 
202841
    public void validate() throws org.apache.thrift.TException {
-
 
202842
      // check for required fields
-
 
202843
    }
-
 
202844
 
-
 
202845
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
202846
      try {
-
 
202847
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
202848
      } catch (org.apache.thrift.TException te) {
-
 
202849
        throw new java.io.IOException(te);
-
 
202850
      }
-
 
202851
    }
-
 
202852
 
-
 
202853
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
202854
      try {
-
 
202855
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
202856
      } catch (org.apache.thrift.TException te) {
-
 
202857
        throw new java.io.IOException(te);
-
 
202858
      }
-
 
202859
    }
-
 
202860
 
-
 
202861
  }
-
 
202862
 
-
 
202863
  public static class getUserSanctionDetails_args implements org.apache.thrift.TBase<getUserSanctionDetails_args, getUserSanctionDetails_args._Fields>, java.io.Serializable, Cloneable   {
-
 
202864
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserSanctionDetails_args");
-
 
202865
 
-
 
202866
    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);
-
 
202867
 
-
 
202868
    private long userId; // required
-
 
202869
 
-
 
202870
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
202871
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
202872
      USER_ID((short)1, "userId");
-
 
202873
 
-
 
202874
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
202875
 
-
 
202876
      static {
-
 
202877
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
202878
          byName.put(field.getFieldName(), field);
-
 
202879
        }
-
 
202880
      }
-
 
202881
 
-
 
202882
      /**
-
 
202883
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
202884
       */
-
 
202885
      public static _Fields findByThriftId(int fieldId) {
-
 
202886
        switch(fieldId) {
-
 
202887
          case 1: // USER_ID
-
 
202888
            return USER_ID;
-
 
202889
          default:
-
 
202890
            return null;
-
 
202891
        }
-
 
202892
      }
-
 
202893
 
-
 
202894
      /**
-
 
202895
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
202896
       * if it is not found.
-
 
202897
       */
-
 
202898
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
202899
        _Fields fields = findByThriftId(fieldId);
-
 
202900
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
202901
        return fields;
-
 
202902
      }
-
 
202903
 
-
 
202904
      /**
-
 
202905
       * Find the _Fields constant that matches name, or null if its not found.
-
 
202906
       */
-
 
202907
      public static _Fields findByName(String name) {
-
 
202908
        return byName.get(name);
-
 
202909
      }
-
 
202910
 
-
 
202911
      private final short _thriftId;
-
 
202912
      private final String _fieldName;
-
 
202913
 
-
 
202914
      _Fields(short thriftId, String fieldName) {
-
 
202915
        _thriftId = thriftId;
-
 
202916
        _fieldName = fieldName;
-
 
202917
      }
-
 
202918
 
-
 
202919
      public short getThriftFieldId() {
-
 
202920
        return _thriftId;
-
 
202921
      }
-
 
202922
 
-
 
202923
      public String getFieldName() {
-
 
202924
        return _fieldName;
-
 
202925
      }
-
 
202926
    }
-
 
202927
 
-
 
202928
    // isset id assignments
-
 
202929
    private static final int __USERID_ISSET_ID = 0;
-
 
202930
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
202931
 
-
 
202932
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
202933
    static {
-
 
202934
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
202935
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
202936
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
202937
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
202938
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserSanctionDetails_args.class, metaDataMap);
-
 
202939
    }
-
 
202940
 
-
 
202941
    public getUserSanctionDetails_args() {
-
 
202942
    }
-
 
202943
 
-
 
202944
    public getUserSanctionDetails_args(
-
 
202945
      long userId)
-
 
202946
    {
-
 
202947
      this();
-
 
202948
      this.userId = userId;
-
 
202949
      setUserIdIsSet(true);
-
 
202950
    }
-
 
202951
 
-
 
202952
    /**
-
 
202953
     * Performs a deep copy on <i>other</i>.
-
 
202954
     */
-
 
202955
    public getUserSanctionDetails_args(getUserSanctionDetails_args other) {
-
 
202956
      __isset_bit_vector.clear();
-
 
202957
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
202958
      this.userId = other.userId;
-
 
202959
    }
-
 
202960
 
-
 
202961
    public getUserSanctionDetails_args deepCopy() {
-
 
202962
      return new getUserSanctionDetails_args(this);
-
 
202963
    }
-
 
202964
 
-
 
202965
    @Override
-
 
202966
    public void clear() {
-
 
202967
      setUserIdIsSet(false);
-
 
202968
      this.userId = 0;
-
 
202969
    }
-
 
202970
 
-
 
202971
    public long getUserId() {
-
 
202972
      return this.userId;
-
 
202973
    }
-
 
202974
 
-
 
202975
    public void setUserId(long userId) {
-
 
202976
      this.userId = userId;
-
 
202977
      setUserIdIsSet(true);
-
 
202978
    }
-
 
202979
 
-
 
202980
    public void unsetUserId() {
-
 
202981
      __isset_bit_vector.clear(__USERID_ISSET_ID);
-
 
202982
    }
-
 
202983
 
-
 
202984
    /** Returns true if field userId is set (has been assigned a value) and false otherwise */
-
 
202985
    public boolean isSetUserId() {
-
 
202986
      return __isset_bit_vector.get(__USERID_ISSET_ID);
-
 
202987
    }
-
 
202988
 
-
 
202989
    public void setUserIdIsSet(boolean value) {
-
 
202990
      __isset_bit_vector.set(__USERID_ISSET_ID, value);
-
 
202991
    }
-
 
202992
 
-
 
202993
    public void setFieldValue(_Fields field, Object value) {
-
 
202994
      switch (field) {
-
 
202995
      case USER_ID:
-
 
202996
        if (value == null) {
-
 
202997
          unsetUserId();
-
 
202998
        } else {
-
 
202999
          setUserId((Long)value);
-
 
203000
        }
-
 
203001
        break;
-
 
203002
 
-
 
203003
      }
-
 
203004
    }
-
 
203005
 
-
 
203006
    public Object getFieldValue(_Fields field) {
-
 
203007
      switch (field) {
-
 
203008
      case USER_ID:
-
 
203009
        return Long.valueOf(getUserId());
-
 
203010
 
-
 
203011
      }
-
 
203012
      throw new IllegalStateException();
-
 
203013
    }
-
 
203014
 
-
 
203015
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
203016
    public boolean isSet(_Fields field) {
-
 
203017
      if (field == null) {
-
 
203018
        throw new IllegalArgumentException();
-
 
203019
      }
-
 
203020
 
-
 
203021
      switch (field) {
-
 
203022
      case USER_ID:
-
 
203023
        return isSetUserId();
-
 
203024
      }
-
 
203025
      throw new IllegalStateException();
-
 
203026
    }
-
 
203027
 
-
 
203028
    @Override
-
 
203029
    public boolean equals(Object that) {
-
 
203030
      if (that == null)
-
 
203031
        return false;
-
 
203032
      if (that instanceof getUserSanctionDetails_args)
-
 
203033
        return this.equals((getUserSanctionDetails_args)that);
-
 
203034
      return false;
-
 
203035
    }
-
 
203036
 
-
 
203037
    public boolean equals(getUserSanctionDetails_args that) {
-
 
203038
      if (that == null)
-
 
203039
        return false;
-
 
203040
 
-
 
203041
      boolean this_present_userId = true;
-
 
203042
      boolean that_present_userId = true;
-
 
203043
      if (this_present_userId || that_present_userId) {
-
 
203044
        if (!(this_present_userId && that_present_userId))
-
 
203045
          return false;
-
 
203046
        if (this.userId != that.userId)
-
 
203047
          return false;
-
 
203048
      }
-
 
203049
 
-
 
203050
      return true;
-
 
203051
    }
-
 
203052
 
-
 
203053
    @Override
-
 
203054
    public int hashCode() {
-
 
203055
      return 0;
-
 
203056
    }
-
 
203057
 
-
 
203058
    public int compareTo(getUserSanctionDetails_args other) {
-
 
203059
      if (!getClass().equals(other.getClass())) {
-
 
203060
        return getClass().getName().compareTo(other.getClass().getName());
-
 
203061
      }
-
 
203062
 
-
 
203063
      int lastComparison = 0;
-
 
203064
      getUserSanctionDetails_args typedOther = (getUserSanctionDetails_args)other;
-
 
203065
 
-
 
203066
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
-
 
203067
      if (lastComparison != 0) {
-
 
203068
        return lastComparison;
-
 
203069
      }
-
 
203070
      if (isSetUserId()) {
-
 
203071
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
-
 
203072
        if (lastComparison != 0) {
-
 
203073
          return lastComparison;
-
 
203074
        }
-
 
203075
      }
-
 
203076
      return 0;
-
 
203077
    }
-
 
203078
 
-
 
203079
    public _Fields fieldForId(int fieldId) {
-
 
203080
      return _Fields.findByThriftId(fieldId);
-
 
203081
    }
-
 
203082
 
-
 
203083
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
203084
      org.apache.thrift.protocol.TField field;
-
 
203085
      iprot.readStructBegin();
-
 
203086
      while (true)
-
 
203087
      {
-
 
203088
        field = iprot.readFieldBegin();
-
 
203089
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
203090
          break;
-
 
203091
        }
-
 
203092
        switch (field.id) {
-
 
203093
          case 1: // USER_ID
-
 
203094
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
203095
              this.userId = iprot.readI64();
-
 
203096
              setUserIdIsSet(true);
-
 
203097
            } else { 
-
 
203098
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
203099
            }
-
 
203100
            break;
-
 
203101
          default:
-
 
203102
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
203103
        }
-
 
203104
        iprot.readFieldEnd();
-
 
203105
      }
-
 
203106
      iprot.readStructEnd();
-
 
203107
      validate();
-
 
203108
    }
-
 
203109
 
-
 
203110
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
203111
      validate();
-
 
203112
 
-
 
203113
      oprot.writeStructBegin(STRUCT_DESC);
-
 
203114
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
-
 
203115
      oprot.writeI64(this.userId);
-
 
203116
      oprot.writeFieldEnd();
-
 
203117
      oprot.writeFieldStop();
-
 
203118
      oprot.writeStructEnd();
-
 
203119
    }
-
 
203120
 
-
 
203121
    @Override
-
 
203122
    public String toString() {
-
 
203123
      StringBuilder sb = new StringBuilder("getUserSanctionDetails_args(");
-
 
203124
      boolean first = true;
-
 
203125
 
-
 
203126
      sb.append("userId:");
-
 
203127
      sb.append(this.userId);
-
 
203128
      first = false;
-
 
203129
      sb.append(")");
-
 
203130
      return sb.toString();
-
 
203131
    }
-
 
203132
 
-
 
203133
    public void validate() throws org.apache.thrift.TException {
-
 
203134
      // check for required fields
-
 
203135
    }
-
 
203136
 
-
 
203137
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
203138
      try {
-
 
203139
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
203140
      } catch (org.apache.thrift.TException te) {
-
 
203141
        throw new java.io.IOException(te);
-
 
203142
      }
-
 
203143
    }
-
 
203144
 
-
 
203145
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
203146
      try {
-
 
203147
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
203148
        __isset_bit_vector = new BitSet(1);
-
 
203149
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
203150
      } catch (org.apache.thrift.TException te) {
-
 
203151
        throw new java.io.IOException(te);
-
 
203152
      }
-
 
203153
    }
-
 
203154
 
-
 
203155
  }
-
 
203156
 
-
 
203157
  public static class getUserSanctionDetails_result implements org.apache.thrift.TBase<getUserSanctionDetails_result, getUserSanctionDetails_result._Fields>, java.io.Serializable, Cloneable   {
-
 
203158
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserSanctionDetails_result");
-
 
203159
 
-
 
203160
    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);
-
 
203161
 
-
 
203162
    private List<UserSanction> success; // required
-
 
203163
 
-
 
203164
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
203165
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
203166
      SUCCESS((short)0, "success");
-
 
203167
 
-
 
203168
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
203169
 
-
 
203170
      static {
-
 
203171
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
203172
          byName.put(field.getFieldName(), field);
-
 
203173
        }
-
 
203174
      }
-
 
203175
 
-
 
203176
      /**
-
 
203177
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
203178
       */
-
 
203179
      public static _Fields findByThriftId(int fieldId) {
-
 
203180
        switch(fieldId) {
-
 
203181
          case 0: // SUCCESS
-
 
203182
            return SUCCESS;
-
 
203183
          default:
-
 
203184
            return null;
-
 
203185
        }
-
 
203186
      }
-
 
203187
 
-
 
203188
      /**
-
 
203189
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
203190
       * if it is not found.
-
 
203191
       */
-
 
203192
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
203193
        _Fields fields = findByThriftId(fieldId);
-
 
203194
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
203195
        return fields;
-
 
203196
      }
-
 
203197
 
-
 
203198
      /**
-
 
203199
       * Find the _Fields constant that matches name, or null if its not found.
-
 
203200
       */
-
 
203201
      public static _Fields findByName(String name) {
-
 
203202
        return byName.get(name);
-
 
203203
      }
-
 
203204
 
-
 
203205
      private final short _thriftId;
-
 
203206
      private final String _fieldName;
-
 
203207
 
-
 
203208
      _Fields(short thriftId, String fieldName) {
-
 
203209
        _thriftId = thriftId;
-
 
203210
        _fieldName = fieldName;
-
 
203211
      }
-
 
203212
 
-
 
203213
      public short getThriftFieldId() {
-
 
203214
        return _thriftId;
-
 
203215
      }
-
 
203216
 
-
 
203217
      public String getFieldName() {
-
 
203218
        return _fieldName;
-
 
203219
      }
-
 
203220
    }
-
 
203221
 
-
 
203222
    // isset id assignments
-
 
203223
 
-
 
203224
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
203225
    static {
-
 
203226
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
203227
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
203228
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
203229
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserSanction.class))));
-
 
203230
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
203231
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserSanctionDetails_result.class, metaDataMap);
-
 
203232
    }
-
 
203233
 
-
 
203234
    public getUserSanctionDetails_result() {
-
 
203235
    }
-
 
203236
 
-
 
203237
    public getUserSanctionDetails_result(
-
 
203238
      List<UserSanction> success)
-
 
203239
    {
-
 
203240
      this();
-
 
203241
      this.success = success;
-
 
203242
    }
-
 
203243
 
-
 
203244
    /**
-
 
203245
     * Performs a deep copy on <i>other</i>.
-
 
203246
     */
-
 
203247
    public getUserSanctionDetails_result(getUserSanctionDetails_result other) {
-
 
203248
      if (other.isSetSuccess()) {
-
 
203249
        List<UserSanction> __this__success = new ArrayList<UserSanction>();
-
 
203250
        for (UserSanction other_element : other.success) {
-
 
203251
          __this__success.add(new UserSanction(other_element));
-
 
203252
        }
-
 
203253
        this.success = __this__success;
-
 
203254
      }
-
 
203255
    }
-
 
203256
 
-
 
203257
    public getUserSanctionDetails_result deepCopy() {
-
 
203258
      return new getUserSanctionDetails_result(this);
-
 
203259
    }
-
 
203260
 
-
 
203261
    @Override
-
 
203262
    public void clear() {
-
 
203263
      this.success = null;
-
 
203264
    }
-
 
203265
 
-
 
203266
    public int getSuccessSize() {
-
 
203267
      return (this.success == null) ? 0 : this.success.size();
-
 
203268
    }
-
 
203269
 
-
 
203270
    public java.util.Iterator<UserSanction> getSuccessIterator() {
-
 
203271
      return (this.success == null) ? null : this.success.iterator();
-
 
203272
    }
-
 
203273
 
-
 
203274
    public void addToSuccess(UserSanction elem) {
-
 
203275
      if (this.success == null) {
-
 
203276
        this.success = new ArrayList<UserSanction>();
-
 
203277
      }
-
 
203278
      this.success.add(elem);
-
 
203279
    }
-
 
203280
 
-
 
203281
    public List<UserSanction> getSuccess() {
-
 
203282
      return this.success;
-
 
203283
    }
-
 
203284
 
-
 
203285
    public void setSuccess(List<UserSanction> success) {
-
 
203286
      this.success = success;
-
 
203287
    }
-
 
203288
 
-
 
203289
    public void unsetSuccess() {
-
 
203290
      this.success = null;
-
 
203291
    }
-
 
203292
 
-
 
203293
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
203294
    public boolean isSetSuccess() {
-
 
203295
      return this.success != null;
-
 
203296
    }
-
 
203297
 
-
 
203298
    public void setSuccessIsSet(boolean value) {
-
 
203299
      if (!value) {
-
 
203300
        this.success = null;
-
 
203301
      }
-
 
203302
    }
-
 
203303
 
-
 
203304
    public void setFieldValue(_Fields field, Object value) {
-
 
203305
      switch (field) {
-
 
203306
      case SUCCESS:
-
 
203307
        if (value == null) {
-
 
203308
          unsetSuccess();
-
 
203309
        } else {
-
 
203310
          setSuccess((List<UserSanction>)value);
-
 
203311
        }
-
 
203312
        break;
-
 
203313
 
-
 
203314
      }
-
 
203315
    }
-
 
203316
 
-
 
203317
    public Object getFieldValue(_Fields field) {
-
 
203318
      switch (field) {
-
 
203319
      case SUCCESS:
-
 
203320
        return getSuccess();
-
 
203321
 
-
 
203322
      }
-
 
203323
      throw new IllegalStateException();
-
 
203324
    }
-
 
203325
 
-
 
203326
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
203327
    public boolean isSet(_Fields field) {
-
 
203328
      if (field == null) {
-
 
203329
        throw new IllegalArgumentException();
-
 
203330
      }
-
 
203331
 
-
 
203332
      switch (field) {
-
 
203333
      case SUCCESS:
-
 
203334
        return isSetSuccess();
-
 
203335
      }
-
 
203336
      throw new IllegalStateException();
-
 
203337
    }
-
 
203338
 
-
 
203339
    @Override
-
 
203340
    public boolean equals(Object that) {
-
 
203341
      if (that == null)
-
 
203342
        return false;
-
 
203343
      if (that instanceof getUserSanctionDetails_result)
-
 
203344
        return this.equals((getUserSanctionDetails_result)that);
-
 
203345
      return false;
-
 
203346
    }
-
 
203347
 
-
 
203348
    public boolean equals(getUserSanctionDetails_result that) {
-
 
203349
      if (that == null)
-
 
203350
        return false;
-
 
203351
 
-
 
203352
      boolean this_present_success = true && this.isSetSuccess();
-
 
203353
      boolean that_present_success = true && that.isSetSuccess();
-
 
203354
      if (this_present_success || that_present_success) {
-
 
203355
        if (!(this_present_success && that_present_success))
-
 
203356
          return false;
-
 
203357
        if (!this.success.equals(that.success))
-
 
203358
          return false;
-
 
203359
      }
-
 
203360
 
-
 
203361
      return true;
-
 
203362
    }
-
 
203363
 
-
 
203364
    @Override
-
 
203365
    public int hashCode() {
-
 
203366
      return 0;
-
 
203367
    }
-
 
203368
 
-
 
203369
    public int compareTo(getUserSanctionDetails_result other) {
-
 
203370
      if (!getClass().equals(other.getClass())) {
-
 
203371
        return getClass().getName().compareTo(other.getClass().getName());
-
 
203372
      }
-
 
203373
 
-
 
203374
      int lastComparison = 0;
-
 
203375
      getUserSanctionDetails_result typedOther = (getUserSanctionDetails_result)other;
-
 
203376
 
-
 
203377
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
203378
      if (lastComparison != 0) {
-
 
203379
        return lastComparison;
-
 
203380
      }
-
 
203381
      if (isSetSuccess()) {
-
 
203382
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
203383
        if (lastComparison != 0) {
-
 
203384
          return lastComparison;
-
 
203385
        }
-
 
203386
      }
-
 
203387
      return 0;
-
 
203388
    }
-
 
203389
 
-
 
203390
    public _Fields fieldForId(int fieldId) {
-
 
203391
      return _Fields.findByThriftId(fieldId);
-
 
203392
    }
-
 
203393
 
-
 
203394
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
203395
      org.apache.thrift.protocol.TField field;
-
 
203396
      iprot.readStructBegin();
-
 
203397
      while (true)
-
 
203398
      {
-
 
203399
        field = iprot.readFieldBegin();
-
 
203400
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
203401
          break;
-
 
203402
        }
-
 
203403
        switch (field.id) {
-
 
203404
          case 0: // SUCCESS
-
 
203405
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
203406
              {
-
 
203407
                org.apache.thrift.protocol.TList _list652 = iprot.readListBegin();
-
 
203408
                this.success = new ArrayList<UserSanction>(_list652.size);
-
 
203409
                for (int _i653 = 0; _i653 < _list652.size; ++_i653)
-
 
203410
                {
-
 
203411
                  UserSanction _elem654; // required
-
 
203412
                  _elem654 = new UserSanction();
-
 
203413
                  _elem654.read(iprot);
-
 
203414
                  this.success.add(_elem654);
-
 
203415
                }
-
 
203416
                iprot.readListEnd();
-
 
203417
              }
-
 
203418
            } else { 
-
 
203419
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
203420
            }
-
 
203421
            break;
-
 
203422
          default:
-
 
203423
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
203424
        }
-
 
203425
        iprot.readFieldEnd();
-
 
203426
      }
-
 
203427
      iprot.readStructEnd();
-
 
203428
      validate();
-
 
203429
    }
-
 
203430
 
-
 
203431
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
203432
      oprot.writeStructBegin(STRUCT_DESC);
-
 
203433
 
-
 
203434
      if (this.isSetSuccess()) {
-
 
203435
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
203436
        {
-
 
203437
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
203438
          for (UserSanction _iter655 : this.success)
-
 
203439
          {
-
 
203440
            _iter655.write(oprot);
-
 
203441
          }
-
 
203442
          oprot.writeListEnd();
-
 
203443
        }
-
 
203444
        oprot.writeFieldEnd();
-
 
203445
      }
-
 
203446
      oprot.writeFieldStop();
-
 
203447
      oprot.writeStructEnd();
-
 
203448
    }
-
 
203449
 
-
 
203450
    @Override
-
 
203451
    public String toString() {
-
 
203452
      StringBuilder sb = new StringBuilder("getUserSanctionDetails_result(");
-
 
203453
      boolean first = true;
-
 
203454
 
-
 
203455
      sb.append("success:");
-
 
203456
      if (this.success == null) {
-
 
203457
        sb.append("null");
-
 
203458
      } else {
-
 
203459
        sb.append(this.success);
-
 
203460
      }
-
 
203461
      first = false;
-
 
203462
      sb.append(")");
-
 
203463
      return sb.toString();
-
 
203464
    }
-
 
203465
 
-
 
203466
    public void validate() throws org.apache.thrift.TException {
-
 
203467
      // check for required fields
-
 
203468
    }
-
 
203469
 
-
 
203470
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
203471
      try {
-
 
203472
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
203473
      } catch (org.apache.thrift.TException te) {
-
 
203474
        throw new java.io.IOException(te);
-
 
203475
      }
-
 
203476
    }
-
 
203477
 
-
 
203478
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
203479
      try {
-
 
203480
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
203481
      } catch (org.apache.thrift.TException te) {
-
 
203482
        throw new java.io.IOException(te);
-
 
203483
      }
-
 
203484
    }
-
 
203485
 
-
 
203486
  }
-
 
203487
 
-
 
203488
  public static class getUserSanctionDetailsForCreditor_args implements org.apache.thrift.TBase<getUserSanctionDetailsForCreditor_args, getUserSanctionDetailsForCreditor_args._Fields>, java.io.Serializable, Cloneable   {
-
 
203489
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserSanctionDetailsForCreditor_args");
-
 
203490
 
-
 
203491
    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);
-
 
203492
    private static final org.apache.thrift.protocol.TField CREDITOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("creditorId", org.apache.thrift.protocol.TType.I64, (short)-1);
-
 
203493
 
-
 
203494
    private long userId; // required
-
 
203495
    private long creditorId; // required
-
 
203496
 
-
 
203497
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
203498
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
203499
      USER_ID((short)1, "userId"),
-
 
203500
      CREDITOR_ID((short)-1, "creditorId");
-
 
203501
 
-
 
203502
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
203503
 
-
 
203504
      static {
-
 
203505
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
203506
          byName.put(field.getFieldName(), field);
-
 
203507
        }
-
 
203508
      }
-
 
203509
 
-
 
203510
      /**
-
 
203511
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
203512
       */
-
 
203513
      public static _Fields findByThriftId(int fieldId) {
-
 
203514
        switch(fieldId) {
-
 
203515
          case 1: // USER_ID
-
 
203516
            return USER_ID;
-
 
203517
          case -1: // CREDITOR_ID
-
 
203518
            return CREDITOR_ID;
-
 
203519
          default:
-
 
203520
            return null;
-
 
203521
        }
-
 
203522
      }
-
 
203523
 
-
 
203524
      /**
-
 
203525
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
203526
       * if it is not found.
-
 
203527
       */
-
 
203528
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
203529
        _Fields fields = findByThriftId(fieldId);
-
 
203530
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
203531
        return fields;
-
 
203532
      }
-
 
203533
 
-
 
203534
      /**
-
 
203535
       * Find the _Fields constant that matches name, or null if its not found.
-
 
203536
       */
-
 
203537
      public static _Fields findByName(String name) {
-
 
203538
        return byName.get(name);
-
 
203539
      }
-
 
203540
 
-
 
203541
      private final short _thriftId;
-
 
203542
      private final String _fieldName;
-
 
203543
 
-
 
203544
      _Fields(short thriftId, String fieldName) {
-
 
203545
        _thriftId = thriftId;
-
 
203546
        _fieldName = fieldName;
-
 
203547
      }
-
 
203548
 
-
 
203549
      public short getThriftFieldId() {
-
 
203550
        return _thriftId;
-
 
203551
      }
-
 
203552
 
-
 
203553
      public String getFieldName() {
-
 
203554
        return _fieldName;
-
 
203555
      }
-
 
203556
    }
-
 
203557
 
-
 
203558
    // isset id assignments
-
 
203559
    private static final int __USERID_ISSET_ID = 0;
-
 
203560
    private static final int __CREDITORID_ISSET_ID = 1;
-
 
203561
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
203562
 
-
 
203563
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
203564
    static {
-
 
203565
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
203566
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
203567
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
203568
      tmpMap.put(_Fields.CREDITOR_ID, new org.apache.thrift.meta_data.FieldMetaData("creditorId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
203569
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
203570
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
203571
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserSanctionDetailsForCreditor_args.class, metaDataMap);
-
 
203572
    }
-
 
203573
 
-
 
203574
    public getUserSanctionDetailsForCreditor_args() {
-
 
203575
    }
-
 
203576
 
-
 
203577
    public getUserSanctionDetailsForCreditor_args(
-
 
203578
      long userId,
-
 
203579
      long creditorId)
-
 
203580
    {
-
 
203581
      this();
-
 
203582
      this.userId = userId;
-
 
203583
      setUserIdIsSet(true);
-
 
203584
      this.creditorId = creditorId;
-
 
203585
      setCreditorIdIsSet(true);
-
 
203586
    }
-
 
203587
 
-
 
203588
    /**
-
 
203589
     * Performs a deep copy on <i>other</i>.
-
 
203590
     */
-
 
203591
    public getUserSanctionDetailsForCreditor_args(getUserSanctionDetailsForCreditor_args other) {
-
 
203592
      __isset_bit_vector.clear();
-
 
203593
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
203594
      this.userId = other.userId;
-
 
203595
      this.creditorId = other.creditorId;
-
 
203596
    }
-
 
203597
 
-
 
203598
    public getUserSanctionDetailsForCreditor_args deepCopy() {
-
 
203599
      return new getUserSanctionDetailsForCreditor_args(this);
-
 
203600
    }
-
 
203601
 
-
 
203602
    @Override
-
 
203603
    public void clear() {
-
 
203604
      setUserIdIsSet(false);
-
 
203605
      this.userId = 0;
-
 
203606
      setCreditorIdIsSet(false);
-
 
203607
      this.creditorId = 0;
-
 
203608
    }
-
 
203609
 
-
 
203610
    public long getUserId() {
-
 
203611
      return this.userId;
-
 
203612
    }
-
 
203613
 
-
 
203614
    public void setUserId(long userId) {
-
 
203615
      this.userId = userId;
-
 
203616
      setUserIdIsSet(true);
-
 
203617
    }
-
 
203618
 
-
 
203619
    public void unsetUserId() {
-
 
203620
      __isset_bit_vector.clear(__USERID_ISSET_ID);
-
 
203621
    }
-
 
203622
 
-
 
203623
    /** Returns true if field userId is set (has been assigned a value) and false otherwise */
-
 
203624
    public boolean isSetUserId() {
-
 
203625
      return __isset_bit_vector.get(__USERID_ISSET_ID);
-
 
203626
    }
-
 
203627
 
-
 
203628
    public void setUserIdIsSet(boolean value) {
-
 
203629
      __isset_bit_vector.set(__USERID_ISSET_ID, value);
-
 
203630
    }
-
 
203631
 
-
 
203632
    public long getCreditorId() {
-
 
203633
      return this.creditorId;
-
 
203634
    }
-
 
203635
 
-
 
203636
    public void setCreditorId(long creditorId) {
-
 
203637
      this.creditorId = creditorId;
-
 
203638
      setCreditorIdIsSet(true);
-
 
203639
    }
-
 
203640
 
-
 
203641
    public void unsetCreditorId() {
-
 
203642
      __isset_bit_vector.clear(__CREDITORID_ISSET_ID);
-
 
203643
    }
-
 
203644
 
-
 
203645
    /** Returns true if field creditorId is set (has been assigned a value) and false otherwise */
-
 
203646
    public boolean isSetCreditorId() {
-
 
203647
      return __isset_bit_vector.get(__CREDITORID_ISSET_ID);
-
 
203648
    }
-
 
203649
 
-
 
203650
    public void setCreditorIdIsSet(boolean value) {
-
 
203651
      __isset_bit_vector.set(__CREDITORID_ISSET_ID, value);
-
 
203652
    }
-
 
203653
 
-
 
203654
    public void setFieldValue(_Fields field, Object value) {
-
 
203655
      switch (field) {
-
 
203656
      case USER_ID:
-
 
203657
        if (value == null) {
-
 
203658
          unsetUserId();
-
 
203659
        } else {
-
 
203660
          setUserId((Long)value);
-
 
203661
        }
-
 
203662
        break;
-
 
203663
 
-
 
203664
      case CREDITOR_ID:
-
 
203665
        if (value == null) {
-
 
203666
          unsetCreditorId();
-
 
203667
        } else {
-
 
203668
          setCreditorId((Long)value);
-
 
203669
        }
-
 
203670
        break;
-
 
203671
 
-
 
203672
      }
-
 
203673
    }
-
 
203674
 
-
 
203675
    public Object getFieldValue(_Fields field) {
-
 
203676
      switch (field) {
-
 
203677
      case USER_ID:
-
 
203678
        return Long.valueOf(getUserId());
-
 
203679
 
-
 
203680
      case CREDITOR_ID:
-
 
203681
        return Long.valueOf(getCreditorId());
-
 
203682
 
-
 
203683
      }
-
 
203684
      throw new IllegalStateException();
-
 
203685
    }
-
 
203686
 
-
 
203687
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
203688
    public boolean isSet(_Fields field) {
-
 
203689
      if (field == null) {
-
 
203690
        throw new IllegalArgumentException();
-
 
203691
      }
-
 
203692
 
-
 
203693
      switch (field) {
-
 
203694
      case USER_ID:
-
 
203695
        return isSetUserId();
-
 
203696
      case CREDITOR_ID:
-
 
203697
        return isSetCreditorId();
-
 
203698
      }
-
 
203699
      throw new IllegalStateException();
-
 
203700
    }
-
 
203701
 
-
 
203702
    @Override
-
 
203703
    public boolean equals(Object that) {
-
 
203704
      if (that == null)
-
 
203705
        return false;
-
 
203706
      if (that instanceof getUserSanctionDetailsForCreditor_args)
-
 
203707
        return this.equals((getUserSanctionDetailsForCreditor_args)that);
-
 
203708
      return false;
-
 
203709
    }
-
 
203710
 
-
 
203711
    public boolean equals(getUserSanctionDetailsForCreditor_args that) {
-
 
203712
      if (that == null)
-
 
203713
        return false;
-
 
203714
 
-
 
203715
      boolean this_present_userId = true;
-
 
203716
      boolean that_present_userId = true;
-
 
203717
      if (this_present_userId || that_present_userId) {
-
 
203718
        if (!(this_present_userId && that_present_userId))
-
 
203719
          return false;
-
 
203720
        if (this.userId != that.userId)
-
 
203721
          return false;
-
 
203722
      }
-
 
203723
 
-
 
203724
      boolean this_present_creditorId = true;
-
 
203725
      boolean that_present_creditorId = true;
-
 
203726
      if (this_present_creditorId || that_present_creditorId) {
-
 
203727
        if (!(this_present_creditorId && that_present_creditorId))
-
 
203728
          return false;
-
 
203729
        if (this.creditorId != that.creditorId)
-
 
203730
          return false;
-
 
203731
      }
-
 
203732
 
-
 
203733
      return true;
-
 
203734
    }
-
 
203735
 
-
 
203736
    @Override
-
 
203737
    public int hashCode() {
-
 
203738
      return 0;
-
 
203739
    }
-
 
203740
 
-
 
203741
    public int compareTo(getUserSanctionDetailsForCreditor_args other) {
-
 
203742
      if (!getClass().equals(other.getClass())) {
-
 
203743
        return getClass().getName().compareTo(other.getClass().getName());
-
 
203744
      }
-
 
203745
 
-
 
203746
      int lastComparison = 0;
-
 
203747
      getUserSanctionDetailsForCreditor_args typedOther = (getUserSanctionDetailsForCreditor_args)other;
-
 
203748
 
-
 
203749
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
-
 
203750
      if (lastComparison != 0) {
-
 
203751
        return lastComparison;
-
 
203752
      }
-
 
203753
      if (isSetUserId()) {
-
 
203754
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
-
 
203755
        if (lastComparison != 0) {
-
 
203756
          return lastComparison;
-
 
203757
        }
-
 
203758
      }
-
 
203759
      lastComparison = Boolean.valueOf(isSetCreditorId()).compareTo(typedOther.isSetCreditorId());
-
 
203760
      if (lastComparison != 0) {
-
 
203761
        return lastComparison;
-
 
203762
      }
-
 
203763
      if (isSetCreditorId()) {
-
 
203764
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creditorId, typedOther.creditorId);
-
 
203765
        if (lastComparison != 0) {
-
 
203766
          return lastComparison;
-
 
203767
        }
-
 
203768
      }
-
 
203769
      return 0;
-
 
203770
    }
-
 
203771
 
-
 
203772
    public _Fields fieldForId(int fieldId) {
-
 
203773
      return _Fields.findByThriftId(fieldId);
-
 
203774
    }
-
 
203775
 
-
 
203776
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
203777
      org.apache.thrift.protocol.TField field;
-
 
203778
      iprot.readStructBegin();
-
 
203779
      while (true)
-
 
203780
      {
-
 
203781
        field = iprot.readFieldBegin();
-
 
203782
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
203783
          break;
-
 
203784
        }
-
 
203785
        switch (field.id) {
-
 
203786
          case 1: // USER_ID
-
 
203787
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
203788
              this.userId = iprot.readI64();
-
 
203789
              setUserIdIsSet(true);
-
 
203790
            } else { 
-
 
203791
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
203792
            }
-
 
203793
            break;
-
 
203794
          case -1: // CREDITOR_ID
-
 
203795
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
203796
              this.creditorId = iprot.readI64();
-
 
203797
              setCreditorIdIsSet(true);
-
 
203798
            } else { 
-
 
203799
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
203800
            }
-
 
203801
            break;
-
 
203802
          default:
-
 
203803
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
203804
        }
-
 
203805
        iprot.readFieldEnd();
-
 
203806
      }
-
 
203807
      iprot.readStructEnd();
-
 
203808
      validate();
-
 
203809
    }
-
 
203810
 
-
 
203811
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
203812
      validate();
-
 
203813
 
-
 
203814
      oprot.writeStructBegin(STRUCT_DESC);
-
 
203815
      oprot.writeFieldBegin(CREDITOR_ID_FIELD_DESC);
-
 
203816
      oprot.writeI64(this.creditorId);
-
 
203817
      oprot.writeFieldEnd();
-
 
203818
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
-
 
203819
      oprot.writeI64(this.userId);
-
 
203820
      oprot.writeFieldEnd();
-
 
203821
      oprot.writeFieldStop();
-
 
203822
      oprot.writeStructEnd();
-
 
203823
    }
-
 
203824
 
-
 
203825
    @Override
-
 
203826
    public String toString() {
-
 
203827
      StringBuilder sb = new StringBuilder("getUserSanctionDetailsForCreditor_args(");
-
 
203828
      boolean first = true;
-
 
203829
 
-
 
203830
      sb.append("userId:");
-
 
203831
      sb.append(this.userId);
-
 
203832
      first = false;
-
 
203833
      if (!first) sb.append(", ");
-
 
203834
      sb.append("creditorId:");
-
 
203835
      sb.append(this.creditorId);
-
 
203836
      first = false;
-
 
203837
      sb.append(")");
-
 
203838
      return sb.toString();
-
 
203839
    }
-
 
203840
 
-
 
203841
    public void validate() throws org.apache.thrift.TException {
-
 
203842
      // check for required fields
-
 
203843
    }
-
 
203844
 
-
 
203845
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
203846
      try {
-
 
203847
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
203848
      } catch (org.apache.thrift.TException te) {
-
 
203849
        throw new java.io.IOException(te);
-
 
203850
      }
-
 
203851
    }
-
 
203852
 
-
 
203853
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
203854
      try {
-
 
203855
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
203856
        __isset_bit_vector = new BitSet(1);
-
 
203857
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
203858
      } catch (org.apache.thrift.TException te) {
-
 
203859
        throw new java.io.IOException(te);
-
 
203860
      }
-
 
203861
    }
-
 
203862
 
-
 
203863
  }
-
 
203864
 
-
 
203865
  public static class getUserSanctionDetailsForCreditor_result implements org.apache.thrift.TBase<getUserSanctionDetailsForCreditor_result, getUserSanctionDetailsForCreditor_result._Fields>, java.io.Serializable, Cloneable   {
-
 
203866
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserSanctionDetailsForCreditor_result");
-
 
203867
 
-
 
203868
    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);
-
 
203869
 
-
 
203870
    private UserSanction success; // required
-
 
203871
 
-
 
203872
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
203873
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
203874
      SUCCESS((short)0, "success");
-
 
203875
 
-
 
203876
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
203877
 
-
 
203878
      static {
-
 
203879
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
203880
          byName.put(field.getFieldName(), field);
-
 
203881
        }
-
 
203882
      }
-
 
203883
 
-
 
203884
      /**
-
 
203885
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
203886
       */
-
 
203887
      public static _Fields findByThriftId(int fieldId) {
-
 
203888
        switch(fieldId) {
-
 
203889
          case 0: // SUCCESS
-
 
203890
            return SUCCESS;
-
 
203891
          default:
-
 
203892
            return null;
-
 
203893
        }
-
 
203894
      }
-
 
203895
 
-
 
203896
      /**
-
 
203897
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
203898
       * if it is not found.
-
 
203899
       */
-
 
203900
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
203901
        _Fields fields = findByThriftId(fieldId);
-
 
203902
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
203903
        return fields;
-
 
203904
      }
-
 
203905
 
-
 
203906
      /**
-
 
203907
       * Find the _Fields constant that matches name, or null if its not found.
-
 
203908
       */
-
 
203909
      public static _Fields findByName(String name) {
-
 
203910
        return byName.get(name);
-
 
203911
      }
-
 
203912
 
-
 
203913
      private final short _thriftId;
-
 
203914
      private final String _fieldName;
-
 
203915
 
-
 
203916
      _Fields(short thriftId, String fieldName) {
-
 
203917
        _thriftId = thriftId;
-
 
203918
        _fieldName = fieldName;
-
 
203919
      }
-
 
203920
 
-
 
203921
      public short getThriftFieldId() {
-
 
203922
        return _thriftId;
-
 
203923
      }
-
 
203924
 
-
 
203925
      public String getFieldName() {
-
 
203926
        return _fieldName;
-
 
203927
      }
-
 
203928
    }
-
 
203929
 
-
 
203930
    // isset id assignments
-
 
203931
 
-
 
203932
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
203933
    static {
-
 
203934
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
203935
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
203936
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserSanction.class)));
-
 
203937
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
203938
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserSanctionDetailsForCreditor_result.class, metaDataMap);
-
 
203939
    }
-
 
203940
 
-
 
203941
    public getUserSanctionDetailsForCreditor_result() {
-
 
203942
    }
-
 
203943
 
-
 
203944
    public getUserSanctionDetailsForCreditor_result(
-
 
203945
      UserSanction success)
-
 
203946
    {
-
 
203947
      this();
-
 
203948
      this.success = success;
-
 
203949
    }
-
 
203950
 
-
 
203951
    /**
-
 
203952
     * Performs a deep copy on <i>other</i>.
-
 
203953
     */
-
 
203954
    public getUserSanctionDetailsForCreditor_result(getUserSanctionDetailsForCreditor_result other) {
-
 
203955
      if (other.isSetSuccess()) {
-
 
203956
        this.success = new UserSanction(other.success);
-
 
203957
      }
-
 
203958
    }
-
 
203959
 
-
 
203960
    public getUserSanctionDetailsForCreditor_result deepCopy() {
-
 
203961
      return new getUserSanctionDetailsForCreditor_result(this);
-
 
203962
    }
-
 
203963
 
-
 
203964
    @Override
-
 
203965
    public void clear() {
-
 
203966
      this.success = null;
-
 
203967
    }
-
 
203968
 
-
 
203969
    public UserSanction getSuccess() {
-
 
203970
      return this.success;
-
 
203971
    }
-
 
203972
 
-
 
203973
    public void setSuccess(UserSanction success) {
-
 
203974
      this.success = success;
-
 
203975
    }
-
 
203976
 
-
 
203977
    public void unsetSuccess() {
-
 
203978
      this.success = null;
-
 
203979
    }
-
 
203980
 
-
 
203981
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
203982
    public boolean isSetSuccess() {
-
 
203983
      return this.success != null;
-
 
203984
    }
-
 
203985
 
-
 
203986
    public void setSuccessIsSet(boolean value) {
-
 
203987
      if (!value) {
-
 
203988
        this.success = null;
-
 
203989
      }
-
 
203990
    }
-
 
203991
 
-
 
203992
    public void setFieldValue(_Fields field, Object value) {
-
 
203993
      switch (field) {
-
 
203994
      case SUCCESS:
-
 
203995
        if (value == null) {
-
 
203996
          unsetSuccess();
-
 
203997
        } else {
-
 
203998
          setSuccess((UserSanction)value);
-
 
203999
        }
-
 
204000
        break;
-
 
204001
 
-
 
204002
      }
-
 
204003
    }
-
 
204004
 
-
 
204005
    public Object getFieldValue(_Fields field) {
-
 
204006
      switch (field) {
-
 
204007
      case SUCCESS:
-
 
204008
        return getSuccess();
-
 
204009
 
-
 
204010
      }
-
 
204011
      throw new IllegalStateException();
-
 
204012
    }
-
 
204013
 
-
 
204014
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
204015
    public boolean isSet(_Fields field) {
-
 
204016
      if (field == null) {
-
 
204017
        throw new IllegalArgumentException();
-
 
204018
      }
-
 
204019
 
-
 
204020
      switch (field) {
-
 
204021
      case SUCCESS:
-
 
204022
        return isSetSuccess();
-
 
204023
      }
-
 
204024
      throw new IllegalStateException();
-
 
204025
    }
-
 
204026
 
-
 
204027
    @Override
-
 
204028
    public boolean equals(Object that) {
-
 
204029
      if (that == null)
-
 
204030
        return false;
-
 
204031
      if (that instanceof getUserSanctionDetailsForCreditor_result)
-
 
204032
        return this.equals((getUserSanctionDetailsForCreditor_result)that);
-
 
204033
      return false;
-
 
204034
    }
-
 
204035
 
-
 
204036
    public boolean equals(getUserSanctionDetailsForCreditor_result that) {
-
 
204037
      if (that == null)
-
 
204038
        return false;
-
 
204039
 
-
 
204040
      boolean this_present_success = true && this.isSetSuccess();
-
 
204041
      boolean that_present_success = true && that.isSetSuccess();
-
 
204042
      if (this_present_success || that_present_success) {
-
 
204043
        if (!(this_present_success && that_present_success))
-
 
204044
          return false;
-
 
204045
        if (!this.success.equals(that.success))
-
 
204046
          return false;
-
 
204047
      }
-
 
204048
 
-
 
204049
      return true;
-
 
204050
    }
-
 
204051
 
-
 
204052
    @Override
-
 
204053
    public int hashCode() {
-
 
204054
      return 0;
-
 
204055
    }
-
 
204056
 
-
 
204057
    public int compareTo(getUserSanctionDetailsForCreditor_result other) {
-
 
204058
      if (!getClass().equals(other.getClass())) {
-
 
204059
        return getClass().getName().compareTo(other.getClass().getName());
-
 
204060
      }
-
 
204061
 
-
 
204062
      int lastComparison = 0;
-
 
204063
      getUserSanctionDetailsForCreditor_result typedOther = (getUserSanctionDetailsForCreditor_result)other;
-
 
204064
 
-
 
204065
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
204066
      if (lastComparison != 0) {
-
 
204067
        return lastComparison;
-
 
204068
      }
-
 
204069
      if (isSetSuccess()) {
-
 
204070
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
204071
        if (lastComparison != 0) {
-
 
204072
          return lastComparison;
-
 
204073
        }
-
 
204074
      }
-
 
204075
      return 0;
-
 
204076
    }
-
 
204077
 
-
 
204078
    public _Fields fieldForId(int fieldId) {
-
 
204079
      return _Fields.findByThriftId(fieldId);
-
 
204080
    }
-
 
204081
 
-
 
204082
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
204083
      org.apache.thrift.protocol.TField field;
-
 
204084
      iprot.readStructBegin();
-
 
204085
      while (true)
-
 
204086
      {
-
 
204087
        field = iprot.readFieldBegin();
-
 
204088
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
204089
          break;
-
 
204090
        }
-
 
204091
        switch (field.id) {
-
 
204092
          case 0: // SUCCESS
-
 
204093
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
204094
              this.success = new UserSanction();
-
 
204095
              this.success.read(iprot);
-
 
204096
            } else { 
-
 
204097
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
204098
            }
-
 
204099
            break;
-
 
204100
          default:
-
 
204101
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
204102
        }
-
 
204103
        iprot.readFieldEnd();
-
 
204104
      }
-
 
204105
      iprot.readStructEnd();
-
 
204106
      validate();
-
 
204107
    }
-
 
204108
 
-
 
204109
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
204110
      oprot.writeStructBegin(STRUCT_DESC);
-
 
204111
 
-
 
204112
      if (this.isSetSuccess()) {
-
 
204113
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
204114
        this.success.write(oprot);
-
 
204115
        oprot.writeFieldEnd();
-
 
204116
      }
-
 
204117
      oprot.writeFieldStop();
-
 
204118
      oprot.writeStructEnd();
-
 
204119
    }
-
 
204120
 
-
 
204121
    @Override
-
 
204122
    public String toString() {
-
 
204123
      StringBuilder sb = new StringBuilder("getUserSanctionDetailsForCreditor_result(");
-
 
204124
      boolean first = true;
-
 
204125
 
-
 
204126
      sb.append("success:");
-
 
204127
      if (this.success == null) {
-
 
204128
        sb.append("null");
-
 
204129
      } else {
-
 
204130
        sb.append(this.success);
-
 
204131
      }
-
 
204132
      first = false;
-
 
204133
      sb.append(")");
-
 
204134
      return sb.toString();
-
 
204135
    }
-
 
204136
 
-
 
204137
    public void validate() throws org.apache.thrift.TException {
-
 
204138
      // check for required fields
-
 
204139
    }
-
 
204140
 
-
 
204141
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
204142
      try {
-
 
204143
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
204144
      } catch (org.apache.thrift.TException te) {
-
 
204145
        throw new java.io.IOException(te);
-
 
204146
      }
-
 
204147
    }
-
 
204148
 
-
 
204149
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
204150
      try {
-
 
204151
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
204152
      } catch (org.apache.thrift.TException te) {
-
 
204153
        throw new java.io.IOException(te);
-
 
204154
      }
-
 
204155
    }
-
 
204156
 
-
 
204157
  }
-
 
204158
 
-
 
204159
  public static class updateUserSanction_args implements org.apache.thrift.TBase<updateUserSanction_args, updateUserSanction_args._Fields>, java.io.Serializable, Cloneable   {
-
 
204160
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateUserSanction_args");
-
 
204161
 
-
 
204162
    private static final org.apache.thrift.protocol.TField USER_SANACTION_FIELD_DESC = new org.apache.thrift.protocol.TField("userSanaction", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
204163
 
-
 
204164
    private UserSanction userSanaction; // required
-
 
204165
 
-
 
204166
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
204167
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
204168
      USER_SANACTION((short)1, "userSanaction");
-
 
204169
 
-
 
204170
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
204171
 
-
 
204172
      static {
-
 
204173
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
204174
          byName.put(field.getFieldName(), field);
-
 
204175
        }
-
 
204176
      }
-
 
204177
 
-
 
204178
      /**
-
 
204179
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
204180
       */
-
 
204181
      public static _Fields findByThriftId(int fieldId) {
-
 
204182
        switch(fieldId) {
-
 
204183
          case 1: // USER_SANACTION
-
 
204184
            return USER_SANACTION;
-
 
204185
          default:
-
 
204186
            return null;
-
 
204187
        }
-
 
204188
      }
-
 
204189
 
-
 
204190
      /**
-
 
204191
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
204192
       * if it is not found.
-
 
204193
       */
-
 
204194
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
204195
        _Fields fields = findByThriftId(fieldId);
-
 
204196
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
204197
        return fields;
-
 
204198
      }
-
 
204199
 
-
 
204200
      /**
-
 
204201
       * Find the _Fields constant that matches name, or null if its not found.
-
 
204202
       */
-
 
204203
      public static _Fields findByName(String name) {
-
 
204204
        return byName.get(name);
-
 
204205
      }
-
 
204206
 
-
 
204207
      private final short _thriftId;
-
 
204208
      private final String _fieldName;
-
 
204209
 
-
 
204210
      _Fields(short thriftId, String fieldName) {
-
 
204211
        _thriftId = thriftId;
-
 
204212
        _fieldName = fieldName;
-
 
204213
      }
-
 
204214
 
-
 
204215
      public short getThriftFieldId() {
-
 
204216
        return _thriftId;
-
 
204217
      }
-
 
204218
 
-
 
204219
      public String getFieldName() {
-
 
204220
        return _fieldName;
-
 
204221
      }
-
 
204222
    }
-
 
204223
 
-
 
204224
    // isset id assignments
-
 
204225
 
-
 
204226
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
204227
    static {
-
 
204228
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
204229
      tmpMap.put(_Fields.USER_SANACTION, new org.apache.thrift.meta_data.FieldMetaData("userSanaction", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
204230
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserSanction.class)));
-
 
204231
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
204232
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateUserSanction_args.class, metaDataMap);
-
 
204233
    }
-
 
204234
 
-
 
204235
    public updateUserSanction_args() {
-
 
204236
    }
-
 
204237
 
-
 
204238
    public updateUserSanction_args(
-
 
204239
      UserSanction userSanaction)
-
 
204240
    {
-
 
204241
      this();
-
 
204242
      this.userSanaction = userSanaction;
-
 
204243
    }
-
 
204244
 
-
 
204245
    /**
-
 
204246
     * Performs a deep copy on <i>other</i>.
-
 
204247
     */
-
 
204248
    public updateUserSanction_args(updateUserSanction_args other) {
-
 
204249
      if (other.isSetUserSanaction()) {
-
 
204250
        this.userSanaction = new UserSanction(other.userSanaction);
-
 
204251
      }
-
 
204252
    }
-
 
204253
 
-
 
204254
    public updateUserSanction_args deepCopy() {
-
 
204255
      return new updateUserSanction_args(this);
-
 
204256
    }
-
 
204257
 
-
 
204258
    @Override
-
 
204259
    public void clear() {
-
 
204260
      this.userSanaction = null;
-
 
204261
    }
-
 
204262
 
-
 
204263
    public UserSanction getUserSanaction() {
-
 
204264
      return this.userSanaction;
-
 
204265
    }
-
 
204266
 
-
 
204267
    public void setUserSanaction(UserSanction userSanaction) {
-
 
204268
      this.userSanaction = userSanaction;
-
 
204269
    }
-
 
204270
 
-
 
204271
    public void unsetUserSanaction() {
-
 
204272
      this.userSanaction = null;
-
 
204273
    }
-
 
204274
 
-
 
204275
    /** Returns true if field userSanaction is set (has been assigned a value) and false otherwise */
-
 
204276
    public boolean isSetUserSanaction() {
-
 
204277
      return this.userSanaction != null;
-
 
204278
    }
-
 
204279
 
-
 
204280
    public void setUserSanactionIsSet(boolean value) {
-
 
204281
      if (!value) {
-
 
204282
        this.userSanaction = null;
-
 
204283
      }
-
 
204284
    }
-
 
204285
 
-
 
204286
    public void setFieldValue(_Fields field, Object value) {
-
 
204287
      switch (field) {
-
 
204288
      case USER_SANACTION:
-
 
204289
        if (value == null) {
-
 
204290
          unsetUserSanaction();
-
 
204291
        } else {
-
 
204292
          setUserSanaction((UserSanction)value);
-
 
204293
        }
-
 
204294
        break;
-
 
204295
 
-
 
204296
      }
-
 
204297
    }
-
 
204298
 
-
 
204299
    public Object getFieldValue(_Fields field) {
-
 
204300
      switch (field) {
-
 
204301
      case USER_SANACTION:
-
 
204302
        return getUserSanaction();
-
 
204303
 
-
 
204304
      }
-
 
204305
      throw new IllegalStateException();
-
 
204306
    }
-
 
204307
 
-
 
204308
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
204309
    public boolean isSet(_Fields field) {
-
 
204310
      if (field == null) {
-
 
204311
        throw new IllegalArgumentException();
-
 
204312
      }
-
 
204313
 
-
 
204314
      switch (field) {
-
 
204315
      case USER_SANACTION:
-
 
204316
        return isSetUserSanaction();
-
 
204317
      }
-
 
204318
      throw new IllegalStateException();
-
 
204319
    }
-
 
204320
 
-
 
204321
    @Override
-
 
204322
    public boolean equals(Object that) {
-
 
204323
      if (that == null)
-
 
204324
        return false;
-
 
204325
      if (that instanceof updateUserSanction_args)
-
 
204326
        return this.equals((updateUserSanction_args)that);
-
 
204327
      return false;
-
 
204328
    }
-
 
204329
 
-
 
204330
    public boolean equals(updateUserSanction_args that) {
-
 
204331
      if (that == null)
-
 
204332
        return false;
-
 
204333
 
-
 
204334
      boolean this_present_userSanaction = true && this.isSetUserSanaction();
-
 
204335
      boolean that_present_userSanaction = true && that.isSetUserSanaction();
-
 
204336
      if (this_present_userSanaction || that_present_userSanaction) {
-
 
204337
        if (!(this_present_userSanaction && that_present_userSanaction))
-
 
204338
          return false;
-
 
204339
        if (!this.userSanaction.equals(that.userSanaction))
-
 
204340
          return false;
-
 
204341
      }
-
 
204342
 
-
 
204343
      return true;
-
 
204344
    }
-
 
204345
 
-
 
204346
    @Override
-
 
204347
    public int hashCode() {
-
 
204348
      return 0;
-
 
204349
    }
-
 
204350
 
-
 
204351
    public int compareTo(updateUserSanction_args other) {
-
 
204352
      if (!getClass().equals(other.getClass())) {
-
 
204353
        return getClass().getName().compareTo(other.getClass().getName());
-
 
204354
      }
-
 
204355
 
-
 
204356
      int lastComparison = 0;
-
 
204357
      updateUserSanction_args typedOther = (updateUserSanction_args)other;
-
 
204358
 
-
 
204359
      lastComparison = Boolean.valueOf(isSetUserSanaction()).compareTo(typedOther.isSetUserSanaction());
-
 
204360
      if (lastComparison != 0) {
-
 
204361
        return lastComparison;
-
 
204362
      }
-
 
204363
      if (isSetUserSanaction()) {
-
 
204364
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userSanaction, typedOther.userSanaction);
-
 
204365
        if (lastComparison != 0) {
-
 
204366
          return lastComparison;
-
 
204367
        }
-
 
204368
      }
-
 
204369
      return 0;
-
 
204370
    }
-
 
204371
 
-
 
204372
    public _Fields fieldForId(int fieldId) {
-
 
204373
      return _Fields.findByThriftId(fieldId);
-
 
204374
    }
-
 
204375
 
-
 
204376
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
204377
      org.apache.thrift.protocol.TField field;
-
 
204378
      iprot.readStructBegin();
-
 
204379
      while (true)
-
 
204380
      {
-
 
204381
        field = iprot.readFieldBegin();
-
 
204382
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
204383
          break;
-
 
204384
        }
-
 
204385
        switch (field.id) {
-
 
204386
          case 1: // USER_SANACTION
-
 
204387
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
204388
              this.userSanaction = new UserSanction();
-
 
204389
              this.userSanaction.read(iprot);
-
 
204390
            } else { 
-
 
204391
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
204392
            }
-
 
204393
            break;
-
 
204394
          default:
-
 
204395
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
204396
        }
-
 
204397
        iprot.readFieldEnd();
-
 
204398
      }
-
 
204399
      iprot.readStructEnd();
-
 
204400
      validate();
-
 
204401
    }
-
 
204402
 
-
 
204403
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
204404
      validate();
-
 
204405
 
-
 
204406
      oprot.writeStructBegin(STRUCT_DESC);
-
 
204407
      if (this.userSanaction != null) {
-
 
204408
        oprot.writeFieldBegin(USER_SANACTION_FIELD_DESC);
-
 
204409
        this.userSanaction.write(oprot);
-
 
204410
        oprot.writeFieldEnd();
-
 
204411
      }
-
 
204412
      oprot.writeFieldStop();
-
 
204413
      oprot.writeStructEnd();
-
 
204414
    }
-
 
204415
 
-
 
204416
    @Override
-
 
204417
    public String toString() {
-
 
204418
      StringBuilder sb = new StringBuilder("updateUserSanction_args(");
-
 
204419
      boolean first = true;
-
 
204420
 
-
 
204421
      sb.append("userSanaction:");
-
 
204422
      if (this.userSanaction == null) {
-
 
204423
        sb.append("null");
-
 
204424
      } else {
-
 
204425
        sb.append(this.userSanaction);
-
 
204426
      }
-
 
204427
      first = false;
-
 
204428
      sb.append(")");
-
 
204429
      return sb.toString();
-
 
204430
    }
-
 
204431
 
-
 
204432
    public void validate() throws org.apache.thrift.TException {
-
 
204433
      // check for required fields
-
 
204434
    }
-
 
204435
 
-
 
204436
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
204437
      try {
-
 
204438
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
204439
      } catch (org.apache.thrift.TException te) {
-
 
204440
        throw new java.io.IOException(te);
-
 
204441
      }
-
 
204442
    }
-
 
204443
 
-
 
204444
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
204445
      try {
-
 
204446
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
204447
      } catch (org.apache.thrift.TException te) {
-
 
204448
        throw new java.io.IOException(te);
-
 
204449
      }
-
 
204450
    }
-
 
204451
 
-
 
204452
  }
-
 
204453
 
-
 
204454
  public static class updateUserSanction_result implements org.apache.thrift.TBase<updateUserSanction_result, updateUserSanction_result._Fields>, java.io.Serializable, Cloneable   {
-
 
204455
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateUserSanction_result");
-
 
204456
 
-
 
204457
    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);
-
 
204458
    private static final org.apache.thrift.protocol.TField PE_FIELD_DESC = new org.apache.thrift.protocol.TField("pe", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
204459
 
-
 
204460
    private boolean success; // required
-
 
204461
    private TransactionServiceException pe; // required
-
 
204462
 
-
 
204463
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
204464
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
204465
      SUCCESS((short)0, "success"),
-
 
204466
      PE((short)1, "pe");
-
 
204467
 
-
 
204468
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
204469
 
-
 
204470
      static {
-
 
204471
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
204472
          byName.put(field.getFieldName(), field);
-
 
204473
        }
-
 
204474
      }
-
 
204475
 
-
 
204476
      /**
-
 
204477
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
204478
       */
-
 
204479
      public static _Fields findByThriftId(int fieldId) {
-
 
204480
        switch(fieldId) {
-
 
204481
          case 0: // SUCCESS
-
 
204482
            return SUCCESS;
-
 
204483
          case 1: // PE
-
 
204484
            return PE;
-
 
204485
          default:
-
 
204486
            return null;
-
 
204487
        }
-
 
204488
      }
-
 
204489
 
-
 
204490
      /**
-
 
204491
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
204492
       * if it is not found.
-
 
204493
       */
-
 
204494
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
204495
        _Fields fields = findByThriftId(fieldId);
-
 
204496
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
204497
        return fields;
-
 
204498
      }
-
 
204499
 
-
 
204500
      /**
-
 
204501
       * Find the _Fields constant that matches name, or null if its not found.
-
 
204502
       */
-
 
204503
      public static _Fields findByName(String name) {
-
 
204504
        return byName.get(name);
-
 
204505
      }
-
 
204506
 
-
 
204507
      private final short _thriftId;
-
 
204508
      private final String _fieldName;
-
 
204509
 
-
 
204510
      _Fields(short thriftId, String fieldName) {
-
 
204511
        _thriftId = thriftId;
-
 
204512
        _fieldName = fieldName;
-
 
204513
      }
-
 
204514
 
-
 
204515
      public short getThriftFieldId() {
-
 
204516
        return _thriftId;
-
 
204517
      }
-
 
204518
 
-
 
204519
      public String getFieldName() {
-
 
204520
        return _fieldName;
-
 
204521
      }
-
 
204522
    }
-
 
204523
 
-
 
204524
    // isset id assignments
-
 
204525
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
204526
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
204527
 
-
 
204528
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
204529
    static {
-
 
204530
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
204531
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
204532
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
204533
      tmpMap.put(_Fields.PE, new org.apache.thrift.meta_data.FieldMetaData("pe", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
204534
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
204535
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
204536
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateUserSanction_result.class, metaDataMap);
-
 
204537
    }
-
 
204538
 
-
 
204539
    public updateUserSanction_result() {
-
 
204540
    }
-
 
204541
 
-
 
204542
    public updateUserSanction_result(
-
 
204543
      boolean success,
-
 
204544
      TransactionServiceException pe)
-
 
204545
    {
-
 
204546
      this();
-
 
204547
      this.success = success;
-
 
204548
      setSuccessIsSet(true);
-
 
204549
      this.pe = pe;
-
 
204550
    }
-
 
204551
 
-
 
204552
    /**
-
 
204553
     * Performs a deep copy on <i>other</i>.
-
 
204554
     */
-
 
204555
    public updateUserSanction_result(updateUserSanction_result other) {
-
 
204556
      __isset_bit_vector.clear();
-
 
204557
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
204558
      this.success = other.success;
-
 
204559
      if (other.isSetPe()) {
-
 
204560
        this.pe = new TransactionServiceException(other.pe);
-
 
204561
      }
-
 
204562
    }
-
 
204563
 
-
 
204564
    public updateUserSanction_result deepCopy() {
-
 
204565
      return new updateUserSanction_result(this);
-
 
204566
    }
-
 
204567
 
-
 
204568
    @Override
-
 
204569
    public void clear() {
-
 
204570
      setSuccessIsSet(false);
-
 
204571
      this.success = false;
-
 
204572
      this.pe = null;
-
 
204573
    }
-
 
204574
 
-
 
204575
    public boolean isSuccess() {
-
 
204576
      return this.success;
-
 
204577
    }
-
 
204578
 
-
 
204579
    public void setSuccess(boolean success) {
-
 
204580
      this.success = success;
-
 
204581
      setSuccessIsSet(true);
-
 
204582
    }
-
 
204583
 
-
 
204584
    public void unsetSuccess() {
-
 
204585
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
204586
    }
-
 
204587
 
-
 
204588
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
204589
    public boolean isSetSuccess() {
-
 
204590
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
204591
    }
-
 
204592
 
-
 
204593
    public void setSuccessIsSet(boolean value) {
-
 
204594
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
204595
    }
-
 
204596
 
-
 
204597
    public TransactionServiceException getPe() {
-
 
204598
      return this.pe;
-
 
204599
    }
-
 
204600
 
-
 
204601
    public void setPe(TransactionServiceException pe) {
-
 
204602
      this.pe = pe;
-
 
204603
    }
-
 
204604
 
-
 
204605
    public void unsetPe() {
-
 
204606
      this.pe = null;
-
 
204607
    }
-
 
204608
 
-
 
204609
    /** Returns true if field pe is set (has been assigned a value) and false otherwise */
-
 
204610
    public boolean isSetPe() {
-
 
204611
      return this.pe != null;
-
 
204612
    }
-
 
204613
 
-
 
204614
    public void setPeIsSet(boolean value) {
-
 
204615
      if (!value) {
-
 
204616
        this.pe = null;
-
 
204617
      }
-
 
204618
    }
-
 
204619
 
-
 
204620
    public void setFieldValue(_Fields field, Object value) {
-
 
204621
      switch (field) {
-
 
204622
      case SUCCESS:
-
 
204623
        if (value == null) {
-
 
204624
          unsetSuccess();
-
 
204625
        } else {
-
 
204626
          setSuccess((Boolean)value);
-
 
204627
        }
-
 
204628
        break;
-
 
204629
 
-
 
204630
      case PE:
-
 
204631
        if (value == null) {
-
 
204632
          unsetPe();
-
 
204633
        } else {
-
 
204634
          setPe((TransactionServiceException)value);
-
 
204635
        }
-
 
204636
        break;
-
 
204637
 
-
 
204638
      }
-
 
204639
    }
-
 
204640
 
-
 
204641
    public Object getFieldValue(_Fields field) {
-
 
204642
      switch (field) {
-
 
204643
      case SUCCESS:
-
 
204644
        return Boolean.valueOf(isSuccess());
-
 
204645
 
-
 
204646
      case PE:
-
 
204647
        return getPe();
-
 
204648
 
-
 
204649
      }
-
 
204650
      throw new IllegalStateException();
-
 
204651
    }
-
 
204652
 
-
 
204653
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
204654
    public boolean isSet(_Fields field) {
-
 
204655
      if (field == null) {
-
 
204656
        throw new IllegalArgumentException();
-
 
204657
      }
-
 
204658
 
-
 
204659
      switch (field) {
-
 
204660
      case SUCCESS:
-
 
204661
        return isSetSuccess();
-
 
204662
      case PE:
-
 
204663
        return isSetPe();
-
 
204664
      }
-
 
204665
      throw new IllegalStateException();
-
 
204666
    }
-
 
204667
 
-
 
204668
    @Override
-
 
204669
    public boolean equals(Object that) {
-
 
204670
      if (that == null)
-
 
204671
        return false;
-
 
204672
      if (that instanceof updateUserSanction_result)
-
 
204673
        return this.equals((updateUserSanction_result)that);
-
 
204674
      return false;
-
 
204675
    }
-
 
204676
 
-
 
204677
    public boolean equals(updateUserSanction_result that) {
-
 
204678
      if (that == null)
-
 
204679
        return false;
-
 
204680
 
-
 
204681
      boolean this_present_success = true;
-
 
204682
      boolean that_present_success = true;
-
 
204683
      if (this_present_success || that_present_success) {
-
 
204684
        if (!(this_present_success && that_present_success))
-
 
204685
          return false;
-
 
204686
        if (this.success != that.success)
-
 
204687
          return false;
-
 
204688
      }
-
 
204689
 
-
 
204690
      boolean this_present_pe = true && this.isSetPe();
-
 
204691
      boolean that_present_pe = true && that.isSetPe();
-
 
204692
      if (this_present_pe || that_present_pe) {
-
 
204693
        if (!(this_present_pe && that_present_pe))
-
 
204694
          return false;
-
 
204695
        if (!this.pe.equals(that.pe))
-
 
204696
          return false;
-
 
204697
      }
-
 
204698
 
-
 
204699
      return true;
-
 
204700
    }
-
 
204701
 
-
 
204702
    @Override
-
 
204703
    public int hashCode() {
-
 
204704
      return 0;
-
 
204705
    }
-
 
204706
 
-
 
204707
    public int compareTo(updateUserSanction_result other) {
-
 
204708
      if (!getClass().equals(other.getClass())) {
-
 
204709
        return getClass().getName().compareTo(other.getClass().getName());
-
 
204710
      }
-
 
204711
 
-
 
204712
      int lastComparison = 0;
-
 
204713
      updateUserSanction_result typedOther = (updateUserSanction_result)other;
-
 
204714
 
-
 
204715
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
204716
      if (lastComparison != 0) {
-
 
204717
        return lastComparison;
-
 
204718
      }
-
 
204719
      if (isSetSuccess()) {
-
 
204720
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
204721
        if (lastComparison != 0) {
-
 
204722
          return lastComparison;
-
 
204723
        }
-
 
204724
      }
-
 
204725
      lastComparison = Boolean.valueOf(isSetPe()).compareTo(typedOther.isSetPe());
-
 
204726
      if (lastComparison != 0) {
-
 
204727
        return lastComparison;
-
 
204728
      }
-
 
204729
      if (isSetPe()) {
-
 
204730
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pe, typedOther.pe);
-
 
204731
        if (lastComparison != 0) {
-
 
204732
          return lastComparison;
-
 
204733
        }
-
 
204734
      }
-
 
204735
      return 0;
-
 
204736
    }
-
 
204737
 
-
 
204738
    public _Fields fieldForId(int fieldId) {
-
 
204739
      return _Fields.findByThriftId(fieldId);
-
 
204740
    }
-
 
204741
 
-
 
204742
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
204743
      org.apache.thrift.protocol.TField field;
-
 
204744
      iprot.readStructBegin();
-
 
204745
      while (true)
-
 
204746
      {
-
 
204747
        field = iprot.readFieldBegin();
-
 
204748
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
204749
          break;
-
 
204750
        }
-
 
204751
        switch (field.id) {
-
 
204752
          case 0: // SUCCESS
-
 
204753
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
204754
              this.success = iprot.readBool();
-
 
204755
              setSuccessIsSet(true);
-
 
204756
            } else { 
-
 
204757
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
204758
            }
-
 
204759
            break;
-
 
204760
          case 1: // PE
-
 
204761
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
204762
              this.pe = new TransactionServiceException();
-
 
204763
              this.pe.read(iprot);
-
 
204764
            } else { 
-
 
204765
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
204766
            }
-
 
204767
            break;
-
 
204768
          default:
-
 
204769
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
204770
        }
-
 
204771
        iprot.readFieldEnd();
-
 
204772
      }
-
 
204773
      iprot.readStructEnd();
-
 
204774
      validate();
-
 
204775
    }
-
 
204776
 
-
 
204777
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
204778
      oprot.writeStructBegin(STRUCT_DESC);
-
 
204779
 
-
 
204780
      if (this.isSetSuccess()) {
-
 
204781
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
204782
        oprot.writeBool(this.success);
-
 
204783
        oprot.writeFieldEnd();
-
 
204784
      } else if (this.isSetPe()) {
-
 
204785
        oprot.writeFieldBegin(PE_FIELD_DESC);
-
 
204786
        this.pe.write(oprot);
-
 
204787
        oprot.writeFieldEnd();
-
 
204788
      }
-
 
204789
      oprot.writeFieldStop();
-
 
204790
      oprot.writeStructEnd();
-
 
204791
    }
-
 
204792
 
-
 
204793
    @Override
-
 
204794
    public String toString() {
-
 
204795
      StringBuilder sb = new StringBuilder("updateUserSanction_result(");
-
 
204796
      boolean first = true;
-
 
204797
 
-
 
204798
      sb.append("success:");
-
 
204799
      sb.append(this.success);
-
 
204800
      first = false;
-
 
204801
      if (!first) sb.append(", ");
-
 
204802
      sb.append("pe:");
-
 
204803
      if (this.pe == null) {
-
 
204804
        sb.append("null");
-
 
204805
      } else {
-
 
204806
        sb.append(this.pe);
-
 
204807
      }
-
 
204808
      first = false;
-
 
204809
      sb.append(")");
-
 
204810
      return sb.toString();
-
 
204811
    }
-
 
204812
 
-
 
204813
    public void validate() throws org.apache.thrift.TException {
-
 
204814
      // check for required fields
-
 
204815
    }
-
 
204816
 
-
 
204817
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
204818
      try {
-
 
204819
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
204820
      } catch (org.apache.thrift.TException te) {
-
 
204821
        throw new java.io.IOException(te);
-
 
204822
      }
-
 
204823
    }
-
 
204824
 
-
 
204825
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
204826
      try {
-
 
204827
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
204828
      } catch (org.apache.thrift.TException te) {
-
 
204829
        throw new java.io.IOException(te);
-
 
204830
      }
-
 
204831
    }
-
 
204832
 
-
 
204833
  }
-
 
204834
 
-
 
204835
  public static class getCreditHistoryRecordsForTransaction_args implements org.apache.thrift.TBase<getCreditHistoryRecordsForTransaction_args, getCreditHistoryRecordsForTransaction_args._Fields>, java.io.Serializable, Cloneable   {
-
 
204836
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCreditHistoryRecordsForTransaction_args");
-
 
204837
 
-
 
204838
    private static final org.apache.thrift.protocol.TField PAYMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("paymentId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
204839
    private static final org.apache.thrift.protocol.TField CREDITOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("creditorId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
204840
    private static final org.apache.thrift.protocol.TField CREDIT_TXN_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("creditTxnType", org.apache.thrift.protocol.TType.STRING, (short)3);
-
 
204841
 
-
 
204842
    private long paymentId; // required
-
 
204843
    private long creditorId; // required
-
 
204844
    private String creditTxnType; // required
-
 
204845
 
-
 
204846
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
204847
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
204848
      PAYMENT_ID((short)1, "paymentId"),
-
 
204849
      CREDITOR_ID((short)2, "creditorId"),
-
 
204850
      CREDIT_TXN_TYPE((short)3, "creditTxnType");
-
 
204851
 
-
 
204852
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
204853
 
-
 
204854
      static {
-
 
204855
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
204856
          byName.put(field.getFieldName(), field);
-
 
204857
        }
-
 
204858
      }
-
 
204859
 
-
 
204860
      /**
-
 
204861
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
204862
       */
-
 
204863
      public static _Fields findByThriftId(int fieldId) {
-
 
204864
        switch(fieldId) {
-
 
204865
          case 1: // PAYMENT_ID
-
 
204866
            return PAYMENT_ID;
-
 
204867
          case 2: // CREDITOR_ID
-
 
204868
            return CREDITOR_ID;
-
 
204869
          case 3: // CREDIT_TXN_TYPE
-
 
204870
            return CREDIT_TXN_TYPE;
-
 
204871
          default:
-
 
204872
            return null;
-
 
204873
        }
-
 
204874
      }
-
 
204875
 
-
 
204876
      /**
-
 
204877
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
204878
       * if it is not found.
-
 
204879
       */
-
 
204880
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
204881
        _Fields fields = findByThriftId(fieldId);
-
 
204882
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
204883
        return fields;
-
 
204884
      }
-
 
204885
 
-
 
204886
      /**
-
 
204887
       * Find the _Fields constant that matches name, or null if its not found.
-
 
204888
       */
-
 
204889
      public static _Fields findByName(String name) {
-
 
204890
        return byName.get(name);
-
 
204891
      }
-
 
204892
 
-
 
204893
      private final short _thriftId;
-
 
204894
      private final String _fieldName;
-
 
204895
 
-
 
204896
      _Fields(short thriftId, String fieldName) {
-
 
204897
        _thriftId = thriftId;
-
 
204898
        _fieldName = fieldName;
-
 
204899
      }
-
 
204900
 
-
 
204901
      public short getThriftFieldId() {
-
 
204902
        return _thriftId;
-
 
204903
      }
-
 
204904
 
-
 
204905
      public String getFieldName() {
-
 
204906
        return _fieldName;
-
 
204907
      }
-
 
204908
    }
-
 
204909
 
-
 
204910
    // isset id assignments
-
 
204911
    private static final int __PAYMENTID_ISSET_ID = 0;
-
 
204912
    private static final int __CREDITORID_ISSET_ID = 1;
-
 
204913
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
204914
 
-
 
204915
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
204916
    static {
-
 
204917
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
204918
      tmpMap.put(_Fields.PAYMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("paymentId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
204919
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
204920
      tmpMap.put(_Fields.CREDITOR_ID, new org.apache.thrift.meta_data.FieldMetaData("creditorId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
204921
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
204922
      tmpMap.put(_Fields.CREDIT_TXN_TYPE, new org.apache.thrift.meta_data.FieldMetaData("creditTxnType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
204923
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
204924
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
204925
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCreditHistoryRecordsForTransaction_args.class, metaDataMap);
-
 
204926
    }
-
 
204927
 
-
 
204928
    public getCreditHistoryRecordsForTransaction_args() {
-
 
204929
    }
-
 
204930
 
-
 
204931
    public getCreditHistoryRecordsForTransaction_args(
-
 
204932
      long paymentId,
-
 
204933
      long creditorId,
-
 
204934
      String creditTxnType)
-
 
204935
    {
-
 
204936
      this();
-
 
204937
      this.paymentId = paymentId;
-
 
204938
      setPaymentIdIsSet(true);
-
 
204939
      this.creditorId = creditorId;
-
 
204940
      setCreditorIdIsSet(true);
-
 
204941
      this.creditTxnType = creditTxnType;
-
 
204942
    }
-
 
204943
 
-
 
204944
    /**
-
 
204945
     * Performs a deep copy on <i>other</i>.
-
 
204946
     */
-
 
204947
    public getCreditHistoryRecordsForTransaction_args(getCreditHistoryRecordsForTransaction_args other) {
-
 
204948
      __isset_bit_vector.clear();
-
 
204949
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
204950
      this.paymentId = other.paymentId;
-
 
204951
      this.creditorId = other.creditorId;
-
 
204952
      if (other.isSetCreditTxnType()) {
-
 
204953
        this.creditTxnType = other.creditTxnType;
-
 
204954
      }
-
 
204955
    }
-
 
204956
 
-
 
204957
    public getCreditHistoryRecordsForTransaction_args deepCopy() {
-
 
204958
      return new getCreditHistoryRecordsForTransaction_args(this);
-
 
204959
    }
-
 
204960
 
-
 
204961
    @Override
-
 
204962
    public void clear() {
-
 
204963
      setPaymentIdIsSet(false);
-
 
204964
      this.paymentId = 0;
-
 
204965
      setCreditorIdIsSet(false);
-
 
204966
      this.creditorId = 0;
-
 
204967
      this.creditTxnType = null;
-
 
204968
    }
-
 
204969
 
-
 
204970
    public long getPaymentId() {
-
 
204971
      return this.paymentId;
-
 
204972
    }
-
 
204973
 
-
 
204974
    public void setPaymentId(long paymentId) {
-
 
204975
      this.paymentId = paymentId;
-
 
204976
      setPaymentIdIsSet(true);
-
 
204977
    }
-
 
204978
 
-
 
204979
    public void unsetPaymentId() {
-
 
204980
      __isset_bit_vector.clear(__PAYMENTID_ISSET_ID);
-
 
204981
    }
-
 
204982
 
-
 
204983
    /** Returns true if field paymentId is set (has been assigned a value) and false otherwise */
-
 
204984
    public boolean isSetPaymentId() {
-
 
204985
      return __isset_bit_vector.get(__PAYMENTID_ISSET_ID);
-
 
204986
    }
-
 
204987
 
-
 
204988
    public void setPaymentIdIsSet(boolean value) {
-
 
204989
      __isset_bit_vector.set(__PAYMENTID_ISSET_ID, value);
-
 
204990
    }
-
 
204991
 
-
 
204992
    public long getCreditorId() {
-
 
204993
      return this.creditorId;
-
 
204994
    }
-
 
204995
 
-
 
204996
    public void setCreditorId(long creditorId) {
-
 
204997
      this.creditorId = creditorId;
-
 
204998
      setCreditorIdIsSet(true);
-
 
204999
    }
-
 
205000
 
-
 
205001
    public void unsetCreditorId() {
-
 
205002
      __isset_bit_vector.clear(__CREDITORID_ISSET_ID);
-
 
205003
    }
-
 
205004
 
-
 
205005
    /** Returns true if field creditorId is set (has been assigned a value) and false otherwise */
-
 
205006
    public boolean isSetCreditorId() {
-
 
205007
      return __isset_bit_vector.get(__CREDITORID_ISSET_ID);
-
 
205008
    }
-
 
205009
 
-
 
205010
    public void setCreditorIdIsSet(boolean value) {
-
 
205011
      __isset_bit_vector.set(__CREDITORID_ISSET_ID, value);
-
 
205012
    }
-
 
205013
 
-
 
205014
    public String getCreditTxnType() {
-
 
205015
      return this.creditTxnType;
-
 
205016
    }
-
 
205017
 
-
 
205018
    public void setCreditTxnType(String creditTxnType) {
-
 
205019
      this.creditTxnType = creditTxnType;
-
 
205020
    }
-
 
205021
 
-
 
205022
    public void unsetCreditTxnType() {
-
 
205023
      this.creditTxnType = null;
-
 
205024
    }
-
 
205025
 
-
 
205026
    /** Returns true if field creditTxnType is set (has been assigned a value) and false otherwise */
-
 
205027
    public boolean isSetCreditTxnType() {
-
 
205028
      return this.creditTxnType != null;
-
 
205029
    }
-
 
205030
 
-
 
205031
    public void setCreditTxnTypeIsSet(boolean value) {
-
 
205032
      if (!value) {
-
 
205033
        this.creditTxnType = null;
-
 
205034
      }
-
 
205035
    }
-
 
205036
 
-
 
205037
    public void setFieldValue(_Fields field, Object value) {
-
 
205038
      switch (field) {
-
 
205039
      case PAYMENT_ID:
-
 
205040
        if (value == null) {
-
 
205041
          unsetPaymentId();
-
 
205042
        } else {
-
 
205043
          setPaymentId((Long)value);
-
 
205044
        }
-
 
205045
        break;
-
 
205046
 
-
 
205047
      case CREDITOR_ID:
-
 
205048
        if (value == null) {
-
 
205049
          unsetCreditorId();
-
 
205050
        } else {
-
 
205051
          setCreditorId((Long)value);
-
 
205052
        }
-
 
205053
        break;
-
 
205054
 
-
 
205055
      case CREDIT_TXN_TYPE:
-
 
205056
        if (value == null) {
-
 
205057
          unsetCreditTxnType();
-
 
205058
        } else {
-
 
205059
          setCreditTxnType((String)value);
-
 
205060
        }
-
 
205061
        break;
-
 
205062
 
-
 
205063
      }
-
 
205064
    }
-
 
205065
 
-
 
205066
    public Object getFieldValue(_Fields field) {
-
 
205067
      switch (field) {
-
 
205068
      case PAYMENT_ID:
-
 
205069
        return Long.valueOf(getPaymentId());
-
 
205070
 
-
 
205071
      case CREDITOR_ID:
-
 
205072
        return Long.valueOf(getCreditorId());
-
 
205073
 
-
 
205074
      case CREDIT_TXN_TYPE:
-
 
205075
        return getCreditTxnType();
-
 
205076
 
-
 
205077
      }
-
 
205078
      throw new IllegalStateException();
-
 
205079
    }
-
 
205080
 
-
 
205081
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
205082
    public boolean isSet(_Fields field) {
-
 
205083
      if (field == null) {
-
 
205084
        throw new IllegalArgumentException();
-
 
205085
      }
-
 
205086
 
-
 
205087
      switch (field) {
-
 
205088
      case PAYMENT_ID:
-
 
205089
        return isSetPaymentId();
-
 
205090
      case CREDITOR_ID:
-
 
205091
        return isSetCreditorId();
-
 
205092
      case CREDIT_TXN_TYPE:
-
 
205093
        return isSetCreditTxnType();
-
 
205094
      }
-
 
205095
      throw new IllegalStateException();
-
 
205096
    }
-
 
205097
 
-
 
205098
    @Override
-
 
205099
    public boolean equals(Object that) {
-
 
205100
      if (that == null)
-
 
205101
        return false;
-
 
205102
      if (that instanceof getCreditHistoryRecordsForTransaction_args)
-
 
205103
        return this.equals((getCreditHistoryRecordsForTransaction_args)that);
-
 
205104
      return false;
-
 
205105
    }
-
 
205106
 
-
 
205107
    public boolean equals(getCreditHistoryRecordsForTransaction_args that) {
-
 
205108
      if (that == null)
-
 
205109
        return false;
-
 
205110
 
-
 
205111
      boolean this_present_paymentId = true;
-
 
205112
      boolean that_present_paymentId = true;
-
 
205113
      if (this_present_paymentId || that_present_paymentId) {
-
 
205114
        if (!(this_present_paymentId && that_present_paymentId))
-
 
205115
          return false;
-
 
205116
        if (this.paymentId != that.paymentId)
-
 
205117
          return false;
-
 
205118
      }
-
 
205119
 
-
 
205120
      boolean this_present_creditorId = true;
-
 
205121
      boolean that_present_creditorId = true;
-
 
205122
      if (this_present_creditorId || that_present_creditorId) {
-
 
205123
        if (!(this_present_creditorId && that_present_creditorId))
-
 
205124
          return false;
-
 
205125
        if (this.creditorId != that.creditorId)
-
 
205126
          return false;
-
 
205127
      }
-
 
205128
 
-
 
205129
      boolean this_present_creditTxnType = true && this.isSetCreditTxnType();
-
 
205130
      boolean that_present_creditTxnType = true && that.isSetCreditTxnType();
-
 
205131
      if (this_present_creditTxnType || that_present_creditTxnType) {
-
 
205132
        if (!(this_present_creditTxnType && that_present_creditTxnType))
-
 
205133
          return false;
-
 
205134
        if (!this.creditTxnType.equals(that.creditTxnType))
-
 
205135
          return false;
-
 
205136
      }
-
 
205137
 
-
 
205138
      return true;
-
 
205139
    }
-
 
205140
 
-
 
205141
    @Override
-
 
205142
    public int hashCode() {
-
 
205143
      return 0;
-
 
205144
    }
-
 
205145
 
-
 
205146
    public int compareTo(getCreditHistoryRecordsForTransaction_args other) {
-
 
205147
      if (!getClass().equals(other.getClass())) {
-
 
205148
        return getClass().getName().compareTo(other.getClass().getName());
-
 
205149
      }
-
 
205150
 
-
 
205151
      int lastComparison = 0;
-
 
205152
      getCreditHistoryRecordsForTransaction_args typedOther = (getCreditHistoryRecordsForTransaction_args)other;
-
 
205153
 
-
 
205154
      lastComparison = Boolean.valueOf(isSetPaymentId()).compareTo(typedOther.isSetPaymentId());
-
 
205155
      if (lastComparison != 0) {
-
 
205156
        return lastComparison;
-
 
205157
      }
-
 
205158
      if (isSetPaymentId()) {
-
 
205159
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.paymentId, typedOther.paymentId);
-
 
205160
        if (lastComparison != 0) {
-
 
205161
          return lastComparison;
-
 
205162
        }
-
 
205163
      }
-
 
205164
      lastComparison = Boolean.valueOf(isSetCreditorId()).compareTo(typedOther.isSetCreditorId());
-
 
205165
      if (lastComparison != 0) {
-
 
205166
        return lastComparison;
-
 
205167
      }
-
 
205168
      if (isSetCreditorId()) {
-
 
205169
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creditorId, typedOther.creditorId);
-
 
205170
        if (lastComparison != 0) {
-
 
205171
          return lastComparison;
-
 
205172
        }
-
 
205173
      }
-
 
205174
      lastComparison = Boolean.valueOf(isSetCreditTxnType()).compareTo(typedOther.isSetCreditTxnType());
-
 
205175
      if (lastComparison != 0) {
-
 
205176
        return lastComparison;
-
 
205177
      }
-
 
205178
      if (isSetCreditTxnType()) {
-
 
205179
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creditTxnType, typedOther.creditTxnType);
-
 
205180
        if (lastComparison != 0) {
-
 
205181
          return lastComparison;
-
 
205182
        }
-
 
205183
      }
-
 
205184
      return 0;
-
 
205185
    }
-
 
205186
 
-
 
205187
    public _Fields fieldForId(int fieldId) {
-
 
205188
      return _Fields.findByThriftId(fieldId);
-
 
205189
    }
-
 
205190
 
-
 
205191
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
205192
      org.apache.thrift.protocol.TField field;
-
 
205193
      iprot.readStructBegin();
-
 
205194
      while (true)
-
 
205195
      {
-
 
205196
        field = iprot.readFieldBegin();
-
 
205197
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
205198
          break;
-
 
205199
        }
-
 
205200
        switch (field.id) {
-
 
205201
          case 1: // PAYMENT_ID
-
 
205202
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
205203
              this.paymentId = iprot.readI64();
-
 
205204
              setPaymentIdIsSet(true);
-
 
205205
            } else { 
-
 
205206
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
205207
            }
-
 
205208
            break;
-
 
205209
          case 2: // CREDITOR_ID
-
 
205210
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
205211
              this.creditorId = iprot.readI64();
-
 
205212
              setCreditorIdIsSet(true);
-
 
205213
            } else { 
-
 
205214
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
205215
            }
-
 
205216
            break;
-
 
205217
          case 3: // CREDIT_TXN_TYPE
-
 
205218
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
205219
              this.creditTxnType = iprot.readString();
-
 
205220
            } else { 
-
 
205221
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
205222
            }
-
 
205223
            break;
-
 
205224
          default:
-
 
205225
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
205226
        }
-
 
205227
        iprot.readFieldEnd();
-
 
205228
      }
-
 
205229
      iprot.readStructEnd();
-
 
205230
      validate();
-
 
205231
    }
-
 
205232
 
-
 
205233
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
205234
      validate();
-
 
205235
 
-
 
205236
      oprot.writeStructBegin(STRUCT_DESC);
-
 
205237
      oprot.writeFieldBegin(PAYMENT_ID_FIELD_DESC);
-
 
205238
      oprot.writeI64(this.paymentId);
-
 
205239
      oprot.writeFieldEnd();
-
 
205240
      oprot.writeFieldBegin(CREDITOR_ID_FIELD_DESC);
-
 
205241
      oprot.writeI64(this.creditorId);
-
 
205242
      oprot.writeFieldEnd();
-
 
205243
      if (this.creditTxnType != null) {
-
 
205244
        oprot.writeFieldBegin(CREDIT_TXN_TYPE_FIELD_DESC);
-
 
205245
        oprot.writeString(this.creditTxnType);
-
 
205246
        oprot.writeFieldEnd();
-
 
205247
      }
-
 
205248
      oprot.writeFieldStop();
-
 
205249
      oprot.writeStructEnd();
-
 
205250
    }
-
 
205251
 
-
 
205252
    @Override
-
 
205253
    public String toString() {
-
 
205254
      StringBuilder sb = new StringBuilder("getCreditHistoryRecordsForTransaction_args(");
-
 
205255
      boolean first = true;
-
 
205256
 
-
 
205257
      sb.append("paymentId:");
-
 
205258
      sb.append(this.paymentId);
-
 
205259
      first = false;
-
 
205260
      if (!first) sb.append(", ");
-
 
205261
      sb.append("creditorId:");
-
 
205262
      sb.append(this.creditorId);
-
 
205263
      first = false;
-
 
205264
      if (!first) sb.append(", ");
-
 
205265
      sb.append("creditTxnType:");
-
 
205266
      if (this.creditTxnType == null) {
-
 
205267
        sb.append("null");
-
 
205268
      } else {
-
 
205269
        sb.append(this.creditTxnType);
-
 
205270
      }
-
 
205271
      first = false;
-
 
205272
      sb.append(")");
-
 
205273
      return sb.toString();
-
 
205274
    }
-
 
205275
 
-
 
205276
    public void validate() throws org.apache.thrift.TException {
-
 
205277
      // check for required fields
-
 
205278
    }
-
 
205279
 
-
 
205280
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
205281
      try {
-
 
205282
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
205283
      } catch (org.apache.thrift.TException te) {
-
 
205284
        throw new java.io.IOException(te);
-
 
205285
      }
-
 
205286
    }
-
 
205287
 
-
 
205288
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
205289
      try {
-
 
205290
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
205291
        __isset_bit_vector = new BitSet(1);
-
 
205292
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
205293
      } catch (org.apache.thrift.TException te) {
-
 
205294
        throw new java.io.IOException(te);
-
 
205295
      }
-
 
205296
    }
-
 
205297
 
-
 
205298
  }
-
 
205299
 
-
 
205300
  public static class getCreditHistoryRecordsForTransaction_result implements org.apache.thrift.TBase<getCreditHistoryRecordsForTransaction_result, getCreditHistoryRecordsForTransaction_result._Fields>, java.io.Serializable, Cloneable   {
-
 
205301
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCreditHistoryRecordsForTransaction_result");
-
 
205302
 
-
 
205303
    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);
-
 
205304
 
-
 
205305
    private List<CreditHistory> success; // required
-
 
205306
 
-
 
205307
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
205308
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
205309
      SUCCESS((short)0, "success");
-
 
205310
 
-
 
205311
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
205312
 
-
 
205313
      static {
-
 
205314
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
205315
          byName.put(field.getFieldName(), field);
-
 
205316
        }
-
 
205317
      }
-
 
205318
 
-
 
205319
      /**
-
 
205320
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
205321
       */
-
 
205322
      public static _Fields findByThriftId(int fieldId) {
-
 
205323
        switch(fieldId) {
-
 
205324
          case 0: // SUCCESS
-
 
205325
            return SUCCESS;
-
 
205326
          default:
-
 
205327
            return null;
-
 
205328
        }
-
 
205329
      }
-
 
205330
 
-
 
205331
      /**
-
 
205332
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
205333
       * if it is not found.
-
 
205334
       */
-
 
205335
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
205336
        _Fields fields = findByThriftId(fieldId);
-
 
205337
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
205338
        return fields;
-
 
205339
      }
-
 
205340
 
-
 
205341
      /**
-
 
205342
       * Find the _Fields constant that matches name, or null if its not found.
-
 
205343
       */
-
 
205344
      public static _Fields findByName(String name) {
-
 
205345
        return byName.get(name);
-
 
205346
      }
-
 
205347
 
-
 
205348
      private final short _thriftId;
-
 
205349
      private final String _fieldName;
-
 
205350
 
-
 
205351
      _Fields(short thriftId, String fieldName) {
-
 
205352
        _thriftId = thriftId;
-
 
205353
        _fieldName = fieldName;
-
 
205354
      }
-
 
205355
 
-
 
205356
      public short getThriftFieldId() {
-
 
205357
        return _thriftId;
-
 
205358
      }
-
 
205359
 
-
 
205360
      public String getFieldName() {
-
 
205361
        return _fieldName;
-
 
205362
      }
-
 
205363
    }
-
 
205364
 
-
 
205365
    // isset id assignments
-
 
205366
 
-
 
205367
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
205368
    static {
-
 
205369
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
205370
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
205371
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
205372
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CreditHistory.class))));
-
 
205373
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
205374
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCreditHistoryRecordsForTransaction_result.class, metaDataMap);
-
 
205375
    }
-
 
205376
 
-
 
205377
    public getCreditHistoryRecordsForTransaction_result() {
-
 
205378
    }
-
 
205379
 
-
 
205380
    public getCreditHistoryRecordsForTransaction_result(
-
 
205381
      List<CreditHistory> success)
-
 
205382
    {
-
 
205383
      this();
-
 
205384
      this.success = success;
-
 
205385
    }
-
 
205386
 
-
 
205387
    /**
-
 
205388
     * Performs a deep copy on <i>other</i>.
-
 
205389
     */
-
 
205390
    public getCreditHistoryRecordsForTransaction_result(getCreditHistoryRecordsForTransaction_result other) {
-
 
205391
      if (other.isSetSuccess()) {
-
 
205392
        List<CreditHistory> __this__success = new ArrayList<CreditHistory>();
-
 
205393
        for (CreditHistory other_element : other.success) {
-
 
205394
          __this__success.add(new CreditHistory(other_element));
-
 
205395
        }
-
 
205396
        this.success = __this__success;
-
 
205397
      }
-
 
205398
    }
-
 
205399
 
-
 
205400
    public getCreditHistoryRecordsForTransaction_result deepCopy() {
-
 
205401
      return new getCreditHistoryRecordsForTransaction_result(this);
-
 
205402
    }
-
 
205403
 
-
 
205404
    @Override
-
 
205405
    public void clear() {
-
 
205406
      this.success = null;
-
 
205407
    }
-
 
205408
 
-
 
205409
    public int getSuccessSize() {
-
 
205410
      return (this.success == null) ? 0 : this.success.size();
-
 
205411
    }
-
 
205412
 
-
 
205413
    public java.util.Iterator<CreditHistory> getSuccessIterator() {
-
 
205414
      return (this.success == null) ? null : this.success.iterator();
-
 
205415
    }
-
 
205416
 
-
 
205417
    public void addToSuccess(CreditHistory elem) {
-
 
205418
      if (this.success == null) {
-
 
205419
        this.success = new ArrayList<CreditHistory>();
-
 
205420
      }
-
 
205421
      this.success.add(elem);
-
 
205422
    }
-
 
205423
 
-
 
205424
    public List<CreditHistory> getSuccess() {
-
 
205425
      return this.success;
-
 
205426
    }
-
 
205427
 
-
 
205428
    public void setSuccess(List<CreditHistory> success) {
-
 
205429
      this.success = success;
-
 
205430
    }
-
 
205431
 
-
 
205432
    public void unsetSuccess() {
-
 
205433
      this.success = null;
-
 
205434
    }
-
 
205435
 
-
 
205436
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
205437
    public boolean isSetSuccess() {
-
 
205438
      return this.success != null;
-
 
205439
    }
-
 
205440
 
-
 
205441
    public void setSuccessIsSet(boolean value) {
-
 
205442
      if (!value) {
-
 
205443
        this.success = null;
-
 
205444
      }
-
 
205445
    }
-
 
205446
 
-
 
205447
    public void setFieldValue(_Fields field, Object value) {
-
 
205448
      switch (field) {
-
 
205449
      case SUCCESS:
-
 
205450
        if (value == null) {
-
 
205451
          unsetSuccess();
-
 
205452
        } else {
-
 
205453
          setSuccess((List<CreditHistory>)value);
-
 
205454
        }
-
 
205455
        break;
-
 
205456
 
-
 
205457
      }
-
 
205458
    }
-
 
205459
 
-
 
205460
    public Object getFieldValue(_Fields field) {
-
 
205461
      switch (field) {
-
 
205462
      case SUCCESS:
-
 
205463
        return getSuccess();
-
 
205464
 
-
 
205465
      }
-
 
205466
      throw new IllegalStateException();
-
 
205467
    }
-
 
205468
 
-
 
205469
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
205470
    public boolean isSet(_Fields field) {
-
 
205471
      if (field == null) {
-
 
205472
        throw new IllegalArgumentException();
-
 
205473
      }
-
 
205474
 
-
 
205475
      switch (field) {
-
 
205476
      case SUCCESS:
-
 
205477
        return isSetSuccess();
-
 
205478
      }
-
 
205479
      throw new IllegalStateException();
-
 
205480
    }
-
 
205481
 
-
 
205482
    @Override
-
 
205483
    public boolean equals(Object that) {
-
 
205484
      if (that == null)
-
 
205485
        return false;
-
 
205486
      if (that instanceof getCreditHistoryRecordsForTransaction_result)
-
 
205487
        return this.equals((getCreditHistoryRecordsForTransaction_result)that);
-
 
205488
      return false;
-
 
205489
    }
-
 
205490
 
-
 
205491
    public boolean equals(getCreditHistoryRecordsForTransaction_result that) {
-
 
205492
      if (that == null)
-
 
205493
        return false;
-
 
205494
 
-
 
205495
      boolean this_present_success = true && this.isSetSuccess();
-
 
205496
      boolean that_present_success = true && that.isSetSuccess();
-
 
205497
      if (this_present_success || that_present_success) {
-
 
205498
        if (!(this_present_success && that_present_success))
-
 
205499
          return false;
-
 
205500
        if (!this.success.equals(that.success))
-
 
205501
          return false;
-
 
205502
      }
-
 
205503
 
-
 
205504
      return true;
-
 
205505
    }
-
 
205506
 
-
 
205507
    @Override
-
 
205508
    public int hashCode() {
-
 
205509
      return 0;
-
 
205510
    }
-
 
205511
 
-
 
205512
    public int compareTo(getCreditHistoryRecordsForTransaction_result other) {
-
 
205513
      if (!getClass().equals(other.getClass())) {
-
 
205514
        return getClass().getName().compareTo(other.getClass().getName());
-
 
205515
      }
-
 
205516
 
-
 
205517
      int lastComparison = 0;
-
 
205518
      getCreditHistoryRecordsForTransaction_result typedOther = (getCreditHistoryRecordsForTransaction_result)other;
-
 
205519
 
-
 
205520
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
205521
      if (lastComparison != 0) {
-
 
205522
        return lastComparison;
-
 
205523
      }
-
 
205524
      if (isSetSuccess()) {
-
 
205525
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
205526
        if (lastComparison != 0) {
-
 
205527
          return lastComparison;
-
 
205528
        }
-
 
205529
      }
-
 
205530
      return 0;
-
 
205531
    }
-
 
205532
 
-
 
205533
    public _Fields fieldForId(int fieldId) {
-
 
205534
      return _Fields.findByThriftId(fieldId);
-
 
205535
    }
-
 
205536
 
-
 
205537
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
205538
      org.apache.thrift.protocol.TField field;
-
 
205539
      iprot.readStructBegin();
-
 
205540
      while (true)
-
 
205541
      {
-
 
205542
        field = iprot.readFieldBegin();
-
 
205543
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
205544
          break;
-
 
205545
        }
-
 
205546
        switch (field.id) {
-
 
205547
          case 0: // SUCCESS
-
 
205548
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
205549
              {
-
 
205550
                org.apache.thrift.protocol.TList _list656 = iprot.readListBegin();
-
 
205551
                this.success = new ArrayList<CreditHistory>(_list656.size);
-
 
205552
                for (int _i657 = 0; _i657 < _list656.size; ++_i657)
-
 
205553
                {
-
 
205554
                  CreditHistory _elem658; // required
-
 
205555
                  _elem658 = new CreditHistory();
-
 
205556
                  _elem658.read(iprot);
-
 
205557
                  this.success.add(_elem658);
-
 
205558
                }
-
 
205559
                iprot.readListEnd();
-
 
205560
              }
-
 
205561
            } else { 
-
 
205562
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
205563
            }
-
 
205564
            break;
-
 
205565
          default:
-
 
205566
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
205567
        }
-
 
205568
        iprot.readFieldEnd();
-
 
205569
      }
-
 
205570
      iprot.readStructEnd();
-
 
205571
      validate();
-
 
205572
    }
-
 
205573
 
-
 
205574
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
205575
      oprot.writeStructBegin(STRUCT_DESC);
-
 
205576
 
-
 
205577
      if (this.isSetSuccess()) {
-
 
205578
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
205579
        {
-
 
205580
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
205581
          for (CreditHistory _iter659 : this.success)
-
 
205582
          {
-
 
205583
            _iter659.write(oprot);
-
 
205584
          }
-
 
205585
          oprot.writeListEnd();
-
 
205586
        }
-
 
205587
        oprot.writeFieldEnd();
-
 
205588
      }
-
 
205589
      oprot.writeFieldStop();
-
 
205590
      oprot.writeStructEnd();
-
 
205591
    }
-
 
205592
 
-
 
205593
    @Override
-
 
205594
    public String toString() {
-
 
205595
      StringBuilder sb = new StringBuilder("getCreditHistoryRecordsForTransaction_result(");
-
 
205596
      boolean first = true;
-
 
205597
 
-
 
205598
      sb.append("success:");
-
 
205599
      if (this.success == null) {
-
 
205600
        sb.append("null");
-
 
205601
      } else {
-
 
205602
        sb.append(this.success);
-
 
205603
      }
-
 
205604
      first = false;
-
 
205605
      sb.append(")");
-
 
205606
      return sb.toString();
-
 
205607
    }
-
 
205608
 
-
 
205609
    public void validate() throws org.apache.thrift.TException {
-
 
205610
      // check for required fields
-
 
205611
    }
-
 
205612
 
-
 
205613
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
205614
      try {
-
 
205615
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
205616
      } catch (org.apache.thrift.TException te) {
-
 
205617
        throw new java.io.IOException(te);
-
 
205618
      }
-
 
205619
    }
-
 
205620
 
-
 
205621
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
205622
      try {
-
 
205623
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
205624
      } catch (org.apache.thrift.TException te) {
-
 
205625
        throw new java.io.IOException(te);
-
 
205626
      }
-
 
205627
    }
-
 
205628
 
-
 
205629
  }
-
 
205630
 
-
 
205631
  public static class getCreditHistoryRecordsForUserAndCreditor_args implements org.apache.thrift.TBase<getCreditHistoryRecordsForUserAndCreditor_args, getCreditHistoryRecordsForUserAndCreditor_args._Fields>, java.io.Serializable, Cloneable   {
-
 
205632
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCreditHistoryRecordsForUserAndCreditor_args");
-
 
205633
 
-
 
205634
    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);
-
 
205635
    private static final org.apache.thrift.protocol.TField CREDIT_TXN_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("creditTxnType", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
205636
 
-
 
205637
    private long userId; // required
-
 
205638
    private String creditTxnType; // required
-
 
205639
 
-
 
205640
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
205641
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
205642
      USER_ID((short)1, "userId"),
-
 
205643
      CREDIT_TXN_TYPE((short)2, "creditTxnType");
-
 
205644
 
-
 
205645
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
205646
 
-
 
205647
      static {
-
 
205648
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
205649
          byName.put(field.getFieldName(), field);
-
 
205650
        }
-
 
205651
      }
-
 
205652
 
-
 
205653
      /**
-
 
205654
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
205655
       */
-
 
205656
      public static _Fields findByThriftId(int fieldId) {
-
 
205657
        switch(fieldId) {
-
 
205658
          case 1: // USER_ID
-
 
205659
            return USER_ID;
-
 
205660
          case 2: // CREDIT_TXN_TYPE
-
 
205661
            return CREDIT_TXN_TYPE;
-
 
205662
          default:
-
 
205663
            return null;
-
 
205664
        }
-
 
205665
      }
-
 
205666
 
-
 
205667
      /**
-
 
205668
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
205669
       * if it is not found.
-
 
205670
       */
-
 
205671
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
205672
        _Fields fields = findByThriftId(fieldId);
-
 
205673
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
205674
        return fields;
-
 
205675
      }
-
 
205676
 
-
 
205677
      /**
-
 
205678
       * Find the _Fields constant that matches name, or null if its not found.
-
 
205679
       */
-
 
205680
      public static _Fields findByName(String name) {
-
 
205681
        return byName.get(name);
-
 
205682
      }
-
 
205683
 
-
 
205684
      private final short _thriftId;
-
 
205685
      private final String _fieldName;
-
 
205686
 
-
 
205687
      _Fields(short thriftId, String fieldName) {
-
 
205688
        _thriftId = thriftId;
-
 
205689
        _fieldName = fieldName;
-
 
205690
      }
-
 
205691
 
-
 
205692
      public short getThriftFieldId() {
-
 
205693
        return _thriftId;
-
 
205694
      }
-
 
205695
 
-
 
205696
      public String getFieldName() {
-
 
205697
        return _fieldName;
-
 
205698
      }
-
 
205699
    }
-
 
205700
 
-
 
205701
    // isset id assignments
-
 
205702
    private static final int __USERID_ISSET_ID = 0;
-
 
205703
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
205704
 
-
 
205705
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
205706
    static {
-
 
205707
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
205708
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
205709
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
205710
      tmpMap.put(_Fields.CREDIT_TXN_TYPE, new org.apache.thrift.meta_data.FieldMetaData("creditTxnType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
205711
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
205712
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
205713
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCreditHistoryRecordsForUserAndCreditor_args.class, metaDataMap);
-
 
205714
    }
-
 
205715
 
-
 
205716
    public getCreditHistoryRecordsForUserAndCreditor_args() {
-
 
205717
    }
-
 
205718
 
-
 
205719
    public getCreditHistoryRecordsForUserAndCreditor_args(
-
 
205720
      long userId,
-
 
205721
      String creditTxnType)
-
 
205722
    {
-
 
205723
      this();
-
 
205724
      this.userId = userId;
-
 
205725
      setUserIdIsSet(true);
-
 
205726
      this.creditTxnType = creditTxnType;
-
 
205727
    }
-
 
205728
 
-
 
205729
    /**
-
 
205730
     * Performs a deep copy on <i>other</i>.
-
 
205731
     */
-
 
205732
    public getCreditHistoryRecordsForUserAndCreditor_args(getCreditHistoryRecordsForUserAndCreditor_args other) {
-
 
205733
      __isset_bit_vector.clear();
-
 
205734
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
205735
      this.userId = other.userId;
-
 
205736
      if (other.isSetCreditTxnType()) {
-
 
205737
        this.creditTxnType = other.creditTxnType;
-
 
205738
      }
-
 
205739
    }
-
 
205740
 
-
 
205741
    public getCreditHistoryRecordsForUserAndCreditor_args deepCopy() {
-
 
205742
      return new getCreditHistoryRecordsForUserAndCreditor_args(this);
-
 
205743
    }
-
 
205744
 
-
 
205745
    @Override
-
 
205746
    public void clear() {
-
 
205747
      setUserIdIsSet(false);
-
 
205748
      this.userId = 0;
-
 
205749
      this.creditTxnType = null;
-
 
205750
    }
-
 
205751
 
-
 
205752
    public long getUserId() {
-
 
205753
      return this.userId;
-
 
205754
    }
-
 
205755
 
-
 
205756
    public void setUserId(long userId) {
-
 
205757
      this.userId = userId;
-
 
205758
      setUserIdIsSet(true);
-
 
205759
    }
-
 
205760
 
-
 
205761
    public void unsetUserId() {
-
 
205762
      __isset_bit_vector.clear(__USERID_ISSET_ID);
-
 
205763
    }
-
 
205764
 
-
 
205765
    /** Returns true if field userId is set (has been assigned a value) and false otherwise */
-
 
205766
    public boolean isSetUserId() {
-
 
205767
      return __isset_bit_vector.get(__USERID_ISSET_ID);
-
 
205768
    }
-
 
205769
 
-
 
205770
    public void setUserIdIsSet(boolean value) {
-
 
205771
      __isset_bit_vector.set(__USERID_ISSET_ID, value);
-
 
205772
    }
-
 
205773
 
-
 
205774
    public String getCreditTxnType() {
-
 
205775
      return this.creditTxnType;
-
 
205776
    }
-
 
205777
 
-
 
205778
    public void setCreditTxnType(String creditTxnType) {
-
 
205779
      this.creditTxnType = creditTxnType;
-
 
205780
    }
-
 
205781
 
-
 
205782
    public void unsetCreditTxnType() {
-
 
205783
      this.creditTxnType = null;
-
 
205784
    }
-
 
205785
 
-
 
205786
    /** Returns true if field creditTxnType is set (has been assigned a value) and false otherwise */
-
 
205787
    public boolean isSetCreditTxnType() {
-
 
205788
      return this.creditTxnType != null;
-
 
205789
    }
-
 
205790
 
-
 
205791
    public void setCreditTxnTypeIsSet(boolean value) {
-
 
205792
      if (!value) {
-
 
205793
        this.creditTxnType = null;
-
 
205794
      }
-
 
205795
    }
-
 
205796
 
-
 
205797
    public void setFieldValue(_Fields field, Object value) {
-
 
205798
      switch (field) {
-
 
205799
      case USER_ID:
-
 
205800
        if (value == null) {
-
 
205801
          unsetUserId();
-
 
205802
        } else {
-
 
205803
          setUserId((Long)value);
-
 
205804
        }
-
 
205805
        break;
-
 
205806
 
-
 
205807
      case CREDIT_TXN_TYPE:
-
 
205808
        if (value == null) {
-
 
205809
          unsetCreditTxnType();
-
 
205810
        } else {
-
 
205811
          setCreditTxnType((String)value);
-
 
205812
        }
-
 
205813
        break;
-
 
205814
 
-
 
205815
      }
-
 
205816
    }
-
 
205817
 
-
 
205818
    public Object getFieldValue(_Fields field) {
-
 
205819
      switch (field) {
-
 
205820
      case USER_ID:
-
 
205821
        return Long.valueOf(getUserId());
-
 
205822
 
-
 
205823
      case CREDIT_TXN_TYPE:
-
 
205824
        return getCreditTxnType();
-
 
205825
 
-
 
205826
      }
-
 
205827
      throw new IllegalStateException();
-
 
205828
    }
-
 
205829
 
-
 
205830
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
205831
    public boolean isSet(_Fields field) {
-
 
205832
      if (field == null) {
-
 
205833
        throw new IllegalArgumentException();
-
 
205834
      }
-
 
205835
 
-
 
205836
      switch (field) {
-
 
205837
      case USER_ID:
-
 
205838
        return isSetUserId();
-
 
205839
      case CREDIT_TXN_TYPE:
-
 
205840
        return isSetCreditTxnType();
-
 
205841
      }
-
 
205842
      throw new IllegalStateException();
-
 
205843
    }
-
 
205844
 
-
 
205845
    @Override
-
 
205846
    public boolean equals(Object that) {
-
 
205847
      if (that == null)
-
 
205848
        return false;
-
 
205849
      if (that instanceof getCreditHistoryRecordsForUserAndCreditor_args)
-
 
205850
        return this.equals((getCreditHistoryRecordsForUserAndCreditor_args)that);
-
 
205851
      return false;
-
 
205852
    }
-
 
205853
 
-
 
205854
    public boolean equals(getCreditHistoryRecordsForUserAndCreditor_args that) {
-
 
205855
      if (that == null)
-
 
205856
        return false;
-
 
205857
 
-
 
205858
      boolean this_present_userId = true;
-
 
205859
      boolean that_present_userId = true;
-
 
205860
      if (this_present_userId || that_present_userId) {
-
 
205861
        if (!(this_present_userId && that_present_userId))
-
 
205862
          return false;
-
 
205863
        if (this.userId != that.userId)
-
 
205864
          return false;
-
 
205865
      }
-
 
205866
 
-
 
205867
      boolean this_present_creditTxnType = true && this.isSetCreditTxnType();
-
 
205868
      boolean that_present_creditTxnType = true && that.isSetCreditTxnType();
-
 
205869
      if (this_present_creditTxnType || that_present_creditTxnType) {
-
 
205870
        if (!(this_present_creditTxnType && that_present_creditTxnType))
-
 
205871
          return false;
-
 
205872
        if (!this.creditTxnType.equals(that.creditTxnType))
-
 
205873
          return false;
-
 
205874
      }
-
 
205875
 
-
 
205876
      return true;
-
 
205877
    }
-
 
205878
 
-
 
205879
    @Override
-
 
205880
    public int hashCode() {
-
 
205881
      return 0;
-
 
205882
    }
-
 
205883
 
-
 
205884
    public int compareTo(getCreditHistoryRecordsForUserAndCreditor_args other) {
-
 
205885
      if (!getClass().equals(other.getClass())) {
-
 
205886
        return getClass().getName().compareTo(other.getClass().getName());
-
 
205887
      }
-
 
205888
 
-
 
205889
      int lastComparison = 0;
-
 
205890
      getCreditHistoryRecordsForUserAndCreditor_args typedOther = (getCreditHistoryRecordsForUserAndCreditor_args)other;
-
 
205891
 
-
 
205892
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
-
 
205893
      if (lastComparison != 0) {
-
 
205894
        return lastComparison;
-
 
205895
      }
-
 
205896
      if (isSetUserId()) {
-
 
205897
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
-
 
205898
        if (lastComparison != 0) {
-
 
205899
          return lastComparison;
-
 
205900
        }
-
 
205901
      }
-
 
205902
      lastComparison = Boolean.valueOf(isSetCreditTxnType()).compareTo(typedOther.isSetCreditTxnType());
-
 
205903
      if (lastComparison != 0) {
-
 
205904
        return lastComparison;
-
 
205905
      }
-
 
205906
      if (isSetCreditTxnType()) {
-
 
205907
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creditTxnType, typedOther.creditTxnType);
-
 
205908
        if (lastComparison != 0) {
-
 
205909
          return lastComparison;
-
 
205910
        }
-
 
205911
      }
-
 
205912
      return 0;
-
 
205913
    }
-
 
205914
 
-
 
205915
    public _Fields fieldForId(int fieldId) {
-
 
205916
      return _Fields.findByThriftId(fieldId);
-
 
205917
    }
-
 
205918
 
-
 
205919
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
205920
      org.apache.thrift.protocol.TField field;
-
 
205921
      iprot.readStructBegin();
-
 
205922
      while (true)
-
 
205923
      {
-
 
205924
        field = iprot.readFieldBegin();
-
 
205925
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
205926
          break;
-
 
205927
        }
-
 
205928
        switch (field.id) {
-
 
205929
          case 1: // USER_ID
-
 
205930
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
205931
              this.userId = iprot.readI64();
-
 
205932
              setUserIdIsSet(true);
-
 
205933
            } else { 
-
 
205934
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
205935
            }
-
 
205936
            break;
-
 
205937
          case 2: // CREDIT_TXN_TYPE
-
 
205938
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
205939
              this.creditTxnType = iprot.readString();
-
 
205940
            } else { 
-
 
205941
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
205942
            }
-
 
205943
            break;
-
 
205944
          default:
-
 
205945
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
205946
        }
-
 
205947
        iprot.readFieldEnd();
-
 
205948
      }
-
 
205949
      iprot.readStructEnd();
-
 
205950
      validate();
-
 
205951
    }
-
 
205952
 
-
 
205953
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
205954
      validate();
-
 
205955
 
-
 
205956
      oprot.writeStructBegin(STRUCT_DESC);
-
 
205957
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
-
 
205958
      oprot.writeI64(this.userId);
-
 
205959
      oprot.writeFieldEnd();
-
 
205960
      if (this.creditTxnType != null) {
-
 
205961
        oprot.writeFieldBegin(CREDIT_TXN_TYPE_FIELD_DESC);
-
 
205962
        oprot.writeString(this.creditTxnType);
-
 
205963
        oprot.writeFieldEnd();
-
 
205964
      }
-
 
205965
      oprot.writeFieldStop();
-
 
205966
      oprot.writeStructEnd();
-
 
205967
    }
-
 
205968
 
-
 
205969
    @Override
-
 
205970
    public String toString() {
-
 
205971
      StringBuilder sb = new StringBuilder("getCreditHistoryRecordsForUserAndCreditor_args(");
-
 
205972
      boolean first = true;
-
 
205973
 
-
 
205974
      sb.append("userId:");
-
 
205975
      sb.append(this.userId);
-
 
205976
      first = false;
-
 
205977
      if (!first) sb.append(", ");
-
 
205978
      sb.append("creditTxnType:");
-
 
205979
      if (this.creditTxnType == null) {
-
 
205980
        sb.append("null");
-
 
205981
      } else {
-
 
205982
        sb.append(this.creditTxnType);
-
 
205983
      }
-
 
205984
      first = false;
-
 
205985
      sb.append(")");
-
 
205986
      return sb.toString();
-
 
205987
    }
-
 
205988
 
-
 
205989
    public void validate() throws org.apache.thrift.TException {
-
 
205990
      // check for required fields
-
 
205991
    }
-
 
205992
 
-
 
205993
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
205994
      try {
-
 
205995
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
205996
      } catch (org.apache.thrift.TException te) {
-
 
205997
        throw new java.io.IOException(te);
-
 
205998
      }
-
 
205999
    }
-
 
206000
 
-
 
206001
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
206002
      try {
-
 
206003
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
206004
      } catch (org.apache.thrift.TException te) {
-
 
206005
        throw new java.io.IOException(te);
-
 
206006
      }
-
 
206007
    }
-
 
206008
 
-
 
206009
  }
-
 
206010
 
-
 
206011
  public static class getCreditHistoryRecordsForUserAndCreditor_result implements org.apache.thrift.TBase<getCreditHistoryRecordsForUserAndCreditor_result, getCreditHistoryRecordsForUserAndCreditor_result._Fields>, java.io.Serializable, Cloneable   {
-
 
206012
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCreditHistoryRecordsForUserAndCreditor_result");
-
 
206013
 
-
 
206014
    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);
-
 
206015
 
-
 
206016
    private List<CreditHistory> success; // required
-
 
206017
 
-
 
206018
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
206019
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
206020
      SUCCESS((short)0, "success");
-
 
206021
 
-
 
206022
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
206023
 
-
 
206024
      static {
-
 
206025
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
206026
          byName.put(field.getFieldName(), field);
-
 
206027
        }
-
 
206028
      }
-
 
206029
 
-
 
206030
      /**
-
 
206031
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
206032
       */
-
 
206033
      public static _Fields findByThriftId(int fieldId) {
-
 
206034
        switch(fieldId) {
-
 
206035
          case 0: // SUCCESS
-
 
206036
            return SUCCESS;
-
 
206037
          default:
-
 
206038
            return null;
-
 
206039
        }
-
 
206040
      }
-
 
206041
 
-
 
206042
      /**
-
 
206043
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
206044
       * if it is not found.
-
 
206045
       */
-
 
206046
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
206047
        _Fields fields = findByThriftId(fieldId);
-
 
206048
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
206049
        return fields;
-
 
206050
      }
-
 
206051
 
-
 
206052
      /**
-
 
206053
       * Find the _Fields constant that matches name, or null if its not found.
-
 
206054
       */
-
 
206055
      public static _Fields findByName(String name) {
-
 
206056
        return byName.get(name);
-
 
206057
      }
-
 
206058
 
-
 
206059
      private final short _thriftId;
-
 
206060
      private final String _fieldName;
-
 
206061
 
-
 
206062
      _Fields(short thriftId, String fieldName) {
-
 
206063
        _thriftId = thriftId;
-
 
206064
        _fieldName = fieldName;
-
 
206065
      }
-
 
206066
 
-
 
206067
      public short getThriftFieldId() {
-
 
206068
        return _thriftId;
-
 
206069
      }
-
 
206070
 
-
 
206071
      public String getFieldName() {
-
 
206072
        return _fieldName;
-
 
206073
      }
-
 
206074
    }
-
 
206075
 
-
 
206076
    // isset id assignments
-
 
206077
 
-
 
206078
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
206079
    static {
-
 
206080
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
206081
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
206082
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
206083
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CreditHistory.class))));
-
 
206084
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
206085
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCreditHistoryRecordsForUserAndCreditor_result.class, metaDataMap);
-
 
206086
    }
-
 
206087
 
-
 
206088
    public getCreditHistoryRecordsForUserAndCreditor_result() {
-
 
206089
    }
-
 
206090
 
-
 
206091
    public getCreditHistoryRecordsForUserAndCreditor_result(
-
 
206092
      List<CreditHistory> success)
-
 
206093
    {
-
 
206094
      this();
-
 
206095
      this.success = success;
-
 
206096
    }
-
 
206097
 
-
 
206098
    /**
-
 
206099
     * Performs a deep copy on <i>other</i>.
-
 
206100
     */
-
 
206101
    public getCreditHistoryRecordsForUserAndCreditor_result(getCreditHistoryRecordsForUserAndCreditor_result other) {
-
 
206102
      if (other.isSetSuccess()) {
-
 
206103
        List<CreditHistory> __this__success = new ArrayList<CreditHistory>();
-
 
206104
        for (CreditHistory other_element : other.success) {
-
 
206105
          __this__success.add(new CreditHistory(other_element));
-
 
206106
        }
-
 
206107
        this.success = __this__success;
-
 
206108
      }
-
 
206109
    }
-
 
206110
 
-
 
206111
    public getCreditHistoryRecordsForUserAndCreditor_result deepCopy() {
-
 
206112
      return new getCreditHistoryRecordsForUserAndCreditor_result(this);
-
 
206113
    }
-
 
206114
 
-
 
206115
    @Override
-
 
206116
    public void clear() {
-
 
206117
      this.success = null;
-
 
206118
    }
-
 
206119
 
-
 
206120
    public int getSuccessSize() {
-
 
206121
      return (this.success == null) ? 0 : this.success.size();
-
 
206122
    }
-
 
206123
 
-
 
206124
    public java.util.Iterator<CreditHistory> getSuccessIterator() {
-
 
206125
      return (this.success == null) ? null : this.success.iterator();
-
 
206126
    }
-
 
206127
 
-
 
206128
    public void addToSuccess(CreditHistory elem) {
-
 
206129
      if (this.success == null) {
-
 
206130
        this.success = new ArrayList<CreditHistory>();
-
 
206131
      }
-
 
206132
      this.success.add(elem);
-
 
206133
    }
-
 
206134
 
-
 
206135
    public List<CreditHistory> getSuccess() {
-
 
206136
      return this.success;
-
 
206137
    }
-
 
206138
 
-
 
206139
    public void setSuccess(List<CreditHistory> success) {
-
 
206140
      this.success = success;
-
 
206141
    }
-
 
206142
 
-
 
206143
    public void unsetSuccess() {
-
 
206144
      this.success = null;
-
 
206145
    }
-
 
206146
 
-
 
206147
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
206148
    public boolean isSetSuccess() {
-
 
206149
      return this.success != null;
-
 
206150
    }
-
 
206151
 
-
 
206152
    public void setSuccessIsSet(boolean value) {
-
 
206153
      if (!value) {
-
 
206154
        this.success = null;
-
 
206155
      }
-
 
206156
    }
-
 
206157
 
-
 
206158
    public void setFieldValue(_Fields field, Object value) {
-
 
206159
      switch (field) {
-
 
206160
      case SUCCESS:
-
 
206161
        if (value == null) {
-
 
206162
          unsetSuccess();
-
 
206163
        } else {
-
 
206164
          setSuccess((List<CreditHistory>)value);
-
 
206165
        }
-
 
206166
        break;
-
 
206167
 
-
 
206168
      }
-
 
206169
    }
-
 
206170
 
-
 
206171
    public Object getFieldValue(_Fields field) {
-
 
206172
      switch (field) {
-
 
206173
      case SUCCESS:
-
 
206174
        return getSuccess();
-
 
206175
 
-
 
206176
      }
-
 
206177
      throw new IllegalStateException();
-
 
206178
    }
-
 
206179
 
-
 
206180
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
206181
    public boolean isSet(_Fields field) {
-
 
206182
      if (field == null) {
-
 
206183
        throw new IllegalArgumentException();
-
 
206184
      }
-
 
206185
 
-
 
206186
      switch (field) {
-
 
206187
      case SUCCESS:
-
 
206188
        return isSetSuccess();
-
 
206189
      }
-
 
206190
      throw new IllegalStateException();
-
 
206191
    }
-
 
206192
 
-
 
206193
    @Override
-
 
206194
    public boolean equals(Object that) {
-
 
206195
      if (that == null)
-
 
206196
        return false;
-
 
206197
      if (that instanceof getCreditHistoryRecordsForUserAndCreditor_result)
-
 
206198
        return this.equals((getCreditHistoryRecordsForUserAndCreditor_result)that);
-
 
206199
      return false;
-
 
206200
    }
-
 
206201
 
-
 
206202
    public boolean equals(getCreditHistoryRecordsForUserAndCreditor_result that) {
-
 
206203
      if (that == null)
-
 
206204
        return false;
-
 
206205
 
-
 
206206
      boolean this_present_success = true && this.isSetSuccess();
-
 
206207
      boolean that_present_success = true && that.isSetSuccess();
-
 
206208
      if (this_present_success || that_present_success) {
-
 
206209
        if (!(this_present_success && that_present_success))
-
 
206210
          return false;
-
 
206211
        if (!this.success.equals(that.success))
-
 
206212
          return false;
-
 
206213
      }
-
 
206214
 
-
 
206215
      return true;
-
 
206216
    }
-
 
206217
 
-
 
206218
    @Override
-
 
206219
    public int hashCode() {
-
 
206220
      return 0;
-
 
206221
    }
-
 
206222
 
-
 
206223
    public int compareTo(getCreditHistoryRecordsForUserAndCreditor_result other) {
-
 
206224
      if (!getClass().equals(other.getClass())) {
-
 
206225
        return getClass().getName().compareTo(other.getClass().getName());
-
 
206226
      }
-
 
206227
 
-
 
206228
      int lastComparison = 0;
-
 
206229
      getCreditHistoryRecordsForUserAndCreditor_result typedOther = (getCreditHistoryRecordsForUserAndCreditor_result)other;
-
 
206230
 
-
 
206231
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
206232
      if (lastComparison != 0) {
-
 
206233
        return lastComparison;
-
 
206234
      }
-
 
206235
      if (isSetSuccess()) {
-
 
206236
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
206237
        if (lastComparison != 0) {
-
 
206238
          return lastComparison;
-
 
206239
        }
-
 
206240
      }
-
 
206241
      return 0;
-
 
206242
    }
-
 
206243
 
-
 
206244
    public _Fields fieldForId(int fieldId) {
-
 
206245
      return _Fields.findByThriftId(fieldId);
-
 
206246
    }
-
 
206247
 
-
 
206248
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
206249
      org.apache.thrift.protocol.TField field;
-
 
206250
      iprot.readStructBegin();
-
 
206251
      while (true)
-
 
206252
      {
-
 
206253
        field = iprot.readFieldBegin();
-
 
206254
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
206255
          break;
-
 
206256
        }
-
 
206257
        switch (field.id) {
-
 
206258
          case 0: // SUCCESS
-
 
206259
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
206260
              {
-
 
206261
                org.apache.thrift.protocol.TList _list660 = iprot.readListBegin();
-
 
206262
                this.success = new ArrayList<CreditHistory>(_list660.size);
-
 
206263
                for (int _i661 = 0; _i661 < _list660.size; ++_i661)
-
 
206264
                {
-
 
206265
                  CreditHistory _elem662; // required
-
 
206266
                  _elem662 = new CreditHistory();
-
 
206267
                  _elem662.read(iprot);
-
 
206268
                  this.success.add(_elem662);
-
 
206269
                }
-
 
206270
                iprot.readListEnd();
-
 
206271
              }
-
 
206272
            } else { 
-
 
206273
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
206274
            }
-
 
206275
            break;
-
 
206276
          default:
-
 
206277
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
206278
        }
-
 
206279
        iprot.readFieldEnd();
-
 
206280
      }
-
 
206281
      iprot.readStructEnd();
-
 
206282
      validate();
-
 
206283
    }
-
 
206284
 
-
 
206285
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
206286
      oprot.writeStructBegin(STRUCT_DESC);
-
 
206287
 
-
 
206288
      if (this.isSetSuccess()) {
-
 
206289
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
206290
        {
-
 
206291
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
206292
          for (CreditHistory _iter663 : this.success)
-
 
206293
          {
-
 
206294
            _iter663.write(oprot);
-
 
206295
          }
-
 
206296
          oprot.writeListEnd();
-
 
206297
        }
-
 
206298
        oprot.writeFieldEnd();
-
 
206299
      }
-
 
206300
      oprot.writeFieldStop();
-
 
206301
      oprot.writeStructEnd();
-
 
206302
    }
-
 
206303
 
-
 
206304
    @Override
-
 
206305
    public String toString() {
-
 
206306
      StringBuilder sb = new StringBuilder("getCreditHistoryRecordsForUserAndCreditor_result(");
-
 
206307
      boolean first = true;
-
 
206308
 
-
 
206309
      sb.append("success:");
-
 
206310
      if (this.success == null) {
-
 
206311
        sb.append("null");
-
 
206312
      } else {
-
 
206313
        sb.append(this.success);
-
 
206314
      }
-
 
206315
      first = false;
-
 
206316
      sb.append(")");
-
 
206317
      return sb.toString();
-
 
206318
    }
-
 
206319
 
-
 
206320
    public void validate() throws org.apache.thrift.TException {
-
 
206321
      // check for required fields
-
 
206322
    }
-
 
206323
 
-
 
206324
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
206325
      try {
-
 
206326
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
206327
      } catch (org.apache.thrift.TException te) {
-
 
206328
        throw new java.io.IOException(te);
-
 
206329
      }
-
 
206330
    }
-
 
206331
 
-
 
206332
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
206333
      try {
-
 
206334
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
206335
      } catch (org.apache.thrift.TException te) {
-
 
206336
        throw new java.io.IOException(te);
-
 
206337
      }
-
 
206338
    }
-
 
206339
 
-
 
206340
  }
-
 
206341
 
-
 
206342
  public static class processCreditTransaction_args implements org.apache.thrift.TBase<processCreditTransaction_args, processCreditTransaction_args._Fields>, java.io.Serializable, Cloneable   {
-
 
206343
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("processCreditTransaction_args");
-
 
206344
 
-
 
206345
    private static final org.apache.thrift.protocol.TField PAYMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("paymentId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
206346
    private static final org.apache.thrift.protocol.TField CREDIT_TXNS_FIELD_DESC = new org.apache.thrift.protocol.TField("creditTxns", org.apache.thrift.protocol.TType.LIST, (short)2);
-
 
206347
 
-
 
206348
    private long paymentId; // required
-
 
206349
    private List<CreditHistory> creditTxns; // required
-
 
206350
 
-
 
206351
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
206352
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
206353
      PAYMENT_ID((short)1, "paymentId"),
-
 
206354
      CREDIT_TXNS((short)2, "creditTxns");
-
 
206355
 
-
 
206356
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
206357
 
-
 
206358
      static {
-
 
206359
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
206360
          byName.put(field.getFieldName(), field);
-
 
206361
        }
-
 
206362
      }
-
 
206363
 
-
 
206364
      /**
-
 
206365
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
206366
       */
-
 
206367
      public static _Fields findByThriftId(int fieldId) {
-
 
206368
        switch(fieldId) {
-
 
206369
          case 1: // PAYMENT_ID
-
 
206370
            return PAYMENT_ID;
-
 
206371
          case 2: // CREDIT_TXNS
-
 
206372
            return CREDIT_TXNS;
-
 
206373
          default:
-
 
206374
            return null;
-
 
206375
        }
-
 
206376
      }
-
 
206377
 
-
 
206378
      /**
-
 
206379
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
206380
       * if it is not found.
-
 
206381
       */
-
 
206382
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
206383
        _Fields fields = findByThriftId(fieldId);
-
 
206384
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
206385
        return fields;
-
 
206386
      }
-
 
206387
 
-
 
206388
      /**
-
 
206389
       * Find the _Fields constant that matches name, or null if its not found.
-
 
206390
       */
-
 
206391
      public static _Fields findByName(String name) {
-
 
206392
        return byName.get(name);
-
 
206393
      }
-
 
206394
 
-
 
206395
      private final short _thriftId;
-
 
206396
      private final String _fieldName;
-
 
206397
 
-
 
206398
      _Fields(short thriftId, String fieldName) {
-
 
206399
        _thriftId = thriftId;
-
 
206400
        _fieldName = fieldName;
-
 
206401
      }
-
 
206402
 
-
 
206403
      public short getThriftFieldId() {
-
 
206404
        return _thriftId;
-
 
206405
      }
-
 
206406
 
-
 
206407
      public String getFieldName() {
-
 
206408
        return _fieldName;
-
 
206409
      }
-
 
206410
    }
-
 
206411
 
-
 
206412
    // isset id assignments
-
 
206413
    private static final int __PAYMENTID_ISSET_ID = 0;
-
 
206414
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
206415
 
-
 
206416
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
206417
    static {
-
 
206418
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
206419
      tmpMap.put(_Fields.PAYMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("paymentId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
206420
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
206421
      tmpMap.put(_Fields.CREDIT_TXNS, new org.apache.thrift.meta_data.FieldMetaData("creditTxns", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
206422
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
206423
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CreditHistory.class))));
-
 
206424
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
206425
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(processCreditTransaction_args.class, metaDataMap);
-
 
206426
    }
-
 
206427
 
-
 
206428
    public processCreditTransaction_args() {
-
 
206429
    }
-
 
206430
 
-
 
206431
    public processCreditTransaction_args(
-
 
206432
      long paymentId,
-
 
206433
      List<CreditHistory> creditTxns)
-
 
206434
    {
-
 
206435
      this();
-
 
206436
      this.paymentId = paymentId;
-
 
206437
      setPaymentIdIsSet(true);
-
 
206438
      this.creditTxns = creditTxns;
-
 
206439
    }
-
 
206440
 
-
 
206441
    /**
-
 
206442
     * Performs a deep copy on <i>other</i>.
-
 
206443
     */
-
 
206444
    public processCreditTransaction_args(processCreditTransaction_args other) {
-
 
206445
      __isset_bit_vector.clear();
-
 
206446
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
206447
      this.paymentId = other.paymentId;
-
 
206448
      if (other.isSetCreditTxns()) {
-
 
206449
        List<CreditHistory> __this__creditTxns = new ArrayList<CreditHistory>();
-
 
206450
        for (CreditHistory other_element : other.creditTxns) {
-
 
206451
          __this__creditTxns.add(new CreditHistory(other_element));
-
 
206452
        }
-
 
206453
        this.creditTxns = __this__creditTxns;
-
 
206454
      }
-
 
206455
    }
-
 
206456
 
-
 
206457
    public processCreditTransaction_args deepCopy() {
-
 
206458
      return new processCreditTransaction_args(this);
-
 
206459
    }
-
 
206460
 
-
 
206461
    @Override
-
 
206462
    public void clear() {
-
 
206463
      setPaymentIdIsSet(false);
-
 
206464
      this.paymentId = 0;
-
 
206465
      this.creditTxns = null;
-
 
206466
    }
-
 
206467
 
-
 
206468
    public long getPaymentId() {
-
 
206469
      return this.paymentId;
-
 
206470
    }
-
 
206471
 
-
 
206472
    public void setPaymentId(long paymentId) {
-
 
206473
      this.paymentId = paymentId;
-
 
206474
      setPaymentIdIsSet(true);
-
 
206475
    }
-
 
206476
 
-
 
206477
    public void unsetPaymentId() {
-
 
206478
      __isset_bit_vector.clear(__PAYMENTID_ISSET_ID);
-
 
206479
    }
-
 
206480
 
-
 
206481
    /** Returns true if field paymentId is set (has been assigned a value) and false otherwise */
-
 
206482
    public boolean isSetPaymentId() {
-
 
206483
      return __isset_bit_vector.get(__PAYMENTID_ISSET_ID);
-
 
206484
    }
-
 
206485
 
-
 
206486
    public void setPaymentIdIsSet(boolean value) {
-
 
206487
      __isset_bit_vector.set(__PAYMENTID_ISSET_ID, value);
-
 
206488
    }
-
 
206489
 
-
 
206490
    public int getCreditTxnsSize() {
-
 
206491
      return (this.creditTxns == null) ? 0 : this.creditTxns.size();
-
 
206492
    }
-
 
206493
 
-
 
206494
    public java.util.Iterator<CreditHistory> getCreditTxnsIterator() {
-
 
206495
      return (this.creditTxns == null) ? null : this.creditTxns.iterator();
-
 
206496
    }
-
 
206497
 
-
 
206498
    public void addToCreditTxns(CreditHistory elem) {
-
 
206499
      if (this.creditTxns == null) {
-
 
206500
        this.creditTxns = new ArrayList<CreditHistory>();
-
 
206501
      }
-
 
206502
      this.creditTxns.add(elem);
-
 
206503
    }
-
 
206504
 
-
 
206505
    public List<CreditHistory> getCreditTxns() {
-
 
206506
      return this.creditTxns;
-
 
206507
    }
-
 
206508
 
-
 
206509
    public void setCreditTxns(List<CreditHistory> creditTxns) {
-
 
206510
      this.creditTxns = creditTxns;
-
 
206511
    }
-
 
206512
 
-
 
206513
    public void unsetCreditTxns() {
-
 
206514
      this.creditTxns = null;
-
 
206515
    }
-
 
206516
 
-
 
206517
    /** Returns true if field creditTxns is set (has been assigned a value) and false otherwise */
-
 
206518
    public boolean isSetCreditTxns() {
-
 
206519
      return this.creditTxns != null;
-
 
206520
    }
-
 
206521
 
-
 
206522
    public void setCreditTxnsIsSet(boolean value) {
-
 
206523
      if (!value) {
-
 
206524
        this.creditTxns = null;
-
 
206525
      }
-
 
206526
    }
-
 
206527
 
-
 
206528
    public void setFieldValue(_Fields field, Object value) {
-
 
206529
      switch (field) {
-
 
206530
      case PAYMENT_ID:
-
 
206531
        if (value == null) {
-
 
206532
          unsetPaymentId();
-
 
206533
        } else {
-
 
206534
          setPaymentId((Long)value);
-
 
206535
        }
-
 
206536
        break;
-
 
206537
 
-
 
206538
      case CREDIT_TXNS:
-
 
206539
        if (value == null) {
-
 
206540
          unsetCreditTxns();
-
 
206541
        } else {
-
 
206542
          setCreditTxns((List<CreditHistory>)value);
-
 
206543
        }
-
 
206544
        break;
-
 
206545
 
-
 
206546
      }
-
 
206547
    }
-
 
206548
 
-
 
206549
    public Object getFieldValue(_Fields field) {
-
 
206550
      switch (field) {
-
 
206551
      case PAYMENT_ID:
-
 
206552
        return Long.valueOf(getPaymentId());
-
 
206553
 
-
 
206554
      case CREDIT_TXNS:
-
 
206555
        return getCreditTxns();
-
 
206556
 
-
 
206557
      }
-
 
206558
      throw new IllegalStateException();
-
 
206559
    }
-
 
206560
 
-
 
206561
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
206562
    public boolean isSet(_Fields field) {
-
 
206563
      if (field == null) {
-
 
206564
        throw new IllegalArgumentException();
-
 
206565
      }
-
 
206566
 
-
 
206567
      switch (field) {
-
 
206568
      case PAYMENT_ID:
-
 
206569
        return isSetPaymentId();
-
 
206570
      case CREDIT_TXNS:
-
 
206571
        return isSetCreditTxns();
-
 
206572
      }
-
 
206573
      throw new IllegalStateException();
-
 
206574
    }
-
 
206575
 
-
 
206576
    @Override
-
 
206577
    public boolean equals(Object that) {
-
 
206578
      if (that == null)
-
 
206579
        return false;
-
 
206580
      if (that instanceof processCreditTransaction_args)
-
 
206581
        return this.equals((processCreditTransaction_args)that);
-
 
206582
      return false;
-
 
206583
    }
-
 
206584
 
-
 
206585
    public boolean equals(processCreditTransaction_args that) {
-
 
206586
      if (that == null)
-
 
206587
        return false;
-
 
206588
 
-
 
206589
      boolean this_present_paymentId = true;
-
 
206590
      boolean that_present_paymentId = true;
-
 
206591
      if (this_present_paymentId || that_present_paymentId) {
-
 
206592
        if (!(this_present_paymentId && that_present_paymentId))
-
 
206593
          return false;
-
 
206594
        if (this.paymentId != that.paymentId)
-
 
206595
          return false;
-
 
206596
      }
-
 
206597
 
-
 
206598
      boolean this_present_creditTxns = true && this.isSetCreditTxns();
-
 
206599
      boolean that_present_creditTxns = true && that.isSetCreditTxns();
-
 
206600
      if (this_present_creditTxns || that_present_creditTxns) {
-
 
206601
        if (!(this_present_creditTxns && that_present_creditTxns))
-
 
206602
          return false;
-
 
206603
        if (!this.creditTxns.equals(that.creditTxns))
-
 
206604
          return false;
-
 
206605
      }
-
 
206606
 
-
 
206607
      return true;
-
 
206608
    }
-
 
206609
 
-
 
206610
    @Override
-
 
206611
    public int hashCode() {
-
 
206612
      return 0;
-
 
206613
    }
-
 
206614
 
-
 
206615
    public int compareTo(processCreditTransaction_args other) {
-
 
206616
      if (!getClass().equals(other.getClass())) {
-
 
206617
        return getClass().getName().compareTo(other.getClass().getName());
-
 
206618
      }
-
 
206619
 
-
 
206620
      int lastComparison = 0;
-
 
206621
      processCreditTransaction_args typedOther = (processCreditTransaction_args)other;
-
 
206622
 
-
 
206623
      lastComparison = Boolean.valueOf(isSetPaymentId()).compareTo(typedOther.isSetPaymentId());
-
 
206624
      if (lastComparison != 0) {
-
 
206625
        return lastComparison;
-
 
206626
      }
-
 
206627
      if (isSetPaymentId()) {
-
 
206628
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.paymentId, typedOther.paymentId);
-
 
206629
        if (lastComparison != 0) {
-
 
206630
          return lastComparison;
-
 
206631
        }
-
 
206632
      }
-
 
206633
      lastComparison = Boolean.valueOf(isSetCreditTxns()).compareTo(typedOther.isSetCreditTxns());
-
 
206634
      if (lastComparison != 0) {
-
 
206635
        return lastComparison;
-
 
206636
      }
-
 
206637
      if (isSetCreditTxns()) {
-
 
206638
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creditTxns, typedOther.creditTxns);
-
 
206639
        if (lastComparison != 0) {
-
 
206640
          return lastComparison;
-
 
206641
        }
-
 
206642
      }
-
 
206643
      return 0;
-
 
206644
    }
-
 
206645
 
-
 
206646
    public _Fields fieldForId(int fieldId) {
-
 
206647
      return _Fields.findByThriftId(fieldId);
-
 
206648
    }
-
 
206649
 
-
 
206650
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
206651
      org.apache.thrift.protocol.TField field;
-
 
206652
      iprot.readStructBegin();
-
 
206653
      while (true)
-
 
206654
      {
-
 
206655
        field = iprot.readFieldBegin();
-
 
206656
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
206657
          break;
-
 
206658
        }
-
 
206659
        switch (field.id) {
-
 
206660
          case 1: // PAYMENT_ID
-
 
206661
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
206662
              this.paymentId = iprot.readI64();
-
 
206663
              setPaymentIdIsSet(true);
-
 
206664
            } else { 
-
 
206665
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
206666
            }
-
 
206667
            break;
-
 
206668
          case 2: // CREDIT_TXNS
-
 
206669
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
206670
              {
-
 
206671
                org.apache.thrift.protocol.TList _list664 = iprot.readListBegin();
-
 
206672
                this.creditTxns = new ArrayList<CreditHistory>(_list664.size);
-
 
206673
                for (int _i665 = 0; _i665 < _list664.size; ++_i665)
-
 
206674
                {
-
 
206675
                  CreditHistory _elem666; // required
-
 
206676
                  _elem666 = new CreditHistory();
-
 
206677
                  _elem666.read(iprot);
-
 
206678
                  this.creditTxns.add(_elem666);
-
 
206679
                }
-
 
206680
                iprot.readListEnd();
-
 
206681
              }
-
 
206682
            } else { 
-
 
206683
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
206684
            }
-
 
206685
            break;
-
 
206686
          default:
-
 
206687
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
206688
        }
-
 
206689
        iprot.readFieldEnd();
-
 
206690
      }
-
 
206691
      iprot.readStructEnd();
-
 
206692
      validate();
-
 
206693
    }
-
 
206694
 
-
 
206695
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
206696
      validate();
-
 
206697
 
-
 
206698
      oprot.writeStructBegin(STRUCT_DESC);
-
 
206699
      oprot.writeFieldBegin(PAYMENT_ID_FIELD_DESC);
-
 
206700
      oprot.writeI64(this.paymentId);
-
 
206701
      oprot.writeFieldEnd();
-
 
206702
      if (this.creditTxns != null) {
-
 
206703
        oprot.writeFieldBegin(CREDIT_TXNS_FIELD_DESC);
-
 
206704
        {
-
 
206705
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.creditTxns.size()));
-
 
206706
          for (CreditHistory _iter667 : this.creditTxns)
-
 
206707
          {
-
 
206708
            _iter667.write(oprot);
-
 
206709
          }
-
 
206710
          oprot.writeListEnd();
-
 
206711
        }
-
 
206712
        oprot.writeFieldEnd();
-
 
206713
      }
-
 
206714
      oprot.writeFieldStop();
-
 
206715
      oprot.writeStructEnd();
-
 
206716
    }
-
 
206717
 
-
 
206718
    @Override
-
 
206719
    public String toString() {
-
 
206720
      StringBuilder sb = new StringBuilder("processCreditTransaction_args(");
-
 
206721
      boolean first = true;
-
 
206722
 
-
 
206723
      sb.append("paymentId:");
-
 
206724
      sb.append(this.paymentId);
-
 
206725
      first = false;
-
 
206726
      if (!first) sb.append(", ");
-
 
206727
      sb.append("creditTxns:");
-
 
206728
      if (this.creditTxns == null) {
-
 
206729
        sb.append("null");
-
 
206730
      } else {
-
 
206731
        sb.append(this.creditTxns);
-
 
206732
      }
-
 
206733
      first = false;
-
 
206734
      sb.append(")");
-
 
206735
      return sb.toString();
-
 
206736
    }
-
 
206737
 
-
 
206738
    public void validate() throws org.apache.thrift.TException {
-
 
206739
      // check for required fields
-
 
206740
    }
-
 
206741
 
-
 
206742
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
206743
      try {
-
 
206744
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
206745
      } catch (org.apache.thrift.TException te) {
-
 
206746
        throw new java.io.IOException(te);
-
 
206747
      }
-
 
206748
    }
-
 
206749
 
-
 
206750
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
206751
      try {
-
 
206752
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
206753
      } catch (org.apache.thrift.TException te) {
-
 
206754
        throw new java.io.IOException(te);
-
 
206755
      }
-
 
206756
    }
-
 
206757
 
-
 
206758
  }
-
 
206759
 
-
 
206760
  public static class processCreditTransaction_result implements org.apache.thrift.TBase<processCreditTransaction_result, processCreditTransaction_result._Fields>, java.io.Serializable, Cloneable   {
-
 
206761
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("processCreditTransaction_result");
-
 
206762
 
-
 
206763
    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);
-
 
206764
    private static final org.apache.thrift.protocol.TField PE_FIELD_DESC = new org.apache.thrift.protocol.TField("pe", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
206765
 
-
 
206766
    private boolean success; // required
-
 
206767
    private TransactionServiceException pe; // required
-
 
206768
 
-
 
206769
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
206770
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
206771
      SUCCESS((short)0, "success"),
-
 
206772
      PE((short)1, "pe");
-
 
206773
 
-
 
206774
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
206775
 
-
 
206776
      static {
-
 
206777
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
206778
          byName.put(field.getFieldName(), field);
-
 
206779
        }
-
 
206780
      }
-
 
206781
 
-
 
206782
      /**
-
 
206783
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
206784
       */
-
 
206785
      public static _Fields findByThriftId(int fieldId) {
-
 
206786
        switch(fieldId) {
-
 
206787
          case 0: // SUCCESS
-
 
206788
            return SUCCESS;
-
 
206789
          case 1: // PE
-
 
206790
            return PE;
-
 
206791
          default:
-
 
206792
            return null;
-
 
206793
        }
-
 
206794
      }
-
 
206795
 
-
 
206796
      /**
-
 
206797
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
206798
       * if it is not found.
-
 
206799
       */
-
 
206800
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
206801
        _Fields fields = findByThriftId(fieldId);
-
 
206802
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
206803
        return fields;
-
 
206804
      }
-
 
206805
 
-
 
206806
      /**
-
 
206807
       * Find the _Fields constant that matches name, or null if its not found.
-
 
206808
       */
-
 
206809
      public static _Fields findByName(String name) {
-
 
206810
        return byName.get(name);
-
 
206811
      }
-
 
206812
 
-
 
206813
      private final short _thriftId;
-
 
206814
      private final String _fieldName;
-
 
206815
 
-
 
206816
      _Fields(short thriftId, String fieldName) {
-
 
206817
        _thriftId = thriftId;
-
 
206818
        _fieldName = fieldName;
-
 
206819
      }
-
 
206820
 
-
 
206821
      public short getThriftFieldId() {
-
 
206822
        return _thriftId;
-
 
206823
      }
-
 
206824
 
-
 
206825
      public String getFieldName() {
-
 
206826
        return _fieldName;
-
 
206827
      }
-
 
206828
    }
-
 
206829
 
-
 
206830
    // isset id assignments
-
 
206831
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
206832
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
206833
 
-
 
206834
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
206835
    static {
-
 
206836
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
206837
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
206838
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
206839
      tmpMap.put(_Fields.PE, new org.apache.thrift.meta_data.FieldMetaData("pe", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
206840
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
206841
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
206842
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(processCreditTransaction_result.class, metaDataMap);
-
 
206843
    }
-
 
206844
 
-
 
206845
    public processCreditTransaction_result() {
-
 
206846
    }
-
 
206847
 
-
 
206848
    public processCreditTransaction_result(
-
 
206849
      boolean success,
-
 
206850
      TransactionServiceException pe)
-
 
206851
    {
-
 
206852
      this();
-
 
206853
      this.success = success;
-
 
206854
      setSuccessIsSet(true);
-
 
206855
      this.pe = pe;
-
 
206856
    }
-
 
206857
 
-
 
206858
    /**
-
 
206859
     * Performs a deep copy on <i>other</i>.
-
 
206860
     */
-
 
206861
    public processCreditTransaction_result(processCreditTransaction_result other) {
-
 
206862
      __isset_bit_vector.clear();
-
 
206863
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
206864
      this.success = other.success;
-
 
206865
      if (other.isSetPe()) {
-
 
206866
        this.pe = new TransactionServiceException(other.pe);
-
 
206867
      }
-
 
206868
    }
-
 
206869
 
-
 
206870
    public processCreditTransaction_result deepCopy() {
-
 
206871
      return new processCreditTransaction_result(this);
-
 
206872
    }
-
 
206873
 
-
 
206874
    @Override
-
 
206875
    public void clear() {
-
 
206876
      setSuccessIsSet(false);
-
 
206877
      this.success = false;
-
 
206878
      this.pe = null;
-
 
206879
    }
-
 
206880
 
-
 
206881
    public boolean isSuccess() {
-
 
206882
      return this.success;
-
 
206883
    }
-
 
206884
 
-
 
206885
    public void setSuccess(boolean success) {
-
 
206886
      this.success = success;
-
 
206887
      setSuccessIsSet(true);
-
 
206888
    }
-
 
206889
 
-
 
206890
    public void unsetSuccess() {
-
 
206891
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
206892
    }
-
 
206893
 
-
 
206894
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
206895
    public boolean isSetSuccess() {
-
 
206896
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
206897
    }
-
 
206898
 
-
 
206899
    public void setSuccessIsSet(boolean value) {
-
 
206900
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
206901
    }
-
 
206902
 
-
 
206903
    public TransactionServiceException getPe() {
-
 
206904
      return this.pe;
-
 
206905
    }
-
 
206906
 
-
 
206907
    public void setPe(TransactionServiceException pe) {
-
 
206908
      this.pe = pe;
-
 
206909
    }
-
 
206910
 
-
 
206911
    public void unsetPe() {
-
 
206912
      this.pe = null;
-
 
206913
    }
-
 
206914
 
-
 
206915
    /** Returns true if field pe is set (has been assigned a value) and false otherwise */
-
 
206916
    public boolean isSetPe() {
-
 
206917
      return this.pe != null;
-
 
206918
    }
-
 
206919
 
-
 
206920
    public void setPeIsSet(boolean value) {
-
 
206921
      if (!value) {
-
 
206922
        this.pe = null;
-
 
206923
      }
-
 
206924
    }
-
 
206925
 
-
 
206926
    public void setFieldValue(_Fields field, Object value) {
-
 
206927
      switch (field) {
-
 
206928
      case SUCCESS:
-
 
206929
        if (value == null) {
-
 
206930
          unsetSuccess();
-
 
206931
        } else {
-
 
206932
          setSuccess((Boolean)value);
-
 
206933
        }
-
 
206934
        break;
-
 
206935
 
-
 
206936
      case PE:
-
 
206937
        if (value == null) {
-
 
206938
          unsetPe();
-
 
206939
        } else {
-
 
206940
          setPe((TransactionServiceException)value);
-
 
206941
        }
-
 
206942
        break;
-
 
206943
 
-
 
206944
      }
-
 
206945
    }
-
 
206946
 
-
 
206947
    public Object getFieldValue(_Fields field) {
-
 
206948
      switch (field) {
-
 
206949
      case SUCCESS:
-
 
206950
        return Boolean.valueOf(isSuccess());
-
 
206951
 
-
 
206952
      case PE:
-
 
206953
        return getPe();
-
 
206954
 
-
 
206955
      }
-
 
206956
      throw new IllegalStateException();
-
 
206957
    }
-
 
206958
 
-
 
206959
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
206960
    public boolean isSet(_Fields field) {
-
 
206961
      if (field == null) {
-
 
206962
        throw new IllegalArgumentException();
-
 
206963
      }
-
 
206964
 
-
 
206965
      switch (field) {
-
 
206966
      case SUCCESS:
-
 
206967
        return isSetSuccess();
-
 
206968
      case PE:
-
 
206969
        return isSetPe();
-
 
206970
      }
-
 
206971
      throw new IllegalStateException();
-
 
206972
    }
-
 
206973
 
-
 
206974
    @Override
-
 
206975
    public boolean equals(Object that) {
-
 
206976
      if (that == null)
-
 
206977
        return false;
-
 
206978
      if (that instanceof processCreditTransaction_result)
-
 
206979
        return this.equals((processCreditTransaction_result)that);
-
 
206980
      return false;
-
 
206981
    }
-
 
206982
 
-
 
206983
    public boolean equals(processCreditTransaction_result that) {
-
 
206984
      if (that == null)
-
 
206985
        return false;
-
 
206986
 
-
 
206987
      boolean this_present_success = true;
-
 
206988
      boolean that_present_success = true;
-
 
206989
      if (this_present_success || that_present_success) {
-
 
206990
        if (!(this_present_success && that_present_success))
-
 
206991
          return false;
-
 
206992
        if (this.success != that.success)
-
 
206993
          return false;
-
 
206994
      }
-
 
206995
 
-
 
206996
      boolean this_present_pe = true && this.isSetPe();
-
 
206997
      boolean that_present_pe = true && that.isSetPe();
-
 
206998
      if (this_present_pe || that_present_pe) {
-
 
206999
        if (!(this_present_pe && that_present_pe))
-
 
207000
          return false;
-
 
207001
        if (!this.pe.equals(that.pe))
-
 
207002
          return false;
-
 
207003
      }
-
 
207004
 
-
 
207005
      return true;
-
 
207006
    }
-
 
207007
 
-
 
207008
    @Override
-
 
207009
    public int hashCode() {
-
 
207010
      return 0;
-
 
207011
    }
-
 
207012
 
-
 
207013
    public int compareTo(processCreditTransaction_result other) {
-
 
207014
      if (!getClass().equals(other.getClass())) {
-
 
207015
        return getClass().getName().compareTo(other.getClass().getName());
-
 
207016
      }
-
 
207017
 
-
 
207018
      int lastComparison = 0;
-
 
207019
      processCreditTransaction_result typedOther = (processCreditTransaction_result)other;
-
 
207020
 
-
 
207021
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
207022
      if (lastComparison != 0) {
-
 
207023
        return lastComparison;
-
 
207024
      }
-
 
207025
      if (isSetSuccess()) {
-
 
207026
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
207027
        if (lastComparison != 0) {
-
 
207028
          return lastComparison;
-
 
207029
        }
-
 
207030
      }
-
 
207031
      lastComparison = Boolean.valueOf(isSetPe()).compareTo(typedOther.isSetPe());
-
 
207032
      if (lastComparison != 0) {
-
 
207033
        return lastComparison;
-
 
207034
      }
-
 
207035
      if (isSetPe()) {
-
 
207036
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pe, typedOther.pe);
-
 
207037
        if (lastComparison != 0) {
-
 
207038
          return lastComparison;
-
 
207039
        }
-
 
207040
      }
-
 
207041
      return 0;
-
 
207042
    }
-
 
207043
 
-
 
207044
    public _Fields fieldForId(int fieldId) {
-
 
207045
      return _Fields.findByThriftId(fieldId);
-
 
207046
    }
-
 
207047
 
-
 
207048
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
207049
      org.apache.thrift.protocol.TField field;
-
 
207050
      iprot.readStructBegin();
-
 
207051
      while (true)
-
 
207052
      {
-
 
207053
        field = iprot.readFieldBegin();
-
 
207054
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
207055
          break;
-
 
207056
        }
-
 
207057
        switch (field.id) {
-
 
207058
          case 0: // SUCCESS
-
 
207059
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
207060
              this.success = iprot.readBool();
-
 
207061
              setSuccessIsSet(true);
-
 
207062
            } else { 
-
 
207063
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
207064
            }
-
 
207065
            break;
-
 
207066
          case 1: // PE
-
 
207067
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
207068
              this.pe = new TransactionServiceException();
-
 
207069
              this.pe.read(iprot);
-
 
207070
            } else { 
-
 
207071
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
207072
            }
-
 
207073
            break;
-
 
207074
          default:
-
 
207075
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
207076
        }
-
 
207077
        iprot.readFieldEnd();
-
 
207078
      }
-
 
207079
      iprot.readStructEnd();
-
 
207080
      validate();
-
 
207081
    }
-
 
207082
 
-
 
207083
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
207084
      oprot.writeStructBegin(STRUCT_DESC);
-
 
207085
 
-
 
207086
      if (this.isSetSuccess()) {
-
 
207087
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
207088
        oprot.writeBool(this.success);
-
 
207089
        oprot.writeFieldEnd();
-
 
207090
      } else if (this.isSetPe()) {
-
 
207091
        oprot.writeFieldBegin(PE_FIELD_DESC);
-
 
207092
        this.pe.write(oprot);
-
 
207093
        oprot.writeFieldEnd();
-
 
207094
      }
-
 
207095
      oprot.writeFieldStop();
-
 
207096
      oprot.writeStructEnd();
-
 
207097
    }
-
 
207098
 
-
 
207099
    @Override
-
 
207100
    public String toString() {
-
 
207101
      StringBuilder sb = new StringBuilder("processCreditTransaction_result(");
-
 
207102
      boolean first = true;
-
 
207103
 
-
 
207104
      sb.append("success:");
-
 
207105
      sb.append(this.success);
-
 
207106
      first = false;
-
 
207107
      if (!first) sb.append(", ");
-
 
207108
      sb.append("pe:");
-
 
207109
      if (this.pe == null) {
-
 
207110
        sb.append("null");
-
 
207111
      } else {
-
 
207112
        sb.append(this.pe);
-
 
207113
      }
-
 
207114
      first = false;
-
 
207115
      sb.append(")");
-
 
207116
      return sb.toString();
-
 
207117
    }
-
 
207118
 
-
 
207119
    public void validate() throws org.apache.thrift.TException {
-
 
207120
      // check for required fields
-
 
207121
    }
-
 
207122
 
-
 
207123
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
207124
      try {
-
 
207125
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
207126
      } catch (org.apache.thrift.TException te) {
-
 
207127
        throw new java.io.IOException(te);
-
 
207128
      }
-
 
207129
    }
-
 
207130
 
-
 
207131
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
207132
      try {
-
 
207133
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
207134
      } catch (org.apache.thrift.TException te) {
-
 
207135
        throw new java.io.IOException(te);
-
 
207136
      }
-
 
207137
    }
-
 
207138
 
-
 
207139
  }
-
 
207140
 
-
 
207141
  public static class getLoanPayableForUserToCreditor_args implements org.apache.thrift.TBase<getLoanPayableForUserToCreditor_args, getLoanPayableForUserToCreditor_args._Fields>, java.io.Serializable, Cloneable   {
-
 
207142
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getLoanPayableForUserToCreditor_args");
-
 
207143
 
-
 
207144
    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);
-
 
207145
    private static final org.apache.thrift.protocol.TField CREDITOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("creditorId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
207146
    private static final org.apache.thrift.protocol.TField DUE_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("dueDate", org.apache.thrift.protocol.TType.I64, (short)3);
-
 
207147
 
-
 
207148
    private long userId; // required
-
 
207149
    private long creditorId; // required
-
 
207150
    private long dueDate; // required
-
 
207151
 
-
 
207152
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
207153
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
207154
      USER_ID((short)1, "userId"),
-
 
207155
      CREDITOR_ID((short)2, "creditorId"),
-
 
207156
      DUE_DATE((short)3, "dueDate");
-
 
207157
 
-
 
207158
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
207159
 
-
 
207160
      static {
-
 
207161
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
207162
          byName.put(field.getFieldName(), field);
-
 
207163
        }
-
 
207164
      }
-
 
207165
 
-
 
207166
      /**
-
 
207167
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
207168
       */
-
 
207169
      public static _Fields findByThriftId(int fieldId) {
-
 
207170
        switch(fieldId) {
-
 
207171
          case 1: // USER_ID
-
 
207172
            return USER_ID;
-
 
207173
          case 2: // CREDITOR_ID
-
 
207174
            return CREDITOR_ID;
-
 
207175
          case 3: // DUE_DATE
-
 
207176
            return DUE_DATE;
-
 
207177
          default:
-
 
207178
            return null;
-
 
207179
        }
-
 
207180
      }
-
 
207181
 
-
 
207182
      /**
-
 
207183
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
207184
       * if it is not found.
-
 
207185
       */
-
 
207186
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
207187
        _Fields fields = findByThriftId(fieldId);
-
 
207188
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
207189
        return fields;
-
 
207190
      }
-
 
207191
 
-
 
207192
      /**
-
 
207193
       * Find the _Fields constant that matches name, or null if its not found.
-
 
207194
       */
-
 
207195
      public static _Fields findByName(String name) {
-
 
207196
        return byName.get(name);
-
 
207197
      }
-
 
207198
 
-
 
207199
      private final short _thriftId;
-
 
207200
      private final String _fieldName;
-
 
207201
 
-
 
207202
      _Fields(short thriftId, String fieldName) {
-
 
207203
        _thriftId = thriftId;
-
 
207204
        _fieldName = fieldName;
-
 
207205
      }
-
 
207206
 
-
 
207207
      public short getThriftFieldId() {
-
 
207208
        return _thriftId;
-
 
207209
      }
-
 
207210
 
-
 
207211
      public String getFieldName() {
-
 
207212
        return _fieldName;
-
 
207213
      }
-
 
207214
    }
-
 
207215
 
-
 
207216
    // isset id assignments
-
 
207217
    private static final int __USERID_ISSET_ID = 0;
-
 
207218
    private static final int __CREDITORID_ISSET_ID = 1;
-
 
207219
    private static final int __DUEDATE_ISSET_ID = 2;
-
 
207220
    private BitSet __isset_bit_vector = new BitSet(3);
-
 
207221
 
-
 
207222
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
207223
    static {
-
 
207224
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
207225
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
207226
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
207227
      tmpMap.put(_Fields.CREDITOR_ID, new org.apache.thrift.meta_data.FieldMetaData("creditorId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
207228
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
207229
      tmpMap.put(_Fields.DUE_DATE, new org.apache.thrift.meta_data.FieldMetaData("dueDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
207230
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
207231
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
207232
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getLoanPayableForUserToCreditor_args.class, metaDataMap);
-
 
207233
    }
-
 
207234
 
-
 
207235
    public getLoanPayableForUserToCreditor_args() {
-
 
207236
    }
-
 
207237
 
-
 
207238
    public getLoanPayableForUserToCreditor_args(
-
 
207239
      long userId,
-
 
207240
      long creditorId,
-
 
207241
      long dueDate)
-
 
207242
    {
-
 
207243
      this();
-
 
207244
      this.userId = userId;
-
 
207245
      setUserIdIsSet(true);
-
 
207246
      this.creditorId = creditorId;
-
 
207247
      setCreditorIdIsSet(true);
-
 
207248
      this.dueDate = dueDate;
-
 
207249
      setDueDateIsSet(true);
-
 
207250
    }
-
 
207251
 
-
 
207252
    /**
-
 
207253
     * Performs a deep copy on <i>other</i>.
-
 
207254
     */
-
 
207255
    public getLoanPayableForUserToCreditor_args(getLoanPayableForUserToCreditor_args other) {
-
 
207256
      __isset_bit_vector.clear();
-
 
207257
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
207258
      this.userId = other.userId;
-
 
207259
      this.creditorId = other.creditorId;
-
 
207260
      this.dueDate = other.dueDate;
-
 
207261
    }
-
 
207262
 
-
 
207263
    public getLoanPayableForUserToCreditor_args deepCopy() {
-
 
207264
      return new getLoanPayableForUserToCreditor_args(this);
-
 
207265
    }
-
 
207266
 
-
 
207267
    @Override
-
 
207268
    public void clear() {
-
 
207269
      setUserIdIsSet(false);
-
 
207270
      this.userId = 0;
-
 
207271
      setCreditorIdIsSet(false);
-
 
207272
      this.creditorId = 0;
-
 
207273
      setDueDateIsSet(false);
-
 
207274
      this.dueDate = 0;
-
 
207275
    }
-
 
207276
 
-
 
207277
    public long getUserId() {
-
 
207278
      return this.userId;
-
 
207279
    }
-
 
207280
 
-
 
207281
    public void setUserId(long userId) {
-
 
207282
      this.userId = userId;
-
 
207283
      setUserIdIsSet(true);
-
 
207284
    }
-
 
207285
 
-
 
207286
    public void unsetUserId() {
-
 
207287
      __isset_bit_vector.clear(__USERID_ISSET_ID);
-
 
207288
    }
-
 
207289
 
-
 
207290
    /** Returns true if field userId is set (has been assigned a value) and false otherwise */
-
 
207291
    public boolean isSetUserId() {
-
 
207292
      return __isset_bit_vector.get(__USERID_ISSET_ID);
-
 
207293
    }
-
 
207294
 
-
 
207295
    public void setUserIdIsSet(boolean value) {
-
 
207296
      __isset_bit_vector.set(__USERID_ISSET_ID, value);
-
 
207297
    }
-
 
207298
 
-
 
207299
    public long getCreditorId() {
-
 
207300
      return this.creditorId;
-
 
207301
    }
-
 
207302
 
-
 
207303
    public void setCreditorId(long creditorId) {
-
 
207304
      this.creditorId = creditorId;
-
 
207305
      setCreditorIdIsSet(true);
-
 
207306
    }
-
 
207307
 
-
 
207308
    public void unsetCreditorId() {
-
 
207309
      __isset_bit_vector.clear(__CREDITORID_ISSET_ID);
-
 
207310
    }
-
 
207311
 
-
 
207312
    /** Returns true if field creditorId is set (has been assigned a value) and false otherwise */
-
 
207313
    public boolean isSetCreditorId() {
-
 
207314
      return __isset_bit_vector.get(__CREDITORID_ISSET_ID);
-
 
207315
    }
-
 
207316
 
-
 
207317
    public void setCreditorIdIsSet(boolean value) {
-
 
207318
      __isset_bit_vector.set(__CREDITORID_ISSET_ID, value);
-
 
207319
    }
-
 
207320
 
-
 
207321
    public long getDueDate() {
-
 
207322
      return this.dueDate;
-
 
207323
    }
-
 
207324
 
-
 
207325
    public void setDueDate(long dueDate) {
-
 
207326
      this.dueDate = dueDate;
-
 
207327
      setDueDateIsSet(true);
-
 
207328
    }
-
 
207329
 
-
 
207330
    public void unsetDueDate() {
-
 
207331
      __isset_bit_vector.clear(__DUEDATE_ISSET_ID);
-
 
207332
    }
-
 
207333
 
-
 
207334
    /** Returns true if field dueDate is set (has been assigned a value) and false otherwise */
-
 
207335
    public boolean isSetDueDate() {
-
 
207336
      return __isset_bit_vector.get(__DUEDATE_ISSET_ID);
-
 
207337
    }
-
 
207338
 
-
 
207339
    public void setDueDateIsSet(boolean value) {
-
 
207340
      __isset_bit_vector.set(__DUEDATE_ISSET_ID, value);
-
 
207341
    }
-
 
207342
 
-
 
207343
    public void setFieldValue(_Fields field, Object value) {
-
 
207344
      switch (field) {
-
 
207345
      case USER_ID:
-
 
207346
        if (value == null) {
-
 
207347
          unsetUserId();
-
 
207348
        } else {
-
 
207349
          setUserId((Long)value);
-
 
207350
        }
-
 
207351
        break;
-
 
207352
 
-
 
207353
      case CREDITOR_ID:
-
 
207354
        if (value == null) {
-
 
207355
          unsetCreditorId();
-
 
207356
        } else {
-
 
207357
          setCreditorId((Long)value);
-
 
207358
        }
-
 
207359
        break;
-
 
207360
 
-
 
207361
      case DUE_DATE:
-
 
207362
        if (value == null) {
-
 
207363
          unsetDueDate();
-
 
207364
        } else {
-
 
207365
          setDueDate((Long)value);
-
 
207366
        }
-
 
207367
        break;
-
 
207368
 
-
 
207369
      }
-
 
207370
    }
-
 
207371
 
-
 
207372
    public Object getFieldValue(_Fields field) {
-
 
207373
      switch (field) {
-
 
207374
      case USER_ID:
-
 
207375
        return Long.valueOf(getUserId());
-
 
207376
 
-
 
207377
      case CREDITOR_ID:
-
 
207378
        return Long.valueOf(getCreditorId());
-
 
207379
 
-
 
207380
      case DUE_DATE:
-
 
207381
        return Long.valueOf(getDueDate());
-
 
207382
 
-
 
207383
      }
-
 
207384
      throw new IllegalStateException();
-
 
207385
    }
-
 
207386
 
-
 
207387
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
207388
    public boolean isSet(_Fields field) {
-
 
207389
      if (field == null) {
-
 
207390
        throw new IllegalArgumentException();
-
 
207391
      }
-
 
207392
 
-
 
207393
      switch (field) {
-
 
207394
      case USER_ID:
-
 
207395
        return isSetUserId();
-
 
207396
      case CREDITOR_ID:
-
 
207397
        return isSetCreditorId();
-
 
207398
      case DUE_DATE:
-
 
207399
        return isSetDueDate();
-
 
207400
      }
-
 
207401
      throw new IllegalStateException();
-
 
207402
    }
-
 
207403
 
-
 
207404
    @Override
-
 
207405
    public boolean equals(Object that) {
-
 
207406
      if (that == null)
-
 
207407
        return false;
-
 
207408
      if (that instanceof getLoanPayableForUserToCreditor_args)
-
 
207409
        return this.equals((getLoanPayableForUserToCreditor_args)that);
-
 
207410
      return false;
-
 
207411
    }
-
 
207412
 
-
 
207413
    public boolean equals(getLoanPayableForUserToCreditor_args that) {
-
 
207414
      if (that == null)
-
 
207415
        return false;
-
 
207416
 
-
 
207417
      boolean this_present_userId = true;
-
 
207418
      boolean that_present_userId = true;
-
 
207419
      if (this_present_userId || that_present_userId) {
-
 
207420
        if (!(this_present_userId && that_present_userId))
-
 
207421
          return false;
-
 
207422
        if (this.userId != that.userId)
-
 
207423
          return false;
-
 
207424
      }
-
 
207425
 
-
 
207426
      boolean this_present_creditorId = true;
-
 
207427
      boolean that_present_creditorId = true;
-
 
207428
      if (this_present_creditorId || that_present_creditorId) {
-
 
207429
        if (!(this_present_creditorId && that_present_creditorId))
-
 
207430
          return false;
-
 
207431
        if (this.creditorId != that.creditorId)
-
 
207432
          return false;
-
 
207433
      }
-
 
207434
 
-
 
207435
      boolean this_present_dueDate = true;
-
 
207436
      boolean that_present_dueDate = true;
-
 
207437
      if (this_present_dueDate || that_present_dueDate) {
-
 
207438
        if (!(this_present_dueDate && that_present_dueDate))
-
 
207439
          return false;
-
 
207440
        if (this.dueDate != that.dueDate)
-
 
207441
          return false;
-
 
207442
      }
-
 
207443
 
-
 
207444
      return true;
-
 
207445
    }
-
 
207446
 
-
 
207447
    @Override
-
 
207448
    public int hashCode() {
-
 
207449
      return 0;
-
 
207450
    }
-
 
207451
 
-
 
207452
    public int compareTo(getLoanPayableForUserToCreditor_args other) {
-
 
207453
      if (!getClass().equals(other.getClass())) {
-
 
207454
        return getClass().getName().compareTo(other.getClass().getName());
-
 
207455
      }
-
 
207456
 
-
 
207457
      int lastComparison = 0;
-
 
207458
      getLoanPayableForUserToCreditor_args typedOther = (getLoanPayableForUserToCreditor_args)other;
-
 
207459
 
-
 
207460
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
-
 
207461
      if (lastComparison != 0) {
-
 
207462
        return lastComparison;
-
 
207463
      }
-
 
207464
      if (isSetUserId()) {
-
 
207465
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
-
 
207466
        if (lastComparison != 0) {
-
 
207467
          return lastComparison;
-
 
207468
        }
-
 
207469
      }
-
 
207470
      lastComparison = Boolean.valueOf(isSetCreditorId()).compareTo(typedOther.isSetCreditorId());
-
 
207471
      if (lastComparison != 0) {
-
 
207472
        return lastComparison;
-
 
207473
      }
-
 
207474
      if (isSetCreditorId()) {
-
 
207475
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creditorId, typedOther.creditorId);
-
 
207476
        if (lastComparison != 0) {
-
 
207477
          return lastComparison;
-
 
207478
        }
-
 
207479
      }
-
 
207480
      lastComparison = Boolean.valueOf(isSetDueDate()).compareTo(typedOther.isSetDueDate());
-
 
207481
      if (lastComparison != 0) {
-
 
207482
        return lastComparison;
-
 
207483
      }
-
 
207484
      if (isSetDueDate()) {
-
 
207485
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dueDate, typedOther.dueDate);
-
 
207486
        if (lastComparison != 0) {
-
 
207487
          return lastComparison;
-
 
207488
        }
-
 
207489
      }
-
 
207490
      return 0;
-
 
207491
    }
-
 
207492
 
-
 
207493
    public _Fields fieldForId(int fieldId) {
-
 
207494
      return _Fields.findByThriftId(fieldId);
-
 
207495
    }
-
 
207496
 
-
 
207497
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
207498
      org.apache.thrift.protocol.TField field;
-
 
207499
      iprot.readStructBegin();
-
 
207500
      while (true)
-
 
207501
      {
-
 
207502
        field = iprot.readFieldBegin();
-
 
207503
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
207504
          break;
-
 
207505
        }
-
 
207506
        switch (field.id) {
-
 
207507
          case 1: // USER_ID
-
 
207508
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
207509
              this.userId = iprot.readI64();
-
 
207510
              setUserIdIsSet(true);
-
 
207511
            } else { 
-
 
207512
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
207513
            }
-
 
207514
            break;
-
 
207515
          case 2: // CREDITOR_ID
-
 
207516
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
207517
              this.creditorId = iprot.readI64();
-
 
207518
              setCreditorIdIsSet(true);
-
 
207519
            } else { 
-
 
207520
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
207521
            }
-
 
207522
            break;
-
 
207523
          case 3: // DUE_DATE
-
 
207524
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
207525
              this.dueDate = iprot.readI64();
-
 
207526
              setDueDateIsSet(true);
-
 
207527
            } else { 
-
 
207528
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
207529
            }
-
 
207530
            break;
-
 
207531
          default:
-
 
207532
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
207533
        }
-
 
207534
        iprot.readFieldEnd();
-
 
207535
      }
-
 
207536
      iprot.readStructEnd();
-
 
207537
      validate();
-
 
207538
    }
-
 
207539
 
-
 
207540
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
207541
      validate();
-
 
207542
 
-
 
207543
      oprot.writeStructBegin(STRUCT_DESC);
-
 
207544
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
-
 
207545
      oprot.writeI64(this.userId);
-
 
207546
      oprot.writeFieldEnd();
-
 
207547
      oprot.writeFieldBegin(CREDITOR_ID_FIELD_DESC);
-
 
207548
      oprot.writeI64(this.creditorId);
-
 
207549
      oprot.writeFieldEnd();
-
 
207550
      oprot.writeFieldBegin(DUE_DATE_FIELD_DESC);
-
 
207551
      oprot.writeI64(this.dueDate);
-
 
207552
      oprot.writeFieldEnd();
-
 
207553
      oprot.writeFieldStop();
-
 
207554
      oprot.writeStructEnd();
-
 
207555
    }
-
 
207556
 
-
 
207557
    @Override
-
 
207558
    public String toString() {
-
 
207559
      StringBuilder sb = new StringBuilder("getLoanPayableForUserToCreditor_args(");
-
 
207560
      boolean first = true;
-
 
207561
 
-
 
207562
      sb.append("userId:");
-
 
207563
      sb.append(this.userId);
-
 
207564
      first = false;
-
 
207565
      if (!first) sb.append(", ");
-
 
207566
      sb.append("creditorId:");
-
 
207567
      sb.append(this.creditorId);
-
 
207568
      first = false;
-
 
207569
      if (!first) sb.append(", ");
-
 
207570
      sb.append("dueDate:");
-
 
207571
      sb.append(this.dueDate);
-
 
207572
      first = false;
-
 
207573
      sb.append(")");
-
 
207574
      return sb.toString();
-
 
207575
    }
-
 
207576
 
-
 
207577
    public void validate() throws org.apache.thrift.TException {
-
 
207578
      // check for required fields
-
 
207579
    }
-
 
207580
 
-
 
207581
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
207582
      try {
-
 
207583
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
207584
      } catch (org.apache.thrift.TException te) {
-
 
207585
        throw new java.io.IOException(te);
-
 
207586
      }
-
 
207587
    }
-
 
207588
 
-
 
207589
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
207590
      try {
-
 
207591
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
207592
        __isset_bit_vector = new BitSet(1);
-
 
207593
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
207594
      } catch (org.apache.thrift.TException te) {
-
 
207595
        throw new java.io.IOException(te);
-
 
207596
      }
-
 
207597
    }
-
 
207598
 
-
 
207599
  }
-
 
207600
 
-
 
207601
  public static class getLoanPayableForUserToCreditor_result implements org.apache.thrift.TBase<getLoanPayableForUserToCreditor_result, getLoanPayableForUserToCreditor_result._Fields>, java.io.Serializable, Cloneable   {
-
 
207602
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getLoanPayableForUserToCreditor_result");
-
 
207603
 
-
 
207604
    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);
-
 
207605
 
-
 
207606
    private List<CreditHistory> success; // required
-
 
207607
 
-
 
207608
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
207609
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
207610
      SUCCESS((short)0, "success");
-
 
207611
 
-
 
207612
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
207613
 
-
 
207614
      static {
-
 
207615
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
207616
          byName.put(field.getFieldName(), field);
-
 
207617
        }
-
 
207618
      }
-
 
207619
 
-
 
207620
      /**
-
 
207621
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
207622
       */
-
 
207623
      public static _Fields findByThriftId(int fieldId) {
-
 
207624
        switch(fieldId) {
-
 
207625
          case 0: // SUCCESS
-
 
207626
            return SUCCESS;
-
 
207627
          default:
-
 
207628
            return null;
-
 
207629
        }
-
 
207630
      }
-
 
207631
 
-
 
207632
      /**
-
 
207633
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
207634
       * if it is not found.
-
 
207635
       */
-
 
207636
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
207637
        _Fields fields = findByThriftId(fieldId);
-
 
207638
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
207639
        return fields;
-
 
207640
      }
-
 
207641
 
-
 
207642
      /**
-
 
207643
       * Find the _Fields constant that matches name, or null if its not found.
-
 
207644
       */
-
 
207645
      public static _Fields findByName(String name) {
-
 
207646
        return byName.get(name);
-
 
207647
      }
-
 
207648
 
-
 
207649
      private final short _thriftId;
-
 
207650
      private final String _fieldName;
-
 
207651
 
-
 
207652
      _Fields(short thriftId, String fieldName) {
-
 
207653
        _thriftId = thriftId;
-
 
207654
        _fieldName = fieldName;
-
 
207655
      }
-
 
207656
 
-
 
207657
      public short getThriftFieldId() {
-
 
207658
        return _thriftId;
-
 
207659
      }
-
 
207660
 
-
 
207661
      public String getFieldName() {
-
 
207662
        return _fieldName;
-
 
207663
      }
-
 
207664
    }
-
 
207665
 
-
 
207666
    // isset id assignments
-
 
207667
 
-
 
207668
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
207669
    static {
-
 
207670
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
207671
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
207672
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
207673
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CreditHistory.class))));
-
 
207674
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
207675
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getLoanPayableForUserToCreditor_result.class, metaDataMap);
-
 
207676
    }
-
 
207677
 
-
 
207678
    public getLoanPayableForUserToCreditor_result() {
-
 
207679
    }
-
 
207680
 
-
 
207681
    public getLoanPayableForUserToCreditor_result(
-
 
207682
      List<CreditHistory> success)
-
 
207683
    {
-
 
207684
      this();
-
 
207685
      this.success = success;
-
 
207686
    }
-
 
207687
 
-
 
207688
    /**
-
 
207689
     * Performs a deep copy on <i>other</i>.
-
 
207690
     */
-
 
207691
    public getLoanPayableForUserToCreditor_result(getLoanPayableForUserToCreditor_result other) {
-
 
207692
      if (other.isSetSuccess()) {
-
 
207693
        List<CreditHistory> __this__success = new ArrayList<CreditHistory>();
-
 
207694
        for (CreditHistory other_element : other.success) {
-
 
207695
          __this__success.add(new CreditHistory(other_element));
-
 
207696
        }
-
 
207697
        this.success = __this__success;
-
 
207698
      }
-
 
207699
    }
-
 
207700
 
-
 
207701
    public getLoanPayableForUserToCreditor_result deepCopy() {
-
 
207702
      return new getLoanPayableForUserToCreditor_result(this);
-
 
207703
    }
-
 
207704
 
-
 
207705
    @Override
-
 
207706
    public void clear() {
-
 
207707
      this.success = null;
-
 
207708
    }
-
 
207709
 
-
 
207710
    public int getSuccessSize() {
-
 
207711
      return (this.success == null) ? 0 : this.success.size();
-
 
207712
    }
-
 
207713
 
-
 
207714
    public java.util.Iterator<CreditHistory> getSuccessIterator() {
-
 
207715
      return (this.success == null) ? null : this.success.iterator();
-
 
207716
    }
-
 
207717
 
-
 
207718
    public void addToSuccess(CreditHistory elem) {
-
 
207719
      if (this.success == null) {
-
 
207720
        this.success = new ArrayList<CreditHistory>();
-
 
207721
      }
-
 
207722
      this.success.add(elem);
-
 
207723
    }
-
 
207724
 
-
 
207725
    public List<CreditHistory> getSuccess() {
-
 
207726
      return this.success;
-
 
207727
    }
-
 
207728
 
-
 
207729
    public void setSuccess(List<CreditHistory> success) {
-
 
207730
      this.success = success;
-
 
207731
    }
-
 
207732
 
-
 
207733
    public void unsetSuccess() {
-
 
207734
      this.success = null;
-
 
207735
    }
-
 
207736
 
-
 
207737
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
207738
    public boolean isSetSuccess() {
-
 
207739
      return this.success != null;
-
 
207740
    }
-
 
207741
 
-
 
207742
    public void setSuccessIsSet(boolean value) {
-
 
207743
      if (!value) {
-
 
207744
        this.success = null;
-
 
207745
      }
-
 
207746
    }
-
 
207747
 
-
 
207748
    public void setFieldValue(_Fields field, Object value) {
-
 
207749
      switch (field) {
-
 
207750
      case SUCCESS:
-
 
207751
        if (value == null) {
-
 
207752
          unsetSuccess();
-
 
207753
        } else {
-
 
207754
          setSuccess((List<CreditHistory>)value);
-
 
207755
        }
-
 
207756
        break;
-
 
207757
 
-
 
207758
      }
-
 
207759
    }
-
 
207760
 
-
 
207761
    public Object getFieldValue(_Fields field) {
-
 
207762
      switch (field) {
-
 
207763
      case SUCCESS:
-
 
207764
        return getSuccess();
-
 
207765
 
-
 
207766
      }
-
 
207767
      throw new IllegalStateException();
-
 
207768
    }
-
 
207769
 
-
 
207770
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
207771
    public boolean isSet(_Fields field) {
-
 
207772
      if (field == null) {
-
 
207773
        throw new IllegalArgumentException();
-
 
207774
      }
-
 
207775
 
-
 
207776
      switch (field) {
-
 
207777
      case SUCCESS:
-
 
207778
        return isSetSuccess();
-
 
207779
      }
-
 
207780
      throw new IllegalStateException();
-
 
207781
    }
-
 
207782
 
-
 
207783
    @Override
-
 
207784
    public boolean equals(Object that) {
-
 
207785
      if (that == null)
-
 
207786
        return false;
-
 
207787
      if (that instanceof getLoanPayableForUserToCreditor_result)
-
 
207788
        return this.equals((getLoanPayableForUserToCreditor_result)that);
-
 
207789
      return false;
-
 
207790
    }
-
 
207791
 
-
 
207792
    public boolean equals(getLoanPayableForUserToCreditor_result that) {
-
 
207793
      if (that == null)
-
 
207794
        return false;
-
 
207795
 
-
 
207796
      boolean this_present_success = true && this.isSetSuccess();
-
 
207797
      boolean that_present_success = true && that.isSetSuccess();
-
 
207798
      if (this_present_success || that_present_success) {
-
 
207799
        if (!(this_present_success && that_present_success))
-
 
207800
          return false;
-
 
207801
        if (!this.success.equals(that.success))
-
 
207802
          return false;
-
 
207803
      }
-
 
207804
 
-
 
207805
      return true;
-
 
207806
    }
-
 
207807
 
-
 
207808
    @Override
-
 
207809
    public int hashCode() {
-
 
207810
      return 0;
-
 
207811
    }
-
 
207812
 
-
 
207813
    public int compareTo(getLoanPayableForUserToCreditor_result other) {
-
 
207814
      if (!getClass().equals(other.getClass())) {
-
 
207815
        return getClass().getName().compareTo(other.getClass().getName());
-
 
207816
      }
-
 
207817
 
-
 
207818
      int lastComparison = 0;
-
 
207819
      getLoanPayableForUserToCreditor_result typedOther = (getLoanPayableForUserToCreditor_result)other;
-
 
207820
 
-
 
207821
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
207822
      if (lastComparison != 0) {
-
 
207823
        return lastComparison;
-
 
207824
      }
-
 
207825
      if (isSetSuccess()) {
-
 
207826
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
207827
        if (lastComparison != 0) {
-
 
207828
          return lastComparison;
-
 
207829
        }
-
 
207830
      }
-
 
207831
      return 0;
-
 
207832
    }
-
 
207833
 
-
 
207834
    public _Fields fieldForId(int fieldId) {
-
 
207835
      return _Fields.findByThriftId(fieldId);
-
 
207836
    }
-
 
207837
 
-
 
207838
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
207839
      org.apache.thrift.protocol.TField field;
-
 
207840
      iprot.readStructBegin();
-
 
207841
      while (true)
-
 
207842
      {
-
 
207843
        field = iprot.readFieldBegin();
-
 
207844
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
207845
          break;
-
 
207846
        }
-
 
207847
        switch (field.id) {
-
 
207848
          case 0: // SUCCESS
-
 
207849
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
207850
              {
-
 
207851
                org.apache.thrift.protocol.TList _list668 = iprot.readListBegin();
-
 
207852
                this.success = new ArrayList<CreditHistory>(_list668.size);
-
 
207853
                for (int _i669 = 0; _i669 < _list668.size; ++_i669)
-
 
207854
                {
-
 
207855
                  CreditHistory _elem670; // required
-
 
207856
                  _elem670 = new CreditHistory();
-
 
207857
                  _elem670.read(iprot);
-
 
207858
                  this.success.add(_elem670);
-
 
207859
                }
-
 
207860
                iprot.readListEnd();
-
 
207861
              }
-
 
207862
            } else { 
-
 
207863
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
207864
            }
-
 
207865
            break;
-
 
207866
          default:
-
 
207867
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
207868
        }
-
 
207869
        iprot.readFieldEnd();
-
 
207870
      }
-
 
207871
      iprot.readStructEnd();
-
 
207872
      validate();
-
 
207873
    }
-
 
207874
 
-
 
207875
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
207876
      oprot.writeStructBegin(STRUCT_DESC);
-
 
207877
 
-
 
207878
      if (this.isSetSuccess()) {
-
 
207879
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
207880
        {
-
 
207881
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
207882
          for (CreditHistory _iter671 : this.success)
-
 
207883
          {
-
 
207884
            _iter671.write(oprot);
-
 
207885
          }
-
 
207886
          oprot.writeListEnd();
-
 
207887
        }
-
 
207888
        oprot.writeFieldEnd();
-
 
207889
      }
-
 
207890
      oprot.writeFieldStop();
-
 
207891
      oprot.writeStructEnd();
-
 
207892
    }
-
 
207893
 
-
 
207894
    @Override
-
 
207895
    public String toString() {
-
 
207896
      StringBuilder sb = new StringBuilder("getLoanPayableForUserToCreditor_result(");
-
 
207897
      boolean first = true;
-
 
207898
 
-
 
207899
      sb.append("success:");
-
 
207900
      if (this.success == null) {
-
 
207901
        sb.append("null");
-
 
207902
      } else {
-
 
207903
        sb.append(this.success);
-
 
207904
      }
-
 
207905
      first = false;
-
 
207906
      sb.append(")");
-
 
207907
      return sb.toString();
-
 
207908
    }
-
 
207909
 
-
 
207910
    public void validate() throws org.apache.thrift.TException {
-
 
207911
      // check for required fields
-
 
207912
    }
-
 
207913
 
-
 
207914
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
207915
      try {
-
 
207916
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
207917
      } catch (org.apache.thrift.TException te) {
-
 
207918
        throw new java.io.IOException(te);
-
 
207919
      }
-
 
207920
    }
-
 
207921
 
-
 
207922
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
207923
      try {
-
 
207924
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
207925
      } catch (org.apache.thrift.TException te) {
-
 
207926
        throw new java.io.IOException(te);
-
 
207927
      }
-
 
207928
    }
-
 
207929
 
-
 
207930
  }
-
 
207931
 
-
 
207932
  public static class getReturnOrderInfo_args implements org.apache.thrift.TBase<getReturnOrderInfo_args, getReturnOrderInfo_args._Fields>, java.io.Serializable, Cloneable   {
-
 
207933
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnOrderInfo_args");
-
 
207934
 
-
 
207935
    private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
207936
 
-
 
207937
    private long id; // required
-
 
207938
 
-
 
207939
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
207940
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
207941
      ID((short)1, "id");
-
 
207942
 
-
 
207943
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
207944
 
-
 
207945
      static {
-
 
207946
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
207947
          byName.put(field.getFieldName(), field);
-
 
207948
        }
-
 
207949
      }
-
 
207950
 
-
 
207951
      /**
-
 
207952
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
207953
       */
-
 
207954
      public static _Fields findByThriftId(int fieldId) {
-
 
207955
        switch(fieldId) {
-
 
207956
          case 1: // ID
-
 
207957
            return ID;
-
 
207958
          default:
-
 
207959
            return null;
-
 
207960
        }
-
 
207961
      }
-
 
207962
 
-
 
207963
      /**
-
 
207964
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
207965
       * if it is not found.
-
 
207966
       */
-
 
207967
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
207968
        _Fields fields = findByThriftId(fieldId);
-
 
207969
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
207970
        return fields;
-
 
207971
      }
-
 
207972
 
-
 
207973
      /**
-
 
207974
       * Find the _Fields constant that matches name, or null if its not found.
-
 
207975
       */
-
 
207976
      public static _Fields findByName(String name) {
-
 
207977
        return byName.get(name);
-
 
207978
      }
-
 
207979
 
-
 
207980
      private final short _thriftId;
-
 
207981
      private final String _fieldName;
-
 
207982
 
-
 
207983
      _Fields(short thriftId, String fieldName) {
-
 
207984
        _thriftId = thriftId;
-
 
207985
        _fieldName = fieldName;
-
 
207986
      }
-
 
207987
 
-
 
207988
      public short getThriftFieldId() {
-
 
207989
        return _thriftId;
-
 
207990
      }
-
 
207991
 
-
 
207992
      public String getFieldName() {
-
 
207993
        return _fieldName;
-
 
207994
      }
-
 
207995
    }
-
 
207996
 
-
 
207997
    // isset id assignments
-
 
207998
    private static final int __ID_ISSET_ID = 0;
-
 
207999
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
208000
 
-
 
208001
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
208002
    static {
-
 
208003
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
208004
      tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
208005
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
208006
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
208007
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReturnOrderInfo_args.class, metaDataMap);
-
 
208008
    }
-
 
208009
 
-
 
208010
    public getReturnOrderInfo_args() {
-
 
208011
    }
-
 
208012
 
-
 
208013
    public getReturnOrderInfo_args(
-
 
208014
      long id)
-
 
208015
    {
-
 
208016
      this();
-
 
208017
      this.id = id;
-
 
208018
      setIdIsSet(true);
-
 
208019
    }
-
 
208020
 
-
 
208021
    /**
-
 
208022
     * Performs a deep copy on <i>other</i>.
-
 
208023
     */
-
 
208024
    public getReturnOrderInfo_args(getReturnOrderInfo_args other) {
-
 
208025
      __isset_bit_vector.clear();
-
 
208026
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
208027
      this.id = other.id;
-
 
208028
    }
-
 
208029
 
-
 
208030
    public getReturnOrderInfo_args deepCopy() {
-
 
208031
      return new getReturnOrderInfo_args(this);
-
 
208032
    }
-
 
208033
 
-
 
208034
    @Override
-
 
208035
    public void clear() {
-
 
208036
      setIdIsSet(false);
-
 
208037
      this.id = 0;
-
 
208038
    }
-
 
208039
 
-
 
208040
    public long getId() {
-
 
208041
      return this.id;
-
 
208042
    }
-
 
208043
 
-
 
208044
    public void setId(long id) {
-
 
208045
      this.id = id;
-
 
208046
      setIdIsSet(true);
-
 
208047
    }
-
 
208048
 
-
 
208049
    public void unsetId() {
-
 
208050
      __isset_bit_vector.clear(__ID_ISSET_ID);
-
 
208051
    }
-
 
208052
 
-
 
208053
    /** Returns true if field id is set (has been assigned a value) and false otherwise */
-
 
208054
    public boolean isSetId() {
-
 
208055
      return __isset_bit_vector.get(__ID_ISSET_ID);
-
 
208056
    }
-
 
208057
 
-
 
208058
    public void setIdIsSet(boolean value) {
-
 
208059
      __isset_bit_vector.set(__ID_ISSET_ID, value);
-
 
208060
    }
-
 
208061
 
-
 
208062
    public void setFieldValue(_Fields field, Object value) {
-
 
208063
      switch (field) {
-
 
208064
      case ID:
-
 
208065
        if (value == null) {
-
 
208066
          unsetId();
-
 
208067
        } else {
-
 
208068
          setId((Long)value);
-
 
208069
        }
-
 
208070
        break;
-
 
208071
 
-
 
208072
      }
-
 
208073
    }
-
 
208074
 
-
 
208075
    public Object getFieldValue(_Fields field) {
-
 
208076
      switch (field) {
-
 
208077
      case ID:
-
 
208078
        return Long.valueOf(getId());
-
 
208079
 
-
 
208080
      }
-
 
208081
      throw new IllegalStateException();
-
 
208082
    }
-
 
208083
 
-
 
208084
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
208085
    public boolean isSet(_Fields field) {
-
 
208086
      if (field == null) {
-
 
208087
        throw new IllegalArgumentException();
-
 
208088
      }
-
 
208089
 
-
 
208090
      switch (field) {
-
 
208091
      case ID:
-
 
208092
        return isSetId();
-
 
208093
      }
-
 
208094
      throw new IllegalStateException();
-
 
208095
    }
-
 
208096
 
-
 
208097
    @Override
-
 
208098
    public boolean equals(Object that) {
-
 
208099
      if (that == null)
-
 
208100
        return false;
-
 
208101
      if (that instanceof getReturnOrderInfo_args)
-
 
208102
        return this.equals((getReturnOrderInfo_args)that);
-
 
208103
      return false;
-
 
208104
    }
-
 
208105
 
-
 
208106
    public boolean equals(getReturnOrderInfo_args that) {
-
 
208107
      if (that == null)
-
 
208108
        return false;
-
 
208109
 
-
 
208110
      boolean this_present_id = true;
-
 
208111
      boolean that_present_id = true;
-
 
208112
      if (this_present_id || that_present_id) {
-
 
208113
        if (!(this_present_id && that_present_id))
-
 
208114
          return false;
-
 
208115
        if (this.id != that.id)
-
 
208116
          return false;
-
 
208117
      }
-
 
208118
 
-
 
208119
      return true;
-
 
208120
    }
-
 
208121
 
-
 
208122
    @Override
-
 
208123
    public int hashCode() {
-
 
208124
      return 0;
-
 
208125
    }
-
 
208126
 
-
 
208127
    public int compareTo(getReturnOrderInfo_args other) {
-
 
208128
      if (!getClass().equals(other.getClass())) {
-
 
208129
        return getClass().getName().compareTo(other.getClass().getName());
-
 
208130
      }
-
 
208131
 
-
 
208132
      int lastComparison = 0;
-
 
208133
      getReturnOrderInfo_args typedOther = (getReturnOrderInfo_args)other;
-
 
208134
 
-
 
208135
      lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
-
 
208136
      if (lastComparison != 0) {
-
 
208137
        return lastComparison;
-
 
208138
      }
-
 
208139
      if (isSetId()) {
-
 
208140
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
-
 
208141
        if (lastComparison != 0) {
-
 
208142
          return lastComparison;
-
 
208143
        }
-
 
208144
      }
-
 
208145
      return 0;
-
 
208146
    }
-
 
208147
 
-
 
208148
    public _Fields fieldForId(int fieldId) {
-
 
208149
      return _Fields.findByThriftId(fieldId);
-
 
208150
    }
-
 
208151
 
-
 
208152
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
208153
      org.apache.thrift.protocol.TField field;
-
 
208154
      iprot.readStructBegin();
-
 
208155
      while (true)
-
 
208156
      {
-
 
208157
        field = iprot.readFieldBegin();
-
 
208158
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
208159
          break;
-
 
208160
        }
-
 
208161
        switch (field.id) {
-
 
208162
          case 1: // ID
-
 
208163
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
208164
              this.id = iprot.readI64();
-
 
208165
              setIdIsSet(true);
-
 
208166
            } else { 
-
 
208167
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
208168
            }
-
 
208169
            break;
-
 
208170
          default:
-
 
208171
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
208172
        }
-
 
208173
        iprot.readFieldEnd();
-
 
208174
      }
-
 
208175
      iprot.readStructEnd();
-
 
208176
      validate();
-
 
208177
    }
-
 
208178
 
-
 
208179
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
208180
      validate();
-
 
208181
 
-
 
208182
      oprot.writeStructBegin(STRUCT_DESC);
-
 
208183
      oprot.writeFieldBegin(ID_FIELD_DESC);
-
 
208184
      oprot.writeI64(this.id);
-
 
208185
      oprot.writeFieldEnd();
-
 
208186
      oprot.writeFieldStop();
-
 
208187
      oprot.writeStructEnd();
-
 
208188
    }
-
 
208189
 
-
 
208190
    @Override
-
 
208191
    public String toString() {
-
 
208192
      StringBuilder sb = new StringBuilder("getReturnOrderInfo_args(");
-
 
208193
      boolean first = true;
-
 
208194
 
-
 
208195
      sb.append("id:");
-
 
208196
      sb.append(this.id);
-
 
208197
      first = false;
-
 
208198
      sb.append(")");
-
 
208199
      return sb.toString();
-
 
208200
    }
-
 
208201
 
-
 
208202
    public void validate() throws org.apache.thrift.TException {
-
 
208203
      // check for required fields
-
 
208204
    }
-
 
208205
 
-
 
208206
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
208207
      try {
-
 
208208
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
208209
      } catch (org.apache.thrift.TException te) {
-
 
208210
        throw new java.io.IOException(te);
-
 
208211
      }
-
 
208212
    }
-
 
208213
 
-
 
208214
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
208215
      try {
-
 
208216
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
208217
        __isset_bit_vector = new BitSet(1);
-
 
208218
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
208219
      } catch (org.apache.thrift.TException te) {
-
 
208220
        throw new java.io.IOException(te);
-
 
208221
      }
-
 
208222
    }
-
 
208223
 
-
 
208224
  }
-
 
208225
 
-
 
208226
  public static class getReturnOrderInfo_result implements org.apache.thrift.TBase<getReturnOrderInfo_result, getReturnOrderInfo_result._Fields>, java.io.Serializable, Cloneable   {
-
 
208227
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnOrderInfo_result");
-
 
208228
 
-
 
208229
    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);
-
 
208230
    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);
-
 
208231
 
-
 
208232
    private ReturnOrderInfo success; // required
-
 
208233
    private TransactionServiceException ex; // required
-
 
208234
 
-
 
208235
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
208236
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
208237
      SUCCESS((short)0, "success"),
-
 
208238
      EX((short)1, "ex");
-
 
208239
 
-
 
208240
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
208241
 
-
 
208242
      static {
-
 
208243
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
208244
          byName.put(field.getFieldName(), field);
-
 
208245
        }
-
 
208246
      }
-
 
208247
 
-
 
208248
      /**
-
 
208249
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
208250
       */
-
 
208251
      public static _Fields findByThriftId(int fieldId) {
-
 
208252
        switch(fieldId) {
-
 
208253
          case 0: // SUCCESS
-
 
208254
            return SUCCESS;
-
 
208255
          case 1: // EX
-
 
208256
            return EX;
-
 
208257
          default:
-
 
208258
            return null;
-
 
208259
        }
-
 
208260
      }
-
 
208261
 
-
 
208262
      /**
-
 
208263
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
208264
       * if it is not found.
-
 
208265
       */
-
 
208266
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
208267
        _Fields fields = findByThriftId(fieldId);
-
 
208268
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
208269
        return fields;
-
 
208270
      }
-
 
208271
 
-
 
208272
      /**
-
 
208273
       * Find the _Fields constant that matches name, or null if its not found.
-
 
208274
       */
-
 
208275
      public static _Fields findByName(String name) {
-
 
208276
        return byName.get(name);
-
 
208277
      }
-
 
208278
 
-
 
208279
      private final short _thriftId;
-
 
208280
      private final String _fieldName;
-
 
208281
 
-
 
208282
      _Fields(short thriftId, String fieldName) {
-
 
208283
        _thriftId = thriftId;
-
 
208284
        _fieldName = fieldName;
-
 
208285
      }
-
 
208286
 
-
 
208287
      public short getThriftFieldId() {
-
 
208288
        return _thriftId;
-
 
208289
      }
-
 
208290
 
-
 
208291
      public String getFieldName() {
-
 
208292
        return _fieldName;
-
 
208293
      }
-
 
208294
    }
-
 
208295
 
-
 
208296
    // isset id assignments
-
 
208297
 
-
 
208298
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
208299
    static {
-
 
208300
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
208301
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
208302
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnOrderInfo.class)));
-
 
208303
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
208304
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
208305
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
208306
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReturnOrderInfo_result.class, metaDataMap);
-
 
208307
    }
-
 
208308
 
-
 
208309
    public getReturnOrderInfo_result() {
-
 
208310
    }
-
 
208311
 
-
 
208312
    public getReturnOrderInfo_result(
-
 
208313
      ReturnOrderInfo success,
-
 
208314
      TransactionServiceException ex)
-
 
208315
    {
-
 
208316
      this();
-
 
208317
      this.success = success;
-
 
208318
      this.ex = ex;
-
 
208319
    }
-
 
208320
 
-
 
208321
    /**
-
 
208322
     * Performs a deep copy on <i>other</i>.
-
 
208323
     */
-
 
208324
    public getReturnOrderInfo_result(getReturnOrderInfo_result other) {
-
 
208325
      if (other.isSetSuccess()) {
-
 
208326
        this.success = new ReturnOrderInfo(other.success);
-
 
208327
      }
-
 
208328
      if (other.isSetEx()) {
-
 
208329
        this.ex = new TransactionServiceException(other.ex);
-
 
208330
      }
-
 
208331
    }
-
 
208332
 
-
 
208333
    public getReturnOrderInfo_result deepCopy() {
-
 
208334
      return new getReturnOrderInfo_result(this);
-
 
208335
    }
-
 
208336
 
-
 
208337
    @Override
-
 
208338
    public void clear() {
-
 
208339
      this.success = null;
-
 
208340
      this.ex = null;
-
 
208341
    }
-
 
208342
 
-
 
208343
    public ReturnOrderInfo getSuccess() {
-
 
208344
      return this.success;
-
 
208345
    }
-
 
208346
 
-
 
208347
    public void setSuccess(ReturnOrderInfo success) {
-
 
208348
      this.success = success;
-
 
208349
    }
-
 
208350
 
-
 
208351
    public void unsetSuccess() {
-
 
208352
      this.success = null;
-
 
208353
    }
-
 
208354
 
-
 
208355
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
208356
    public boolean isSetSuccess() {
-
 
208357
      return this.success != null;
-
 
208358
    }
-
 
208359
 
-
 
208360
    public void setSuccessIsSet(boolean value) {
-
 
208361
      if (!value) {
-
 
208362
        this.success = null;
-
 
208363
      }
-
 
208364
    }
-
 
208365
 
-
 
208366
    public TransactionServiceException getEx() {
-
 
208367
      return this.ex;
-
 
208368
    }
-
 
208369
 
-
 
208370
    public void setEx(TransactionServiceException ex) {
-
 
208371
      this.ex = ex;
-
 
208372
    }
-
 
208373
 
-
 
208374
    public void unsetEx() {
-
 
208375
      this.ex = null;
-
 
208376
    }
-
 
208377
 
-
 
208378
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
208379
    public boolean isSetEx() {
-
 
208380
      return this.ex != null;
-
 
208381
    }
-
 
208382
 
-
 
208383
    public void setExIsSet(boolean value) {
-
 
208384
      if (!value) {
-
 
208385
        this.ex = null;
-
 
208386
      }
-
 
208387
    }
-
 
208388
 
-
 
208389
    public void setFieldValue(_Fields field, Object value) {
-
 
208390
      switch (field) {
-
 
208391
      case SUCCESS:
-
 
208392
        if (value == null) {
-
 
208393
          unsetSuccess();
-
 
208394
        } else {
-
 
208395
          setSuccess((ReturnOrderInfo)value);
-
 
208396
        }
-
 
208397
        break;
-
 
208398
 
-
 
208399
      case EX:
-
 
208400
        if (value == null) {
-
 
208401
          unsetEx();
-
 
208402
        } else {
-
 
208403
          setEx((TransactionServiceException)value);
-
 
208404
        }
-
 
208405
        break;
-
 
208406
 
-
 
208407
      }
-
 
208408
    }
-
 
208409
 
-
 
208410
    public Object getFieldValue(_Fields field) {
-
 
208411
      switch (field) {
-
 
208412
      case SUCCESS:
-
 
208413
        return getSuccess();
-
 
208414
 
-
 
208415
      case EX:
-
 
208416
        return getEx();
-
 
208417
 
-
 
208418
      }
-
 
208419
      throw new IllegalStateException();
-
 
208420
    }
-
 
208421
 
-
 
208422
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
208423
    public boolean isSet(_Fields field) {
-
 
208424
      if (field == null) {
-
 
208425
        throw new IllegalArgumentException();
-
 
208426
      }
-
 
208427
 
-
 
208428
      switch (field) {
-
 
208429
      case SUCCESS:
-
 
208430
        return isSetSuccess();
-
 
208431
      case EX:
-
 
208432
        return isSetEx();
-
 
208433
      }
-
 
208434
      throw new IllegalStateException();
-
 
208435
    }
-
 
208436
 
-
 
208437
    @Override
-
 
208438
    public boolean equals(Object that) {
-
 
208439
      if (that == null)
-
 
208440
        return false;
-
 
208441
      if (that instanceof getReturnOrderInfo_result)
-
 
208442
        return this.equals((getReturnOrderInfo_result)that);
-
 
208443
      return false;
-
 
208444
    }
-
 
208445
 
-
 
208446
    public boolean equals(getReturnOrderInfo_result that) {
-
 
208447
      if (that == null)
-
 
208448
        return false;
-
 
208449
 
-
 
208450
      boolean this_present_success = true && this.isSetSuccess();
-
 
208451
      boolean that_present_success = true && that.isSetSuccess();
-
 
208452
      if (this_present_success || that_present_success) {
-
 
208453
        if (!(this_present_success && that_present_success))
-
 
208454
          return false;
-
 
208455
        if (!this.success.equals(that.success))
-
 
208456
          return false;
-
 
208457
      }
-
 
208458
 
-
 
208459
      boolean this_present_ex = true && this.isSetEx();
-
 
208460
      boolean that_present_ex = true && that.isSetEx();
-
 
208461
      if (this_present_ex || that_present_ex) {
-
 
208462
        if (!(this_present_ex && that_present_ex))
-
 
208463
          return false;
-
 
208464
        if (!this.ex.equals(that.ex))
-
 
208465
          return false;
-
 
208466
      }
-
 
208467
 
-
 
208468
      return true;
-
 
208469
    }
-
 
208470
 
-
 
208471
    @Override
-
 
208472
    public int hashCode() {
-
 
208473
      return 0;
-
 
208474
    }
-
 
208475
 
-
 
208476
    public int compareTo(getReturnOrderInfo_result other) {
-
 
208477
      if (!getClass().equals(other.getClass())) {
-
 
208478
        return getClass().getName().compareTo(other.getClass().getName());
-
 
208479
      }
-
 
208480
 
-
 
208481
      int lastComparison = 0;
-
 
208482
      getReturnOrderInfo_result typedOther = (getReturnOrderInfo_result)other;
-
 
208483
 
-
 
208484
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
208485
      if (lastComparison != 0) {
-
 
208486
        return lastComparison;
-
 
208487
      }
-
 
208488
      if (isSetSuccess()) {
-
 
208489
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
208490
        if (lastComparison != 0) {
-
 
208491
          return lastComparison;
-
 
208492
        }
-
 
208493
      }
-
 
208494
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
208495
      if (lastComparison != 0) {
-
 
208496
        return lastComparison;
-
 
208497
      }
-
 
208498
      if (isSetEx()) {
-
 
208499
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
208500
        if (lastComparison != 0) {
-
 
208501
          return lastComparison;
-
 
208502
        }
-
 
208503
      }
-
 
208504
      return 0;
-
 
208505
    }
-
 
208506
 
-
 
208507
    public _Fields fieldForId(int fieldId) {
-
 
208508
      return _Fields.findByThriftId(fieldId);
-
 
208509
    }
-
 
208510
 
-
 
208511
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
208512
      org.apache.thrift.protocol.TField field;
-
 
208513
      iprot.readStructBegin();
-
 
208514
      while (true)
-
 
208515
      {
-
 
208516
        field = iprot.readFieldBegin();
-
 
208517
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
208518
          break;
-
 
208519
        }
-
 
208520
        switch (field.id) {
-
 
208521
          case 0: // SUCCESS
-
 
208522
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
208523
              this.success = new ReturnOrderInfo();
-
 
208524
              this.success.read(iprot);
-
 
208525
            } else { 
-
 
208526
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
208527
            }
-
 
208528
            break;
-
 
208529
          case 1: // EX
-
 
208530
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
208531
              this.ex = new TransactionServiceException();
-
 
208532
              this.ex.read(iprot);
-
 
208533
            } else { 
-
 
208534
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
208535
            }
-
 
208536
            break;
-
 
208537
          default:
-
 
208538
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
208539
        }
-
 
208540
        iprot.readFieldEnd();
-
 
208541
      }
-
 
208542
      iprot.readStructEnd();
-
 
208543
      validate();
-
 
208544
    }
-
 
208545
 
-
 
208546
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
208547
      oprot.writeStructBegin(STRUCT_DESC);
-
 
208548
 
-
 
208549
      if (this.isSetSuccess()) {
-
 
208550
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
208551
        this.success.write(oprot);
-
 
208552
        oprot.writeFieldEnd();
-
 
208553
      } else if (this.isSetEx()) {
-
 
208554
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
208555
        this.ex.write(oprot);
-
 
208556
        oprot.writeFieldEnd();
-
 
208557
      }
-
 
208558
      oprot.writeFieldStop();
-
 
208559
      oprot.writeStructEnd();
-
 
208560
    }
-
 
208561
 
-
 
208562
    @Override
-
 
208563
    public String toString() {
-
 
208564
      StringBuilder sb = new StringBuilder("getReturnOrderInfo_result(");
-
 
208565
      boolean first = true;
-
 
208566
 
-
 
208567
      sb.append("success:");
-
 
208568
      if (this.success == null) {
-
 
208569
        sb.append("null");
-
 
208570
      } else {
-
 
208571
        sb.append(this.success);
-
 
208572
      }
-
 
208573
      first = false;
-
 
208574
      if (!first) sb.append(", ");
-
 
208575
      sb.append("ex:");
-
 
208576
      if (this.ex == null) {
-
 
208577
        sb.append("null");
-
 
208578
      } else {
-
 
208579
        sb.append(this.ex);
-
 
208580
      }
-
 
208581
      first = false;
-
 
208582
      sb.append(")");
-
 
208583
      return sb.toString();
-
 
208584
    }
-
 
208585
 
-
 
208586
    public void validate() throws org.apache.thrift.TException {
-
 
208587
      // check for required fields
-
 
208588
    }
-
 
208589
 
-
 
208590
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
208591
      try {
-
 
208592
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
208593
      } catch (org.apache.thrift.TException te) {
-
 
208594
        throw new java.io.IOException(te);
-
 
208595
      }
-
 
208596
    }
-
 
208597
 
-
 
208598
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
208599
      try {
-
 
208600
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
208601
      } catch (org.apache.thrift.TException te) {
-
 
208602
        throw new java.io.IOException(te);
-
 
208603
      }
-
 
208604
    }
-
 
208605
 
-
 
208606
  }
-
 
208607
 
-
 
208608
  public static class getReturnOrderInfoList_args implements org.apache.thrift.TBase<getReturnOrderInfoList_args, getReturnOrderInfoList_args._Fields>, java.io.Serializable, Cloneable   {
-
 
208609
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnOrderInfoList_args");
-
 
208610
 
-
 
208611
    private static final org.apache.thrift.protocol.TField ORDER_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("order_ids", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
208612
 
-
 
208613
    private List<Long> order_ids; // required
-
 
208614
 
-
 
208615
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
208616
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
208617
      ORDER_IDS((short)1, "order_ids");
-
 
208618
 
-
 
208619
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
208620
 
-
 
208621
      static {
-
 
208622
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
208623
          byName.put(field.getFieldName(), field);
-
 
208624
        }
-
 
208625
      }
-
 
208626
 
-
 
208627
      /**
-
 
208628
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
208629
       */
-
 
208630
      public static _Fields findByThriftId(int fieldId) {
-
 
208631
        switch(fieldId) {
-
 
208632
          case 1: // ORDER_IDS
-
 
208633
            return ORDER_IDS;
-
 
208634
          default:
-
 
208635
            return null;
-
 
208636
        }
-
 
208637
      }
-
 
208638
 
-
 
208639
      /**
-
 
208640
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
208641
       * if it is not found.
-
 
208642
       */
-
 
208643
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
208644
        _Fields fields = findByThriftId(fieldId);
-
 
208645
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
208646
        return fields;
-
 
208647
      }
-
 
208648
 
-
 
208649
      /**
-
 
208650
       * Find the _Fields constant that matches name, or null if its not found.
-
 
208651
       */
-
 
208652
      public static _Fields findByName(String name) {
-
 
208653
        return byName.get(name);
-
 
208654
      }
-
 
208655
 
-
 
208656
      private final short _thriftId;
-
 
208657
      private final String _fieldName;
-
 
208658
 
-
 
208659
      _Fields(short thriftId, String fieldName) {
-
 
208660
        _thriftId = thriftId;
-
 
208661
        _fieldName = fieldName;
-
 
208662
      }
-
 
208663
 
-
 
208664
      public short getThriftFieldId() {
-
 
208665
        return _thriftId;
-
 
208666
      }
-
 
208667
 
-
 
208668
      public String getFieldName() {
-
 
208669
        return _fieldName;
-
 
208670
      }
-
 
208671
    }
-
 
208672
 
-
 
208673
    // isset id assignments
-
 
208674
 
-
 
208675
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
208676
    static {
-
 
208677
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
208678
      tmpMap.put(_Fields.ORDER_IDS, new org.apache.thrift.meta_data.FieldMetaData("order_ids", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
208679
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
208680
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
208681
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
208682
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReturnOrderInfoList_args.class, metaDataMap);
-
 
208683
    }
-
 
208684
 
-
 
208685
    public getReturnOrderInfoList_args() {
-
 
208686
    }
-
 
208687
 
-
 
208688
    public getReturnOrderInfoList_args(
-
 
208689
      List<Long> order_ids)
-
 
208690
    {
-
 
208691
      this();
-
 
208692
      this.order_ids = order_ids;
-
 
208693
    }
-
 
208694
 
-
 
208695
    /**
-
 
208696
     * Performs a deep copy on <i>other</i>.
-
 
208697
     */
-
 
208698
    public getReturnOrderInfoList_args(getReturnOrderInfoList_args other) {
-
 
208699
      if (other.isSetOrder_ids()) {
-
 
208700
        List<Long> __this__order_ids = new ArrayList<Long>();
-
 
208701
        for (Long other_element : other.order_ids) {
-
 
208702
          __this__order_ids.add(other_element);
-
 
208703
        }
-
 
208704
        this.order_ids = __this__order_ids;
-
 
208705
      }
-
 
208706
    }
-
 
208707
 
-
 
208708
    public getReturnOrderInfoList_args deepCopy() {
-
 
208709
      return new getReturnOrderInfoList_args(this);
-
 
208710
    }
-
 
208711
 
-
 
208712
    @Override
-
 
208713
    public void clear() {
-
 
208714
      this.order_ids = null;
-
 
208715
    }
-
 
208716
 
-
 
208717
    public int getOrder_idsSize() {
-
 
208718
      return (this.order_ids == null) ? 0 : this.order_ids.size();
-
 
208719
    }
-
 
208720
 
-
 
208721
    public java.util.Iterator<Long> getOrder_idsIterator() {
-
 
208722
      return (this.order_ids == null) ? null : this.order_ids.iterator();
-
 
208723
    }
-
 
208724
 
-
 
208725
    public void addToOrder_ids(long elem) {
-
 
208726
      if (this.order_ids == null) {
-
 
208727
        this.order_ids = new ArrayList<Long>();
-
 
208728
      }
-
 
208729
      this.order_ids.add(elem);
-
 
208730
    }
-
 
208731
 
-
 
208732
    public List<Long> getOrder_ids() {
-
 
208733
      return this.order_ids;
-
 
208734
    }
-
 
208735
 
-
 
208736
    public void setOrder_ids(List<Long> order_ids) {
-
 
208737
      this.order_ids = order_ids;
-
 
208738
    }
-
 
208739
 
-
 
208740
    public void unsetOrder_ids() {
-
 
208741
      this.order_ids = null;
-
 
208742
    }
-
 
208743
 
-
 
208744
    /** Returns true if field order_ids is set (has been assigned a value) and false otherwise */
-
 
208745
    public boolean isSetOrder_ids() {
-
 
208746
      return this.order_ids != null;
-
 
208747
    }
-
 
208748
 
-
 
208749
    public void setOrder_idsIsSet(boolean value) {
-
 
208750
      if (!value) {
-
 
208751
        this.order_ids = null;
-
 
208752
      }
-
 
208753
    }
-
 
208754
 
-
 
208755
    public void setFieldValue(_Fields field, Object value) {
-
 
208756
      switch (field) {
-
 
208757
      case ORDER_IDS:
-
 
208758
        if (value == null) {
-
 
208759
          unsetOrder_ids();
-
 
208760
        } else {
-
 
208761
          setOrder_ids((List<Long>)value);
-
 
208762
        }
-
 
208763
        break;
-
 
208764
 
-
 
208765
      }
-
 
208766
    }
-
 
208767
 
-
 
208768
    public Object getFieldValue(_Fields field) {
-
 
208769
      switch (field) {
-
 
208770
      case ORDER_IDS:
-
 
208771
        return getOrder_ids();
-
 
208772
 
-
 
208773
      }
-
 
208774
      throw new IllegalStateException();
-
 
208775
    }
-
 
208776
 
-
 
208777
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
208778
    public boolean isSet(_Fields field) {
-
 
208779
      if (field == null) {
-
 
208780
        throw new IllegalArgumentException();
-
 
208781
      }
-
 
208782
 
-
 
208783
      switch (field) {
-
 
208784
      case ORDER_IDS:
-
 
208785
        return isSetOrder_ids();
-
 
208786
      }
-
 
208787
      throw new IllegalStateException();
-
 
208788
    }
-
 
208789
 
-
 
208790
    @Override
-
 
208791
    public boolean equals(Object that) {
-
 
208792
      if (that == null)
-
 
208793
        return false;
-
 
208794
      if (that instanceof getReturnOrderInfoList_args)
-
 
208795
        return this.equals((getReturnOrderInfoList_args)that);
-
 
208796
      return false;
-
 
208797
    }
-
 
208798
 
-
 
208799
    public boolean equals(getReturnOrderInfoList_args that) {
-
 
208800
      if (that == null)
-
 
208801
        return false;
-
 
208802
 
-
 
208803
      boolean this_present_order_ids = true && this.isSetOrder_ids();
-
 
208804
      boolean that_present_order_ids = true && that.isSetOrder_ids();
-
 
208805
      if (this_present_order_ids || that_present_order_ids) {
-
 
208806
        if (!(this_present_order_ids && that_present_order_ids))
-
 
208807
          return false;
-
 
208808
        if (!this.order_ids.equals(that.order_ids))
-
 
208809
          return false;
-
 
208810
      }
-
 
208811
 
-
 
208812
      return true;
-
 
208813
    }
-
 
208814
 
-
 
208815
    @Override
-
 
208816
    public int hashCode() {
-
 
208817
      return 0;
-
 
208818
    }
-
 
208819
 
-
 
208820
    public int compareTo(getReturnOrderInfoList_args other) {
-
 
208821
      if (!getClass().equals(other.getClass())) {
-
 
208822
        return getClass().getName().compareTo(other.getClass().getName());
-
 
208823
      }
-
 
208824
 
-
 
208825
      int lastComparison = 0;
-
 
208826
      getReturnOrderInfoList_args typedOther = (getReturnOrderInfoList_args)other;
-
 
208827
 
-
 
208828
      lastComparison = Boolean.valueOf(isSetOrder_ids()).compareTo(typedOther.isSetOrder_ids());
-
 
208829
      if (lastComparison != 0) {
-
 
208830
        return lastComparison;
-
 
208831
      }
-
 
208832
      if (isSetOrder_ids()) {
-
 
208833
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.order_ids, typedOther.order_ids);
-
 
208834
        if (lastComparison != 0) {
-
 
208835
          return lastComparison;
-
 
208836
        }
-
 
208837
      }
-
 
208838
      return 0;
-
 
208839
    }
-
 
208840
 
-
 
208841
    public _Fields fieldForId(int fieldId) {
-
 
208842
      return _Fields.findByThriftId(fieldId);
-
 
208843
    }
-
 
208844
 
-
 
208845
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
208846
      org.apache.thrift.protocol.TField field;
-
 
208847
      iprot.readStructBegin();
-
 
208848
      while (true)
-
 
208849
      {
-
 
208850
        field = iprot.readFieldBegin();
-
 
208851
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
208852
          break;
-
 
208853
        }
-
 
208854
        switch (field.id) {
-
 
208855
          case 1: // ORDER_IDS
-
 
208856
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
208857
              {
-
 
208858
                org.apache.thrift.protocol.TList _list672 = iprot.readListBegin();
-
 
208859
                this.order_ids = new ArrayList<Long>(_list672.size);
-
 
208860
                for (int _i673 = 0; _i673 < _list672.size; ++_i673)
-
 
208861
                {
-
 
208862
                  long _elem674; // required
-
 
208863
                  _elem674 = iprot.readI64();
-
 
208864
                  this.order_ids.add(_elem674);
-
 
208865
                }
-
 
208866
                iprot.readListEnd();
-
 
208867
              }
-
 
208868
            } else { 
-
 
208869
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
208870
            }
-
 
208871
            break;
-
 
208872
          default:
-
 
208873
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
208874
        }
-
 
208875
        iprot.readFieldEnd();
-
 
208876
      }
-
 
208877
      iprot.readStructEnd();
-
 
208878
      validate();
-
 
208879
    }
-
 
208880
 
-
 
208881
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
208882
      validate();
-
 
208883
 
-
 
208884
      oprot.writeStructBegin(STRUCT_DESC);
-
 
208885
      if (this.order_ids != null) {
-
 
208886
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
-
 
208887
        {
-
 
208888
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
-
 
208889
          for (long _iter675 : this.order_ids)
-
 
208890
          {
-
 
208891
            oprot.writeI64(_iter675);
-
 
208892
          }
-
 
208893
          oprot.writeListEnd();
-
 
208894
        }
-
 
208895
        oprot.writeFieldEnd();
-
 
208896
      }
-
 
208897
      oprot.writeFieldStop();
-
 
208898
      oprot.writeStructEnd();
-
 
208899
    }
-
 
208900
 
-
 
208901
    @Override
-
 
208902
    public String toString() {
-
 
208903
      StringBuilder sb = new StringBuilder("getReturnOrderInfoList_args(");
-
 
208904
      boolean first = true;
-
 
208905
 
-
 
208906
      sb.append("order_ids:");
-
 
208907
      if (this.order_ids == null) {
-
 
208908
        sb.append("null");
-
 
208909
      } else {
-
 
208910
        sb.append(this.order_ids);
-
 
208911
      }
-
 
208912
      first = false;
-
 
208913
      sb.append(")");
-
 
208914
      return sb.toString();
-
 
208915
    }
-
 
208916
 
-
 
208917
    public void validate() throws org.apache.thrift.TException {
-
 
208918
      // check for required fields
-
 
208919
    }
-
 
208920
 
-
 
208921
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
208922
      try {
-
 
208923
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
208924
      } catch (org.apache.thrift.TException te) {
-
 
208925
        throw new java.io.IOException(te);
-
 
208926
      }
-
 
208927
    }
-
 
208928
 
-
 
208929
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
208930
      try {
-
 
208931
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
208932
      } catch (org.apache.thrift.TException te) {
-
 
208933
        throw new java.io.IOException(te);
-
 
208934
      }
-
 
208935
    }
-
 
208936
 
-
 
208937
  }
-
 
208938
 
-
 
208939
  public static class getReturnOrderInfoList_result implements org.apache.thrift.TBase<getReturnOrderInfoList_result, getReturnOrderInfoList_result._Fields>, java.io.Serializable, Cloneable   {
-
 
208940
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnOrderInfoList_result");
-
 
208941
 
-
 
208942
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0);
-
 
208943
 
-
 
208944
    private Map<Long,List<ReturnOrderInfo>> success; // required
-
 
208945
 
-
 
208946
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
208947
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
208948
      SUCCESS((short)0, "success");
-
 
208949
 
-
 
208950
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
208951
 
-
 
208952
      static {
-
 
208953
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
208954
          byName.put(field.getFieldName(), field);
-
 
208955
        }
-
 
208956
      }
-
 
208957
 
-
 
208958
      /**
-
 
208959
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
208960
       */
-
 
208961
      public static _Fields findByThriftId(int fieldId) {
-
 
208962
        switch(fieldId) {
-
 
208963
          case 0: // SUCCESS
-
 
208964
            return SUCCESS;
-
 
208965
          default:
-
 
208966
            return null;
-
 
208967
        }
-
 
208968
      }
-
 
208969
 
-
 
208970
      /**
-
 
208971
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
208972
       * if it is not found.
-
 
208973
       */
-
 
208974
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
208975
        _Fields fields = findByThriftId(fieldId);
-
 
208976
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
208977
        return fields;
-
 
208978
      }
-
 
208979
 
-
 
208980
      /**
-
 
208981
       * Find the _Fields constant that matches name, or null if its not found.
-
 
208982
       */
-
 
208983
      public static _Fields findByName(String name) {
-
 
208984
        return byName.get(name);
-
 
208985
      }
-
 
208986
 
-
 
208987
      private final short _thriftId;
-
 
208988
      private final String _fieldName;
-
 
208989
 
-
 
208990
      _Fields(short thriftId, String fieldName) {
-
 
208991
        _thriftId = thriftId;
-
 
208992
        _fieldName = fieldName;
-
 
208993
      }
-
 
208994
 
-
 
208995
      public short getThriftFieldId() {
-
 
208996
        return _thriftId;
-
 
208997
      }
-
 
208998
 
-
 
208999
      public String getFieldName() {
-
 
209000
        return _fieldName;
-
 
209001
      }
-
 
209002
    }
-
 
209003
 
-
 
209004
    // isset id assignments
-
 
209005
 
-
 
209006
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
209007
    static {
-
 
209008
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
209009
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
209010
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
209011
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
209012
              new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
209013
                  new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnOrderInfo.class)))));
-
 
209014
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
209015
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReturnOrderInfoList_result.class, metaDataMap);
-
 
209016
    }
-
 
209017
 
-
 
209018
    public getReturnOrderInfoList_result() {
-
 
209019
    }
-
 
209020
 
-
 
209021
    public getReturnOrderInfoList_result(
-
 
209022
      Map<Long,List<ReturnOrderInfo>> success)
-
 
209023
    {
-
 
209024
      this();
-
 
209025
      this.success = success;
-
 
209026
    }
-
 
209027
 
-
 
209028
    /**
-
 
209029
     * Performs a deep copy on <i>other</i>.
-
 
209030
     */
-
 
209031
    public getReturnOrderInfoList_result(getReturnOrderInfoList_result other) {
-
 
209032
      if (other.isSetSuccess()) {
-
 
209033
        Map<Long,List<ReturnOrderInfo>> __this__success = new HashMap<Long,List<ReturnOrderInfo>>();
-
 
209034
        for (Map.Entry<Long, List<ReturnOrderInfo>> other_element : other.success.entrySet()) {
-
 
209035
 
-
 
209036
          Long other_element_key = other_element.getKey();
-
 
209037
          List<ReturnOrderInfo> other_element_value = other_element.getValue();
-
 
209038
 
-
 
209039
          Long __this__success_copy_key = other_element_key;
-
 
209040
 
-
 
209041
          List<ReturnOrderInfo> __this__success_copy_value = new ArrayList<ReturnOrderInfo>();
-
 
209042
          for (ReturnOrderInfo other_element_value_element : other_element_value) {
-
 
209043
            __this__success_copy_value.add(new ReturnOrderInfo(other_element_value_element));
-
 
209044
          }
-
 
209045
 
-
 
209046
          __this__success.put(__this__success_copy_key, __this__success_copy_value);
-
 
209047
        }
-
 
209048
        this.success = __this__success;
-
 
209049
      }
-
 
209050
    }
-
 
209051
 
-
 
209052
    public getReturnOrderInfoList_result deepCopy() {
-
 
209053
      return new getReturnOrderInfoList_result(this);
-
 
209054
    }
-
 
209055
 
-
 
209056
    @Override
-
 
209057
    public void clear() {
-
 
209058
      this.success = null;
-
 
209059
    }
-
 
209060
 
-
 
209061
    public int getSuccessSize() {
-
 
209062
      return (this.success == null) ? 0 : this.success.size();
-
 
209063
    }
-
 
209064
 
-
 
209065
    public void putToSuccess(long key, List<ReturnOrderInfo> val) {
-
 
209066
      if (this.success == null) {
-
 
209067
        this.success = new HashMap<Long,List<ReturnOrderInfo>>();
-
 
209068
      }
-
 
209069
      this.success.put(key, val);
-
 
209070
    }
-
 
209071
 
-
 
209072
    public Map<Long,List<ReturnOrderInfo>> getSuccess() {
-
 
209073
      return this.success;
-
 
209074
    }
-
 
209075
 
-
 
209076
    public void setSuccess(Map<Long,List<ReturnOrderInfo>> success) {
-
 
209077
      this.success = success;
-
 
209078
    }
-
 
209079
 
-
 
209080
    public void unsetSuccess() {
-
 
209081
      this.success = null;
-
 
209082
    }
-
 
209083
 
-
 
209084
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
209085
    public boolean isSetSuccess() {
-
 
209086
      return this.success != null;
-
 
209087
    }
-
 
209088
 
-
 
209089
    public void setSuccessIsSet(boolean value) {
-
 
209090
      if (!value) {
-
 
209091
        this.success = null;
-
 
209092
      }
-
 
209093
    }
-
 
209094
 
-
 
209095
    public void setFieldValue(_Fields field, Object value) {
-
 
209096
      switch (field) {
-
 
209097
      case SUCCESS:
-
 
209098
        if (value == null) {
-
 
209099
          unsetSuccess();
-
 
209100
        } else {
-
 
209101
          setSuccess((Map<Long,List<ReturnOrderInfo>>)value);
-
 
209102
        }
-
 
209103
        break;
-
 
209104
 
-
 
209105
      }
-
 
209106
    }
-
 
209107
 
-
 
209108
    public Object getFieldValue(_Fields field) {
-
 
209109
      switch (field) {
-
 
209110
      case SUCCESS:
-
 
209111
        return getSuccess();
-
 
209112
 
-
 
209113
      }
-
 
209114
      throw new IllegalStateException();
-
 
209115
    }
-
 
209116
 
-
 
209117
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
209118
    public boolean isSet(_Fields field) {
-
 
209119
      if (field == null) {
-
 
209120
        throw new IllegalArgumentException();
-
 
209121
      }
-
 
209122
 
-
 
209123
      switch (field) {
-
 
209124
      case SUCCESS:
-
 
209125
        return isSetSuccess();
-
 
209126
      }
-
 
209127
      throw new IllegalStateException();
-
 
209128
    }
-
 
209129
 
-
 
209130
    @Override
-
 
209131
    public boolean equals(Object that) {
-
 
209132
      if (that == null)
-
 
209133
        return false;
-
 
209134
      if (that instanceof getReturnOrderInfoList_result)
-
 
209135
        return this.equals((getReturnOrderInfoList_result)that);
-
 
209136
      return false;
-
 
209137
    }
-
 
209138
 
-
 
209139
    public boolean equals(getReturnOrderInfoList_result that) {
-
 
209140
      if (that == null)
-
 
209141
        return false;
-
 
209142
 
-
 
209143
      boolean this_present_success = true && this.isSetSuccess();
-
 
209144
      boolean that_present_success = true && that.isSetSuccess();
-
 
209145
      if (this_present_success || that_present_success) {
-
 
209146
        if (!(this_present_success && that_present_success))
-
 
209147
          return false;
-
 
209148
        if (!this.success.equals(that.success))
-
 
209149
          return false;
-
 
209150
      }
-
 
209151
 
-
 
209152
      return true;
-
 
209153
    }
-
 
209154
 
-
 
209155
    @Override
-
 
209156
    public int hashCode() {
-
 
209157
      return 0;
-
 
209158
    }
-
 
209159
 
-
 
209160
    public int compareTo(getReturnOrderInfoList_result other) {
-
 
209161
      if (!getClass().equals(other.getClass())) {
-
 
209162
        return getClass().getName().compareTo(other.getClass().getName());
-
 
209163
      }
-
 
209164
 
-
 
209165
      int lastComparison = 0;
-
 
209166
      getReturnOrderInfoList_result typedOther = (getReturnOrderInfoList_result)other;
-
 
209167
 
-
 
209168
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
209169
      if (lastComparison != 0) {
-
 
209170
        return lastComparison;
-
 
209171
      }
-
 
209172
      if (isSetSuccess()) {
-
 
209173
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
209174
        if (lastComparison != 0) {
-
 
209175
          return lastComparison;
-
 
209176
        }
-
 
209177
      }
-
 
209178
      return 0;
-
 
209179
    }
-
 
209180
 
-
 
209181
    public _Fields fieldForId(int fieldId) {
-
 
209182
      return _Fields.findByThriftId(fieldId);
-
 
209183
    }
-
 
209184
 
-
 
209185
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
209186
      org.apache.thrift.protocol.TField field;
-
 
209187
      iprot.readStructBegin();
-
 
209188
      while (true)
-
 
209189
      {
-
 
209190
        field = iprot.readFieldBegin();
-
 
209191
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
209192
          break;
-
 
209193
        }
-
 
209194
        switch (field.id) {
-
 
209195
          case 0: // SUCCESS
-
 
209196
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
209197
              {
-
 
209198
                org.apache.thrift.protocol.TMap _map676 = iprot.readMapBegin();
-
 
209199
                this.success = new HashMap<Long,List<ReturnOrderInfo>>(2*_map676.size);
-
 
209200
                for (int _i677 = 0; _i677 < _map676.size; ++_i677)
-
 
209201
                {
-
 
209202
                  long _key678; // required
-
 
209203
                  List<ReturnOrderInfo> _val679; // required
-
 
209204
                  _key678 = iprot.readI64();
-
 
209205
                  {
-
 
209206
                    org.apache.thrift.protocol.TList _list680 = iprot.readListBegin();
-
 
209207
                    _val679 = new ArrayList<ReturnOrderInfo>(_list680.size);
-
 
209208
                    for (int _i681 = 0; _i681 < _list680.size; ++_i681)
-
 
209209
                    {
-
 
209210
                      ReturnOrderInfo _elem682; // required
-
 
209211
                      _elem682 = new ReturnOrderInfo();
-
 
209212
                      _elem682.read(iprot);
-
 
209213
                      _val679.add(_elem682);
-
 
209214
                    }
-
 
209215
                    iprot.readListEnd();
-
 
209216
                  }
-
 
209217
                  this.success.put(_key678, _val679);
-
 
209218
                }
-
 
209219
                iprot.readMapEnd();
-
 
209220
              }
-
 
209221
            } else { 
-
 
209222
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
209223
            }
-
 
209224
            break;
-
 
209225
          default:
-
 
209226
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
209227
        }
-
 
209228
        iprot.readFieldEnd();
-
 
209229
      }
-
 
209230
      iprot.readStructEnd();
-
 
209231
      validate();
-
 
209232
    }
-
 
209233
 
-
 
209234
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
209235
      oprot.writeStructBegin(STRUCT_DESC);
-
 
209236
 
-
 
209237
      if (this.isSetSuccess()) {
-
 
209238
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
209239
        {
-
 
209240
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.success.size()));
-
 
209241
          for (Map.Entry<Long, List<ReturnOrderInfo>> _iter683 : this.success.entrySet())
-
 
209242
          {
-
 
209243
            oprot.writeI64(_iter683.getKey());
-
 
209244
            {
-
 
209245
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter683.getValue().size()));
-
 
209246
              for (ReturnOrderInfo _iter684 : _iter683.getValue())
-
 
209247
              {
-
 
209248
                _iter684.write(oprot);
-
 
209249
              }
-
 
209250
              oprot.writeListEnd();
-
 
209251
            }
-
 
209252
          }
-
 
209253
          oprot.writeMapEnd();
-
 
209254
        }
-
 
209255
        oprot.writeFieldEnd();
-
 
209256
      }
-
 
209257
      oprot.writeFieldStop();
-
 
209258
      oprot.writeStructEnd();
-
 
209259
    }
-
 
209260
 
-
 
209261
    @Override
-
 
209262
    public String toString() {
-
 
209263
      StringBuilder sb = new StringBuilder("getReturnOrderInfoList_result(");
-
 
209264
      boolean first = true;
-
 
209265
 
-
 
209266
      sb.append("success:");
-
 
209267
      if (this.success == null) {
-
 
209268
        sb.append("null");
-
 
209269
      } else {
-
 
209270
        sb.append(this.success);
-
 
209271
      }
-
 
209272
      first = false;
-
 
209273
      sb.append(")");
-
 
209274
      return sb.toString();
-
 
209275
    }
-
 
209276
 
-
 
209277
    public void validate() throws org.apache.thrift.TException {
-
 
209278
      // check for required fields
-
 
209279
    }
-
 
209280
 
-
 
209281
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
209282
      try {
-
 
209283
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
209284
      } catch (org.apache.thrift.TException te) {
-
 
209285
        throw new java.io.IOException(te);
-
 
209286
      }
-
 
209287
    }
-
 
209288
 
-
 
209289
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
209290
      try {
-
 
209291
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
209292
      } catch (org.apache.thrift.TException te) {
-
 
209293
        throw new java.io.IOException(te);
-
 
209294
      }
-
 
209295
    }
-
 
209296
 
-
 
209297
  }
-
 
209298
 
-
 
209299
  public static class getReturnOrderInfoListAsByStatus_args implements org.apache.thrift.TBase<getReturnOrderInfoListAsByStatus_args, getReturnOrderInfoListAsByStatus_args._Fields>, java.io.Serializable, Cloneable   {
-
 
209300
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnOrderInfoListAsByStatus_args");
-
 
209301
 
-
 
209302
    private static final org.apache.thrift.protocol.TField ORDER_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("order_ids", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
209303
    private static final org.apache.thrift.protocol.TField STATUSES_FIELD_DESC = new org.apache.thrift.protocol.TField("statuses", org.apache.thrift.protocol.TType.LIST, (short)2);
-
 
209304
 
-
 
209305
    private List<Long> order_ids; // required
-
 
209306
    private List<String> statuses; // required
-
 
209307
 
-
 
209308
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
209309
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
209310
      ORDER_IDS((short)1, "order_ids"),
-
 
209311
      STATUSES((short)2, "statuses");
-
 
209312
 
-
 
209313
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
209314
 
-
 
209315
      static {
-
 
209316
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
209317
          byName.put(field.getFieldName(), field);
-
 
209318
        }
-
 
209319
      }
-
 
209320
 
-
 
209321
      /**
-
 
209322
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
209323
       */
-
 
209324
      public static _Fields findByThriftId(int fieldId) {
-
 
209325
        switch(fieldId) {
-
 
209326
          case 1: // ORDER_IDS
-
 
209327
            return ORDER_IDS;
-
 
209328
          case 2: // STATUSES
-
 
209329
            return STATUSES;
-
 
209330
          default:
-
 
209331
            return null;
-
 
209332
        }
-
 
209333
      }
-
 
209334
 
-
 
209335
      /**
-
 
209336
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
209337
       * if it is not found.
-
 
209338
       */
-
 
209339
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
209340
        _Fields fields = findByThriftId(fieldId);
-
 
209341
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
209342
        return fields;
-
 
209343
      }
-
 
209344
 
-
 
209345
      /**
-
 
209346
       * Find the _Fields constant that matches name, or null if its not found.
-
 
209347
       */
-
 
209348
      public static _Fields findByName(String name) {
-
 
209349
        return byName.get(name);
-
 
209350
      }
-
 
209351
 
-
 
209352
      private final short _thriftId;
-
 
209353
      private final String _fieldName;
-
 
209354
 
-
 
209355
      _Fields(short thriftId, String fieldName) {
-
 
209356
        _thriftId = thriftId;
-
 
209357
        _fieldName = fieldName;
-
 
209358
      }
-
 
209359
 
-
 
209360
      public short getThriftFieldId() {
-
 
209361
        return _thriftId;
-
 
209362
      }
-
 
209363
 
-
 
209364
      public String getFieldName() {
-
 
209365
        return _fieldName;
-
 
209366
      }
-
 
209367
    }
-
 
209368
 
-
 
209369
    // isset id assignments
-
 
209370
 
-
 
209371
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
209372
    static {
-
 
209373
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
209374
      tmpMap.put(_Fields.ORDER_IDS, new org.apache.thrift.meta_data.FieldMetaData("order_ids", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
209375
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
209376
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
209377
      tmpMap.put(_Fields.STATUSES, new org.apache.thrift.meta_data.FieldMetaData("statuses", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
209378
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
209379
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
-
 
209380
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
209381
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReturnOrderInfoListAsByStatus_args.class, metaDataMap);
-
 
209382
    }
-
 
209383
 
-
 
209384
    public getReturnOrderInfoListAsByStatus_args() {
-
 
209385
    }
-
 
209386
 
-
 
209387
    public getReturnOrderInfoListAsByStatus_args(
-
 
209388
      List<Long> order_ids,
-
 
209389
      List<String> statuses)
-
 
209390
    {
-
 
209391
      this();
-
 
209392
      this.order_ids = order_ids;
-
 
209393
      this.statuses = statuses;
-
 
209394
    }
-
 
209395
 
-
 
209396
    /**
-
 
209397
     * Performs a deep copy on <i>other</i>.
-
 
209398
     */
-
 
209399
    public getReturnOrderInfoListAsByStatus_args(getReturnOrderInfoListAsByStatus_args other) {
-
 
209400
      if (other.isSetOrder_ids()) {
-
 
209401
        List<Long> __this__order_ids = new ArrayList<Long>();
-
 
209402
        for (Long other_element : other.order_ids) {
-
 
209403
          __this__order_ids.add(other_element);
-
 
209404
        }
-
 
209405
        this.order_ids = __this__order_ids;
-
 
209406
      }
-
 
209407
      if (other.isSetStatuses()) {
-
 
209408
        List<String> __this__statuses = new ArrayList<String>();
-
 
209409
        for (String other_element : other.statuses) {
-
 
209410
          __this__statuses.add(other_element);
-
 
209411
        }
-
 
209412
        this.statuses = __this__statuses;
-
 
209413
      }
-
 
209414
    }
-
 
209415
 
-
 
209416
    public getReturnOrderInfoListAsByStatus_args deepCopy() {
-
 
209417
      return new getReturnOrderInfoListAsByStatus_args(this);
-
 
209418
    }
-
 
209419
 
-
 
209420
    @Override
-
 
209421
    public void clear() {
-
 
209422
      this.order_ids = null;
-
 
209423
      this.statuses = null;
-
 
209424
    }
-
 
209425
 
-
 
209426
    public int getOrder_idsSize() {
-
 
209427
      return (this.order_ids == null) ? 0 : this.order_ids.size();
-
 
209428
    }
-
 
209429
 
-
 
209430
    public java.util.Iterator<Long> getOrder_idsIterator() {
-
 
209431
      return (this.order_ids == null) ? null : this.order_ids.iterator();
-
 
209432
    }
-
 
209433
 
-
 
209434
    public void addToOrder_ids(long elem) {
-
 
209435
      if (this.order_ids == null) {
-
 
209436
        this.order_ids = new ArrayList<Long>();
-
 
209437
      }
-
 
209438
      this.order_ids.add(elem);
-
 
209439
    }
-
 
209440
 
-
 
209441
    public List<Long> getOrder_ids() {
-
 
209442
      return this.order_ids;
-
 
209443
    }
-
 
209444
 
-
 
209445
    public void setOrder_ids(List<Long> order_ids) {
-
 
209446
      this.order_ids = order_ids;
-
 
209447
    }
-
 
209448
 
-
 
209449
    public void unsetOrder_ids() {
-
 
209450
      this.order_ids = null;
-
 
209451
    }
-
 
209452
 
-
 
209453
    /** Returns true if field order_ids is set (has been assigned a value) and false otherwise */
-
 
209454
    public boolean isSetOrder_ids() {
-
 
209455
      return this.order_ids != null;
-
 
209456
    }
-
 
209457
 
-
 
209458
    public void setOrder_idsIsSet(boolean value) {
-
 
209459
      if (!value) {
-
 
209460
        this.order_ids = null;
-
 
209461
      }
-
 
209462
    }
-
 
209463
 
-
 
209464
    public int getStatusesSize() {
-
 
209465
      return (this.statuses == null) ? 0 : this.statuses.size();
-
 
209466
    }
-
 
209467
 
-
 
209468
    public java.util.Iterator<String> getStatusesIterator() {
-
 
209469
      return (this.statuses == null) ? null : this.statuses.iterator();
-
 
209470
    }
-
 
209471
 
-
 
209472
    public void addToStatuses(String elem) {
-
 
209473
      if (this.statuses == null) {
-
 
209474
        this.statuses = new ArrayList<String>();
-
 
209475
      }
-
 
209476
      this.statuses.add(elem);
-
 
209477
    }
-
 
209478
 
-
 
209479
    public List<String> getStatuses() {
-
 
209480
      return this.statuses;
-
 
209481
    }
-
 
209482
 
-
 
209483
    public void setStatuses(List<String> statuses) {
-
 
209484
      this.statuses = statuses;
-
 
209485
    }
-
 
209486
 
-
 
209487
    public void unsetStatuses() {
-
 
209488
      this.statuses = null;
-
 
209489
    }
-
 
209490
 
-
 
209491
    /** Returns true if field statuses is set (has been assigned a value) and false otherwise */
-
 
209492
    public boolean isSetStatuses() {
-
 
209493
      return this.statuses != null;
-
 
209494
    }
-
 
209495
 
-
 
209496
    public void setStatusesIsSet(boolean value) {
-
 
209497
      if (!value) {
-
 
209498
        this.statuses = null;
-
 
209499
      }
-
 
209500
    }
-
 
209501
 
-
 
209502
    public void setFieldValue(_Fields field, Object value) {
-
 
209503
      switch (field) {
-
 
209504
      case ORDER_IDS:
-
 
209505
        if (value == null) {
-
 
209506
          unsetOrder_ids();
-
 
209507
        } else {
-
 
209508
          setOrder_ids((List<Long>)value);
-
 
209509
        }
-
 
209510
        break;
-
 
209511
 
-
 
209512
      case STATUSES:
-
 
209513
        if (value == null) {
-
 
209514
          unsetStatuses();
-
 
209515
        } else {
-
 
209516
          setStatuses((List<String>)value);
-
 
209517
        }
-
 
209518
        break;
-
 
209519
 
-
 
209520
      }
-
 
209521
    }
-
 
209522
 
-
 
209523
    public Object getFieldValue(_Fields field) {
-
 
209524
      switch (field) {
-
 
209525
      case ORDER_IDS:
-
 
209526
        return getOrder_ids();
-
 
209527
 
-
 
209528
      case STATUSES:
-
 
209529
        return getStatuses();
-
 
209530
 
-
 
209531
      }
-
 
209532
      throw new IllegalStateException();
-
 
209533
    }
-
 
209534
 
-
 
209535
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
209536
    public boolean isSet(_Fields field) {
-
 
209537
      if (field == null) {
-
 
209538
        throw new IllegalArgumentException();
-
 
209539
      }
-
 
209540
 
-
 
209541
      switch (field) {
-
 
209542
      case ORDER_IDS:
-
 
209543
        return isSetOrder_ids();
-
 
209544
      case STATUSES:
-
 
209545
        return isSetStatuses();
-
 
209546
      }
-
 
209547
      throw new IllegalStateException();
-
 
209548
    }
-
 
209549
 
-
 
209550
    @Override
-
 
209551
    public boolean equals(Object that) {
-
 
209552
      if (that == null)
-
 
209553
        return false;
-
 
209554
      if (that instanceof getReturnOrderInfoListAsByStatus_args)
-
 
209555
        return this.equals((getReturnOrderInfoListAsByStatus_args)that);
-
 
209556
      return false;
-
 
209557
    }
-
 
209558
 
-
 
209559
    public boolean equals(getReturnOrderInfoListAsByStatus_args that) {
-
 
209560
      if (that == null)
-
 
209561
        return false;
-
 
209562
 
-
 
209563
      boolean this_present_order_ids = true && this.isSetOrder_ids();
-
 
209564
      boolean that_present_order_ids = true && that.isSetOrder_ids();
-
 
209565
      if (this_present_order_ids || that_present_order_ids) {
-
 
209566
        if (!(this_present_order_ids && that_present_order_ids))
-
 
209567
          return false;
-
 
209568
        if (!this.order_ids.equals(that.order_ids))
-
 
209569
          return false;
-
 
209570
      }
-
 
209571
 
-
 
209572
      boolean this_present_statuses = true && this.isSetStatuses();
-
 
209573
      boolean that_present_statuses = true && that.isSetStatuses();
-
 
209574
      if (this_present_statuses || that_present_statuses) {
-
 
209575
        if (!(this_present_statuses && that_present_statuses))
-
 
209576
          return false;
-
 
209577
        if (!this.statuses.equals(that.statuses))
-
 
209578
          return false;
-
 
209579
      }
-
 
209580
 
-
 
209581
      return true;
-
 
209582
    }
-
 
209583
 
-
 
209584
    @Override
-
 
209585
    public int hashCode() {
-
 
209586
      return 0;
-
 
209587
    }
-
 
209588
 
-
 
209589
    public int compareTo(getReturnOrderInfoListAsByStatus_args other) {
-
 
209590
      if (!getClass().equals(other.getClass())) {
-
 
209591
        return getClass().getName().compareTo(other.getClass().getName());
-
 
209592
      }
-
 
209593
 
-
 
209594
      int lastComparison = 0;
-
 
209595
      getReturnOrderInfoListAsByStatus_args typedOther = (getReturnOrderInfoListAsByStatus_args)other;
-
 
209596
 
-
 
209597
      lastComparison = Boolean.valueOf(isSetOrder_ids()).compareTo(typedOther.isSetOrder_ids());
-
 
209598
      if (lastComparison != 0) {
-
 
209599
        return lastComparison;
-
 
209600
      }
-
 
209601
      if (isSetOrder_ids()) {
-
 
209602
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.order_ids, typedOther.order_ids);
-
 
209603
        if (lastComparison != 0) {
-
 
209604
          return lastComparison;
-
 
209605
        }
-
 
209606
      }
-
 
209607
      lastComparison = Boolean.valueOf(isSetStatuses()).compareTo(typedOther.isSetStatuses());
-
 
209608
      if (lastComparison != 0) {
-
 
209609
        return lastComparison;
-
 
209610
      }
-
 
209611
      if (isSetStatuses()) {
-
 
209612
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statuses, typedOther.statuses);
-
 
209613
        if (lastComparison != 0) {
-
 
209614
          return lastComparison;
-
 
209615
        }
-
 
209616
      }
-
 
209617
      return 0;
-
 
209618
    }
-
 
209619
 
-
 
209620
    public _Fields fieldForId(int fieldId) {
-
 
209621
      return _Fields.findByThriftId(fieldId);
-
 
209622
    }
-
 
209623
 
-
 
209624
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
209625
      org.apache.thrift.protocol.TField field;
-
 
209626
      iprot.readStructBegin();
-
 
209627
      while (true)
-
 
209628
      {
-
 
209629
        field = iprot.readFieldBegin();
-
 
209630
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
209631
          break;
-
 
209632
        }
-
 
209633
        switch (field.id) {
-
 
209634
          case 1: // ORDER_IDS
-
 
209635
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
209636
              {
-
 
209637
                org.apache.thrift.protocol.TList _list685 = iprot.readListBegin();
-
 
209638
                this.order_ids = new ArrayList<Long>(_list685.size);
-
 
209639
                for (int _i686 = 0; _i686 < _list685.size; ++_i686)
-
 
209640
                {
-
 
209641
                  long _elem687; // required
-
 
209642
                  _elem687 = iprot.readI64();
-
 
209643
                  this.order_ids.add(_elem687);
-
 
209644
                }
-
 
209645
                iprot.readListEnd();
-
 
209646
              }
-
 
209647
            } else { 
-
 
209648
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
209649
            }
-
 
209650
            break;
-
 
209651
          case 2: // STATUSES
-
 
209652
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
209653
              {
-
 
209654
                org.apache.thrift.protocol.TList _list688 = iprot.readListBegin();
-
 
209655
                this.statuses = new ArrayList<String>(_list688.size);
-
 
209656
                for (int _i689 = 0; _i689 < _list688.size; ++_i689)
-
 
209657
                {
-
 
209658
                  String _elem690; // required
-
 
209659
                  _elem690 = iprot.readString();
-
 
209660
                  this.statuses.add(_elem690);
-
 
209661
                }
-
 
209662
                iprot.readListEnd();
-
 
209663
              }
-
 
209664
            } else { 
-
 
209665
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
209666
            }
-
 
209667
            break;
-
 
209668
          default:
-
 
209669
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
209670
        }
-
 
209671
        iprot.readFieldEnd();
-
 
209672
      }
-
 
209673
      iprot.readStructEnd();
-
 
209674
      validate();
-
 
209675
    }
-
 
209676
 
-
 
209677
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
209678
      validate();
-
 
209679
 
-
 
209680
      oprot.writeStructBegin(STRUCT_DESC);
-
 
209681
      if (this.order_ids != null) {
-
 
209682
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
-
 
209683
        {
-
 
209684
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
-
 
209685
          for (long _iter691 : this.order_ids)
-
 
209686
          {
-
 
209687
            oprot.writeI64(_iter691);
-
 
209688
          }
-
 
209689
          oprot.writeListEnd();
-
 
209690
        }
-
 
209691
        oprot.writeFieldEnd();
-
 
209692
      }
-
 
209693
      if (this.statuses != null) {
-
 
209694
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
-
 
209695
        {
-
 
209696
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.statuses.size()));
-
 
209697
          for (String _iter692 : this.statuses)
-
 
209698
          {
-
 
209699
            oprot.writeString(_iter692);
-
 
209700
          }
-
 
209701
          oprot.writeListEnd();
-
 
209702
        }
-
 
209703
        oprot.writeFieldEnd();
-
 
209704
      }
-
 
209705
      oprot.writeFieldStop();
-
 
209706
      oprot.writeStructEnd();
-
 
209707
    }
-
 
209708
 
-
 
209709
    @Override
-
 
209710
    public String toString() {
-
 
209711
      StringBuilder sb = new StringBuilder("getReturnOrderInfoListAsByStatus_args(");
-
 
209712
      boolean first = true;
-
 
209713
 
-
 
209714
      sb.append("order_ids:");
-
 
209715
      if (this.order_ids == null) {
-
 
209716
        sb.append("null");
-
 
209717
      } else {
-
 
209718
        sb.append(this.order_ids);
-
 
209719
      }
-
 
209720
      first = false;
-
 
209721
      if (!first) sb.append(", ");
-
 
209722
      sb.append("statuses:");
-
 
209723
      if (this.statuses == null) {
-
 
209724
        sb.append("null");
-
 
209725
      } else {
-
 
209726
        sb.append(this.statuses);
-
 
209727
      }
-
 
209728
      first = false;
-
 
209729
      sb.append(")");
-
 
209730
      return sb.toString();
-
 
209731
    }
-
 
209732
 
-
 
209733
    public void validate() throws org.apache.thrift.TException {
-
 
209734
      // check for required fields
-
 
209735
    }
-
 
209736
 
-
 
209737
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
209738
      try {
-
 
209739
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
209740
      } catch (org.apache.thrift.TException te) {
-
 
209741
        throw new java.io.IOException(te);
-
 
209742
      }
-
 
209743
    }
-
 
209744
 
-
 
209745
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
209746
      try {
-
 
209747
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
209748
      } catch (org.apache.thrift.TException te) {
-
 
209749
        throw new java.io.IOException(te);
-
 
209750
      }
-
 
209751
    }
-
 
209752
 
-
 
209753
  }
-
 
209754
 
-
 
209755
  public static class getReturnOrderInfoListAsByStatus_result implements org.apache.thrift.TBase<getReturnOrderInfoListAsByStatus_result, getReturnOrderInfoListAsByStatus_result._Fields>, java.io.Serializable, Cloneable   {
-
 
209756
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnOrderInfoListAsByStatus_result");
-
 
209757
 
-
 
209758
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0);
-
 
209759
 
-
 
209760
    private Map<Long,List<ReturnOrderInfo>> success; // required
-
 
209761
 
-
 
209762
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
209763
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
209764
      SUCCESS((short)0, "success");
-
 
209765
 
-
 
209766
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
209767
 
-
 
209768
      static {
-
 
209769
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
209770
          byName.put(field.getFieldName(), field);
-
 
209771
        }
-
 
209772
      }
-
 
209773
 
-
 
209774
      /**
-
 
209775
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
209776
       */
-
 
209777
      public static _Fields findByThriftId(int fieldId) {
-
 
209778
        switch(fieldId) {
-
 
209779
          case 0: // SUCCESS
-
 
209780
            return SUCCESS;
-
 
209781
          default:
-
 
209782
            return null;
-
 
209783
        }
-
 
209784
      }
-
 
209785
 
-
 
209786
      /**
-
 
209787
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
209788
       * if it is not found.
-
 
209789
       */
-
 
209790
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
209791
        _Fields fields = findByThriftId(fieldId);
-
 
209792
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
209793
        return fields;
-
 
209794
      }
-
 
209795
 
-
 
209796
      /**
-
 
209797
       * Find the _Fields constant that matches name, or null if its not found.
-
 
209798
       */
-
 
209799
      public static _Fields findByName(String name) {
-
 
209800
        return byName.get(name);
-
 
209801
      }
-
 
209802
 
-
 
209803
      private final short _thriftId;
-
 
209804
      private final String _fieldName;
-
 
209805
 
-
 
209806
      _Fields(short thriftId, String fieldName) {
-
 
209807
        _thriftId = thriftId;
-
 
209808
        _fieldName = fieldName;
-
 
209809
      }
-
 
209810
 
-
 
209811
      public short getThriftFieldId() {
-
 
209812
        return _thriftId;
-
 
209813
      }
-
 
209814
 
-
 
209815
      public String getFieldName() {
-
 
209816
        return _fieldName;
-
 
209817
      }
-
 
209818
    }
-
 
209819
 
-
 
209820
    // isset id assignments
-
 
209821
 
-
 
209822
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
209823
    static {
-
 
209824
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
209825
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
209826
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
209827
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
209828
              new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
209829
                  new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnOrderInfo.class)))));
-
 
209830
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
209831
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReturnOrderInfoListAsByStatus_result.class, metaDataMap);
-
 
209832
    }
-
 
209833
 
-
 
209834
    public getReturnOrderInfoListAsByStatus_result() {
-
 
209835
    }
-
 
209836
 
-
 
209837
    public getReturnOrderInfoListAsByStatus_result(
-
 
209838
      Map<Long,List<ReturnOrderInfo>> success)
-
 
209839
    {
-
 
209840
      this();
-
 
209841
      this.success = success;
-
 
209842
    }
-
 
209843
 
-
 
209844
    /**
-
 
209845
     * Performs a deep copy on <i>other</i>.
-
 
209846
     */
-
 
209847
    public getReturnOrderInfoListAsByStatus_result(getReturnOrderInfoListAsByStatus_result other) {
-
 
209848
      if (other.isSetSuccess()) {
-
 
209849
        Map<Long,List<ReturnOrderInfo>> __this__success = new HashMap<Long,List<ReturnOrderInfo>>();
-
 
209850
        for (Map.Entry<Long, List<ReturnOrderInfo>> other_element : other.success.entrySet()) {
-
 
209851
 
-
 
209852
          Long other_element_key = other_element.getKey();
-
 
209853
          List<ReturnOrderInfo> other_element_value = other_element.getValue();
-
 
209854
 
-
 
209855
          Long __this__success_copy_key = other_element_key;
-
 
209856
 
-
 
209857
          List<ReturnOrderInfo> __this__success_copy_value = new ArrayList<ReturnOrderInfo>();
-
 
209858
          for (ReturnOrderInfo other_element_value_element : other_element_value) {
-
 
209859
            __this__success_copy_value.add(new ReturnOrderInfo(other_element_value_element));
-
 
209860
          }
-
 
209861
 
-
 
209862
          __this__success.put(__this__success_copy_key, __this__success_copy_value);
-
 
209863
        }
-
 
209864
        this.success = __this__success;
-
 
209865
      }
-
 
209866
    }
-
 
209867
 
-
 
209868
    public getReturnOrderInfoListAsByStatus_result deepCopy() {
-
 
209869
      return new getReturnOrderInfoListAsByStatus_result(this);
-
 
209870
    }
-
 
209871
 
-
 
209872
    @Override
-
 
209873
    public void clear() {
-
 
209874
      this.success = null;
-
 
209875
    }
-
 
209876
 
-
 
209877
    public int getSuccessSize() {
-
 
209878
      return (this.success == null) ? 0 : this.success.size();
-
 
209879
    }
-
 
209880
 
-
 
209881
    public void putToSuccess(long key, List<ReturnOrderInfo> val) {
-
 
209882
      if (this.success == null) {
-
 
209883
        this.success = new HashMap<Long,List<ReturnOrderInfo>>();
-
 
209884
      }
-
 
209885
      this.success.put(key, val);
-
 
209886
    }
-
 
209887
 
-
 
209888
    public Map<Long,List<ReturnOrderInfo>> getSuccess() {
-
 
209889
      return this.success;
-
 
209890
    }
-
 
209891
 
-
 
209892
    public void setSuccess(Map<Long,List<ReturnOrderInfo>> success) {
-
 
209893
      this.success = success;
-
 
209894
    }
-
 
209895
 
-
 
209896
    public void unsetSuccess() {
-
 
209897
      this.success = null;
-
 
209898
    }
-
 
209899
 
-
 
209900
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
209901
    public boolean isSetSuccess() {
-
 
209902
      return this.success != null;
-
 
209903
    }
-
 
209904
 
-
 
209905
    public void setSuccessIsSet(boolean value) {
-
 
209906
      if (!value) {
-
 
209907
        this.success = null;
-
 
209908
      }
-
 
209909
    }
-
 
209910
 
-
 
209911
    public void setFieldValue(_Fields field, Object value) {
-
 
209912
      switch (field) {
-
 
209913
      case SUCCESS:
-
 
209914
        if (value == null) {
-
 
209915
          unsetSuccess();
-
 
209916
        } else {
-
 
209917
          setSuccess((Map<Long,List<ReturnOrderInfo>>)value);
-
 
209918
        }
-
 
209919
        break;
-
 
209920
 
-
 
209921
      }
-
 
209922
    }
-
 
209923
 
-
 
209924
    public Object getFieldValue(_Fields field) {
-
 
209925
      switch (field) {
-
 
209926
      case SUCCESS:
-
 
209927
        return getSuccess();
-
 
209928
 
-
 
209929
      }
-
 
209930
      throw new IllegalStateException();
-
 
209931
    }
-
 
209932
 
-
 
209933
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
209934
    public boolean isSet(_Fields field) {
-
 
209935
      if (field == null) {
-
 
209936
        throw new IllegalArgumentException();
-
 
209937
      }
-
 
209938
 
-
 
209939
      switch (field) {
-
 
209940
      case SUCCESS:
-
 
209941
        return isSetSuccess();
-
 
209942
      }
-
 
209943
      throw new IllegalStateException();
-
 
209944
    }
-
 
209945
 
-
 
209946
    @Override
-
 
209947
    public boolean equals(Object that) {
-
 
209948
      if (that == null)
-
 
209949
        return false;
-
 
209950
      if (that instanceof getReturnOrderInfoListAsByStatus_result)
-
 
209951
        return this.equals((getReturnOrderInfoListAsByStatus_result)that);
-
 
209952
      return false;
-
 
209953
    }
-
 
209954
 
-
 
209955
    public boolean equals(getReturnOrderInfoListAsByStatus_result that) {
-
 
209956
      if (that == null)
-
 
209957
        return false;
-
 
209958
 
-
 
209959
      boolean this_present_success = true && this.isSetSuccess();
-
 
209960
      boolean that_present_success = true && that.isSetSuccess();
-
 
209961
      if (this_present_success || that_present_success) {
-
 
209962
        if (!(this_present_success && that_present_success))
-
 
209963
          return false;
-
 
209964
        if (!this.success.equals(that.success))
-
 
209965
          return false;
-
 
209966
      }
-
 
209967
 
-
 
209968
      return true;
-
 
209969
    }
-
 
209970
 
-
 
209971
    @Override
-
 
209972
    public int hashCode() {
-
 
209973
      return 0;
-
 
209974
    }
-
 
209975
 
-
 
209976
    public int compareTo(getReturnOrderInfoListAsByStatus_result other) {
-
 
209977
      if (!getClass().equals(other.getClass())) {
-
 
209978
        return getClass().getName().compareTo(other.getClass().getName());
-
 
209979
      }
-
 
209980
 
-
 
209981
      int lastComparison = 0;
-
 
209982
      getReturnOrderInfoListAsByStatus_result typedOther = (getReturnOrderInfoListAsByStatus_result)other;
-
 
209983
 
-
 
209984
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
209985
      if (lastComparison != 0) {
-
 
209986
        return lastComparison;
-
 
209987
      }
-
 
209988
      if (isSetSuccess()) {
-
 
209989
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
209990
        if (lastComparison != 0) {
-
 
209991
          return lastComparison;
-
 
209992
        }
-
 
209993
      }
-
 
209994
      return 0;
-
 
209995
    }
-
 
209996
 
-
 
209997
    public _Fields fieldForId(int fieldId) {
-
 
209998
      return _Fields.findByThriftId(fieldId);
-
 
209999
    }
-
 
210000
 
-
 
210001
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
210002
      org.apache.thrift.protocol.TField field;
-
 
210003
      iprot.readStructBegin();
-
 
210004
      while (true)
-
 
210005
      {
-
 
210006
        field = iprot.readFieldBegin();
-
 
210007
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
210008
          break;
-
 
210009
        }
-
 
210010
        switch (field.id) {
-
 
210011
          case 0: // SUCCESS
-
 
210012
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
210013
              {
-
 
210014
                org.apache.thrift.protocol.TMap _map693 = iprot.readMapBegin();
-
 
210015
                this.success = new HashMap<Long,List<ReturnOrderInfo>>(2*_map693.size);
-
 
210016
                for (int _i694 = 0; _i694 < _map693.size; ++_i694)
-
 
210017
                {
-
 
210018
                  long _key695; // required
-
 
210019
                  List<ReturnOrderInfo> _val696; // required
-
 
210020
                  _key695 = iprot.readI64();
-
 
210021
                  {
-
 
210022
                    org.apache.thrift.protocol.TList _list697 = iprot.readListBegin();
-
 
210023
                    _val696 = new ArrayList<ReturnOrderInfo>(_list697.size);
-
 
210024
                    for (int _i698 = 0; _i698 < _list697.size; ++_i698)
-
 
210025
                    {
-
 
210026
                      ReturnOrderInfo _elem699; // required
-
 
210027
                      _elem699 = new ReturnOrderInfo();
-
 
210028
                      _elem699.read(iprot);
-
 
210029
                      _val696.add(_elem699);
-
 
210030
                    }
-
 
210031
                    iprot.readListEnd();
-
 
210032
                  }
-
 
210033
                  this.success.put(_key695, _val696);
-
 
210034
                }
-
 
210035
                iprot.readMapEnd();
-
 
210036
              }
-
 
210037
            } else { 
-
 
210038
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
210039
            }
-
 
210040
            break;
-
 
210041
          default:
-
 
210042
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
210043
        }
-
 
210044
        iprot.readFieldEnd();
-
 
210045
      }
-
 
210046
      iprot.readStructEnd();
-
 
210047
      validate();
-
 
210048
    }
-
 
210049
 
-
 
210050
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
210051
      oprot.writeStructBegin(STRUCT_DESC);
-
 
210052
 
-
 
210053
      if (this.isSetSuccess()) {
-
 
210054
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
210055
        {
-
 
210056
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.success.size()));
-
 
210057
          for (Map.Entry<Long, List<ReturnOrderInfo>> _iter700 : this.success.entrySet())
-
 
210058
          {
-
 
210059
            oprot.writeI64(_iter700.getKey());
-
 
210060
            {
-
 
210061
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter700.getValue().size()));
-
 
210062
              for (ReturnOrderInfo _iter701 : _iter700.getValue())
-
 
210063
              {
-
 
210064
                _iter701.write(oprot);
-
 
210065
              }
-
 
210066
              oprot.writeListEnd();
-
 
210067
            }
-
 
210068
          }
-
 
210069
          oprot.writeMapEnd();
-
 
210070
        }
-
 
210071
        oprot.writeFieldEnd();
-
 
210072
      }
-
 
210073
      oprot.writeFieldStop();
-
 
210074
      oprot.writeStructEnd();
-
 
210075
    }
-
 
210076
 
-
 
210077
    @Override
-
 
210078
    public String toString() {
-
 
210079
      StringBuilder sb = new StringBuilder("getReturnOrderInfoListAsByStatus_result(");
-
 
210080
      boolean first = true;
-
 
210081
 
-
 
210082
      sb.append("success:");
-
 
210083
      if (this.success == null) {
-
 
210084
        sb.append("null");
-
 
210085
      } else {
-
 
210086
        sb.append(this.success);
-
 
210087
      }
-
 
210088
      first = false;
-
 
210089
      sb.append(")");
-
 
210090
      return sb.toString();
-
 
210091
    }
-
 
210092
 
-
 
210093
    public void validate() throws org.apache.thrift.TException {
-
 
210094
      // check for required fields
-
 
210095
    }
-
 
210096
 
-
 
210097
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
210098
      try {
-
 
210099
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
210100
      } catch (org.apache.thrift.TException te) {
-
 
210101
        throw new java.io.IOException(te);
-
 
210102
      }
-
 
210103
    }
-
 
210104
 
-
 
210105
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
210106
      try {
-
 
210107
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
210108
      } catch (org.apache.thrift.TException te) {
-
 
210109
        throw new java.io.IOException(te);
-
 
210110
      }
-
 
210111
    }
-
 
210112
 
-
 
210113
  }
-
 
210114
 
-
 
210115
  public static class updateReturnOrderInfo_args implements org.apache.thrift.TBase<updateReturnOrderInfo_args, updateReturnOrderInfo_args._Fields>, java.io.Serializable, Cloneable   {
-
 
210116
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateReturnOrderInfo_args");
-
 
210117
 
-
 
210118
    private static final org.apache.thrift.protocol.TField RETURN_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("returnInfo", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
210119
 
-
 
210120
    private ReturnOrderInfo returnInfo; // required
-
 
210121
 
-
 
210122
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
210123
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
210124
      RETURN_INFO((short)1, "returnInfo");
-
 
210125
 
-
 
210126
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
210127
 
-
 
210128
      static {
-
 
210129
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
210130
          byName.put(field.getFieldName(), field);
-
 
210131
        }
-
 
210132
      }
-
 
210133
 
-
 
210134
      /**
-
 
210135
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
210136
       */
-
 
210137
      public static _Fields findByThriftId(int fieldId) {
-
 
210138
        switch(fieldId) {
-
 
210139
          case 1: // RETURN_INFO
-
 
210140
            return RETURN_INFO;
-
 
210141
          default:
-
 
210142
            return null;
-
 
210143
        }
-
 
210144
      }
-
 
210145
 
-
 
210146
      /**
-
 
210147
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
210148
       * if it is not found.
-
 
210149
       */
-
 
210150
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
210151
        _Fields fields = findByThriftId(fieldId);
-
 
210152
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
210153
        return fields;
-
 
210154
      }
-
 
210155
 
-
 
210156
      /**
-
 
210157
       * Find the _Fields constant that matches name, or null if its not found.
-
 
210158
       */
-
 
210159
      public static _Fields findByName(String name) {
-
 
210160
        return byName.get(name);
-
 
210161
      }
-
 
210162
 
-
 
210163
      private final short _thriftId;
-
 
210164
      private final String _fieldName;
-
 
210165
 
-
 
210166
      _Fields(short thriftId, String fieldName) {
-
 
210167
        _thriftId = thriftId;
-
 
210168
        _fieldName = fieldName;
-
 
210169
      }
-
 
210170
 
-
 
210171
      public short getThriftFieldId() {
-
 
210172
        return _thriftId;
-
 
210173
      }
-
 
210174
 
-
 
210175
      public String getFieldName() {
-
 
210176
        return _fieldName;
-
 
210177
      }
-
 
210178
    }
-
 
210179
 
-
 
210180
    // isset id assignments
-
 
210181
 
-
 
210182
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
210183
    static {
-
 
210184
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
210185
      tmpMap.put(_Fields.RETURN_INFO, new org.apache.thrift.meta_data.FieldMetaData("returnInfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
210186
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnOrderInfo.class)));
-
 
210187
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
210188
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateReturnOrderInfo_args.class, metaDataMap);
-
 
210189
    }
-
 
210190
 
-
 
210191
    public updateReturnOrderInfo_args() {
-
 
210192
    }
-
 
210193
 
-
 
210194
    public updateReturnOrderInfo_args(
-
 
210195
      ReturnOrderInfo returnInfo)
-
 
210196
    {
-
 
210197
      this();
-
 
210198
      this.returnInfo = returnInfo;
-
 
210199
    }
-
 
210200
 
-
 
210201
    /**
-
 
210202
     * Performs a deep copy on <i>other</i>.
-
 
210203
     */
-
 
210204
    public updateReturnOrderInfo_args(updateReturnOrderInfo_args other) {
-
 
210205
      if (other.isSetReturnInfo()) {
-
 
210206
        this.returnInfo = new ReturnOrderInfo(other.returnInfo);
-
 
210207
      }
-
 
210208
    }
-
 
210209
 
-
 
210210
    public updateReturnOrderInfo_args deepCopy() {
-
 
210211
      return new updateReturnOrderInfo_args(this);
-
 
210212
    }
-
 
210213
 
-
 
210214
    @Override
-
 
210215
    public void clear() {
-
 
210216
      this.returnInfo = null;
-
 
210217
    }
-
 
210218
 
-
 
210219
    public ReturnOrderInfo getReturnInfo() {
-
 
210220
      return this.returnInfo;
-
 
210221
    }
-
 
210222
 
-
 
210223
    public void setReturnInfo(ReturnOrderInfo returnInfo) {
-
 
210224
      this.returnInfo = returnInfo;
-
 
210225
    }
-
 
210226
 
-
 
210227
    public void unsetReturnInfo() {
-
 
210228
      this.returnInfo = null;
-
 
210229
    }
-
 
210230
 
-
 
210231
    /** Returns true if field returnInfo is set (has been assigned a value) and false otherwise */
-
 
210232
    public boolean isSetReturnInfo() {
-
 
210233
      return this.returnInfo != null;
-
 
210234
    }
-
 
210235
 
-
 
210236
    public void setReturnInfoIsSet(boolean value) {
-
 
210237
      if (!value) {
-
 
210238
        this.returnInfo = null;
-
 
210239
      }
-
 
210240
    }
-
 
210241
 
-
 
210242
    public void setFieldValue(_Fields field, Object value) {
-
 
210243
      switch (field) {
-
 
210244
      case RETURN_INFO:
-
 
210245
        if (value == null) {
-
 
210246
          unsetReturnInfo();
-
 
210247
        } else {
-
 
210248
          setReturnInfo((ReturnOrderInfo)value);
-
 
210249
        }
-
 
210250
        break;
-
 
210251
 
-
 
210252
      }
-
 
210253
    }
-
 
210254
 
-
 
210255
    public Object getFieldValue(_Fields field) {
-
 
210256
      switch (field) {
-
 
210257
      case RETURN_INFO:
-
 
210258
        return getReturnInfo();
-
 
210259
 
-
 
210260
      }
-
 
210261
      throw new IllegalStateException();
-
 
210262
    }
-
 
210263
 
-
 
210264
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
210265
    public boolean isSet(_Fields field) {
-
 
210266
      if (field == null) {
-
 
210267
        throw new IllegalArgumentException();
-
 
210268
      }
-
 
210269
 
-
 
210270
      switch (field) {
-
 
210271
      case RETURN_INFO:
-
 
210272
        return isSetReturnInfo();
-
 
210273
      }
-
 
210274
      throw new IllegalStateException();
-
 
210275
    }
-
 
210276
 
-
 
210277
    @Override
-
 
210278
    public boolean equals(Object that) {
-
 
210279
      if (that == null)
-
 
210280
        return false;
-
 
210281
      if (that instanceof updateReturnOrderInfo_args)
-
 
210282
        return this.equals((updateReturnOrderInfo_args)that);
-
 
210283
      return false;
-
 
210284
    }
-
 
210285
 
-
 
210286
    public boolean equals(updateReturnOrderInfo_args that) {
-
 
210287
      if (that == null)
-
 
210288
        return false;
-
 
210289
 
-
 
210290
      boolean this_present_returnInfo = true && this.isSetReturnInfo();
-
 
210291
      boolean that_present_returnInfo = true && that.isSetReturnInfo();
-
 
210292
      if (this_present_returnInfo || that_present_returnInfo) {
-
 
210293
        if (!(this_present_returnInfo && that_present_returnInfo))
-
 
210294
          return false;
-
 
210295
        if (!this.returnInfo.equals(that.returnInfo))
-
 
210296
          return false;
-
 
210297
      }
-
 
210298
 
-
 
210299
      return true;
-
 
210300
    }
-
 
210301
 
-
 
210302
    @Override
-
 
210303
    public int hashCode() {
-
 
210304
      return 0;
-
 
210305
    }
-
 
210306
 
-
 
210307
    public int compareTo(updateReturnOrderInfo_args other) {
-
 
210308
      if (!getClass().equals(other.getClass())) {
-
 
210309
        return getClass().getName().compareTo(other.getClass().getName());
-
 
210310
      }
-
 
210311
 
-
 
210312
      int lastComparison = 0;
-
 
210313
      updateReturnOrderInfo_args typedOther = (updateReturnOrderInfo_args)other;
-
 
210314
 
-
 
210315
      lastComparison = Boolean.valueOf(isSetReturnInfo()).compareTo(typedOther.isSetReturnInfo());
-
 
210316
      if (lastComparison != 0) {
-
 
210317
        return lastComparison;
-
 
210318
      }
-
 
210319
      if (isSetReturnInfo()) {
-
 
210320
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnInfo, typedOther.returnInfo);
-
 
210321
        if (lastComparison != 0) {
-
 
210322
          return lastComparison;
-
 
210323
        }
-
 
210324
      }
-
 
210325
      return 0;
-
 
210326
    }
-
 
210327
 
-
 
210328
    public _Fields fieldForId(int fieldId) {
-
 
210329
      return _Fields.findByThriftId(fieldId);
-
 
210330
    }
-
 
210331
 
-
 
210332
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
210333
      org.apache.thrift.protocol.TField field;
-
 
210334
      iprot.readStructBegin();
-
 
210335
      while (true)
-
 
210336
      {
-
 
210337
        field = iprot.readFieldBegin();
-
 
210338
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
210339
          break;
-
 
210340
        }
-
 
210341
        switch (field.id) {
-
 
210342
          case 1: // RETURN_INFO
-
 
210343
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
210344
              this.returnInfo = new ReturnOrderInfo();
-
 
210345
              this.returnInfo.read(iprot);
-
 
210346
            } else { 
-
 
210347
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
210348
            }
-
 
210349
            break;
-
 
210350
          default:
-
 
210351
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
210352
        }
-
 
210353
        iprot.readFieldEnd();
-
 
210354
      }
-
 
210355
      iprot.readStructEnd();
-
 
210356
      validate();
-
 
210357
    }
-
 
210358
 
-
 
210359
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
210360
      validate();
-
 
210361
 
-
 
210362
      oprot.writeStructBegin(STRUCT_DESC);
-
 
210363
      if (this.returnInfo != null) {
-
 
210364
        oprot.writeFieldBegin(RETURN_INFO_FIELD_DESC);
-
 
210365
        this.returnInfo.write(oprot);
-
 
210366
        oprot.writeFieldEnd();
-
 
210367
      }
-
 
210368
      oprot.writeFieldStop();
-
 
210369
      oprot.writeStructEnd();
-
 
210370
    }
-
 
210371
 
-
 
210372
    @Override
-
 
210373
    public String toString() {
-
 
210374
      StringBuilder sb = new StringBuilder("updateReturnOrderInfo_args(");
-
 
210375
      boolean first = true;
-
 
210376
 
-
 
210377
      sb.append("returnInfo:");
-
 
210378
      if (this.returnInfo == null) {
-
 
210379
        sb.append("null");
-
 
210380
      } else {
-
 
210381
        sb.append(this.returnInfo);
-
 
210382
      }
-
 
210383
      first = false;
-
 
210384
      sb.append(")");
-
 
210385
      return sb.toString();
-
 
210386
    }
-
 
210387
 
-
 
210388
    public void validate() throws org.apache.thrift.TException {
-
 
210389
      // check for required fields
-
 
210390
    }
-
 
210391
 
-
 
210392
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
210393
      try {
-
 
210394
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
210395
      } catch (org.apache.thrift.TException te) {
-
 
210396
        throw new java.io.IOException(te);
-
 
210397
      }
-
 
210398
    }
-
 
210399
 
-
 
210400
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
210401
      try {
-
 
210402
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
210403
      } catch (org.apache.thrift.TException te) {
-
 
210404
        throw new java.io.IOException(te);
-
 
210405
      }
-
 
210406
    }
-
 
210407
 
-
 
210408
  }
-
 
210409
 
-
 
210410
  public static class updateReturnOrderInfo_result implements org.apache.thrift.TBase<updateReturnOrderInfo_result, updateReturnOrderInfo_result._Fields>, java.io.Serializable, Cloneable   {
-
 
210411
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateReturnOrderInfo_result");
-
 
210412
 
-
 
210413
    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);
-
 
210414
    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);
-
 
210415
 
-
 
210416
    private boolean success; // required
-
 
210417
    private TransactionServiceException ex; // required
-
 
210418
 
-
 
210419
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
210420
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
210421
      SUCCESS((short)0, "success"),
-
 
210422
      EX((short)1, "ex");
-
 
210423
 
-
 
210424
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
210425
 
-
 
210426
      static {
-
 
210427
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
210428
          byName.put(field.getFieldName(), field);
-
 
210429
        }
-
 
210430
      }
-
 
210431
 
-
 
210432
      /**
-
 
210433
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
210434
       */
-
 
210435
      public static _Fields findByThriftId(int fieldId) {
-
 
210436
        switch(fieldId) {
-
 
210437
          case 0: // SUCCESS
-
 
210438
            return SUCCESS;
-
 
210439
          case 1: // EX
-
 
210440
            return EX;
-
 
210441
          default:
-
 
210442
            return null;
-
 
210443
        }
-
 
210444
      }
-
 
210445
 
-
 
210446
      /**
-
 
210447
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
210448
       * if it is not found.
-
 
210449
       */
-
 
210450
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
210451
        _Fields fields = findByThriftId(fieldId);
-
 
210452
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
210453
        return fields;
-
 
210454
      }
-
 
210455
 
-
 
210456
      /**
-
 
210457
       * Find the _Fields constant that matches name, or null if its not found.
-
 
210458
       */
-
 
210459
      public static _Fields findByName(String name) {
-
 
210460
        return byName.get(name);
-
 
210461
      }
-
 
210462
 
-
 
210463
      private final short _thriftId;
-
 
210464
      private final String _fieldName;
-
 
210465
 
-
 
210466
      _Fields(short thriftId, String fieldName) {
-
 
210467
        _thriftId = thriftId;
-
 
210468
        _fieldName = fieldName;
-
 
210469
      }
-
 
210470
 
-
 
210471
      public short getThriftFieldId() {
-
 
210472
        return _thriftId;
-
 
210473
      }
-
 
210474
 
-
 
210475
      public String getFieldName() {
-
 
210476
        return _fieldName;
-
 
210477
      }
-
 
210478
    }
-
 
210479
 
-
 
210480
    // isset id assignments
-
 
210481
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
210482
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
210483
 
-
 
210484
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
210485
    static {
-
 
210486
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
210487
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
210488
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
210489
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
210490
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
210491
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
210492
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateReturnOrderInfo_result.class, metaDataMap);
-
 
210493
    }
-
 
210494
 
-
 
210495
    public updateReturnOrderInfo_result() {
-
 
210496
    }
-
 
210497
 
-
 
210498
    public updateReturnOrderInfo_result(
-
 
210499
      boolean success,
-
 
210500
      TransactionServiceException ex)
-
 
210501
    {
-
 
210502
      this();
-
 
210503
      this.success = success;
-
 
210504
      setSuccessIsSet(true);
-
 
210505
      this.ex = ex;
-
 
210506
    }
-
 
210507
 
-
 
210508
    /**
-
 
210509
     * Performs a deep copy on <i>other</i>.
-
 
210510
     */
-
 
210511
    public updateReturnOrderInfo_result(updateReturnOrderInfo_result other) {
-
 
210512
      __isset_bit_vector.clear();
-
 
210513
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
210514
      this.success = other.success;
-
 
210515
      if (other.isSetEx()) {
-
 
210516
        this.ex = new TransactionServiceException(other.ex);
-
 
210517
      }
-
 
210518
    }
-
 
210519
 
-
 
210520
    public updateReturnOrderInfo_result deepCopy() {
-
 
210521
      return new updateReturnOrderInfo_result(this);
-
 
210522
    }
-
 
210523
 
-
 
210524
    @Override
-
 
210525
    public void clear() {
-
 
210526
      setSuccessIsSet(false);
-
 
210527
      this.success = false;
-
 
210528
      this.ex = null;
-
 
210529
    }
-
 
210530
 
-
 
210531
    public boolean isSuccess() {
-
 
210532
      return this.success;
-
 
210533
    }
-
 
210534
 
-
 
210535
    public void setSuccess(boolean success) {
-
 
210536
      this.success = success;
-
 
210537
      setSuccessIsSet(true);
-
 
210538
    }
-
 
210539
 
-
 
210540
    public void unsetSuccess() {
-
 
210541
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
210542
    }
-
 
210543
 
-
 
210544
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
210545
    public boolean isSetSuccess() {
-
 
210546
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
210547
    }
-
 
210548
 
-
 
210549
    public void setSuccessIsSet(boolean value) {
-
 
210550
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
210551
    }
-
 
210552
 
-
 
210553
    public TransactionServiceException getEx() {
-
 
210554
      return this.ex;
-
 
210555
    }
-
 
210556
 
-
 
210557
    public void setEx(TransactionServiceException ex) {
-
 
210558
      this.ex = ex;
-
 
210559
    }
-
 
210560
 
-
 
210561
    public void unsetEx() {
-
 
210562
      this.ex = null;
-
 
210563
    }
-
 
210564
 
-
 
210565
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
210566
    public boolean isSetEx() {
-
 
210567
      return this.ex != null;
-
 
210568
    }
-
 
210569
 
-
 
210570
    public void setExIsSet(boolean value) {
-
 
210571
      if (!value) {
-
 
210572
        this.ex = null;
-
 
210573
      }
-
 
210574
    }
-
 
210575
 
-
 
210576
    public void setFieldValue(_Fields field, Object value) {
-
 
210577
      switch (field) {
-
 
210578
      case SUCCESS:
-
 
210579
        if (value == null) {
-
 
210580
          unsetSuccess();
-
 
210581
        } else {
-
 
210582
          setSuccess((Boolean)value);
-
 
210583
        }
-
 
210584
        break;
-
 
210585
 
-
 
210586
      case EX:
-
 
210587
        if (value == null) {
-
 
210588
          unsetEx();
-
 
210589
        } else {
-
 
210590
          setEx((TransactionServiceException)value);
-
 
210591
        }
-
 
210592
        break;
-
 
210593
 
-
 
210594
      }
-
 
210595
    }
-
 
210596
 
-
 
210597
    public Object getFieldValue(_Fields field) {
-
 
210598
      switch (field) {
-
 
210599
      case SUCCESS:
-
 
210600
        return Boolean.valueOf(isSuccess());
-
 
210601
 
-
 
210602
      case EX:
-
 
210603
        return getEx();
-
 
210604
 
-
 
210605
      }
-
 
210606
      throw new IllegalStateException();
-
 
210607
    }
-
 
210608
 
-
 
210609
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
210610
    public boolean isSet(_Fields field) {
-
 
210611
      if (field == null) {
-
 
210612
        throw new IllegalArgumentException();
-
 
210613
      }
-
 
210614
 
-
 
210615
      switch (field) {
-
 
210616
      case SUCCESS:
-
 
210617
        return isSetSuccess();
-
 
210618
      case EX:
-
 
210619
        return isSetEx();
-
 
210620
      }
-
 
210621
      throw new IllegalStateException();
-
 
210622
    }
-
 
210623
 
-
 
210624
    @Override
-
 
210625
    public boolean equals(Object that) {
-
 
210626
      if (that == null)
-
 
210627
        return false;
-
 
210628
      if (that instanceof updateReturnOrderInfo_result)
-
 
210629
        return this.equals((updateReturnOrderInfo_result)that);
-
 
210630
      return false;
-
 
210631
    }
-
 
210632
 
-
 
210633
    public boolean equals(updateReturnOrderInfo_result that) {
-
 
210634
      if (that == null)
-
 
210635
        return false;
-
 
210636
 
-
 
210637
      boolean this_present_success = true;
-
 
210638
      boolean that_present_success = true;
-
 
210639
      if (this_present_success || that_present_success) {
-
 
210640
        if (!(this_present_success && that_present_success))
-
 
210641
          return false;
-
 
210642
        if (this.success != that.success)
-
 
210643
          return false;
-
 
210644
      }
-
 
210645
 
-
 
210646
      boolean this_present_ex = true && this.isSetEx();
-
 
210647
      boolean that_present_ex = true && that.isSetEx();
-
 
210648
      if (this_present_ex || that_present_ex) {
-
 
210649
        if (!(this_present_ex && that_present_ex))
-
 
210650
          return false;
-
 
210651
        if (!this.ex.equals(that.ex))
-
 
210652
          return false;
-
 
210653
      }
-
 
210654
 
-
 
210655
      return true;
-
 
210656
    }
-
 
210657
 
-
 
210658
    @Override
-
 
210659
    public int hashCode() {
-
 
210660
      return 0;
-
 
210661
    }
-
 
210662
 
-
 
210663
    public int compareTo(updateReturnOrderInfo_result other) {
-
 
210664
      if (!getClass().equals(other.getClass())) {
-
 
210665
        return getClass().getName().compareTo(other.getClass().getName());
-
 
210666
      }
-
 
210667
 
-
 
210668
      int lastComparison = 0;
-
 
210669
      updateReturnOrderInfo_result typedOther = (updateReturnOrderInfo_result)other;
-
 
210670
 
-
 
210671
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
210672
      if (lastComparison != 0) {
-
 
210673
        return lastComparison;
-
 
210674
      }
-
 
210675
      if (isSetSuccess()) {
-
 
210676
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
210677
        if (lastComparison != 0) {
-
 
210678
          return lastComparison;
-
 
210679
        }
-
 
210680
      }
-
 
210681
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
210682
      if (lastComparison != 0) {
-
 
210683
        return lastComparison;
-
 
210684
      }
-
 
210685
      if (isSetEx()) {
-
 
210686
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
210687
        if (lastComparison != 0) {
-
 
210688
          return lastComparison;
-
 
210689
        }
-
 
210690
      }
-
 
210691
      return 0;
-
 
210692
    }
-
 
210693
 
-
 
210694
    public _Fields fieldForId(int fieldId) {
-
 
210695
      return _Fields.findByThriftId(fieldId);
-
 
210696
    }
-
 
210697
 
-
 
210698
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
210699
      org.apache.thrift.protocol.TField field;
-
 
210700
      iprot.readStructBegin();
-
 
210701
      while (true)
-
 
210702
      {
-
 
210703
        field = iprot.readFieldBegin();
-
 
210704
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
210705
          break;
-
 
210706
        }
-
 
210707
        switch (field.id) {
-
 
210708
          case 0: // SUCCESS
-
 
210709
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
210710
              this.success = iprot.readBool();
-
 
210711
              setSuccessIsSet(true);
-
 
210712
            } else { 
-
 
210713
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
210714
            }
-
 
210715
            break;
-
 
210716
          case 1: // EX
-
 
210717
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
210718
              this.ex = new TransactionServiceException();
-
 
210719
              this.ex.read(iprot);
-
 
210720
            } else { 
-
 
210721
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
210722
            }
-
 
210723
            break;
-
 
210724
          default:
-
 
210725
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
210726
        }
-
 
210727
        iprot.readFieldEnd();
-
 
210728
      }
-
 
210729
      iprot.readStructEnd();
-
 
210730
      validate();
-
 
210731
    }
-
 
210732
 
-
 
210733
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
210734
      oprot.writeStructBegin(STRUCT_DESC);
-
 
210735
 
-
 
210736
      if (this.isSetSuccess()) {
-
 
210737
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
210738
        oprot.writeBool(this.success);
-
 
210739
        oprot.writeFieldEnd();
-
 
210740
      } else if (this.isSetEx()) {
-
 
210741
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
210742
        this.ex.write(oprot);
-
 
210743
        oprot.writeFieldEnd();
-
 
210744
      }
-
 
210745
      oprot.writeFieldStop();
-
 
210746
      oprot.writeStructEnd();
-
 
210747
    }
-
 
210748
 
-
 
210749
    @Override
-
 
210750
    public String toString() {
-
 
210751
      StringBuilder sb = new StringBuilder("updateReturnOrderInfo_result(");
-
 
210752
      boolean first = true;
-
 
210753
 
-
 
210754
      sb.append("success:");
-
 
210755
      sb.append(this.success);
-
 
210756
      first = false;
-
 
210757
      if (!first) sb.append(", ");
-
 
210758
      sb.append("ex:");
-
 
210759
      if (this.ex == null) {
-
 
210760
        sb.append("null");
-
 
210761
      } else {
-
 
210762
        sb.append(this.ex);
-
 
210763
      }
-
 
210764
      first = false;
-
 
210765
      sb.append(")");
-
 
210766
      return sb.toString();
-
 
210767
    }
-
 
210768
 
-
 
210769
    public void validate() throws org.apache.thrift.TException {
-
 
210770
      // check for required fields
-
 
210771
    }
-
 
210772
 
-
 
210773
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
210774
      try {
-
 
210775
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
210776
      } catch (org.apache.thrift.TException te) {
-
 
210777
        throw new java.io.IOException(te);
-
 
210778
      }
-
 
210779
    }
-
 
210780
 
-
 
210781
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
210782
      try {
-
 
210783
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
210784
      } catch (org.apache.thrift.TException te) {
-
 
210785
        throw new java.io.IOException(te);
-
 
210786
      }
-
 
210787
    }
-
 
210788
 
-
 
210789
  }
-
 
210790
 
-
 
210791
  public static class bulkUpdateReturnOrderInfo_args implements org.apache.thrift.TBase<bulkUpdateReturnOrderInfo_args, bulkUpdateReturnOrderInfo_args._Fields>, java.io.Serializable, Cloneable   {
-
 
210792
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("bulkUpdateReturnOrderInfo_args");
-
 
210793
 
-
 
210794
    private static final org.apache.thrift.protocol.TField ORDER_RETURN_INFOS_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("orderReturnInfosMap", org.apache.thrift.protocol.TType.MAP, (short)1);
-
 
210795
 
-
 
210796
    private Map<Long,List<ReturnOrderInfo>> orderReturnInfosMap; // required
-
 
210797
 
-
 
210798
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
210799
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
210800
      ORDER_RETURN_INFOS_MAP((short)1, "orderReturnInfosMap");
-
 
210801
 
-
 
210802
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
210803
 
-
 
210804
      static {
-
 
210805
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
210806
          byName.put(field.getFieldName(), field);
-
 
210807
        }
-
 
210808
      }
-
 
210809
 
-
 
210810
      /**
-
 
210811
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
210812
       */
-
 
210813
      public static _Fields findByThriftId(int fieldId) {
-
 
210814
        switch(fieldId) {
-
 
210815
          case 1: // ORDER_RETURN_INFOS_MAP
-
 
210816
            return ORDER_RETURN_INFOS_MAP;
-
 
210817
          default:
-
 
210818
            return null;
-
 
210819
        }
-
 
210820
      }
-
 
210821
 
-
 
210822
      /**
-
 
210823
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
210824
       * if it is not found.
-
 
210825
       */
-
 
210826
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
210827
        _Fields fields = findByThriftId(fieldId);
-
 
210828
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
210829
        return fields;
-
 
210830
      }
-
 
210831
 
-
 
210832
      /**
-
 
210833
       * Find the _Fields constant that matches name, or null if its not found.
-
 
210834
       */
-
 
210835
      public static _Fields findByName(String name) {
-
 
210836
        return byName.get(name);
-
 
210837
      }
-
 
210838
 
-
 
210839
      private final short _thriftId;
-
 
210840
      private final String _fieldName;
-
 
210841
 
-
 
210842
      _Fields(short thriftId, String fieldName) {
-
 
210843
        _thriftId = thriftId;
-
 
210844
        _fieldName = fieldName;
-
 
210845
      }
-
 
210846
 
-
 
210847
      public short getThriftFieldId() {
-
 
210848
        return _thriftId;
-
 
210849
      }
-
 
210850
 
-
 
210851
      public String getFieldName() {
-
 
210852
        return _fieldName;
-
 
210853
      }
-
 
210854
    }
-
 
210855
 
-
 
210856
    // isset id assignments
-
 
210857
 
-
 
210858
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
210859
    static {
-
 
210860
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
210861
      tmpMap.put(_Fields.ORDER_RETURN_INFOS_MAP, new org.apache.thrift.meta_data.FieldMetaData("orderReturnInfosMap", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
210862
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
210863
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
210864
              new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
210865
                  new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnOrderInfo.class)))));
-
 
210866
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
210867
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(bulkUpdateReturnOrderInfo_args.class, metaDataMap);
-
 
210868
    }
-
 
210869
 
-
 
210870
    public bulkUpdateReturnOrderInfo_args() {
-
 
210871
    }
-
 
210872
 
-
 
210873
    public bulkUpdateReturnOrderInfo_args(
-
 
210874
      Map<Long,List<ReturnOrderInfo>> orderReturnInfosMap)
-
 
210875
    {
-
 
210876
      this();
-
 
210877
      this.orderReturnInfosMap = orderReturnInfosMap;
-
 
210878
    }
-
 
210879
 
-
 
210880
    /**
-
 
210881
     * Performs a deep copy on <i>other</i>.
-
 
210882
     */
-
 
210883
    public bulkUpdateReturnOrderInfo_args(bulkUpdateReturnOrderInfo_args other) {
-
 
210884
      if (other.isSetOrderReturnInfosMap()) {
-
 
210885
        Map<Long,List<ReturnOrderInfo>> __this__orderReturnInfosMap = new HashMap<Long,List<ReturnOrderInfo>>();
-
 
210886
        for (Map.Entry<Long, List<ReturnOrderInfo>> other_element : other.orderReturnInfosMap.entrySet()) {
-
 
210887
 
-
 
210888
          Long other_element_key = other_element.getKey();
-
 
210889
          List<ReturnOrderInfo> other_element_value = other_element.getValue();
-
 
210890
 
-
 
210891
          Long __this__orderReturnInfosMap_copy_key = other_element_key;
-
 
210892
 
-
 
210893
          List<ReturnOrderInfo> __this__orderReturnInfosMap_copy_value = new ArrayList<ReturnOrderInfo>();
-
 
210894
          for (ReturnOrderInfo other_element_value_element : other_element_value) {
-
 
210895
            __this__orderReturnInfosMap_copy_value.add(new ReturnOrderInfo(other_element_value_element));
-
 
210896
          }
-
 
210897
 
-
 
210898
          __this__orderReturnInfosMap.put(__this__orderReturnInfosMap_copy_key, __this__orderReturnInfosMap_copy_value);
-
 
210899
        }
-
 
210900
        this.orderReturnInfosMap = __this__orderReturnInfosMap;
-
 
210901
      }
-
 
210902
    }
-
 
210903
 
-
 
210904
    public bulkUpdateReturnOrderInfo_args deepCopy() {
-
 
210905
      return new bulkUpdateReturnOrderInfo_args(this);
-
 
210906
    }
-
 
210907
 
-
 
210908
    @Override
-
 
210909
    public void clear() {
-
 
210910
      this.orderReturnInfosMap = null;
-
 
210911
    }
-
 
210912
 
-
 
210913
    public int getOrderReturnInfosMapSize() {
-
 
210914
      return (this.orderReturnInfosMap == null) ? 0 : this.orderReturnInfosMap.size();
-
 
210915
    }
-
 
210916
 
-
 
210917
    public void putToOrderReturnInfosMap(long key, List<ReturnOrderInfo> val) {
-
 
210918
      if (this.orderReturnInfosMap == null) {
-
 
210919
        this.orderReturnInfosMap = new HashMap<Long,List<ReturnOrderInfo>>();
-
 
210920
      }
-
 
210921
      this.orderReturnInfosMap.put(key, val);
-
 
210922
    }
-
 
210923
 
-
 
210924
    public Map<Long,List<ReturnOrderInfo>> getOrderReturnInfosMap() {
-
 
210925
      return this.orderReturnInfosMap;
-
 
210926
    }
-
 
210927
 
-
 
210928
    public void setOrderReturnInfosMap(Map<Long,List<ReturnOrderInfo>> orderReturnInfosMap) {
-
 
210929
      this.orderReturnInfosMap = orderReturnInfosMap;
-
 
210930
    }
-
 
210931
 
-
 
210932
    public void unsetOrderReturnInfosMap() {
-
 
210933
      this.orderReturnInfosMap = null;
-
 
210934
    }
-
 
210935
 
-
 
210936
    /** Returns true if field orderReturnInfosMap is set (has been assigned a value) and false otherwise */
-
 
210937
    public boolean isSetOrderReturnInfosMap() {
-
 
210938
      return this.orderReturnInfosMap != null;
-
 
210939
    }
-
 
210940
 
-
 
210941
    public void setOrderReturnInfosMapIsSet(boolean value) {
-
 
210942
      if (!value) {
-
 
210943
        this.orderReturnInfosMap = null;
-
 
210944
      }
-
 
210945
    }
-
 
210946
 
-
 
210947
    public void setFieldValue(_Fields field, Object value) {
-
 
210948
      switch (field) {
-
 
210949
      case ORDER_RETURN_INFOS_MAP:
-
 
210950
        if (value == null) {
-
 
210951
          unsetOrderReturnInfosMap();
-
 
210952
        } else {
-
 
210953
          setOrderReturnInfosMap((Map<Long,List<ReturnOrderInfo>>)value);
-
 
210954
        }
-
 
210955
        break;
-
 
210956
 
-
 
210957
      }
-
 
210958
    }
-
 
210959
 
-
 
210960
    public Object getFieldValue(_Fields field) {
-
 
210961
      switch (field) {
-
 
210962
      case ORDER_RETURN_INFOS_MAP:
-
 
210963
        return getOrderReturnInfosMap();
-
 
210964
 
-
 
210965
      }
-
 
210966
      throw new IllegalStateException();
-
 
210967
    }
-
 
210968
 
-
 
210969
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
210970
    public boolean isSet(_Fields field) {
-
 
210971
      if (field == null) {
-
 
210972
        throw new IllegalArgumentException();
-
 
210973
      }
-
 
210974
 
-
 
210975
      switch (field) {
-
 
210976
      case ORDER_RETURN_INFOS_MAP:
-
 
210977
        return isSetOrderReturnInfosMap();
-
 
210978
      }
-
 
210979
      throw new IllegalStateException();
-
 
210980
    }
-
 
210981
 
-
 
210982
    @Override
-
 
210983
    public boolean equals(Object that) {
-
 
210984
      if (that == null)
-
 
210985
        return false;
-
 
210986
      if (that instanceof bulkUpdateReturnOrderInfo_args)
-
 
210987
        return this.equals((bulkUpdateReturnOrderInfo_args)that);
-
 
210988
      return false;
-
 
210989
    }
-
 
210990
 
-
 
210991
    public boolean equals(bulkUpdateReturnOrderInfo_args that) {
-
 
210992
      if (that == null)
-
 
210993
        return false;
-
 
210994
 
-
 
210995
      boolean this_present_orderReturnInfosMap = true && this.isSetOrderReturnInfosMap();
-
 
210996
      boolean that_present_orderReturnInfosMap = true && that.isSetOrderReturnInfosMap();
-
 
210997
      if (this_present_orderReturnInfosMap || that_present_orderReturnInfosMap) {
-
 
210998
        if (!(this_present_orderReturnInfosMap && that_present_orderReturnInfosMap))
-
 
210999
          return false;
-
 
211000
        if (!this.orderReturnInfosMap.equals(that.orderReturnInfosMap))
-
 
211001
          return false;
-
 
211002
      }
-
 
211003
 
-
 
211004
      return true;
-
 
211005
    }
-
 
211006
 
-
 
211007
    @Override
-
 
211008
    public int hashCode() {
-
 
211009
      return 0;
-
 
211010
    }
-
 
211011
 
-
 
211012
    public int compareTo(bulkUpdateReturnOrderInfo_args other) {
-
 
211013
      if (!getClass().equals(other.getClass())) {
-
 
211014
        return getClass().getName().compareTo(other.getClass().getName());
-
 
211015
      }
-
 
211016
 
-
 
211017
      int lastComparison = 0;
-
 
211018
      bulkUpdateReturnOrderInfo_args typedOther = (bulkUpdateReturnOrderInfo_args)other;
-
 
211019
 
-
 
211020
      lastComparison = Boolean.valueOf(isSetOrderReturnInfosMap()).compareTo(typedOther.isSetOrderReturnInfosMap());
-
 
211021
      if (lastComparison != 0) {
-
 
211022
        return lastComparison;
-
 
211023
      }
-
 
211024
      if (isSetOrderReturnInfosMap()) {
-
 
211025
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderReturnInfosMap, typedOther.orderReturnInfosMap);
-
 
211026
        if (lastComparison != 0) {
-
 
211027
          return lastComparison;
-
 
211028
        }
-
 
211029
      }
-
 
211030
      return 0;
-
 
211031
    }
-
 
211032
 
-
 
211033
    public _Fields fieldForId(int fieldId) {
-
 
211034
      return _Fields.findByThriftId(fieldId);
-
 
211035
    }
-
 
211036
 
-
 
211037
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
211038
      org.apache.thrift.protocol.TField field;
-
 
211039
      iprot.readStructBegin();
-
 
211040
      while (true)
-
 
211041
      {
-
 
211042
        field = iprot.readFieldBegin();
-
 
211043
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
211044
          break;
-
 
211045
        }
-
 
211046
        switch (field.id) {
-
 
211047
          case 1: // ORDER_RETURN_INFOS_MAP
-
 
211048
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
211049
              {
-
 
211050
                org.apache.thrift.protocol.TMap _map702 = iprot.readMapBegin();
-
 
211051
                this.orderReturnInfosMap = new HashMap<Long,List<ReturnOrderInfo>>(2*_map702.size);
-
 
211052
                for (int _i703 = 0; _i703 < _map702.size; ++_i703)
-
 
211053
                {
-
 
211054
                  long _key704; // required
-
 
211055
                  List<ReturnOrderInfo> _val705; // required
-
 
211056
                  _key704 = iprot.readI64();
-
 
211057
                  {
-
 
211058
                    org.apache.thrift.protocol.TList _list706 = iprot.readListBegin();
-
 
211059
                    _val705 = new ArrayList<ReturnOrderInfo>(_list706.size);
-
 
211060
                    for (int _i707 = 0; _i707 < _list706.size; ++_i707)
-
 
211061
                    {
-
 
211062
                      ReturnOrderInfo _elem708; // required
-
 
211063
                      _elem708 = new ReturnOrderInfo();
-
 
211064
                      _elem708.read(iprot);
-
 
211065
                      _val705.add(_elem708);
-
 
211066
                    }
-
 
211067
                    iprot.readListEnd();
-
 
211068
                  }
-
 
211069
                  this.orderReturnInfosMap.put(_key704, _val705);
-
 
211070
                }
-
 
211071
                iprot.readMapEnd();
-
 
211072
              }
-
 
211073
            } else { 
-
 
211074
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
211075
            }
-
 
211076
            break;
-
 
211077
          default:
-
 
211078
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
211079
        }
-
 
211080
        iprot.readFieldEnd();
-
 
211081
      }
-
 
211082
      iprot.readStructEnd();
-
 
211083
      validate();
-
 
211084
    }
-
 
211085
 
-
 
211086
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
211087
      validate();
-
 
211088
 
-
 
211089
      oprot.writeStructBegin(STRUCT_DESC);
-
 
211090
      if (this.orderReturnInfosMap != null) {
-
 
211091
        oprot.writeFieldBegin(ORDER_RETURN_INFOS_MAP_FIELD_DESC);
-
 
211092
        {
-
 
211093
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.orderReturnInfosMap.size()));
-
 
211094
          for (Map.Entry<Long, List<ReturnOrderInfo>> _iter709 : this.orderReturnInfosMap.entrySet())
-
 
211095
          {
-
 
211096
            oprot.writeI64(_iter709.getKey());
-
 
211097
            {
-
 
211098
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter709.getValue().size()));
-
 
211099
              for (ReturnOrderInfo _iter710 : _iter709.getValue())
-
 
211100
              {
-
 
211101
                _iter710.write(oprot);
-
 
211102
              }
-
 
211103
              oprot.writeListEnd();
-
 
211104
            }
-
 
211105
          }
-
 
211106
          oprot.writeMapEnd();
-
 
211107
        }
-
 
211108
        oprot.writeFieldEnd();
-
 
211109
      }
-
 
211110
      oprot.writeFieldStop();
-
 
211111
      oprot.writeStructEnd();
-
 
211112
    }
-
 
211113
 
-
 
211114
    @Override
-
 
211115
    public String toString() {
-
 
211116
      StringBuilder sb = new StringBuilder("bulkUpdateReturnOrderInfo_args(");
-
 
211117
      boolean first = true;
-
 
211118
 
-
 
211119
      sb.append("orderReturnInfosMap:");
-
 
211120
      if (this.orderReturnInfosMap == null) {
-
 
211121
        sb.append("null");
-
 
211122
      } else {
-
 
211123
        sb.append(this.orderReturnInfosMap);
-
 
211124
      }
-
 
211125
      first = false;
-
 
211126
      sb.append(")");
-
 
211127
      return sb.toString();
-
 
211128
    }
-
 
211129
 
-
 
211130
    public void validate() throws org.apache.thrift.TException {
-
 
211131
      // check for required fields
-
 
211132
    }
-
 
211133
 
-
 
211134
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
211135
      try {
-
 
211136
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
211137
      } catch (org.apache.thrift.TException te) {
-
 
211138
        throw new java.io.IOException(te);
-
 
211139
      }
-
 
211140
    }
-
 
211141
 
-
 
211142
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
211143
      try {
-
 
211144
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
211145
      } catch (org.apache.thrift.TException te) {
-
 
211146
        throw new java.io.IOException(te);
-
 
211147
      }
-
 
211148
    }
-
 
211149
 
-
 
211150
  }
-
 
211151
 
-
 
211152
  public static class bulkUpdateReturnOrderInfo_result implements org.apache.thrift.TBase<bulkUpdateReturnOrderInfo_result, bulkUpdateReturnOrderInfo_result._Fields>, java.io.Serializable, Cloneable   {
-
 
211153
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("bulkUpdateReturnOrderInfo_result");
-
 
211154
 
-
 
211155
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0);
-
 
211156
    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);
-
 
211157
 
-
 
211158
    private Map<Long,Boolean> success; // required
-
 
211159
    private TransactionServiceException ex; // required
-
 
211160
 
-
 
211161
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
211162
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
211163
      SUCCESS((short)0, "success"),
-
 
211164
      EX((short)1, "ex");
-
 
211165
 
-
 
211166
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
211167
 
-
 
211168
      static {
-
 
211169
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
211170
          byName.put(field.getFieldName(), field);
-
 
211171
        }
-
 
211172
      }
-
 
211173
 
-
 
211174
      /**
-
 
211175
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
211176
       */
-
 
211177
      public static _Fields findByThriftId(int fieldId) {
-
 
211178
        switch(fieldId) {
-
 
211179
          case 0: // SUCCESS
-
 
211180
            return SUCCESS;
-
 
211181
          case 1: // EX
-
 
211182
            return EX;
-
 
211183
          default:
-
 
211184
            return null;
-
 
211185
        }
-
 
211186
      }
-
 
211187
 
-
 
211188
      /**
-
 
211189
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
211190
       * if it is not found.
-
 
211191
       */
-
 
211192
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
211193
        _Fields fields = findByThriftId(fieldId);
-
 
211194
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
211195
        return fields;
-
 
211196
      }
-
 
211197
 
-
 
211198
      /**
-
 
211199
       * Find the _Fields constant that matches name, or null if its not found.
-
 
211200
       */
-
 
211201
      public static _Fields findByName(String name) {
-
 
211202
        return byName.get(name);
-
 
211203
      }
-
 
211204
 
-
 
211205
      private final short _thriftId;
-
 
211206
      private final String _fieldName;
-
 
211207
 
-
 
211208
      _Fields(short thriftId, String fieldName) {
-
 
211209
        _thriftId = thriftId;
-
 
211210
        _fieldName = fieldName;
-
 
211211
      }
-
 
211212
 
-
 
211213
      public short getThriftFieldId() {
-
 
211214
        return _thriftId;
-
 
211215
      }
-
 
211216
 
-
 
211217
      public String getFieldName() {
-
 
211218
        return _fieldName;
-
 
211219
      }
-
 
211220
    }
-
 
211221
 
-
 
211222
    // isset id assignments
-
 
211223
 
-
 
211224
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
211225
    static {
-
 
211226
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
211227
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
211228
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
211229
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
211230
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))));
-
 
211231
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
211232
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
211233
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
211234
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(bulkUpdateReturnOrderInfo_result.class, metaDataMap);
-
 
211235
    }
-
 
211236
 
-
 
211237
    public bulkUpdateReturnOrderInfo_result() {
-
 
211238
    }
-
 
211239
 
-
 
211240
    public bulkUpdateReturnOrderInfo_result(
-
 
211241
      Map<Long,Boolean> success,
-
 
211242
      TransactionServiceException ex)
-
 
211243
    {
-
 
211244
      this();
-
 
211245
      this.success = success;
-
 
211246
      this.ex = ex;
-
 
211247
    }
-
 
211248
 
-
 
211249
    /**
-
 
211250
     * Performs a deep copy on <i>other</i>.
-
 
211251
     */
-
 
211252
    public bulkUpdateReturnOrderInfo_result(bulkUpdateReturnOrderInfo_result other) {
-
 
211253
      if (other.isSetSuccess()) {
-
 
211254
        Map<Long,Boolean> __this__success = new HashMap<Long,Boolean>();
-
 
211255
        for (Map.Entry<Long, Boolean> other_element : other.success.entrySet()) {
-
 
211256
 
-
 
211257
          Long other_element_key = other_element.getKey();
-
 
211258
          Boolean other_element_value = other_element.getValue();
-
 
211259
 
-
 
211260
          Long __this__success_copy_key = other_element_key;
-
 
211261
 
-
 
211262
          Boolean __this__success_copy_value = other_element_value;
-
 
211263
 
-
 
211264
          __this__success.put(__this__success_copy_key, __this__success_copy_value);
-
 
211265
        }
-
 
211266
        this.success = __this__success;
-
 
211267
      }
-
 
211268
      if (other.isSetEx()) {
-
 
211269
        this.ex = new TransactionServiceException(other.ex);
-
 
211270
      }
-
 
211271
    }
-
 
211272
 
-
 
211273
    public bulkUpdateReturnOrderInfo_result deepCopy() {
-
 
211274
      return new bulkUpdateReturnOrderInfo_result(this);
-
 
211275
    }
-
 
211276
 
-
 
211277
    @Override
-
 
211278
    public void clear() {
-
 
211279
      this.success = null;
-
 
211280
      this.ex = null;
-
 
211281
    }
-
 
211282
 
-
 
211283
    public int getSuccessSize() {
-
 
211284
      return (this.success == null) ? 0 : this.success.size();
-
 
211285
    }
-
 
211286
 
-
 
211287
    public void putToSuccess(long key, boolean val) {
-
 
211288
      if (this.success == null) {
-
 
211289
        this.success = new HashMap<Long,Boolean>();
-
 
211290
      }
-
 
211291
      this.success.put(key, val);
-
 
211292
    }
-
 
211293
 
-
 
211294
    public Map<Long,Boolean> getSuccess() {
-
 
211295
      return this.success;
-
 
211296
    }
-
 
211297
 
-
 
211298
    public void setSuccess(Map<Long,Boolean> success) {
-
 
211299
      this.success = success;
-
 
211300
    }
-
 
211301
 
-
 
211302
    public void unsetSuccess() {
-
 
211303
      this.success = null;
-
 
211304
    }
-
 
211305
 
-
 
211306
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
211307
    public boolean isSetSuccess() {
-
 
211308
      return this.success != null;
-
 
211309
    }
-
 
211310
 
-
 
211311
    public void setSuccessIsSet(boolean value) {
-
 
211312
      if (!value) {
-
 
211313
        this.success = null;
-
 
211314
      }
-
 
211315
    }
-
 
211316
 
-
 
211317
    public TransactionServiceException getEx() {
-
 
211318
      return this.ex;
-
 
211319
    }
-
 
211320
 
-
 
211321
    public void setEx(TransactionServiceException ex) {
-
 
211322
      this.ex = ex;
-
 
211323
    }
-
 
211324
 
-
 
211325
    public void unsetEx() {
-
 
211326
      this.ex = null;
-
 
211327
    }
-
 
211328
 
-
 
211329
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
211330
    public boolean isSetEx() {
-
 
211331
      return this.ex != null;
-
 
211332
    }
-
 
211333
 
-
 
211334
    public void setExIsSet(boolean value) {
-
 
211335
      if (!value) {
-
 
211336
        this.ex = null;
-
 
211337
      }
-
 
211338
    }
-
 
211339
 
-
 
211340
    public void setFieldValue(_Fields field, Object value) {
-
 
211341
      switch (field) {
-
 
211342
      case SUCCESS:
-
 
211343
        if (value == null) {
-
 
211344
          unsetSuccess();
-
 
211345
        } else {
-
 
211346
          setSuccess((Map<Long,Boolean>)value);
-
 
211347
        }
-
 
211348
        break;
-
 
211349
 
-
 
211350
      case EX:
-
 
211351
        if (value == null) {
-
 
211352
          unsetEx();
-
 
211353
        } else {
-
 
211354
          setEx((TransactionServiceException)value);
-
 
211355
        }
-
 
211356
        break;
-
 
211357
 
-
 
211358
      }
-
 
211359
    }
-
 
211360
 
-
 
211361
    public Object getFieldValue(_Fields field) {
-
 
211362
      switch (field) {
-
 
211363
      case SUCCESS:
-
 
211364
        return getSuccess();
-
 
211365
 
-
 
211366
      case EX:
-
 
211367
        return getEx();
-
 
211368
 
-
 
211369
      }
-
 
211370
      throw new IllegalStateException();
-
 
211371
    }
-
 
211372
 
-
 
211373
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
211374
    public boolean isSet(_Fields field) {
-
 
211375
      if (field == null) {
-
 
211376
        throw new IllegalArgumentException();
-
 
211377
      }
-
 
211378
 
-
 
211379
      switch (field) {
-
 
211380
      case SUCCESS:
-
 
211381
        return isSetSuccess();
-
 
211382
      case EX:
-
 
211383
        return isSetEx();
-
 
211384
      }
-
 
211385
      throw new IllegalStateException();
-
 
211386
    }
-
 
211387
 
-
 
211388
    @Override
-
 
211389
    public boolean equals(Object that) {
-
 
211390
      if (that == null)
-
 
211391
        return false;
-
 
211392
      if (that instanceof bulkUpdateReturnOrderInfo_result)
-
 
211393
        return this.equals((bulkUpdateReturnOrderInfo_result)that);
-
 
211394
      return false;
-
 
211395
    }
-
 
211396
 
-
 
211397
    public boolean equals(bulkUpdateReturnOrderInfo_result that) {
-
 
211398
      if (that == null)
-
 
211399
        return false;
-
 
211400
 
-
 
211401
      boolean this_present_success = true && this.isSetSuccess();
-
 
211402
      boolean that_present_success = true && that.isSetSuccess();
-
 
211403
      if (this_present_success || that_present_success) {
-
 
211404
        if (!(this_present_success && that_present_success))
-
 
211405
          return false;
-
 
211406
        if (!this.success.equals(that.success))
-
 
211407
          return false;
-
 
211408
      }
-
 
211409
 
-
 
211410
      boolean this_present_ex = true && this.isSetEx();
-
 
211411
      boolean that_present_ex = true && that.isSetEx();
-
 
211412
      if (this_present_ex || that_present_ex) {
-
 
211413
        if (!(this_present_ex && that_present_ex))
-
 
211414
          return false;
-
 
211415
        if (!this.ex.equals(that.ex))
-
 
211416
          return false;
-
 
211417
      }
-
 
211418
 
-
 
211419
      return true;
-
 
211420
    }
-
 
211421
 
-
 
211422
    @Override
-
 
211423
    public int hashCode() {
-
 
211424
      return 0;
-
 
211425
    }
-
 
211426
 
-
 
211427
    public int compareTo(bulkUpdateReturnOrderInfo_result other) {
-
 
211428
      if (!getClass().equals(other.getClass())) {
-
 
211429
        return getClass().getName().compareTo(other.getClass().getName());
-
 
211430
      }
-
 
211431
 
-
 
211432
      int lastComparison = 0;
-
 
211433
      bulkUpdateReturnOrderInfo_result typedOther = (bulkUpdateReturnOrderInfo_result)other;
-
 
211434
 
-
 
211435
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
211436
      if (lastComparison != 0) {
-
 
211437
        return lastComparison;
-
 
211438
      }
-
 
211439
      if (isSetSuccess()) {
-
 
211440
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
211441
        if (lastComparison != 0) {
-
 
211442
          return lastComparison;
-
 
211443
        }
-
 
211444
      }
-
 
211445
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
211446
      if (lastComparison != 0) {
-
 
211447
        return lastComparison;
-
 
211448
      }
-
 
211449
      if (isSetEx()) {
-
 
211450
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
211451
        if (lastComparison != 0) {
-
 
211452
          return lastComparison;
-
 
211453
        }
-
 
211454
      }
-
 
211455
      return 0;
-
 
211456
    }
-
 
211457
 
-
 
211458
    public _Fields fieldForId(int fieldId) {
-
 
211459
      return _Fields.findByThriftId(fieldId);
-
 
211460
    }
-
 
211461
 
-
 
211462
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
211463
      org.apache.thrift.protocol.TField field;
-
 
211464
      iprot.readStructBegin();
-
 
211465
      while (true)
-
 
211466
      {
-
 
211467
        field = iprot.readFieldBegin();
-
 
211468
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
211469
          break;
-
 
211470
        }
-
 
211471
        switch (field.id) {
-
 
211472
          case 0: // SUCCESS
-
 
211473
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
211474
              {
-
 
211475
                org.apache.thrift.protocol.TMap _map711 = iprot.readMapBegin();
-
 
211476
                this.success = new HashMap<Long,Boolean>(2*_map711.size);
-
 
211477
                for (int _i712 = 0; _i712 < _map711.size; ++_i712)
-
 
211478
                {
-
 
211479
                  long _key713; // required
-
 
211480
                  boolean _val714; // required
-
 
211481
                  _key713 = iprot.readI64();
-
 
211482
                  _val714 = iprot.readBool();
-
 
211483
                  this.success.put(_key713, _val714);
-
 
211484
                }
-
 
211485
                iprot.readMapEnd();
-
 
211486
              }
-
 
211487
            } else { 
-
 
211488
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
211489
            }
-
 
211490
            break;
-
 
211491
          case 1: // EX
-
 
211492
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
211493
              this.ex = new TransactionServiceException();
-
 
211494
              this.ex.read(iprot);
-
 
211495
            } else { 
-
 
211496
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
211497
            }
-
 
211498
            break;
-
 
211499
          default:
-
 
211500
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
211501
        }
-
 
211502
        iprot.readFieldEnd();
-
 
211503
      }
-
 
211504
      iprot.readStructEnd();
-
 
211505
      validate();
-
 
211506
    }
-
 
211507
 
-
 
211508
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
211509
      oprot.writeStructBegin(STRUCT_DESC);
-
 
211510
 
-
 
211511
      if (this.isSetSuccess()) {
-
 
211512
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
211513
        {
-
 
211514
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.BOOL, this.success.size()));
-
 
211515
          for (Map.Entry<Long, Boolean> _iter715 : this.success.entrySet())
-
 
211516
          {
-
 
211517
            oprot.writeI64(_iter715.getKey());
-
 
211518
            oprot.writeBool(_iter715.getValue());
-
 
211519
          }
-
 
211520
          oprot.writeMapEnd();
-
 
211521
        }
-
 
211522
        oprot.writeFieldEnd();
-
 
211523
      } else if (this.isSetEx()) {
-
 
211524
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
211525
        this.ex.write(oprot);
-
 
211526
        oprot.writeFieldEnd();
-
 
211527
      }
-
 
211528
      oprot.writeFieldStop();
-
 
211529
      oprot.writeStructEnd();
-
 
211530
    }
-
 
211531
 
-
 
211532
    @Override
-
 
211533
    public String toString() {
-
 
211534
      StringBuilder sb = new StringBuilder("bulkUpdateReturnOrderInfo_result(");
-
 
211535
      boolean first = true;
-
 
211536
 
-
 
211537
      sb.append("success:");
-
 
211538
      if (this.success == null) {
-
 
211539
        sb.append("null");
-
 
211540
      } else {
-
 
211541
        sb.append(this.success);
-
 
211542
      }
-
 
211543
      first = false;
-
 
211544
      if (!first) sb.append(", ");
-
 
211545
      sb.append("ex:");
-
 
211546
      if (this.ex == null) {
-
 
211547
        sb.append("null");
-
 
211548
      } else {
-
 
211549
        sb.append(this.ex);
-
 
211550
      }
-
 
211551
      first = false;
-
 
211552
      sb.append(")");
-
 
211553
      return sb.toString();
-
 
211554
    }
-
 
211555
 
-
 
211556
    public void validate() throws org.apache.thrift.TException {
-
 
211557
      // check for required fields
-
 
211558
    }
-
 
211559
 
-
 
211560
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
211561
      try {
-
 
211562
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
211563
      } catch (org.apache.thrift.TException te) {
-
 
211564
        throw new java.io.IOException(te);
-
 
211565
      }
-
 
211566
    }
-
 
211567
 
-
 
211568
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
211569
      try {
-
 
211570
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
211571
      } catch (org.apache.thrift.TException te) {
-
 
211572
        throw new java.io.IOException(te);
-
 
211573
      }
-
 
211574
    }
-
 
211575
 
-
 
211576
  }
-
 
211577
 
-
 
211578
  public static class getReturnOrdersAsPerWarehouseId_args implements org.apache.thrift.TBase<getReturnOrdersAsPerWarehouseId_args, getReturnOrdersAsPerWarehouseId_args._Fields>, java.io.Serializable, Cloneable   {
-
 
211579
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnOrdersAsPerWarehouseId_args");
-
 
211580
 
-
 
211581
    private static final org.apache.thrift.protocol.TField WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouseId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
211582
 
-
 
211583
    private long warehouseId; // required
-
 
211584
 
-
 
211585
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
211586
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
211587
      WAREHOUSE_ID((short)1, "warehouseId");
-
 
211588
 
-
 
211589
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
211590
 
-
 
211591
      static {
-
 
211592
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
211593
          byName.put(field.getFieldName(), field);
-
 
211594
        }
-
 
211595
      }
-
 
211596
 
-
 
211597
      /**
-
 
211598
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
211599
       */
-
 
211600
      public static _Fields findByThriftId(int fieldId) {
-
 
211601
        switch(fieldId) {
-
 
211602
          case 1: // WAREHOUSE_ID
-
 
211603
            return WAREHOUSE_ID;
-
 
211604
          default:
-
 
211605
            return null;
-
 
211606
        }
-
 
211607
      }
-
 
211608
 
-
 
211609
      /**
-
 
211610
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
211611
       * if it is not found.
-
 
211612
       */
-
 
211613
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
211614
        _Fields fields = findByThriftId(fieldId);
-
 
211615
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
211616
        return fields;
-
 
211617
      }
-
 
211618
 
-
 
211619
      /**
-
 
211620
       * Find the _Fields constant that matches name, or null if its not found.
-
 
211621
       */
-
 
211622
      public static _Fields findByName(String name) {
-
 
211623
        return byName.get(name);
-
 
211624
      }
-
 
211625
 
-
 
211626
      private final short _thriftId;
-
 
211627
      private final String _fieldName;
-
 
211628
 
-
 
211629
      _Fields(short thriftId, String fieldName) {
-
 
211630
        _thriftId = thriftId;
-
 
211631
        _fieldName = fieldName;
-
 
211632
      }
-
 
211633
 
-
 
211634
      public short getThriftFieldId() {
-
 
211635
        return _thriftId;
-
 
211636
      }
-
 
211637
 
-
 
211638
      public String getFieldName() {
-
 
211639
        return _fieldName;
-
 
211640
      }
-
 
211641
    }
-
 
211642
 
-
 
211643
    // isset id assignments
-
 
211644
    private static final int __WAREHOUSEID_ISSET_ID = 0;
-
 
211645
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
211646
 
-
 
211647
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
211648
    static {
-
 
211649
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
211650
      tmpMap.put(_Fields.WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("warehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
211651
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
211652
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
211653
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReturnOrdersAsPerWarehouseId_args.class, metaDataMap);
-
 
211654
    }
-
 
211655
 
-
 
211656
    public getReturnOrdersAsPerWarehouseId_args() {
-
 
211657
    }
-
 
211658
 
-
 
211659
    public getReturnOrdersAsPerWarehouseId_args(
-
 
211660
      long warehouseId)
-
 
211661
    {
-
 
211662
      this();
-
 
211663
      this.warehouseId = warehouseId;
-
 
211664
      setWarehouseIdIsSet(true);
-
 
211665
    }
-
 
211666
 
-
 
211667
    /**
-
 
211668
     * Performs a deep copy on <i>other</i>.
-
 
211669
     */
-
 
211670
    public getReturnOrdersAsPerWarehouseId_args(getReturnOrdersAsPerWarehouseId_args other) {
-
 
211671
      __isset_bit_vector.clear();
-
 
211672
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
211673
      this.warehouseId = other.warehouseId;
-
 
211674
    }
-
 
211675
 
-
 
211676
    public getReturnOrdersAsPerWarehouseId_args deepCopy() {
-
 
211677
      return new getReturnOrdersAsPerWarehouseId_args(this);
-
 
211678
    }
-
 
211679
 
-
 
211680
    @Override
-
 
211681
    public void clear() {
-
 
211682
      setWarehouseIdIsSet(false);
-
 
211683
      this.warehouseId = 0;
-
 
211684
    }
-
 
211685
 
-
 
211686
    public long getWarehouseId() {
-
 
211687
      return this.warehouseId;
-
 
211688
    }
-
 
211689
 
-
 
211690
    public void setWarehouseId(long warehouseId) {
-
 
211691
      this.warehouseId = warehouseId;
-
 
211692
      setWarehouseIdIsSet(true);
-
 
211693
    }
-
 
211694
 
-
 
211695
    public void unsetWarehouseId() {
-
 
211696
      __isset_bit_vector.clear(__WAREHOUSEID_ISSET_ID);
-
 
211697
    }
-
 
211698
 
-
 
211699
    /** Returns true if field warehouseId is set (has been assigned a value) and false otherwise */
-
 
211700
    public boolean isSetWarehouseId() {
-
 
211701
      return __isset_bit_vector.get(__WAREHOUSEID_ISSET_ID);
-
 
211702
    }
-
 
211703
 
-
 
211704
    public void setWarehouseIdIsSet(boolean value) {
-
 
211705
      __isset_bit_vector.set(__WAREHOUSEID_ISSET_ID, value);
-
 
211706
    }
-
 
211707
 
-
 
211708
    public void setFieldValue(_Fields field, Object value) {
-
 
211709
      switch (field) {
-
 
211710
      case WAREHOUSE_ID:
-
 
211711
        if (value == null) {
-
 
211712
          unsetWarehouseId();
-
 
211713
        } else {
-
 
211714
          setWarehouseId((Long)value);
-
 
211715
        }
-
 
211716
        break;
-
 
211717
 
-
 
211718
      }
-
 
211719
    }
-
 
211720
 
-
 
211721
    public Object getFieldValue(_Fields field) {
-
 
211722
      switch (field) {
-
 
211723
      case WAREHOUSE_ID:
-
 
211724
        return Long.valueOf(getWarehouseId());
-
 
211725
 
-
 
211726
      }
-
 
211727
      throw new IllegalStateException();
-
 
211728
    }
-
 
211729
 
-
 
211730
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
211731
    public boolean isSet(_Fields field) {
-
 
211732
      if (field == null) {
-
 
211733
        throw new IllegalArgumentException();
-
 
211734
      }
-
 
211735
 
-
 
211736
      switch (field) {
-
 
211737
      case WAREHOUSE_ID:
-
 
211738
        return isSetWarehouseId();
-
 
211739
      }
-
 
211740
      throw new IllegalStateException();
-
 
211741
    }
-
 
211742
 
-
 
211743
    @Override
-
 
211744
    public boolean equals(Object that) {
-
 
211745
      if (that == null)
-
 
211746
        return false;
-
 
211747
      if (that instanceof getReturnOrdersAsPerWarehouseId_args)
-
 
211748
        return this.equals((getReturnOrdersAsPerWarehouseId_args)that);
-
 
211749
      return false;
-
 
211750
    }
-
 
211751
 
-
 
211752
    public boolean equals(getReturnOrdersAsPerWarehouseId_args that) {
-
 
211753
      if (that == null)
-
 
211754
        return false;
-
 
211755
 
-
 
211756
      boolean this_present_warehouseId = true;
-
 
211757
      boolean that_present_warehouseId = true;
-
 
211758
      if (this_present_warehouseId || that_present_warehouseId) {
-
 
211759
        if (!(this_present_warehouseId && that_present_warehouseId))
-
 
211760
          return false;
-
 
211761
        if (this.warehouseId != that.warehouseId)
-
 
211762
          return false;
-
 
211763
      }
-
 
211764
 
-
 
211765
      return true;
-
 
211766
    }
-
 
211767
 
-
 
211768
    @Override
-
 
211769
    public int hashCode() {
-
 
211770
      return 0;
-
 
211771
    }
-
 
211772
 
-
 
211773
    public int compareTo(getReturnOrdersAsPerWarehouseId_args other) {
-
 
211774
      if (!getClass().equals(other.getClass())) {
-
 
211775
        return getClass().getName().compareTo(other.getClass().getName());
-
 
211776
      }
-
 
211777
 
-
 
211778
      int lastComparison = 0;
-
 
211779
      getReturnOrdersAsPerWarehouseId_args typedOther = (getReturnOrdersAsPerWarehouseId_args)other;
-
 
211780
 
-
 
211781
      lastComparison = Boolean.valueOf(isSetWarehouseId()).compareTo(typedOther.isSetWarehouseId());
-
 
211782
      if (lastComparison != 0) {
-
 
211783
        return lastComparison;
-
 
211784
      }
-
 
211785
      if (isSetWarehouseId()) {
-
 
211786
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warehouseId, typedOther.warehouseId);
-
 
211787
        if (lastComparison != 0) {
-
 
211788
          return lastComparison;
-
 
211789
        }
-
 
211790
      }
-
 
211791
      return 0;
-
 
211792
    }
-
 
211793
 
-
 
211794
    public _Fields fieldForId(int fieldId) {
-
 
211795
      return _Fields.findByThriftId(fieldId);
-
 
211796
    }
-
 
211797
 
-
 
211798
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
211799
      org.apache.thrift.protocol.TField field;
-
 
211800
      iprot.readStructBegin();
-
 
211801
      while (true)
-
 
211802
      {
-
 
211803
        field = iprot.readFieldBegin();
-
 
211804
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
211805
          break;
-
 
211806
        }
-
 
211807
        switch (field.id) {
-
 
211808
          case 1: // WAREHOUSE_ID
-
 
211809
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
211810
              this.warehouseId = iprot.readI64();
-
 
211811
              setWarehouseIdIsSet(true);
-
 
211812
            } else { 
-
 
211813
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
211814
            }
-
 
211815
            break;
-
 
211816
          default:
-
 
211817
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
211818
        }
-
 
211819
        iprot.readFieldEnd();
-
 
211820
      }
-
 
211821
      iprot.readStructEnd();
-
 
211822
      validate();
-
 
211823
    }
-
 
211824
 
-
 
211825
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
211826
      validate();
-
 
211827
 
-
 
211828
      oprot.writeStructBegin(STRUCT_DESC);
-
 
211829
      oprot.writeFieldBegin(WAREHOUSE_ID_FIELD_DESC);
-
 
211830
      oprot.writeI64(this.warehouseId);
-
 
211831
      oprot.writeFieldEnd();
-
 
211832
      oprot.writeFieldStop();
-
 
211833
      oprot.writeStructEnd();
-
 
211834
    }
-
 
211835
 
-
 
211836
    @Override
-
 
211837
    public String toString() {
-
 
211838
      StringBuilder sb = new StringBuilder("getReturnOrdersAsPerWarehouseId_args(");
-
 
211839
      boolean first = true;
-
 
211840
 
-
 
211841
      sb.append("warehouseId:");
-
 
211842
      sb.append(this.warehouseId);
-
 
211843
      first = false;
-
 
211844
      sb.append(")");
-
 
211845
      return sb.toString();
-
 
211846
    }
-
 
211847
 
-
 
211848
    public void validate() throws org.apache.thrift.TException {
-
 
211849
      // check for required fields
-
 
211850
    }
-
 
211851
 
-
 
211852
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
211853
      try {
-
 
211854
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
211855
      } catch (org.apache.thrift.TException te) {
-
 
211856
        throw new java.io.IOException(te);
-
 
211857
      }
-
 
211858
    }
-
 
211859
 
-
 
211860
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
211861
      try {
-
 
211862
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
211863
        __isset_bit_vector = new BitSet(1);
-
 
211864
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
211865
      } catch (org.apache.thrift.TException te) {
-
 
211866
        throw new java.io.IOException(te);
-
 
211867
      }
-
 
211868
    }
-
 
211869
 
-
 
211870
  }
-
 
211871
 
-
 
211872
  public static class getReturnOrdersAsPerWarehouseId_result implements org.apache.thrift.TBase<getReturnOrdersAsPerWarehouseId_result, getReturnOrdersAsPerWarehouseId_result._Fields>, java.io.Serializable, Cloneable   {
-
 
211873
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnOrdersAsPerWarehouseId_result");
-
 
211874
 
-
 
211875
    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);
-
 
211876
 
-
 
211877
    private List<ReturnOrderInfo> success; // required
-
 
211878
 
-
 
211879
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
211880
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
211881
      SUCCESS((short)0, "success");
-
 
211882
 
-
 
211883
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
211884
 
-
 
211885
      static {
-
 
211886
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
211887
          byName.put(field.getFieldName(), field);
-
 
211888
        }
-
 
211889
      }
-
 
211890
 
-
 
211891
      /**
-
 
211892
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
211893
       */
-
 
211894
      public static _Fields findByThriftId(int fieldId) {
-
 
211895
        switch(fieldId) {
-
 
211896
          case 0: // SUCCESS
-
 
211897
            return SUCCESS;
-
 
211898
          default:
-
 
211899
            return null;
-
 
211900
        }
-
 
211901
      }
-
 
211902
 
-
 
211903
      /**
-
 
211904
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
211905
       * if it is not found.
-
 
211906
       */
-
 
211907
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
211908
        _Fields fields = findByThriftId(fieldId);
-
 
211909
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
211910
        return fields;
-
 
211911
      }
-
 
211912
 
-
 
211913
      /**
-
 
211914
       * Find the _Fields constant that matches name, or null if its not found.
-
 
211915
       */
-
 
211916
      public static _Fields findByName(String name) {
-
 
211917
        return byName.get(name);
-
 
211918
      }
-
 
211919
 
-
 
211920
      private final short _thriftId;
-
 
211921
      private final String _fieldName;
-
 
211922
 
-
 
211923
      _Fields(short thriftId, String fieldName) {
-
 
211924
        _thriftId = thriftId;
-
 
211925
        _fieldName = fieldName;
-
 
211926
      }
-
 
211927
 
-
 
211928
      public short getThriftFieldId() {
-
 
211929
        return _thriftId;
-
 
211930
      }
-
 
211931
 
-
 
211932
      public String getFieldName() {
-
 
211933
        return _fieldName;
-
 
211934
      }
-
 
211935
    }
-
 
211936
 
-
 
211937
    // isset id assignments
-
 
211938
 
-
 
211939
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
211940
    static {
-
 
211941
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
211942
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
211943
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
211944
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnOrderInfo.class))));
-
 
211945
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
211946
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReturnOrdersAsPerWarehouseId_result.class, metaDataMap);
-
 
211947
    }
-
 
211948
 
-
 
211949
    public getReturnOrdersAsPerWarehouseId_result() {
-
 
211950
    }
-
 
211951
 
-
 
211952
    public getReturnOrdersAsPerWarehouseId_result(
-
 
211953
      List<ReturnOrderInfo> success)
-
 
211954
    {
-
 
211955
      this();
-
 
211956
      this.success = success;
-
 
211957
    }
-
 
211958
 
-
 
211959
    /**
-
 
211960
     * Performs a deep copy on <i>other</i>.
-
 
211961
     */
-
 
211962
    public getReturnOrdersAsPerWarehouseId_result(getReturnOrdersAsPerWarehouseId_result other) {
-
 
211963
      if (other.isSetSuccess()) {
-
 
211964
        List<ReturnOrderInfo> __this__success = new ArrayList<ReturnOrderInfo>();
-
 
211965
        for (ReturnOrderInfo other_element : other.success) {
-
 
211966
          __this__success.add(new ReturnOrderInfo(other_element));
-
 
211967
        }
-
 
211968
        this.success = __this__success;
-
 
211969
      }
-
 
211970
    }
-
 
211971
 
-
 
211972
    public getReturnOrdersAsPerWarehouseId_result deepCopy() {
-
 
211973
      return new getReturnOrdersAsPerWarehouseId_result(this);
-
 
211974
    }
-
 
211975
 
-
 
211976
    @Override
-
 
211977
    public void clear() {
-
 
211978
      this.success = null;
-
 
211979
    }
-
 
211980
 
-
 
211981
    public int getSuccessSize() {
-
 
211982
      return (this.success == null) ? 0 : this.success.size();
-
 
211983
    }
-
 
211984
 
-
 
211985
    public java.util.Iterator<ReturnOrderInfo> getSuccessIterator() {
-
 
211986
      return (this.success == null) ? null : this.success.iterator();
-
 
211987
    }
-
 
211988
 
-
 
211989
    public void addToSuccess(ReturnOrderInfo elem) {
-
 
211990
      if (this.success == null) {
-
 
211991
        this.success = new ArrayList<ReturnOrderInfo>();
-
 
211992
      }
-
 
211993
      this.success.add(elem);
-
 
211994
    }
-
 
211995
 
-
 
211996
    public List<ReturnOrderInfo> getSuccess() {
-
 
211997
      return this.success;
-
 
211998
    }
-
 
211999
 
-
 
212000
    public void setSuccess(List<ReturnOrderInfo> success) {
-
 
212001
      this.success = success;
-
 
212002
    }
-
 
212003
 
-
 
212004
    public void unsetSuccess() {
-
 
212005
      this.success = null;
-
 
212006
    }
-
 
212007
 
-
 
212008
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
212009
    public boolean isSetSuccess() {
-
 
212010
      return this.success != null;
-
 
212011
    }
-
 
212012
 
-
 
212013
    public void setSuccessIsSet(boolean value) {
-
 
212014
      if (!value) {
-
 
212015
        this.success = null;
-
 
212016
      }
-
 
212017
    }
-
 
212018
 
-
 
212019
    public void setFieldValue(_Fields field, Object value) {
-
 
212020
      switch (field) {
-
 
212021
      case SUCCESS:
-
 
212022
        if (value == null) {
-
 
212023
          unsetSuccess();
-
 
212024
        } else {
-
 
212025
          setSuccess((List<ReturnOrderInfo>)value);
-
 
212026
        }
-
 
212027
        break;
-
 
212028
 
-
 
212029
      }
-
 
212030
    }
-
 
212031
 
-
 
212032
    public Object getFieldValue(_Fields field) {
-
 
212033
      switch (field) {
-
 
212034
      case SUCCESS:
-
 
212035
        return getSuccess();
-
 
212036
 
-
 
212037
      }
-
 
212038
      throw new IllegalStateException();
-
 
212039
    }
-
 
212040
 
-
 
212041
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
212042
    public boolean isSet(_Fields field) {
-
 
212043
      if (field == null) {
-
 
212044
        throw new IllegalArgumentException();
-
 
212045
      }
-
 
212046
 
-
 
212047
      switch (field) {
-
 
212048
      case SUCCESS:
-
 
212049
        return isSetSuccess();
-
 
212050
      }
-
 
212051
      throw new IllegalStateException();
-
 
212052
    }
-
 
212053
 
-
 
212054
    @Override
-
 
212055
    public boolean equals(Object that) {
-
 
212056
      if (that == null)
-
 
212057
        return false;
-
 
212058
      if (that instanceof getReturnOrdersAsPerWarehouseId_result)
-
 
212059
        return this.equals((getReturnOrdersAsPerWarehouseId_result)that);
-
 
212060
      return false;
-
 
212061
    }
-
 
212062
 
-
 
212063
    public boolean equals(getReturnOrdersAsPerWarehouseId_result that) {
-
 
212064
      if (that == null)
-
 
212065
        return false;
-
 
212066
 
-
 
212067
      boolean this_present_success = true && this.isSetSuccess();
-
 
212068
      boolean that_present_success = true && that.isSetSuccess();
-
 
212069
      if (this_present_success || that_present_success) {
-
 
212070
        if (!(this_present_success && that_present_success))
-
 
212071
          return false;
-
 
212072
        if (!this.success.equals(that.success))
-
 
212073
          return false;
-
 
212074
      }
-
 
212075
 
-
 
212076
      return true;
-
 
212077
    }
-
 
212078
 
-
 
212079
    @Override
-
 
212080
    public int hashCode() {
-
 
212081
      return 0;
-
 
212082
    }
-
 
212083
 
-
 
212084
    public int compareTo(getReturnOrdersAsPerWarehouseId_result other) {
-
 
212085
      if (!getClass().equals(other.getClass())) {
-
 
212086
        return getClass().getName().compareTo(other.getClass().getName());
-
 
212087
      }
-
 
212088
 
-
 
212089
      int lastComparison = 0;
-
 
212090
      getReturnOrdersAsPerWarehouseId_result typedOther = (getReturnOrdersAsPerWarehouseId_result)other;
-
 
212091
 
-
 
212092
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
212093
      if (lastComparison != 0) {
-
 
212094
        return lastComparison;
-
 
212095
      }
-
 
212096
      if (isSetSuccess()) {
-
 
212097
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
212098
        if (lastComparison != 0) {
-
 
212099
          return lastComparison;
-
 
212100
        }
-
 
212101
      }
-
 
212102
      return 0;
-
 
212103
    }
-
 
212104
 
-
 
212105
    public _Fields fieldForId(int fieldId) {
-
 
212106
      return _Fields.findByThriftId(fieldId);
-
 
212107
    }
-
 
212108
 
-
 
212109
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
212110
      org.apache.thrift.protocol.TField field;
-
 
212111
      iprot.readStructBegin();
-
 
212112
      while (true)
-
 
212113
      {
-
 
212114
        field = iprot.readFieldBegin();
-
 
212115
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
212116
          break;
-
 
212117
        }
-
 
212118
        switch (field.id) {
-
 
212119
          case 0: // SUCCESS
-
 
212120
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
212121
              {
-
 
212122
                org.apache.thrift.protocol.TList _list716 = iprot.readListBegin();
-
 
212123
                this.success = new ArrayList<ReturnOrderInfo>(_list716.size);
-
 
212124
                for (int _i717 = 0; _i717 < _list716.size; ++_i717)
-
 
212125
                {
-
 
212126
                  ReturnOrderInfo _elem718; // required
-
 
212127
                  _elem718 = new ReturnOrderInfo();
-
 
212128
                  _elem718.read(iprot);
-
 
212129
                  this.success.add(_elem718);
-
 
212130
                }
-
 
212131
                iprot.readListEnd();
-
 
212132
              }
-
 
212133
            } else { 
-
 
212134
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
212135
            }
-
 
212136
            break;
-
 
212137
          default:
-
 
212138
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
212139
        }
-
 
212140
        iprot.readFieldEnd();
-
 
212141
      }
-
 
212142
      iprot.readStructEnd();
-
 
212143
      validate();
-
 
212144
    }
-
 
212145
 
-
 
212146
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
212147
      oprot.writeStructBegin(STRUCT_DESC);
-
 
212148
 
-
 
212149
      if (this.isSetSuccess()) {
-
 
212150
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
212151
        {
-
 
212152
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
212153
          for (ReturnOrderInfo _iter719 : this.success)
-
 
212154
          {
-
 
212155
            _iter719.write(oprot);
-
 
212156
          }
-
 
212157
          oprot.writeListEnd();
-
 
212158
        }
-
 
212159
        oprot.writeFieldEnd();
-
 
212160
      }
-
 
212161
      oprot.writeFieldStop();
-
 
212162
      oprot.writeStructEnd();
-
 
212163
    }
-
 
212164
 
-
 
212165
    @Override
-
 
212166
    public String toString() {
-
 
212167
      StringBuilder sb = new StringBuilder("getReturnOrdersAsPerWarehouseId_result(");
-
 
212168
      boolean first = true;
-
 
212169
 
-
 
212170
      sb.append("success:");
-
 
212171
      if (this.success == null) {
-
 
212172
        sb.append("null");
-
 
212173
      } else {
-
 
212174
        sb.append(this.success);
-
 
212175
      }
-
 
212176
      first = false;
-
 
212177
      sb.append(")");
-
 
212178
      return sb.toString();
-
 
212179
    }
-
 
212180
 
-
 
212181
    public void validate() throws org.apache.thrift.TException {
-
 
212182
      // check for required fields
-
 
212183
    }
-
 
212184
 
-
 
212185
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
212186
      try {
-
 
212187
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
212188
      } catch (org.apache.thrift.TException te) {
-
 
212189
        throw new java.io.IOException(te);
-
 
212190
      }
-
 
212191
    }
-
 
212192
 
-
 
212193
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
212194
      try {
-
 
212195
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
212196
      } catch (org.apache.thrift.TException te) {
-
 
212197
        throw new java.io.IOException(te);
-
 
212198
      }
-
 
212199
    }
-
 
212200
 
-
 
212201
  }
-
 
212202
 
-
 
212203
  public static class createReturnTransaction_args implements org.apache.thrift.TBase<createReturnTransaction_args, createReturnTransaction_args._Fields>, java.io.Serializable, Cloneable   {
-
 
212204
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createReturnTransaction_args");
-
 
212205
 
-
 
212206
    private static final org.apache.thrift.protocol.TField RETURN_TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField("returnTransaction", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
212207
 
-
 
212208
    private ReturnTransaction returnTransaction; // required
-
 
212209
 
-
 
212210
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
212211
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
212212
      RETURN_TRANSACTION((short)1, "returnTransaction");
-
 
212213
 
-
 
212214
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
212215
 
-
 
212216
      static {
-
 
212217
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
212218
          byName.put(field.getFieldName(), field);
-
 
212219
        }
-
 
212220
      }
-
 
212221
 
-
 
212222
      /**
-
 
212223
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
212224
       */
-
 
212225
      public static _Fields findByThriftId(int fieldId) {
-
 
212226
        switch(fieldId) {
-
 
212227
          case 1: // RETURN_TRANSACTION
-
 
212228
            return RETURN_TRANSACTION;
-
 
212229
          default:
-
 
212230
            return null;
-
 
212231
        }
-
 
212232
      }
-
 
212233
 
-
 
212234
      /**
-
 
212235
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
212236
       * if it is not found.
-
 
212237
       */
-
 
212238
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
212239
        _Fields fields = findByThriftId(fieldId);
-
 
212240
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
212241
        return fields;
-
 
212242
      }
-
 
212243
 
-
 
212244
      /**
-
 
212245
       * Find the _Fields constant that matches name, or null if its not found.
-
 
212246
       */
-
 
212247
      public static _Fields findByName(String name) {
-
 
212248
        return byName.get(name);
-
 
212249
      }
-
 
212250
 
-
 
212251
      private final short _thriftId;
-
 
212252
      private final String _fieldName;
-
 
212253
 
-
 
212254
      _Fields(short thriftId, String fieldName) {
-
 
212255
        _thriftId = thriftId;
-
 
212256
        _fieldName = fieldName;
-
 
212257
      }
-
 
212258
 
-
 
212259
      public short getThriftFieldId() {
-
 
212260
        return _thriftId;
-
 
212261
      }
-
 
212262
 
-
 
212263
      public String getFieldName() {
-
 
212264
        return _fieldName;
-
 
212265
      }
-
 
212266
    }
-
 
212267
 
-
 
212268
    // isset id assignments
-
 
212269
 
-
 
212270
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
212271
    static {
-
 
212272
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
212273
      tmpMap.put(_Fields.RETURN_TRANSACTION, new org.apache.thrift.meta_data.FieldMetaData("returnTransaction", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
212274
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnTransaction.class)));
-
 
212275
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
212276
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createReturnTransaction_args.class, metaDataMap);
-
 
212277
    }
-
 
212278
 
-
 
212279
    public createReturnTransaction_args() {
-
 
212280
    }
-
 
212281
 
-
 
212282
    public createReturnTransaction_args(
-
 
212283
      ReturnTransaction returnTransaction)
-
 
212284
    {
-
 
212285
      this();
-
 
212286
      this.returnTransaction = returnTransaction;
-
 
212287
    }
-
 
212288
 
-
 
212289
    /**
-
 
212290
     * Performs a deep copy on <i>other</i>.
-
 
212291
     */
-
 
212292
    public createReturnTransaction_args(createReturnTransaction_args other) {
-
 
212293
      if (other.isSetReturnTransaction()) {
-
 
212294
        this.returnTransaction = new ReturnTransaction(other.returnTransaction);
-
 
212295
      }
-
 
212296
    }
-
 
212297
 
-
 
212298
    public createReturnTransaction_args deepCopy() {
-
 
212299
      return new createReturnTransaction_args(this);
-
 
212300
    }
-
 
212301
 
-
 
212302
    @Override
-
 
212303
    public void clear() {
-
 
212304
      this.returnTransaction = null;
-
 
212305
    }
-
 
212306
 
-
 
212307
    public ReturnTransaction getReturnTransaction() {
-
 
212308
      return this.returnTransaction;
-
 
212309
    }
-
 
212310
 
-
 
212311
    public void setReturnTransaction(ReturnTransaction returnTransaction) {
-
 
212312
      this.returnTransaction = returnTransaction;
-
 
212313
    }
-
 
212314
 
-
 
212315
    public void unsetReturnTransaction() {
-
 
212316
      this.returnTransaction = null;
-
 
212317
    }
-
 
212318
 
-
 
212319
    /** Returns true if field returnTransaction is set (has been assigned a value) and false otherwise */
-
 
212320
    public boolean isSetReturnTransaction() {
-
 
212321
      return this.returnTransaction != null;
-
 
212322
    }
-
 
212323
 
-
 
212324
    public void setReturnTransactionIsSet(boolean value) {
-
 
212325
      if (!value) {
-
 
212326
        this.returnTransaction = null;
-
 
212327
      }
-
 
212328
    }
-
 
212329
 
-
 
212330
    public void setFieldValue(_Fields field, Object value) {
-
 
212331
      switch (field) {
-
 
212332
      case RETURN_TRANSACTION:
-
 
212333
        if (value == null) {
-
 
212334
          unsetReturnTransaction();
-
 
212335
        } else {
-
 
212336
          setReturnTransaction((ReturnTransaction)value);
-
 
212337
        }
-
 
212338
        break;
-
 
212339
 
-
 
212340
      }
-
 
212341
    }
-
 
212342
 
-
 
212343
    public Object getFieldValue(_Fields field) {
-
 
212344
      switch (field) {
-
 
212345
      case RETURN_TRANSACTION:
-
 
212346
        return getReturnTransaction();
-
 
212347
 
-
 
212348
      }
-
 
212349
      throw new IllegalStateException();
-
 
212350
    }
-
 
212351
 
-
 
212352
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
212353
    public boolean isSet(_Fields field) {
-
 
212354
      if (field == null) {
-
 
212355
        throw new IllegalArgumentException();
-
 
212356
      }
-
 
212357
 
-
 
212358
      switch (field) {
-
 
212359
      case RETURN_TRANSACTION:
-
 
212360
        return isSetReturnTransaction();
-
 
212361
      }
-
 
212362
      throw new IllegalStateException();
-
 
212363
    }
-
 
212364
 
-
 
212365
    @Override
-
 
212366
    public boolean equals(Object that) {
-
 
212367
      if (that == null)
-
 
212368
        return false;
-
 
212369
      if (that instanceof createReturnTransaction_args)
-
 
212370
        return this.equals((createReturnTransaction_args)that);
-
 
212371
      return false;
-
 
212372
    }
-
 
212373
 
-
 
212374
    public boolean equals(createReturnTransaction_args that) {
-
 
212375
      if (that == null)
-
 
212376
        return false;
-
 
212377
 
-
 
212378
      boolean this_present_returnTransaction = true && this.isSetReturnTransaction();
-
 
212379
      boolean that_present_returnTransaction = true && that.isSetReturnTransaction();
-
 
212380
      if (this_present_returnTransaction || that_present_returnTransaction) {
-
 
212381
        if (!(this_present_returnTransaction && that_present_returnTransaction))
-
 
212382
          return false;
-
 
212383
        if (!this.returnTransaction.equals(that.returnTransaction))
-
 
212384
          return false;
-
 
212385
      }
-
 
212386
 
-
 
212387
      return true;
-
 
212388
    }
-
 
212389
 
-
 
212390
    @Override
-
 
212391
    public int hashCode() {
-
 
212392
      return 0;
-
 
212393
    }
-
 
212394
 
-
 
212395
    public int compareTo(createReturnTransaction_args other) {
-
 
212396
      if (!getClass().equals(other.getClass())) {
-
 
212397
        return getClass().getName().compareTo(other.getClass().getName());
-
 
212398
      }
-
 
212399
 
-
 
212400
      int lastComparison = 0;
-
 
212401
      createReturnTransaction_args typedOther = (createReturnTransaction_args)other;
-
 
212402
 
-
 
212403
      lastComparison = Boolean.valueOf(isSetReturnTransaction()).compareTo(typedOther.isSetReturnTransaction());
-
 
212404
      if (lastComparison != 0) {
-
 
212405
        return lastComparison;
-
 
212406
      }
-
 
212407
      if (isSetReturnTransaction()) {
-
 
212408
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnTransaction, typedOther.returnTransaction);
-
 
212409
        if (lastComparison != 0) {
-
 
212410
          return lastComparison;
-
 
212411
        }
-
 
212412
      }
-
 
212413
      return 0;
-
 
212414
    }
-
 
212415
 
-
 
212416
    public _Fields fieldForId(int fieldId) {
-
 
212417
      return _Fields.findByThriftId(fieldId);
-
 
212418
    }
-
 
212419
 
-
 
212420
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
212421
      org.apache.thrift.protocol.TField field;
-
 
212422
      iprot.readStructBegin();
-
 
212423
      while (true)
-
 
212424
      {
-
 
212425
        field = iprot.readFieldBegin();
-
 
212426
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
212427
          break;
-
 
212428
        }
-
 
212429
        switch (field.id) {
-
 
212430
          case 1: // RETURN_TRANSACTION
-
 
212431
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
212432
              this.returnTransaction = new ReturnTransaction();
-
 
212433
              this.returnTransaction.read(iprot);
-
 
212434
            } else { 
-
 
212435
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
212436
            }
-
 
212437
            break;
-
 
212438
          default:
-
 
212439
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
212440
        }
-
 
212441
        iprot.readFieldEnd();
-
 
212442
      }
-
 
212443
      iprot.readStructEnd();
-
 
212444
      validate();
-
 
212445
    }
-
 
212446
 
-
 
212447
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
212448
      validate();
-
 
212449
 
-
 
212450
      oprot.writeStructBegin(STRUCT_DESC);
-
 
212451
      if (this.returnTransaction != null) {
-
 
212452
        oprot.writeFieldBegin(RETURN_TRANSACTION_FIELD_DESC);
-
 
212453
        this.returnTransaction.write(oprot);
-
 
212454
        oprot.writeFieldEnd();
-
 
212455
      }
-
 
212456
      oprot.writeFieldStop();
-
 
212457
      oprot.writeStructEnd();
-
 
212458
    }
-
 
212459
 
-
 
212460
    @Override
-
 
212461
    public String toString() {
-
 
212462
      StringBuilder sb = new StringBuilder("createReturnTransaction_args(");
-
 
212463
      boolean first = true;
-
 
212464
 
-
 
212465
      sb.append("returnTransaction:");
-
 
212466
      if (this.returnTransaction == null) {
-
 
212467
        sb.append("null");
-
 
212468
      } else {
-
 
212469
        sb.append(this.returnTransaction);
-
 
212470
      }
-
 
212471
      first = false;
-
 
212472
      sb.append(")");
-
 
212473
      return sb.toString();
-
 
212474
    }
-
 
212475
 
-
 
212476
    public void validate() throws org.apache.thrift.TException {
-
 
212477
      // check for required fields
-
 
212478
    }
-
 
212479
 
-
 
212480
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
212481
      try {
-
 
212482
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
212483
      } catch (org.apache.thrift.TException te) {
-
 
212484
        throw new java.io.IOException(te);
-
 
212485
      }
-
 
212486
    }
-
 
212487
 
-
 
212488
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
212489
      try {
-
 
212490
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
212491
      } catch (org.apache.thrift.TException te) {
-
 
212492
        throw new java.io.IOException(te);
-
 
212493
      }
-
 
212494
    }
-
 
212495
 
-
 
212496
  }
-
 
212497
 
-
 
212498
  public static class createReturnTransaction_result implements org.apache.thrift.TBase<createReturnTransaction_result, createReturnTransaction_result._Fields>, java.io.Serializable, Cloneable   {
-
 
212499
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createReturnTransaction_result");
-
 
212500
 
-
 
212501
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I64, (short)0);
-
 
212502
    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);
-
 
212503
 
-
 
212504
    private long success; // required
-
 
212505
    private TransactionServiceException ex; // required
-
 
212506
 
-
 
212507
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
212508
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
212509
      SUCCESS((short)0, "success"),
-
 
212510
      EX((short)1, "ex");
-
 
212511
 
-
 
212512
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
212513
 
-
 
212514
      static {
-
 
212515
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
212516
          byName.put(field.getFieldName(), field);
-
 
212517
        }
-
 
212518
      }
-
 
212519
 
-
 
212520
      /**
-
 
212521
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
212522
       */
-
 
212523
      public static _Fields findByThriftId(int fieldId) {
-
 
212524
        switch(fieldId) {
-
 
212525
          case 0: // SUCCESS
-
 
212526
            return SUCCESS;
-
 
212527
          case 1: // EX
-
 
212528
            return EX;
-
 
212529
          default:
-
 
212530
            return null;
-
 
212531
        }
-
 
212532
      }
-
 
212533
 
-
 
212534
      /**
-
 
212535
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
212536
       * if it is not found.
-
 
212537
       */
-
 
212538
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
212539
        _Fields fields = findByThriftId(fieldId);
-
 
212540
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
212541
        return fields;
-
 
212542
      }
-
 
212543
 
-
 
212544
      /**
-
 
212545
       * Find the _Fields constant that matches name, or null if its not found.
-
 
212546
       */
-
 
212547
      public static _Fields findByName(String name) {
-
 
212548
        return byName.get(name);
-
 
212549
      }
-
 
212550
 
-
 
212551
      private final short _thriftId;
-
 
212552
      private final String _fieldName;
-
 
212553
 
-
 
212554
      _Fields(short thriftId, String fieldName) {
-
 
212555
        _thriftId = thriftId;
-
 
212556
        _fieldName = fieldName;
-
 
212557
      }
-
 
212558
 
-
 
212559
      public short getThriftFieldId() {
-
 
212560
        return _thriftId;
-
 
212561
      }
-
 
212562
 
-
 
212563
      public String getFieldName() {
-
 
212564
        return _fieldName;
-
 
212565
      }
-
 
212566
    }
-
 
212567
 
-
 
212568
    // isset id assignments
-
 
212569
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
212570
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
212571
 
-
 
212572
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
212573
    static {
-
 
212574
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
212575
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
212576
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
212577
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
212578
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
212579
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
212580
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createReturnTransaction_result.class, metaDataMap);
-
 
212581
    }
-
 
212582
 
-
 
212583
    public createReturnTransaction_result() {
-
 
212584
    }
-
 
212585
 
-
 
212586
    public createReturnTransaction_result(
-
 
212587
      long success,
-
 
212588
      TransactionServiceException ex)
-
 
212589
    {
-
 
212590
      this();
-
 
212591
      this.success = success;
-
 
212592
      setSuccessIsSet(true);
-
 
212593
      this.ex = ex;
-
 
212594
    }
-
 
212595
 
-
 
212596
    /**
-
 
212597
     * Performs a deep copy on <i>other</i>.
-
 
212598
     */
-
 
212599
    public createReturnTransaction_result(createReturnTransaction_result other) {
-
 
212600
      __isset_bit_vector.clear();
-
 
212601
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
212602
      this.success = other.success;
-
 
212603
      if (other.isSetEx()) {
-
 
212604
        this.ex = new TransactionServiceException(other.ex);
-
 
212605
      }
-
 
212606
    }
-
 
212607
 
-
 
212608
    public createReturnTransaction_result deepCopy() {
-
 
212609
      return new createReturnTransaction_result(this);
-
 
212610
    }
-
 
212611
 
-
 
212612
    @Override
-
 
212613
    public void clear() {
-
 
212614
      setSuccessIsSet(false);
-
 
212615
      this.success = 0;
-
 
212616
      this.ex = null;
-
 
212617
    }
-
 
212618
 
-
 
212619
    public long getSuccess() {
-
 
212620
      return this.success;
-
 
212621
    }
-
 
212622
 
-
 
212623
    public void setSuccess(long success) {
-
 
212624
      this.success = success;
-
 
212625
      setSuccessIsSet(true);
-
 
212626
    }
-
 
212627
 
-
 
212628
    public void unsetSuccess() {
-
 
212629
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
212630
    }
-
 
212631
 
-
 
212632
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
212633
    public boolean isSetSuccess() {
-
 
212634
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
212635
    }
-
 
212636
 
-
 
212637
    public void setSuccessIsSet(boolean value) {
-
 
212638
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
212639
    }
-
 
212640
 
-
 
212641
    public TransactionServiceException getEx() {
-
 
212642
      return this.ex;
-
 
212643
    }
-
 
212644
 
-
 
212645
    public void setEx(TransactionServiceException ex) {
-
 
212646
      this.ex = ex;
-
 
212647
    }
-
 
212648
 
-
 
212649
    public void unsetEx() {
-
 
212650
      this.ex = null;
-
 
212651
    }
-
 
212652
 
-
 
212653
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
212654
    public boolean isSetEx() {
-
 
212655
      return this.ex != null;
-
 
212656
    }
-
 
212657
 
-
 
212658
    public void setExIsSet(boolean value) {
-
 
212659
      if (!value) {
-
 
212660
        this.ex = null;
-
 
212661
      }
-
 
212662
    }
-
 
212663
 
-
 
212664
    public void setFieldValue(_Fields field, Object value) {
-
 
212665
      switch (field) {
-
 
212666
      case SUCCESS:
-
 
212667
        if (value == null) {
-
 
212668
          unsetSuccess();
-
 
212669
        } else {
-
 
212670
          setSuccess((Long)value);
-
 
212671
        }
-
 
212672
        break;
-
 
212673
 
-
 
212674
      case EX:
-
 
212675
        if (value == null) {
-
 
212676
          unsetEx();
-
 
212677
        } else {
-
 
212678
          setEx((TransactionServiceException)value);
-
 
212679
        }
-
 
212680
        break;
-
 
212681
 
-
 
212682
      }
-
 
212683
    }
-
 
212684
 
-
 
212685
    public Object getFieldValue(_Fields field) {
-
 
212686
      switch (field) {
-
 
212687
      case SUCCESS:
-
 
212688
        return Long.valueOf(getSuccess());
-
 
212689
 
-
 
212690
      case EX:
-
 
212691
        return getEx();
-
 
212692
 
-
 
212693
      }
-
 
212694
      throw new IllegalStateException();
-
 
212695
    }
-
 
212696
 
-
 
212697
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
212698
    public boolean isSet(_Fields field) {
-
 
212699
      if (field == null) {
-
 
212700
        throw new IllegalArgumentException();
-
 
212701
      }
-
 
212702
 
-
 
212703
      switch (field) {
-
 
212704
      case SUCCESS:
-
 
212705
        return isSetSuccess();
-
 
212706
      case EX:
-
 
212707
        return isSetEx();
-
 
212708
      }
-
 
212709
      throw new IllegalStateException();
-
 
212710
    }
-
 
212711
 
-
 
212712
    @Override
-
 
212713
    public boolean equals(Object that) {
-
 
212714
      if (that == null)
-
 
212715
        return false;
-
 
212716
      if (that instanceof createReturnTransaction_result)
-
 
212717
        return this.equals((createReturnTransaction_result)that);
-
 
212718
      return false;
-
 
212719
    }
-
 
212720
 
-
 
212721
    public boolean equals(createReturnTransaction_result that) {
-
 
212722
      if (that == null)
-
 
212723
        return false;
-
 
212724
 
-
 
212725
      boolean this_present_success = true;
-
 
212726
      boolean that_present_success = true;
-
 
212727
      if (this_present_success || that_present_success) {
-
 
212728
        if (!(this_present_success && that_present_success))
-
 
212729
          return false;
-
 
212730
        if (this.success != that.success)
-
 
212731
          return false;
-
 
212732
      }
-
 
212733
 
-
 
212734
      boolean this_present_ex = true && this.isSetEx();
-
 
212735
      boolean that_present_ex = true && that.isSetEx();
-
 
212736
      if (this_present_ex || that_present_ex) {
-
 
212737
        if (!(this_present_ex && that_present_ex))
-
 
212738
          return false;
-
 
212739
        if (!this.ex.equals(that.ex))
-
 
212740
          return false;
-
 
212741
      }
-
 
212742
 
-
 
212743
      return true;
-
 
212744
    }
-
 
212745
 
-
 
212746
    @Override
-
 
212747
    public int hashCode() {
-
 
212748
      return 0;
-
 
212749
    }
-
 
212750
 
-
 
212751
    public int compareTo(createReturnTransaction_result other) {
-
 
212752
      if (!getClass().equals(other.getClass())) {
-
 
212753
        return getClass().getName().compareTo(other.getClass().getName());
-
 
212754
      }
-
 
212755
 
-
 
212756
      int lastComparison = 0;
-
 
212757
      createReturnTransaction_result typedOther = (createReturnTransaction_result)other;
-
 
212758
 
-
 
212759
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
212760
      if (lastComparison != 0) {
-
 
212761
        return lastComparison;
-
 
212762
      }
-
 
212763
      if (isSetSuccess()) {
-
 
212764
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
212765
        if (lastComparison != 0) {
-
 
212766
          return lastComparison;
-
 
212767
        }
-
 
212768
      }
-
 
212769
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
212770
      if (lastComparison != 0) {
-
 
212771
        return lastComparison;
-
 
212772
      }
-
 
212773
      if (isSetEx()) {
-
 
212774
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
212775
        if (lastComparison != 0) {
-
 
212776
          return lastComparison;
-
 
212777
        }
-
 
212778
      }
-
 
212779
      return 0;
-
 
212780
    }
-
 
212781
 
-
 
212782
    public _Fields fieldForId(int fieldId) {
-
 
212783
      return _Fields.findByThriftId(fieldId);
-
 
212784
    }
-
 
212785
 
-
 
212786
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
212787
      org.apache.thrift.protocol.TField field;
-
 
212788
      iprot.readStructBegin();
-
 
212789
      while (true)
-
 
212790
      {
-
 
212791
        field = iprot.readFieldBegin();
-
 
212792
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
212793
          break;
-
 
212794
        }
-
 
212795
        switch (field.id) {
-
 
212796
          case 0: // SUCCESS
-
 
212797
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
212798
              this.success = iprot.readI64();
-
 
212799
              setSuccessIsSet(true);
-
 
212800
            } else { 
-
 
212801
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
212802
            }
-
 
212803
            break;
-
 
212804
          case 1: // EX
-
 
212805
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
212806
              this.ex = new TransactionServiceException();
-
 
212807
              this.ex.read(iprot);
-
 
212808
            } else { 
-
 
212809
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
212810
            }
-
 
212811
            break;
-
 
212812
          default:
-
 
212813
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
212814
        }
-
 
212815
        iprot.readFieldEnd();
-
 
212816
      }
-
 
212817
      iprot.readStructEnd();
-
 
212818
      validate();
-
 
212819
    }
-
 
212820
 
-
 
212821
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
212822
      oprot.writeStructBegin(STRUCT_DESC);
-
 
212823
 
-
 
212824
      if (this.isSetSuccess()) {
-
 
212825
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
212826
        oprot.writeI64(this.success);
-
 
212827
        oprot.writeFieldEnd();
-
 
212828
      } else if (this.isSetEx()) {
-
 
212829
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
212830
        this.ex.write(oprot);
-
 
212831
        oprot.writeFieldEnd();
-
 
212832
      }
-
 
212833
      oprot.writeFieldStop();
-
 
212834
      oprot.writeStructEnd();
-
 
212835
    }
-
 
212836
 
-
 
212837
    @Override
-
 
212838
    public String toString() {
-
 
212839
      StringBuilder sb = new StringBuilder("createReturnTransaction_result(");
-
 
212840
      boolean first = true;
-
 
212841
 
-
 
212842
      sb.append("success:");
-
 
212843
      sb.append(this.success);
-
 
212844
      first = false;
-
 
212845
      if (!first) sb.append(", ");
-
 
212846
      sb.append("ex:");
-
 
212847
      if (this.ex == null) {
-
 
212848
        sb.append("null");
-
 
212849
      } else {
-
 
212850
        sb.append(this.ex);
-
 
212851
      }
-
 
212852
      first = false;
-
 
212853
      sb.append(")");
-
 
212854
      return sb.toString();
-
 
212855
    }
-
 
212856
 
-
 
212857
    public void validate() throws org.apache.thrift.TException {
-
 
212858
      // check for required fields
-
 
212859
    }
-
 
212860
 
-
 
212861
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
212862
      try {
-
 
212863
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
212864
      } catch (org.apache.thrift.TException te) {
-
 
212865
        throw new java.io.IOException(te);
-
 
212866
      }
-
 
212867
    }
-
 
212868
 
-
 
212869
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
212870
      try {
-
 
212871
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
212872
      } catch (org.apache.thrift.TException te) {
-
 
212873
        throw new java.io.IOException(te);
-
 
212874
      }
-
 
212875
    }
-
 
212876
 
-
 
212877
  }
-
 
212878
 
-
 
212879
  public static class getReturnTransaction_args implements org.apache.thrift.TBase<getReturnTransaction_args, getReturnTransaction_args._Fields>, java.io.Serializable, Cloneable   {
-
 
212880
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnTransaction_args");
-
 
212881
 
-
 
212882
    private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
212883
 
-
 
212884
    private long id; // required
-
 
212885
 
-
 
212886
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
212887
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
212888
      ID((short)1, "id");
-
 
212889
 
-
 
212890
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
212891
 
-
 
212892
      static {
-
 
212893
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
212894
          byName.put(field.getFieldName(), field);
-
 
212895
        }
-
 
212896
      }
-
 
212897
 
-
 
212898
      /**
-
 
212899
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
212900
       */
-
 
212901
      public static _Fields findByThriftId(int fieldId) {
-
 
212902
        switch(fieldId) {
-
 
212903
          case 1: // ID
-
 
212904
            return ID;
-
 
212905
          default:
-
 
212906
            return null;
-
 
212907
        }
-
 
212908
      }
-
 
212909
 
-
 
212910
      /**
-
 
212911
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
212912
       * if it is not found.
-
 
212913
       */
-
 
212914
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
212915
        _Fields fields = findByThriftId(fieldId);
-
 
212916
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
212917
        return fields;
-
 
212918
      }
-
 
212919
 
-
 
212920
      /**
-
 
212921
       * Find the _Fields constant that matches name, or null if its not found.
-
 
212922
       */
-
 
212923
      public static _Fields findByName(String name) {
-
 
212924
        return byName.get(name);
-
 
212925
      }
-
 
212926
 
-
 
212927
      private final short _thriftId;
-
 
212928
      private final String _fieldName;
-
 
212929
 
-
 
212930
      _Fields(short thriftId, String fieldName) {
-
 
212931
        _thriftId = thriftId;
-
 
212932
        _fieldName = fieldName;
-
 
212933
      }
-
 
212934
 
-
 
212935
      public short getThriftFieldId() {
-
 
212936
        return _thriftId;
-
 
212937
      }
-
 
212938
 
-
 
212939
      public String getFieldName() {
-
 
212940
        return _fieldName;
-
 
212941
      }
-
 
212942
    }
-
 
212943
 
-
 
212944
    // isset id assignments
-
 
212945
    private static final int __ID_ISSET_ID = 0;
-
 
212946
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
212947
 
-
 
212948
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
212949
    static {
-
 
212950
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
212951
      tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
212952
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
212953
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
212954
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReturnTransaction_args.class, metaDataMap);
-
 
212955
    }
-
 
212956
 
-
 
212957
    public getReturnTransaction_args() {
-
 
212958
    }
-
 
212959
 
-
 
212960
    public getReturnTransaction_args(
-
 
212961
      long id)
-
 
212962
    {
-
 
212963
      this();
-
 
212964
      this.id = id;
-
 
212965
      setIdIsSet(true);
-
 
212966
    }
-
 
212967
 
-
 
212968
    /**
-
 
212969
     * Performs a deep copy on <i>other</i>.
-
 
212970
     */
-
 
212971
    public getReturnTransaction_args(getReturnTransaction_args other) {
-
 
212972
      __isset_bit_vector.clear();
-
 
212973
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
212974
      this.id = other.id;
-
 
212975
    }
-
 
212976
 
-
 
212977
    public getReturnTransaction_args deepCopy() {
-
 
212978
      return new getReturnTransaction_args(this);
-
 
212979
    }
-
 
212980
 
-
 
212981
    @Override
-
 
212982
    public void clear() {
-
 
212983
      setIdIsSet(false);
-
 
212984
      this.id = 0;
-
 
212985
    }
-
 
212986
 
-
 
212987
    public long getId() {
-
 
212988
      return this.id;
-
 
212989
    }
-
 
212990
 
-
 
212991
    public void setId(long id) {
-
 
212992
      this.id = id;
-
 
212993
      setIdIsSet(true);
-
 
212994
    }
-
 
212995
 
-
 
212996
    public void unsetId() {
-
 
212997
      __isset_bit_vector.clear(__ID_ISSET_ID);
-
 
212998
    }
-
 
212999
 
-
 
213000
    /** Returns true if field id is set (has been assigned a value) and false otherwise */
-
 
213001
    public boolean isSetId() {
-
 
213002
      return __isset_bit_vector.get(__ID_ISSET_ID);
-
 
213003
    }
-
 
213004
 
-
 
213005
    public void setIdIsSet(boolean value) {
-
 
213006
      __isset_bit_vector.set(__ID_ISSET_ID, value);
-
 
213007
    }
-
 
213008
 
-
 
213009
    public void setFieldValue(_Fields field, Object value) {
-
 
213010
      switch (field) {
-
 
213011
      case ID:
-
 
213012
        if (value == null) {
-
 
213013
          unsetId();
-
 
213014
        } else {
-
 
213015
          setId((Long)value);
-
 
213016
        }
-
 
213017
        break;
-
 
213018
 
-
 
213019
      }
-
 
213020
    }
-
 
213021
 
-
 
213022
    public Object getFieldValue(_Fields field) {
-
 
213023
      switch (field) {
-
 
213024
      case ID:
-
 
213025
        return Long.valueOf(getId());
-
 
213026
 
-
 
213027
      }
-
 
213028
      throw new IllegalStateException();
-
 
213029
    }
-
 
213030
 
-
 
213031
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
213032
    public boolean isSet(_Fields field) {
-
 
213033
      if (field == null) {
-
 
213034
        throw new IllegalArgumentException();
-
 
213035
      }
-
 
213036
 
-
 
213037
      switch (field) {
-
 
213038
      case ID:
-
 
213039
        return isSetId();
-
 
213040
      }
-
 
213041
      throw new IllegalStateException();
-
 
213042
    }
-
 
213043
 
-
 
213044
    @Override
-
 
213045
    public boolean equals(Object that) {
-
 
213046
      if (that == null)
-
 
213047
        return false;
-
 
213048
      if (that instanceof getReturnTransaction_args)
-
 
213049
        return this.equals((getReturnTransaction_args)that);
-
 
213050
      return false;
-
 
213051
    }
-
 
213052
 
-
 
213053
    public boolean equals(getReturnTransaction_args that) {
-
 
213054
      if (that == null)
-
 
213055
        return false;
-
 
213056
 
-
 
213057
      boolean this_present_id = true;
-
 
213058
      boolean that_present_id = true;
-
 
213059
      if (this_present_id || that_present_id) {
-
 
213060
        if (!(this_present_id && that_present_id))
-
 
213061
          return false;
-
 
213062
        if (this.id != that.id)
-
 
213063
          return false;
-
 
213064
      }
-
 
213065
 
-
 
213066
      return true;
-
 
213067
    }
-
 
213068
 
-
 
213069
    @Override
-
 
213070
    public int hashCode() {
-
 
213071
      return 0;
-
 
213072
    }
-
 
213073
 
-
 
213074
    public int compareTo(getReturnTransaction_args other) {
-
 
213075
      if (!getClass().equals(other.getClass())) {
-
 
213076
        return getClass().getName().compareTo(other.getClass().getName());
-
 
213077
      }
-
 
213078
 
-
 
213079
      int lastComparison = 0;
-
 
213080
      getReturnTransaction_args typedOther = (getReturnTransaction_args)other;
-
 
213081
 
-
 
213082
      lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
-
 
213083
      if (lastComparison != 0) {
-
 
213084
        return lastComparison;
-
 
213085
      }
-
 
213086
      if (isSetId()) {
-
 
213087
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
-
 
213088
        if (lastComparison != 0) {
-
 
213089
          return lastComparison;
-
 
213090
        }
-
 
213091
      }
-
 
213092
      return 0;
-
 
213093
    }
-
 
213094
 
-
 
213095
    public _Fields fieldForId(int fieldId) {
-
 
213096
      return _Fields.findByThriftId(fieldId);
-
 
213097
    }
-
 
213098
 
-
 
213099
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
213100
      org.apache.thrift.protocol.TField field;
-
 
213101
      iprot.readStructBegin();
-
 
213102
      while (true)
-
 
213103
      {
-
 
213104
        field = iprot.readFieldBegin();
-
 
213105
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
213106
          break;
-
 
213107
        }
-
 
213108
        switch (field.id) {
-
 
213109
          case 1: // ID
-
 
213110
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
213111
              this.id = iprot.readI64();
-
 
213112
              setIdIsSet(true);
-
 
213113
            } else { 
-
 
213114
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
213115
            }
-
 
213116
            break;
-
 
213117
          default:
-
 
213118
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
213119
        }
-
 
213120
        iprot.readFieldEnd();
-
 
213121
      }
-
 
213122
      iprot.readStructEnd();
-
 
213123
      validate();
-
 
213124
    }
-
 
213125
 
-
 
213126
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
213127
      validate();
-
 
213128
 
-
 
213129
      oprot.writeStructBegin(STRUCT_DESC);
-
 
213130
      oprot.writeFieldBegin(ID_FIELD_DESC);
-
 
213131
      oprot.writeI64(this.id);
-
 
213132
      oprot.writeFieldEnd();
-
 
213133
      oprot.writeFieldStop();
-
 
213134
      oprot.writeStructEnd();
-
 
213135
    }
-
 
213136
 
-
 
213137
    @Override
-
 
213138
    public String toString() {
-
 
213139
      StringBuilder sb = new StringBuilder("getReturnTransaction_args(");
-
 
213140
      boolean first = true;
-
 
213141
 
-
 
213142
      sb.append("id:");
-
 
213143
      sb.append(this.id);
-
 
213144
      first = false;
-
 
213145
      sb.append(")");
-
 
213146
      return sb.toString();
-
 
213147
    }
-
 
213148
 
-
 
213149
    public void validate() throws org.apache.thrift.TException {
-
 
213150
      // check for required fields
-
 
213151
    }
-
 
213152
 
-
 
213153
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
213154
      try {
-
 
213155
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
213156
      } catch (org.apache.thrift.TException te) {
-
 
213157
        throw new java.io.IOException(te);
-
 
213158
      }
-
 
213159
    }
-
 
213160
 
-
 
213161
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
213162
      try {
-
 
213163
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
213164
        __isset_bit_vector = new BitSet(1);
-
 
213165
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
213166
      } catch (org.apache.thrift.TException te) {
-
 
213167
        throw new java.io.IOException(te);
-
 
213168
      }
-
 
213169
    }
-
 
213170
 
-
 
213171
  }
-
 
213172
 
-
 
213173
  public static class getReturnTransaction_result implements org.apache.thrift.TBase<getReturnTransaction_result, getReturnTransaction_result._Fields>, java.io.Serializable, Cloneable   {
-
 
213174
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnTransaction_result");
-
 
213175
 
-
 
213176
    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);
-
 
213177
    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);
-
 
213178
 
-
 
213179
    private ReturnTransaction success; // required
-
 
213180
    private TransactionServiceException ex; // required
-
 
213181
 
-
 
213182
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
213183
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
213184
      SUCCESS((short)0, "success"),
-
 
213185
      EX((short)1, "ex");
-
 
213186
 
-
 
213187
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
213188
 
-
 
213189
      static {
-
 
213190
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
213191
          byName.put(field.getFieldName(), field);
-
 
213192
        }
-
 
213193
      }
-
 
213194
 
-
 
213195
      /**
-
 
213196
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
213197
       */
-
 
213198
      public static _Fields findByThriftId(int fieldId) {
-
 
213199
        switch(fieldId) {
-
 
213200
          case 0: // SUCCESS
-
 
213201
            return SUCCESS;
-
 
213202
          case 1: // EX
-
 
213203
            return EX;
-
 
213204
          default:
-
 
213205
            return null;
-
 
213206
        }
-
 
213207
      }
-
 
213208
 
-
 
213209
      /**
-
 
213210
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
213211
       * if it is not found.
-
 
213212
       */
-
 
213213
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
213214
        _Fields fields = findByThriftId(fieldId);
-
 
213215
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
213216
        return fields;
-
 
213217
      }
-
 
213218
 
-
 
213219
      /**
-
 
213220
       * Find the _Fields constant that matches name, or null if its not found.
-
 
213221
       */
-
 
213222
      public static _Fields findByName(String name) {
-
 
213223
        return byName.get(name);
-
 
213224
      }
-
 
213225
 
-
 
213226
      private final short _thriftId;
-
 
213227
      private final String _fieldName;
-
 
213228
 
-
 
213229
      _Fields(short thriftId, String fieldName) {
-
 
213230
        _thriftId = thriftId;
-
 
213231
        _fieldName = fieldName;
-
 
213232
      }
-
 
213233
 
-
 
213234
      public short getThriftFieldId() {
-
 
213235
        return _thriftId;
-
 
213236
      }
-
 
213237
 
-
 
213238
      public String getFieldName() {
-
 
213239
        return _fieldName;
-
 
213240
      }
-
 
213241
    }
-
 
213242
 
-
 
213243
    // isset id assignments
-
 
213244
 
-
 
213245
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
213246
    static {
-
 
213247
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
213248
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
213249
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnTransaction.class)));
-
 
213250
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
213251
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
213252
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
213253
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReturnTransaction_result.class, metaDataMap);
-
 
213254
    }
-
 
213255
 
-
 
213256
    public getReturnTransaction_result() {
-
 
213257
    }
-
 
213258
 
-
 
213259
    public getReturnTransaction_result(
-
 
213260
      ReturnTransaction success,
-
 
213261
      TransactionServiceException ex)
-
 
213262
    {
-
 
213263
      this();
-
 
213264
      this.success = success;
-
 
213265
      this.ex = ex;
-
 
213266
    }
-
 
213267
 
-
 
213268
    /**
-
 
213269
     * Performs a deep copy on <i>other</i>.
-
 
213270
     */
-
 
213271
    public getReturnTransaction_result(getReturnTransaction_result other) {
-
 
213272
      if (other.isSetSuccess()) {
-
 
213273
        this.success = new ReturnTransaction(other.success);
-
 
213274
      }
-
 
213275
      if (other.isSetEx()) {
-
 
213276
        this.ex = new TransactionServiceException(other.ex);
-
 
213277
      }
-
 
213278
    }
-
 
213279
 
-
 
213280
    public getReturnTransaction_result deepCopy() {
-
 
213281
      return new getReturnTransaction_result(this);
-
 
213282
    }
-
 
213283
 
-
 
213284
    @Override
-
 
213285
    public void clear() {
-
 
213286
      this.success = null;
-
 
213287
      this.ex = null;
-
 
213288
    }
-
 
213289
 
-
 
213290
    public ReturnTransaction getSuccess() {
-
 
213291
      return this.success;
-
 
213292
    }
-
 
213293
 
-
 
213294
    public void setSuccess(ReturnTransaction success) {
-
 
213295
      this.success = success;
-
 
213296
    }
-
 
213297
 
-
 
213298
    public void unsetSuccess() {
-
 
213299
      this.success = null;
-
 
213300
    }
-
 
213301
 
-
 
213302
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
213303
    public boolean isSetSuccess() {
-
 
213304
      return this.success != null;
-
 
213305
    }
-
 
213306
 
-
 
213307
    public void setSuccessIsSet(boolean value) {
-
 
213308
      if (!value) {
-
 
213309
        this.success = null;
-
 
213310
      }
-
 
213311
    }
-
 
213312
 
-
 
213313
    public TransactionServiceException getEx() {
-
 
213314
      return this.ex;
-
 
213315
    }
-
 
213316
 
-
 
213317
    public void setEx(TransactionServiceException ex) {
-
 
213318
      this.ex = ex;
-
 
213319
    }
-
 
213320
 
-
 
213321
    public void unsetEx() {
-
 
213322
      this.ex = null;
-
 
213323
    }
-
 
213324
 
-
 
213325
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
213326
    public boolean isSetEx() {
-
 
213327
      return this.ex != null;
-
 
213328
    }
-
 
213329
 
-
 
213330
    public void setExIsSet(boolean value) {
-
 
213331
      if (!value) {
-
 
213332
        this.ex = null;
-
 
213333
      }
-
 
213334
    }
-
 
213335
 
-
 
213336
    public void setFieldValue(_Fields field, Object value) {
-
 
213337
      switch (field) {
-
 
213338
      case SUCCESS:
-
 
213339
        if (value == null) {
-
 
213340
          unsetSuccess();
-
 
213341
        } else {
-
 
213342
          setSuccess((ReturnTransaction)value);
-
 
213343
        }
-
 
213344
        break;
-
 
213345
 
-
 
213346
      case EX:
-
 
213347
        if (value == null) {
-
 
213348
          unsetEx();
-
 
213349
        } else {
-
 
213350
          setEx((TransactionServiceException)value);
-
 
213351
        }
-
 
213352
        break;
-
 
213353
 
-
 
213354
      }
-
 
213355
    }
-
 
213356
 
-
 
213357
    public Object getFieldValue(_Fields field) {
-
 
213358
      switch (field) {
-
 
213359
      case SUCCESS:
-
 
213360
        return getSuccess();
-
 
213361
 
-
 
213362
      case EX:
-
 
213363
        return getEx();
-
 
213364
 
-
 
213365
      }
-
 
213366
      throw new IllegalStateException();
-
 
213367
    }
-
 
213368
 
-
 
213369
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
213370
    public boolean isSet(_Fields field) {
-
 
213371
      if (field == null) {
-
 
213372
        throw new IllegalArgumentException();
-
 
213373
      }
-
 
213374
 
-
 
213375
      switch (field) {
-
 
213376
      case SUCCESS:
-
 
213377
        return isSetSuccess();
-
 
213378
      case EX:
-
 
213379
        return isSetEx();
-
 
213380
      }
-
 
213381
      throw new IllegalStateException();
-
 
213382
    }
-
 
213383
 
-
 
213384
    @Override
-
 
213385
    public boolean equals(Object that) {
-
 
213386
      if (that == null)
-
 
213387
        return false;
-
 
213388
      if (that instanceof getReturnTransaction_result)
-
 
213389
        return this.equals((getReturnTransaction_result)that);
-
 
213390
      return false;
-
 
213391
    }
-
 
213392
 
-
 
213393
    public boolean equals(getReturnTransaction_result that) {
-
 
213394
      if (that == null)
-
 
213395
        return false;
-
 
213396
 
-
 
213397
      boolean this_present_success = true && this.isSetSuccess();
-
 
213398
      boolean that_present_success = true && that.isSetSuccess();
-
 
213399
      if (this_present_success || that_present_success) {
-
 
213400
        if (!(this_present_success && that_present_success))
-
 
213401
          return false;
-
 
213402
        if (!this.success.equals(that.success))
-
 
213403
          return false;
-
 
213404
      }
-
 
213405
 
-
 
213406
      boolean this_present_ex = true && this.isSetEx();
-
 
213407
      boolean that_present_ex = true && that.isSetEx();
-
 
213408
      if (this_present_ex || that_present_ex) {
-
 
213409
        if (!(this_present_ex && that_present_ex))
-
 
213410
          return false;
-
 
213411
        if (!this.ex.equals(that.ex))
-
 
213412
          return false;
-
 
213413
      }
-
 
213414
 
-
 
213415
      return true;
-
 
213416
    }
-
 
213417
 
-
 
213418
    @Override
-
 
213419
    public int hashCode() {
-
 
213420
      return 0;
-
 
213421
    }
-
 
213422
 
-
 
213423
    public int compareTo(getReturnTransaction_result other) {
-
 
213424
      if (!getClass().equals(other.getClass())) {
-
 
213425
        return getClass().getName().compareTo(other.getClass().getName());
-
 
213426
      }
-
 
213427
 
-
 
213428
      int lastComparison = 0;
-
 
213429
      getReturnTransaction_result typedOther = (getReturnTransaction_result)other;
-
 
213430
 
-
 
213431
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
213432
      if (lastComparison != 0) {
-
 
213433
        return lastComparison;
-
 
213434
      }
-
 
213435
      if (isSetSuccess()) {
-
 
213436
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
213437
        if (lastComparison != 0) {
-
 
213438
          return lastComparison;
-
 
213439
        }
-
 
213440
      }
-
 
213441
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
213442
      if (lastComparison != 0) {
-
 
213443
        return lastComparison;
-
 
213444
      }
-
 
213445
      if (isSetEx()) {
-
 
213446
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
213447
        if (lastComparison != 0) {
-
 
213448
          return lastComparison;
-
 
213449
        }
-
 
213450
      }
-
 
213451
      return 0;
-
 
213452
    }
-
 
213453
 
-
 
213454
    public _Fields fieldForId(int fieldId) {
-
 
213455
      return _Fields.findByThriftId(fieldId);
-
 
213456
    }
-
 
213457
 
-
 
213458
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
213459
      org.apache.thrift.protocol.TField field;
-
 
213460
      iprot.readStructBegin();
-
 
213461
      while (true)
-
 
213462
      {
-
 
213463
        field = iprot.readFieldBegin();
-
 
213464
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
213465
          break;
-
 
213466
        }
-
 
213467
        switch (field.id) {
-
 
213468
          case 0: // SUCCESS
-
 
213469
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
213470
              this.success = new ReturnTransaction();
-
 
213471
              this.success.read(iprot);
-
 
213472
            } else { 
-
 
213473
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
213474
            }
-
 
213475
            break;
-
 
213476
          case 1: // EX
-
 
213477
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
213478
              this.ex = new TransactionServiceException();
-
 
213479
              this.ex.read(iprot);
-
 
213480
            } else { 
-
 
213481
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
213482
            }
-
 
213483
            break;
-
 
213484
          default:
-
 
213485
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
213486
        }
-
 
213487
        iprot.readFieldEnd();
-
 
213488
      }
-
 
213489
      iprot.readStructEnd();
-
 
213490
      validate();
-
 
213491
    }
-
 
213492
 
-
 
213493
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
213494
      oprot.writeStructBegin(STRUCT_DESC);
-
 
213495
 
-
 
213496
      if (this.isSetSuccess()) {
-
 
213497
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
213498
        this.success.write(oprot);
-
 
213499
        oprot.writeFieldEnd();
-
 
213500
      } else if (this.isSetEx()) {
-
 
213501
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
213502
        this.ex.write(oprot);
-
 
213503
        oprot.writeFieldEnd();
-
 
213504
      }
-
 
213505
      oprot.writeFieldStop();
-
 
213506
      oprot.writeStructEnd();
-
 
213507
    }
-
 
213508
 
-
 
213509
    @Override
-
 
213510
    public String toString() {
-
 
213511
      StringBuilder sb = new StringBuilder("getReturnTransaction_result(");
-
 
213512
      boolean first = true;
-
 
213513
 
-
 
213514
      sb.append("success:");
-
 
213515
      if (this.success == null) {
-
 
213516
        sb.append("null");
-
 
213517
      } else {
-
 
213518
        sb.append(this.success);
-
 
213519
      }
-
 
213520
      first = false;
-
 
213521
      if (!first) sb.append(", ");
-
 
213522
      sb.append("ex:");
-
 
213523
      if (this.ex == null) {
-
 
213524
        sb.append("null");
-
 
213525
      } else {
-
 
213526
        sb.append(this.ex);
-
 
213527
      }
-
 
213528
      first = false;
-
 
213529
      sb.append(")");
-
 
213530
      return sb.toString();
-
 
213531
    }
-
 
213532
 
-
 
213533
    public void validate() throws org.apache.thrift.TException {
-
 
213534
      // check for required fields
-
 
213535
    }
-
 
213536
 
-
 
213537
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
213538
      try {
-
 
213539
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
213540
      } catch (org.apache.thrift.TException te) {
-
 
213541
        throw new java.io.IOException(te);
-
 
213542
      }
-
 
213543
    }
-
 
213544
 
-
 
213545
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
213546
      try {
-
 
213547
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
213548
      } catch (org.apache.thrift.TException te) {
-
 
213549
        throw new java.io.IOException(te);
-
 
213550
      }
-
 
213551
    }
-
 
213552
 
-
 
213553
  }
-
 
213554
 
-
 
213555
  public static class getReturnOrdersForReturnTransaction_args implements org.apache.thrift.TBase<getReturnOrdersForReturnTransaction_args, getReturnOrdersForReturnTransaction_args._Fields>, java.io.Serializable, Cloneable   {
-
 
213556
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnOrdersForReturnTransaction_args");
-
 
213557
 
-
 
213558
    private static final org.apache.thrift.protocol.TField RETURN_TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("returnTransactionId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
213559
 
-
 
213560
    private long returnTransactionId; // required
-
 
213561
 
-
 
213562
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
213563
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
213564
      RETURN_TRANSACTION_ID((short)1, "returnTransactionId");
-
 
213565
 
-
 
213566
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
213567
 
-
 
213568
      static {
-
 
213569
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
213570
          byName.put(field.getFieldName(), field);
-
 
213571
        }
-
 
213572
      }
-
 
213573
 
-
 
213574
      /**
-
 
213575
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
213576
       */
-
 
213577
      public static _Fields findByThriftId(int fieldId) {
-
 
213578
        switch(fieldId) {
-
 
213579
          case 1: // RETURN_TRANSACTION_ID
-
 
213580
            return RETURN_TRANSACTION_ID;
-
 
213581
          default:
-
 
213582
            return null;
-
 
213583
        }
-
 
213584
      }
-
 
213585
 
-
 
213586
      /**
-
 
213587
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
213588
       * if it is not found.
-
 
213589
       */
-
 
213590
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
213591
        _Fields fields = findByThriftId(fieldId);
-
 
213592
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
213593
        return fields;
-
 
213594
      }
-
 
213595
 
-
 
213596
      /**
-
 
213597
       * Find the _Fields constant that matches name, or null if its not found.
-
 
213598
       */
-
 
213599
      public static _Fields findByName(String name) {
-
 
213600
        return byName.get(name);
-
 
213601
      }
-
 
213602
 
-
 
213603
      private final short _thriftId;
-
 
213604
      private final String _fieldName;
-
 
213605
 
-
 
213606
      _Fields(short thriftId, String fieldName) {
-
 
213607
        _thriftId = thriftId;
-
 
213608
        _fieldName = fieldName;
-
 
213609
      }
-
 
213610
 
-
 
213611
      public short getThriftFieldId() {
-
 
213612
        return _thriftId;
-
 
213613
      }
-
 
213614
 
-
 
213615
      public String getFieldName() {
-
 
213616
        return _fieldName;
-
 
213617
      }
-
 
213618
    }
-
 
213619
 
-
 
213620
    // isset id assignments
-
 
213621
    private static final int __RETURNTRANSACTIONID_ISSET_ID = 0;
-
 
213622
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
213623
 
-
 
213624
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
213625
    static {
-
 
213626
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
213627
      tmpMap.put(_Fields.RETURN_TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("returnTransactionId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
213628
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
213629
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
213630
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReturnOrdersForReturnTransaction_args.class, metaDataMap);
-
 
213631
    }
-
 
213632
 
-
 
213633
    public getReturnOrdersForReturnTransaction_args() {
-
 
213634
    }
-
 
213635
 
-
 
213636
    public getReturnOrdersForReturnTransaction_args(
-
 
213637
      long returnTransactionId)
-
 
213638
    {
-
 
213639
      this();
-
 
213640
      this.returnTransactionId = returnTransactionId;
-
 
213641
      setReturnTransactionIdIsSet(true);
-
 
213642
    }
-
 
213643
 
-
 
213644
    /**
-
 
213645
     * Performs a deep copy on <i>other</i>.
-
 
213646
     */
-
 
213647
    public getReturnOrdersForReturnTransaction_args(getReturnOrdersForReturnTransaction_args other) {
-
 
213648
      __isset_bit_vector.clear();
-
 
213649
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
213650
      this.returnTransactionId = other.returnTransactionId;
-
 
213651
    }
-
 
213652
 
-
 
213653
    public getReturnOrdersForReturnTransaction_args deepCopy() {
-
 
213654
      return new getReturnOrdersForReturnTransaction_args(this);
-
 
213655
    }
-
 
213656
 
-
 
213657
    @Override
-
 
213658
    public void clear() {
-
 
213659
      setReturnTransactionIdIsSet(false);
-
 
213660
      this.returnTransactionId = 0;
-
 
213661
    }
-
 
213662
 
-
 
213663
    public long getReturnTransactionId() {
-
 
213664
      return this.returnTransactionId;
-
 
213665
    }
-
 
213666
 
-
 
213667
    public void setReturnTransactionId(long returnTransactionId) {
-
 
213668
      this.returnTransactionId = returnTransactionId;
-
 
213669
      setReturnTransactionIdIsSet(true);
-
 
213670
    }
-
 
213671
 
-
 
213672
    public void unsetReturnTransactionId() {
-
 
213673
      __isset_bit_vector.clear(__RETURNTRANSACTIONID_ISSET_ID);
-
 
213674
    }
-
 
213675
 
-
 
213676
    /** Returns true if field returnTransactionId is set (has been assigned a value) and false otherwise */
-
 
213677
    public boolean isSetReturnTransactionId() {
-
 
213678
      return __isset_bit_vector.get(__RETURNTRANSACTIONID_ISSET_ID);
-
 
213679
    }
-
 
213680
 
-
 
213681
    public void setReturnTransactionIdIsSet(boolean value) {
-
 
213682
      __isset_bit_vector.set(__RETURNTRANSACTIONID_ISSET_ID, value);
-
 
213683
    }
-
 
213684
 
-
 
213685
    public void setFieldValue(_Fields field, Object value) {
-
 
213686
      switch (field) {
-
 
213687
      case RETURN_TRANSACTION_ID:
-
 
213688
        if (value == null) {
-
 
213689
          unsetReturnTransactionId();
-
 
213690
        } else {
-
 
213691
          setReturnTransactionId((Long)value);
-
 
213692
        }
-
 
213693
        break;
-
 
213694
 
-
 
213695
      }
-
 
213696
    }
-
 
213697
 
-
 
213698
    public Object getFieldValue(_Fields field) {
-
 
213699
      switch (field) {
-
 
213700
      case RETURN_TRANSACTION_ID:
-
 
213701
        return Long.valueOf(getReturnTransactionId());
-
 
213702
 
-
 
213703
      }
-
 
213704
      throw new IllegalStateException();
-
 
213705
    }
-
 
213706
 
-
 
213707
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
213708
    public boolean isSet(_Fields field) {
-
 
213709
      if (field == null) {
-
 
213710
        throw new IllegalArgumentException();
-
 
213711
      }
-
 
213712
 
-
 
213713
      switch (field) {
-
 
213714
      case RETURN_TRANSACTION_ID:
-
 
213715
        return isSetReturnTransactionId();
-
 
213716
      }
-
 
213717
      throw new IllegalStateException();
-
 
213718
    }
-
 
213719
 
-
 
213720
    @Override
-
 
213721
    public boolean equals(Object that) {
-
 
213722
      if (that == null)
-
 
213723
        return false;
-
 
213724
      if (that instanceof getReturnOrdersForReturnTransaction_args)
-
 
213725
        return this.equals((getReturnOrdersForReturnTransaction_args)that);
-
 
213726
      return false;
-
 
213727
    }
-
 
213728
 
-
 
213729
    public boolean equals(getReturnOrdersForReturnTransaction_args that) {
-
 
213730
      if (that == null)
-
 
213731
        return false;
-
 
213732
 
-
 
213733
      boolean this_present_returnTransactionId = true;
-
 
213734
      boolean that_present_returnTransactionId = true;
-
 
213735
      if (this_present_returnTransactionId || that_present_returnTransactionId) {
-
 
213736
        if (!(this_present_returnTransactionId && that_present_returnTransactionId))
-
 
213737
          return false;
-
 
213738
        if (this.returnTransactionId != that.returnTransactionId)
-
 
213739
          return false;
-
 
213740
      }
-
 
213741
 
-
 
213742
      return true;
-
 
213743
    }
-
 
213744
 
-
 
213745
    @Override
-
 
213746
    public int hashCode() {
-
 
213747
      return 0;
-
 
213748
    }
-
 
213749
 
-
 
213750
    public int compareTo(getReturnOrdersForReturnTransaction_args other) {
-
 
213751
      if (!getClass().equals(other.getClass())) {
-
 
213752
        return getClass().getName().compareTo(other.getClass().getName());
-
 
213753
      }
-
 
213754
 
-
 
213755
      int lastComparison = 0;
-
 
213756
      getReturnOrdersForReturnTransaction_args typedOther = (getReturnOrdersForReturnTransaction_args)other;
-
 
213757
 
-
 
213758
      lastComparison = Boolean.valueOf(isSetReturnTransactionId()).compareTo(typedOther.isSetReturnTransactionId());
-
 
213759
      if (lastComparison != 0) {
-
 
213760
        return lastComparison;
-
 
213761
      }
-
 
213762
      if (isSetReturnTransactionId()) {
-
 
213763
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnTransactionId, typedOther.returnTransactionId);
-
 
213764
        if (lastComparison != 0) {
-
 
213765
          return lastComparison;
-
 
213766
        }
-
 
213767
      }
-
 
213768
      return 0;
-
 
213769
    }
-
 
213770
 
-
 
213771
    public _Fields fieldForId(int fieldId) {
-
 
213772
      return _Fields.findByThriftId(fieldId);
-
 
213773
    }
-
 
213774
 
-
 
213775
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
213776
      org.apache.thrift.protocol.TField field;
-
 
213777
      iprot.readStructBegin();
-
 
213778
      while (true)
-
 
213779
      {
-
 
213780
        field = iprot.readFieldBegin();
-
 
213781
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
213782
          break;
-
 
213783
        }
-
 
213784
        switch (field.id) {
-
 
213785
          case 1: // RETURN_TRANSACTION_ID
-
 
213786
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
213787
              this.returnTransactionId = iprot.readI64();
-
 
213788
              setReturnTransactionIdIsSet(true);
-
 
213789
            } else { 
-
 
213790
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
213791
            }
-
 
213792
            break;
-
 
213793
          default:
-
 
213794
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
213795
        }
-
 
213796
        iprot.readFieldEnd();
-
 
213797
      }
-
 
213798
      iprot.readStructEnd();
-
 
213799
      validate();
-
 
213800
    }
-
 
213801
 
-
 
213802
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
213803
      validate();
-
 
213804
 
-
 
213805
      oprot.writeStructBegin(STRUCT_DESC);
-
 
213806
      oprot.writeFieldBegin(RETURN_TRANSACTION_ID_FIELD_DESC);
-
 
213807
      oprot.writeI64(this.returnTransactionId);
-
 
213808
      oprot.writeFieldEnd();
-
 
213809
      oprot.writeFieldStop();
-
 
213810
      oprot.writeStructEnd();
-
 
213811
    }
-
 
213812
 
-
 
213813
    @Override
-
 
213814
    public String toString() {
-
 
213815
      StringBuilder sb = new StringBuilder("getReturnOrdersForReturnTransaction_args(");
-
 
213816
      boolean first = true;
-
 
213817
 
-
 
213818
      sb.append("returnTransactionId:");
-
 
213819
      sb.append(this.returnTransactionId);
-
 
213820
      first = false;
-
 
213821
      sb.append(")");
-
 
213822
      return sb.toString();
-
 
213823
    }
-
 
213824
 
-
 
213825
    public void validate() throws org.apache.thrift.TException {
-
 
213826
      // check for required fields
-
 
213827
    }
-
 
213828
 
-
 
213829
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
213830
      try {
-
 
213831
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
213832
      } catch (org.apache.thrift.TException te) {
-
 
213833
        throw new java.io.IOException(te);
-
 
213834
      }
-
 
213835
    }
-
 
213836
 
-
 
213837
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
213838
      try {
-
 
213839
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
213840
        __isset_bit_vector = new BitSet(1);
-
 
213841
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
213842
      } catch (org.apache.thrift.TException te) {
-
 
213843
        throw new java.io.IOException(te);
-
 
213844
      }
-
 
213845
    }
-
 
213846
 
-
 
213847
  }
-
 
213848
 
-
 
213849
  public static class getReturnOrdersForReturnTransaction_result implements org.apache.thrift.TBase<getReturnOrdersForReturnTransaction_result, getReturnOrdersForReturnTransaction_result._Fields>, java.io.Serializable, Cloneable   {
-
 
213850
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnOrdersForReturnTransaction_result");
-
 
213851
 
-
 
213852
    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);
-
 
213853
    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);
-
 
213854
 
-
 
213855
    private List<ReturnOrderInfo> success; // required
-
 
213856
    private TransactionServiceException ex; // required
-
 
213857
 
-
 
213858
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
213859
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
213860
      SUCCESS((short)0, "success"),
-
 
213861
      EX((short)1, "ex");
-
 
213862
 
-
 
213863
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
213864
 
-
 
213865
      static {
-
 
213866
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
213867
          byName.put(field.getFieldName(), field);
-
 
213868
        }
-
 
213869
      }
-
 
213870
 
-
 
213871
      /**
-
 
213872
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
213873
       */
-
 
213874
      public static _Fields findByThriftId(int fieldId) {
-
 
213875
        switch(fieldId) {
-
 
213876
          case 0: // SUCCESS
-
 
213877
            return SUCCESS;
-
 
213878
          case 1: // EX
-
 
213879
            return EX;
-
 
213880
          default:
-
 
213881
            return null;
-
 
213882
        }
-
 
213883
      }
-
 
213884
 
-
 
213885
      /**
-
 
213886
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
213887
       * if it is not found.
-
 
213888
       */
-
 
213889
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
213890
        _Fields fields = findByThriftId(fieldId);
-
 
213891
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
213892
        return fields;
-
 
213893
      }
-
 
213894
 
-
 
213895
      /**
-
 
213896
       * Find the _Fields constant that matches name, or null if its not found.
-
 
213897
       */
-
 
213898
      public static _Fields findByName(String name) {
-
 
213899
        return byName.get(name);
-
 
213900
      }
-
 
213901
 
-
 
213902
      private final short _thriftId;
-
 
213903
      private final String _fieldName;
-
 
213904
 
-
 
213905
      _Fields(short thriftId, String fieldName) {
-
 
213906
        _thriftId = thriftId;
-
 
213907
        _fieldName = fieldName;
-
 
213908
      }
-
 
213909
 
-
 
213910
      public short getThriftFieldId() {
-
 
213911
        return _thriftId;
-
 
213912
      }
-
 
213913
 
-
 
213914
      public String getFieldName() {
-
 
213915
        return _fieldName;
-
 
213916
      }
-
 
213917
    }
-
 
213918
 
-
 
213919
    // isset id assignments
-
 
213920
 
-
 
213921
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
213922
    static {
-
 
213923
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
213924
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
213925
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
213926
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnOrderInfo.class))));
-
 
213927
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
213928
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
213929
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
213930
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReturnOrdersForReturnTransaction_result.class, metaDataMap);
-
 
213931
    }
-
 
213932
 
-
 
213933
    public getReturnOrdersForReturnTransaction_result() {
-
 
213934
    }
-
 
213935
 
-
 
213936
    public getReturnOrdersForReturnTransaction_result(
-
 
213937
      List<ReturnOrderInfo> success,
-
 
213938
      TransactionServiceException ex)
-
 
213939
    {
-
 
213940
      this();
-
 
213941
      this.success = success;
-
 
213942
      this.ex = ex;
-
 
213943
    }
-
 
213944
 
-
 
213945
    /**
-
 
213946
     * Performs a deep copy on <i>other</i>.
-
 
213947
     */
-
 
213948
    public getReturnOrdersForReturnTransaction_result(getReturnOrdersForReturnTransaction_result other) {
-
 
213949
      if (other.isSetSuccess()) {
-
 
213950
        List<ReturnOrderInfo> __this__success = new ArrayList<ReturnOrderInfo>();
-
 
213951
        for (ReturnOrderInfo other_element : other.success) {
-
 
213952
          __this__success.add(new ReturnOrderInfo(other_element));
-
 
213953
        }
-
 
213954
        this.success = __this__success;
-
 
213955
      }
-
 
213956
      if (other.isSetEx()) {
-
 
213957
        this.ex = new TransactionServiceException(other.ex);
-
 
213958
      }
-
 
213959
    }
-
 
213960
 
-
 
213961
    public getReturnOrdersForReturnTransaction_result deepCopy() {
-
 
213962
      return new getReturnOrdersForReturnTransaction_result(this);
-
 
213963
    }
-
 
213964
 
-
 
213965
    @Override
-
 
213966
    public void clear() {
-
 
213967
      this.success = null;
-
 
213968
      this.ex = null;
-
 
213969
    }
-
 
213970
 
-
 
213971
    public int getSuccessSize() {
-
 
213972
      return (this.success == null) ? 0 : this.success.size();
-
 
213973
    }
-
 
213974
 
-
 
213975
    public java.util.Iterator<ReturnOrderInfo> getSuccessIterator() {
-
 
213976
      return (this.success == null) ? null : this.success.iterator();
-
 
213977
    }
-
 
213978
 
-
 
213979
    public void addToSuccess(ReturnOrderInfo elem) {
-
 
213980
      if (this.success == null) {
-
 
213981
        this.success = new ArrayList<ReturnOrderInfo>();
-
 
213982
      }
-
 
213983
      this.success.add(elem);
-
 
213984
    }
-
 
213985
 
-
 
213986
    public List<ReturnOrderInfo> getSuccess() {
-
 
213987
      return this.success;
-
 
213988
    }
-
 
213989
 
-
 
213990
    public void setSuccess(List<ReturnOrderInfo> success) {
-
 
213991
      this.success = success;
-
 
213992
    }
-
 
213993
 
-
 
213994
    public void unsetSuccess() {
-
 
213995
      this.success = null;
-
 
213996
    }
-
 
213997
 
-
 
213998
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
213999
    public boolean isSetSuccess() {
-
 
214000
      return this.success != null;
-
 
214001
    }
-
 
214002
 
-
 
214003
    public void setSuccessIsSet(boolean value) {
-
 
214004
      if (!value) {
-
 
214005
        this.success = null;
-
 
214006
      }
-
 
214007
    }
-
 
214008
 
-
 
214009
    public TransactionServiceException getEx() {
-
 
214010
      return this.ex;
-
 
214011
    }
-
 
214012
 
-
 
214013
    public void setEx(TransactionServiceException ex) {
-
 
214014
      this.ex = ex;
-
 
214015
    }
-
 
214016
 
-
 
214017
    public void unsetEx() {
-
 
214018
      this.ex = null;
-
 
214019
    }
-
 
214020
 
-
 
214021
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
214022
    public boolean isSetEx() {
-
 
214023
      return this.ex != null;
-
 
214024
    }
-
 
214025
 
-
 
214026
    public void setExIsSet(boolean value) {
-
 
214027
      if (!value) {
-
 
214028
        this.ex = null;
-
 
214029
      }
-
 
214030
    }
-
 
214031
 
-
 
214032
    public void setFieldValue(_Fields field, Object value) {
-
 
214033
      switch (field) {
-
 
214034
      case SUCCESS:
-
 
214035
        if (value == null) {
-
 
214036
          unsetSuccess();
-
 
214037
        } else {
-
 
214038
          setSuccess((List<ReturnOrderInfo>)value);
-
 
214039
        }
-
 
214040
        break;
-
 
214041
 
-
 
214042
      case EX:
-
 
214043
        if (value == null) {
-
 
214044
          unsetEx();
-
 
214045
        } else {
-
 
214046
          setEx((TransactionServiceException)value);
-
 
214047
        }
-
 
214048
        break;
-
 
214049
 
-
 
214050
      }
-
 
214051
    }
-
 
214052
 
-
 
214053
    public Object getFieldValue(_Fields field) {
-
 
214054
      switch (field) {
-
 
214055
      case SUCCESS:
-
 
214056
        return getSuccess();
-
 
214057
 
-
 
214058
      case EX:
-
 
214059
        return getEx();
-
 
214060
 
-
 
214061
      }
-
 
214062
      throw new IllegalStateException();
-
 
214063
    }
-
 
214064
 
-
 
214065
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
214066
    public boolean isSet(_Fields field) {
-
 
214067
      if (field == null) {
-
 
214068
        throw new IllegalArgumentException();
-
 
214069
      }
-
 
214070
 
-
 
214071
      switch (field) {
-
 
214072
      case SUCCESS:
-
 
214073
        return isSetSuccess();
-
 
214074
      case EX:
-
 
214075
        return isSetEx();
-
 
214076
      }
-
 
214077
      throw new IllegalStateException();
-
 
214078
    }
-
 
214079
 
-
 
214080
    @Override
-
 
214081
    public boolean equals(Object that) {
-
 
214082
      if (that == null)
-
 
214083
        return false;
-
 
214084
      if (that instanceof getReturnOrdersForReturnTransaction_result)
-
 
214085
        return this.equals((getReturnOrdersForReturnTransaction_result)that);
-
 
214086
      return false;
-
 
214087
    }
-
 
214088
 
-
 
214089
    public boolean equals(getReturnOrdersForReturnTransaction_result that) {
-
 
214090
      if (that == null)
-
 
214091
        return false;
-
 
214092
 
-
 
214093
      boolean this_present_success = true && this.isSetSuccess();
-
 
214094
      boolean that_present_success = true && that.isSetSuccess();
-
 
214095
      if (this_present_success || that_present_success) {
-
 
214096
        if (!(this_present_success && that_present_success))
-
 
214097
          return false;
-
 
214098
        if (!this.success.equals(that.success))
-
 
214099
          return false;
-
 
214100
      }
-
 
214101
 
-
 
214102
      boolean this_present_ex = true && this.isSetEx();
-
 
214103
      boolean that_present_ex = true && that.isSetEx();
-
 
214104
      if (this_present_ex || that_present_ex) {
-
 
214105
        if (!(this_present_ex && that_present_ex))
-
 
214106
          return false;
-
 
214107
        if (!this.ex.equals(that.ex))
-
 
214108
          return false;
-
 
214109
      }
-
 
214110
 
-
 
214111
      return true;
-
 
214112
    }
-
 
214113
 
-
 
214114
    @Override
-
 
214115
    public int hashCode() {
-
 
214116
      return 0;
-
 
214117
    }
-
 
214118
 
-
 
214119
    public int compareTo(getReturnOrdersForReturnTransaction_result other) {
-
 
214120
      if (!getClass().equals(other.getClass())) {
-
 
214121
        return getClass().getName().compareTo(other.getClass().getName());
-
 
214122
      }
-
 
214123
 
-
 
214124
      int lastComparison = 0;
-
 
214125
      getReturnOrdersForReturnTransaction_result typedOther = (getReturnOrdersForReturnTransaction_result)other;
-
 
214126
 
-
 
214127
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
214128
      if (lastComparison != 0) {
-
 
214129
        return lastComparison;
-
 
214130
      }
-
 
214131
      if (isSetSuccess()) {
-
 
214132
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
214133
        if (lastComparison != 0) {
-
 
214134
          return lastComparison;
-
 
214135
        }
-
 
214136
      }
-
 
214137
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
214138
      if (lastComparison != 0) {
-
 
214139
        return lastComparison;
-
 
214140
      }
-
 
214141
      if (isSetEx()) {
-
 
214142
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
214143
        if (lastComparison != 0) {
-
 
214144
          return lastComparison;
-
 
214145
        }
-
 
214146
      }
-
 
214147
      return 0;
-
 
214148
    }
-
 
214149
 
-
 
214150
    public _Fields fieldForId(int fieldId) {
-
 
214151
      return _Fields.findByThriftId(fieldId);
-
 
214152
    }
-
 
214153
 
-
 
214154
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
214155
      org.apache.thrift.protocol.TField field;
-
 
214156
      iprot.readStructBegin();
-
 
214157
      while (true)
-
 
214158
      {
-
 
214159
        field = iprot.readFieldBegin();
-
 
214160
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
214161
          break;
-
 
214162
        }
-
 
214163
        switch (field.id) {
-
 
214164
          case 0: // SUCCESS
-
 
214165
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
214166
              {
-
 
214167
                org.apache.thrift.protocol.TList _list720 = iprot.readListBegin();
-
 
214168
                this.success = new ArrayList<ReturnOrderInfo>(_list720.size);
-
 
214169
                for (int _i721 = 0; _i721 < _list720.size; ++_i721)
-
 
214170
                {
-
 
214171
                  ReturnOrderInfo _elem722; // required
-
 
214172
                  _elem722 = new ReturnOrderInfo();
-
 
214173
                  _elem722.read(iprot);
-
 
214174
                  this.success.add(_elem722);
-
 
214175
                }
-
 
214176
                iprot.readListEnd();
-
 
214177
              }
-
 
214178
            } else { 
-
 
214179
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
214180
            }
-
 
214181
            break;
-
 
214182
          case 1: // EX
-
 
214183
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
214184
              this.ex = new TransactionServiceException();
-
 
214185
              this.ex.read(iprot);
-
 
214186
            } else { 
-
 
214187
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
214188
            }
-
 
214189
            break;
-
 
214190
          default:
-
 
214191
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
214192
        }
-
 
214193
        iprot.readFieldEnd();
-
 
214194
      }
-
 
214195
      iprot.readStructEnd();
-
 
214196
      validate();
-
 
214197
    }
-
 
214198
 
-
 
214199
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
214200
      oprot.writeStructBegin(STRUCT_DESC);
-
 
214201
 
-
 
214202
      if (this.isSetSuccess()) {
-
 
214203
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
214204
        {
-
 
214205
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
214206
          for (ReturnOrderInfo _iter723 : this.success)
-
 
214207
          {
-
 
214208
            _iter723.write(oprot);
-
 
214209
          }
-
 
214210
          oprot.writeListEnd();
-
 
214211
        }
-
 
214212
        oprot.writeFieldEnd();
-
 
214213
      } else if (this.isSetEx()) {
-
 
214214
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
214215
        this.ex.write(oprot);
-
 
214216
        oprot.writeFieldEnd();
-
 
214217
      }
-
 
214218
      oprot.writeFieldStop();
-
 
214219
      oprot.writeStructEnd();
-
 
214220
    }
-
 
214221
 
-
 
214222
    @Override
-
 
214223
    public String toString() {
-
 
214224
      StringBuilder sb = new StringBuilder("getReturnOrdersForReturnTransaction_result(");
-
 
214225
      boolean first = true;
-
 
214226
 
-
 
214227
      sb.append("success:");
-
 
214228
      if (this.success == null) {
-
 
214229
        sb.append("null");
-
 
214230
      } else {
-
 
214231
        sb.append(this.success);
-
 
214232
      }
-
 
214233
      first = false;
-
 
214234
      if (!first) sb.append(", ");
-
 
214235
      sb.append("ex:");
-
 
214236
      if (this.ex == null) {
-
 
214237
        sb.append("null");
-
 
214238
      } else {
-
 
214239
        sb.append(this.ex);
-
 
214240
      }
-
 
214241
      first = false;
-
 
214242
      sb.append(")");
-
 
214243
      return sb.toString();
-
 
214244
    }
-
 
214245
 
-
 
214246
    public void validate() throws org.apache.thrift.TException {
-
 
214247
      // check for required fields
-
 
214248
    }
-
 
214249
 
-
 
214250
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
214251
      try {
-
 
214252
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
214253
      } catch (org.apache.thrift.TException te) {
-
 
214254
        throw new java.io.IOException(te);
-
 
214255
      }
-
 
214256
    }
-
 
214257
 
-
 
214258
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
214259
      try {
-
 
214260
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
214261
      } catch (org.apache.thrift.TException te) {
-
 
214262
        throw new java.io.IOException(te);
-
 
214263
      }
-
 
214264
    }
-
 
214265
 
-
 
214266
  }
-
 
214267
 
-
 
214268
  public static class changeReturnTransactionStatus_args implements org.apache.thrift.TBase<changeReturnTransactionStatus_args, changeReturnTransactionStatus_args._Fields>, java.io.Serializable, Cloneable   {
-
 
214269
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("changeReturnTransactionStatus_args");
-
 
214270
 
-
 
214271
    private static final org.apache.thrift.protocol.TField RETURN_TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("returnTransactionId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
214272
    private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.I32, (short)2);
-
 
214273
    private static final org.apache.thrift.protocol.TField RETURN_ORDER_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("returnOrderIds", org.apache.thrift.protocol.TType.LIST, (short)3);
-
 
214274
 
-
 
214275
    private long returnTransactionId; // required
-
 
214276
    private ReturnTransactionStatus status; // required
-
 
214277
    private List<Long> returnOrderIds; // required
-
 
214278
 
-
 
214279
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
214280
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
214281
      RETURN_TRANSACTION_ID((short)1, "returnTransactionId"),
-
 
214282
      /**
-
 
214283
       * 
-
 
214284
       * @see ReturnTransactionStatus
-
 
214285
       */
-
 
214286
      STATUS((short)2, "status"),
-
 
214287
      RETURN_ORDER_IDS((short)3, "returnOrderIds");
-
 
214288
 
-
 
214289
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
214290
 
-
 
214291
      static {
-
 
214292
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
214293
          byName.put(field.getFieldName(), field);
-
 
214294
        }
-
 
214295
      }
-
 
214296
 
-
 
214297
      /**
-
 
214298
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
214299
       */
-
 
214300
      public static _Fields findByThriftId(int fieldId) {
-
 
214301
        switch(fieldId) {
-
 
214302
          case 1: // RETURN_TRANSACTION_ID
-
 
214303
            return RETURN_TRANSACTION_ID;
-
 
214304
          case 2: // STATUS
-
 
214305
            return STATUS;
-
 
214306
          case 3: // RETURN_ORDER_IDS
-
 
214307
            return RETURN_ORDER_IDS;
-
 
214308
          default:
-
 
214309
            return null;
-
 
214310
        }
-
 
214311
      }
-
 
214312
 
-
 
214313
      /**
-
 
214314
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
214315
       * if it is not found.
-
 
214316
       */
-
 
214317
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
214318
        _Fields fields = findByThriftId(fieldId);
-
 
214319
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
214320
        return fields;
-
 
214321
      }
-
 
214322
 
-
 
214323
      /**
-
 
214324
       * Find the _Fields constant that matches name, or null if its not found.
-
 
214325
       */
-
 
214326
      public static _Fields findByName(String name) {
-
 
214327
        return byName.get(name);
-
 
214328
      }
-
 
214329
 
-
 
214330
      private final short _thriftId;
-
 
214331
      private final String _fieldName;
-
 
214332
 
-
 
214333
      _Fields(short thriftId, String fieldName) {
-
 
214334
        _thriftId = thriftId;
-
 
214335
        _fieldName = fieldName;
-
 
214336
      }
-
 
214337
 
-
 
214338
      public short getThriftFieldId() {
-
 
214339
        return _thriftId;
-
 
214340
      }
-
 
214341
 
-
 
214342
      public String getFieldName() {
-
 
214343
        return _fieldName;
-
 
214344
      }
-
 
214345
    }
-
 
214346
 
-
 
214347
    // isset id assignments
-
 
214348
    private static final int __RETURNTRANSACTIONID_ISSET_ID = 0;
-
 
214349
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
214350
 
-
 
214351
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
214352
    static {
-
 
214353
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
214354
      tmpMap.put(_Fields.RETURN_TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("returnTransactionId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
214355
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
214356
      tmpMap.put(_Fields.STATUS, new org.apache.thrift.meta_data.FieldMetaData("status", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
214357
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ReturnTransactionStatus.class)));
-
 
214358
      tmpMap.put(_Fields.RETURN_ORDER_IDS, new org.apache.thrift.meta_data.FieldMetaData("returnOrderIds", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
214359
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
214360
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
214361
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
214362
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(changeReturnTransactionStatus_args.class, metaDataMap);
-
 
214363
    }
-
 
214364
 
-
 
214365
    public changeReturnTransactionStatus_args() {
-
 
214366
    }
-
 
214367
 
-
 
214368
    public changeReturnTransactionStatus_args(
-
 
214369
      long returnTransactionId,
-
 
214370
      ReturnTransactionStatus status,
-
 
214371
      List<Long> returnOrderIds)
-
 
214372
    {
-
 
214373
      this();
-
 
214374
      this.returnTransactionId = returnTransactionId;
-
 
214375
      setReturnTransactionIdIsSet(true);
-
 
214376
      this.status = status;
-
 
214377
      this.returnOrderIds = returnOrderIds;
-
 
214378
    }
-
 
214379
 
-
 
214380
    /**
-
 
214381
     * Performs a deep copy on <i>other</i>.
-
 
214382
     */
-
 
214383
    public changeReturnTransactionStatus_args(changeReturnTransactionStatus_args other) {
-
 
214384
      __isset_bit_vector.clear();
-
 
214385
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
214386
      this.returnTransactionId = other.returnTransactionId;
-
 
214387
      if (other.isSetStatus()) {
-
 
214388
        this.status = other.status;
-
 
214389
      }
-
 
214390
      if (other.isSetReturnOrderIds()) {
-
 
214391
        List<Long> __this__returnOrderIds = new ArrayList<Long>();
-
 
214392
        for (Long other_element : other.returnOrderIds) {
-
 
214393
          __this__returnOrderIds.add(other_element);
-
 
214394
        }
-
 
214395
        this.returnOrderIds = __this__returnOrderIds;
-
 
214396
      }
-
 
214397
    }
-
 
214398
 
-
 
214399
    public changeReturnTransactionStatus_args deepCopy() {
-
 
214400
      return new changeReturnTransactionStatus_args(this);
-
 
214401
    }
-
 
214402
 
-
 
214403
    @Override
-
 
214404
    public void clear() {
-
 
214405
      setReturnTransactionIdIsSet(false);
-
 
214406
      this.returnTransactionId = 0;
-
 
214407
      this.status = null;
-
 
214408
      this.returnOrderIds = null;
-
 
214409
    }
-
 
214410
 
-
 
214411
    public long getReturnTransactionId() {
-
 
214412
      return this.returnTransactionId;
-
 
214413
    }
-
 
214414
 
-
 
214415
    public void setReturnTransactionId(long returnTransactionId) {
-
 
214416
      this.returnTransactionId = returnTransactionId;
-
 
214417
      setReturnTransactionIdIsSet(true);
-
 
214418
    }
-
 
214419
 
-
 
214420
    public void unsetReturnTransactionId() {
-
 
214421
      __isset_bit_vector.clear(__RETURNTRANSACTIONID_ISSET_ID);
-
 
214422
    }
-
 
214423
 
-
 
214424
    /** Returns true if field returnTransactionId is set (has been assigned a value) and false otherwise */
-
 
214425
    public boolean isSetReturnTransactionId() {
-
 
214426
      return __isset_bit_vector.get(__RETURNTRANSACTIONID_ISSET_ID);
-
 
214427
    }
-
 
214428
 
-
 
214429
    public void setReturnTransactionIdIsSet(boolean value) {
-
 
214430
      __isset_bit_vector.set(__RETURNTRANSACTIONID_ISSET_ID, value);
-
 
214431
    }
-
 
214432
 
-
 
214433
    /**
-
 
214434
     * 
-
 
214435
     * @see ReturnTransactionStatus
-
 
214436
     */
-
 
214437
    public ReturnTransactionStatus getStatus() {
-
 
214438
      return this.status;
-
 
214439
    }
-
 
214440
 
-
 
214441
    /**
-
 
214442
     * 
-
 
214443
     * @see ReturnTransactionStatus
-
 
214444
     */
-
 
214445
    public void setStatus(ReturnTransactionStatus status) {
-
 
214446
      this.status = status;
-
 
214447
    }
-
 
214448
 
-
 
214449
    public void unsetStatus() {
-
 
214450
      this.status = null;
-
 
214451
    }
-
 
214452
 
-
 
214453
    /** Returns true if field status is set (has been assigned a value) and false otherwise */
-
 
214454
    public boolean isSetStatus() {
-
 
214455
      return this.status != null;
-
 
214456
    }
-
 
214457
 
-
 
214458
    public void setStatusIsSet(boolean value) {
-
 
214459
      if (!value) {
-
 
214460
        this.status = null;
-
 
214461
      }
-
 
214462
    }
-
 
214463
 
-
 
214464
    public int getReturnOrderIdsSize() {
-
 
214465
      return (this.returnOrderIds == null) ? 0 : this.returnOrderIds.size();
-
 
214466
    }
-
 
214467
 
-
 
214468
    public java.util.Iterator<Long> getReturnOrderIdsIterator() {
-
 
214469
      return (this.returnOrderIds == null) ? null : this.returnOrderIds.iterator();
-
 
214470
    }
-
 
214471
 
-
 
214472
    public void addToReturnOrderIds(long elem) {
-
 
214473
      if (this.returnOrderIds == null) {
-
 
214474
        this.returnOrderIds = new ArrayList<Long>();
-
 
214475
      }
-
 
214476
      this.returnOrderIds.add(elem);
-
 
214477
    }
-
 
214478
 
-
 
214479
    public List<Long> getReturnOrderIds() {
-
 
214480
      return this.returnOrderIds;
-
 
214481
    }
-
 
214482
 
-
 
214483
    public void setReturnOrderIds(List<Long> returnOrderIds) {
-
 
214484
      this.returnOrderIds = returnOrderIds;
-
 
214485
    }
-
 
214486
 
-
 
214487
    public void unsetReturnOrderIds() {
-
 
214488
      this.returnOrderIds = null;
-
 
214489
    }
-
 
214490
 
-
 
214491
    /** Returns true if field returnOrderIds is set (has been assigned a value) and false otherwise */
-
 
214492
    public boolean isSetReturnOrderIds() {
-
 
214493
      return this.returnOrderIds != null;
-
 
214494
    }
-
 
214495
 
-
 
214496
    public void setReturnOrderIdsIsSet(boolean value) {
-
 
214497
      if (!value) {
-
 
214498
        this.returnOrderIds = null;
-
 
214499
      }
-
 
214500
    }
-
 
214501
 
-
 
214502
    public void setFieldValue(_Fields field, Object value) {
-
 
214503
      switch (field) {
-
 
214504
      case RETURN_TRANSACTION_ID:
-
 
214505
        if (value == null) {
-
 
214506
          unsetReturnTransactionId();
-
 
214507
        } else {
-
 
214508
          setReturnTransactionId((Long)value);
-
 
214509
        }
-
 
214510
        break;
-
 
214511
 
-
 
214512
      case STATUS:
-
 
214513
        if (value == null) {
-
 
214514
          unsetStatus();
-
 
214515
        } else {
-
 
214516
          setStatus((ReturnTransactionStatus)value);
-
 
214517
        }
-
 
214518
        break;
-
 
214519
 
-
 
214520
      case RETURN_ORDER_IDS:
-
 
214521
        if (value == null) {
-
 
214522
          unsetReturnOrderIds();
-
 
214523
        } else {
-
 
214524
          setReturnOrderIds((List<Long>)value);
-
 
214525
        }
-
 
214526
        break;
-
 
214527
 
-
 
214528
      }
-
 
214529
    }
-
 
214530
 
-
 
214531
    public Object getFieldValue(_Fields field) {
-
 
214532
      switch (field) {
-
 
214533
      case RETURN_TRANSACTION_ID:
-
 
214534
        return Long.valueOf(getReturnTransactionId());
-
 
214535
 
-
 
214536
      case STATUS:
-
 
214537
        return getStatus();
-
 
214538
 
-
 
214539
      case RETURN_ORDER_IDS:
-
 
214540
        return getReturnOrderIds();
-
 
214541
 
-
 
214542
      }
-
 
214543
      throw new IllegalStateException();
-
 
214544
    }
-
 
214545
 
-
 
214546
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
214547
    public boolean isSet(_Fields field) {
-
 
214548
      if (field == null) {
-
 
214549
        throw new IllegalArgumentException();
-
 
214550
      }
-
 
214551
 
-
 
214552
      switch (field) {
-
 
214553
      case RETURN_TRANSACTION_ID:
-
 
214554
        return isSetReturnTransactionId();
-
 
214555
      case STATUS:
-
 
214556
        return isSetStatus();
-
 
214557
      case RETURN_ORDER_IDS:
-
 
214558
        return isSetReturnOrderIds();
-
 
214559
      }
-
 
214560
      throw new IllegalStateException();
-
 
214561
    }
-
 
214562
 
-
 
214563
    @Override
-
 
214564
    public boolean equals(Object that) {
-
 
214565
      if (that == null)
-
 
214566
        return false;
-
 
214567
      if (that instanceof changeReturnTransactionStatus_args)
-
 
214568
        return this.equals((changeReturnTransactionStatus_args)that);
-
 
214569
      return false;
-
 
214570
    }
-
 
214571
 
-
 
214572
    public boolean equals(changeReturnTransactionStatus_args that) {
-
 
214573
      if (that == null)
-
 
214574
        return false;
-
 
214575
 
-
 
214576
      boolean this_present_returnTransactionId = true;
-
 
214577
      boolean that_present_returnTransactionId = true;
-
 
214578
      if (this_present_returnTransactionId || that_present_returnTransactionId) {
-
 
214579
        if (!(this_present_returnTransactionId && that_present_returnTransactionId))
-
 
214580
          return false;
-
 
214581
        if (this.returnTransactionId != that.returnTransactionId)
-
 
214582
          return false;
-
 
214583
      }
-
 
214584
 
-
 
214585
      boolean this_present_status = true && this.isSetStatus();
-
 
214586
      boolean that_present_status = true && that.isSetStatus();
-
 
214587
      if (this_present_status || that_present_status) {
-
 
214588
        if (!(this_present_status && that_present_status))
-
 
214589
          return false;
-
 
214590
        if (!this.status.equals(that.status))
-
 
214591
          return false;
-
 
214592
      }
-
 
214593
 
-
 
214594
      boolean this_present_returnOrderIds = true && this.isSetReturnOrderIds();
-
 
214595
      boolean that_present_returnOrderIds = true && that.isSetReturnOrderIds();
-
 
214596
      if (this_present_returnOrderIds || that_present_returnOrderIds) {
-
 
214597
        if (!(this_present_returnOrderIds && that_present_returnOrderIds))
-
 
214598
          return false;
-
 
214599
        if (!this.returnOrderIds.equals(that.returnOrderIds))
-
 
214600
          return false;
-
 
214601
      }
-
 
214602
 
-
 
214603
      return true;
-
 
214604
    }
-
 
214605
 
-
 
214606
    @Override
-
 
214607
    public int hashCode() {
-
 
214608
      return 0;
-
 
214609
    }
-
 
214610
 
-
 
214611
    public int compareTo(changeReturnTransactionStatus_args other) {
-
 
214612
      if (!getClass().equals(other.getClass())) {
-
 
214613
        return getClass().getName().compareTo(other.getClass().getName());
-
 
214614
      }
-
 
214615
 
-
 
214616
      int lastComparison = 0;
-
 
214617
      changeReturnTransactionStatus_args typedOther = (changeReturnTransactionStatus_args)other;
-
 
214618
 
-
 
214619
      lastComparison = Boolean.valueOf(isSetReturnTransactionId()).compareTo(typedOther.isSetReturnTransactionId());
-
 
214620
      if (lastComparison != 0) {
-
 
214621
        return lastComparison;
-
 
214622
      }
-
 
214623
      if (isSetReturnTransactionId()) {
-
 
214624
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnTransactionId, typedOther.returnTransactionId);
-
 
214625
        if (lastComparison != 0) {
-
 
214626
          return lastComparison;
-
 
214627
        }
-
 
214628
      }
-
 
214629
      lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
-
 
214630
      if (lastComparison != 0) {
-
 
214631
        return lastComparison;
-
 
214632
      }
-
 
214633
      if (isSetStatus()) {
-
 
214634
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
-
 
214635
        if (lastComparison != 0) {
-
 
214636
          return lastComparison;
-
 
214637
        }
-
 
214638
      }
-
 
214639
      lastComparison = Boolean.valueOf(isSetReturnOrderIds()).compareTo(typedOther.isSetReturnOrderIds());
-
 
214640
      if (lastComparison != 0) {
-
 
214641
        return lastComparison;
-
 
214642
      }
-
 
214643
      if (isSetReturnOrderIds()) {
-
 
214644
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnOrderIds, typedOther.returnOrderIds);
-
 
214645
        if (lastComparison != 0) {
-
 
214646
          return lastComparison;
-
 
214647
        }
-
 
214648
      }
-
 
214649
      return 0;
-
 
214650
    }
-
 
214651
 
-
 
214652
    public _Fields fieldForId(int fieldId) {
-
 
214653
      return _Fields.findByThriftId(fieldId);
-
 
214654
    }
-
 
214655
 
-
 
214656
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
214657
      org.apache.thrift.protocol.TField field;
-
 
214658
      iprot.readStructBegin();
-
 
214659
      while (true)
-
 
214660
      {
-
 
214661
        field = iprot.readFieldBegin();
-
 
214662
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
214663
          break;
-
 
214664
        }
-
 
214665
        switch (field.id) {
-
 
214666
          case 1: // RETURN_TRANSACTION_ID
-
 
214667
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
214668
              this.returnTransactionId = iprot.readI64();
-
 
214669
              setReturnTransactionIdIsSet(true);
-
 
214670
            } else { 
-
 
214671
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
214672
            }
-
 
214673
            break;
-
 
214674
          case 2: // STATUS
-
 
214675
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
214676
              this.status = ReturnTransactionStatus.findByValue(iprot.readI32());
-
 
214677
            } else { 
-
 
214678
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
214679
            }
-
 
214680
            break;
-
 
214681
          case 3: // RETURN_ORDER_IDS
-
 
214682
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
214683
              {
-
 
214684
                org.apache.thrift.protocol.TList _list724 = iprot.readListBegin();
-
 
214685
                this.returnOrderIds = new ArrayList<Long>(_list724.size);
-
 
214686
                for (int _i725 = 0; _i725 < _list724.size; ++_i725)
-
 
214687
                {
-
 
214688
                  long _elem726; // required
-
 
214689
                  _elem726 = iprot.readI64();
-
 
214690
                  this.returnOrderIds.add(_elem726);
-
 
214691
                }
-
 
214692
                iprot.readListEnd();
-
 
214693
              }
-
 
214694
            } else { 
-
 
214695
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
214696
            }
-
 
214697
            break;
-
 
214698
          default:
-
 
214699
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
214700
        }
-
 
214701
        iprot.readFieldEnd();
-
 
214702
      }
-
 
214703
      iprot.readStructEnd();
-
 
214704
      validate();
-
 
214705
    }
-
 
214706
 
-
 
214707
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
214708
      validate();
-
 
214709
 
-
 
214710
      oprot.writeStructBegin(STRUCT_DESC);
-
 
214711
      oprot.writeFieldBegin(RETURN_TRANSACTION_ID_FIELD_DESC);
-
 
214712
      oprot.writeI64(this.returnTransactionId);
-
 
214713
      oprot.writeFieldEnd();
-
 
214714
      if (this.status != null) {
-
 
214715
        oprot.writeFieldBegin(STATUS_FIELD_DESC);
-
 
214716
        oprot.writeI32(this.status.getValue());
-
 
214717
        oprot.writeFieldEnd();
-
 
214718
      }
-
 
214719
      if (this.returnOrderIds != null) {
-
 
214720
        oprot.writeFieldBegin(RETURN_ORDER_IDS_FIELD_DESC);
-
 
214721
        {
-
 
214722
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.returnOrderIds.size()));
-
 
214723
          for (long _iter727 : this.returnOrderIds)
-
 
214724
          {
-
 
214725
            oprot.writeI64(_iter727);
-
 
214726
          }
-
 
214727
          oprot.writeListEnd();
-
 
214728
        }
-
 
214729
        oprot.writeFieldEnd();
-
 
214730
      }
-
 
214731
      oprot.writeFieldStop();
-
 
214732
      oprot.writeStructEnd();
-
 
214733
    }
-
 
214734
 
-
 
214735
    @Override
-
 
214736
    public String toString() {
-
 
214737
      StringBuilder sb = new StringBuilder("changeReturnTransactionStatus_args(");
-
 
214738
      boolean first = true;
-
 
214739
 
-
 
214740
      sb.append("returnTransactionId:");
-
 
214741
      sb.append(this.returnTransactionId);
-
 
214742
      first = false;
-
 
214743
      if (!first) sb.append(", ");
-
 
214744
      sb.append("status:");
-
 
214745
      if (this.status == null) {
-
 
214746
        sb.append("null");
-
 
214747
      } else {
-
 
214748
        sb.append(this.status);
-
 
214749
      }
-
 
214750
      first = false;
-
 
214751
      if (!first) sb.append(", ");
-
 
214752
      sb.append("returnOrderIds:");
-
 
214753
      if (this.returnOrderIds == null) {
-
 
214754
        sb.append("null");
-
 
214755
      } else {
-
 
214756
        sb.append(this.returnOrderIds);
-
 
214757
      }
-
 
214758
      first = false;
-
 
214759
      sb.append(")");
-
 
214760
      return sb.toString();
-
 
214761
    }
-
 
214762
 
-
 
214763
    public void validate() throws org.apache.thrift.TException {
-
 
214764
      // check for required fields
-
 
214765
    }
-
 
214766
 
-
 
214767
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
214768
      try {
-
 
214769
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
214770
      } catch (org.apache.thrift.TException te) {
-
 
214771
        throw new java.io.IOException(te);
-
 
214772
      }
-
 
214773
    }
-
 
214774
 
-
 
214775
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
214776
      try {
-
 
214777
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
214778
        __isset_bit_vector = new BitSet(1);
-
 
214779
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
214780
      } catch (org.apache.thrift.TException te) {
-
 
214781
        throw new java.io.IOException(te);
-
 
214782
      }
-
 
214783
    }
-
 
214784
 
-
 
214785
  }
-
 
214786
 
-
 
214787
  public static class changeReturnTransactionStatus_result implements org.apache.thrift.TBase<changeReturnTransactionStatus_result, changeReturnTransactionStatus_result._Fields>, java.io.Serializable, Cloneable   {
-
 
214788
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("changeReturnTransactionStatus_result");
-
 
214789
 
-
 
214790
    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);
-
 
214791
    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);
-
 
214792
 
-
 
214793
    private boolean success; // required
-
 
214794
    private TransactionServiceException ex; // required
-
 
214795
 
-
 
214796
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
214797
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
214798
      SUCCESS((short)0, "success"),
-
 
214799
      EX((short)1, "ex");
-
 
214800
 
-
 
214801
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
214802
 
-
 
214803
      static {
-
 
214804
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
214805
          byName.put(field.getFieldName(), field);
-
 
214806
        }
-
 
214807
      }
-
 
214808
 
-
 
214809
      /**
-
 
214810
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
214811
       */
-
 
214812
      public static _Fields findByThriftId(int fieldId) {
-
 
214813
        switch(fieldId) {
-
 
214814
          case 0: // SUCCESS
-
 
214815
            return SUCCESS;
-
 
214816
          case 1: // EX
-
 
214817
            return EX;
-
 
214818
          default:
-
 
214819
            return null;
-
 
214820
        }
-
 
214821
      }
-
 
214822
 
-
 
214823
      /**
-
 
214824
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
214825
       * if it is not found.
-
 
214826
       */
-
 
214827
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
214828
        _Fields fields = findByThriftId(fieldId);
-
 
214829
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
214830
        return fields;
-
 
214831
      }
-
 
214832
 
-
 
214833
      /**
-
 
214834
       * Find the _Fields constant that matches name, or null if its not found.
-
 
214835
       */
-
 
214836
      public static _Fields findByName(String name) {
-
 
214837
        return byName.get(name);
-
 
214838
      }
-
 
214839
 
-
 
214840
      private final short _thriftId;
-
 
214841
      private final String _fieldName;
-
 
214842
 
-
 
214843
      _Fields(short thriftId, String fieldName) {
-
 
214844
        _thriftId = thriftId;
-
 
214845
        _fieldName = fieldName;
-
 
214846
      }
-
 
214847
 
-
 
214848
      public short getThriftFieldId() {
-
 
214849
        return _thriftId;
-
 
214850
      }
-
 
214851
 
-
 
214852
      public String getFieldName() {
-
 
214853
        return _fieldName;
-
 
214854
      }
-
 
214855
    }
-
 
214856
 
-
 
214857
    // isset id assignments
-
 
214858
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
214859
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
214860
 
-
 
214861
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
214862
    static {
-
 
214863
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
214864
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
214865
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
214866
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
214867
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
214868
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
214869
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(changeReturnTransactionStatus_result.class, metaDataMap);
-
 
214870
    }
-
 
214871
 
-
 
214872
    public changeReturnTransactionStatus_result() {
-
 
214873
    }
-
 
214874
 
-
 
214875
    public changeReturnTransactionStatus_result(
-
 
214876
      boolean success,
-
 
214877
      TransactionServiceException ex)
-
 
214878
    {
-
 
214879
      this();
-
 
214880
      this.success = success;
-
 
214881
      setSuccessIsSet(true);
-
 
214882
      this.ex = ex;
-
 
214883
    }
-
 
214884
 
-
 
214885
    /**
-
 
214886
     * Performs a deep copy on <i>other</i>.
-
 
214887
     */
-
 
214888
    public changeReturnTransactionStatus_result(changeReturnTransactionStatus_result other) {
-
 
214889
      __isset_bit_vector.clear();
-
 
214890
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
214891
      this.success = other.success;
-
 
214892
      if (other.isSetEx()) {
-
 
214893
        this.ex = new TransactionServiceException(other.ex);
-
 
214894
      }
-
 
214895
    }
-
 
214896
 
-
 
214897
    public changeReturnTransactionStatus_result deepCopy() {
-
 
214898
      return new changeReturnTransactionStatus_result(this);
-
 
214899
    }
-
 
214900
 
-
 
214901
    @Override
-
 
214902
    public void clear() {
-
 
214903
      setSuccessIsSet(false);
-
 
214904
      this.success = false;
-
 
214905
      this.ex = null;
-
 
214906
    }
-
 
214907
 
-
 
214908
    public boolean isSuccess() {
-
 
214909
      return this.success;
-
 
214910
    }
-
 
214911
 
-
 
214912
    public void setSuccess(boolean success) {
-
 
214913
      this.success = success;
-
 
214914
      setSuccessIsSet(true);
-
 
214915
    }
-
 
214916
 
-
 
214917
    public void unsetSuccess() {
-
 
214918
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
214919
    }
-
 
214920
 
-
 
214921
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
214922
    public boolean isSetSuccess() {
-
 
214923
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
214924
    }
-
 
214925
 
-
 
214926
    public void setSuccessIsSet(boolean value) {
-
 
214927
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
214928
    }
-
 
214929
 
-
 
214930
    public TransactionServiceException getEx() {
-
 
214931
      return this.ex;
-
 
214932
    }
-
 
214933
 
-
 
214934
    public void setEx(TransactionServiceException ex) {
-
 
214935
      this.ex = ex;
-
 
214936
    }
-
 
214937
 
-
 
214938
    public void unsetEx() {
-
 
214939
      this.ex = null;
-
 
214940
    }
-
 
214941
 
-
 
214942
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
214943
    public boolean isSetEx() {
-
 
214944
      return this.ex != null;
-
 
214945
    }
-
 
214946
 
-
 
214947
    public void setExIsSet(boolean value) {
-
 
214948
      if (!value) {
-
 
214949
        this.ex = null;
-
 
214950
      }
-
 
214951
    }
-
 
214952
 
-
 
214953
    public void setFieldValue(_Fields field, Object value) {
-
 
214954
      switch (field) {
-
 
214955
      case SUCCESS:
-
 
214956
        if (value == null) {
-
 
214957
          unsetSuccess();
-
 
214958
        } else {
-
 
214959
          setSuccess((Boolean)value);
-
 
214960
        }
-
 
214961
        break;
-
 
214962
 
-
 
214963
      case EX:
-
 
214964
        if (value == null) {
-
 
214965
          unsetEx();
-
 
214966
        } else {
-
 
214967
          setEx((TransactionServiceException)value);
-
 
214968
        }
-
 
214969
        break;
-
 
214970
 
-
 
214971
      }
-
 
214972
    }
-
 
214973
 
-
 
214974
    public Object getFieldValue(_Fields field) {
-
 
214975
      switch (field) {
-
 
214976
      case SUCCESS:
-
 
214977
        return Boolean.valueOf(isSuccess());
-
 
214978
 
-
 
214979
      case EX:
-
 
214980
        return getEx();
-
 
214981
 
-
 
214982
      }
-
 
214983
      throw new IllegalStateException();
-
 
214984
    }
-
 
214985
 
-
 
214986
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
214987
    public boolean isSet(_Fields field) {
-
 
214988
      if (field == null) {
-
 
214989
        throw new IllegalArgumentException();
-
 
214990
      }
-
 
214991
 
-
 
214992
      switch (field) {
-
 
214993
      case SUCCESS:
-
 
214994
        return isSetSuccess();
-
 
214995
      case EX:
-
 
214996
        return isSetEx();
-
 
214997
      }
-
 
214998
      throw new IllegalStateException();
-
 
214999
    }
-
 
215000
 
-
 
215001
    @Override
-
 
215002
    public boolean equals(Object that) {
-
 
215003
      if (that == null)
-
 
215004
        return false;
-
 
215005
      if (that instanceof changeReturnTransactionStatus_result)
-
 
215006
        return this.equals((changeReturnTransactionStatus_result)that);
-
 
215007
      return false;
-
 
215008
    }
-
 
215009
 
-
 
215010
    public boolean equals(changeReturnTransactionStatus_result that) {
-
 
215011
      if (that == null)
-
 
215012
        return false;
-
 
215013
 
-
 
215014
      boolean this_present_success = true;
-
 
215015
      boolean that_present_success = true;
-
 
215016
      if (this_present_success || that_present_success) {
-
 
215017
        if (!(this_present_success && that_present_success))
-
 
215018
          return false;
-
 
215019
        if (this.success != that.success)
-
 
215020
          return false;
-
 
215021
      }
-
 
215022
 
-
 
215023
      boolean this_present_ex = true && this.isSetEx();
-
 
215024
      boolean that_present_ex = true && that.isSetEx();
-
 
215025
      if (this_present_ex || that_present_ex) {
-
 
215026
        if (!(this_present_ex && that_present_ex))
-
 
215027
          return false;
-
 
215028
        if (!this.ex.equals(that.ex))
-
 
215029
          return false;
-
 
215030
      }
-
 
215031
 
-
 
215032
      return true;
-
 
215033
    }
-
 
215034
 
-
 
215035
    @Override
-
 
215036
    public int hashCode() {
-
 
215037
      return 0;
-
 
215038
    }
-
 
215039
 
-
 
215040
    public int compareTo(changeReturnTransactionStatus_result other) {
-
 
215041
      if (!getClass().equals(other.getClass())) {
-
 
215042
        return getClass().getName().compareTo(other.getClass().getName());
-
 
215043
      }
-
 
215044
 
-
 
215045
      int lastComparison = 0;
-
 
215046
      changeReturnTransactionStatus_result typedOther = (changeReturnTransactionStatus_result)other;
-
 
215047
 
-
 
215048
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
215049
      if (lastComparison != 0) {
-
 
215050
        return lastComparison;
-
 
215051
      }
-
 
215052
      if (isSetSuccess()) {
-
 
215053
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
215054
        if (lastComparison != 0) {
-
 
215055
          return lastComparison;
-
 
215056
        }
-
 
215057
      }
-
 
215058
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
215059
      if (lastComparison != 0) {
-
 
215060
        return lastComparison;
-
 
215061
      }
-
 
215062
      if (isSetEx()) {
-
 
215063
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
215064
        if (lastComparison != 0) {
-
 
215065
          return lastComparison;
-
 
215066
        }
-
 
215067
      }
-
 
215068
      return 0;
-
 
215069
    }
-
 
215070
 
-
 
215071
    public _Fields fieldForId(int fieldId) {
-
 
215072
      return _Fields.findByThriftId(fieldId);
-
 
215073
    }
-
 
215074
 
-
 
215075
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
215076
      org.apache.thrift.protocol.TField field;
-
 
215077
      iprot.readStructBegin();
-
 
215078
      while (true)
-
 
215079
      {
-
 
215080
        field = iprot.readFieldBegin();
-
 
215081
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
215082
          break;
-
 
215083
        }
-
 
215084
        switch (field.id) {
-
 
215085
          case 0: // SUCCESS
-
 
215086
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
215087
              this.success = iprot.readBool();
-
 
215088
              setSuccessIsSet(true);
-
 
215089
            } else { 
-
 
215090
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
215091
            }
-
 
215092
            break;
-
 
215093
          case 1: // EX
-
 
215094
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
215095
              this.ex = new TransactionServiceException();
-
 
215096
              this.ex.read(iprot);
-
 
215097
            } else { 
-
 
215098
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
215099
            }
-
 
215100
            break;
-
 
215101
          default:
-
 
215102
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
215103
        }
-
 
215104
        iprot.readFieldEnd();
-
 
215105
      }
-
 
215106
      iprot.readStructEnd();
-
 
215107
      validate();
-
 
215108
    }
-
 
215109
 
-
 
215110
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
215111
      oprot.writeStructBegin(STRUCT_DESC);
-
 
215112
 
-
 
215113
      if (this.isSetSuccess()) {
-
 
215114
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
215115
        oprot.writeBool(this.success);
-
 
215116
        oprot.writeFieldEnd();
-
 
215117
      } else if (this.isSetEx()) {
-
 
215118
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
215119
        this.ex.write(oprot);
-
 
215120
        oprot.writeFieldEnd();
-
 
215121
      }
-
 
215122
      oprot.writeFieldStop();
-
 
215123
      oprot.writeStructEnd();
-
 
215124
    }
-
 
215125
 
-
 
215126
    @Override
-
 
215127
    public String toString() {
-
 
215128
      StringBuilder sb = new StringBuilder("changeReturnTransactionStatus_result(");
-
 
215129
      boolean first = true;
-
 
215130
 
-
 
215131
      sb.append("success:");
-
 
215132
      sb.append(this.success);
-
 
215133
      first = false;
-
 
215134
      if (!first) sb.append(", ");
-
 
215135
      sb.append("ex:");
-
 
215136
      if (this.ex == null) {
-
 
215137
        sb.append("null");
-
 
215138
      } else {
-
 
215139
        sb.append(this.ex);
-
 
215140
      }
-
 
215141
      first = false;
-
 
215142
      sb.append(")");
-
 
215143
      return sb.toString();
-
 
215144
    }
-
 
215145
 
-
 
215146
    public void validate() throws org.apache.thrift.TException {
-
 
215147
      // check for required fields
-
 
215148
    }
-
 
215149
 
-
 
215150
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
215151
      try {
-
 
215152
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
215153
      } catch (org.apache.thrift.TException te) {
-
 
215154
        throw new java.io.IOException(te);
-
 
215155
      }
-
 
215156
    }
-
 
215157
 
-
 
215158
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
215159
      try {
-
 
215160
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
215161
      } catch (org.apache.thrift.TException te) {
-
 
215162
        throw new java.io.IOException(te);
-
 
215163
      }
-
 
215164
    }
-
 
215165
 
-
 
215166
  }
-
 
215167
 
-
 
215168
  public static class createReturnPickupRequest_args implements org.apache.thrift.TBase<createReturnPickupRequest_args, createReturnPickupRequest_args._Fields>, java.io.Serializable, Cloneable   {
-
 
215169
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createReturnPickupRequest_args");
-
 
215170
 
-
 
215171
    private static final org.apache.thrift.protocol.TField RETURN_ORDER_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("returnOrderIds", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
215172
    private static final org.apache.thrift.protocol.TField PROVIDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("providerId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
215173
 
-
 
215174
    private List<Long> returnOrderIds; // required
-
 
215175
    private long providerId; // required
-
 
215176
 
-
 
215177
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
215178
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
215179
      RETURN_ORDER_IDS((short)1, "returnOrderIds"),
-
 
215180
      PROVIDER_ID((short)2, "providerId");
-
 
215181
 
-
 
215182
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
215183
 
-
 
215184
      static {
-
 
215185
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
215186
          byName.put(field.getFieldName(), field);
-
 
215187
        }
-
 
215188
      }
-
 
215189
 
-
 
215190
      /**
-
 
215191
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
215192
       */
-
 
215193
      public static _Fields findByThriftId(int fieldId) {
-
 
215194
        switch(fieldId) {
-
 
215195
          case 1: // RETURN_ORDER_IDS
-
 
215196
            return RETURN_ORDER_IDS;
-
 
215197
          case 2: // PROVIDER_ID
-
 
215198
            return PROVIDER_ID;
-
 
215199
          default:
-
 
215200
            return null;
-
 
215201
        }
-
 
215202
      }
-
 
215203
 
-
 
215204
      /**
-
 
215205
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
215206
       * if it is not found.
-
 
215207
       */
-
 
215208
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
215209
        _Fields fields = findByThriftId(fieldId);
-
 
215210
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
215211
        return fields;
-
 
215212
      }
-
 
215213
 
-
 
215214
      /**
-
 
215215
       * Find the _Fields constant that matches name, or null if its not found.
-
 
215216
       */
-
 
215217
      public static _Fields findByName(String name) {
-
 
215218
        return byName.get(name);
-
 
215219
      }
-
 
215220
 
-
 
215221
      private final short _thriftId;
-
 
215222
      private final String _fieldName;
-
 
215223
 
-
 
215224
      _Fields(short thriftId, String fieldName) {
-
 
215225
        _thriftId = thriftId;
-
 
215226
        _fieldName = fieldName;
-
 
215227
      }
-
 
215228
 
-
 
215229
      public short getThriftFieldId() {
-
 
215230
        return _thriftId;
-
 
215231
      }
-
 
215232
 
-
 
215233
      public String getFieldName() {
-
 
215234
        return _fieldName;
-
 
215235
      }
-
 
215236
    }
-
 
215237
 
-
 
215238
    // isset id assignments
-
 
215239
    private static final int __PROVIDERID_ISSET_ID = 0;
-
 
215240
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
215241
 
-
 
215242
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
215243
    static {
-
 
215244
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
215245
      tmpMap.put(_Fields.RETURN_ORDER_IDS, new org.apache.thrift.meta_data.FieldMetaData("returnOrderIds", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
215246
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
215247
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
215248
      tmpMap.put(_Fields.PROVIDER_ID, new org.apache.thrift.meta_data.FieldMetaData("providerId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
215249
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
215250
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
215251
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createReturnPickupRequest_args.class, metaDataMap);
-
 
215252
    }
-
 
215253
 
-
 
215254
    public createReturnPickupRequest_args() {
-
 
215255
    }
-
 
215256
 
-
 
215257
    public createReturnPickupRequest_args(
-
 
215258
      List<Long> returnOrderIds,
-
 
215259
      long providerId)
-
 
215260
    {
-
 
215261
      this();
-
 
215262
      this.returnOrderIds = returnOrderIds;
-
 
215263
      this.providerId = providerId;
-
 
215264
      setProviderIdIsSet(true);
-
 
215265
    }
-
 
215266
 
-
 
215267
    /**
-
 
215268
     * Performs a deep copy on <i>other</i>.
-
 
215269
     */
-
 
215270
    public createReturnPickupRequest_args(createReturnPickupRequest_args other) {
-
 
215271
      __isset_bit_vector.clear();
-
 
215272
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
215273
      if (other.isSetReturnOrderIds()) {
-
 
215274
        List<Long> __this__returnOrderIds = new ArrayList<Long>();
-
 
215275
        for (Long other_element : other.returnOrderIds) {
-
 
215276
          __this__returnOrderIds.add(other_element);
-
 
215277
        }
-
 
215278
        this.returnOrderIds = __this__returnOrderIds;
-
 
215279
      }
-
 
215280
      this.providerId = other.providerId;
-
 
215281
    }
-
 
215282
 
-
 
215283
    public createReturnPickupRequest_args deepCopy() {
-
 
215284
      return new createReturnPickupRequest_args(this);
-
 
215285
    }
-
 
215286
 
-
 
215287
    @Override
-
 
215288
    public void clear() {
-
 
215289
      this.returnOrderIds = null;
-
 
215290
      setProviderIdIsSet(false);
-
 
215291
      this.providerId = 0;
-
 
215292
    }
-
 
215293
 
-
 
215294
    public int getReturnOrderIdsSize() {
-
 
215295
      return (this.returnOrderIds == null) ? 0 : this.returnOrderIds.size();
-
 
215296
    }
-
 
215297
 
-
 
215298
    public java.util.Iterator<Long> getReturnOrderIdsIterator() {
-
 
215299
      return (this.returnOrderIds == null) ? null : this.returnOrderIds.iterator();
-
 
215300
    }
-
 
215301
 
-
 
215302
    public void addToReturnOrderIds(long elem) {
-
 
215303
      if (this.returnOrderIds == null) {
-
 
215304
        this.returnOrderIds = new ArrayList<Long>();
-
 
215305
      }
-
 
215306
      this.returnOrderIds.add(elem);
-
 
215307
    }
-
 
215308
 
-
 
215309
    public List<Long> getReturnOrderIds() {
-
 
215310
      return this.returnOrderIds;
-
 
215311
    }
-
 
215312
 
-
 
215313
    public void setReturnOrderIds(List<Long> returnOrderIds) {
-
 
215314
      this.returnOrderIds = returnOrderIds;
-
 
215315
    }
-
 
215316
 
-
 
215317
    public void unsetReturnOrderIds() {
-
 
215318
      this.returnOrderIds = null;
-
 
215319
    }
-
 
215320
 
-
 
215321
    /** Returns true if field returnOrderIds is set (has been assigned a value) and false otherwise */
-
 
215322
    public boolean isSetReturnOrderIds() {
-
 
215323
      return this.returnOrderIds != null;
-
 
215324
    }
-
 
215325
 
-
 
215326
    public void setReturnOrderIdsIsSet(boolean value) {
-
 
215327
      if (!value) {
-
 
215328
        this.returnOrderIds = null;
-
 
215329
      }
-
 
215330
    }
-
 
215331
 
-
 
215332
    public long getProviderId() {
-
 
215333
      return this.providerId;
-
 
215334
    }
-
 
215335
 
-
 
215336
    public void setProviderId(long providerId) {
-
 
215337
      this.providerId = providerId;
-
 
215338
      setProviderIdIsSet(true);
-
 
215339
    }
-
 
215340
 
-
 
215341
    public void unsetProviderId() {
-
 
215342
      __isset_bit_vector.clear(__PROVIDERID_ISSET_ID);
-
 
215343
    }
-
 
215344
 
-
 
215345
    /** Returns true if field providerId is set (has been assigned a value) and false otherwise */
-
 
215346
    public boolean isSetProviderId() {
-
 
215347
      return __isset_bit_vector.get(__PROVIDERID_ISSET_ID);
-
 
215348
    }
-
 
215349
 
-
 
215350
    public void setProviderIdIsSet(boolean value) {
-
 
215351
      __isset_bit_vector.set(__PROVIDERID_ISSET_ID, value);
-
 
215352
    }
-
 
215353
 
-
 
215354
    public void setFieldValue(_Fields field, Object value) {
-
 
215355
      switch (field) {
-
 
215356
      case RETURN_ORDER_IDS:
-
 
215357
        if (value == null) {
-
 
215358
          unsetReturnOrderIds();
-
 
215359
        } else {
-
 
215360
          setReturnOrderIds((List<Long>)value);
-
 
215361
        }
-
 
215362
        break;
-
 
215363
 
-
 
215364
      case PROVIDER_ID:
-
 
215365
        if (value == null) {
-
 
215366
          unsetProviderId();
-
 
215367
        } else {
-
 
215368
          setProviderId((Long)value);
-
 
215369
        }
-
 
215370
        break;
-
 
215371
 
-
 
215372
      }
-
 
215373
    }
-
 
215374
 
-
 
215375
    public Object getFieldValue(_Fields field) {
-
 
215376
      switch (field) {
-
 
215377
      case RETURN_ORDER_IDS:
-
 
215378
        return getReturnOrderIds();
-
 
215379
 
-
 
215380
      case PROVIDER_ID:
-
 
215381
        return Long.valueOf(getProviderId());
-
 
215382
 
-
 
215383
      }
-
 
215384
      throw new IllegalStateException();
-
 
215385
    }
-
 
215386
 
-
 
215387
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
215388
    public boolean isSet(_Fields field) {
-
 
215389
      if (field == null) {
-
 
215390
        throw new IllegalArgumentException();
-
 
215391
      }
-
 
215392
 
-
 
215393
      switch (field) {
-
 
215394
      case RETURN_ORDER_IDS:
-
 
215395
        return isSetReturnOrderIds();
-
 
215396
      case PROVIDER_ID:
-
 
215397
        return isSetProviderId();
-
 
215398
      }
-
 
215399
      throw new IllegalStateException();
-
 
215400
    }
-
 
215401
 
-
 
215402
    @Override
-
 
215403
    public boolean equals(Object that) {
-
 
215404
      if (that == null)
-
 
215405
        return false;
-
 
215406
      if (that instanceof createReturnPickupRequest_args)
-
 
215407
        return this.equals((createReturnPickupRequest_args)that);
-
 
215408
      return false;
-
 
215409
    }
-
 
215410
 
-
 
215411
    public boolean equals(createReturnPickupRequest_args that) {
-
 
215412
      if (that == null)
-
 
215413
        return false;
-
 
215414
 
-
 
215415
      boolean this_present_returnOrderIds = true && this.isSetReturnOrderIds();
-
 
215416
      boolean that_present_returnOrderIds = true && that.isSetReturnOrderIds();
-
 
215417
      if (this_present_returnOrderIds || that_present_returnOrderIds) {
-
 
215418
        if (!(this_present_returnOrderIds && that_present_returnOrderIds))
-
 
215419
          return false;
-
 
215420
        if (!this.returnOrderIds.equals(that.returnOrderIds))
-
 
215421
          return false;
-
 
215422
      }
-
 
215423
 
-
 
215424
      boolean this_present_providerId = true;
-
 
215425
      boolean that_present_providerId = true;
-
 
215426
      if (this_present_providerId || that_present_providerId) {
-
 
215427
        if (!(this_present_providerId && that_present_providerId))
-
 
215428
          return false;
-
 
215429
        if (this.providerId != that.providerId)
-
 
215430
          return false;
-
 
215431
      }
-
 
215432
 
-
 
215433
      return true;
-
 
215434
    }
-
 
215435
 
-
 
215436
    @Override
-
 
215437
    public int hashCode() {
-
 
215438
      return 0;
-
 
215439
    }
-
 
215440
 
-
 
215441
    public int compareTo(createReturnPickupRequest_args other) {
-
 
215442
      if (!getClass().equals(other.getClass())) {
-
 
215443
        return getClass().getName().compareTo(other.getClass().getName());
-
 
215444
      }
-
 
215445
 
-
 
215446
      int lastComparison = 0;
-
 
215447
      createReturnPickupRequest_args typedOther = (createReturnPickupRequest_args)other;
-
 
215448
 
-
 
215449
      lastComparison = Boolean.valueOf(isSetReturnOrderIds()).compareTo(typedOther.isSetReturnOrderIds());
-
 
215450
      if (lastComparison != 0) {
-
 
215451
        return lastComparison;
-
 
215452
      }
-
 
215453
      if (isSetReturnOrderIds()) {
-
 
215454
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnOrderIds, typedOther.returnOrderIds);
-
 
215455
        if (lastComparison != 0) {
-
 
215456
          return lastComparison;
-
 
215457
        }
-
 
215458
      }
-
 
215459
      lastComparison = Boolean.valueOf(isSetProviderId()).compareTo(typedOther.isSetProviderId());
-
 
215460
      if (lastComparison != 0) {
-
 
215461
        return lastComparison;
-
 
215462
      }
-
 
215463
      if (isSetProviderId()) {
-
 
215464
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.providerId, typedOther.providerId);
-
 
215465
        if (lastComparison != 0) {
-
 
215466
          return lastComparison;
-
 
215467
        }
-
 
215468
      }
-
 
215469
      return 0;
-
 
215470
    }
-
 
215471
 
-
 
215472
    public _Fields fieldForId(int fieldId) {
-
 
215473
      return _Fields.findByThriftId(fieldId);
-
 
215474
    }
-
 
215475
 
-
 
215476
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
215477
      org.apache.thrift.protocol.TField field;
-
 
215478
      iprot.readStructBegin();
-
 
215479
      while (true)
-
 
215480
      {
-
 
215481
        field = iprot.readFieldBegin();
-
 
215482
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
215483
          break;
-
 
215484
        }
-
 
215485
        switch (field.id) {
-
 
215486
          case 1: // RETURN_ORDER_IDS
-
 
215487
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
215488
              {
-
 
215489
                org.apache.thrift.protocol.TList _list728 = iprot.readListBegin();
-
 
215490
                this.returnOrderIds = new ArrayList<Long>(_list728.size);
-
 
215491
                for (int _i729 = 0; _i729 < _list728.size; ++_i729)
-
 
215492
                {
-
 
215493
                  long _elem730; // required
-
 
215494
                  _elem730 = iprot.readI64();
-
 
215495
                  this.returnOrderIds.add(_elem730);
-
 
215496
                }
-
 
215497
                iprot.readListEnd();
-
 
215498
              }
-
 
215499
            } else { 
-
 
215500
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
215501
            }
-
 
215502
            break;
-
 
215503
          case 2: // PROVIDER_ID
-
 
215504
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
215505
              this.providerId = iprot.readI64();
-
 
215506
              setProviderIdIsSet(true);
-
 
215507
            } else { 
-
 
215508
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
215509
            }
-
 
215510
            break;
-
 
215511
          default:
-
 
215512
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
215513
        }
-
 
215514
        iprot.readFieldEnd();
-
 
215515
      }
-
 
215516
      iprot.readStructEnd();
-
 
215517
      validate();
-
 
215518
    }
-
 
215519
 
-
 
215520
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
215521
      validate();
-
 
215522
 
-
 
215523
      oprot.writeStructBegin(STRUCT_DESC);
-
 
215524
      if (this.returnOrderIds != null) {
-
 
215525
        oprot.writeFieldBegin(RETURN_ORDER_IDS_FIELD_DESC);
-
 
215526
        {
-
 
215527
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.returnOrderIds.size()));
-
 
215528
          for (long _iter731 : this.returnOrderIds)
-
 
215529
          {
-
 
215530
            oprot.writeI64(_iter731);
-
 
215531
          }
-
 
215532
          oprot.writeListEnd();
-
 
215533
        }
-
 
215534
        oprot.writeFieldEnd();
-
 
215535
      }
-
 
215536
      oprot.writeFieldBegin(PROVIDER_ID_FIELD_DESC);
-
 
215537
      oprot.writeI64(this.providerId);
-
 
215538
      oprot.writeFieldEnd();
-
 
215539
      oprot.writeFieldStop();
-
 
215540
      oprot.writeStructEnd();
-
 
215541
    }
-
 
215542
 
-
 
215543
    @Override
-
 
215544
    public String toString() {
-
 
215545
      StringBuilder sb = new StringBuilder("createReturnPickupRequest_args(");
-
 
215546
      boolean first = true;
-
 
215547
 
-
 
215548
      sb.append("returnOrderIds:");
-
 
215549
      if (this.returnOrderIds == null) {
-
 
215550
        sb.append("null");
-
 
215551
      } else {
-
 
215552
        sb.append(this.returnOrderIds);
-
 
215553
      }
-
 
215554
      first = false;
-
 
215555
      if (!first) sb.append(", ");
-
 
215556
      sb.append("providerId:");
-
 
215557
      sb.append(this.providerId);
-
 
215558
      first = false;
-
 
215559
      sb.append(")");
-
 
215560
      return sb.toString();
-
 
215561
    }
-
 
215562
 
-
 
215563
    public void validate() throws org.apache.thrift.TException {
-
 
215564
      // check for required fields
-
 
215565
    }
-
 
215566
 
-
 
215567
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
215568
      try {
-
 
215569
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
215570
      } catch (org.apache.thrift.TException te) {
-
 
215571
        throw new java.io.IOException(te);
-
 
215572
      }
-
 
215573
    }
-
 
215574
 
-
 
215575
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
215576
      try {
-
 
215577
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
215578
        __isset_bit_vector = new BitSet(1);
-
 
215579
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
215580
      } catch (org.apache.thrift.TException te) {
-
 
215581
        throw new java.io.IOException(te);
-
 
215582
      }
-
 
215583
    }
-
 
215584
 
-
 
215585
  }
-
 
215586
 
-
 
215587
  public static class createReturnPickupRequest_result implements org.apache.thrift.TBase<createReturnPickupRequest_result, createReturnPickupRequest_result._Fields>, java.io.Serializable, Cloneable   {
-
 
215588
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createReturnPickupRequest_result");
-
 
215589
 
-
 
215590
    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);
-
 
215591
    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);
-
 
215592
 
-
 
215593
    private boolean success; // required
-
 
215594
    private TransactionServiceException ex; // required
-
 
215595
 
-
 
215596
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
215597
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
215598
      SUCCESS((short)0, "success"),
-
 
215599
      EX((short)1, "ex");
-
 
215600
 
-
 
215601
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
215602
 
-
 
215603
      static {
-
 
215604
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
215605
          byName.put(field.getFieldName(), field);
-
 
215606
        }
-
 
215607
      }
-
 
215608
 
-
 
215609
      /**
-
 
215610
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
215611
       */
-
 
215612
      public static _Fields findByThriftId(int fieldId) {
-
 
215613
        switch(fieldId) {
-
 
215614
          case 0: // SUCCESS
-
 
215615
            return SUCCESS;
-
 
215616
          case 1: // EX
-
 
215617
            return EX;
-
 
215618
          default:
-
 
215619
            return null;
-
 
215620
        }
-
 
215621
      }
-
 
215622
 
-
 
215623
      /**
-
 
215624
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
215625
       * if it is not found.
-
 
215626
       */
-
 
215627
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
215628
        _Fields fields = findByThriftId(fieldId);
-
 
215629
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
215630
        return fields;
-
 
215631
      }
-
 
215632
 
-
 
215633
      /**
-
 
215634
       * Find the _Fields constant that matches name, or null if its not found.
-
 
215635
       */
-
 
215636
      public static _Fields findByName(String name) {
-
 
215637
        return byName.get(name);
-
 
215638
      }
-
 
215639
 
-
 
215640
      private final short _thriftId;
-
 
215641
      private final String _fieldName;
-
 
215642
 
-
 
215643
      _Fields(short thriftId, String fieldName) {
-
 
215644
        _thriftId = thriftId;
-
 
215645
        _fieldName = fieldName;
-
 
215646
      }
-
 
215647
 
-
 
215648
      public short getThriftFieldId() {
-
 
215649
        return _thriftId;
-
 
215650
      }
-
 
215651
 
-
 
215652
      public String getFieldName() {
-
 
215653
        return _fieldName;
-
 
215654
      }
-
 
215655
    }
-
 
215656
 
-
 
215657
    // isset id assignments
-
 
215658
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
215659
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
215660
 
-
 
215661
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
215662
    static {
-
 
215663
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
215664
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
215665
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
215666
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
215667
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
215668
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
215669
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createReturnPickupRequest_result.class, metaDataMap);
-
 
215670
    }
-
 
215671
 
-
 
215672
    public createReturnPickupRequest_result() {
-
 
215673
    }
-
 
215674
 
-
 
215675
    public createReturnPickupRequest_result(
-
 
215676
      boolean success,
-
 
215677
      TransactionServiceException ex)
-
 
215678
    {
-
 
215679
      this();
-
 
215680
      this.success = success;
-
 
215681
      setSuccessIsSet(true);
-
 
215682
      this.ex = ex;
-
 
215683
    }
-
 
215684
 
-
 
215685
    /**
-
 
215686
     * Performs a deep copy on <i>other</i>.
-
 
215687
     */
-
 
215688
    public createReturnPickupRequest_result(createReturnPickupRequest_result other) {
-
 
215689
      __isset_bit_vector.clear();
-
 
215690
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
215691
      this.success = other.success;
-
 
215692
      if (other.isSetEx()) {
-
 
215693
        this.ex = new TransactionServiceException(other.ex);
-
 
215694
      }
-
 
215695
    }
-
 
215696
 
-
 
215697
    public createReturnPickupRequest_result deepCopy() {
-
 
215698
      return new createReturnPickupRequest_result(this);
-
 
215699
    }
-
 
215700
 
-
 
215701
    @Override
-
 
215702
    public void clear() {
-
 
215703
      setSuccessIsSet(false);
-
 
215704
      this.success = false;
-
 
215705
      this.ex = null;
-
 
215706
    }
-
 
215707
 
-
 
215708
    public boolean isSuccess() {
-
 
215709
      return this.success;
-
 
215710
    }
-
 
215711
 
-
 
215712
    public void setSuccess(boolean success) {
-
 
215713
      this.success = success;
-
 
215714
      setSuccessIsSet(true);
-
 
215715
    }
-
 
215716
 
-
 
215717
    public void unsetSuccess() {
-
 
215718
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
215719
    }
-
 
215720
 
-
 
215721
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
215722
    public boolean isSetSuccess() {
-
 
215723
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
215724
    }
-
 
215725
 
-
 
215726
    public void setSuccessIsSet(boolean value) {
-
 
215727
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
215728
    }
-
 
215729
 
-
 
215730
    public TransactionServiceException getEx() {
-
 
215731
      return this.ex;
-
 
215732
    }
-
 
215733
 
-
 
215734
    public void setEx(TransactionServiceException ex) {
-
 
215735
      this.ex = ex;
-
 
215736
    }
-
 
215737
 
-
 
215738
    public void unsetEx() {
-
 
215739
      this.ex = null;
-
 
215740
    }
-
 
215741
 
-
 
215742
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
215743
    public boolean isSetEx() {
-
 
215744
      return this.ex != null;
-
 
215745
    }
-
 
215746
 
-
 
215747
    public void setExIsSet(boolean value) {
-
 
215748
      if (!value) {
-
 
215749
        this.ex = null;
-
 
215750
      }
-
 
215751
    }
-
 
215752
 
-
 
215753
    public void setFieldValue(_Fields field, Object value) {
-
 
215754
      switch (field) {
-
 
215755
      case SUCCESS:
-
 
215756
        if (value == null) {
-
 
215757
          unsetSuccess();
-
 
215758
        } else {
-
 
215759
          setSuccess((Boolean)value);
-
 
215760
        }
-
 
215761
        break;
-
 
215762
 
-
 
215763
      case EX:
-
 
215764
        if (value == null) {
-
 
215765
          unsetEx();
-
 
215766
        } else {
-
 
215767
          setEx((TransactionServiceException)value);
-
 
215768
        }
-
 
215769
        break;
-
 
215770
 
-
 
215771
      }
-
 
215772
    }
-
 
215773
 
-
 
215774
    public Object getFieldValue(_Fields field) {
-
 
215775
      switch (field) {
-
 
215776
      case SUCCESS:
-
 
215777
        return Boolean.valueOf(isSuccess());
-
 
215778
 
-
 
215779
      case EX:
-
 
215780
        return getEx();
-
 
215781
 
-
 
215782
      }
-
 
215783
      throw new IllegalStateException();
-
 
215784
    }
-
 
215785
 
-
 
215786
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
215787
    public boolean isSet(_Fields field) {
-
 
215788
      if (field == null) {
-
 
215789
        throw new IllegalArgumentException();
-
 
215790
      }
-
 
215791
 
-
 
215792
      switch (field) {
-
 
215793
      case SUCCESS:
-
 
215794
        return isSetSuccess();
-
 
215795
      case EX:
-
 
215796
        return isSetEx();
-
 
215797
      }
-
 
215798
      throw new IllegalStateException();
-
 
215799
    }
-
 
215800
 
-
 
215801
    @Override
-
 
215802
    public boolean equals(Object that) {
-
 
215803
      if (that == null)
-
 
215804
        return false;
-
 
215805
      if (that instanceof createReturnPickupRequest_result)
-
 
215806
        return this.equals((createReturnPickupRequest_result)that);
-
 
215807
      return false;
-
 
215808
    }
-
 
215809
 
-
 
215810
    public boolean equals(createReturnPickupRequest_result that) {
-
 
215811
      if (that == null)
-
 
215812
        return false;
-
 
215813
 
-
 
215814
      boolean this_present_success = true;
-
 
215815
      boolean that_present_success = true;
-
 
215816
      if (this_present_success || that_present_success) {
-
 
215817
        if (!(this_present_success && that_present_success))
-
 
215818
          return false;
-
 
215819
        if (this.success != that.success)
-
 
215820
          return false;
-
 
215821
      }
-
 
215822
 
-
 
215823
      boolean this_present_ex = true && this.isSetEx();
-
 
215824
      boolean that_present_ex = true && that.isSetEx();
-
 
215825
      if (this_present_ex || that_present_ex) {
-
 
215826
        if (!(this_present_ex && that_present_ex))
-
 
215827
          return false;
-
 
215828
        if (!this.ex.equals(that.ex))
-
 
215829
          return false;
-
 
215830
      }
-
 
215831
 
-
 
215832
      return true;
-
 
215833
    }
-
 
215834
 
-
 
215835
    @Override
-
 
215836
    public int hashCode() {
-
 
215837
      return 0;
-
 
215838
    }
-
 
215839
 
-
 
215840
    public int compareTo(createReturnPickupRequest_result other) {
-
 
215841
      if (!getClass().equals(other.getClass())) {
-
 
215842
        return getClass().getName().compareTo(other.getClass().getName());
-
 
215843
      }
-
 
215844
 
-
 
215845
      int lastComparison = 0;
-
 
215846
      createReturnPickupRequest_result typedOther = (createReturnPickupRequest_result)other;
-
 
215847
 
-
 
215848
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
215849
      if (lastComparison != 0) {
-
 
215850
        return lastComparison;
-
 
215851
      }
-
 
215852
      if (isSetSuccess()) {
-
 
215853
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
215854
        if (lastComparison != 0) {
-
 
215855
          return lastComparison;
-
 
215856
        }
-
 
215857
      }
-
 
215858
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
215859
      if (lastComparison != 0) {
-
 
215860
        return lastComparison;
-
 
215861
      }
-
 
215862
      if (isSetEx()) {
-
 
215863
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
215864
        if (lastComparison != 0) {
-
 
215865
          return lastComparison;
-
 
215866
        }
-
 
215867
      }
-
 
215868
      return 0;
-
 
215869
    }
-
 
215870
 
-
 
215871
    public _Fields fieldForId(int fieldId) {
-
 
215872
      return _Fields.findByThriftId(fieldId);
-
 
215873
    }
-
 
215874
 
-
 
215875
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
215876
      org.apache.thrift.protocol.TField field;
-
 
215877
      iprot.readStructBegin();
-
 
215878
      while (true)
-
 
215879
      {
-
 
215880
        field = iprot.readFieldBegin();
-
 
215881
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
215882
          break;
-
 
215883
        }
-
 
215884
        switch (field.id) {
-
 
215885
          case 0: // SUCCESS
-
 
215886
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
215887
              this.success = iprot.readBool();
-
 
215888
              setSuccessIsSet(true);
-
 
215889
            } else { 
-
 
215890
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
215891
            }
-
 
215892
            break;
-
 
215893
          case 1: // EX
-
 
215894
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
215895
              this.ex = new TransactionServiceException();
-
 
215896
              this.ex.read(iprot);
-
 
215897
            } else { 
-
 
215898
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
215899
            }
-
 
215900
            break;
-
 
215901
          default:
-
 
215902
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
215903
        }
-
 
215904
        iprot.readFieldEnd();
-
 
215905
      }
-
 
215906
      iprot.readStructEnd();
-
 
215907
      validate();
-
 
215908
    }
-
 
215909
 
-
 
215910
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
215911
      oprot.writeStructBegin(STRUCT_DESC);
-
 
215912
 
-
 
215913
      if (this.isSetSuccess()) {
-
 
215914
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
215915
        oprot.writeBool(this.success);
-
 
215916
        oprot.writeFieldEnd();
-
 
215917
      } else if (this.isSetEx()) {
-
 
215918
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
215919
        this.ex.write(oprot);
-
 
215920
        oprot.writeFieldEnd();
-
 
215921
      }
-
 
215922
      oprot.writeFieldStop();
-
 
215923
      oprot.writeStructEnd();
-
 
215924
    }
-
 
215925
 
-
 
215926
    @Override
-
 
215927
    public String toString() {
-
 
215928
      StringBuilder sb = new StringBuilder("createReturnPickupRequest_result(");
-
 
215929
      boolean first = true;
-
 
215930
 
-
 
215931
      sb.append("success:");
-
 
215932
      sb.append(this.success);
-
 
215933
      first = false;
-
 
215934
      if (!first) sb.append(", ");
-
 
215935
      sb.append("ex:");
-
 
215936
      if (this.ex == null) {
-
 
215937
        sb.append("null");
-
 
215938
      } else {
-
 
215939
        sb.append(this.ex);
-
 
215940
      }
-
 
215941
      first = false;
-
 
215942
      sb.append(")");
-
 
215943
      return sb.toString();
-
 
215944
    }
-
 
215945
 
-
 
215946
    public void validate() throws org.apache.thrift.TException {
-
 
215947
      // check for required fields
-
 
215948
    }
-
 
215949
 
-
 
215950
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
215951
      try {
-
 
215952
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
215953
      } catch (org.apache.thrift.TException te) {
-
 
215954
        throw new java.io.IOException(te);
-
 
215955
      }
-
 
215956
    }
-
 
215957
 
-
 
215958
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
215959
      try {
-
 
215960
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
215961
      } catch (org.apache.thrift.TException te) {
-
 
215962
        throw new java.io.IOException(te);
-
 
215963
      }
-
 
215964
    }
-
 
215965
 
-
 
215966
  }
-
 
215967
 
-
 
215968
  public static class updateReturnPickupRequest_args implements org.apache.thrift.TBase<updateReturnPickupRequest_args, updateReturnPickupRequest_args._Fields>, java.io.Serializable, Cloneable   {
-
 
215969
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateReturnPickupRequest_args");
-
 
215970
 
-
 
215971
    private static final org.apache.thrift.protocol.TField RETURN_PICKUP_REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("returnPickupRequest", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
215972
 
-
 
215973
    private ReturnPickupRequest returnPickupRequest; // required
-
 
215974
 
-
 
215975
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
215976
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
215977
      RETURN_PICKUP_REQUEST((short)1, "returnPickupRequest");
-
 
215978
 
-
 
215979
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
215980
 
-
 
215981
      static {
-
 
215982
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
215983
          byName.put(field.getFieldName(), field);
-
 
215984
        }
-
 
215985
      }
-
 
215986
 
-
 
215987
      /**
-
 
215988
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
215989
       */
-
 
215990
      public static _Fields findByThriftId(int fieldId) {
-
 
215991
        switch(fieldId) {
-
 
215992
          case 1: // RETURN_PICKUP_REQUEST
-
 
215993
            return RETURN_PICKUP_REQUEST;
-
 
215994
          default:
-
 
215995
            return null;
-
 
215996
        }
-
 
215997
      }
-
 
215998
 
-
 
215999
      /**
-
 
216000
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
216001
       * if it is not found.
-
 
216002
       */
-
 
216003
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
216004
        _Fields fields = findByThriftId(fieldId);
-
 
216005
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
216006
        return fields;
-
 
216007
      }
-
 
216008
 
-
 
216009
      /**
-
 
216010
       * Find the _Fields constant that matches name, or null if its not found.
-
 
216011
       */
-
 
216012
      public static _Fields findByName(String name) {
-
 
216013
        return byName.get(name);
-
 
216014
      }
-
 
216015
 
-
 
216016
      private final short _thriftId;
-
 
216017
      private final String _fieldName;
-
 
216018
 
-
 
216019
      _Fields(short thriftId, String fieldName) {
-
 
216020
        _thriftId = thriftId;
-
 
216021
        _fieldName = fieldName;
-
 
216022
      }
-
 
216023
 
-
 
216024
      public short getThriftFieldId() {
-
 
216025
        return _thriftId;
-
 
216026
      }
-
 
216027
 
-
 
216028
      public String getFieldName() {
-
 
216029
        return _fieldName;
-
 
216030
      }
-
 
216031
    }
-
 
216032
 
-
 
216033
    // isset id assignments
-
 
216034
 
-
 
216035
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
216036
    static {
-
 
216037
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
216038
      tmpMap.put(_Fields.RETURN_PICKUP_REQUEST, new org.apache.thrift.meta_data.FieldMetaData("returnPickupRequest", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
216039
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnPickupRequest.class)));
-
 
216040
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
216041
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateReturnPickupRequest_args.class, metaDataMap);
-
 
216042
    }
-
 
216043
 
-
 
216044
    public updateReturnPickupRequest_args() {
-
 
216045
    }
-
 
216046
 
-
 
216047
    public updateReturnPickupRequest_args(
-
 
216048
      ReturnPickupRequest returnPickupRequest)
-
 
216049
    {
-
 
216050
      this();
-
 
216051
      this.returnPickupRequest = returnPickupRequest;
-
 
216052
    }
-
 
216053
 
-
 
216054
    /**
-
 
216055
     * Performs a deep copy on <i>other</i>.
-
 
216056
     */
-
 
216057
    public updateReturnPickupRequest_args(updateReturnPickupRequest_args other) {
-
 
216058
      if (other.isSetReturnPickupRequest()) {
-
 
216059
        this.returnPickupRequest = new ReturnPickupRequest(other.returnPickupRequest);
-
 
216060
      }
-
 
216061
    }
-
 
216062
 
-
 
216063
    public updateReturnPickupRequest_args deepCopy() {
-
 
216064
      return new updateReturnPickupRequest_args(this);
-
 
216065
    }
-
 
216066
 
-
 
216067
    @Override
-
 
216068
    public void clear() {
-
 
216069
      this.returnPickupRequest = null;
-
 
216070
    }
-
 
216071
 
-
 
216072
    public ReturnPickupRequest getReturnPickupRequest() {
-
 
216073
      return this.returnPickupRequest;
-
 
216074
    }
-
 
216075
 
-
 
216076
    public void setReturnPickupRequest(ReturnPickupRequest returnPickupRequest) {
-
 
216077
      this.returnPickupRequest = returnPickupRequest;
-
 
216078
    }
-
 
216079
 
-
 
216080
    public void unsetReturnPickupRequest() {
-
 
216081
      this.returnPickupRequest = null;
-
 
216082
    }
-
 
216083
 
-
 
216084
    /** Returns true if field returnPickupRequest is set (has been assigned a value) and false otherwise */
-
 
216085
    public boolean isSetReturnPickupRequest() {
-
 
216086
      return this.returnPickupRequest != null;
-
 
216087
    }
-
 
216088
 
-
 
216089
    public void setReturnPickupRequestIsSet(boolean value) {
-
 
216090
      if (!value) {
-
 
216091
        this.returnPickupRequest = null;
-
 
216092
      }
-
 
216093
    }
-
 
216094
 
-
 
216095
    public void setFieldValue(_Fields field, Object value) {
-
 
216096
      switch (field) {
-
 
216097
      case RETURN_PICKUP_REQUEST:
-
 
216098
        if (value == null) {
-
 
216099
          unsetReturnPickupRequest();
-
 
216100
        } else {
-
 
216101
          setReturnPickupRequest((ReturnPickupRequest)value);
-
 
216102
        }
-
 
216103
        break;
-
 
216104
 
-
 
216105
      }
-
 
216106
    }
-
 
216107
 
-
 
216108
    public Object getFieldValue(_Fields field) {
-
 
216109
      switch (field) {
-
 
216110
      case RETURN_PICKUP_REQUEST:
-
 
216111
        return getReturnPickupRequest();
-
 
216112
 
-
 
216113
      }
-
 
216114
      throw new IllegalStateException();
-
 
216115
    }
-
 
216116
 
-
 
216117
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
216118
    public boolean isSet(_Fields field) {
-
 
216119
      if (field == null) {
-
 
216120
        throw new IllegalArgumentException();
-
 
216121
      }
-
 
216122
 
-
 
216123
      switch (field) {
-
 
216124
      case RETURN_PICKUP_REQUEST:
-
 
216125
        return isSetReturnPickupRequest();
-
 
216126
      }
-
 
216127
      throw new IllegalStateException();
-
 
216128
    }
-
 
216129
 
-
 
216130
    @Override
-
 
216131
    public boolean equals(Object that) {
-
 
216132
      if (that == null)
-
 
216133
        return false;
-
 
216134
      if (that instanceof updateReturnPickupRequest_args)
-
 
216135
        return this.equals((updateReturnPickupRequest_args)that);
-
 
216136
      return false;
-
 
216137
    }
-
 
216138
 
-
 
216139
    public boolean equals(updateReturnPickupRequest_args that) {
-
 
216140
      if (that == null)
-
 
216141
        return false;
-
 
216142
 
-
 
216143
      boolean this_present_returnPickupRequest = true && this.isSetReturnPickupRequest();
-
 
216144
      boolean that_present_returnPickupRequest = true && that.isSetReturnPickupRequest();
-
 
216145
      if (this_present_returnPickupRequest || that_present_returnPickupRequest) {
-
 
216146
        if (!(this_present_returnPickupRequest && that_present_returnPickupRequest))
-
 
216147
          return false;
-
 
216148
        if (!this.returnPickupRequest.equals(that.returnPickupRequest))
-
 
216149
          return false;
-
 
216150
      }
-
 
216151
 
-
 
216152
      return true;
-
 
216153
    }
-
 
216154
 
-
 
216155
    @Override
-
 
216156
    public int hashCode() {
-
 
216157
      return 0;
-
 
216158
    }
-
 
216159
 
-
 
216160
    public int compareTo(updateReturnPickupRequest_args other) {
-
 
216161
      if (!getClass().equals(other.getClass())) {
-
 
216162
        return getClass().getName().compareTo(other.getClass().getName());
-
 
216163
      }
-
 
216164
 
-
 
216165
      int lastComparison = 0;
-
 
216166
      updateReturnPickupRequest_args typedOther = (updateReturnPickupRequest_args)other;
-
 
216167
 
-
 
216168
      lastComparison = Boolean.valueOf(isSetReturnPickupRequest()).compareTo(typedOther.isSetReturnPickupRequest());
-
 
216169
      if (lastComparison != 0) {
-
 
216170
        return lastComparison;
-
 
216171
      }
-
 
216172
      if (isSetReturnPickupRequest()) {
-
 
216173
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnPickupRequest, typedOther.returnPickupRequest);
-
 
216174
        if (lastComparison != 0) {
-
 
216175
          return lastComparison;
-
 
216176
        }
-
 
216177
      }
-
 
216178
      return 0;
-
 
216179
    }
-
 
216180
 
-
 
216181
    public _Fields fieldForId(int fieldId) {
-
 
216182
      return _Fields.findByThriftId(fieldId);
-
 
216183
    }
-
 
216184
 
-
 
216185
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
216186
      org.apache.thrift.protocol.TField field;
-
 
216187
      iprot.readStructBegin();
-
 
216188
      while (true)
-
 
216189
      {
-
 
216190
        field = iprot.readFieldBegin();
-
 
216191
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
216192
          break;
-
 
216193
        }
-
 
216194
        switch (field.id) {
-
 
216195
          case 1: // RETURN_PICKUP_REQUEST
-
 
216196
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
216197
              this.returnPickupRequest = new ReturnPickupRequest();
-
 
216198
              this.returnPickupRequest.read(iprot);
-
 
216199
            } else { 
-
 
216200
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
216201
            }
-
 
216202
            break;
-
 
216203
          default:
-
 
216204
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
216205
        }
-
 
216206
        iprot.readFieldEnd();
-
 
216207
      }
-
 
216208
      iprot.readStructEnd();
-
 
216209
      validate();
-
 
216210
    }
-
 
216211
 
-
 
216212
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
216213
      validate();
-
 
216214
 
-
 
216215
      oprot.writeStructBegin(STRUCT_DESC);
-
 
216216
      if (this.returnPickupRequest != null) {
-
 
216217
        oprot.writeFieldBegin(RETURN_PICKUP_REQUEST_FIELD_DESC);
-
 
216218
        this.returnPickupRequest.write(oprot);
-
 
216219
        oprot.writeFieldEnd();
-
 
216220
      }
-
 
216221
      oprot.writeFieldStop();
-
 
216222
      oprot.writeStructEnd();
-
 
216223
    }
-
 
216224
 
-
 
216225
    @Override
-
 
216226
    public String toString() {
-
 
216227
      StringBuilder sb = new StringBuilder("updateReturnPickupRequest_args(");
-
 
216228
      boolean first = true;
-
 
216229
 
-
 
216230
      sb.append("returnPickupRequest:");
-
 
216231
      if (this.returnPickupRequest == null) {
-
 
216232
        sb.append("null");
-
 
216233
      } else {
-
 
216234
        sb.append(this.returnPickupRequest);
-
 
216235
      }
-
 
216236
      first = false;
-
 
216237
      sb.append(")");
-
 
216238
      return sb.toString();
-
 
216239
    }
-
 
216240
 
-
 
216241
    public void validate() throws org.apache.thrift.TException {
-
 
216242
      // check for required fields
-
 
216243
    }
-
 
216244
 
-
 
216245
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
216246
      try {
-
 
216247
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
216248
      } catch (org.apache.thrift.TException te) {
-
 
216249
        throw new java.io.IOException(te);
-
 
216250
      }
-
 
216251
    }
-
 
216252
 
-
 
216253
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
216254
      try {
-
 
216255
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
216256
      } catch (org.apache.thrift.TException te) {
-
 
216257
        throw new java.io.IOException(te);
-
 
216258
      }
-
 
216259
    }
-
 
216260
 
-
 
216261
  }
-
 
216262
 
-
 
216263
  public static class updateReturnPickupRequest_result implements org.apache.thrift.TBase<updateReturnPickupRequest_result, updateReturnPickupRequest_result._Fields>, java.io.Serializable, Cloneable   {
-
 
216264
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateReturnPickupRequest_result");
-
 
216265
 
-
 
216266
    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);
-
 
216267
    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);
-
 
216268
 
-
 
216269
    private boolean success; // required
-
 
216270
    private TransactionServiceException ex; // required
-
 
216271
 
-
 
216272
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
216273
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
216274
      SUCCESS((short)0, "success"),
-
 
216275
      EX((short)1, "ex");
-
 
216276
 
-
 
216277
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
216278
 
-
 
216279
      static {
-
 
216280
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
216281
          byName.put(field.getFieldName(), field);
-
 
216282
        }
-
 
216283
      }
-
 
216284
 
-
 
216285
      /**
-
 
216286
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
216287
       */
-
 
216288
      public static _Fields findByThriftId(int fieldId) {
-
 
216289
        switch(fieldId) {
-
 
216290
          case 0: // SUCCESS
-
 
216291
            return SUCCESS;
-
 
216292
          case 1: // EX
-
 
216293
            return EX;
-
 
216294
          default:
-
 
216295
            return null;
-
 
216296
        }
-
 
216297
      }
-
 
216298
 
-
 
216299
      /**
-
 
216300
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
216301
       * if it is not found.
-
 
216302
       */
-
 
216303
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
216304
        _Fields fields = findByThriftId(fieldId);
-
 
216305
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
216306
        return fields;
-
 
216307
      }
-
 
216308
 
-
 
216309
      /**
-
 
216310
       * Find the _Fields constant that matches name, or null if its not found.
-
 
216311
       */
-
 
216312
      public static _Fields findByName(String name) {
-
 
216313
        return byName.get(name);
-
 
216314
      }
-
 
216315
 
-
 
216316
      private final short _thriftId;
-
 
216317
      private final String _fieldName;
-
 
216318
 
-
 
216319
      _Fields(short thriftId, String fieldName) {
-
 
216320
        _thriftId = thriftId;
-
 
216321
        _fieldName = fieldName;
-
 
216322
      }
-
 
216323
 
-
 
216324
      public short getThriftFieldId() {
-
 
216325
        return _thriftId;
-
 
216326
      }
-
 
216327
 
-
 
216328
      public String getFieldName() {
-
 
216329
        return _fieldName;
-
 
216330
      }
-
 
216331
    }
-
 
216332
 
-
 
216333
    // isset id assignments
-
 
216334
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
216335
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
216336
 
-
 
216337
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
216338
    static {
-
 
216339
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
216340
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
216341
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
216342
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
216343
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
216344
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
216345
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateReturnPickupRequest_result.class, metaDataMap);
-
 
216346
    }
-
 
216347
 
-
 
216348
    public updateReturnPickupRequest_result() {
-
 
216349
    }
-
 
216350
 
-
 
216351
    public updateReturnPickupRequest_result(
-
 
216352
      boolean success,
-
 
216353
      TransactionServiceException ex)
-
 
216354
    {
-
 
216355
      this();
-
 
216356
      this.success = success;
-
 
216357
      setSuccessIsSet(true);
-
 
216358
      this.ex = ex;
-
 
216359
    }
-
 
216360
 
-
 
216361
    /**
-
 
216362
     * Performs a deep copy on <i>other</i>.
-
 
216363
     */
-
 
216364
    public updateReturnPickupRequest_result(updateReturnPickupRequest_result other) {
-
 
216365
      __isset_bit_vector.clear();
-
 
216366
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
216367
      this.success = other.success;
-
 
216368
      if (other.isSetEx()) {
-
 
216369
        this.ex = new TransactionServiceException(other.ex);
-
 
216370
      }
-
 
216371
    }
-
 
216372
 
-
 
216373
    public updateReturnPickupRequest_result deepCopy() {
-
 
216374
      return new updateReturnPickupRequest_result(this);
-
 
216375
    }
-
 
216376
 
-
 
216377
    @Override
-
 
216378
    public void clear() {
-
 
216379
      setSuccessIsSet(false);
-
 
216380
      this.success = false;
-
 
216381
      this.ex = null;
-
 
216382
    }
-
 
216383
 
-
 
216384
    public boolean isSuccess() {
-
 
216385
      return this.success;
-
 
216386
    }
-
 
216387
 
-
 
216388
    public void setSuccess(boolean success) {
-
 
216389
      this.success = success;
-
 
216390
      setSuccessIsSet(true);
-
 
216391
    }
-
 
216392
 
-
 
216393
    public void unsetSuccess() {
-
 
216394
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
216395
    }
-
 
216396
 
-
 
216397
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
216398
    public boolean isSetSuccess() {
-
 
216399
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
216400
    }
-
 
216401
 
-
 
216402
    public void setSuccessIsSet(boolean value) {
-
 
216403
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
216404
    }
-
 
216405
 
-
 
216406
    public TransactionServiceException getEx() {
-
 
216407
      return this.ex;
-
 
216408
    }
-
 
216409
 
-
 
216410
    public void setEx(TransactionServiceException ex) {
-
 
216411
      this.ex = ex;
-
 
216412
    }
-
 
216413
 
-
 
216414
    public void unsetEx() {
-
 
216415
      this.ex = null;
-
 
216416
    }
-
 
216417
 
-
 
216418
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
216419
    public boolean isSetEx() {
-
 
216420
      return this.ex != null;
-
 
216421
    }
-
 
216422
 
-
 
216423
    public void setExIsSet(boolean value) {
-
 
216424
      if (!value) {
-
 
216425
        this.ex = null;
-
 
216426
      }
-
 
216427
    }
-
 
216428
 
-
 
216429
    public void setFieldValue(_Fields field, Object value) {
-
 
216430
      switch (field) {
-
 
216431
      case SUCCESS:
-
 
216432
        if (value == null) {
-
 
216433
          unsetSuccess();
-
 
216434
        } else {
-
 
216435
          setSuccess((Boolean)value);
-
 
216436
        }
-
 
216437
        break;
-
 
216438
 
-
 
216439
      case EX:
-
 
216440
        if (value == null) {
-
 
216441
          unsetEx();
-
 
216442
        } else {
-
 
216443
          setEx((TransactionServiceException)value);
-
 
216444
        }
-
 
216445
        break;
-
 
216446
 
-
 
216447
      }
-
 
216448
    }
-
 
216449
 
-
 
216450
    public Object getFieldValue(_Fields field) {
-
 
216451
      switch (field) {
-
 
216452
      case SUCCESS:
-
 
216453
        return Boolean.valueOf(isSuccess());
-
 
216454
 
-
 
216455
      case EX:
-
 
216456
        return getEx();
-
 
216457
 
-
 
216458
      }
-
 
216459
      throw new IllegalStateException();
-
 
216460
    }
-
 
216461
 
-
 
216462
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
216463
    public boolean isSet(_Fields field) {
-
 
216464
      if (field == null) {
-
 
216465
        throw new IllegalArgumentException();
-
 
216466
      }
-
 
216467
 
-
 
216468
      switch (field) {
-
 
216469
      case SUCCESS:
-
 
216470
        return isSetSuccess();
-
 
216471
      case EX:
-
 
216472
        return isSetEx();
-
 
216473
      }
-
 
216474
      throw new IllegalStateException();
-
 
216475
    }
-
 
216476
 
-
 
216477
    @Override
-
 
216478
    public boolean equals(Object that) {
-
 
216479
      if (that == null)
-
 
216480
        return false;
-
 
216481
      if (that instanceof updateReturnPickupRequest_result)
-
 
216482
        return this.equals((updateReturnPickupRequest_result)that);
-
 
216483
      return false;
-
 
216484
    }
-
 
216485
 
-
 
216486
    public boolean equals(updateReturnPickupRequest_result that) {
-
 
216487
      if (that == null)
-
 
216488
        return false;
-
 
216489
 
-
 
216490
      boolean this_present_success = true;
-
 
216491
      boolean that_present_success = true;
-
 
216492
      if (this_present_success || that_present_success) {
-
 
216493
        if (!(this_present_success && that_present_success))
-
 
216494
          return false;
-
 
216495
        if (this.success != that.success)
-
 
216496
          return false;
-
 
216497
      }
-
 
216498
 
-
 
216499
      boolean this_present_ex = true && this.isSetEx();
-
 
216500
      boolean that_present_ex = true && that.isSetEx();
-
 
216501
      if (this_present_ex || that_present_ex) {
-
 
216502
        if (!(this_present_ex && that_present_ex))
-
 
216503
          return false;
-
 
216504
        if (!this.ex.equals(that.ex))
-
 
216505
          return false;
-
 
216506
      }
-
 
216507
 
-
 
216508
      return true;
-
 
216509
    }
-
 
216510
 
-
 
216511
    @Override
-
 
216512
    public int hashCode() {
-
 
216513
      return 0;
-
 
216514
    }
-
 
216515
 
-
 
216516
    public int compareTo(updateReturnPickupRequest_result other) {
-
 
216517
      if (!getClass().equals(other.getClass())) {
-
 
216518
        return getClass().getName().compareTo(other.getClass().getName());
-
 
216519
      }
-
 
216520
 
-
 
216521
      int lastComparison = 0;
-
 
216522
      updateReturnPickupRequest_result typedOther = (updateReturnPickupRequest_result)other;
-
 
216523
 
-
 
216524
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
216525
      if (lastComparison != 0) {
-
 
216526
        return lastComparison;
-
 
216527
      }
-
 
216528
      if (isSetSuccess()) {
-
 
216529
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
216530
        if (lastComparison != 0) {
-
 
216531
          return lastComparison;
-
 
216532
        }
-
 
216533
      }
-
 
216534
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
216535
      if (lastComparison != 0) {
-
 
216536
        return lastComparison;
-
 
216537
      }
-
 
216538
      if (isSetEx()) {
-
 
216539
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
216540
        if (lastComparison != 0) {
-
 
216541
          return lastComparison;
-
 
216542
        }
-
 
216543
      }
-
 
216544
      return 0;
-
 
216545
    }
-
 
216546
 
-
 
216547
    public _Fields fieldForId(int fieldId) {
-
 
216548
      return _Fields.findByThriftId(fieldId);
-
 
216549
    }
-
 
216550
 
-
 
216551
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
216552
      org.apache.thrift.protocol.TField field;
-
 
216553
      iprot.readStructBegin();
-
 
216554
      while (true)
-
 
216555
      {
-
 
216556
        field = iprot.readFieldBegin();
-
 
216557
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
216558
          break;
-
 
216559
        }
-
 
216560
        switch (field.id) {
-
 
216561
          case 0: // SUCCESS
-
 
216562
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
216563
              this.success = iprot.readBool();
-
 
216564
              setSuccessIsSet(true);
-
 
216565
            } else { 
-
 
216566
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
216567
            }
-
 
216568
            break;
-
 
216569
          case 1: // EX
-
 
216570
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
216571
              this.ex = new TransactionServiceException();
-
 
216572
              this.ex.read(iprot);
-
 
216573
            } else { 
-
 
216574
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
216575
            }
-
 
216576
            break;
-
 
216577
          default:
-
 
216578
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
216579
        }
-
 
216580
        iprot.readFieldEnd();
-
 
216581
      }
-
 
216582
      iprot.readStructEnd();
-
 
216583
      validate();
-
 
216584
    }
-
 
216585
 
-
 
216586
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
216587
      oprot.writeStructBegin(STRUCT_DESC);
-
 
216588
 
-
 
216589
      if (this.isSetSuccess()) {
-
 
216590
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
216591
        oprot.writeBool(this.success);
-
 
216592
        oprot.writeFieldEnd();
-
 
216593
      } else if (this.isSetEx()) {
-
 
216594
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
216595
        this.ex.write(oprot);
-
 
216596
        oprot.writeFieldEnd();
-
 
216597
      }
-
 
216598
      oprot.writeFieldStop();
-
 
216599
      oprot.writeStructEnd();
-
 
216600
    }
-
 
216601
 
-
 
216602
    @Override
-
 
216603
    public String toString() {
-
 
216604
      StringBuilder sb = new StringBuilder("updateReturnPickupRequest_result(");
-
 
216605
      boolean first = true;
-
 
216606
 
-
 
216607
      sb.append("success:");
-
 
216608
      sb.append(this.success);
-
 
216609
      first = false;
-
 
216610
      if (!first) sb.append(", ");
-
 
216611
      sb.append("ex:");
-
 
216612
      if (this.ex == null) {
-
 
216613
        sb.append("null");
-
 
216614
      } else {
-
 
216615
        sb.append(this.ex);
-
 
216616
      }
-
 
216617
      first = false;
-
 
216618
      sb.append(")");
-
 
216619
      return sb.toString();
-
 
216620
    }
-
 
216621
 
-
 
216622
    public void validate() throws org.apache.thrift.TException {
-
 
216623
      // check for required fields
-
 
216624
    }
-
 
216625
 
-
 
216626
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
216627
      try {
-
 
216628
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
216629
      } catch (org.apache.thrift.TException te) {
-
 
216630
        throw new java.io.IOException(te);
-
 
216631
      }
-
 
216632
    }
-
 
216633
 
-
 
216634
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
216635
      try {
-
 
216636
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
216637
      } catch (org.apache.thrift.TException te) {
-
 
216638
        throw new java.io.IOException(te);
-
 
216639
      }
-
 
216640
    }
-
 
216641
 
-
 
216642
  }
-
 
216643
 
-
 
216644
  public static class getAllReturnOrdersForReturnPickupRequest_args implements org.apache.thrift.TBase<getAllReturnOrdersForReturnPickupRequest_args, getAllReturnOrdersForReturnPickupRequest_args._Fields>, java.io.Serializable, Cloneable   {
-
 
216645
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllReturnOrdersForReturnPickupRequest_args");
-
 
216646
 
-
 
216647
    private static final org.apache.thrift.protocol.TField LOGISTICS_REQUEST_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsRequestId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
216648
 
-
 
216649
    private long logisticsRequestId; // required
-
 
216650
 
-
 
216651
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
216652
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
216653
      LOGISTICS_REQUEST_ID((short)1, "logisticsRequestId");
-
 
216654
 
-
 
216655
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
216656
 
-
 
216657
      static {
-
 
216658
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
216659
          byName.put(field.getFieldName(), field);
-
 
216660
        }
-
 
216661
      }
-
 
216662
 
-
 
216663
      /**
-
 
216664
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
216665
       */
-
 
216666
      public static _Fields findByThriftId(int fieldId) {
-
 
216667
        switch(fieldId) {
-
 
216668
          case 1: // LOGISTICS_REQUEST_ID
-
 
216669
            return LOGISTICS_REQUEST_ID;
-
 
216670
          default:
-
 
216671
            return null;
-
 
216672
        }
-
 
216673
      }
-
 
216674
 
-
 
216675
      /**
-
 
216676
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
216677
       * if it is not found.
-
 
216678
       */
-
 
216679
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
216680
        _Fields fields = findByThriftId(fieldId);
-
 
216681
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
216682
        return fields;
-
 
216683
      }
-
 
216684
 
-
 
216685
      /**
-
 
216686
       * Find the _Fields constant that matches name, or null if its not found.
-
 
216687
       */
-
 
216688
      public static _Fields findByName(String name) {
-
 
216689
        return byName.get(name);
-
 
216690
      }
-
 
216691
 
-
 
216692
      private final short _thriftId;
-
 
216693
      private final String _fieldName;
-
 
216694
 
-
 
216695
      _Fields(short thriftId, String fieldName) {
-
 
216696
        _thriftId = thriftId;
-
 
216697
        _fieldName = fieldName;
-
 
216698
      }
-
 
216699
 
-
 
216700
      public short getThriftFieldId() {
-
 
216701
        return _thriftId;
-
 
216702
      }
-
 
216703
 
-
 
216704
      public String getFieldName() {
-
 
216705
        return _fieldName;
-
 
216706
      }
-
 
216707
    }
-
 
216708
 
-
 
216709
    // isset id assignments
-
 
216710
    private static final int __LOGISTICSREQUESTID_ISSET_ID = 0;
-
 
216711
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
216712
 
-
 
216713
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
216714
    static {
-
 
216715
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
216716
      tmpMap.put(_Fields.LOGISTICS_REQUEST_ID, new org.apache.thrift.meta_data.FieldMetaData("logisticsRequestId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
216717
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
216718
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
216719
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllReturnOrdersForReturnPickupRequest_args.class, metaDataMap);
-
 
216720
    }
-
 
216721
 
-
 
216722
    public getAllReturnOrdersForReturnPickupRequest_args() {
-
 
216723
    }
-
 
216724
 
-
 
216725
    public getAllReturnOrdersForReturnPickupRequest_args(
-
 
216726
      long logisticsRequestId)
-
 
216727
    {
-
 
216728
      this();
-
 
216729
      this.logisticsRequestId = logisticsRequestId;
-
 
216730
      setLogisticsRequestIdIsSet(true);
-
 
216731
    }
-
 
216732
 
-
 
216733
    /**
-
 
216734
     * Performs a deep copy on <i>other</i>.
-
 
216735
     */
-
 
216736
    public getAllReturnOrdersForReturnPickupRequest_args(getAllReturnOrdersForReturnPickupRequest_args other) {
-
 
216737
      __isset_bit_vector.clear();
-
 
216738
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
216739
      this.logisticsRequestId = other.logisticsRequestId;
-
 
216740
    }
-
 
216741
 
-
 
216742
    public getAllReturnOrdersForReturnPickupRequest_args deepCopy() {
-
 
216743
      return new getAllReturnOrdersForReturnPickupRequest_args(this);
-
 
216744
    }
-
 
216745
 
-
 
216746
    @Override
-
 
216747
    public void clear() {
-
 
216748
      setLogisticsRequestIdIsSet(false);
-
 
216749
      this.logisticsRequestId = 0;
-
 
216750
    }
-
 
216751
 
-
 
216752
    public long getLogisticsRequestId() {
-
 
216753
      return this.logisticsRequestId;
-
 
216754
    }
-
 
216755
 
-
 
216756
    public void setLogisticsRequestId(long logisticsRequestId) {
-
 
216757
      this.logisticsRequestId = logisticsRequestId;
-
 
216758
      setLogisticsRequestIdIsSet(true);
-
 
216759
    }
-
 
216760
 
-
 
216761
    public void unsetLogisticsRequestId() {
-
 
216762
      __isset_bit_vector.clear(__LOGISTICSREQUESTID_ISSET_ID);
-
 
216763
    }
-
 
216764
 
-
 
216765
    /** Returns true if field logisticsRequestId is set (has been assigned a value) and false otherwise */
-
 
216766
    public boolean isSetLogisticsRequestId() {
-
 
216767
      return __isset_bit_vector.get(__LOGISTICSREQUESTID_ISSET_ID);
-
 
216768
    }
-
 
216769
 
-
 
216770
    public void setLogisticsRequestIdIsSet(boolean value) {
-
 
216771
      __isset_bit_vector.set(__LOGISTICSREQUESTID_ISSET_ID, value);
-
 
216772
    }
-
 
216773
 
-
 
216774
    public void setFieldValue(_Fields field, Object value) {
-
 
216775
      switch (field) {
-
 
216776
      case LOGISTICS_REQUEST_ID:
-
 
216777
        if (value == null) {
-
 
216778
          unsetLogisticsRequestId();
-
 
216779
        } else {
-
 
216780
          setLogisticsRequestId((Long)value);
-
 
216781
        }
-
 
216782
        break;
-
 
216783
 
-
 
216784
      }
-
 
216785
    }
-
 
216786
 
-
 
216787
    public Object getFieldValue(_Fields field) {
-
 
216788
      switch (field) {
-
 
216789
      case LOGISTICS_REQUEST_ID:
-
 
216790
        return Long.valueOf(getLogisticsRequestId());
-
 
216791
 
-
 
216792
      }
-
 
216793
      throw new IllegalStateException();
-
 
216794
    }
-
 
216795
 
-
 
216796
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
216797
    public boolean isSet(_Fields field) {
-
 
216798
      if (field == null) {
-
 
216799
        throw new IllegalArgumentException();
-
 
216800
      }
-
 
216801
 
-
 
216802
      switch (field) {
-
 
216803
      case LOGISTICS_REQUEST_ID:
-
 
216804
        return isSetLogisticsRequestId();
-
 
216805
      }
-
 
216806
      throw new IllegalStateException();
-
 
216807
    }
-
 
216808
 
-
 
216809
    @Override
-
 
216810
    public boolean equals(Object that) {
-
 
216811
      if (that == null)
-
 
216812
        return false;
-
 
216813
      if (that instanceof getAllReturnOrdersForReturnPickupRequest_args)
-
 
216814
        return this.equals((getAllReturnOrdersForReturnPickupRequest_args)that);
-
 
216815
      return false;
-
 
216816
    }
-
 
216817
 
-
 
216818
    public boolean equals(getAllReturnOrdersForReturnPickupRequest_args that) {
-
 
216819
      if (that == null)
-
 
216820
        return false;
-
 
216821
 
-
 
216822
      boolean this_present_logisticsRequestId = true;
-
 
216823
      boolean that_present_logisticsRequestId = true;
-
 
216824
      if (this_present_logisticsRequestId || that_present_logisticsRequestId) {
-
 
216825
        if (!(this_present_logisticsRequestId && that_present_logisticsRequestId))
-
 
216826
          return false;
-
 
216827
        if (this.logisticsRequestId != that.logisticsRequestId)
-
 
216828
          return false;
-
 
216829
      }
-
 
216830
 
-
 
216831
      return true;
-
 
216832
    }
-
 
216833
 
-
 
216834
    @Override
-
 
216835
    public int hashCode() {
-
 
216836
      return 0;
-
 
216837
    }
-
 
216838
 
-
 
216839
    public int compareTo(getAllReturnOrdersForReturnPickupRequest_args other) {
-
 
216840
      if (!getClass().equals(other.getClass())) {
-
 
216841
        return getClass().getName().compareTo(other.getClass().getName());
-
 
216842
      }
-
 
216843
 
-
 
216844
      int lastComparison = 0;
-
 
216845
      getAllReturnOrdersForReturnPickupRequest_args typedOther = (getAllReturnOrdersForReturnPickupRequest_args)other;
-
 
216846
 
-
 
216847
      lastComparison = Boolean.valueOf(isSetLogisticsRequestId()).compareTo(typedOther.isSetLogisticsRequestId());
-
 
216848
      if (lastComparison != 0) {
-
 
216849
        return lastComparison;
-
 
216850
      }
-
 
216851
      if (isSetLogisticsRequestId()) {
-
 
216852
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logisticsRequestId, typedOther.logisticsRequestId);
-
 
216853
        if (lastComparison != 0) {
-
 
216854
          return lastComparison;
-
 
216855
        }
-
 
216856
      }
-
 
216857
      return 0;
-
 
216858
    }
-
 
216859
 
-
 
216860
    public _Fields fieldForId(int fieldId) {
-
 
216861
      return _Fields.findByThriftId(fieldId);
-
 
216862
    }
-
 
216863
 
-
 
216864
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
216865
      org.apache.thrift.protocol.TField field;
-
 
216866
      iprot.readStructBegin();
-
 
216867
      while (true)
-
 
216868
      {
-
 
216869
        field = iprot.readFieldBegin();
-
 
216870
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
216871
          break;
-
 
216872
        }
-
 
216873
        switch (field.id) {
-
 
216874
          case 1: // LOGISTICS_REQUEST_ID
-
 
216875
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
216876
              this.logisticsRequestId = iprot.readI64();
-
 
216877
              setLogisticsRequestIdIsSet(true);
-
 
216878
            } else { 
-
 
216879
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
216880
            }
-
 
216881
            break;
-
 
216882
          default:
-
 
216883
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
216884
        }
-
 
216885
        iprot.readFieldEnd();
-
 
216886
      }
-
 
216887
      iprot.readStructEnd();
-
 
216888
      validate();
-
 
216889
    }
-
 
216890
 
-
 
216891
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
216892
      validate();
-
 
216893
 
-
 
216894
      oprot.writeStructBegin(STRUCT_DESC);
-
 
216895
      oprot.writeFieldBegin(LOGISTICS_REQUEST_ID_FIELD_DESC);
-
 
216896
      oprot.writeI64(this.logisticsRequestId);
-
 
216897
      oprot.writeFieldEnd();
-
 
216898
      oprot.writeFieldStop();
-
 
216899
      oprot.writeStructEnd();
-
 
216900
    }
-
 
216901
 
-
 
216902
    @Override
-
 
216903
    public String toString() {
-
 
216904
      StringBuilder sb = new StringBuilder("getAllReturnOrdersForReturnPickupRequest_args(");
-
 
216905
      boolean first = true;
-
 
216906
 
-
 
216907
      sb.append("logisticsRequestId:");
-
 
216908
      sb.append(this.logisticsRequestId);
-
 
216909
      first = false;
-
 
216910
      sb.append(")");
-
 
216911
      return sb.toString();
-
 
216912
    }
-
 
216913
 
-
 
216914
    public void validate() throws org.apache.thrift.TException {
-
 
216915
      // check for required fields
-
 
216916
    }
-
 
216917
 
-
 
216918
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
216919
      try {
-
 
216920
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
216921
      } catch (org.apache.thrift.TException te) {
-
 
216922
        throw new java.io.IOException(te);
-
 
216923
      }
-
 
216924
    }
-
 
216925
 
-
 
216926
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
216927
      try {
-
 
216928
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
216929
        __isset_bit_vector = new BitSet(1);
-
 
216930
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
216931
      } catch (org.apache.thrift.TException te) {
-
 
216932
        throw new java.io.IOException(te);
-
 
216933
      }
-
 
216934
    }
-
 
216935
 
-
 
216936
  }
-
 
216937
 
-
 
216938
  public static class getAllReturnOrdersForReturnPickupRequest_result implements org.apache.thrift.TBase<getAllReturnOrdersForReturnPickupRequest_result, getAllReturnOrdersForReturnPickupRequest_result._Fields>, java.io.Serializable, Cloneable   {
-
 
216939
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllReturnOrdersForReturnPickupRequest_result");
-
 
216940
 
-
 
216941
    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);
-
 
216942
    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);
-
 
216943
 
-
 
216944
    private List<ReturnOrderInfo> success; // required
-
 
216945
    private TransactionServiceException ex; // required
-
 
216946
 
-
 
216947
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
216948
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
216949
      SUCCESS((short)0, "success"),
-
 
216950
      EX((short)1, "ex");
-
 
216951
 
-
 
216952
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
216953
 
-
 
216954
      static {
-
 
216955
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
216956
          byName.put(field.getFieldName(), field);
-
 
216957
        }
-
 
216958
      }
-
 
216959
 
-
 
216960
      /**
-
 
216961
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
216962
       */
-
 
216963
      public static _Fields findByThriftId(int fieldId) {
-
 
216964
        switch(fieldId) {
-
 
216965
          case 0: // SUCCESS
-
 
216966
            return SUCCESS;
-
 
216967
          case 1: // EX
-
 
216968
            return EX;
-
 
216969
          default:
-
 
216970
            return null;
-
 
216971
        }
-
 
216972
      }
-
 
216973
 
-
 
216974
      /**
-
 
216975
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
216976
       * if it is not found.
-
 
216977
       */
-
 
216978
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
216979
        _Fields fields = findByThriftId(fieldId);
-
 
216980
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
216981
        return fields;
-
 
216982
      }
-
 
216983
 
-
 
216984
      /**
-
 
216985
       * Find the _Fields constant that matches name, or null if its not found.
-
 
216986
       */
-
 
216987
      public static _Fields findByName(String name) {
-
 
216988
        return byName.get(name);
-
 
216989
      }
-
 
216990
 
-
 
216991
      private final short _thriftId;
-
 
216992
      private final String _fieldName;
-
 
216993
 
-
 
216994
      _Fields(short thriftId, String fieldName) {
-
 
216995
        _thriftId = thriftId;
-
 
216996
        _fieldName = fieldName;
-
 
216997
      }
-
 
216998
 
-
 
216999
      public short getThriftFieldId() {
-
 
217000
        return _thriftId;
-
 
217001
      }
-
 
217002
 
-
 
217003
      public String getFieldName() {
-
 
217004
        return _fieldName;
-
 
217005
      }
-
 
217006
    }
-
 
217007
 
-
 
217008
    // isset id assignments
-
 
217009
 
-
 
217010
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
217011
    static {
-
 
217012
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
217013
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
217014
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
217015
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnOrderInfo.class))));
-
 
217016
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
217017
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
217018
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
217019
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllReturnOrdersForReturnPickupRequest_result.class, metaDataMap);
-
 
217020
    }
-
 
217021
 
-
 
217022
    public getAllReturnOrdersForReturnPickupRequest_result() {
-
 
217023
    }
-
 
217024
 
-
 
217025
    public getAllReturnOrdersForReturnPickupRequest_result(
-
 
217026
      List<ReturnOrderInfo> success,
-
 
217027
      TransactionServiceException ex)
-
 
217028
    {
-
 
217029
      this();
-
 
217030
      this.success = success;
-
 
217031
      this.ex = ex;
-
 
217032
    }
-
 
217033
 
-
 
217034
    /**
-
 
217035
     * Performs a deep copy on <i>other</i>.
-
 
217036
     */
-
 
217037
    public getAllReturnOrdersForReturnPickupRequest_result(getAllReturnOrdersForReturnPickupRequest_result other) {
-
 
217038
      if (other.isSetSuccess()) {
-
 
217039
        List<ReturnOrderInfo> __this__success = new ArrayList<ReturnOrderInfo>();
-
 
217040
        for (ReturnOrderInfo other_element : other.success) {
-
 
217041
          __this__success.add(new ReturnOrderInfo(other_element));
-
 
217042
        }
-
 
217043
        this.success = __this__success;
-
 
217044
      }
-
 
217045
      if (other.isSetEx()) {
-
 
217046
        this.ex = new TransactionServiceException(other.ex);
-
 
217047
      }
-
 
217048
    }
-
 
217049
 
-
 
217050
    public getAllReturnOrdersForReturnPickupRequest_result deepCopy() {
-
 
217051
      return new getAllReturnOrdersForReturnPickupRequest_result(this);
-
 
217052
    }
-
 
217053
 
-
 
217054
    @Override
-
 
217055
    public void clear() {
-
 
217056
      this.success = null;
-
 
217057
      this.ex = null;
-
 
217058
    }
-
 
217059
 
-
 
217060
    public int getSuccessSize() {
-
 
217061
      return (this.success == null) ? 0 : this.success.size();
-
 
217062
    }
-
 
217063
 
-
 
217064
    public java.util.Iterator<ReturnOrderInfo> getSuccessIterator() {
-
 
217065
      return (this.success == null) ? null : this.success.iterator();
-
 
217066
    }
-
 
217067
 
-
 
217068
    public void addToSuccess(ReturnOrderInfo elem) {
-
 
217069
      if (this.success == null) {
-
 
217070
        this.success = new ArrayList<ReturnOrderInfo>();
-
 
217071
      }
-
 
217072
      this.success.add(elem);
-
 
217073
    }
-
 
217074
 
-
 
217075
    public List<ReturnOrderInfo> getSuccess() {
-
 
217076
      return this.success;
-
 
217077
    }
-
 
217078
 
-
 
217079
    public void setSuccess(List<ReturnOrderInfo> success) {
-
 
217080
      this.success = success;
-
 
217081
    }
-
 
217082
 
-
 
217083
    public void unsetSuccess() {
-
 
217084
      this.success = null;
-
 
217085
    }
-
 
217086
 
-
 
217087
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
217088
    public boolean isSetSuccess() {
-
 
217089
      return this.success != null;
-
 
217090
    }
-
 
217091
 
-
 
217092
    public void setSuccessIsSet(boolean value) {
-
 
217093
      if (!value) {
-
 
217094
        this.success = null;
-
 
217095
      }
-
 
217096
    }
-
 
217097
 
-
 
217098
    public TransactionServiceException getEx() {
-
 
217099
      return this.ex;
-
 
217100
    }
-
 
217101
 
-
 
217102
    public void setEx(TransactionServiceException ex) {
-
 
217103
      this.ex = ex;
-
 
217104
    }
-
 
217105
 
-
 
217106
    public void unsetEx() {
-
 
217107
      this.ex = null;
-
 
217108
    }
-
 
217109
 
-
 
217110
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
217111
    public boolean isSetEx() {
-
 
217112
      return this.ex != null;
-
 
217113
    }
-
 
217114
 
-
 
217115
    public void setExIsSet(boolean value) {
-
 
217116
      if (!value) {
-
 
217117
        this.ex = null;
-
 
217118
      }
-
 
217119
    }
-
 
217120
 
-
 
217121
    public void setFieldValue(_Fields field, Object value) {
-
 
217122
      switch (field) {
-
 
217123
      case SUCCESS:
-
 
217124
        if (value == null) {
-
 
217125
          unsetSuccess();
-
 
217126
        } else {
-
 
217127
          setSuccess((List<ReturnOrderInfo>)value);
-
 
217128
        }
-
 
217129
        break;
-
 
217130
 
-
 
217131
      case EX:
-
 
217132
        if (value == null) {
-
 
217133
          unsetEx();
-
 
217134
        } else {
-
 
217135
          setEx((TransactionServiceException)value);
-
 
217136
        }
-
 
217137
        break;
-
 
217138
 
-
 
217139
      }
-
 
217140
    }
-
 
217141
 
-
 
217142
    public Object getFieldValue(_Fields field) {
-
 
217143
      switch (field) {
-
 
217144
      case SUCCESS:
-
 
217145
        return getSuccess();
-
 
217146
 
-
 
217147
      case EX:
-
 
217148
        return getEx();
-
 
217149
 
-
 
217150
      }
-
 
217151
      throw new IllegalStateException();
-
 
217152
    }
-
 
217153
 
-
 
217154
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
217155
    public boolean isSet(_Fields field) {
-
 
217156
      if (field == null) {
-
 
217157
        throw new IllegalArgumentException();
-
 
217158
      }
-
 
217159
 
-
 
217160
      switch (field) {
-
 
217161
      case SUCCESS:
-
 
217162
        return isSetSuccess();
-
 
217163
      case EX:
-
 
217164
        return isSetEx();
-
 
217165
      }
-
 
217166
      throw new IllegalStateException();
-
 
217167
    }
-
 
217168
 
-
 
217169
    @Override
-
 
217170
    public boolean equals(Object that) {
-
 
217171
      if (that == null)
-
 
217172
        return false;
-
 
217173
      if (that instanceof getAllReturnOrdersForReturnPickupRequest_result)
-
 
217174
        return this.equals((getAllReturnOrdersForReturnPickupRequest_result)that);
-
 
217175
      return false;
-
 
217176
    }
-
 
217177
 
-
 
217178
    public boolean equals(getAllReturnOrdersForReturnPickupRequest_result that) {
-
 
217179
      if (that == null)
-
 
217180
        return false;
-
 
217181
 
-
 
217182
      boolean this_present_success = true && this.isSetSuccess();
-
 
217183
      boolean that_present_success = true && that.isSetSuccess();
-
 
217184
      if (this_present_success || that_present_success) {
-
 
217185
        if (!(this_present_success && that_present_success))
-
 
217186
          return false;
-
 
217187
        if (!this.success.equals(that.success))
-
 
217188
          return false;
-
 
217189
      }
-
 
217190
 
-
 
217191
      boolean this_present_ex = true && this.isSetEx();
-
 
217192
      boolean that_present_ex = true && that.isSetEx();
-
 
217193
      if (this_present_ex || that_present_ex) {
-
 
217194
        if (!(this_present_ex && that_present_ex))
-
 
217195
          return false;
-
 
217196
        if (!this.ex.equals(that.ex))
-
 
217197
          return false;
-
 
217198
      }
-
 
217199
 
-
 
217200
      return true;
-
 
217201
    }
-
 
217202
 
-
 
217203
    @Override
-
 
217204
    public int hashCode() {
-
 
217205
      return 0;
-
 
217206
    }
-
 
217207
 
-
 
217208
    public int compareTo(getAllReturnOrdersForReturnPickupRequest_result other) {
-
 
217209
      if (!getClass().equals(other.getClass())) {
-
 
217210
        return getClass().getName().compareTo(other.getClass().getName());
-
 
217211
      }
-
 
217212
 
-
 
217213
      int lastComparison = 0;
-
 
217214
      getAllReturnOrdersForReturnPickupRequest_result typedOther = (getAllReturnOrdersForReturnPickupRequest_result)other;
-
 
217215
 
-
 
217216
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
217217
      if (lastComparison != 0) {
-
 
217218
        return lastComparison;
-
 
217219
      }
-
 
217220
      if (isSetSuccess()) {
-
 
217221
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
217222
        if (lastComparison != 0) {
-
 
217223
          return lastComparison;
-
 
217224
        }
-
 
217225
      }
-
 
217226
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
217227
      if (lastComparison != 0) {
-
 
217228
        return lastComparison;
-
 
217229
      }
-
 
217230
      if (isSetEx()) {
-
 
217231
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
217232
        if (lastComparison != 0) {
-
 
217233
          return lastComparison;
-
 
217234
        }
-
 
217235
      }
-
 
217236
      return 0;
-
 
217237
    }
-
 
217238
 
-
 
217239
    public _Fields fieldForId(int fieldId) {
-
 
217240
      return _Fields.findByThriftId(fieldId);
-
 
217241
    }
-
 
217242
 
-
 
217243
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
217244
      org.apache.thrift.protocol.TField field;
-
 
217245
      iprot.readStructBegin();
-
 
217246
      while (true)
-
 
217247
      {
-
 
217248
        field = iprot.readFieldBegin();
-
 
217249
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
217250
          break;
-
 
217251
        }
-
 
217252
        switch (field.id) {
-
 
217253
          case 0: // SUCCESS
-
 
217254
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
217255
              {
-
 
217256
                org.apache.thrift.protocol.TList _list732 = iprot.readListBegin();
-
 
217257
                this.success = new ArrayList<ReturnOrderInfo>(_list732.size);
-
 
217258
                for (int _i733 = 0; _i733 < _list732.size; ++_i733)
-
 
217259
                {
-
 
217260
                  ReturnOrderInfo _elem734; // required
-
 
217261
                  _elem734 = new ReturnOrderInfo();
-
 
217262
                  _elem734.read(iprot);
-
 
217263
                  this.success.add(_elem734);
-
 
217264
                }
-
 
217265
                iprot.readListEnd();
-
 
217266
              }
-
 
217267
            } else { 
-
 
217268
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
217269
            }
-
 
217270
            break;
-
 
217271
          case 1: // EX
-
 
217272
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
217273
              this.ex = new TransactionServiceException();
-
 
217274
              this.ex.read(iprot);
-
 
217275
            } else { 
-
 
217276
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
217277
            }
-
 
217278
            break;
-
 
217279
          default:
-
 
217280
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
217281
        }
-
 
217282
        iprot.readFieldEnd();
-
 
217283
      }
-
 
217284
      iprot.readStructEnd();
-
 
217285
      validate();
-
 
217286
    }
-
 
217287
 
-
 
217288
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
217289
      oprot.writeStructBegin(STRUCT_DESC);
-
 
217290
 
-
 
217291
      if (this.isSetSuccess()) {
-
 
217292
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
217293
        {
-
 
217294
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
217295
          for (ReturnOrderInfo _iter735 : this.success)
-
 
217296
          {
-
 
217297
            _iter735.write(oprot);
-
 
217298
          }
-
 
217299
          oprot.writeListEnd();
-
 
217300
        }
-
 
217301
        oprot.writeFieldEnd();
-
 
217302
      } else if (this.isSetEx()) {
-
 
217303
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
217304
        this.ex.write(oprot);
-
 
217305
        oprot.writeFieldEnd();
-
 
217306
      }
-
 
217307
      oprot.writeFieldStop();
-
 
217308
      oprot.writeStructEnd();
-
 
217309
    }
-
 
217310
 
-
 
217311
    @Override
-
 
217312
    public String toString() {
-
 
217313
      StringBuilder sb = new StringBuilder("getAllReturnOrdersForReturnPickupRequest_result(");
-
 
217314
      boolean first = true;
-
 
217315
 
-
 
217316
      sb.append("success:");
-
 
217317
      if (this.success == null) {
-
 
217318
        sb.append("null");
-
 
217319
      } else {
-
 
217320
        sb.append(this.success);
-
 
217321
      }
-
 
217322
      first = false;
-
 
217323
      if (!first) sb.append(", ");
-
 
217324
      sb.append("ex:");
-
 
217325
      if (this.ex == null) {
-
 
217326
        sb.append("null");
-
 
217327
      } else {
-
 
217328
        sb.append(this.ex);
-
 
217329
      }
-
 
217330
      first = false;
-
 
217331
      sb.append(")");
-
 
217332
      return sb.toString();
-
 
217333
    }
-
 
217334
 
-
 
217335
    public void validate() throws org.apache.thrift.TException {
-
 
217336
      // check for required fields
-
 
217337
    }
-
 
217338
 
-
 
217339
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
217340
      try {
-
 
217341
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
217342
      } catch (org.apache.thrift.TException te) {
-
 
217343
        throw new java.io.IOException(te);
-
 
217344
      }
-
 
217345
    }
-
 
217346
 
-
 
217347
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
217348
      try {
-
 
217349
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
217350
      } catch (org.apache.thrift.TException te) {
-
 
217351
        throw new java.io.IOException(te);
-
 
217352
      }
-
 
217353
    }
-
 
217354
 
-
 
217355
  }
-
 
217356
 
-
 
217357
  public static class receiveReturnPickup_args implements org.apache.thrift.TBase<receiveReturnPickup_args, receiveReturnPickup_args._Fields>, java.io.Serializable, Cloneable   {
-
 
217358
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("receiveReturnPickup_args");
-
 
217359
 
-
 
217360
    private static final org.apache.thrift.protocol.TField RETURN_ORDERS_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("returnOrdersMap", org.apache.thrift.protocol.TType.MAP, (short)1);
-
 
217361
    private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
217362
 
-
 
217363
    private Map<Long,Map<String,String>> returnOrdersMap; // required
-
 
217364
    private long id; // required
-
 
217365
 
-
 
217366
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
217367
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
217368
      RETURN_ORDERS_MAP((short)1, "returnOrdersMap"),
-
 
217369
      ID((short)2, "id");
-
 
217370
 
-
 
217371
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
217372
 
-
 
217373
      static {
-
 
217374
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
217375
          byName.put(field.getFieldName(), field);
-
 
217376
        }
-
 
217377
      }
-
 
217378
 
-
 
217379
      /**
-
 
217380
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
217381
       */
-
 
217382
      public static _Fields findByThriftId(int fieldId) {
-
 
217383
        switch(fieldId) {
-
 
217384
          case 1: // RETURN_ORDERS_MAP
-
 
217385
            return RETURN_ORDERS_MAP;
-
 
217386
          case 2: // ID
-
 
217387
            return ID;
-
 
217388
          default:
-
 
217389
            return null;
-
 
217390
        }
-
 
217391
      }
-
 
217392
 
-
 
217393
      /**
-
 
217394
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
217395
       * if it is not found.
-
 
217396
       */
-
 
217397
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
217398
        _Fields fields = findByThriftId(fieldId);
-
 
217399
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
217400
        return fields;
-
 
217401
      }
-
 
217402
 
-
 
217403
      /**
-
 
217404
       * Find the _Fields constant that matches name, or null if its not found.
-
 
217405
       */
-
 
217406
      public static _Fields findByName(String name) {
-
 
217407
        return byName.get(name);
-
 
217408
      }
-
 
217409
 
-
 
217410
      private final short _thriftId;
-
 
217411
      private final String _fieldName;
-
 
217412
 
-
 
217413
      _Fields(short thriftId, String fieldName) {
-
 
217414
        _thriftId = thriftId;
-
 
217415
        _fieldName = fieldName;
-
 
217416
      }
-
 
217417
 
-
 
217418
      public short getThriftFieldId() {
-
 
217419
        return _thriftId;
-
 
217420
      }
-
 
217421
 
-
 
217422
      public String getFieldName() {
-
 
217423
        return _fieldName;
-
 
217424
      }
-
 
217425
    }
-
 
217426
 
-
 
217427
    // isset id assignments
-
 
217428
    private static final int __ID_ISSET_ID = 0;
-
 
217429
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
217430
 
-
 
217431
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
217432
    static {
-
 
217433
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
217434
      tmpMap.put(_Fields.RETURN_ORDERS_MAP, new org.apache.thrift.meta_data.FieldMetaData("returnOrdersMap", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
217435
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
217436
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
217437
              new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
217438
                  new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
-
 
217439
                  new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))));
-
 
217440
      tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
217441
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
217442
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
217443
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(receiveReturnPickup_args.class, metaDataMap);
-
 
217444
    }
-
 
217445
 
-
 
217446
    public receiveReturnPickup_args() {
-
 
217447
    }
-
 
217448
 
-
 
217449
    public receiveReturnPickup_args(
-
 
217450
      Map<Long,Map<String,String>> returnOrdersMap,
-
 
217451
      long id)
-
 
217452
    {
-
 
217453
      this();
-
 
217454
      this.returnOrdersMap = returnOrdersMap;
-
 
217455
      this.id = id;
-
 
217456
      setIdIsSet(true);
-
 
217457
    }
-
 
217458
 
-
 
217459
    /**
-
 
217460
     * Performs a deep copy on <i>other</i>.
-
 
217461
     */
-
 
217462
    public receiveReturnPickup_args(receiveReturnPickup_args other) {
-
 
217463
      __isset_bit_vector.clear();
-
 
217464
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
217465
      if (other.isSetReturnOrdersMap()) {
-
 
217466
        Map<Long,Map<String,String>> __this__returnOrdersMap = new HashMap<Long,Map<String,String>>();
-
 
217467
        for (Map.Entry<Long, Map<String,String>> other_element : other.returnOrdersMap.entrySet()) {
-
 
217468
 
-
 
217469
          Long other_element_key = other_element.getKey();
-
 
217470
          Map<String,String> other_element_value = other_element.getValue();
-
 
217471
 
-
 
217472
          Long __this__returnOrdersMap_copy_key = other_element_key;
-
 
217473
 
-
 
217474
          Map<String,String> __this__returnOrdersMap_copy_value = new HashMap<String,String>();
-
 
217475
          for (Map.Entry<String, String> other_element_value_element : other_element_value.entrySet()) {
-
 
217476
 
-
 
217477
            String other_element_value_element_key = other_element_value_element.getKey();
-
 
217478
            String other_element_value_element_value = other_element_value_element.getValue();
-
 
217479
 
-
 
217480
            String __this__returnOrdersMap_copy_value_copy_key = other_element_value_element_key;
-
 
217481
 
-
 
217482
            String __this__returnOrdersMap_copy_value_copy_value = other_element_value_element_value;
-
 
217483
 
-
 
217484
            __this__returnOrdersMap_copy_value.put(__this__returnOrdersMap_copy_value_copy_key, __this__returnOrdersMap_copy_value_copy_value);
-
 
217485
          }
-
 
217486
 
-
 
217487
          __this__returnOrdersMap.put(__this__returnOrdersMap_copy_key, __this__returnOrdersMap_copy_value);
-
 
217488
        }
-
 
217489
        this.returnOrdersMap = __this__returnOrdersMap;
-
 
217490
      }
-
 
217491
      this.id = other.id;
-
 
217492
    }
-
 
217493
 
-
 
217494
    public receiveReturnPickup_args deepCopy() {
-
 
217495
      return new receiveReturnPickup_args(this);
-
 
217496
    }
-
 
217497
 
-
 
217498
    @Override
-
 
217499
    public void clear() {
-
 
217500
      this.returnOrdersMap = null;
-
 
217501
      setIdIsSet(false);
-
 
217502
      this.id = 0;
-
 
217503
    }
-
 
217504
 
-
 
217505
    public int getReturnOrdersMapSize() {
-
 
217506
      return (this.returnOrdersMap == null) ? 0 : this.returnOrdersMap.size();
-
 
217507
    }
-
 
217508
 
-
 
217509
    public void putToReturnOrdersMap(long key, Map<String,String> val) {
-
 
217510
      if (this.returnOrdersMap == null) {
-
 
217511
        this.returnOrdersMap = new HashMap<Long,Map<String,String>>();
-
 
217512
      }
-
 
217513
      this.returnOrdersMap.put(key, val);
-
 
217514
    }
-
 
217515
 
-
 
217516
    public Map<Long,Map<String,String>> getReturnOrdersMap() {
-
 
217517
      return this.returnOrdersMap;
-
 
217518
    }
-
 
217519
 
-
 
217520
    public void setReturnOrdersMap(Map<Long,Map<String,String>> returnOrdersMap) {
-
 
217521
      this.returnOrdersMap = returnOrdersMap;
-
 
217522
    }
-
 
217523
 
-
 
217524
    public void unsetReturnOrdersMap() {
-
 
217525
      this.returnOrdersMap = null;
-
 
217526
    }
-
 
217527
 
-
 
217528
    /** Returns true if field returnOrdersMap is set (has been assigned a value) and false otherwise */
-
 
217529
    public boolean isSetReturnOrdersMap() {
-
 
217530
      return this.returnOrdersMap != null;
-
 
217531
    }
-
 
217532
 
-
 
217533
    public void setReturnOrdersMapIsSet(boolean value) {
-
 
217534
      if (!value) {
-
 
217535
        this.returnOrdersMap = null;
-
 
217536
      }
-
 
217537
    }
-
 
217538
 
-
 
217539
    public long getId() {
-
 
217540
      return this.id;
-
 
217541
    }
-
 
217542
 
-
 
217543
    public void setId(long id) {
-
 
217544
      this.id = id;
-
 
217545
      setIdIsSet(true);
-
 
217546
    }
-
 
217547
 
-
 
217548
    public void unsetId() {
-
 
217549
      __isset_bit_vector.clear(__ID_ISSET_ID);
-
 
217550
    }
-
 
217551
 
-
 
217552
    /** Returns true if field id is set (has been assigned a value) and false otherwise */
-
 
217553
    public boolean isSetId() {
-
 
217554
      return __isset_bit_vector.get(__ID_ISSET_ID);
-
 
217555
    }
-
 
217556
 
-
 
217557
    public void setIdIsSet(boolean value) {
-
 
217558
      __isset_bit_vector.set(__ID_ISSET_ID, value);
-
 
217559
    }
-
 
217560
 
-
 
217561
    public void setFieldValue(_Fields field, Object value) {
-
 
217562
      switch (field) {
-
 
217563
      case RETURN_ORDERS_MAP:
-
 
217564
        if (value == null) {
-
 
217565
          unsetReturnOrdersMap();
-
 
217566
        } else {
-
 
217567
          setReturnOrdersMap((Map<Long,Map<String,String>>)value);
-
 
217568
        }
-
 
217569
        break;
-
 
217570
 
-
 
217571
      case ID:
-
 
217572
        if (value == null) {
-
 
217573
          unsetId();
-
 
217574
        } else {
-
 
217575
          setId((Long)value);
-
 
217576
        }
-
 
217577
        break;
-
 
217578
 
-
 
217579
      }
-
 
217580
    }
-
 
217581
 
-
 
217582
    public Object getFieldValue(_Fields field) {
-
 
217583
      switch (field) {
-
 
217584
      case RETURN_ORDERS_MAP:
-
 
217585
        return getReturnOrdersMap();
-
 
217586
 
-
 
217587
      case ID:
-
 
217588
        return Long.valueOf(getId());
-
 
217589
 
-
 
217590
      }
-
 
217591
      throw new IllegalStateException();
-
 
217592
    }
-
 
217593
 
-
 
217594
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
217595
    public boolean isSet(_Fields field) {
-
 
217596
      if (field == null) {
-
 
217597
        throw new IllegalArgumentException();
-
 
217598
      }
-
 
217599
 
-
 
217600
      switch (field) {
-
 
217601
      case RETURN_ORDERS_MAP:
-
 
217602
        return isSetReturnOrdersMap();
-
 
217603
      case ID:
-
 
217604
        return isSetId();
-
 
217605
      }
-
 
217606
      throw new IllegalStateException();
-
 
217607
    }
-
 
217608
 
-
 
217609
    @Override
-
 
217610
    public boolean equals(Object that) {
-
 
217611
      if (that == null)
-
 
217612
        return false;
-
 
217613
      if (that instanceof receiveReturnPickup_args)
-
 
217614
        return this.equals((receiveReturnPickup_args)that);
-
 
217615
      return false;
-
 
217616
    }
-
 
217617
 
-
 
217618
    public boolean equals(receiveReturnPickup_args that) {
-
 
217619
      if (that == null)
-
 
217620
        return false;
-
 
217621
 
-
 
217622
      boolean this_present_returnOrdersMap = true && this.isSetReturnOrdersMap();
-
 
217623
      boolean that_present_returnOrdersMap = true && that.isSetReturnOrdersMap();
-
 
217624
      if (this_present_returnOrdersMap || that_present_returnOrdersMap) {
-
 
217625
        if (!(this_present_returnOrdersMap && that_present_returnOrdersMap))
-
 
217626
          return false;
-
 
217627
        if (!this.returnOrdersMap.equals(that.returnOrdersMap))
-
 
217628
          return false;
-
 
217629
      }
-
 
217630
 
-
 
217631
      boolean this_present_id = true;
-
 
217632
      boolean that_present_id = true;
-
 
217633
      if (this_present_id || that_present_id) {
-
 
217634
        if (!(this_present_id && that_present_id))
-
 
217635
          return false;
-
 
217636
        if (this.id != that.id)
-
 
217637
          return false;
-
 
217638
      }
-
 
217639
 
-
 
217640
      return true;
-
 
217641
    }
-
 
217642
 
-
 
217643
    @Override
-
 
217644
    public int hashCode() {
-
 
217645
      return 0;
-
 
217646
    }
-
 
217647
 
-
 
217648
    public int compareTo(receiveReturnPickup_args other) {
-
 
217649
      if (!getClass().equals(other.getClass())) {
-
 
217650
        return getClass().getName().compareTo(other.getClass().getName());
-
 
217651
      }
-
 
217652
 
-
 
217653
      int lastComparison = 0;
-
 
217654
      receiveReturnPickup_args typedOther = (receiveReturnPickup_args)other;
-
 
217655
 
-
 
217656
      lastComparison = Boolean.valueOf(isSetReturnOrdersMap()).compareTo(typedOther.isSetReturnOrdersMap());
-
 
217657
      if (lastComparison != 0) {
-
 
217658
        return lastComparison;
-
 
217659
      }
-
 
217660
      if (isSetReturnOrdersMap()) {
-
 
217661
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnOrdersMap, typedOther.returnOrdersMap);
-
 
217662
        if (lastComparison != 0) {
-
 
217663
          return lastComparison;
-
 
217664
        }
-
 
217665
      }
-
 
217666
      lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
-
 
217667
      if (lastComparison != 0) {
-
 
217668
        return lastComparison;
-
 
217669
      }
-
 
217670
      if (isSetId()) {
-
 
217671
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
-
 
217672
        if (lastComparison != 0) {
-
 
217673
          return lastComparison;
-
 
217674
        }
-
 
217675
      }
-
 
217676
      return 0;
-
 
217677
    }
-
 
217678
 
-
 
217679
    public _Fields fieldForId(int fieldId) {
-
 
217680
      return _Fields.findByThriftId(fieldId);
-
 
217681
    }
-
 
217682
 
-
 
217683
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
217684
      org.apache.thrift.protocol.TField field;
-
 
217685
      iprot.readStructBegin();
-
 
217686
      while (true)
-
 
217687
      {
-
 
217688
        field = iprot.readFieldBegin();
-
 
217689
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
217690
          break;
-
 
217691
        }
-
 
217692
        switch (field.id) {
-
 
217693
          case 1: // RETURN_ORDERS_MAP
-
 
217694
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
217695
              {
-
 
217696
                org.apache.thrift.protocol.TMap _map736 = iprot.readMapBegin();
-
 
217697
                this.returnOrdersMap = new HashMap<Long,Map<String,String>>(2*_map736.size);
-
 
217698
                for (int _i737 = 0; _i737 < _map736.size; ++_i737)
-
 
217699
                {
-
 
217700
                  long _key738; // required
-
 
217701
                  Map<String,String> _val739; // required
-
 
217702
                  _key738 = iprot.readI64();
-
 
217703
                  {
-
 
217704
                    org.apache.thrift.protocol.TMap _map740 = iprot.readMapBegin();
-
 
217705
                    _val739 = new HashMap<String,String>(2*_map740.size);
-
 
217706
                    for (int _i741 = 0; _i741 < _map740.size; ++_i741)
-
 
217707
                    {
-
 
217708
                      String _key742; // required
-
 
217709
                      String _val743; // required
-
 
217710
                      _key742 = iprot.readString();
-
 
217711
                      _val743 = iprot.readString();
-
 
217712
                      _val739.put(_key742, _val743);
-
 
217713
                    }
-
 
217714
                    iprot.readMapEnd();
-
 
217715
                  }
-
 
217716
                  this.returnOrdersMap.put(_key738, _val739);
-
 
217717
                }
-
 
217718
                iprot.readMapEnd();
-
 
217719
              }
-
 
217720
            } else { 
-
 
217721
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
217722
            }
-
 
217723
            break;
-
 
217724
          case 2: // ID
-
 
217725
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
217726
              this.id = iprot.readI64();
-
 
217727
              setIdIsSet(true);
-
 
217728
            } else { 
-
 
217729
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
217730
            }
-
 
217731
            break;
-
 
217732
          default:
-
 
217733
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
217734
        }
-
 
217735
        iprot.readFieldEnd();
-
 
217736
      }
-
 
217737
      iprot.readStructEnd();
-
 
217738
      validate();
-
 
217739
    }
-
 
217740
 
-
 
217741
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
217742
      validate();
-
 
217743
 
-
 
217744
      oprot.writeStructBegin(STRUCT_DESC);
-
 
217745
      if (this.returnOrdersMap != null) {
-
 
217746
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
-
 
217747
        {
-
 
217748
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.returnOrdersMap.size()));
-
 
217749
          for (Map.Entry<Long, Map<String,String>> _iter744 : this.returnOrdersMap.entrySet())
-
 
217750
          {
-
 
217751
            oprot.writeI64(_iter744.getKey());
-
 
217752
            {
-
 
217753
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter744.getValue().size()));
-
 
217754
              for (Map.Entry<String, String> _iter745 : _iter744.getValue().entrySet())
-
 
217755
              {
-
 
217756
                oprot.writeString(_iter745.getKey());
-
 
217757
                oprot.writeString(_iter745.getValue());
-
 
217758
              }
-
 
217759
              oprot.writeMapEnd();
-
 
217760
            }
-
 
217761
          }
-
 
217762
          oprot.writeMapEnd();
-
 
217763
        }
-
 
217764
        oprot.writeFieldEnd();
-
 
217765
      }
-
 
217766
      oprot.writeFieldBegin(ID_FIELD_DESC);
-
 
217767
      oprot.writeI64(this.id);
-
 
217768
      oprot.writeFieldEnd();
-
 
217769
      oprot.writeFieldStop();
-
 
217770
      oprot.writeStructEnd();
-
 
217771
    }
-
 
217772
 
-
 
217773
    @Override
-
 
217774
    public String toString() {
-
 
217775
      StringBuilder sb = new StringBuilder("receiveReturnPickup_args(");
-
 
217776
      boolean first = true;
-
 
217777
 
-
 
217778
      sb.append("returnOrdersMap:");
-
 
217779
      if (this.returnOrdersMap == null) {
-
 
217780
        sb.append("null");
-
 
217781
      } else {
-
 
217782
        sb.append(this.returnOrdersMap);
-
 
217783
      }
-
 
217784
      first = false;
-
 
217785
      if (!first) sb.append(", ");
-
 
217786
      sb.append("id:");
-
 
217787
      sb.append(this.id);
-
 
217788
      first = false;
-
 
217789
      sb.append(")");
-
 
217790
      return sb.toString();
-
 
217791
    }
-
 
217792
 
-
 
217793
    public void validate() throws org.apache.thrift.TException {
-
 
217794
      // check for required fields
-
 
217795
    }
-
 
217796
 
-
 
217797
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
217798
      try {
-
 
217799
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
217800
      } catch (org.apache.thrift.TException te) {
-
 
217801
        throw new java.io.IOException(te);
-
 
217802
      }
-
 
217803
    }
-
 
217804
 
-
 
217805
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
217806
      try {
-
 
217807
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
217808
        __isset_bit_vector = new BitSet(1);
-
 
217809
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
217810
      } catch (org.apache.thrift.TException te) {
-
 
217811
        throw new java.io.IOException(te);
-
 
217812
      }
-
 
217813
    }
-
 
217814
 
-
 
217815
  }
-
 
217816
 
-
 
217817
  public static class receiveReturnPickup_result implements org.apache.thrift.TBase<receiveReturnPickup_result, receiveReturnPickup_result._Fields>, java.io.Serializable, Cloneable   {
-
 
217818
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("receiveReturnPickup_result");
-
 
217819
 
-
 
217820
    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);
-
 
217821
    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);
-
 
217822
 
-
 
217823
    private boolean success; // required
-
 
217824
    private TransactionServiceException ex; // required
-
 
217825
 
-
 
217826
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
217827
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
217828
      SUCCESS((short)0, "success"),
-
 
217829
      EX((short)1, "ex");
-
 
217830
 
-
 
217831
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
217832
 
-
 
217833
      static {
-
 
217834
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
217835
          byName.put(field.getFieldName(), field);
-
 
217836
        }
-
 
217837
      }
-
 
217838
 
-
 
217839
      /**
-
 
217840
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
217841
       */
-
 
217842
      public static _Fields findByThriftId(int fieldId) {
-
 
217843
        switch(fieldId) {
-
 
217844
          case 0: // SUCCESS
-
 
217845
            return SUCCESS;
-
 
217846
          case 1: // EX
-
 
217847
            return EX;
-
 
217848
          default:
-
 
217849
            return null;
-
 
217850
        }
-
 
217851
      }
-
 
217852
 
-
 
217853
      /**
-
 
217854
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
217855
       * if it is not found.
-
 
217856
       */
-
 
217857
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
217858
        _Fields fields = findByThriftId(fieldId);
-
 
217859
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
217860
        return fields;
-
 
217861
      }
-
 
217862
 
-
 
217863
      /**
-
 
217864
       * Find the _Fields constant that matches name, or null if its not found.
-
 
217865
       */
-
 
217866
      public static _Fields findByName(String name) {
-
 
217867
        return byName.get(name);
-
 
217868
      }
-
 
217869
 
-
 
217870
      private final short _thriftId;
-
 
217871
      private final String _fieldName;
-
 
217872
 
-
 
217873
      _Fields(short thriftId, String fieldName) {
-
 
217874
        _thriftId = thriftId;
-
 
217875
        _fieldName = fieldName;
-
 
217876
      }
-
 
217877
 
-
 
217878
      public short getThriftFieldId() {
-
 
217879
        return _thriftId;
-
 
217880
      }
-
 
217881
 
-
 
217882
      public String getFieldName() {
-
 
217883
        return _fieldName;
-
 
217884
      }
-
 
217885
    }
-
 
217886
 
-
 
217887
    // isset id assignments
-
 
217888
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
217889
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
217890
 
-
 
217891
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
217892
    static {
-
 
217893
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
217894
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
217895
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
217896
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
217897
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
217898
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
217899
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(receiveReturnPickup_result.class, metaDataMap);
-
 
217900
    }
-
 
217901
 
-
 
217902
    public receiveReturnPickup_result() {
-
 
217903
    }
-
 
217904
 
-
 
217905
    public receiveReturnPickup_result(
-
 
217906
      boolean success,
-
 
217907
      TransactionServiceException ex)
-
 
217908
    {
-
 
217909
      this();
-
 
217910
      this.success = success;
-
 
217911
      setSuccessIsSet(true);
-
 
217912
      this.ex = ex;
-
 
217913
    }
-
 
217914
 
-
 
217915
    /**
-
 
217916
     * Performs a deep copy on <i>other</i>.
-
 
217917
     */
-
 
217918
    public receiveReturnPickup_result(receiveReturnPickup_result other) {
-
 
217919
      __isset_bit_vector.clear();
-
 
217920
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
217921
      this.success = other.success;
-
 
217922
      if (other.isSetEx()) {
-
 
217923
        this.ex = new TransactionServiceException(other.ex);
-
 
217924
      }
-
 
217925
    }
-
 
217926
 
-
 
217927
    public receiveReturnPickup_result deepCopy() {
-
 
217928
      return new receiveReturnPickup_result(this);
-
 
217929
    }
-
 
217930
 
-
 
217931
    @Override
-
 
217932
    public void clear() {
-
 
217933
      setSuccessIsSet(false);
-
 
217934
      this.success = false;
-
 
217935
      this.ex = null;
-
 
217936
    }
-
 
217937
 
-
 
217938
    public boolean isSuccess() {
-
 
217939
      return this.success;
-
 
217940
    }
-
 
217941
 
-
 
217942
    public void setSuccess(boolean success) {
-
 
217943
      this.success = success;
-
 
217944
      setSuccessIsSet(true);
-
 
217945
    }
-
 
217946
 
-
 
217947
    public void unsetSuccess() {
-
 
217948
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
217949
    }
-
 
217950
 
-
 
217951
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
217952
    public boolean isSetSuccess() {
-
 
217953
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
217954
    }
-
 
217955
 
-
 
217956
    public void setSuccessIsSet(boolean value) {
-
 
217957
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
217958
    }
-
 
217959
 
-
 
217960
    public TransactionServiceException getEx() {
-
 
217961
      return this.ex;
-
 
217962
    }
-
 
217963
 
-
 
217964
    public void setEx(TransactionServiceException ex) {
-
 
217965
      this.ex = ex;
-
 
217966
    }
-
 
217967
 
-
 
217968
    public void unsetEx() {
-
 
217969
      this.ex = null;
-
 
217970
    }
-
 
217971
 
-
 
217972
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
217973
    public boolean isSetEx() {
-
 
217974
      return this.ex != null;
-
 
217975
    }
-
 
217976
 
-
 
217977
    public void setExIsSet(boolean value) {
-
 
217978
      if (!value) {
-
 
217979
        this.ex = null;
-
 
217980
      }
-
 
217981
    }
-
 
217982
 
-
 
217983
    public void setFieldValue(_Fields field, Object value) {
-
 
217984
      switch (field) {
-
 
217985
      case SUCCESS:
-
 
217986
        if (value == null) {
-
 
217987
          unsetSuccess();
-
 
217988
        } else {
-
 
217989
          setSuccess((Boolean)value);
-
 
217990
        }
-
 
217991
        break;
-
 
217992
 
-
 
217993
      case EX:
-
 
217994
        if (value == null) {
-
 
217995
          unsetEx();
-
 
217996
        } else {
-
 
217997
          setEx((TransactionServiceException)value);
-
 
217998
        }
-
 
217999
        break;
-
 
218000
 
-
 
218001
      }
-
 
218002
    }
-
 
218003
 
-
 
218004
    public Object getFieldValue(_Fields field) {
-
 
218005
      switch (field) {
-
 
218006
      case SUCCESS:
-
 
218007
        return Boolean.valueOf(isSuccess());
-
 
218008
 
-
 
218009
      case EX:
-
 
218010
        return getEx();
-
 
218011
 
-
 
218012
      }
-
 
218013
      throw new IllegalStateException();
-
 
218014
    }
-
 
218015
 
-
 
218016
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
218017
    public boolean isSet(_Fields field) {
-
 
218018
      if (field == null) {
-
 
218019
        throw new IllegalArgumentException();
-
 
218020
      }
-
 
218021
 
-
 
218022
      switch (field) {
-
 
218023
      case SUCCESS:
-
 
218024
        return isSetSuccess();
-
 
218025
      case EX:
-
 
218026
        return isSetEx();
-
 
218027
      }
-
 
218028
      throw new IllegalStateException();
-
 
218029
    }
-
 
218030
 
-
 
218031
    @Override
-
 
218032
    public boolean equals(Object that) {
-
 
218033
      if (that == null)
-
 
218034
        return false;
-
 
218035
      if (that instanceof receiveReturnPickup_result)
-
 
218036
        return this.equals((receiveReturnPickup_result)that);
-
 
218037
      return false;
-
 
218038
    }
-
 
218039
 
-
 
218040
    public boolean equals(receiveReturnPickup_result that) {
-
 
218041
      if (that == null)
-
 
218042
        return false;
-
 
218043
 
-
 
218044
      boolean this_present_success = true;
-
 
218045
      boolean that_present_success = true;
-
 
218046
      if (this_present_success || that_present_success) {
-
 
218047
        if (!(this_present_success && that_present_success))
-
 
218048
          return false;
-
 
218049
        if (this.success != that.success)
-
 
218050
          return false;
-
 
218051
      }
-
 
218052
 
-
 
218053
      boolean this_present_ex = true && this.isSetEx();
-
 
218054
      boolean that_present_ex = true && that.isSetEx();
-
 
218055
      if (this_present_ex || that_present_ex) {
-
 
218056
        if (!(this_present_ex && that_present_ex))
-
 
218057
          return false;
-
 
218058
        if (!this.ex.equals(that.ex))
-
 
218059
          return false;
-
 
218060
      }
-
 
218061
 
-
 
218062
      return true;
-
 
218063
    }
-
 
218064
 
-
 
218065
    @Override
-
 
218066
    public int hashCode() {
-
 
218067
      return 0;
-
 
218068
    }
-
 
218069
 
-
 
218070
    public int compareTo(receiveReturnPickup_result other) {
-
 
218071
      if (!getClass().equals(other.getClass())) {
-
 
218072
        return getClass().getName().compareTo(other.getClass().getName());
-
 
218073
      }
-
 
218074
 
-
 
218075
      int lastComparison = 0;
-
 
218076
      receiveReturnPickup_result typedOther = (receiveReturnPickup_result)other;
-
 
218077
 
-
 
218078
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
218079
      if (lastComparison != 0) {
-
 
218080
        return lastComparison;
-
 
218081
      }
-
 
218082
      if (isSetSuccess()) {
-
 
218083
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
218084
        if (lastComparison != 0) {
-
 
218085
          return lastComparison;
-
 
218086
        }
-
 
218087
      }
-
 
218088
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
218089
      if (lastComparison != 0) {
-
 
218090
        return lastComparison;
-
 
218091
      }
-
 
218092
      if (isSetEx()) {
-
 
218093
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
218094
        if (lastComparison != 0) {
-
 
218095
          return lastComparison;
-
 
218096
        }
-
 
218097
      }
-
 
218098
      return 0;
-
 
218099
    }
-
 
218100
 
-
 
218101
    public _Fields fieldForId(int fieldId) {
-
 
218102
      return _Fields.findByThriftId(fieldId);
-
 
218103
    }
-
 
218104
 
-
 
218105
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
218106
      org.apache.thrift.protocol.TField field;
-
 
218107
      iprot.readStructBegin();
-
 
218108
      while (true)
-
 
218109
      {
-
 
218110
        field = iprot.readFieldBegin();
-
 
218111
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
218112
          break;
-
 
218113
        }
-
 
218114
        switch (field.id) {
-
 
218115
          case 0: // SUCCESS
-
 
218116
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
218117
              this.success = iprot.readBool();
-
 
218118
              setSuccessIsSet(true);
-
 
218119
            } else { 
-
 
218120
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
218121
            }
-
 
218122
            break;
-
 
218123
          case 1: // EX
-
 
218124
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
218125
              this.ex = new TransactionServiceException();
-
 
218126
              this.ex.read(iprot);
-
 
218127
            } else { 
-
 
218128
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
218129
            }
-
 
218130
            break;
-
 
218131
          default:
-
 
218132
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
218133
        }
-
 
218134
        iprot.readFieldEnd();
-
 
218135
      }
-
 
218136
      iprot.readStructEnd();
-
 
218137
      validate();
-
 
218138
    }
-
 
218139
 
-
 
218140
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
218141
      oprot.writeStructBegin(STRUCT_DESC);
-
 
218142
 
-
 
218143
      if (this.isSetSuccess()) {
-
 
218144
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
218145
        oprot.writeBool(this.success);
-
 
218146
        oprot.writeFieldEnd();
-
 
218147
      } else if (this.isSetEx()) {
-
 
218148
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
218149
        this.ex.write(oprot);
-
 
218150
        oprot.writeFieldEnd();
-
 
218151
      }
-
 
218152
      oprot.writeFieldStop();
-
 
218153
      oprot.writeStructEnd();
-
 
218154
    }
-
 
218155
 
-
 
218156
    @Override
-
 
218157
    public String toString() {
-
 
218158
      StringBuilder sb = new StringBuilder("receiveReturnPickup_result(");
-
 
218159
      boolean first = true;
-
 
218160
 
-
 
218161
      sb.append("success:");
-
 
218162
      sb.append(this.success);
-
 
218163
      first = false;
-
 
218164
      if (!first) sb.append(", ");
-
 
218165
      sb.append("ex:");
-
 
218166
      if (this.ex == null) {
-
 
218167
        sb.append("null");
-
 
218168
      } else {
-
 
218169
        sb.append(this.ex);
-
 
218170
      }
-
 
218171
      first = false;
-
 
218172
      sb.append(")");
-
 
218173
      return sb.toString();
-
 
218174
    }
-
 
218175
 
-
 
218176
    public void validate() throws org.apache.thrift.TException {
-
 
218177
      // check for required fields
-
 
218178
    }
-
 
218179
 
-
 
218180
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
218181
      try {
-
 
218182
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
218183
      } catch (org.apache.thrift.TException te) {
-
 
218184
        throw new java.io.IOException(te);
-
 
218185
      }
-
 
218186
    }
-
 
218187
 
-
 
218188
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
218189
      try {
-
 
218190
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
218191
      } catch (org.apache.thrift.TException te) {
-
 
218192
        throw new java.io.IOException(te);
-
 
218193
      }
-
 
218194
    }
-
 
218195
 
-
 
218196
  }
-
 
218197
 
-
 
218198
  public static class validateReturnPickup_args implements org.apache.thrift.TBase<validateReturnPickup_args, validateReturnPickup_args._Fields>, java.io.Serializable, Cloneable   {
-
 
218199
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("validateReturnPickup_args");
-
 
218200
 
-
 
218201
    private static final org.apache.thrift.protocol.TField RETURN_PICKUP_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("returnPickupId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
218202
    private static final org.apache.thrift.protocol.TField RETURN_ORDERS_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("returnOrdersMap", org.apache.thrift.protocol.TType.MAP, (short)2);
-
 
218203
 
-
 
218204
    private long returnPickupId; // required
-
 
218205
    private Map<Long,Boolean> returnOrdersMap; // required
-
 
218206
 
-
 
218207
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
218208
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
218209
      RETURN_PICKUP_ID((short)1, "returnPickupId"),
-
 
218210
      RETURN_ORDERS_MAP((short)2, "returnOrdersMap");
-
 
218211
 
-
 
218212
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
218213
 
-
 
218214
      static {
-
 
218215
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
218216
          byName.put(field.getFieldName(), field);
-
 
218217
        }
-
 
218218
      }
-
 
218219
 
-
 
218220
      /**
-
 
218221
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
218222
       */
-
 
218223
      public static _Fields findByThriftId(int fieldId) {
-
 
218224
        switch(fieldId) {
-
 
218225
          case 1: // RETURN_PICKUP_ID
-
 
218226
            return RETURN_PICKUP_ID;
-
 
218227
          case 2: // RETURN_ORDERS_MAP
-
 
218228
            return RETURN_ORDERS_MAP;
-
 
218229
          default:
-
 
218230
            return null;
-
 
218231
        }
-
 
218232
      }
-
 
218233
 
-
 
218234
      /**
-
 
218235
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
218236
       * if it is not found.
-
 
218237
       */
-
 
218238
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
218239
        _Fields fields = findByThriftId(fieldId);
-
 
218240
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
218241
        return fields;
-
 
218242
      }
-
 
218243
 
-
 
218244
      /**
-
 
218245
       * Find the _Fields constant that matches name, or null if its not found.
-
 
218246
       */
-
 
218247
      public static _Fields findByName(String name) {
-
 
218248
        return byName.get(name);
-
 
218249
      }
-
 
218250
 
-
 
218251
      private final short _thriftId;
-
 
218252
      private final String _fieldName;
-
 
218253
 
-
 
218254
      _Fields(short thriftId, String fieldName) {
-
 
218255
        _thriftId = thriftId;
-
 
218256
        _fieldName = fieldName;
-
 
218257
      }
-
 
218258
 
-
 
218259
      public short getThriftFieldId() {
-
 
218260
        return _thriftId;
-
 
218261
      }
-
 
218262
 
-
 
218263
      public String getFieldName() {
-
 
218264
        return _fieldName;
-
 
218265
      }
-
 
218266
    }
-
 
218267
 
-
 
218268
    // isset id assignments
-
 
218269
    private static final int __RETURNPICKUPID_ISSET_ID = 0;
-
 
218270
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
218271
 
-
 
218272
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
218273
    static {
-
 
218274
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
218275
      tmpMap.put(_Fields.RETURN_PICKUP_ID, new org.apache.thrift.meta_data.FieldMetaData("returnPickupId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
218276
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
218277
      tmpMap.put(_Fields.RETURN_ORDERS_MAP, new org.apache.thrift.meta_data.FieldMetaData("returnOrdersMap", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
218278
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
218279
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
218280
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))));
-
 
218281
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
218282
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(validateReturnPickup_args.class, metaDataMap);
-
 
218283
    }
-
 
218284
 
-
 
218285
    public validateReturnPickup_args() {
-
 
218286
    }
-
 
218287
 
-
 
218288
    public validateReturnPickup_args(
-
 
218289
      long returnPickupId,
-
 
218290
      Map<Long,Boolean> returnOrdersMap)
-
 
218291
    {
-
 
218292
      this();
-
 
218293
      this.returnPickupId = returnPickupId;
-
 
218294
      setReturnPickupIdIsSet(true);
-
 
218295
      this.returnOrdersMap = returnOrdersMap;
-
 
218296
    }
-
 
218297
 
-
 
218298
    /**
-
 
218299
     * Performs a deep copy on <i>other</i>.
-
 
218300
     */
-
 
218301
    public validateReturnPickup_args(validateReturnPickup_args other) {
-
 
218302
      __isset_bit_vector.clear();
-
 
218303
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
218304
      this.returnPickupId = other.returnPickupId;
-
 
218305
      if (other.isSetReturnOrdersMap()) {
-
 
218306
        Map<Long,Boolean> __this__returnOrdersMap = new HashMap<Long,Boolean>();
-
 
218307
        for (Map.Entry<Long, Boolean> other_element : other.returnOrdersMap.entrySet()) {
-
 
218308
 
-
 
218309
          Long other_element_key = other_element.getKey();
-
 
218310
          Boolean other_element_value = other_element.getValue();
-
 
218311
 
-
 
218312
          Long __this__returnOrdersMap_copy_key = other_element_key;
-
 
218313
 
-
 
218314
          Boolean __this__returnOrdersMap_copy_value = other_element_value;
-
 
218315
 
-
 
218316
          __this__returnOrdersMap.put(__this__returnOrdersMap_copy_key, __this__returnOrdersMap_copy_value);
-
 
218317
        }
-
 
218318
        this.returnOrdersMap = __this__returnOrdersMap;
-
 
218319
      }
-
 
218320
    }
-
 
218321
 
-
 
218322
    public validateReturnPickup_args deepCopy() {
-
 
218323
      return new validateReturnPickup_args(this);
-
 
218324
    }
-
 
218325
 
-
 
218326
    @Override
-
 
218327
    public void clear() {
-
 
218328
      setReturnPickupIdIsSet(false);
-
 
218329
      this.returnPickupId = 0;
-
 
218330
      this.returnOrdersMap = null;
-
 
218331
    }
-
 
218332
 
-
 
218333
    public long getReturnPickupId() {
-
 
218334
      return this.returnPickupId;
-
 
218335
    }
-
 
218336
 
-
 
218337
    public void setReturnPickupId(long returnPickupId) {
-
 
218338
      this.returnPickupId = returnPickupId;
-
 
218339
      setReturnPickupIdIsSet(true);
-
 
218340
    }
-
 
218341
 
-
 
218342
    public void unsetReturnPickupId() {
-
 
218343
      __isset_bit_vector.clear(__RETURNPICKUPID_ISSET_ID);
-
 
218344
    }
-
 
218345
 
-
 
218346
    /** Returns true if field returnPickupId is set (has been assigned a value) and false otherwise */
-
 
218347
    public boolean isSetReturnPickupId() {
-
 
218348
      return __isset_bit_vector.get(__RETURNPICKUPID_ISSET_ID);
-
 
218349
    }
-
 
218350
 
-
 
218351
    public void setReturnPickupIdIsSet(boolean value) {
-
 
218352
      __isset_bit_vector.set(__RETURNPICKUPID_ISSET_ID, value);
-
 
218353
    }
-
 
218354
 
-
 
218355
    public int getReturnOrdersMapSize() {
-
 
218356
      return (this.returnOrdersMap == null) ? 0 : this.returnOrdersMap.size();
-
 
218357
    }
-
 
218358
 
-
 
218359
    public void putToReturnOrdersMap(long key, boolean val) {
-
 
218360
      if (this.returnOrdersMap == null) {
-
 
218361
        this.returnOrdersMap = new HashMap<Long,Boolean>();
-
 
218362
      }
-
 
218363
      this.returnOrdersMap.put(key, val);
-
 
218364
    }
-
 
218365
 
-
 
218366
    public Map<Long,Boolean> getReturnOrdersMap() {
-
 
218367
      return this.returnOrdersMap;
-
 
218368
    }
-
 
218369
 
-
 
218370
    public void setReturnOrdersMap(Map<Long,Boolean> returnOrdersMap) {
-
 
218371
      this.returnOrdersMap = returnOrdersMap;
-
 
218372
    }
-
 
218373
 
-
 
218374
    public void unsetReturnOrdersMap() {
-
 
218375
      this.returnOrdersMap = null;
-
 
218376
    }
-
 
218377
 
-
 
218378
    /** Returns true if field returnOrdersMap is set (has been assigned a value) and false otherwise */
-
 
218379
    public boolean isSetReturnOrdersMap() {
-
 
218380
      return this.returnOrdersMap != null;
-
 
218381
    }
-
 
218382
 
-
 
218383
    public void setReturnOrdersMapIsSet(boolean value) {
-
 
218384
      if (!value) {
-
 
218385
        this.returnOrdersMap = null;
-
 
218386
      }
-
 
218387
    }
-
 
218388
 
-
 
218389
    public void setFieldValue(_Fields field, Object value) {
-
 
218390
      switch (field) {
-
 
218391
      case RETURN_PICKUP_ID:
-
 
218392
        if (value == null) {
-
 
218393
          unsetReturnPickupId();
-
 
218394
        } else {
-
 
218395
          setReturnPickupId((Long)value);
-
 
218396
        }
-
 
218397
        break;
-
 
218398
 
-
 
218399
      case RETURN_ORDERS_MAP:
-
 
218400
        if (value == null) {
-
 
218401
          unsetReturnOrdersMap();
-
 
218402
        } else {
-
 
218403
          setReturnOrdersMap((Map<Long,Boolean>)value);
-
 
218404
        }
-
 
218405
        break;
-
 
218406
 
-
 
218407
      }
-
 
218408
    }
-
 
218409
 
-
 
218410
    public Object getFieldValue(_Fields field) {
-
 
218411
      switch (field) {
-
 
218412
      case RETURN_PICKUP_ID:
-
 
218413
        return Long.valueOf(getReturnPickupId());
-
 
218414
 
-
 
218415
      case RETURN_ORDERS_MAP:
-
 
218416
        return getReturnOrdersMap();
-
 
218417
 
-
 
218418
      }
-
 
218419
      throw new IllegalStateException();
-
 
218420
    }
-
 
218421
 
-
 
218422
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
218423
    public boolean isSet(_Fields field) {
-
 
218424
      if (field == null) {
-
 
218425
        throw new IllegalArgumentException();
-
 
218426
      }
-
 
218427
 
-
 
218428
      switch (field) {
-
 
218429
      case RETURN_PICKUP_ID:
-
 
218430
        return isSetReturnPickupId();
-
 
218431
      case RETURN_ORDERS_MAP:
-
 
218432
        return isSetReturnOrdersMap();
-
 
218433
      }
-
 
218434
      throw new IllegalStateException();
-
 
218435
    }
-
 
218436
 
-
 
218437
    @Override
-
 
218438
    public boolean equals(Object that) {
-
 
218439
      if (that == null)
-
 
218440
        return false;
-
 
218441
      if (that instanceof validateReturnPickup_args)
-
 
218442
        return this.equals((validateReturnPickup_args)that);
-
 
218443
      return false;
-
 
218444
    }
-
 
218445
 
-
 
218446
    public boolean equals(validateReturnPickup_args that) {
-
 
218447
      if (that == null)
-
 
218448
        return false;
-
 
218449
 
-
 
218450
      boolean this_present_returnPickupId = true;
-
 
218451
      boolean that_present_returnPickupId = true;
-
 
218452
      if (this_present_returnPickupId || that_present_returnPickupId) {
-
 
218453
        if (!(this_present_returnPickupId && that_present_returnPickupId))
-
 
218454
          return false;
-
 
218455
        if (this.returnPickupId != that.returnPickupId)
-
 
218456
          return false;
-
 
218457
      }
-
 
218458
 
-
 
218459
      boolean this_present_returnOrdersMap = true && this.isSetReturnOrdersMap();
-
 
218460
      boolean that_present_returnOrdersMap = true && that.isSetReturnOrdersMap();
-
 
218461
      if (this_present_returnOrdersMap || that_present_returnOrdersMap) {
-
 
218462
        if (!(this_present_returnOrdersMap && that_present_returnOrdersMap))
-
 
218463
          return false;
-
 
218464
        if (!this.returnOrdersMap.equals(that.returnOrdersMap))
-
 
218465
          return false;
-
 
218466
      }
-
 
218467
 
-
 
218468
      return true;
-
 
218469
    }
-
 
218470
 
-
 
218471
    @Override
-
 
218472
    public int hashCode() {
-
 
218473
      return 0;
-
 
218474
    }
-
 
218475
 
-
 
218476
    public int compareTo(validateReturnPickup_args other) {
-
 
218477
      if (!getClass().equals(other.getClass())) {
-
 
218478
        return getClass().getName().compareTo(other.getClass().getName());
-
 
218479
      }
-
 
218480
 
-
 
218481
      int lastComparison = 0;
-
 
218482
      validateReturnPickup_args typedOther = (validateReturnPickup_args)other;
-
 
218483
 
-
 
218484
      lastComparison = Boolean.valueOf(isSetReturnPickupId()).compareTo(typedOther.isSetReturnPickupId());
-
 
218485
      if (lastComparison != 0) {
-
 
218486
        return lastComparison;
-
 
218487
      }
-
 
218488
      if (isSetReturnPickupId()) {
-
 
218489
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnPickupId, typedOther.returnPickupId);
-
 
218490
        if (lastComparison != 0) {
-
 
218491
          return lastComparison;
-
 
218492
        }
-
 
218493
      }
-
 
218494
      lastComparison = Boolean.valueOf(isSetReturnOrdersMap()).compareTo(typedOther.isSetReturnOrdersMap());
-
 
218495
      if (lastComparison != 0) {
-
 
218496
        return lastComparison;
-
 
218497
      }
-
 
218498
      if (isSetReturnOrdersMap()) {
-
 
218499
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnOrdersMap, typedOther.returnOrdersMap);
-
 
218500
        if (lastComparison != 0) {
-
 
218501
          return lastComparison;
-
 
218502
        }
-
 
218503
      }
-
 
218504
      return 0;
-
 
218505
    }
-
 
218506
 
-
 
218507
    public _Fields fieldForId(int fieldId) {
-
 
218508
      return _Fields.findByThriftId(fieldId);
-
 
218509
    }
-
 
218510
 
-
 
218511
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
218512
      org.apache.thrift.protocol.TField field;
-
 
218513
      iprot.readStructBegin();
-
 
218514
      while (true)
-
 
218515
      {
-
 
218516
        field = iprot.readFieldBegin();
-
 
218517
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
218518
          break;
-
 
218519
        }
-
 
218520
        switch (field.id) {
-
 
218521
          case 1: // RETURN_PICKUP_ID
-
 
218522
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
218523
              this.returnPickupId = iprot.readI64();
-
 
218524
              setReturnPickupIdIsSet(true);
-
 
218525
            } else { 
-
 
218526
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
218527
            }
-
 
218528
            break;
-
 
218529
          case 2: // RETURN_ORDERS_MAP
-
 
218530
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
218531
              {
-
 
218532
                org.apache.thrift.protocol.TMap _map746 = iprot.readMapBegin();
-
 
218533
                this.returnOrdersMap = new HashMap<Long,Boolean>(2*_map746.size);
-
 
218534
                for (int _i747 = 0; _i747 < _map746.size; ++_i747)
-
 
218535
                {
-
 
218536
                  long _key748; // required
-
 
218537
                  boolean _val749; // required
-
 
218538
                  _key748 = iprot.readI64();
-
 
218539
                  _val749 = iprot.readBool();
-
 
218540
                  this.returnOrdersMap.put(_key748, _val749);
-
 
218541
                }
-
 
218542
                iprot.readMapEnd();
-
 
218543
              }
-
 
218544
            } else { 
-
 
218545
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
218546
            }
-
 
218547
            break;
-
 
218548
          default:
-
 
218549
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
218550
        }
-
 
218551
        iprot.readFieldEnd();
-
 
218552
      }
-
 
218553
      iprot.readStructEnd();
-
 
218554
      validate();
-
 
218555
    }
-
 
218556
 
-
 
218557
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
218558
      validate();
-
 
218559
 
-
 
218560
      oprot.writeStructBegin(STRUCT_DESC);
-
 
218561
      oprot.writeFieldBegin(RETURN_PICKUP_ID_FIELD_DESC);
-
 
218562
      oprot.writeI64(this.returnPickupId);
-
 
218563
      oprot.writeFieldEnd();
-
 
218564
      if (this.returnOrdersMap != null) {
-
 
218565
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
-
 
218566
        {
-
 
218567
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.BOOL, this.returnOrdersMap.size()));
-
 
218568
          for (Map.Entry<Long, Boolean> _iter750 : this.returnOrdersMap.entrySet())
-
 
218569
          {
-
 
218570
            oprot.writeI64(_iter750.getKey());
-
 
218571
            oprot.writeBool(_iter750.getValue());
-
 
218572
          }
-
 
218573
          oprot.writeMapEnd();
-
 
218574
        }
-
 
218575
        oprot.writeFieldEnd();
-
 
218576
      }
-
 
218577
      oprot.writeFieldStop();
-
 
218578
      oprot.writeStructEnd();
-
 
218579
    }
-
 
218580
 
-
 
218581
    @Override
-
 
218582
    public String toString() {
-
 
218583
      StringBuilder sb = new StringBuilder("validateReturnPickup_args(");
-
 
218584
      boolean first = true;
-
 
218585
 
-
 
218586
      sb.append("returnPickupId:");
-
 
218587
      sb.append(this.returnPickupId);
-
 
218588
      first = false;
-
 
218589
      if (!first) sb.append(", ");
-
 
218590
      sb.append("returnOrdersMap:");
-
 
218591
      if (this.returnOrdersMap == null) {
-
 
218592
        sb.append("null");
-
 
218593
      } else {
-
 
218594
        sb.append(this.returnOrdersMap);
-
 
218595
      }
-
 
218596
      first = false;
-
 
218597
      sb.append(")");
-
 
218598
      return sb.toString();
-
 
218599
    }
-
 
218600
 
-
 
218601
    public void validate() throws org.apache.thrift.TException {
-
 
218602
      // check for required fields
-
 
218603
    }
-
 
218604
 
-
 
218605
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
218606
      try {
-
 
218607
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
218608
      } catch (org.apache.thrift.TException te) {
-
 
218609
        throw new java.io.IOException(te);
-
 
218610
      }
-
 
218611
    }
-
 
218612
 
-
 
218613
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
218614
      try {
-
 
218615
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
218616
        __isset_bit_vector = new BitSet(1);
-
 
218617
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
218618
      } catch (org.apache.thrift.TException te) {
-
 
218619
        throw new java.io.IOException(te);
-
 
218620
      }
-
 
218621
    }
-
 
218622
 
-
 
218623
  }
-
 
218624
 
-
 
218625
  public static class validateReturnPickup_result implements org.apache.thrift.TBase<validateReturnPickup_result, validateReturnPickup_result._Fields>, java.io.Serializable, Cloneable   {
-
 
218626
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("validateReturnPickup_result");
-
 
218627
 
-
 
218628
    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);
-
 
218629
    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);
-
 
218630
 
-
 
218631
    private boolean success; // required
-
 
218632
    private TransactionServiceException ex; // required
-
 
218633
 
-
 
218634
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
218635
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
218636
      SUCCESS((short)0, "success"),
-
 
218637
      EX((short)1, "ex");
-
 
218638
 
-
 
218639
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
218640
 
-
 
218641
      static {
-
 
218642
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
218643
          byName.put(field.getFieldName(), field);
-
 
218644
        }
-
 
218645
      }
-
 
218646
 
-
 
218647
      /**
-
 
218648
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
218649
       */
-
 
218650
      public static _Fields findByThriftId(int fieldId) {
-
 
218651
        switch(fieldId) {
-
 
218652
          case 0: // SUCCESS
-
 
218653
            return SUCCESS;
-
 
218654
          case 1: // EX
-
 
218655
            return EX;
-
 
218656
          default:
-
 
218657
            return null;
-
 
218658
        }
-
 
218659
      }
-
 
218660
 
-
 
218661
      /**
-
 
218662
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
218663
       * if it is not found.
-
 
218664
       */
-
 
218665
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
218666
        _Fields fields = findByThriftId(fieldId);
-
 
218667
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
218668
        return fields;
-
 
218669
      }
-
 
218670
 
-
 
218671
      /**
-
 
218672
       * Find the _Fields constant that matches name, or null if its not found.
-
 
218673
       */
-
 
218674
      public static _Fields findByName(String name) {
-
 
218675
        return byName.get(name);
-
 
218676
      }
-
 
218677
 
-
 
218678
      private final short _thriftId;
-
 
218679
      private final String _fieldName;
-
 
218680
 
-
 
218681
      _Fields(short thriftId, String fieldName) {
-
 
218682
        _thriftId = thriftId;
-
 
218683
        _fieldName = fieldName;
-
 
218684
      }
-
 
218685
 
-
 
218686
      public short getThriftFieldId() {
-
 
218687
        return _thriftId;
-
 
218688
      }
-
 
218689
 
-
 
218690
      public String getFieldName() {
-
 
218691
        return _fieldName;
-
 
218692
      }
-
 
218693
    }
-
 
218694
 
-
 
218695
    // isset id assignments
-
 
218696
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
218697
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
218698
 
-
 
218699
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
218700
    static {
-
 
218701
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
218702
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
218703
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
218704
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
218705
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
218706
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
218707
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(validateReturnPickup_result.class, metaDataMap);
-
 
218708
    }
-
 
218709
 
-
 
218710
    public validateReturnPickup_result() {
-
 
218711
    }
-
 
218712
 
-
 
218713
    public validateReturnPickup_result(
-
 
218714
      boolean success,
-
 
218715
      TransactionServiceException ex)
-
 
218716
    {
-
 
218717
      this();
-
 
218718
      this.success = success;
-
 
218719
      setSuccessIsSet(true);
-
 
218720
      this.ex = ex;
-
 
218721
    }
-
 
218722
 
-
 
218723
    /**
-
 
218724
     * Performs a deep copy on <i>other</i>.
-
 
218725
     */
-
 
218726
    public validateReturnPickup_result(validateReturnPickup_result other) {
-
 
218727
      __isset_bit_vector.clear();
-
 
218728
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
218729
      this.success = other.success;
-
 
218730
      if (other.isSetEx()) {
-
 
218731
        this.ex = new TransactionServiceException(other.ex);
-
 
218732
      }
-
 
218733
    }
-
 
218734
 
-
 
218735
    public validateReturnPickup_result deepCopy() {
-
 
218736
      return new validateReturnPickup_result(this);
-
 
218737
    }
-
 
218738
 
-
 
218739
    @Override
-
 
218740
    public void clear() {
-
 
218741
      setSuccessIsSet(false);
-
 
218742
      this.success = false;
-
 
218743
      this.ex = null;
-
 
218744
    }
-
 
218745
 
-
 
218746
    public boolean isSuccess() {
-
 
218747
      return this.success;
-
 
218748
    }
-
 
218749
 
-
 
218750
    public void setSuccess(boolean success) {
-
 
218751
      this.success = success;
-
 
218752
      setSuccessIsSet(true);
-
 
218753
    }
-
 
218754
 
-
 
218755
    public void unsetSuccess() {
-
 
218756
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
218757
    }
-
 
218758
 
-
 
218759
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
218760
    public boolean isSetSuccess() {
-
 
218761
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
218762
    }
-
 
218763
 
-
 
218764
    public void setSuccessIsSet(boolean value) {
-
 
218765
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
218766
    }
-
 
218767
 
-
 
218768
    public TransactionServiceException getEx() {
-
 
218769
      return this.ex;
-
 
218770
    }
-
 
218771
 
-
 
218772
    public void setEx(TransactionServiceException ex) {
-
 
218773
      this.ex = ex;
-
 
218774
    }
-
 
218775
 
-
 
218776
    public void unsetEx() {
-
 
218777
      this.ex = null;
-
 
218778
    }
-
 
218779
 
-
 
218780
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
218781
    public boolean isSetEx() {
-
 
218782
      return this.ex != null;
-
 
218783
    }
-
 
218784
 
-
 
218785
    public void setExIsSet(boolean value) {
-
 
218786
      if (!value) {
-
 
218787
        this.ex = null;
-
 
218788
      }
-
 
218789
    }
-
 
218790
 
-
 
218791
    public void setFieldValue(_Fields field, Object value) {
-
 
218792
      switch (field) {
-
 
218793
      case SUCCESS:
-
 
218794
        if (value == null) {
-
 
218795
          unsetSuccess();
-
 
218796
        } else {
-
 
218797
          setSuccess((Boolean)value);
-
 
218798
        }
-
 
218799
        break;
-
 
218800
 
-
 
218801
      case EX:
-
 
218802
        if (value == null) {
-
 
218803
          unsetEx();
-
 
218804
        } else {
-
 
218805
          setEx((TransactionServiceException)value);
-
 
218806
        }
-
 
218807
        break;
-
 
218808
 
-
 
218809
      }
-
 
218810
    }
-
 
218811
 
-
 
218812
    public Object getFieldValue(_Fields field) {
-
 
218813
      switch (field) {
-
 
218814
      case SUCCESS:
-
 
218815
        return Boolean.valueOf(isSuccess());
-
 
218816
 
-
 
218817
      case EX:
-
 
218818
        return getEx();
-
 
218819
 
-
 
218820
      }
-
 
218821
      throw new IllegalStateException();
-
 
218822
    }
-
 
218823
 
-
 
218824
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
218825
    public boolean isSet(_Fields field) {
-
 
218826
      if (field == null) {
-
 
218827
        throw new IllegalArgumentException();
-
 
218828
      }
-
 
218829
 
-
 
218830
      switch (field) {
-
 
218831
      case SUCCESS:
-
 
218832
        return isSetSuccess();
-
 
218833
      case EX:
-
 
218834
        return isSetEx();
-
 
218835
      }
-
 
218836
      throw new IllegalStateException();
-
 
218837
    }
-
 
218838
 
-
 
218839
    @Override
-
 
218840
    public boolean equals(Object that) {
-
 
218841
      if (that == null)
-
 
218842
        return false;
-
 
218843
      if (that instanceof validateReturnPickup_result)
-
 
218844
        return this.equals((validateReturnPickup_result)that);
-
 
218845
      return false;
-
 
218846
    }
-
 
218847
 
-
 
218848
    public boolean equals(validateReturnPickup_result that) {
-
 
218849
      if (that == null)
-
 
218850
        return false;
-
 
218851
 
-
 
218852
      boolean this_present_success = true;
-
 
218853
      boolean that_present_success = true;
-
 
218854
      if (this_present_success || that_present_success) {
-
 
218855
        if (!(this_present_success && that_present_success))
-
 
218856
          return false;
-
 
218857
        if (this.success != that.success)
-
 
218858
          return false;
-
 
218859
      }
-
 
218860
 
-
 
218861
      boolean this_present_ex = true && this.isSetEx();
-
 
218862
      boolean that_present_ex = true && that.isSetEx();
-
 
218863
      if (this_present_ex || that_present_ex) {
-
 
218864
        if (!(this_present_ex && that_present_ex))
-
 
218865
          return false;
-
 
218866
        if (!this.ex.equals(that.ex))
-
 
218867
          return false;
-
 
218868
      }
-
 
218869
 
-
 
218870
      return true;
-
 
218871
    }
-
 
218872
 
-
 
218873
    @Override
-
 
218874
    public int hashCode() {
-
 
218875
      return 0;
-
 
218876
    }
-
 
218877
 
-
 
218878
    public int compareTo(validateReturnPickup_result other) {
-
 
218879
      if (!getClass().equals(other.getClass())) {
-
 
218880
        return getClass().getName().compareTo(other.getClass().getName());
-
 
218881
      }
-
 
218882
 
-
 
218883
      int lastComparison = 0;
-
 
218884
      validateReturnPickup_result typedOther = (validateReturnPickup_result)other;
-
 
218885
 
-
 
218886
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
218887
      if (lastComparison != 0) {
-
 
218888
        return lastComparison;
-
 
218889
      }
-
 
218890
      if (isSetSuccess()) {
-
 
218891
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
218892
        if (lastComparison != 0) {
-
 
218893
          return lastComparison;
-
 
218894
        }
-
 
218895
      }
-
 
218896
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
218897
      if (lastComparison != 0) {
-
 
218898
        return lastComparison;
-
 
218899
      }
-
 
218900
      if (isSetEx()) {
-
 
218901
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
218902
        if (lastComparison != 0) {
-
 
218903
          return lastComparison;
-
 
218904
        }
-
 
218905
      }
-
 
218906
      return 0;
-
 
218907
    }
-
 
218908
 
-
 
218909
    public _Fields fieldForId(int fieldId) {
-
 
218910
      return _Fields.findByThriftId(fieldId);
-
 
218911
    }
-
 
218912
 
-
 
218913
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
218914
      org.apache.thrift.protocol.TField field;
-
 
218915
      iprot.readStructBegin();
-
 
218916
      while (true)
-
 
218917
      {
-
 
218918
        field = iprot.readFieldBegin();
-
 
218919
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
218920
          break;
-
 
218921
        }
-
 
218922
        switch (field.id) {
-
 
218923
          case 0: // SUCCESS
-
 
218924
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
218925
              this.success = iprot.readBool();
-
 
218926
              setSuccessIsSet(true);
-
 
218927
            } else { 
-
 
218928
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
218929
            }
-
 
218930
            break;
-
 
218931
          case 1: // EX
-
 
218932
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
218933
              this.ex = new TransactionServiceException();
-
 
218934
              this.ex.read(iprot);
-
 
218935
            } else { 
-
 
218936
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
218937
            }
-
 
218938
            break;
-
 
218939
          default:
-
 
218940
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
218941
        }
-
 
218942
        iprot.readFieldEnd();
-
 
218943
      }
-
 
218944
      iprot.readStructEnd();
-
 
218945
      validate();
-
 
218946
    }
-
 
218947
 
-
 
218948
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
218949
      oprot.writeStructBegin(STRUCT_DESC);
-
 
218950
 
-
 
218951
      if (this.isSetSuccess()) {
-
 
218952
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
218953
        oprot.writeBool(this.success);
-
 
218954
        oprot.writeFieldEnd();
-
 
218955
      } else if (this.isSetEx()) {
-
 
218956
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
218957
        this.ex.write(oprot);
-
 
218958
        oprot.writeFieldEnd();
-
 
218959
      }
-
 
218960
      oprot.writeFieldStop();
-
 
218961
      oprot.writeStructEnd();
-
 
218962
    }
-
 
218963
 
-
 
218964
    @Override
-
 
218965
    public String toString() {
-
 
218966
      StringBuilder sb = new StringBuilder("validateReturnPickup_result(");
-
 
218967
      boolean first = true;
-
 
218968
 
-
 
218969
      sb.append("success:");
-
 
218970
      sb.append(this.success);
-
 
218971
      first = false;
-
 
218972
      if (!first) sb.append(", ");
-
 
218973
      sb.append("ex:");
-
 
218974
      if (this.ex == null) {
-
 
218975
        sb.append("null");
-
 
218976
      } else {
-
 
218977
        sb.append(this.ex);
-
 
218978
      }
-
 
218979
      first = false;
-
 
218980
      sb.append(")");
-
 
218981
      return sb.toString();
-
 
218982
    }
-
 
218983
 
-
 
218984
    public void validate() throws org.apache.thrift.TException {
-
 
218985
      // check for required fields
-
 
218986
    }
-
 
218987
 
-
 
218988
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
218989
      try {
-
 
218990
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
218991
      } catch (org.apache.thrift.TException te) {
-
 
218992
        throw new java.io.IOException(te);
-
 
218993
      }
-
 
218994
    }
-
 
218995
 
-
 
218996
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
218997
      try {
-
 
218998
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
218999
      } catch (org.apache.thrift.TException te) {
-
 
219000
        throw new java.io.IOException(te);
-
 
219001
      }
-
 
219002
    }
-
 
219003
 
-
 
219004
  }
-
 
219005
 
-
 
219006
  public static class processReturnPickup_args implements org.apache.thrift.TBase<processReturnPickup_args, processReturnPickup_args._Fields>, java.io.Serializable, Cloneable   {
-
 
219007
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("processReturnPickup_args");
-
 
219008
 
-
 
219009
    private static final org.apache.thrift.protocol.TField RETURN_PICKUP_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("returnPickupId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
219010
    private static final org.apache.thrift.protocol.TField RETURN_ORDERS_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("returnOrdersMap", org.apache.thrift.protocol.TType.MAP, (short)2);
-
 
219011
 
-
 
219012
    private long returnPickupId; // required
-
 
219013
    private Map<Long,Map<String,String>> returnOrdersMap; // required
-
 
219014
 
-
 
219015
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
219016
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
219017
      RETURN_PICKUP_ID((short)1, "returnPickupId"),
-
 
219018
      RETURN_ORDERS_MAP((short)2, "returnOrdersMap");
-
 
219019
 
-
 
219020
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
219021
 
-
 
219022
      static {
-
 
219023
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
219024
          byName.put(field.getFieldName(), field);
-
 
219025
        }
-
 
219026
      }
-
 
219027
 
-
 
219028
      /**
-
 
219029
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
219030
       */
-
 
219031
      public static _Fields findByThriftId(int fieldId) {
-
 
219032
        switch(fieldId) {
-
 
219033
          case 1: // RETURN_PICKUP_ID
-
 
219034
            return RETURN_PICKUP_ID;
-
 
219035
          case 2: // RETURN_ORDERS_MAP
-
 
219036
            return RETURN_ORDERS_MAP;
-
 
219037
          default:
-
 
219038
            return null;
-
 
219039
        }
-
 
219040
      }
-
 
219041
 
-
 
219042
      /**
-
 
219043
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
219044
       * if it is not found.
-
 
219045
       */
-
 
219046
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
219047
        _Fields fields = findByThriftId(fieldId);
-
 
219048
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
219049
        return fields;
-
 
219050
      }
-
 
219051
 
-
 
219052
      /**
-
 
219053
       * Find the _Fields constant that matches name, or null if its not found.
-
 
219054
       */
-
 
219055
      public static _Fields findByName(String name) {
-
 
219056
        return byName.get(name);
-
 
219057
      }
-
 
219058
 
-
 
219059
      private final short _thriftId;
-
 
219060
      private final String _fieldName;
-
 
219061
 
-
 
219062
      _Fields(short thriftId, String fieldName) {
-
 
219063
        _thriftId = thriftId;
-
 
219064
        _fieldName = fieldName;
-
 
219065
      }
-
 
219066
 
-
 
219067
      public short getThriftFieldId() {
-
 
219068
        return _thriftId;
-
 
219069
      }
-
 
219070
 
-
 
219071
      public String getFieldName() {
-
 
219072
        return _fieldName;
-
 
219073
      }
-
 
219074
    }
-
 
219075
 
-
 
219076
    // isset id assignments
-
 
219077
    private static final int __RETURNPICKUPID_ISSET_ID = 0;
-
 
219078
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
219079
 
-
 
219080
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
219081
    static {
-
 
219082
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
219083
      tmpMap.put(_Fields.RETURN_PICKUP_ID, new org.apache.thrift.meta_data.FieldMetaData("returnPickupId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
219084
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
219085
      tmpMap.put(_Fields.RETURN_ORDERS_MAP, new org.apache.thrift.meta_data.FieldMetaData("returnOrdersMap", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
219086
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
219087
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
219088
              new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
219089
                  new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
-
 
219090
                  new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))));
-
 
219091
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
219092
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(processReturnPickup_args.class, metaDataMap);
-
 
219093
    }
-
 
219094
 
-
 
219095
    public processReturnPickup_args() {
-
 
219096
    }
-
 
219097
 
-
 
219098
    public processReturnPickup_args(
-
 
219099
      long returnPickupId,
-
 
219100
      Map<Long,Map<String,String>> returnOrdersMap)
-
 
219101
    {
-
 
219102
      this();
-
 
219103
      this.returnPickupId = returnPickupId;
-
 
219104
      setReturnPickupIdIsSet(true);
-
 
219105
      this.returnOrdersMap = returnOrdersMap;
-
 
219106
    }
-
 
219107
 
-
 
219108
    /**
-
 
219109
     * Performs a deep copy on <i>other</i>.
-
 
219110
     */
-
 
219111
    public processReturnPickup_args(processReturnPickup_args other) {
-
 
219112
      __isset_bit_vector.clear();
-
 
219113
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
219114
      this.returnPickupId = other.returnPickupId;
-
 
219115
      if (other.isSetReturnOrdersMap()) {
-
 
219116
        Map<Long,Map<String,String>> __this__returnOrdersMap = new HashMap<Long,Map<String,String>>();
-
 
219117
        for (Map.Entry<Long, Map<String,String>> other_element : other.returnOrdersMap.entrySet()) {
-
 
219118
 
-
 
219119
          Long other_element_key = other_element.getKey();
-
 
219120
          Map<String,String> other_element_value = other_element.getValue();
-
 
219121
 
-
 
219122
          Long __this__returnOrdersMap_copy_key = other_element_key;
-
 
219123
 
-
 
219124
          Map<String,String> __this__returnOrdersMap_copy_value = new HashMap<String,String>();
-
 
219125
          for (Map.Entry<String, String> other_element_value_element : other_element_value.entrySet()) {
-
 
219126
 
-
 
219127
            String other_element_value_element_key = other_element_value_element.getKey();
-
 
219128
            String other_element_value_element_value = other_element_value_element.getValue();
-
 
219129
 
-
 
219130
            String __this__returnOrdersMap_copy_value_copy_key = other_element_value_element_key;
-
 
219131
 
-
 
219132
            String __this__returnOrdersMap_copy_value_copy_value = other_element_value_element_value;
-
 
219133
 
-
 
219134
            __this__returnOrdersMap_copy_value.put(__this__returnOrdersMap_copy_value_copy_key, __this__returnOrdersMap_copy_value_copy_value);
-
 
219135
          }
-
 
219136
 
-
 
219137
          __this__returnOrdersMap.put(__this__returnOrdersMap_copy_key, __this__returnOrdersMap_copy_value);
-
 
219138
        }
-
 
219139
        this.returnOrdersMap = __this__returnOrdersMap;
-
 
219140
      }
-
 
219141
    }
-
 
219142
 
-
 
219143
    public processReturnPickup_args deepCopy() {
-
 
219144
      return new processReturnPickup_args(this);
-
 
219145
    }
-
 
219146
 
-
 
219147
    @Override
-
 
219148
    public void clear() {
-
 
219149
      setReturnPickupIdIsSet(false);
-
 
219150
      this.returnPickupId = 0;
-
 
219151
      this.returnOrdersMap = null;
-
 
219152
    }
-
 
219153
 
-
 
219154
    public long getReturnPickupId() {
-
 
219155
      return this.returnPickupId;
-
 
219156
    }
-
 
219157
 
-
 
219158
    public void setReturnPickupId(long returnPickupId) {
-
 
219159
      this.returnPickupId = returnPickupId;
-
 
219160
      setReturnPickupIdIsSet(true);
-
 
219161
    }
-
 
219162
 
-
 
219163
    public void unsetReturnPickupId() {
-
 
219164
      __isset_bit_vector.clear(__RETURNPICKUPID_ISSET_ID);
-
 
219165
    }
-
 
219166
 
-
 
219167
    /** Returns true if field returnPickupId is set (has been assigned a value) and false otherwise */
-
 
219168
    public boolean isSetReturnPickupId() {
-
 
219169
      return __isset_bit_vector.get(__RETURNPICKUPID_ISSET_ID);
-
 
219170
    }
-
 
219171
 
-
 
219172
    public void setReturnPickupIdIsSet(boolean value) {
-
 
219173
      __isset_bit_vector.set(__RETURNPICKUPID_ISSET_ID, value);
-
 
219174
    }
-
 
219175
 
-
 
219176
    public int getReturnOrdersMapSize() {
-
 
219177
      return (this.returnOrdersMap == null) ? 0 : this.returnOrdersMap.size();
-
 
219178
    }
-
 
219179
 
-
 
219180
    public void putToReturnOrdersMap(long key, Map<String,String> val) {
-
 
219181
      if (this.returnOrdersMap == null) {
-
 
219182
        this.returnOrdersMap = new HashMap<Long,Map<String,String>>();
-
 
219183
      }
-
 
219184
      this.returnOrdersMap.put(key, val);
-
 
219185
    }
-
 
219186
 
-
 
219187
    public Map<Long,Map<String,String>> getReturnOrdersMap() {
-
 
219188
      return this.returnOrdersMap;
-
 
219189
    }
-
 
219190
 
-
 
219191
    public void setReturnOrdersMap(Map<Long,Map<String,String>> returnOrdersMap) {
-
 
219192
      this.returnOrdersMap = returnOrdersMap;
-
 
219193
    }
-
 
219194
 
-
 
219195
    public void unsetReturnOrdersMap() {
-
 
219196
      this.returnOrdersMap = null;
-
 
219197
    }
-
 
219198
 
-
 
219199
    /** Returns true if field returnOrdersMap is set (has been assigned a value) and false otherwise */
-
 
219200
    public boolean isSetReturnOrdersMap() {
-
 
219201
      return this.returnOrdersMap != null;
-
 
219202
    }
-
 
219203
 
-
 
219204
    public void setReturnOrdersMapIsSet(boolean value) {
-
 
219205
      if (!value) {
-
 
219206
        this.returnOrdersMap = null;
-
 
219207
      }
-
 
219208
    }
-
 
219209
 
-
 
219210
    public void setFieldValue(_Fields field, Object value) {
-
 
219211
      switch (field) {
-
 
219212
      case RETURN_PICKUP_ID:
-
 
219213
        if (value == null) {
-
 
219214
          unsetReturnPickupId();
-
 
219215
        } else {
-
 
219216
          setReturnPickupId((Long)value);
-
 
219217
        }
-
 
219218
        break;
-
 
219219
 
-
 
219220
      case RETURN_ORDERS_MAP:
-
 
219221
        if (value == null) {
-
 
219222
          unsetReturnOrdersMap();
-
 
219223
        } else {
-
 
219224
          setReturnOrdersMap((Map<Long,Map<String,String>>)value);
-
 
219225
        }
-
 
219226
        break;
-
 
219227
 
-
 
219228
      }
-
 
219229
    }
-
 
219230
 
-
 
219231
    public Object getFieldValue(_Fields field) {
-
 
219232
      switch (field) {
-
 
219233
      case RETURN_PICKUP_ID:
-
 
219234
        return Long.valueOf(getReturnPickupId());
-
 
219235
 
-
 
219236
      case RETURN_ORDERS_MAP:
-
 
219237
        return getReturnOrdersMap();
-
 
219238
 
-
 
219239
      }
-
 
219240
      throw new IllegalStateException();
-
 
219241
    }
-
 
219242
 
-
 
219243
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
219244
    public boolean isSet(_Fields field) {
-
 
219245
      if (field == null) {
-
 
219246
        throw new IllegalArgumentException();
-
 
219247
      }
-
 
219248
 
-
 
219249
      switch (field) {
-
 
219250
      case RETURN_PICKUP_ID:
-
 
219251
        return isSetReturnPickupId();
-
 
219252
      case RETURN_ORDERS_MAP:
-
 
219253
        return isSetReturnOrdersMap();
-
 
219254
      }
-
 
219255
      throw new IllegalStateException();
-
 
219256
    }
-
 
219257
 
-
 
219258
    @Override
-
 
219259
    public boolean equals(Object that) {
-
 
219260
      if (that == null)
-
 
219261
        return false;
-
 
219262
      if (that instanceof processReturnPickup_args)
-
 
219263
        return this.equals((processReturnPickup_args)that);
-
 
219264
      return false;
-
 
219265
    }
-
 
219266
 
-
 
219267
    public boolean equals(processReturnPickup_args that) {
-
 
219268
      if (that == null)
-
 
219269
        return false;
-
 
219270
 
-
 
219271
      boolean this_present_returnPickupId = true;
-
 
219272
      boolean that_present_returnPickupId = true;
-
 
219273
      if (this_present_returnPickupId || that_present_returnPickupId) {
-
 
219274
        if (!(this_present_returnPickupId && that_present_returnPickupId))
-
 
219275
          return false;
-
 
219276
        if (this.returnPickupId != that.returnPickupId)
-
 
219277
          return false;
-
 
219278
      }
-
 
219279
 
-
 
219280
      boolean this_present_returnOrdersMap = true && this.isSetReturnOrdersMap();
-
 
219281
      boolean that_present_returnOrdersMap = true && that.isSetReturnOrdersMap();
-
 
219282
      if (this_present_returnOrdersMap || that_present_returnOrdersMap) {
-
 
219283
        if (!(this_present_returnOrdersMap && that_present_returnOrdersMap))
-
 
219284
          return false;
-
 
219285
        if (!this.returnOrdersMap.equals(that.returnOrdersMap))
-
 
219286
          return false;
-
 
219287
      }
-
 
219288
 
-
 
219289
      return true;
-
 
219290
    }
-
 
219291
 
-
 
219292
    @Override
-
 
219293
    public int hashCode() {
-
 
219294
      return 0;
-
 
219295
    }
-
 
219296
 
-
 
219297
    public int compareTo(processReturnPickup_args other) {
-
 
219298
      if (!getClass().equals(other.getClass())) {
-
 
219299
        return getClass().getName().compareTo(other.getClass().getName());
-
 
219300
      }
-
 
219301
 
-
 
219302
      int lastComparison = 0;
-
 
219303
      processReturnPickup_args typedOther = (processReturnPickup_args)other;
-
 
219304
 
-
 
219305
      lastComparison = Boolean.valueOf(isSetReturnPickupId()).compareTo(typedOther.isSetReturnPickupId());
-
 
219306
      if (lastComparison != 0) {
-
 
219307
        return lastComparison;
-
 
219308
      }
-
 
219309
      if (isSetReturnPickupId()) {
-
 
219310
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnPickupId, typedOther.returnPickupId);
-
 
219311
        if (lastComparison != 0) {
-
 
219312
          return lastComparison;
-
 
219313
        }
-
 
219314
      }
-
 
219315
      lastComparison = Boolean.valueOf(isSetReturnOrdersMap()).compareTo(typedOther.isSetReturnOrdersMap());
-
 
219316
      if (lastComparison != 0) {
-
 
219317
        return lastComparison;
-
 
219318
      }
-
 
219319
      if (isSetReturnOrdersMap()) {
-
 
219320
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnOrdersMap, typedOther.returnOrdersMap);
-
 
219321
        if (lastComparison != 0) {
-
 
219322
          return lastComparison;
-
 
219323
        }
-
 
219324
      }
-
 
219325
      return 0;
-
 
219326
    }
-
 
219327
 
-
 
219328
    public _Fields fieldForId(int fieldId) {
-
 
219329
      return _Fields.findByThriftId(fieldId);
-
 
219330
    }
-
 
219331
 
-
 
219332
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
219333
      org.apache.thrift.protocol.TField field;
-
 
219334
      iprot.readStructBegin();
-
 
219335
      while (true)
-
 
219336
      {
-
 
219337
        field = iprot.readFieldBegin();
-
 
219338
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
219339
          break;
-
 
219340
        }
-
 
219341
        switch (field.id) {
-
 
219342
          case 1: // RETURN_PICKUP_ID
-
 
219343
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
219344
              this.returnPickupId = iprot.readI64();
-
 
219345
              setReturnPickupIdIsSet(true);
-
 
219346
            } else { 
-
 
219347
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
219348
            }
-
 
219349
            break;
-
 
219350
          case 2: // RETURN_ORDERS_MAP
-
 
219351
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
219352
              {
-
 
219353
                org.apache.thrift.protocol.TMap _map751 = iprot.readMapBegin();
-
 
219354
                this.returnOrdersMap = new HashMap<Long,Map<String,String>>(2*_map751.size);
-
 
219355
                for (int _i752 = 0; _i752 < _map751.size; ++_i752)
-
 
219356
                {
-
 
219357
                  long _key753; // required
-
 
219358
                  Map<String,String> _val754; // required
-
 
219359
                  _key753 = iprot.readI64();
-
 
219360
                  {
-
 
219361
                    org.apache.thrift.protocol.TMap _map755 = iprot.readMapBegin();
-
 
219362
                    _val754 = new HashMap<String,String>(2*_map755.size);
-
 
219363
                    for (int _i756 = 0; _i756 < _map755.size; ++_i756)
-
 
219364
                    {
-
 
219365
                      String _key757; // required
-
 
219366
                      String _val758; // required
-
 
219367
                      _key757 = iprot.readString();
-
 
219368
                      _val758 = iprot.readString();
-
 
219369
                      _val754.put(_key757, _val758);
-
 
219370
                    }
-
 
219371
                    iprot.readMapEnd();
-
 
219372
                  }
-
 
219373
                  this.returnOrdersMap.put(_key753, _val754);
-
 
219374
                }
-
 
219375
                iprot.readMapEnd();
-
 
219376
              }
-
 
219377
            } else { 
-
 
219378
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
219379
            }
-
 
219380
            break;
-
 
219381
          default:
-
 
219382
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
219383
        }
-
 
219384
        iprot.readFieldEnd();
-
 
219385
      }
-
 
219386
      iprot.readStructEnd();
-
 
219387
      validate();
-
 
219388
    }
-
 
219389
 
-
 
219390
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
219391
      validate();
-
 
219392
 
-
 
219393
      oprot.writeStructBegin(STRUCT_DESC);
-
 
219394
      oprot.writeFieldBegin(RETURN_PICKUP_ID_FIELD_DESC);
-
 
219395
      oprot.writeI64(this.returnPickupId);
-
 
219396
      oprot.writeFieldEnd();
-
 
219397
      if (this.returnOrdersMap != null) {
-
 
219398
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
-
 
219399
        {
-
 
219400
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.returnOrdersMap.size()));
-
 
219401
          for (Map.Entry<Long, Map<String,String>> _iter759 : this.returnOrdersMap.entrySet())
-
 
219402
          {
-
 
219403
            oprot.writeI64(_iter759.getKey());
-
 
219404
            {
-
 
219405
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter759.getValue().size()));
-
 
219406
              for (Map.Entry<String, String> _iter760 : _iter759.getValue().entrySet())
-
 
219407
              {
-
 
219408
                oprot.writeString(_iter760.getKey());
-
 
219409
                oprot.writeString(_iter760.getValue());
-
 
219410
              }
-
 
219411
              oprot.writeMapEnd();
-
 
219412
            }
-
 
219413
          }
-
 
219414
          oprot.writeMapEnd();
-
 
219415
        }
-
 
219416
        oprot.writeFieldEnd();
-
 
219417
      }
-
 
219418
      oprot.writeFieldStop();
-
 
219419
      oprot.writeStructEnd();
-
 
219420
    }
-
 
219421
 
-
 
219422
    @Override
-
 
219423
    public String toString() {
-
 
219424
      StringBuilder sb = new StringBuilder("processReturnPickup_args(");
-
 
219425
      boolean first = true;
-
 
219426
 
-
 
219427
      sb.append("returnPickupId:");
-
 
219428
      sb.append(this.returnPickupId);
-
 
219429
      first = false;
-
 
219430
      if (!first) sb.append(", ");
-
 
219431
      sb.append("returnOrdersMap:");
-
 
219432
      if (this.returnOrdersMap == null) {
-
 
219433
        sb.append("null");
-
 
219434
      } else {
-
 
219435
        sb.append(this.returnOrdersMap);
-
 
219436
      }
-
 
219437
      first = false;
-
 
219438
      sb.append(")");
-
 
219439
      return sb.toString();
-
 
219440
    }
-
 
219441
 
-
 
219442
    public void validate() throws org.apache.thrift.TException {
-
 
219443
      // check for required fields
-
 
219444
    }
-
 
219445
 
-
 
219446
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
219447
      try {
-
 
219448
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
219449
      } catch (org.apache.thrift.TException te) {
-
 
219450
        throw new java.io.IOException(te);
-
 
219451
      }
-
 
219452
    }
-
 
219453
 
-
 
219454
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
219455
      try {
-
 
219456
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
219457
        __isset_bit_vector = new BitSet(1);
-
 
219458
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
219459
      } catch (org.apache.thrift.TException te) {
-
 
219460
        throw new java.io.IOException(te);
-
 
219461
      }
-
 
219462
    }
-
 
219463
 
-
 
219464
  }
-
 
219465
 
-
 
219466
  public static class processReturnPickup_result implements org.apache.thrift.TBase<processReturnPickup_result, processReturnPickup_result._Fields>, java.io.Serializable, Cloneable   {
-
 
219467
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("processReturnPickup_result");
-
 
219468
 
-
 
219469
    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);
-
 
219470
    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);
-
 
219471
 
-
 
219472
    private boolean success; // required
-
 
219473
    private TransactionServiceException ex; // required
-
 
219474
 
-
 
219475
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
219476
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
219477
      SUCCESS((short)0, "success"),
-
 
219478
      EX((short)1, "ex");
-
 
219479
 
-
 
219480
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
219481
 
-
 
219482
      static {
-
 
219483
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
219484
          byName.put(field.getFieldName(), field);
-
 
219485
        }
-
 
219486
      }
-
 
219487
 
-
 
219488
      /**
-
 
219489
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
219490
       */
-
 
219491
      public static _Fields findByThriftId(int fieldId) {
-
 
219492
        switch(fieldId) {
-
 
219493
          case 0: // SUCCESS
-
 
219494
            return SUCCESS;
-
 
219495
          case 1: // EX
-
 
219496
            return EX;
-
 
219497
          default:
-
 
219498
            return null;
-
 
219499
        }
-
 
219500
      }
-
 
219501
 
-
 
219502
      /**
-
 
219503
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
219504
       * if it is not found.
-
 
219505
       */
-
 
219506
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
219507
        _Fields fields = findByThriftId(fieldId);
-
 
219508
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
219509
        return fields;
-
 
219510
      }
-
 
219511
 
-
 
219512
      /**
-
 
219513
       * Find the _Fields constant that matches name, or null if its not found.
-
 
219514
       */
-
 
219515
      public static _Fields findByName(String name) {
-
 
219516
        return byName.get(name);
-
 
219517
      }
-
 
219518
 
-
 
219519
      private final short _thriftId;
-
 
219520
      private final String _fieldName;
-
 
219521
 
-
 
219522
      _Fields(short thriftId, String fieldName) {
-
 
219523
        _thriftId = thriftId;
-
 
219524
        _fieldName = fieldName;
-
 
219525
      }
-
 
219526
 
-
 
219527
      public short getThriftFieldId() {
-
 
219528
        return _thriftId;
-
 
219529
      }
-
 
219530
 
-
 
219531
      public String getFieldName() {
-
 
219532
        return _fieldName;
-
 
219533
      }
-
 
219534
    }
-
 
219535
 
-
 
219536
    // isset id assignments
-
 
219537
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
219538
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
219539
 
-
 
219540
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
219541
    static {
-
 
219542
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
219543
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
219544
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
219545
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
219546
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
219547
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
219548
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(processReturnPickup_result.class, metaDataMap);
-
 
219549
    }
-
 
219550
 
-
 
219551
    public processReturnPickup_result() {
-
 
219552
    }
-
 
219553
 
-
 
219554
    public processReturnPickup_result(
-
 
219555
      boolean success,
-
 
219556
      TransactionServiceException ex)
-
 
219557
    {
-
 
219558
      this();
-
 
219559
      this.success = success;
-
 
219560
      setSuccessIsSet(true);
-
 
219561
      this.ex = ex;
-
 
219562
    }
-
 
219563
 
-
 
219564
    /**
-
 
219565
     * Performs a deep copy on <i>other</i>.
-
 
219566
     */
-
 
219567
    public processReturnPickup_result(processReturnPickup_result other) {
-
 
219568
      __isset_bit_vector.clear();
-
 
219569
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
219570
      this.success = other.success;
-
 
219571
      if (other.isSetEx()) {
-
 
219572
        this.ex = new TransactionServiceException(other.ex);
-
 
219573
      }
-
 
219574
    }
-
 
219575
 
-
 
219576
    public processReturnPickup_result deepCopy() {
-
 
219577
      return new processReturnPickup_result(this);
-
 
219578
    }
-
 
219579
 
-
 
219580
    @Override
-
 
219581
    public void clear() {
-
 
219582
      setSuccessIsSet(false);
-
 
219583
      this.success = false;
-
 
219584
      this.ex = null;
-
 
219585
    }
-
 
219586
 
-
 
219587
    public boolean isSuccess() {
-
 
219588
      return this.success;
-
 
219589
    }
-
 
219590
 
-
 
219591
    public void setSuccess(boolean success) {
-
 
219592
      this.success = success;
-
 
219593
      setSuccessIsSet(true);
-
 
219594
    }
-
 
219595
 
-
 
219596
    public void unsetSuccess() {
-
 
219597
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
219598
    }
-
 
219599
 
-
 
219600
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
219601
    public boolean isSetSuccess() {
-
 
219602
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
219603
    }
-
 
219604
 
-
 
219605
    public void setSuccessIsSet(boolean value) {
-
 
219606
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
219607
    }
-
 
219608
 
-
 
219609
    public TransactionServiceException getEx() {
-
 
219610
      return this.ex;
-
 
219611
    }
-
 
219612
 
-
 
219613
    public void setEx(TransactionServiceException ex) {
-
 
219614
      this.ex = ex;
-
 
219615
    }
-
 
219616
 
-
 
219617
    public void unsetEx() {
-
 
219618
      this.ex = null;
-
 
219619
    }
-
 
219620
 
-
 
219621
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
219622
    public boolean isSetEx() {
-
 
219623
      return this.ex != null;
-
 
219624
    }
-
 
219625
 
-
 
219626
    public void setExIsSet(boolean value) {
-
 
219627
      if (!value) {
-
 
219628
        this.ex = null;
-
 
219629
      }
-
 
219630
    }
-
 
219631
 
-
 
219632
    public void setFieldValue(_Fields field, Object value) {
-
 
219633
      switch (field) {
-
 
219634
      case SUCCESS:
-
 
219635
        if (value == null) {
-
 
219636
          unsetSuccess();
-
 
219637
        } else {
-
 
219638
          setSuccess((Boolean)value);
-
 
219639
        }
-
 
219640
        break;
-
 
219641
 
-
 
219642
      case EX:
-
 
219643
        if (value == null) {
-
 
219644
          unsetEx();
-
 
219645
        } else {
-
 
219646
          setEx((TransactionServiceException)value);
-
 
219647
        }
-
 
219648
        break;
-
 
219649
 
-
 
219650
      }
-
 
219651
    }
-
 
219652
 
-
 
219653
    public Object getFieldValue(_Fields field) {
-
 
219654
      switch (field) {
-
 
219655
      case SUCCESS:
-
 
219656
        return Boolean.valueOf(isSuccess());
-
 
219657
 
-
 
219658
      case EX:
-
 
219659
        return getEx();
-
 
219660
 
-
 
219661
      }
-
 
219662
      throw new IllegalStateException();
-
 
219663
    }
-
 
219664
 
-
 
219665
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
219666
    public boolean isSet(_Fields field) {
-
 
219667
      if (field == null) {
-
 
219668
        throw new IllegalArgumentException();
-
 
219669
      }
-
 
219670
 
-
 
219671
      switch (field) {
-
 
219672
      case SUCCESS:
-
 
219673
        return isSetSuccess();
-
 
219674
      case EX:
-
 
219675
        return isSetEx();
-
 
219676
      }
-
 
219677
      throw new IllegalStateException();
-
 
219678
    }
-
 
219679
 
-
 
219680
    @Override
-
 
219681
    public boolean equals(Object that) {
-
 
219682
      if (that == null)
-
 
219683
        return false;
-
 
219684
      if (that instanceof processReturnPickup_result)
-
 
219685
        return this.equals((processReturnPickup_result)that);
-
 
219686
      return false;
-
 
219687
    }
-
 
219688
 
-
 
219689
    public boolean equals(processReturnPickup_result that) {
-
 
219690
      if (that == null)
-
 
219691
        return false;
-
 
219692
 
-
 
219693
      boolean this_present_success = true;
-
 
219694
      boolean that_present_success = true;
-
 
219695
      if (this_present_success || that_present_success) {
-
 
219696
        if (!(this_present_success && that_present_success))
-
 
219697
          return false;
-
 
219698
        if (this.success != that.success)
-
 
219699
          return false;
-
 
219700
      }
-
 
219701
 
-
 
219702
      boolean this_present_ex = true && this.isSetEx();
-
 
219703
      boolean that_present_ex = true && that.isSetEx();
-
 
219704
      if (this_present_ex || that_present_ex) {
-
 
219705
        if (!(this_present_ex && that_present_ex))
-
 
219706
          return false;
-
 
219707
        if (!this.ex.equals(that.ex))
-
 
219708
          return false;
-
 
219709
      }
-
 
219710
 
-
 
219711
      return true;
-
 
219712
    }
-
 
219713
 
-
 
219714
    @Override
-
 
219715
    public int hashCode() {
-
 
219716
      return 0;
-
 
219717
    }
-
 
219718
 
-
 
219719
    public int compareTo(processReturnPickup_result other) {
-
 
219720
      if (!getClass().equals(other.getClass())) {
-
 
219721
        return getClass().getName().compareTo(other.getClass().getName());
-
 
219722
      }
-
 
219723
 
-
 
219724
      int lastComparison = 0;
-
 
219725
      processReturnPickup_result typedOther = (processReturnPickup_result)other;
-
 
219726
 
-
 
219727
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
219728
      if (lastComparison != 0) {
-
 
219729
        return lastComparison;
-
 
219730
      }
-
 
219731
      if (isSetSuccess()) {
-
 
219732
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
219733
        if (lastComparison != 0) {
-
 
219734
          return lastComparison;
-
 
219735
        }
-
 
219736
      }
-
 
219737
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
219738
      if (lastComparison != 0) {
-
 
219739
        return lastComparison;
-
 
219740
      }
-
 
219741
      if (isSetEx()) {
-
 
219742
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
219743
        if (lastComparison != 0) {
-
 
219744
          return lastComparison;
-
 
219745
        }
-
 
219746
      }
-
 
219747
      return 0;
-
 
219748
    }
-
 
219749
 
-
 
219750
    public _Fields fieldForId(int fieldId) {
-
 
219751
      return _Fields.findByThriftId(fieldId);
-
 
219752
    }
-
 
219753
 
-
 
219754
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
219755
      org.apache.thrift.protocol.TField field;
-
 
219756
      iprot.readStructBegin();
-
 
219757
      while (true)
-
 
219758
      {
-
 
219759
        field = iprot.readFieldBegin();
-
 
219760
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
219761
          break;
-
 
219762
        }
-
 
219763
        switch (field.id) {
-
 
219764
          case 0: // SUCCESS
-
 
219765
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
219766
              this.success = iprot.readBool();
-
 
219767
              setSuccessIsSet(true);
-
 
219768
            } else { 
-
 
219769
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
219770
            }
-
 
219771
            break;
-
 
219772
          case 1: // EX
-
 
219773
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
219774
              this.ex = new TransactionServiceException();
-
 
219775
              this.ex.read(iprot);
-
 
219776
            } else { 
-
 
219777
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
219778
            }
-
 
219779
            break;
-
 
219780
          default:
-
 
219781
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
219782
        }
-
 
219783
        iprot.readFieldEnd();
-
 
219784
      }
-
 
219785
      iprot.readStructEnd();
-
 
219786
      validate();
-
 
219787
    }
-
 
219788
 
-
 
219789
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
219790
      oprot.writeStructBegin(STRUCT_DESC);
-
 
219791
 
-
 
219792
      if (this.isSetSuccess()) {
-
 
219793
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
219794
        oprot.writeBool(this.success);
-
 
219795
        oprot.writeFieldEnd();
-
 
219796
      } else if (this.isSetEx()) {
-
 
219797
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
219798
        this.ex.write(oprot);
-
 
219799
        oprot.writeFieldEnd();
-
 
219800
      }
-
 
219801
      oprot.writeFieldStop();
-
 
219802
      oprot.writeStructEnd();
-
 
219803
    }
-
 
219804
 
-
 
219805
    @Override
-
 
219806
    public String toString() {
-
 
219807
      StringBuilder sb = new StringBuilder("processReturnPickup_result(");
-
 
219808
      boolean first = true;
-
 
219809
 
-
 
219810
      sb.append("success:");
-
 
219811
      sb.append(this.success);
-
 
219812
      first = false;
-
 
219813
      if (!first) sb.append(", ");
-
 
219814
      sb.append("ex:");
-
 
219815
      if (this.ex == null) {
-
 
219816
        sb.append("null");
-
 
219817
      } else {
-
 
219818
        sb.append(this.ex);
-
 
219819
      }
-
 
219820
      first = false;
-
 
219821
      sb.append(")");
-
 
219822
      return sb.toString();
-
 
219823
    }
-
 
219824
 
-
 
219825
    public void validate() throws org.apache.thrift.TException {
-
 
219826
      // check for required fields
-
 
219827
    }
-
 
219828
 
-
 
219829
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
219830
      try {
-
 
219831
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
219832
      } catch (org.apache.thrift.TException te) {
-
 
219833
        throw new java.io.IOException(te);
-
 
219834
      }
-
 
219835
    }
-
 
219836
 
-
 
219837
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
219838
      try {
-
 
219839
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
219840
      } catch (org.apache.thrift.TException te) {
-
 
219841
        throw new java.io.IOException(te);
-
 
219842
      }
-
 
219843
    }
-
 
219844
 
-
 
219845
  }
-
 
219846
 
-
 
219847
  public static class markReturnTransactionComplete_args implements org.apache.thrift.TBase<markReturnTransactionComplete_args, markReturnTransactionComplete_args._Fields>, java.io.Serializable, Cloneable   {
-
 
219848
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markReturnTransactionComplete_args");
-
 
219849
 
-
 
219850
    private static final org.apache.thrift.protocol.TField RETURN_TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("returnTransactionId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
219851
 
-
 
219852
    private long returnTransactionId; // required
-
 
219853
 
-
 
219854
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
219855
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
219856
      RETURN_TRANSACTION_ID((short)1, "returnTransactionId");
-
 
219857
 
-
 
219858
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
219859
 
-
 
219860
      static {
-
 
219861
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
219862
          byName.put(field.getFieldName(), field);
-
 
219863
        }
-
 
219864
      }
-
 
219865
 
-
 
219866
      /**
-
 
219867
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
219868
       */
-
 
219869
      public static _Fields findByThriftId(int fieldId) {
-
 
219870
        switch(fieldId) {
-
 
219871
          case 1: // RETURN_TRANSACTION_ID
-
 
219872
            return RETURN_TRANSACTION_ID;
-
 
219873
          default:
-
 
219874
            return null;
-
 
219875
        }
-
 
219876
      }
-
 
219877
 
-
 
219878
      /**
-
 
219879
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
219880
       * if it is not found.
-
 
219881
       */
-
 
219882
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
219883
        _Fields fields = findByThriftId(fieldId);
-
 
219884
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
219885
        return fields;
-
 
219886
      }
-
 
219887
 
-
 
219888
      /**
-
 
219889
       * Find the _Fields constant that matches name, or null if its not found.
-
 
219890
       */
-
 
219891
      public static _Fields findByName(String name) {
-
 
219892
        return byName.get(name);
-
 
219893
      }
-
 
219894
 
-
 
219895
      private final short _thriftId;
-
 
219896
      private final String _fieldName;
-
 
219897
 
-
 
219898
      _Fields(short thriftId, String fieldName) {
-
 
219899
        _thriftId = thriftId;
-
 
219900
        _fieldName = fieldName;
-
 
219901
      }
-
 
219902
 
-
 
219903
      public short getThriftFieldId() {
-
 
219904
        return _thriftId;
-
 
219905
      }
-
 
219906
 
-
 
219907
      public String getFieldName() {
-
 
219908
        return _fieldName;
-
 
219909
      }
-
 
219910
    }
-
 
219911
 
-
 
219912
    // isset id assignments
-
 
219913
    private static final int __RETURNTRANSACTIONID_ISSET_ID = 0;
-
 
219914
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
219915
 
-
 
219916
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
219917
    static {
-
 
219918
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
219919
      tmpMap.put(_Fields.RETURN_TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("returnTransactionId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
219920
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
219921
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
219922
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markReturnTransactionComplete_args.class, metaDataMap);
-
 
219923
    }
-
 
219924
 
-
 
219925
    public markReturnTransactionComplete_args() {
-
 
219926
    }
-
 
219927
 
-
 
219928
    public markReturnTransactionComplete_args(
-
 
219929
      long returnTransactionId)
-
 
219930
    {
-
 
219931
      this();
-
 
219932
      this.returnTransactionId = returnTransactionId;
-
 
219933
      setReturnTransactionIdIsSet(true);
-
 
219934
    }
-
 
219935
 
-
 
219936
    /**
-
 
219937
     * Performs a deep copy on <i>other</i>.
-
 
219938
     */
-
 
219939
    public markReturnTransactionComplete_args(markReturnTransactionComplete_args other) {
-
 
219940
      __isset_bit_vector.clear();
-
 
219941
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
219942
      this.returnTransactionId = other.returnTransactionId;
-
 
219943
    }
-
 
219944
 
-
 
219945
    public markReturnTransactionComplete_args deepCopy() {
-
 
219946
      return new markReturnTransactionComplete_args(this);
-
 
219947
    }
-
 
219948
 
-
 
219949
    @Override
-
 
219950
    public void clear() {
-
 
219951
      setReturnTransactionIdIsSet(false);
-
 
219952
      this.returnTransactionId = 0;
-
 
219953
    }
-
 
219954
 
-
 
219955
    public long getReturnTransactionId() {
-
 
219956
      return this.returnTransactionId;
-
 
219957
    }
-
 
219958
 
-
 
219959
    public void setReturnTransactionId(long returnTransactionId) {
-
 
219960
      this.returnTransactionId = returnTransactionId;
-
 
219961
      setReturnTransactionIdIsSet(true);
-
 
219962
    }
-
 
219963
 
-
 
219964
    public void unsetReturnTransactionId() {
-
 
219965
      __isset_bit_vector.clear(__RETURNTRANSACTIONID_ISSET_ID);
-
 
219966
    }
-
 
219967
 
-
 
219968
    /** Returns true if field returnTransactionId is set (has been assigned a value) and false otherwise */
-
 
219969
    public boolean isSetReturnTransactionId() {
-
 
219970
      return __isset_bit_vector.get(__RETURNTRANSACTIONID_ISSET_ID);
-
 
219971
    }
-
 
219972
 
-
 
219973
    public void setReturnTransactionIdIsSet(boolean value) {
-
 
219974
      __isset_bit_vector.set(__RETURNTRANSACTIONID_ISSET_ID, value);
-
 
219975
    }
-
 
219976
 
-
 
219977
    public void setFieldValue(_Fields field, Object value) {
-
 
219978
      switch (field) {
-
 
219979
      case RETURN_TRANSACTION_ID:
-
 
219980
        if (value == null) {
-
 
219981
          unsetReturnTransactionId();
-
 
219982
        } else {
-
 
219983
          setReturnTransactionId((Long)value);
-
 
219984
        }
-
 
219985
        break;
-
 
219986
 
-
 
219987
      }
-
 
219988
    }
-
 
219989
 
-
 
219990
    public Object getFieldValue(_Fields field) {
-
 
219991
      switch (field) {
-
 
219992
      case RETURN_TRANSACTION_ID:
-
 
219993
        return Long.valueOf(getReturnTransactionId());
-
 
219994
 
-
 
219995
      }
-
 
219996
      throw new IllegalStateException();
-
 
219997
    }
-
 
219998
 
-
 
219999
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
220000
    public boolean isSet(_Fields field) {
-
 
220001
      if (field == null) {
-
 
220002
        throw new IllegalArgumentException();
-
 
220003
      }
-
 
220004
 
-
 
220005
      switch (field) {
-
 
220006
      case RETURN_TRANSACTION_ID:
-
 
220007
        return isSetReturnTransactionId();
-
 
220008
      }
-
 
220009
      throw new IllegalStateException();
-
 
220010
    }
-
 
220011
 
-
 
220012
    @Override
-
 
220013
    public boolean equals(Object that) {
-
 
220014
      if (that == null)
-
 
220015
        return false;
-
 
220016
      if (that instanceof markReturnTransactionComplete_args)
-
 
220017
        return this.equals((markReturnTransactionComplete_args)that);
-
 
220018
      return false;
-
 
220019
    }
-
 
220020
 
-
 
220021
    public boolean equals(markReturnTransactionComplete_args that) {
-
 
220022
      if (that == null)
-
 
220023
        return false;
-
 
220024
 
-
 
220025
      boolean this_present_returnTransactionId = true;
-
 
220026
      boolean that_present_returnTransactionId = true;
-
 
220027
      if (this_present_returnTransactionId || that_present_returnTransactionId) {
-
 
220028
        if (!(this_present_returnTransactionId && that_present_returnTransactionId))
-
 
220029
          return false;
-
 
220030
        if (this.returnTransactionId != that.returnTransactionId)
-
 
220031
          return false;
-
 
220032
      }
-
 
220033
 
-
 
220034
      return true;
-
 
220035
    }
-
 
220036
 
-
 
220037
    @Override
-
 
220038
    public int hashCode() {
-
 
220039
      return 0;
-
 
220040
    }
-
 
220041
 
-
 
220042
    public int compareTo(markReturnTransactionComplete_args other) {
-
 
220043
      if (!getClass().equals(other.getClass())) {
-
 
220044
        return getClass().getName().compareTo(other.getClass().getName());
-
 
220045
      }
-
 
220046
 
-
 
220047
      int lastComparison = 0;
-
 
220048
      markReturnTransactionComplete_args typedOther = (markReturnTransactionComplete_args)other;
-
 
220049
 
-
 
220050
      lastComparison = Boolean.valueOf(isSetReturnTransactionId()).compareTo(typedOther.isSetReturnTransactionId());
-
 
220051
      if (lastComparison != 0) {
-
 
220052
        return lastComparison;
-
 
220053
      }
-
 
220054
      if (isSetReturnTransactionId()) {
-
 
220055
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnTransactionId, typedOther.returnTransactionId);
-
 
220056
        if (lastComparison != 0) {
-
 
220057
          return lastComparison;
-
 
220058
        }
-
 
220059
      }
-
 
220060
      return 0;
-
 
220061
    }
-
 
220062
 
-
 
220063
    public _Fields fieldForId(int fieldId) {
-
 
220064
      return _Fields.findByThriftId(fieldId);
-
 
220065
    }
-
 
220066
 
-
 
220067
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
220068
      org.apache.thrift.protocol.TField field;
-
 
220069
      iprot.readStructBegin();
-
 
220070
      while (true)
-
 
220071
      {
-
 
220072
        field = iprot.readFieldBegin();
-
 
220073
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
220074
          break;
-
 
220075
        }
-
 
220076
        switch (field.id) {
-
 
220077
          case 1: // RETURN_TRANSACTION_ID
-
 
220078
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
220079
              this.returnTransactionId = iprot.readI64();
-
 
220080
              setReturnTransactionIdIsSet(true);
-
 
220081
            } else { 
-
 
220082
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
220083
            }
-
 
220084
            break;
-
 
220085
          default:
-
 
220086
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
220087
        }
-
 
220088
        iprot.readFieldEnd();
-
 
220089
      }
-
 
220090
      iprot.readStructEnd();
-
 
220091
      validate();
-
 
220092
    }
-
 
220093
 
-
 
220094
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
220095
      validate();
-
 
220096
 
-
 
220097
      oprot.writeStructBegin(STRUCT_DESC);
-
 
220098
      oprot.writeFieldBegin(RETURN_TRANSACTION_ID_FIELD_DESC);
-
 
220099
      oprot.writeI64(this.returnTransactionId);
-
 
220100
      oprot.writeFieldEnd();
-
 
220101
      oprot.writeFieldStop();
-
 
220102
      oprot.writeStructEnd();
-
 
220103
    }
-
 
220104
 
-
 
220105
    @Override
-
 
220106
    public String toString() {
-
 
220107
      StringBuilder sb = new StringBuilder("markReturnTransactionComplete_args(");
-
 
220108
      boolean first = true;
-
 
220109
 
-
 
220110
      sb.append("returnTransactionId:");
-
 
220111
      sb.append(this.returnTransactionId);
-
 
220112
      first = false;
-
 
220113
      sb.append(")");
-
 
220114
      return sb.toString();
-
 
220115
    }
-
 
220116
 
-
 
220117
    public void validate() throws org.apache.thrift.TException {
-
 
220118
      // check for required fields
-
 
220119
    }
-
 
220120
 
-
 
220121
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
220122
      try {
-
 
220123
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
220124
      } catch (org.apache.thrift.TException te) {
-
 
220125
        throw new java.io.IOException(te);
-
 
220126
      }
-
 
220127
    }
-
 
220128
 
-
 
220129
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
220130
      try {
-
 
220131
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
220132
        __isset_bit_vector = new BitSet(1);
-
 
220133
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
220134
      } catch (org.apache.thrift.TException te) {
-
 
220135
        throw new java.io.IOException(te);
-
 
220136
      }
-
 
220137
    }
-
 
220138
 
-
 
220139
  }
-
 
220140
 
-
 
220141
  public static class markReturnTransactionComplete_result implements org.apache.thrift.TBase<markReturnTransactionComplete_result, markReturnTransactionComplete_result._Fields>, java.io.Serializable, Cloneable   {
-
 
220142
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markReturnTransactionComplete_result");
-
 
220143
 
-
 
220144
    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);
-
 
220145
    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);
-
 
220146
 
-
 
220147
    private boolean success; // required
-
 
220148
    private TransactionServiceException ex; // required
-
 
220149
 
-
 
220150
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
220151
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
220152
      SUCCESS((short)0, "success"),
-
 
220153
      EX((short)1, "ex");
-
 
220154
 
-
 
220155
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
220156
 
-
 
220157
      static {
-
 
220158
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
220159
          byName.put(field.getFieldName(), field);
-
 
220160
        }
-
 
220161
      }
-
 
220162
 
-
 
220163
      /**
-
 
220164
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
220165
       */
-
 
220166
      public static _Fields findByThriftId(int fieldId) {
-
 
220167
        switch(fieldId) {
-
 
220168
          case 0: // SUCCESS
-
 
220169
            return SUCCESS;
-
 
220170
          case 1: // EX
-
 
220171
            return EX;
-
 
220172
          default:
-
 
220173
            return null;
-
 
220174
        }
-
 
220175
      }
-
 
220176
 
-
 
220177
      /**
-
 
220178
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
220179
       * if it is not found.
-
 
220180
       */
-
 
220181
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
220182
        _Fields fields = findByThriftId(fieldId);
-
 
220183
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
220184
        return fields;
-
 
220185
      }
-
 
220186
 
-
 
220187
      /**
-
 
220188
       * Find the _Fields constant that matches name, or null if its not found.
-
 
220189
       */
-
 
220190
      public static _Fields findByName(String name) {
-
 
220191
        return byName.get(name);
-
 
220192
      }
-
 
220193
 
-
 
220194
      private final short _thriftId;
-
 
220195
      private final String _fieldName;
-
 
220196
 
-
 
220197
      _Fields(short thriftId, String fieldName) {
-
 
220198
        _thriftId = thriftId;
-
 
220199
        _fieldName = fieldName;
-
 
220200
      }
-
 
220201
 
-
 
220202
      public short getThriftFieldId() {
-
 
220203
        return _thriftId;
-
 
220204
      }
-
 
220205
 
-
 
220206
      public String getFieldName() {
-
 
220207
        return _fieldName;
-
 
220208
      }
-
 
220209
    }
-
 
220210
 
-
 
220211
    // isset id assignments
-
 
220212
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
220213
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
220214
 
-
 
220215
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
220216
    static {
-
 
220217
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
220218
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
220219
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
220220
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
220221
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
220222
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
220223
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markReturnTransactionComplete_result.class, metaDataMap);
-
 
220224
    }
-
 
220225
 
-
 
220226
    public markReturnTransactionComplete_result() {
-
 
220227
    }
-
 
220228
 
-
 
220229
    public markReturnTransactionComplete_result(
-
 
220230
      boolean success,
-
 
220231
      TransactionServiceException ex)
-
 
220232
    {
-
 
220233
      this();
-
 
220234
      this.success = success;
-
 
220235
      setSuccessIsSet(true);
-
 
220236
      this.ex = ex;
-
 
220237
    }
-
 
220238
 
-
 
220239
    /**
-
 
220240
     * Performs a deep copy on <i>other</i>.
-
 
220241
     */
-
 
220242
    public markReturnTransactionComplete_result(markReturnTransactionComplete_result other) {
-
 
220243
      __isset_bit_vector.clear();
-
 
220244
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
220245
      this.success = other.success;
-
 
220246
      if (other.isSetEx()) {
-
 
220247
        this.ex = new TransactionServiceException(other.ex);
-
 
220248
      }
-
 
220249
    }
-
 
220250
 
-
 
220251
    public markReturnTransactionComplete_result deepCopy() {
-
 
220252
      return new markReturnTransactionComplete_result(this);
-
 
220253
    }
-
 
220254
 
-
 
220255
    @Override
-
 
220256
    public void clear() {
-
 
220257
      setSuccessIsSet(false);
-
 
220258
      this.success = false;
-
 
220259
      this.ex = null;
-
 
220260
    }
-
 
220261
 
-
 
220262
    public boolean isSuccess() {
-
 
220263
      return this.success;
-
 
220264
    }
-
 
220265
 
-
 
220266
    public void setSuccess(boolean success) {
-
 
220267
      this.success = success;
-
 
220268
      setSuccessIsSet(true);
-
 
220269
    }
-
 
220270
 
-
 
220271
    public void unsetSuccess() {
-
 
220272
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
220273
    }
-
 
220274
 
-
 
220275
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
220276
    public boolean isSetSuccess() {
-
 
220277
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
220278
    }
-
 
220279
 
-
 
220280
    public void setSuccessIsSet(boolean value) {
-
 
220281
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
220282
    }
-
 
220283
 
-
 
220284
    public TransactionServiceException getEx() {
-
 
220285
      return this.ex;
-
 
220286
    }
-
 
220287
 
-
 
220288
    public void setEx(TransactionServiceException ex) {
-
 
220289
      this.ex = ex;
-
 
220290
    }
-
 
220291
 
-
 
220292
    public void unsetEx() {
-
 
220293
      this.ex = null;
-
 
220294
    }
-
 
220295
 
-
 
220296
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
220297
    public boolean isSetEx() {
-
 
220298
      return this.ex != null;
-
 
220299
    }
-
 
220300
 
-
 
220301
    public void setExIsSet(boolean value) {
-
 
220302
      if (!value) {
-
 
220303
        this.ex = null;
-
 
220304
      }
-
 
220305
    }
-
 
220306
 
-
 
220307
    public void setFieldValue(_Fields field, Object value) {
-
 
220308
      switch (field) {
-
 
220309
      case SUCCESS:
-
 
220310
        if (value == null) {
-
 
220311
          unsetSuccess();
-
 
220312
        } else {
-
 
220313
          setSuccess((Boolean)value);
-
 
220314
        }
-
 
220315
        break;
-
 
220316
 
-
 
220317
      case EX:
-
 
220318
        if (value == null) {
-
 
220319
          unsetEx();
-
 
220320
        } else {
-
 
220321
          setEx((TransactionServiceException)value);
-
 
220322
        }
-
 
220323
        break;
-
 
220324
 
-
 
220325
      }
-
 
220326
    }
-
 
220327
 
-
 
220328
    public Object getFieldValue(_Fields field) {
-
 
220329
      switch (field) {
-
 
220330
      case SUCCESS:
-
 
220331
        return Boolean.valueOf(isSuccess());
-
 
220332
 
-
 
220333
      case EX:
-
 
220334
        return getEx();
-
 
220335
 
-
 
220336
      }
-
 
220337
      throw new IllegalStateException();
-
 
220338
    }
-
 
220339
 
-
 
220340
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
220341
    public boolean isSet(_Fields field) {
-
 
220342
      if (field == null) {
-
 
220343
        throw new IllegalArgumentException();
-
 
220344
      }
-
 
220345
 
-
 
220346
      switch (field) {
-
 
220347
      case SUCCESS:
-
 
220348
        return isSetSuccess();
-
 
220349
      case EX:
-
 
220350
        return isSetEx();
-
 
220351
      }
-
 
220352
      throw new IllegalStateException();
-
 
220353
    }
-
 
220354
 
-
 
220355
    @Override
-
 
220356
    public boolean equals(Object that) {
-
 
220357
      if (that == null)
-
 
220358
        return false;
-
 
220359
      if (that instanceof markReturnTransactionComplete_result)
-
 
220360
        return this.equals((markReturnTransactionComplete_result)that);
-
 
220361
      return false;
-
 
220362
    }
-
 
220363
 
-
 
220364
    public boolean equals(markReturnTransactionComplete_result that) {
-
 
220365
      if (that == null)
-
 
220366
        return false;
-
 
220367
 
-
 
220368
      boolean this_present_success = true;
-
 
220369
      boolean that_present_success = true;
-
 
220370
      if (this_present_success || that_present_success) {
-
 
220371
        if (!(this_present_success && that_present_success))
-
 
220372
          return false;
-
 
220373
        if (this.success != that.success)
-
 
220374
          return false;
-
 
220375
      }
-
 
220376
 
-
 
220377
      boolean this_present_ex = true && this.isSetEx();
-
 
220378
      boolean that_present_ex = true && that.isSetEx();
-
 
220379
      if (this_present_ex || that_present_ex) {
-
 
220380
        if (!(this_present_ex && that_present_ex))
-
 
220381
          return false;
-
 
220382
        if (!this.ex.equals(that.ex))
-
 
220383
          return false;
-
 
220384
      }
-
 
220385
 
-
 
220386
      return true;
-
 
220387
    }
-
 
220388
 
-
 
220389
    @Override
-
 
220390
    public int hashCode() {
-
 
220391
      return 0;
-
 
220392
    }
-
 
220393
 
-
 
220394
    public int compareTo(markReturnTransactionComplete_result other) {
-
 
220395
      if (!getClass().equals(other.getClass())) {
-
 
220396
        return getClass().getName().compareTo(other.getClass().getName());
-
 
220397
      }
-
 
220398
 
-
 
220399
      int lastComparison = 0;
-
 
220400
      markReturnTransactionComplete_result typedOther = (markReturnTransactionComplete_result)other;
-
 
220401
 
-
 
220402
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
220403
      if (lastComparison != 0) {
-
 
220404
        return lastComparison;
-
 
220405
      }
-
 
220406
      if (isSetSuccess()) {
-
 
220407
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
220408
        if (lastComparison != 0) {
-
 
220409
          return lastComparison;
-
 
220410
        }
-
 
220411
      }
-
 
220412
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
220413
      if (lastComparison != 0) {
-
 
220414
        return lastComparison;
-
 
220415
      }
-
 
220416
      if (isSetEx()) {
-
 
220417
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
220418
        if (lastComparison != 0) {
-
 
220419
          return lastComparison;
-
 
220420
        }
-
 
220421
      }
-
 
220422
      return 0;
-
 
220423
    }
-
 
220424
 
-
 
220425
    public _Fields fieldForId(int fieldId) {
-
 
220426
      return _Fields.findByThriftId(fieldId);
-
 
220427
    }
-
 
220428
 
-
 
220429
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
220430
      org.apache.thrift.protocol.TField field;
-
 
220431
      iprot.readStructBegin();
-
 
220432
      while (true)
-
 
220433
      {
-
 
220434
        field = iprot.readFieldBegin();
-
 
220435
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
220436
          break;
-
 
220437
        }
-
 
220438
        switch (field.id) {
-
 
220439
          case 0: // SUCCESS
-
 
220440
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
220441
              this.success = iprot.readBool();
-
 
220442
              setSuccessIsSet(true);
-
 
220443
            } else { 
-
 
220444
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
220445
            }
-
 
220446
            break;
-
 
220447
          case 1: // EX
-
 
220448
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
220449
              this.ex = new TransactionServiceException();
-
 
220450
              this.ex.read(iprot);
-
 
220451
            } else { 
-
 
220452
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
220453
            }
-
 
220454
            break;
-
 
220455
          default:
-
 
220456
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
220457
        }
-
 
220458
        iprot.readFieldEnd();
-
 
220459
      }
-
 
220460
      iprot.readStructEnd();
-
 
220461
      validate();
-
 
220462
    }
-
 
220463
 
-
 
220464
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
220465
      oprot.writeStructBegin(STRUCT_DESC);
-
 
220466
 
-
 
220467
      if (this.isSetSuccess()) {
-
 
220468
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
220469
        oprot.writeBool(this.success);
-
 
220470
        oprot.writeFieldEnd();
-
 
220471
      } else if (this.isSetEx()) {
-
 
220472
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
220473
        this.ex.write(oprot);
-
 
220474
        oprot.writeFieldEnd();
-
 
220475
      }
-
 
220476
      oprot.writeFieldStop();
-
 
220477
      oprot.writeStructEnd();
-
 
220478
    }
-
 
220479
 
-
 
220480
    @Override
-
 
220481
    public String toString() {
-
 
220482
      StringBuilder sb = new StringBuilder("markReturnTransactionComplete_result(");
-
 
220483
      boolean first = true;
-
 
220484
 
-
 
220485
      sb.append("success:");
-
 
220486
      sb.append(this.success);
-
 
220487
      first = false;
-
 
220488
      if (!first) sb.append(", ");
-
 
220489
      sb.append("ex:");
-
 
220490
      if (this.ex == null) {
-
 
220491
        sb.append("null");
-
 
220492
      } else {
-
 
220493
        sb.append(this.ex);
-
 
220494
      }
-
 
220495
      first = false;
-
 
220496
      sb.append(")");
-
 
220497
      return sb.toString();
-
 
220498
    }
-
 
220499
 
-
 
220500
    public void validate() throws org.apache.thrift.TException {
-
 
220501
      // check for required fields
-
 
220502
    }
-
 
220503
 
-
 
220504
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
220505
      try {
-
 
220506
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
220507
      } catch (org.apache.thrift.TException te) {
-
 
220508
        throw new java.io.IOException(te);
-
 
220509
      }
-
 
220510
    }
-
 
220511
 
-
 
220512
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
220513
      try {
-
 
220514
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
220515
      } catch (org.apache.thrift.TException te) {
-
 
220516
        throw new java.io.IOException(te);
-
 
220517
      }
-
 
220518
    }
-
 
220519
 
-
 
220520
  }
-
 
220521
 
-
 
220522
  public static class refundReturnTransactionPayment_args implements org.apache.thrift.TBase<refundReturnTransactionPayment_args, refundReturnTransactionPayment_args._Fields>, java.io.Serializable, Cloneable   {
-
 
220523
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("refundReturnTransactionPayment_args");
-
 
220524
 
-
 
220525
    private static final org.apache.thrift.protocol.TField REFUND_ORDERS_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("refundOrdersMap", org.apache.thrift.protocol.TType.MAP, (short)1);
-
 
220526
    private static final org.apache.thrift.protocol.TField RETURNTRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("returntransactionId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
220527
 
-
 
220528
    private Map<Long,Map<String,String>> refundOrdersMap; // required
-
 
220529
    private long returntransactionId; // required
-
 
220530
 
-
 
220531
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
220532
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
220533
      REFUND_ORDERS_MAP((short)1, "refundOrdersMap"),
-
 
220534
      RETURNTRANSACTION_ID((short)2, "returntransactionId");
-
 
220535
 
-
 
220536
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
220537
 
-
 
220538
      static {
-
 
220539
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
220540
          byName.put(field.getFieldName(), field);
-
 
220541
        }
-
 
220542
      }
-
 
220543
 
-
 
220544
      /**
-
 
220545
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
220546
       */
-
 
220547
      public static _Fields findByThriftId(int fieldId) {
-
 
220548
        switch(fieldId) {
-
 
220549
          case 1: // REFUND_ORDERS_MAP
-
 
220550
            return REFUND_ORDERS_MAP;
-
 
220551
          case 2: // RETURNTRANSACTION_ID
-
 
220552
            return RETURNTRANSACTION_ID;
-
 
220553
          default:
-
 
220554
            return null;
-
 
220555
        }
-
 
220556
      }
-
 
220557
 
-
 
220558
      /**
-
 
220559
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
220560
       * if it is not found.
-
 
220561
       */
-
 
220562
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
220563
        _Fields fields = findByThriftId(fieldId);
-
 
220564
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
220565
        return fields;
-
 
220566
      }
-
 
220567
 
-
 
220568
      /**
-
 
220569
       * Find the _Fields constant that matches name, or null if its not found.
-
 
220570
       */
-
 
220571
      public static _Fields findByName(String name) {
-
 
220572
        return byName.get(name);
-
 
220573
      }
-
 
220574
 
-
 
220575
      private final short _thriftId;
-
 
220576
      private final String _fieldName;
-
 
220577
 
-
 
220578
      _Fields(short thriftId, String fieldName) {
-
 
220579
        _thriftId = thriftId;
-
 
220580
        _fieldName = fieldName;
-
 
220581
      }
-
 
220582
 
-
 
220583
      public short getThriftFieldId() {
-
 
220584
        return _thriftId;
-
 
220585
      }
-
 
220586
 
-
 
220587
      public String getFieldName() {
-
 
220588
        return _fieldName;
-
 
220589
      }
-
 
220590
    }
-
 
220591
 
-
 
220592
    // isset id assignments
-
 
220593
    private static final int __RETURNTRANSACTIONID_ISSET_ID = 0;
-
 
220594
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
220595
 
-
 
220596
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
220597
    static {
-
 
220598
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
220599
      tmpMap.put(_Fields.REFUND_ORDERS_MAP, new org.apache.thrift.meta_data.FieldMetaData("refundOrdersMap", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
220600
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
220601
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
220602
              new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
220603
                  new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
-
 
220604
                  new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))));
-
 
220605
      tmpMap.put(_Fields.RETURNTRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("returntransactionId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
220606
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
220607
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
220608
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(refundReturnTransactionPayment_args.class, metaDataMap);
-
 
220609
    }
-
 
220610
 
-
 
220611
    public refundReturnTransactionPayment_args() {
-
 
220612
    }
-
 
220613
 
-
 
220614
    public refundReturnTransactionPayment_args(
-
 
220615
      Map<Long,Map<String,String>> refundOrdersMap,
-
 
220616
      long returntransactionId)
-
 
220617
    {
-
 
220618
      this();
-
 
220619
      this.refundOrdersMap = refundOrdersMap;
-
 
220620
      this.returntransactionId = returntransactionId;
-
 
220621
      setReturntransactionIdIsSet(true);
-
 
220622
    }
-
 
220623
 
-
 
220624
    /**
-
 
220625
     * Performs a deep copy on <i>other</i>.
-
 
220626
     */
-
 
220627
    public refundReturnTransactionPayment_args(refundReturnTransactionPayment_args other) {
-
 
220628
      __isset_bit_vector.clear();
-
 
220629
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
220630
      if (other.isSetRefundOrdersMap()) {
-
 
220631
        Map<Long,Map<String,String>> __this__refundOrdersMap = new HashMap<Long,Map<String,String>>();
-
 
220632
        for (Map.Entry<Long, Map<String,String>> other_element : other.refundOrdersMap.entrySet()) {
-
 
220633
 
-
 
220634
          Long other_element_key = other_element.getKey();
-
 
220635
          Map<String,String> other_element_value = other_element.getValue();
-
 
220636
 
-
 
220637
          Long __this__refundOrdersMap_copy_key = other_element_key;
-
 
220638
 
-
 
220639
          Map<String,String> __this__refundOrdersMap_copy_value = new HashMap<String,String>();
-
 
220640
          for (Map.Entry<String, String> other_element_value_element : other_element_value.entrySet()) {
-
 
220641
 
-
 
220642
            String other_element_value_element_key = other_element_value_element.getKey();
-
 
220643
            String other_element_value_element_value = other_element_value_element.getValue();
-
 
220644
 
-
 
220645
            String __this__refundOrdersMap_copy_value_copy_key = other_element_value_element_key;
-
 
220646
 
-
 
220647
            String __this__refundOrdersMap_copy_value_copy_value = other_element_value_element_value;
-
 
220648
 
-
 
220649
            __this__refundOrdersMap_copy_value.put(__this__refundOrdersMap_copy_value_copy_key, __this__refundOrdersMap_copy_value_copy_value);
-
 
220650
          }
-
 
220651
 
-
 
220652
          __this__refundOrdersMap.put(__this__refundOrdersMap_copy_key, __this__refundOrdersMap_copy_value);
-
 
220653
        }
-
 
220654
        this.refundOrdersMap = __this__refundOrdersMap;
-
 
220655
      }
-
 
220656
      this.returntransactionId = other.returntransactionId;
-
 
220657
    }
-
 
220658
 
-
 
220659
    public refundReturnTransactionPayment_args deepCopy() {
-
 
220660
      return new refundReturnTransactionPayment_args(this);
-
 
220661
    }
-
 
220662
 
-
 
220663
    @Override
-
 
220664
    public void clear() {
-
 
220665
      this.refundOrdersMap = null;
-
 
220666
      setReturntransactionIdIsSet(false);
-
 
220667
      this.returntransactionId = 0;
-
 
220668
    }
-
 
220669
 
-
 
220670
    public int getRefundOrdersMapSize() {
-
 
220671
      return (this.refundOrdersMap == null) ? 0 : this.refundOrdersMap.size();
-
 
220672
    }
-
 
220673
 
-
 
220674
    public void putToRefundOrdersMap(long key, Map<String,String> val) {
-
 
220675
      if (this.refundOrdersMap == null) {
-
 
220676
        this.refundOrdersMap = new HashMap<Long,Map<String,String>>();
-
 
220677
      }
-
 
220678
      this.refundOrdersMap.put(key, val);
-
 
220679
    }
-
 
220680
 
-
 
220681
    public Map<Long,Map<String,String>> getRefundOrdersMap() {
-
 
220682
      return this.refundOrdersMap;
-
 
220683
    }
-
 
220684
 
-
 
220685
    public void setRefundOrdersMap(Map<Long,Map<String,String>> refundOrdersMap) {
-
 
220686
      this.refundOrdersMap = refundOrdersMap;
-
 
220687
    }
-
 
220688
 
-
 
220689
    public void unsetRefundOrdersMap() {
-
 
220690
      this.refundOrdersMap = null;
-
 
220691
    }
-
 
220692
 
-
 
220693
    /** Returns true if field refundOrdersMap is set (has been assigned a value) and false otherwise */
-
 
220694
    public boolean isSetRefundOrdersMap() {
-
 
220695
      return this.refundOrdersMap != null;
-
 
220696
    }
-
 
220697
 
-
 
220698
    public void setRefundOrdersMapIsSet(boolean value) {
-
 
220699
      if (!value) {
-
 
220700
        this.refundOrdersMap = null;
-
 
220701
      }
-
 
220702
    }
-
 
220703
 
-
 
220704
    public long getReturntransactionId() {
-
 
220705
      return this.returntransactionId;
-
 
220706
    }
-
 
220707
 
-
 
220708
    public void setReturntransactionId(long returntransactionId) {
-
 
220709
      this.returntransactionId = returntransactionId;
-
 
220710
      setReturntransactionIdIsSet(true);
-
 
220711
    }
-
 
220712
 
-
 
220713
    public void unsetReturntransactionId() {
-
 
220714
      __isset_bit_vector.clear(__RETURNTRANSACTIONID_ISSET_ID);
-
 
220715
    }
-
 
220716
 
-
 
220717
    /** Returns true if field returntransactionId is set (has been assigned a value) and false otherwise */
-
 
220718
    public boolean isSetReturntransactionId() {
-
 
220719
      return __isset_bit_vector.get(__RETURNTRANSACTIONID_ISSET_ID);
-
 
220720
    }
-
 
220721
 
-
 
220722
    public void setReturntransactionIdIsSet(boolean value) {
-
 
220723
      __isset_bit_vector.set(__RETURNTRANSACTIONID_ISSET_ID, value);
-
 
220724
    }
-
 
220725
 
-
 
220726
    public void setFieldValue(_Fields field, Object value) {
-
 
220727
      switch (field) {
-
 
220728
      case REFUND_ORDERS_MAP:
-
 
220729
        if (value == null) {
-
 
220730
          unsetRefundOrdersMap();
-
 
220731
        } else {
-
 
220732
          setRefundOrdersMap((Map<Long,Map<String,String>>)value);
-
 
220733
        }
-
 
220734
        break;
-
 
220735
 
-
 
220736
      case RETURNTRANSACTION_ID:
-
 
220737
        if (value == null) {
-
 
220738
          unsetReturntransactionId();
-
 
220739
        } else {
-
 
220740
          setReturntransactionId((Long)value);
-
 
220741
        }
-
 
220742
        break;
-
 
220743
 
-
 
220744
      }
-
 
220745
    }
-
 
220746
 
-
 
220747
    public Object getFieldValue(_Fields field) {
-
 
220748
      switch (field) {
-
 
220749
      case REFUND_ORDERS_MAP:
-
 
220750
        return getRefundOrdersMap();
-
 
220751
 
-
 
220752
      case RETURNTRANSACTION_ID:
-
 
220753
        return Long.valueOf(getReturntransactionId());
-
 
220754
 
-
 
220755
      }
-
 
220756
      throw new IllegalStateException();
-
 
220757
    }
-
 
220758
 
-
 
220759
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
220760
    public boolean isSet(_Fields field) {
-
 
220761
      if (field == null) {
-
 
220762
        throw new IllegalArgumentException();
-
 
220763
      }
-
 
220764
 
-
 
220765
      switch (field) {
-
 
220766
      case REFUND_ORDERS_MAP:
-
 
220767
        return isSetRefundOrdersMap();
-
 
220768
      case RETURNTRANSACTION_ID:
-
 
220769
        return isSetReturntransactionId();
-
 
220770
      }
-
 
220771
      throw new IllegalStateException();
-
 
220772
    }
-
 
220773
 
-
 
220774
    @Override
-
 
220775
    public boolean equals(Object that) {
-
 
220776
      if (that == null)
-
 
220777
        return false;
-
 
220778
      if (that instanceof refundReturnTransactionPayment_args)
-
 
220779
        return this.equals((refundReturnTransactionPayment_args)that);
-
 
220780
      return false;
-
 
220781
    }
-
 
220782
 
-
 
220783
    public boolean equals(refundReturnTransactionPayment_args that) {
-
 
220784
      if (that == null)
-
 
220785
        return false;
-
 
220786
 
-
 
220787
      boolean this_present_refundOrdersMap = true && this.isSetRefundOrdersMap();
-
 
220788
      boolean that_present_refundOrdersMap = true && that.isSetRefundOrdersMap();
-
 
220789
      if (this_present_refundOrdersMap || that_present_refundOrdersMap) {
-
 
220790
        if (!(this_present_refundOrdersMap && that_present_refundOrdersMap))
-
 
220791
          return false;
-
 
220792
        if (!this.refundOrdersMap.equals(that.refundOrdersMap))
-
 
220793
          return false;
-
 
220794
      }
-
 
220795
 
-
 
220796
      boolean this_present_returntransactionId = true;
-
 
220797
      boolean that_present_returntransactionId = true;
-
 
220798
      if (this_present_returntransactionId || that_present_returntransactionId) {
-
 
220799
        if (!(this_present_returntransactionId && that_present_returntransactionId))
-
 
220800
          return false;
-
 
220801
        if (this.returntransactionId != that.returntransactionId)
-
 
220802
          return false;
-
 
220803
      }
-
 
220804
 
-
 
220805
      return true;
-
 
220806
    }
-
 
220807
 
-
 
220808
    @Override
-
 
220809
    public int hashCode() {
-
 
220810
      return 0;
-
 
220811
    }
-
 
220812
 
-
 
220813
    public int compareTo(refundReturnTransactionPayment_args other) {
-
 
220814
      if (!getClass().equals(other.getClass())) {
-
 
220815
        return getClass().getName().compareTo(other.getClass().getName());
-
 
220816
      }
-
 
220817
 
-
 
220818
      int lastComparison = 0;
-
 
220819
      refundReturnTransactionPayment_args typedOther = (refundReturnTransactionPayment_args)other;
-
 
220820
 
-
 
220821
      lastComparison = Boolean.valueOf(isSetRefundOrdersMap()).compareTo(typedOther.isSetRefundOrdersMap());
-
 
220822
      if (lastComparison != 0) {
-
 
220823
        return lastComparison;
-
 
220824
      }
-
 
220825
      if (isSetRefundOrdersMap()) {
-
 
220826
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.refundOrdersMap, typedOther.refundOrdersMap);
-
 
220827
        if (lastComparison != 0) {
-
 
220828
          return lastComparison;
-
 
220829
        }
-
 
220830
      }
-
 
220831
      lastComparison = Boolean.valueOf(isSetReturntransactionId()).compareTo(typedOther.isSetReturntransactionId());
-
 
220832
      if (lastComparison != 0) {
-
 
220833
        return lastComparison;
-
 
220834
      }
-
 
220835
      if (isSetReturntransactionId()) {
-
 
220836
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returntransactionId, typedOther.returntransactionId);
-
 
220837
        if (lastComparison != 0) {
-
 
220838
          return lastComparison;
-
 
220839
        }
-
 
220840
      }
-
 
220841
      return 0;
-
 
220842
    }
-
 
220843
 
-
 
220844
    public _Fields fieldForId(int fieldId) {
-
 
220845
      return _Fields.findByThriftId(fieldId);
-
 
220846
    }
-
 
220847
 
-
 
220848
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
220849
      org.apache.thrift.protocol.TField field;
-
 
220850
      iprot.readStructBegin();
-
 
220851
      while (true)
-
 
220852
      {
-
 
220853
        field = iprot.readFieldBegin();
-
 
220854
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
220855
          break;
-
 
220856
        }
-
 
220857
        switch (field.id) {
-
 
220858
          case 1: // REFUND_ORDERS_MAP
-
 
220859
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
220860
              {
-
 
220861
                org.apache.thrift.protocol.TMap _map761 = iprot.readMapBegin();
-
 
220862
                this.refundOrdersMap = new HashMap<Long,Map<String,String>>(2*_map761.size);
-
 
220863
                for (int _i762 = 0; _i762 < _map761.size; ++_i762)
-
 
220864
                {
-
 
220865
                  long _key763; // required
-
 
220866
                  Map<String,String> _val764; // required
-
 
220867
                  _key763 = iprot.readI64();
-
 
220868
                  {
-
 
220869
                    org.apache.thrift.protocol.TMap _map765 = iprot.readMapBegin();
-
 
220870
                    _val764 = new HashMap<String,String>(2*_map765.size);
-
 
220871
                    for (int _i766 = 0; _i766 < _map765.size; ++_i766)
-
 
220872
                    {
-
 
220873
                      String _key767; // required
-
 
220874
                      String _val768; // required
-
 
220875
                      _key767 = iprot.readString();
-
 
220876
                      _val768 = iprot.readString();
-
 
220877
                      _val764.put(_key767, _val768);
-
 
220878
                    }
-
 
220879
                    iprot.readMapEnd();
-
 
220880
                  }
-
 
220881
                  this.refundOrdersMap.put(_key763, _val764);
-
 
220882
                }
-
 
220883
                iprot.readMapEnd();
-
 
220884
              }
-
 
220885
            } else { 
-
 
220886
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
220887
            }
-
 
220888
            break;
-
 
220889
          case 2: // RETURNTRANSACTION_ID
-
 
220890
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
220891
              this.returntransactionId = iprot.readI64();
-
 
220892
              setReturntransactionIdIsSet(true);
-
 
220893
            } else { 
-
 
220894
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
220895
            }
-
 
220896
            break;
-
 
220897
          default:
-
 
220898
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
220899
        }
-
 
220900
        iprot.readFieldEnd();
-
 
220901
      }
-
 
220902
      iprot.readStructEnd();
-
 
220903
      validate();
-
 
220904
    }
-
 
220905
 
-
 
220906
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
220907
      validate();
-
 
220908
 
-
 
220909
      oprot.writeStructBegin(STRUCT_DESC);
-
 
220910
      if (this.refundOrdersMap != null) {
-
 
220911
        oprot.writeFieldBegin(REFUND_ORDERS_MAP_FIELD_DESC);
-
 
220912
        {
-
 
220913
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.refundOrdersMap.size()));
-
 
220914
          for (Map.Entry<Long, Map<String,String>> _iter769 : this.refundOrdersMap.entrySet())
-
 
220915
          {
-
 
220916
            oprot.writeI64(_iter769.getKey());
-
 
220917
            {
-
 
220918
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter769.getValue().size()));
-
 
220919
              for (Map.Entry<String, String> _iter770 : _iter769.getValue().entrySet())
-
 
220920
              {
-
 
220921
                oprot.writeString(_iter770.getKey());
-
 
220922
                oprot.writeString(_iter770.getValue());
-
 
220923
              }
-
 
220924
              oprot.writeMapEnd();
-
 
220925
            }
-
 
220926
          }
-
 
220927
          oprot.writeMapEnd();
-
 
220928
        }
-
 
220929
        oprot.writeFieldEnd();
-
 
220930
      }
-
 
220931
      oprot.writeFieldBegin(RETURNTRANSACTION_ID_FIELD_DESC);
-
 
220932
      oprot.writeI64(this.returntransactionId);
-
 
220933
      oprot.writeFieldEnd();
-
 
220934
      oprot.writeFieldStop();
-
 
220935
      oprot.writeStructEnd();
-
 
220936
    }
-
 
220937
 
-
 
220938
    @Override
-
 
220939
    public String toString() {
-
 
220940
      StringBuilder sb = new StringBuilder("refundReturnTransactionPayment_args(");
-
 
220941
      boolean first = true;
-
 
220942
 
-
 
220943
      sb.append("refundOrdersMap:");
-
 
220944
      if (this.refundOrdersMap == null) {
-
 
220945
        sb.append("null");
-
 
220946
      } else {
-
 
220947
        sb.append(this.refundOrdersMap);
-
 
220948
      }
-
 
220949
      first = false;
-
 
220950
      if (!first) sb.append(", ");
-
 
220951
      sb.append("returntransactionId:");
-
 
220952
      sb.append(this.returntransactionId);
-
 
220953
      first = false;
-
 
220954
      sb.append(")");
-
 
220955
      return sb.toString();
-
 
220956
    }
-
 
220957
 
-
 
220958
    public void validate() throws org.apache.thrift.TException {
-
 
220959
      // check for required fields
-
 
220960
    }
-
 
220961
 
-
 
220962
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
220963
      try {
-
 
220964
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
220965
      } catch (org.apache.thrift.TException te) {
-
 
220966
        throw new java.io.IOException(te);
-
 
220967
      }
-
 
220968
    }
-
 
220969
 
-
 
220970
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
220971
      try {
-
 
220972
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
220973
        __isset_bit_vector = new BitSet(1);
-
 
220974
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
220975
      } catch (org.apache.thrift.TException te) {
-
 
220976
        throw new java.io.IOException(te);
-
 
220977
      }
-
 
220978
    }
-
 
220979
 
-
 
220980
  }
-
 
220981
 
-
 
220982
  public static class refundReturnTransactionPayment_result implements org.apache.thrift.TBase<refundReturnTransactionPayment_result, refundReturnTransactionPayment_result._Fields>, java.io.Serializable, Cloneable   {
-
 
220983
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("refundReturnTransactionPayment_result");
-
 
220984
 
-
 
220985
    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);
-
 
220986
    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);
-
 
220987
 
-
 
220988
    private boolean success; // required
-
 
220989
    private TransactionServiceException ex; // required
-
 
220990
 
-
 
220991
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
220992
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
220993
      SUCCESS((short)0, "success"),
-
 
220994
      EX((short)1, "ex");
-
 
220995
 
-
 
220996
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
220997
 
-
 
220998
      static {
-
 
220999
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
221000
          byName.put(field.getFieldName(), field);
-
 
221001
        }
-
 
221002
      }
-
 
221003
 
-
 
221004
      /**
-
 
221005
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
221006
       */
-
 
221007
      public static _Fields findByThriftId(int fieldId) {
-
 
221008
        switch(fieldId) {
-
 
221009
          case 0: // SUCCESS
-
 
221010
            return SUCCESS;
-
 
221011
          case 1: // EX
-
 
221012
            return EX;
-
 
221013
          default:
-
 
221014
            return null;
-
 
221015
        }
-
 
221016
      }
-
 
221017
 
-
 
221018
      /**
-
 
221019
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
221020
       * if it is not found.
-
 
221021
       */
-
 
221022
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
221023
        _Fields fields = findByThriftId(fieldId);
-
 
221024
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
221025
        return fields;
-
 
221026
      }
-
 
221027
 
-
 
221028
      /**
-
 
221029
       * Find the _Fields constant that matches name, or null if its not found.
-
 
221030
       */
-
 
221031
      public static _Fields findByName(String name) {
-
 
221032
        return byName.get(name);
-
 
221033
      }
-
 
221034
 
-
 
221035
      private final short _thriftId;
-
 
221036
      private final String _fieldName;
-
 
221037
 
-
 
221038
      _Fields(short thriftId, String fieldName) {
-
 
221039
        _thriftId = thriftId;
-
 
221040
        _fieldName = fieldName;
-
 
221041
      }
-
 
221042
 
-
 
221043
      public short getThriftFieldId() {
-
 
221044
        return _thriftId;
-
 
221045
      }
-
 
221046
 
-
 
221047
      public String getFieldName() {
-
 
221048
        return _fieldName;
-
 
221049
      }
-
 
221050
    }
-
 
221051
 
-
 
221052
    // isset id assignments
-
 
221053
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
221054
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
221055
 
-
 
221056
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
221057
    static {
-
 
221058
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
221059
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
221060
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
221061
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
221062
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
221063
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
221064
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(refundReturnTransactionPayment_result.class, metaDataMap);
-
 
221065
    }
-
 
221066
 
-
 
221067
    public refundReturnTransactionPayment_result() {
-
 
221068
    }
-
 
221069
 
-
 
221070
    public refundReturnTransactionPayment_result(
-
 
221071
      boolean success,
-
 
221072
      TransactionServiceException ex)
-
 
221073
    {
-
 
221074
      this();
-
 
221075
      this.success = success;
-
 
221076
      setSuccessIsSet(true);
-
 
221077
      this.ex = ex;
-
 
221078
    }
-
 
221079
 
-
 
221080
    /**
-
 
221081
     * Performs a deep copy on <i>other</i>.
-
 
221082
     */
-
 
221083
    public refundReturnTransactionPayment_result(refundReturnTransactionPayment_result other) {
-
 
221084
      __isset_bit_vector.clear();
-
 
221085
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
221086
      this.success = other.success;
-
 
221087
      if (other.isSetEx()) {
-
 
221088
        this.ex = new TransactionServiceException(other.ex);
-
 
221089
      }
-
 
221090
    }
-
 
221091
 
-
 
221092
    public refundReturnTransactionPayment_result deepCopy() {
-
 
221093
      return new refundReturnTransactionPayment_result(this);
-
 
221094
    }
-
 
221095
 
-
 
221096
    @Override
-
 
221097
    public void clear() {
-
 
221098
      setSuccessIsSet(false);
-
 
221099
      this.success = false;
-
 
221100
      this.ex = null;
-
 
221101
    }
-
 
221102
 
-
 
221103
    public boolean isSuccess() {
-
 
221104
      return this.success;
-
 
221105
    }
-
 
221106
 
-
 
221107
    public void setSuccess(boolean success) {
-
 
221108
      this.success = success;
-
 
221109
      setSuccessIsSet(true);
-
 
221110
    }
-
 
221111
 
-
 
221112
    public void unsetSuccess() {
-
 
221113
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
221114
    }
-
 
221115
 
-
 
221116
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
221117
    public boolean isSetSuccess() {
-
 
221118
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
221119
    }
-
 
221120
 
-
 
221121
    public void setSuccessIsSet(boolean value) {
-
 
221122
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
221123
    }
-
 
221124
 
-
 
221125
    public TransactionServiceException getEx() {
-
 
221126
      return this.ex;
-
 
221127
    }
-
 
221128
 
-
 
221129
    public void setEx(TransactionServiceException ex) {
-
 
221130
      this.ex = ex;
-
 
221131
    }
-
 
221132
 
-
 
221133
    public void unsetEx() {
-
 
221134
      this.ex = null;
-
 
221135
    }
-
 
221136
 
-
 
221137
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
221138
    public boolean isSetEx() {
-
 
221139
      return this.ex != null;
-
 
221140
    }
-
 
221141
 
-
 
221142
    public void setExIsSet(boolean value) {
-
 
221143
      if (!value) {
-
 
221144
        this.ex = null;
-
 
221145
      }
-
 
221146
    }
-
 
221147
 
-
 
221148
    public void setFieldValue(_Fields field, Object value) {
-
 
221149
      switch (field) {
-
 
221150
      case SUCCESS:
-
 
221151
        if (value == null) {
-
 
221152
          unsetSuccess();
-
 
221153
        } else {
-
 
221154
          setSuccess((Boolean)value);
-
 
221155
        }
-
 
221156
        break;
-
 
221157
 
-
 
221158
      case EX:
-
 
221159
        if (value == null) {
-
 
221160
          unsetEx();
-
 
221161
        } else {
-
 
221162
          setEx((TransactionServiceException)value);
-
 
221163
        }
-
 
221164
        break;
-
 
221165
 
-
 
221166
      }
-
 
221167
    }
-
 
221168
 
-
 
221169
    public Object getFieldValue(_Fields field) {
-
 
221170
      switch (field) {
-
 
221171
      case SUCCESS:
-
 
221172
        return Boolean.valueOf(isSuccess());
-
 
221173
 
-
 
221174
      case EX:
-
 
221175
        return getEx();
-
 
221176
 
-
 
221177
      }
-
 
221178
      throw new IllegalStateException();
-
 
221179
    }
-
 
221180
 
-
 
221181
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
221182
    public boolean isSet(_Fields field) {
-
 
221183
      if (field == null) {
-
 
221184
        throw new IllegalArgumentException();
-
 
221185
      }
-
 
221186
 
-
 
221187
      switch (field) {
-
 
221188
      case SUCCESS:
-
 
221189
        return isSetSuccess();
-
 
221190
      case EX:
-
 
221191
        return isSetEx();
-
 
221192
      }
-
 
221193
      throw new IllegalStateException();
-
 
221194
    }
-
 
221195
 
-
 
221196
    @Override
-
 
221197
    public boolean equals(Object that) {
-
 
221198
      if (that == null)
-
 
221199
        return false;
-
 
221200
      if (that instanceof refundReturnTransactionPayment_result)
-
 
221201
        return this.equals((refundReturnTransactionPayment_result)that);
-
 
221202
      return false;
-
 
221203
    }
-
 
221204
 
-
 
221205
    public boolean equals(refundReturnTransactionPayment_result that) {
-
 
221206
      if (that == null)
-
 
221207
        return false;
-
 
221208
 
-
 
221209
      boolean this_present_success = true;
-
 
221210
      boolean that_present_success = true;
-
 
221211
      if (this_present_success || that_present_success) {
-
 
221212
        if (!(this_present_success && that_present_success))
-
 
221213
          return false;
-
 
221214
        if (this.success != that.success)
-
 
221215
          return false;
-
 
221216
      }
-
 
221217
 
-
 
221218
      boolean this_present_ex = true && this.isSetEx();
-
 
221219
      boolean that_present_ex = true && that.isSetEx();
-
 
221220
      if (this_present_ex || that_present_ex) {
-
 
221221
        if (!(this_present_ex && that_present_ex))
-
 
221222
          return false;
-
 
221223
        if (!this.ex.equals(that.ex))
-
 
221224
          return false;
-
 
221225
      }
-
 
221226
 
-
 
221227
      return true;
-
 
221228
    }
-
 
221229
 
-
 
221230
    @Override
-
 
221231
    public int hashCode() {
-
 
221232
      return 0;
-
 
221233
    }
-
 
221234
 
-
 
221235
    public int compareTo(refundReturnTransactionPayment_result other) {
-
 
221236
      if (!getClass().equals(other.getClass())) {
-
 
221237
        return getClass().getName().compareTo(other.getClass().getName());
-
 
221238
      }
-
 
221239
 
-
 
221240
      int lastComparison = 0;
-
 
221241
      refundReturnTransactionPayment_result typedOther = (refundReturnTransactionPayment_result)other;
-
 
221242
 
-
 
221243
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
221244
      if (lastComparison != 0) {
-
 
221245
        return lastComparison;
-
 
221246
      }
-
 
221247
      if (isSetSuccess()) {
-
 
221248
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
221249
        if (lastComparison != 0) {
-
 
221250
          return lastComparison;
-
 
221251
        }
-
 
221252
      }
-
 
221253
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
221254
      if (lastComparison != 0) {
-
 
221255
        return lastComparison;
-
 
221256
      }
-
 
221257
      if (isSetEx()) {
-
 
221258
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
221259
        if (lastComparison != 0) {
-
 
221260
          return lastComparison;
-
 
221261
        }
-
 
221262
      }
-
 
221263
      return 0;
-
 
221264
    }
-
 
221265
 
-
 
221266
    public _Fields fieldForId(int fieldId) {
-
 
221267
      return _Fields.findByThriftId(fieldId);
-
 
221268
    }
-
 
221269
 
-
 
221270
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
221271
      org.apache.thrift.protocol.TField field;
-
 
221272
      iprot.readStructBegin();
-
 
221273
      while (true)
-
 
221274
      {
-
 
221275
        field = iprot.readFieldBegin();
-
 
221276
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
221277
          break;
-
 
221278
        }
-
 
221279
        switch (field.id) {
-
 
221280
          case 0: // SUCCESS
-
 
221281
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
221282
              this.success = iprot.readBool();
-
 
221283
              setSuccessIsSet(true);
-
 
221284
            } else { 
-
 
221285
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
221286
            }
-
 
221287
            break;
-
 
221288
          case 1: // EX
-
 
221289
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
221290
              this.ex = new TransactionServiceException();
-
 
221291
              this.ex.read(iprot);
-
 
221292
            } else { 
-
 
221293
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
221294
            }
-
 
221295
            break;
-
 
221296
          default:
-
 
221297
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
221298
        }
-
 
221299
        iprot.readFieldEnd();
-
 
221300
      }
-
 
221301
      iprot.readStructEnd();
-
 
221302
      validate();
-
 
221303
    }
-
 
221304
 
-
 
221305
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
221306
      oprot.writeStructBegin(STRUCT_DESC);
-
 
221307
 
-
 
221308
      if (this.isSetSuccess()) {
-
 
221309
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
221310
        oprot.writeBool(this.success);
-
 
221311
        oprot.writeFieldEnd();
-
 
221312
      } else if (this.isSetEx()) {
-
 
221313
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
221314
        this.ex.write(oprot);
-
 
221315
        oprot.writeFieldEnd();
-
 
221316
      }
-
 
221317
      oprot.writeFieldStop();
-
 
221318
      oprot.writeStructEnd();
-
 
221319
    }
-
 
221320
 
-
 
221321
    @Override
-
 
221322
    public String toString() {
-
 
221323
      StringBuilder sb = new StringBuilder("refundReturnTransactionPayment_result(");
-
 
221324
      boolean first = true;
-
 
221325
 
-
 
221326
      sb.append("success:");
-
 
221327
      sb.append(this.success);
-
 
221328
      first = false;
-
 
221329
      if (!first) sb.append(", ");
-
 
221330
      sb.append("ex:");
-
 
221331
      if (this.ex == null) {
-
 
221332
        sb.append("null");
-
 
221333
      } else {
-
 
221334
        sb.append(this.ex);
-
 
221335
      }
-
 
221336
      first = false;
-
 
221337
      sb.append(")");
-
 
221338
      return sb.toString();
-
 
221339
    }
-
 
221340
 
-
 
221341
    public void validate() throws org.apache.thrift.TException {
-
 
221342
      // check for required fields
-
 
221343
    }
-
 
221344
 
-
 
221345
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
221346
      try {
-
 
221347
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
221348
      } catch (org.apache.thrift.TException te) {
-
 
221349
        throw new java.io.IOException(te);
-
 
221350
      }
-
 
221351
    }
-
 
221352
 
-
 
221353
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
221354
      try {
-
 
221355
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
221356
      } catch (org.apache.thrift.TException te) {
-
 
221357
        throw new java.io.IOException(te);
-
 
221358
      }
-
 
221359
    }
-
 
221360
 
-
 
221361
  }
-
 
221362
 
-
 
221363
  public static class getReturnTransactionsForCustomer_args implements org.apache.thrift.TBase<getReturnTransactionsForCustomer_args, getReturnTransactionsForCustomer_args._Fields>, java.io.Serializable, Cloneable   {
-
 
221364
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnTransactionsForCustomer_args");
-
 
221365
 
-
 
221366
    private static final org.apache.thrift.protocol.TField STATUS_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("statusList", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
221367
    private static final org.apache.thrift.protocol.TField CUSTOMER_MOBILE_FIELD_DESC = new org.apache.thrift.protocol.TField("customerMobile", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
221368
    private static final org.apache.thrift.protocol.TField CUSTOMER_EMAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("customerEmail", org.apache.thrift.protocol.TType.STRING, (short)3);
-
 
221369
    private static final org.apache.thrift.protocol.TField RETURN_TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("returnTransactionId", org.apache.thrift.protocol.TType.I64, (short)4);
-
 
221370
    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)5);
-
 
221371
 
-
 
221372
    private List<ReturnTransactionStatus> statusList; // required
-
 
221373
    private String customerMobile; // required
-
 
221374
    private String customerEmail; // required
-
 
221375
    private long returnTransactionId; // required
-
 
221376
    private long customerId; // required
-
 
221377
 
-
 
221378
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
221379
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
221380
      STATUS_LIST((short)1, "statusList"),
-
 
221381
      CUSTOMER_MOBILE((short)2, "customerMobile"),
-
 
221382
      CUSTOMER_EMAIL((short)3, "customerEmail"),
-
 
221383
      RETURN_TRANSACTION_ID((short)4, "returnTransactionId"),
-
 
221384
      CUSTOMER_ID((short)5, "customerId");
-
 
221385
 
-
 
221386
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
221387
 
-
 
221388
      static {
-
 
221389
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
221390
          byName.put(field.getFieldName(), field);
-
 
221391
        }
-
 
221392
      }
-
 
221393
 
-
 
221394
      /**
-
 
221395
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
221396
       */
-
 
221397
      public static _Fields findByThriftId(int fieldId) {
-
 
221398
        switch(fieldId) {
-
 
221399
          case 1: // STATUS_LIST
-
 
221400
            return STATUS_LIST;
-
 
221401
          case 2: // CUSTOMER_MOBILE
-
 
221402
            return CUSTOMER_MOBILE;
-
 
221403
          case 3: // CUSTOMER_EMAIL
-
 
221404
            return CUSTOMER_EMAIL;
-
 
221405
          case 4: // RETURN_TRANSACTION_ID
-
 
221406
            return RETURN_TRANSACTION_ID;
-
 
221407
          case 5: // CUSTOMER_ID
-
 
221408
            return CUSTOMER_ID;
-
 
221409
          default:
-
 
221410
            return null;
-
 
221411
        }
-
 
221412
      }
-
 
221413
 
-
 
221414
      /**
-
 
221415
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
221416
       * if it is not found.
-
 
221417
       */
-
 
221418
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
221419
        _Fields fields = findByThriftId(fieldId);
-
 
221420
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
221421
        return fields;
-
 
221422
      }
-
 
221423
 
-
 
221424
      /**
-
 
221425
       * Find the _Fields constant that matches name, or null if its not found.
-
 
221426
       */
-
 
221427
      public static _Fields findByName(String name) {
-
 
221428
        return byName.get(name);
-
 
221429
      }
-
 
221430
 
-
 
221431
      private final short _thriftId;
-
 
221432
      private final String _fieldName;
-
 
221433
 
-
 
221434
      _Fields(short thriftId, String fieldName) {
-
 
221435
        _thriftId = thriftId;
-
 
221436
        _fieldName = fieldName;
-
 
221437
      }
-
 
221438
 
-
 
221439
      public short getThriftFieldId() {
-
 
221440
        return _thriftId;
-
 
221441
      }
-
 
221442
 
-
 
221443
      public String getFieldName() {
-
 
221444
        return _fieldName;
-
 
221445
      }
-
 
221446
    }
-
 
221447
 
-
 
221448
    // isset id assignments
-
 
221449
    private static final int __RETURNTRANSACTIONID_ISSET_ID = 0;
-
 
221450
    private static final int __CUSTOMERID_ISSET_ID = 1;
-
 
221451
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
221452
 
-
 
221453
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
221454
    static {
-
 
221455
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
221456
      tmpMap.put(_Fields.STATUS_LIST, new org.apache.thrift.meta_data.FieldMetaData("statusList", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
221457
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
221458
              new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ReturnTransactionStatus.class))));
-
 
221459
      tmpMap.put(_Fields.CUSTOMER_MOBILE, new org.apache.thrift.meta_data.FieldMetaData("customerMobile", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
221460
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
221461
      tmpMap.put(_Fields.CUSTOMER_EMAIL, new org.apache.thrift.meta_data.FieldMetaData("customerEmail", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
221462
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
221463
      tmpMap.put(_Fields.RETURN_TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("returnTransactionId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
221464
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
221465
      tmpMap.put(_Fields.CUSTOMER_ID, new org.apache.thrift.meta_data.FieldMetaData("customerId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
221466
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
221467
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
221468
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReturnTransactionsForCustomer_args.class, metaDataMap);
-
 
221469
    }
-
 
221470
 
-
 
221471
    public getReturnTransactionsForCustomer_args() {
-
 
221472
    }
-
 
221473
 
-
 
221474
    public getReturnTransactionsForCustomer_args(
-
 
221475
      List<ReturnTransactionStatus> statusList,
-
 
221476
      String customerMobile,
-
 
221477
      String customerEmail,
-
 
221478
      long returnTransactionId,
-
 
221479
      long customerId)
-
 
221480
    {
-
 
221481
      this();
-
 
221482
      this.statusList = statusList;
-
 
221483
      this.customerMobile = customerMobile;
-
 
221484
      this.customerEmail = customerEmail;
-
 
221485
      this.returnTransactionId = returnTransactionId;
-
 
221486
      setReturnTransactionIdIsSet(true);
-
 
221487
      this.customerId = customerId;
-
 
221488
      setCustomerIdIsSet(true);
-
 
221489
    }
-
 
221490
 
-
 
221491
    /**
-
 
221492
     * Performs a deep copy on <i>other</i>.
-
 
221493
     */
-
 
221494
    public getReturnTransactionsForCustomer_args(getReturnTransactionsForCustomer_args other) {
-
 
221495
      __isset_bit_vector.clear();
-
 
221496
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
221497
      if (other.isSetStatusList()) {
-
 
221498
        List<ReturnTransactionStatus> __this__statusList = new ArrayList<ReturnTransactionStatus>();
-
 
221499
        for (ReturnTransactionStatus other_element : other.statusList) {
-
 
221500
          __this__statusList.add(other_element);
-
 
221501
        }
-
 
221502
        this.statusList = __this__statusList;
-
 
221503
      }
-
 
221504
      if (other.isSetCustomerMobile()) {
-
 
221505
        this.customerMobile = other.customerMobile;
-
 
221506
      }
-
 
221507
      if (other.isSetCustomerEmail()) {
-
 
221508
        this.customerEmail = other.customerEmail;
-
 
221509
      }
-
 
221510
      this.returnTransactionId = other.returnTransactionId;
-
 
221511
      this.customerId = other.customerId;
-
 
221512
    }
-
 
221513
 
-
 
221514
    public getReturnTransactionsForCustomer_args deepCopy() {
-
 
221515
      return new getReturnTransactionsForCustomer_args(this);
-
 
221516
    }
-
 
221517
 
-
 
221518
    @Override
-
 
221519
    public void clear() {
-
 
221520
      this.statusList = null;
-
 
221521
      this.customerMobile = null;
-
 
221522
      this.customerEmail = null;
-
 
221523
      setReturnTransactionIdIsSet(false);
-
 
221524
      this.returnTransactionId = 0;
-
 
221525
      setCustomerIdIsSet(false);
-
 
221526
      this.customerId = 0;
-
 
221527
    }
-
 
221528
 
-
 
221529
    public int getStatusListSize() {
-
 
221530
      return (this.statusList == null) ? 0 : this.statusList.size();
-
 
221531
    }
-
 
221532
 
-
 
221533
    public java.util.Iterator<ReturnTransactionStatus> getStatusListIterator() {
-
 
221534
      return (this.statusList == null) ? null : this.statusList.iterator();
-
 
221535
    }
-
 
221536
 
-
 
221537
    public void addToStatusList(ReturnTransactionStatus elem) {
-
 
221538
      if (this.statusList == null) {
-
 
221539
        this.statusList = new ArrayList<ReturnTransactionStatus>();
-
 
221540
      }
-
 
221541
      this.statusList.add(elem);
-
 
221542
    }
-
 
221543
 
-
 
221544
    public List<ReturnTransactionStatus> getStatusList() {
-
 
221545
      return this.statusList;
-
 
221546
    }
-
 
221547
 
-
 
221548
    public void setStatusList(List<ReturnTransactionStatus> statusList) {
-
 
221549
      this.statusList = statusList;
-
 
221550
    }
-
 
221551
 
-
 
221552
    public void unsetStatusList() {
-
 
221553
      this.statusList = null;
-
 
221554
    }
-
 
221555
 
-
 
221556
    /** Returns true if field statusList is set (has been assigned a value) and false otherwise */
-
 
221557
    public boolean isSetStatusList() {
-
 
221558
      return this.statusList != null;
-
 
221559
    }
-
 
221560
 
-
 
221561
    public void setStatusListIsSet(boolean value) {
-
 
221562
      if (!value) {
-
 
221563
        this.statusList = null;
-
 
221564
      }
-
 
221565
    }
-
 
221566
 
-
 
221567
    public String getCustomerMobile() {
-
 
221568
      return this.customerMobile;
-
 
221569
    }
-
 
221570
 
-
 
221571
    public void setCustomerMobile(String customerMobile) {
-
 
221572
      this.customerMobile = customerMobile;
-
 
221573
    }
-
 
221574
 
-
 
221575
    public void unsetCustomerMobile() {
-
 
221576
      this.customerMobile = null;
-
 
221577
    }
-
 
221578
 
-
 
221579
    /** Returns true if field customerMobile is set (has been assigned a value) and false otherwise */
-
 
221580
    public boolean isSetCustomerMobile() {
-
 
221581
      return this.customerMobile != null;
-
 
221582
    }
-
 
221583
 
-
 
221584
    public void setCustomerMobileIsSet(boolean value) {
-
 
221585
      if (!value) {
-
 
221586
        this.customerMobile = null;
-
 
221587
      }
-
 
221588
    }
-
 
221589
 
-
 
221590
    public String getCustomerEmail() {
-
 
221591
      return this.customerEmail;
-
 
221592
    }
-
 
221593
 
-
 
221594
    public void setCustomerEmail(String customerEmail) {
-
 
221595
      this.customerEmail = customerEmail;
-
 
221596
    }
-
 
221597
 
-
 
221598
    public void unsetCustomerEmail() {
-
 
221599
      this.customerEmail = null;
-
 
221600
    }
-
 
221601
 
-
 
221602
    /** Returns true if field customerEmail is set (has been assigned a value) and false otherwise */
-
 
221603
    public boolean isSetCustomerEmail() {
-
 
221604
      return this.customerEmail != null;
-
 
221605
    }
-
 
221606
 
-
 
221607
    public void setCustomerEmailIsSet(boolean value) {
-
 
221608
      if (!value) {
-
 
221609
        this.customerEmail = null;
-
 
221610
      }
-
 
221611
    }
-
 
221612
 
-
 
221613
    public long getReturnTransactionId() {
-
 
221614
      return this.returnTransactionId;
-
 
221615
    }
-
 
221616
 
-
 
221617
    public void setReturnTransactionId(long returnTransactionId) {
-
 
221618
      this.returnTransactionId = returnTransactionId;
-
 
221619
      setReturnTransactionIdIsSet(true);
-
 
221620
    }
-
 
221621
 
-
 
221622
    public void unsetReturnTransactionId() {
-
 
221623
      __isset_bit_vector.clear(__RETURNTRANSACTIONID_ISSET_ID);
-
 
221624
    }
-
 
221625
 
-
 
221626
    /** Returns true if field returnTransactionId is set (has been assigned a value) and false otherwise */
-
 
221627
    public boolean isSetReturnTransactionId() {
-
 
221628
      return __isset_bit_vector.get(__RETURNTRANSACTIONID_ISSET_ID);
-
 
221629
    }
-
 
221630
 
-
 
221631
    public void setReturnTransactionIdIsSet(boolean value) {
-
 
221632
      __isset_bit_vector.set(__RETURNTRANSACTIONID_ISSET_ID, value);
-
 
221633
    }
-
 
221634
 
-
 
221635
    public long getCustomerId() {
-
 
221636
      return this.customerId;
-
 
221637
    }
-
 
221638
 
-
 
221639
    public void setCustomerId(long customerId) {
-
 
221640
      this.customerId = customerId;
-
 
221641
      setCustomerIdIsSet(true);
-
 
221642
    }
-
 
221643
 
-
 
221644
    public void unsetCustomerId() {
-
 
221645
      __isset_bit_vector.clear(__CUSTOMERID_ISSET_ID);
-
 
221646
    }
-
 
221647
 
-
 
221648
    /** Returns true if field customerId is set (has been assigned a value) and false otherwise */
-
 
221649
    public boolean isSetCustomerId() {
-
 
221650
      return __isset_bit_vector.get(__CUSTOMERID_ISSET_ID);
-
 
221651
    }
-
 
221652
 
-
 
221653
    public void setCustomerIdIsSet(boolean value) {
-
 
221654
      __isset_bit_vector.set(__CUSTOMERID_ISSET_ID, value);
-
 
221655
    }
-
 
221656
 
-
 
221657
    public void setFieldValue(_Fields field, Object value) {
-
 
221658
      switch (field) {
-
 
221659
      case STATUS_LIST:
-
 
221660
        if (value == null) {
-
 
221661
          unsetStatusList();
-
 
221662
        } else {
-
 
221663
          setStatusList((List<ReturnTransactionStatus>)value);
-
 
221664
        }
-
 
221665
        break;
-
 
221666
 
-
 
221667
      case CUSTOMER_MOBILE:
-
 
221668
        if (value == null) {
-
 
221669
          unsetCustomerMobile();
-
 
221670
        } else {
-
 
221671
          setCustomerMobile((String)value);
-
 
221672
        }
-
 
221673
        break;
-
 
221674
 
-
 
221675
      case CUSTOMER_EMAIL:
-
 
221676
        if (value == null) {
-
 
221677
          unsetCustomerEmail();
-
 
221678
        } else {
-
 
221679
          setCustomerEmail((String)value);
-
 
221680
        }
-
 
221681
        break;
-
 
221682
 
-
 
221683
      case RETURN_TRANSACTION_ID:
-
 
221684
        if (value == null) {
-
 
221685
          unsetReturnTransactionId();
-
 
221686
        } else {
-
 
221687
          setReturnTransactionId((Long)value);
-
 
221688
        }
-
 
221689
        break;
-
 
221690
 
-
 
221691
      case CUSTOMER_ID:
-
 
221692
        if (value == null) {
-
 
221693
          unsetCustomerId();
-
 
221694
        } else {
-
 
221695
          setCustomerId((Long)value);
-
 
221696
        }
-
 
221697
        break;
-
 
221698
 
-
 
221699
      }
-
 
221700
    }
-
 
221701
 
-
 
221702
    public Object getFieldValue(_Fields field) {
-
 
221703
      switch (field) {
-
 
221704
      case STATUS_LIST:
-
 
221705
        return getStatusList();
-
 
221706
 
-
 
221707
      case CUSTOMER_MOBILE:
-
 
221708
        return getCustomerMobile();
-
 
221709
 
-
 
221710
      case CUSTOMER_EMAIL:
-
 
221711
        return getCustomerEmail();
-
 
221712
 
-
 
221713
      case RETURN_TRANSACTION_ID:
-
 
221714
        return Long.valueOf(getReturnTransactionId());
-
 
221715
 
-
 
221716
      case CUSTOMER_ID:
-
 
221717
        return Long.valueOf(getCustomerId());
-
 
221718
 
-
 
221719
      }
-
 
221720
      throw new IllegalStateException();
-
 
221721
    }
-
 
221722
 
-
 
221723
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
221724
    public boolean isSet(_Fields field) {
-
 
221725
      if (field == null) {
-
 
221726
        throw new IllegalArgumentException();
-
 
221727
      }
-
 
221728
 
-
 
221729
      switch (field) {
-
 
221730
      case STATUS_LIST:
-
 
221731
        return isSetStatusList();
-
 
221732
      case CUSTOMER_MOBILE:
-
 
221733
        return isSetCustomerMobile();
-
 
221734
      case CUSTOMER_EMAIL:
-
 
221735
        return isSetCustomerEmail();
-
 
221736
      case RETURN_TRANSACTION_ID:
-
 
221737
        return isSetReturnTransactionId();
-
 
221738
      case CUSTOMER_ID:
-
 
221739
        return isSetCustomerId();
-
 
221740
      }
-
 
221741
      throw new IllegalStateException();
-
 
221742
    }
-
 
221743
 
-
 
221744
    @Override
-
 
221745
    public boolean equals(Object that) {
-
 
221746
      if (that == null)
-
 
221747
        return false;
-
 
221748
      if (that instanceof getReturnTransactionsForCustomer_args)
-
 
221749
        return this.equals((getReturnTransactionsForCustomer_args)that);
-
 
221750
      return false;
-
 
221751
    }
-
 
221752
 
-
 
221753
    public boolean equals(getReturnTransactionsForCustomer_args that) {
-
 
221754
      if (that == null)
-
 
221755
        return false;
-
 
221756
 
-
 
221757
      boolean this_present_statusList = true && this.isSetStatusList();
-
 
221758
      boolean that_present_statusList = true && that.isSetStatusList();
-
 
221759
      if (this_present_statusList || that_present_statusList) {
-
 
221760
        if (!(this_present_statusList && that_present_statusList))
-
 
221761
          return false;
-
 
221762
        if (!this.statusList.equals(that.statusList))
-
 
221763
          return false;
-
 
221764
      }
-
 
221765
 
-
 
221766
      boolean this_present_customerMobile = true && this.isSetCustomerMobile();
-
 
221767
      boolean that_present_customerMobile = true && that.isSetCustomerMobile();
-
 
221768
      if (this_present_customerMobile || that_present_customerMobile) {
-
 
221769
        if (!(this_present_customerMobile && that_present_customerMobile))
-
 
221770
          return false;
-
 
221771
        if (!this.customerMobile.equals(that.customerMobile))
-
 
221772
          return false;
-
 
221773
      }
-
 
221774
 
-
 
221775
      boolean this_present_customerEmail = true && this.isSetCustomerEmail();
-
 
221776
      boolean that_present_customerEmail = true && that.isSetCustomerEmail();
-
 
221777
      if (this_present_customerEmail || that_present_customerEmail) {
-
 
221778
        if (!(this_present_customerEmail && that_present_customerEmail))
-
 
221779
          return false;
-
 
221780
        if (!this.customerEmail.equals(that.customerEmail))
-
 
221781
          return false;
-
 
221782
      }
-
 
221783
 
-
 
221784
      boolean this_present_returnTransactionId = true;
-
 
221785
      boolean that_present_returnTransactionId = true;
-
 
221786
      if (this_present_returnTransactionId || that_present_returnTransactionId) {
-
 
221787
        if (!(this_present_returnTransactionId && that_present_returnTransactionId))
-
 
221788
          return false;
-
 
221789
        if (this.returnTransactionId != that.returnTransactionId)
-
 
221790
          return false;
-
 
221791
      }
-
 
221792
 
-
 
221793
      boolean this_present_customerId = true;
-
 
221794
      boolean that_present_customerId = true;
-
 
221795
      if (this_present_customerId || that_present_customerId) {
-
 
221796
        if (!(this_present_customerId && that_present_customerId))
-
 
221797
          return false;
-
 
221798
        if (this.customerId != that.customerId)
-
 
221799
          return false;
-
 
221800
      }
-
 
221801
 
-
 
221802
      return true;
-
 
221803
    }
-
 
221804
 
-
 
221805
    @Override
-
 
221806
    public int hashCode() {
-
 
221807
      return 0;
-
 
221808
    }
-
 
221809
 
-
 
221810
    public int compareTo(getReturnTransactionsForCustomer_args other) {
-
 
221811
      if (!getClass().equals(other.getClass())) {
-
 
221812
        return getClass().getName().compareTo(other.getClass().getName());
-
 
221813
      }
-
 
221814
 
-
 
221815
      int lastComparison = 0;
-
 
221816
      getReturnTransactionsForCustomer_args typedOther = (getReturnTransactionsForCustomer_args)other;
-
 
221817
 
-
 
221818
      lastComparison = Boolean.valueOf(isSetStatusList()).compareTo(typedOther.isSetStatusList());
-
 
221819
      if (lastComparison != 0) {
-
 
221820
        return lastComparison;
-
 
221821
      }
-
 
221822
      if (isSetStatusList()) {
-
 
221823
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statusList, typedOther.statusList);
-
 
221824
        if (lastComparison != 0) {
-
 
221825
          return lastComparison;
-
 
221826
        }
-
 
221827
      }
-
 
221828
      lastComparison = Boolean.valueOf(isSetCustomerMobile()).compareTo(typedOther.isSetCustomerMobile());
-
 
221829
      if (lastComparison != 0) {
-
 
221830
        return lastComparison;
-
 
221831
      }
-
 
221832
      if (isSetCustomerMobile()) {
-
 
221833
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerMobile, typedOther.customerMobile);
-
 
221834
        if (lastComparison != 0) {
-
 
221835
          return lastComparison;
-
 
221836
        }
-
 
221837
      }
-
 
221838
      lastComparison = Boolean.valueOf(isSetCustomerEmail()).compareTo(typedOther.isSetCustomerEmail());
-
 
221839
      if (lastComparison != 0) {
-
 
221840
        return lastComparison;
-
 
221841
      }
-
 
221842
      if (isSetCustomerEmail()) {
-
 
221843
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerEmail, typedOther.customerEmail);
-
 
221844
        if (lastComparison != 0) {
-
 
221845
          return lastComparison;
-
 
221846
        }
-
 
221847
      }
-
 
221848
      lastComparison = Boolean.valueOf(isSetReturnTransactionId()).compareTo(typedOther.isSetReturnTransactionId());
-
 
221849
      if (lastComparison != 0) {
-
 
221850
        return lastComparison;
-
 
221851
      }
-
 
221852
      if (isSetReturnTransactionId()) {
-
 
221853
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnTransactionId, typedOther.returnTransactionId);
-
 
221854
        if (lastComparison != 0) {
-
 
221855
          return lastComparison;
-
 
221856
        }
-
 
221857
      }
-
 
221858
      lastComparison = Boolean.valueOf(isSetCustomerId()).compareTo(typedOther.isSetCustomerId());
-
 
221859
      if (lastComparison != 0) {
-
 
221860
        return lastComparison;
-
 
221861
      }
-
 
221862
      if (isSetCustomerId()) {
-
 
221863
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerId, typedOther.customerId);
-
 
221864
        if (lastComparison != 0) {
-
 
221865
          return lastComparison;
-
 
221866
        }
-
 
221867
      }
-
 
221868
      return 0;
-
 
221869
    }
-
 
221870
 
-
 
221871
    public _Fields fieldForId(int fieldId) {
-
 
221872
      return _Fields.findByThriftId(fieldId);
-
 
221873
    }
-
 
221874
 
-
 
221875
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
221876
      org.apache.thrift.protocol.TField field;
-
 
221877
      iprot.readStructBegin();
-
 
221878
      while (true)
-
 
221879
      {
-
 
221880
        field = iprot.readFieldBegin();
-
 
221881
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
221882
          break;
-
 
221883
        }
-
 
221884
        switch (field.id) {
-
 
221885
          case 1: // STATUS_LIST
-
 
221886
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
221887
              {
-
 
221888
                org.apache.thrift.protocol.TList _list771 = iprot.readListBegin();
-
 
221889
                this.statusList = new ArrayList<ReturnTransactionStatus>(_list771.size);
-
 
221890
                for (int _i772 = 0; _i772 < _list771.size; ++_i772)
-
 
221891
                {
-
 
221892
                  ReturnTransactionStatus _elem773; // required
-
 
221893
                  _elem773 = ReturnTransactionStatus.findByValue(iprot.readI32());
-
 
221894
                  this.statusList.add(_elem773);
-
 
221895
                }
-
 
221896
                iprot.readListEnd();
-
 
221897
              }
-
 
221898
            } else { 
-
 
221899
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
221900
            }
-
 
221901
            break;
-
 
221902
          case 2: // CUSTOMER_MOBILE
-
 
221903
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
221904
              this.customerMobile = iprot.readString();
-
 
221905
            } else { 
-
 
221906
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
221907
            }
-
 
221908
            break;
-
 
221909
          case 3: // CUSTOMER_EMAIL
-
 
221910
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
221911
              this.customerEmail = iprot.readString();
-
 
221912
            } else { 
-
 
221913
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
221914
            }
-
 
221915
            break;
-
 
221916
          case 4: // RETURN_TRANSACTION_ID
-
 
221917
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
221918
              this.returnTransactionId = iprot.readI64();
-
 
221919
              setReturnTransactionIdIsSet(true);
-
 
221920
            } else { 
-
 
221921
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
221922
            }
-
 
221923
            break;
-
 
221924
          case 5: // CUSTOMER_ID
-
 
221925
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
221926
              this.customerId = iprot.readI64();
-
 
221927
              setCustomerIdIsSet(true);
-
 
221928
            } else { 
-
 
221929
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
221930
            }
-
 
221931
            break;
-
 
221932
          default:
-
 
221933
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
221934
        }
-
 
221935
        iprot.readFieldEnd();
-
 
221936
      }
-
 
221937
      iprot.readStructEnd();
-
 
221938
      validate();
-
 
221939
    }
-
 
221940
 
-
 
221941
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
221942
      validate();
-
 
221943
 
-
 
221944
      oprot.writeStructBegin(STRUCT_DESC);
-
 
221945
      if (this.statusList != null) {
-
 
221946
        oprot.writeFieldBegin(STATUS_LIST_FIELD_DESC);
-
 
221947
        {
-
 
221948
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statusList.size()));
-
 
221949
          for (ReturnTransactionStatus _iter774 : this.statusList)
-
 
221950
          {
-
 
221951
            oprot.writeI32(_iter774.getValue());
-
 
221952
          }
-
 
221953
          oprot.writeListEnd();
-
 
221954
        }
-
 
221955
        oprot.writeFieldEnd();
-
 
221956
      }
-
 
221957
      if (this.customerMobile != null) {
-
 
221958
        oprot.writeFieldBegin(CUSTOMER_MOBILE_FIELD_DESC);
-
 
221959
        oprot.writeString(this.customerMobile);
-
 
221960
        oprot.writeFieldEnd();
-
 
221961
      }
-
 
221962
      if (this.customerEmail != null) {
-
 
221963
        oprot.writeFieldBegin(CUSTOMER_EMAIL_FIELD_DESC);
-
 
221964
        oprot.writeString(this.customerEmail);
-
 
221965
        oprot.writeFieldEnd();
-
 
221966
      }
-
 
221967
      oprot.writeFieldBegin(RETURN_TRANSACTION_ID_FIELD_DESC);
-
 
221968
      oprot.writeI64(this.returnTransactionId);
-
 
221969
      oprot.writeFieldEnd();
-
 
221970
      oprot.writeFieldBegin(CUSTOMER_ID_FIELD_DESC);
-
 
221971
      oprot.writeI64(this.customerId);
-
 
221972
      oprot.writeFieldEnd();
-
 
221973
      oprot.writeFieldStop();
-
 
221974
      oprot.writeStructEnd();
-
 
221975
    }
-
 
221976
 
-
 
221977
    @Override
-
 
221978
    public String toString() {
-
 
221979
      StringBuilder sb = new StringBuilder("getReturnTransactionsForCustomer_args(");
-
 
221980
      boolean first = true;
-
 
221981
 
-
 
221982
      sb.append("statusList:");
-
 
221983
      if (this.statusList == null) {
-
 
221984
        sb.append("null");
-
 
221985
      } else {
-
 
221986
        sb.append(this.statusList);
-
 
221987
      }
-
 
221988
      first = false;
-
 
221989
      if (!first) sb.append(", ");
-
 
221990
      sb.append("customerMobile:");
-
 
221991
      if (this.customerMobile == null) {
-
 
221992
        sb.append("null");
-
 
221993
      } else {
-
 
221994
        sb.append(this.customerMobile);
-
 
221995
      }
-
 
221996
      first = false;
-
 
221997
      if (!first) sb.append(", ");
-
 
221998
      sb.append("customerEmail:");
-
 
221999
      if (this.customerEmail == null) {
-
 
222000
        sb.append("null");
-
 
222001
      } else {
-
 
222002
        sb.append(this.customerEmail);
-
 
222003
      }
-
 
222004
      first = false;
-
 
222005
      if (!first) sb.append(", ");
-
 
222006
      sb.append("returnTransactionId:");
-
 
222007
      sb.append(this.returnTransactionId);
-
 
222008
      first = false;
-
 
222009
      if (!first) sb.append(", ");
-
 
222010
      sb.append("customerId:");
-
 
222011
      sb.append(this.customerId);
-
 
222012
      first = false;
-
 
222013
      sb.append(")");
-
 
222014
      return sb.toString();
-
 
222015
    }
-
 
222016
 
-
 
222017
    public void validate() throws org.apache.thrift.TException {
-
 
222018
      // check for required fields
-
 
222019
    }
-
 
222020
 
-
 
222021
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
222022
      try {
-
 
222023
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
222024
      } catch (org.apache.thrift.TException te) {
-
 
222025
        throw new java.io.IOException(te);
-
 
222026
      }
-
 
222027
    }
-
 
222028
 
-
 
222029
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
222030
      try {
-
 
222031
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
222032
        __isset_bit_vector = new BitSet(1);
-
 
222033
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
222034
      } catch (org.apache.thrift.TException te) {
-
 
222035
        throw new java.io.IOException(te);
-
 
222036
      }
-
 
222037
    }
-
 
222038
 
-
 
222039
  }
-
 
222040
 
-
 
222041
  public static class getReturnTransactionsForCustomer_result implements org.apache.thrift.TBase<getReturnTransactionsForCustomer_result, getReturnTransactionsForCustomer_result._Fields>, java.io.Serializable, Cloneable   {
-
 
222042
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnTransactionsForCustomer_result");
-
 
222043
 
-
 
222044
    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);
-
 
222045
    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);
-
 
222046
 
-
 
222047
    private List<ReturnTransaction> success; // required
-
 
222048
    private TransactionServiceException ex; // required
-
 
222049
 
-
 
222050
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
222051
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
222052
      SUCCESS((short)0, "success"),
-
 
222053
      EX((short)1, "ex");
-
 
222054
 
-
 
222055
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
222056
 
-
 
222057
      static {
-
 
222058
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
222059
          byName.put(field.getFieldName(), field);
-
 
222060
        }
-
 
222061
      }
-
 
222062
 
-
 
222063
      /**
-
 
222064
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
222065
       */
-
 
222066
      public static _Fields findByThriftId(int fieldId) {
-
 
222067
        switch(fieldId) {
-
 
222068
          case 0: // SUCCESS
-
 
222069
            return SUCCESS;
-
 
222070
          case 1: // EX
-
 
222071
            return EX;
-
 
222072
          default:
-
 
222073
            return null;
-
 
222074
        }
-
 
222075
      }
-
 
222076
 
-
 
222077
      /**
-
 
222078
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
222079
       * if it is not found.
-
 
222080
       */
-
 
222081
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
222082
        _Fields fields = findByThriftId(fieldId);
-
 
222083
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
222084
        return fields;
-
 
222085
      }
-
 
222086
 
-
 
222087
      /**
-
 
222088
       * Find the _Fields constant that matches name, or null if its not found.
-
 
222089
       */
-
 
222090
      public static _Fields findByName(String name) {
-
 
222091
        return byName.get(name);
-
 
222092
      }
-
 
222093
 
-
 
222094
      private final short _thriftId;
-
 
222095
      private final String _fieldName;
-
 
222096
 
-
 
222097
      _Fields(short thriftId, String fieldName) {
-
 
222098
        _thriftId = thriftId;
-
 
222099
        _fieldName = fieldName;
-
 
222100
      }
-
 
222101
 
-
 
222102
      public short getThriftFieldId() {
-
 
222103
        return _thriftId;
-
 
222104
      }
-
 
222105
 
-
 
222106
      public String getFieldName() {
-
 
222107
        return _fieldName;
-
 
222108
      }
-
 
222109
    }
-
 
222110
 
-
 
222111
    // isset id assignments
-
 
222112
 
-
 
222113
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
222114
    static {
-
 
222115
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
222116
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
222117
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
222118
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnTransaction.class))));
-
 
222119
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
222120
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
222121
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
222122
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReturnTransactionsForCustomer_result.class, metaDataMap);
-
 
222123
    }
-
 
222124
 
-
 
222125
    public getReturnTransactionsForCustomer_result() {
-
 
222126
    }
-
 
222127
 
-
 
222128
    public getReturnTransactionsForCustomer_result(
-
 
222129
      List<ReturnTransaction> success,
-
 
222130
      TransactionServiceException ex)
-
 
222131
    {
-
 
222132
      this();
-
 
222133
      this.success = success;
-
 
222134
      this.ex = ex;
-
 
222135
    }
-
 
222136
 
-
 
222137
    /**
-
 
222138
     * Performs a deep copy on <i>other</i>.
-
 
222139
     */
-
 
222140
    public getReturnTransactionsForCustomer_result(getReturnTransactionsForCustomer_result other) {
-
 
222141
      if (other.isSetSuccess()) {
-
 
222142
        List<ReturnTransaction> __this__success = new ArrayList<ReturnTransaction>();
-
 
222143
        for (ReturnTransaction other_element : other.success) {
-
 
222144
          __this__success.add(new ReturnTransaction(other_element));
-
 
222145
        }
-
 
222146
        this.success = __this__success;
-
 
222147
      }
-
 
222148
      if (other.isSetEx()) {
-
 
222149
        this.ex = new TransactionServiceException(other.ex);
-
 
222150
      }
-
 
222151
    }
-
 
222152
 
-
 
222153
    public getReturnTransactionsForCustomer_result deepCopy() {
-
 
222154
      return new getReturnTransactionsForCustomer_result(this);
-
 
222155
    }
-
 
222156
 
-
 
222157
    @Override
-
 
222158
    public void clear() {
-
 
222159
      this.success = null;
-
 
222160
      this.ex = null;
-
 
222161
    }
-
 
222162
 
-
 
222163
    public int getSuccessSize() {
-
 
222164
      return (this.success == null) ? 0 : this.success.size();
-
 
222165
    }
-
 
222166
 
-
 
222167
    public java.util.Iterator<ReturnTransaction> getSuccessIterator() {
-
 
222168
      return (this.success == null) ? null : this.success.iterator();
-
 
222169
    }
-
 
222170
 
-
 
222171
    public void addToSuccess(ReturnTransaction elem) {
-
 
222172
      if (this.success == null) {
-
 
222173
        this.success = new ArrayList<ReturnTransaction>();
-
 
222174
      }
-
 
222175
      this.success.add(elem);
-
 
222176
    }
-
 
222177
 
-
 
222178
    public List<ReturnTransaction> getSuccess() {
-
 
222179
      return this.success;
-
 
222180
    }
-
 
222181
 
-
 
222182
    public void setSuccess(List<ReturnTransaction> success) {
-
 
222183
      this.success = success;
-
 
222184
    }
-
 
222185
 
-
 
222186
    public void unsetSuccess() {
-
 
222187
      this.success = null;
-
 
222188
    }
-
 
222189
 
-
 
222190
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
222191
    public boolean isSetSuccess() {
-
 
222192
      return this.success != null;
-
 
222193
    }
-
 
222194
 
-
 
222195
    public void setSuccessIsSet(boolean value) {
-
 
222196
      if (!value) {
-
 
222197
        this.success = null;
-
 
222198
      }
-
 
222199
    }
-
 
222200
 
-
 
222201
    public TransactionServiceException getEx() {
-
 
222202
      return this.ex;
-
 
222203
    }
-
 
222204
 
-
 
222205
    public void setEx(TransactionServiceException ex) {
-
 
222206
      this.ex = ex;
-
 
222207
    }
-
 
222208
 
-
 
222209
    public void unsetEx() {
-
 
222210
      this.ex = null;
-
 
222211
    }
-
 
222212
 
-
 
222213
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
222214
    public boolean isSetEx() {
-
 
222215
      return this.ex != null;
-
 
222216
    }
-
 
222217
 
-
 
222218
    public void setExIsSet(boolean value) {
-
 
222219
      if (!value) {
-
 
222220
        this.ex = null;
-
 
222221
      }
-
 
222222
    }
-
 
222223
 
-
 
222224
    public void setFieldValue(_Fields field, Object value) {
-
 
222225
      switch (field) {
-
 
222226
      case SUCCESS:
-
 
222227
        if (value == null) {
-
 
222228
          unsetSuccess();
-
 
222229
        } else {
-
 
222230
          setSuccess((List<ReturnTransaction>)value);
-
 
222231
        }
-
 
222232
        break;
-
 
222233
 
-
 
222234
      case EX:
-
 
222235
        if (value == null) {
-
 
222236
          unsetEx();
-
 
222237
        } else {
-
 
222238
          setEx((TransactionServiceException)value);
-
 
222239
        }
-
 
222240
        break;
-
 
222241
 
-
 
222242
      }
-
 
222243
    }
-
 
222244
 
-
 
222245
    public Object getFieldValue(_Fields field) {
-
 
222246
      switch (field) {
-
 
222247
      case SUCCESS:
-
 
222248
        return getSuccess();
-
 
222249
 
-
 
222250
      case EX:
-
 
222251
        return getEx();
-
 
222252
 
-
 
222253
      }
-
 
222254
      throw new IllegalStateException();
-
 
222255
    }
-
 
222256
 
-
 
222257
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
222258
    public boolean isSet(_Fields field) {
-
 
222259
      if (field == null) {
-
 
222260
        throw new IllegalArgumentException();
-
 
222261
      }
-
 
222262
 
-
 
222263
      switch (field) {
-
 
222264
      case SUCCESS:
-
 
222265
        return isSetSuccess();
-
 
222266
      case EX:
-
 
222267
        return isSetEx();
-
 
222268
      }
-
 
222269
      throw new IllegalStateException();
-
 
222270
    }
-
 
222271
 
-
 
222272
    @Override
-
 
222273
    public boolean equals(Object that) {
-
 
222274
      if (that == null)
-
 
222275
        return false;
-
 
222276
      if (that instanceof getReturnTransactionsForCustomer_result)
-
 
222277
        return this.equals((getReturnTransactionsForCustomer_result)that);
-
 
222278
      return false;
-
 
222279
    }
-
 
222280
 
-
 
222281
    public boolean equals(getReturnTransactionsForCustomer_result that) {
-
 
222282
      if (that == null)
-
 
222283
        return false;
-
 
222284
 
-
 
222285
      boolean this_present_success = true && this.isSetSuccess();
-
 
222286
      boolean that_present_success = true && that.isSetSuccess();
-
 
222287
      if (this_present_success || that_present_success) {
-
 
222288
        if (!(this_present_success && that_present_success))
-
 
222289
          return false;
-
 
222290
        if (!this.success.equals(that.success))
-
 
222291
          return false;
-
 
222292
      }
-
 
222293
 
-
 
222294
      boolean this_present_ex = true && this.isSetEx();
-
 
222295
      boolean that_present_ex = true && that.isSetEx();
-
 
222296
      if (this_present_ex || that_present_ex) {
-
 
222297
        if (!(this_present_ex && that_present_ex))
-
 
222298
          return false;
-
 
222299
        if (!this.ex.equals(that.ex))
-
 
222300
          return false;
-
 
222301
      }
-
 
222302
 
-
 
222303
      return true;
-
 
222304
    }
-
 
222305
 
-
 
222306
    @Override
-
 
222307
    public int hashCode() {
-
 
222308
      return 0;
-
 
222309
    }
-
 
222310
 
-
 
222311
    public int compareTo(getReturnTransactionsForCustomer_result other) {
-
 
222312
      if (!getClass().equals(other.getClass())) {
-
 
222313
        return getClass().getName().compareTo(other.getClass().getName());
-
 
222314
      }
-
 
222315
 
-
 
222316
      int lastComparison = 0;
-
 
222317
      getReturnTransactionsForCustomer_result typedOther = (getReturnTransactionsForCustomer_result)other;
-
 
222318
 
-
 
222319
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
222320
      if (lastComparison != 0) {
-
 
222321
        return lastComparison;
-
 
222322
      }
-
 
222323
      if (isSetSuccess()) {
-
 
222324
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
222325
        if (lastComparison != 0) {
-
 
222326
          return lastComparison;
-
 
222327
        }
-
 
222328
      }
-
 
222329
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
222330
      if (lastComparison != 0) {
-
 
222331
        return lastComparison;
-
 
222332
      }
-
 
222333
      if (isSetEx()) {
-
 
222334
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
222335
        if (lastComparison != 0) {
-
 
222336
          return lastComparison;
-
 
222337
        }
-
 
222338
      }
-
 
222339
      return 0;
-
 
222340
    }
-
 
222341
 
-
 
222342
    public _Fields fieldForId(int fieldId) {
-
 
222343
      return _Fields.findByThriftId(fieldId);
-
 
222344
    }
-
 
222345
 
-
 
222346
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
222347
      org.apache.thrift.protocol.TField field;
-
 
222348
      iprot.readStructBegin();
-
 
222349
      while (true)
-
 
222350
      {
-
 
222351
        field = iprot.readFieldBegin();
-
 
222352
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
222353
          break;
-
 
222354
        }
-
 
222355
        switch (field.id) {
-
 
222356
          case 0: // SUCCESS
-
 
222357
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
222358
              {
-
 
222359
                org.apache.thrift.protocol.TList _list775 = iprot.readListBegin();
-
 
222360
                this.success = new ArrayList<ReturnTransaction>(_list775.size);
-
 
222361
                for (int _i776 = 0; _i776 < _list775.size; ++_i776)
-
 
222362
                {
-
 
222363
                  ReturnTransaction _elem777; // required
-
 
222364
                  _elem777 = new ReturnTransaction();
-
 
222365
                  _elem777.read(iprot);
-
 
222366
                  this.success.add(_elem777);
-
 
222367
                }
-
 
222368
                iprot.readListEnd();
-
 
222369
              }
-
 
222370
            } else { 
-
 
222371
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
222372
            }
-
 
222373
            break;
-
 
222374
          case 1: // EX
-
 
222375
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
222376
              this.ex = new TransactionServiceException();
-
 
222377
              this.ex.read(iprot);
-
 
222378
            } else { 
-
 
222379
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
222380
            }
-
 
222381
            break;
-
 
222382
          default:
-
 
222383
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
222384
        }
-
 
222385
        iprot.readFieldEnd();
-
 
222386
      }
-
 
222387
      iprot.readStructEnd();
-
 
222388
      validate();
-
 
222389
    }
-
 
222390
 
-
 
222391
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
222392
      oprot.writeStructBegin(STRUCT_DESC);
-
 
222393
 
-
 
222394
      if (this.isSetSuccess()) {
-
 
222395
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
222396
        {
-
 
222397
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
222398
          for (ReturnTransaction _iter778 : this.success)
-
 
222399
          {
-
 
222400
            _iter778.write(oprot);
-
 
222401
          }
-
 
222402
          oprot.writeListEnd();
-
 
222403
        }
-
 
222404
        oprot.writeFieldEnd();
-
 
222405
      } else if (this.isSetEx()) {
-
 
222406
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
222407
        this.ex.write(oprot);
-
 
222408
        oprot.writeFieldEnd();
-
 
222409
      }
-
 
222410
      oprot.writeFieldStop();
-
 
222411
      oprot.writeStructEnd();
-
 
222412
    }
-
 
222413
 
-
 
222414
    @Override
-
 
222415
    public String toString() {
-
 
222416
      StringBuilder sb = new StringBuilder("getReturnTransactionsForCustomer_result(");
-
 
222417
      boolean first = true;
-
 
222418
 
-
 
222419
      sb.append("success:");
-
 
222420
      if (this.success == null) {
-
 
222421
        sb.append("null");
-
 
222422
      } else {
-
 
222423
        sb.append(this.success);
-
 
222424
      }
-
 
222425
      first = false;
-
 
222426
      if (!first) sb.append(", ");
-
 
222427
      sb.append("ex:");
-
 
222428
      if (this.ex == null) {
-
 
222429
        sb.append("null");
-
 
222430
      } else {
-
 
222431
        sb.append(this.ex);
-
 
222432
      }
-
 
222433
      first = false;
-
 
222434
      sb.append(")");
-
 
222435
      return sb.toString();
-
 
222436
    }
-
 
222437
 
-
 
222438
    public void validate() throws org.apache.thrift.TException {
-
 
222439
      // check for required fields
-
 
222440
    }
-
 
222441
 
-
 
222442
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
222443
      try {
-
 
222444
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
222445
      } catch (org.apache.thrift.TException te) {
-
 
222446
        throw new java.io.IOException(te);
-
 
222447
      }
-
 
222448
    }
-
 
222449
 
-
 
222450
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
222451
      try {
-
 
222452
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
222453
      } catch (org.apache.thrift.TException te) {
-
 
222454
        throw new java.io.IOException(te);
-
 
222455
      }
-
 
222456
    }
-
 
222457
 
-
 
222458
  }
-
 
222459
 
-
 
222460
  public static class verifyOrderForTransaction_args implements org.apache.thrift.TBase<verifyOrderForTransaction_args, verifyOrderForTransaction_args._Fields>, java.io.Serializable, Cloneable   {
-
 
222461
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("verifyOrderForTransaction_args");
-
 
222462
 
-
 
222463
    private static final org.apache.thrift.protocol.TField TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
222464
 
-
 
222465
    private long transactionId; // required
-
 
222466
 
-
 
222467
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
222468
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
222469
      TRANSACTION_ID((short)1, "transactionId");
-
 
222470
 
-
 
222471
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
222472
 
-
 
222473
      static {
-
 
222474
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
222475
          byName.put(field.getFieldName(), field);
-
 
222476
        }
-
 
222477
      }
-
 
222478
 
-
 
222479
      /**
-
 
222480
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
222481
       */
-
 
222482
      public static _Fields findByThriftId(int fieldId) {
-
 
222483
        switch(fieldId) {
-
 
222484
          case 1: // TRANSACTION_ID
-
 
222485
            return TRANSACTION_ID;
-
 
222486
          default:
-
 
222487
            return null;
-
 
222488
        }
-
 
222489
      }
-
 
222490
 
-
 
222491
      /**
-
 
222492
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
222493
       * if it is not found.
-
 
222494
       */
-
 
222495
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
222496
        _Fields fields = findByThriftId(fieldId);
-
 
222497
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
222498
        return fields;
-
 
222499
      }
-
 
222500
 
-
 
222501
      /**
-
 
222502
       * Find the _Fields constant that matches name, or null if its not found.
-
 
222503
       */
-
 
222504
      public static _Fields findByName(String name) {
-
 
222505
        return byName.get(name);
-
 
222506
      }
-
 
222507
 
-
 
222508
      private final short _thriftId;
-
 
222509
      private final String _fieldName;
-
 
222510
 
-
 
222511
      _Fields(short thriftId, String fieldName) {
-
 
222512
        _thriftId = thriftId;
-
 
222513
        _fieldName = fieldName;
-
 
222514
      }
-
 
222515
 
-
 
222516
      public short getThriftFieldId() {
-
 
222517
        return _thriftId;
-
 
222518
      }
-
 
222519
 
-
 
222520
      public String getFieldName() {
-
 
222521
        return _fieldName;
-
 
222522
      }
-
 
222523
    }
-
 
222524
 
-
 
222525
    // isset id assignments
-
 
222526
    private static final int __TRANSACTIONID_ISSET_ID = 0;
-
 
222527
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
222528
 
-
 
222529
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
222530
    static {
-
 
222531
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
222532
      tmpMap.put(_Fields.TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("transactionId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
222533
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
222534
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
222535
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(verifyOrderForTransaction_args.class, metaDataMap);
-
 
222536
    }
-
 
222537
 
-
 
222538
    public verifyOrderForTransaction_args() {
-
 
222539
    }
-
 
222540
 
-
 
222541
    public verifyOrderForTransaction_args(
-
 
222542
      long transactionId)
-
 
222543
    {
-
 
222544
      this();
-
 
222545
      this.transactionId = transactionId;
-
 
222546
      setTransactionIdIsSet(true);
-
 
222547
    }
-
 
222548
 
-
 
222549
    /**
-
 
222550
     * Performs a deep copy on <i>other</i>.
-
 
222551
     */
-
 
222552
    public verifyOrderForTransaction_args(verifyOrderForTransaction_args other) {
-
 
222553
      __isset_bit_vector.clear();
-
 
222554
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
222555
      this.transactionId = other.transactionId;
-
 
222556
    }
-
 
222557
 
-
 
222558
    public verifyOrderForTransaction_args deepCopy() {
-
 
222559
      return new verifyOrderForTransaction_args(this);
-
 
222560
    }
-
 
222561
 
-
 
222562
    @Override
-
 
222563
    public void clear() {
-
 
222564
      setTransactionIdIsSet(false);
-
 
222565
      this.transactionId = 0;
-
 
222566
    }
-
 
222567
 
-
 
222568
    public long getTransactionId() {
-
 
222569
      return this.transactionId;
-
 
222570
    }
-
 
222571
 
-
 
222572
    public void setTransactionId(long transactionId) {
-
 
222573
      this.transactionId = transactionId;
-
 
222574
      setTransactionIdIsSet(true);
-
 
222575
    }
-
 
222576
 
-
 
222577
    public void unsetTransactionId() {
-
 
222578
      __isset_bit_vector.clear(__TRANSACTIONID_ISSET_ID);
-
 
222579
    }
-
 
222580
 
-
 
222581
    /** Returns true if field transactionId is set (has been assigned a value) and false otherwise */
-
 
222582
    public boolean isSetTransactionId() {
-
 
222583
      return __isset_bit_vector.get(__TRANSACTIONID_ISSET_ID);
-
 
222584
    }
-
 
222585
 
-
 
222586
    public void setTransactionIdIsSet(boolean value) {
-
 
222587
      __isset_bit_vector.set(__TRANSACTIONID_ISSET_ID, value);
-
 
222588
    }
-
 
222589
 
-
 
222590
    public void setFieldValue(_Fields field, Object value) {
-
 
222591
      switch (field) {
-
 
222592
      case TRANSACTION_ID:
-
 
222593
        if (value == null) {
-
 
222594
          unsetTransactionId();
-
 
222595
        } else {
-
 
222596
          setTransactionId((Long)value);
-
 
222597
        }
-
 
222598
        break;
-
 
222599
 
-
 
222600
      }
-
 
222601
    }
-
 
222602
 
-
 
222603
    public Object getFieldValue(_Fields field) {
-
 
222604
      switch (field) {
-
 
222605
      case TRANSACTION_ID:
-
 
222606
        return Long.valueOf(getTransactionId());
-
 
222607
 
-
 
222608
      }
-
 
222609
      throw new IllegalStateException();
-
 
222610
    }
-
 
222611
 
-
 
222612
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
222613
    public boolean isSet(_Fields field) {
-
 
222614
      if (field == null) {
-
 
222615
        throw new IllegalArgumentException();
-
 
222616
      }
-
 
222617
 
-
 
222618
      switch (field) {
-
 
222619
      case TRANSACTION_ID:
-
 
222620
        return isSetTransactionId();
-
 
222621
      }
-
 
222622
      throw new IllegalStateException();
-
 
222623
    }
-
 
222624
 
-
 
222625
    @Override
-
 
222626
    public boolean equals(Object that) {
-
 
222627
      if (that == null)
-
 
222628
        return false;
-
 
222629
      if (that instanceof verifyOrderForTransaction_args)
-
 
222630
        return this.equals((verifyOrderForTransaction_args)that);
-
 
222631
      return false;
-
 
222632
    }
-
 
222633
 
-
 
222634
    public boolean equals(verifyOrderForTransaction_args that) {
-
 
222635
      if (that == null)
-
 
222636
        return false;
-
 
222637
 
-
 
222638
      boolean this_present_transactionId = true;
-
 
222639
      boolean that_present_transactionId = true;
-
 
222640
      if (this_present_transactionId || that_present_transactionId) {
-
 
222641
        if (!(this_present_transactionId && that_present_transactionId))
-
 
222642
          return false;
-
 
222643
        if (this.transactionId != that.transactionId)
-
 
222644
          return false;
-
 
222645
      }
-
 
222646
 
-
 
222647
      return true;
-
 
222648
    }
-
 
222649
 
-
 
222650
    @Override
-
 
222651
    public int hashCode() {
-
 
222652
      return 0;
-
 
222653
    }
-
 
222654
 
-
 
222655
    public int compareTo(verifyOrderForTransaction_args other) {
-
 
222656
      if (!getClass().equals(other.getClass())) {
-
 
222657
        return getClass().getName().compareTo(other.getClass().getName());
-
 
222658
      }
-
 
222659
 
-
 
222660
      int lastComparison = 0;
-
 
222661
      verifyOrderForTransaction_args typedOther = (verifyOrderForTransaction_args)other;
-
 
222662
 
-
 
222663
      lastComparison = Boolean.valueOf(isSetTransactionId()).compareTo(typedOther.isSetTransactionId());
-
 
222664
      if (lastComparison != 0) {
-
 
222665
        return lastComparison;
-
 
222666
      }
-
 
222667
      if (isSetTransactionId()) {
-
 
222668
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transactionId, typedOther.transactionId);
-
 
222669
        if (lastComparison != 0) {
-
 
222670
          return lastComparison;
-
 
222671
        }
-
 
222672
      }
-
 
222673
      return 0;
-
 
222674
    }
-
 
222675
 
-
 
222676
    public _Fields fieldForId(int fieldId) {
-
 
222677
      return _Fields.findByThriftId(fieldId);
-
 
222678
    }
-
 
222679
 
-
 
222680
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
222681
      org.apache.thrift.protocol.TField field;
-
 
222682
      iprot.readStructBegin();
-
 
222683
      while (true)
-
 
222684
      {
-
 
222685
        field = iprot.readFieldBegin();
-
 
222686
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
222687
          break;
-
 
222688
        }
-
 
222689
        switch (field.id) {
-
 
222690
          case 1: // TRANSACTION_ID
-
 
222691
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
222692
              this.transactionId = iprot.readI64();
-
 
222693
              setTransactionIdIsSet(true);
-
 
222694
            } else { 
-
 
222695
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
222696
            }
-
 
222697
            break;
-
 
222698
          default:
-
 
222699
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
222700
        }
-
 
222701
        iprot.readFieldEnd();
-
 
222702
      }
-
 
222703
      iprot.readStructEnd();
-
 
222704
      validate();
-
 
222705
    }
-
 
222706
 
-
 
222707
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
222708
      validate();
-
 
222709
 
-
 
222710
      oprot.writeStructBegin(STRUCT_DESC);
-
 
222711
      oprot.writeFieldBegin(TRANSACTION_ID_FIELD_DESC);
-
 
222712
      oprot.writeI64(this.transactionId);
-
 
222713
      oprot.writeFieldEnd();
-
 
222714
      oprot.writeFieldStop();
-
 
222715
      oprot.writeStructEnd();
-
 
222716
    }
-
 
222717
 
-
 
222718
    @Override
-
 
222719
    public String toString() {
-
 
222720
      StringBuilder sb = new StringBuilder("verifyOrderForTransaction_args(");
-
 
222721
      boolean first = true;
-
 
222722
 
-
 
222723
      sb.append("transactionId:");
-
 
222724
      sb.append(this.transactionId);
-
 
222725
      first = false;
-
 
222726
      sb.append(")");
-
 
222727
      return sb.toString();
-
 
222728
    }
-
 
222729
 
-
 
222730
    public void validate() throws org.apache.thrift.TException {
-
 
222731
      // check for required fields
-
 
222732
    }
-
 
222733
 
-
 
222734
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
222735
      try {
-
 
222736
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
222737
      } catch (org.apache.thrift.TException te) {
-
 
222738
        throw new java.io.IOException(te);
-
 
222739
      }
-
 
222740
    }
-
 
222741
 
-
 
222742
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
222743
      try {
-
 
222744
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
222745
        __isset_bit_vector = new BitSet(1);
-
 
222746
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
222747
      } catch (org.apache.thrift.TException te) {
-
 
222748
        throw new java.io.IOException(te);
-
 
222749
      }
-
 
222750
    }
-
 
222751
 
-
 
222752
  }
-
 
222753
 
-
 
222754
  public static class verifyOrderForTransaction_result implements org.apache.thrift.TBase<verifyOrderForTransaction_result, verifyOrderForTransaction_result._Fields>, java.io.Serializable, Cloneable   {
-
 
222755
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("verifyOrderForTransaction_result");
-
 
222756
 
-
 
222757
    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);
-
 
222758
    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);
-
 
222759
 
-
 
222760
    private boolean success; // required
-
 
222761
    private TransactionServiceException ex; // required
-
 
222762
 
-
 
222763
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
222764
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
222765
      SUCCESS((short)0, "success"),
-
 
222766
      EX((short)1, "ex");
-
 
222767
 
-
 
222768
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
222769
 
-
 
222770
      static {
-
 
222771
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
222772
          byName.put(field.getFieldName(), field);
-
 
222773
        }
-
 
222774
      }
-
 
222775
 
-
 
222776
      /**
-
 
222777
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
222778
       */
-
 
222779
      public static _Fields findByThriftId(int fieldId) {
-
 
222780
        switch(fieldId) {
-
 
222781
          case 0: // SUCCESS
-
 
222782
            return SUCCESS;
-
 
222783
          case 1: // EX
-
 
222784
            return EX;
-
 
222785
          default:
-
 
222786
            return null;
-
 
222787
        }
-
 
222788
      }
-
 
222789
 
-
 
222790
      /**
-
 
222791
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
222792
       * if it is not found.
-
 
222793
       */
-
 
222794
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
222795
        _Fields fields = findByThriftId(fieldId);
-
 
222796
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
222797
        return fields;
-
 
222798
      }
-
 
222799
 
-
 
222800
      /**
-
 
222801
       * Find the _Fields constant that matches name, or null if its not found.
-
 
222802
       */
-
 
222803
      public static _Fields findByName(String name) {
-
 
222804
        return byName.get(name);
-
 
222805
      }
-
 
222806
 
-
 
222807
      private final short _thriftId;
-
 
222808
      private final String _fieldName;
-
 
222809
 
-
 
222810
      _Fields(short thriftId, String fieldName) {
-
 
222811
        _thriftId = thriftId;
-
 
222812
        _fieldName = fieldName;
-
 
222813
      }
-
 
222814
 
-
 
222815
      public short getThriftFieldId() {
-
 
222816
        return _thriftId;
-
 
222817
      }
-
 
222818
 
-
 
222819
      public String getFieldName() {
-
 
222820
        return _fieldName;
-
 
222821
      }
-
 
222822
    }
-
 
222823
 
-
 
222824
    // isset id assignments
-
 
222825
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
222826
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
222827
 
-
 
222828
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
222829
    static {
-
 
222830
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
222831
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
222832
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
222833
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
222834
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
222835
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
222836
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(verifyOrderForTransaction_result.class, metaDataMap);
-
 
222837
    }
-
 
222838
 
-
 
222839
    public verifyOrderForTransaction_result() {
-
 
222840
    }
-
 
222841
 
-
 
222842
    public verifyOrderForTransaction_result(
-
 
222843
      boolean success,
-
 
222844
      TransactionServiceException ex)
-
 
222845
    {
-
 
222846
      this();
-
 
222847
      this.success = success;
-
 
222848
      setSuccessIsSet(true);
-
 
222849
      this.ex = ex;
-
 
222850
    }
-
 
222851
 
-
 
222852
    /**
-
 
222853
     * Performs a deep copy on <i>other</i>.
-
 
222854
     */
-
 
222855
    public verifyOrderForTransaction_result(verifyOrderForTransaction_result other) {
-
 
222856
      __isset_bit_vector.clear();
-
 
222857
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
222858
      this.success = other.success;
-
 
222859
      if (other.isSetEx()) {
-
 
222860
        this.ex = new TransactionServiceException(other.ex);
-
 
222861
      }
-
 
222862
    }
-
 
222863
 
-
 
222864
    public verifyOrderForTransaction_result deepCopy() {
-
 
222865
      return new verifyOrderForTransaction_result(this);
-
 
222866
    }
-
 
222867
 
-
 
222868
    @Override
-
 
222869
    public void clear() {
-
 
222870
      setSuccessIsSet(false);
-
 
222871
      this.success = false;
-
 
222872
      this.ex = null;
-
 
222873
    }
-
 
222874
 
-
 
222875
    public boolean isSuccess() {
-
 
222876
      return this.success;
-
 
222877
    }
-
 
222878
 
-
 
222879
    public void setSuccess(boolean success) {
-
 
222880
      this.success = success;
-
 
222881
      setSuccessIsSet(true);
-
 
222882
    }
-
 
222883
 
-
 
222884
    public void unsetSuccess() {
-
 
222885
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
222886
    }
-
 
222887
 
-
 
222888
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
222889
    public boolean isSetSuccess() {
-
 
222890
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
222891
    }
-
 
222892
 
-
 
222893
    public void setSuccessIsSet(boolean value) {
-
 
222894
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
222895
    }
-
 
222896
 
-
 
222897
    public TransactionServiceException getEx() {
-
 
222898
      return this.ex;
-
 
222899
    }
-
 
222900
 
-
 
222901
    public void setEx(TransactionServiceException ex) {
-
 
222902
      this.ex = ex;
-
 
222903
    }
-
 
222904
 
-
 
222905
    public void unsetEx() {
-
 
222906
      this.ex = null;
-
 
222907
    }
-
 
222908
 
-
 
222909
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
222910
    public boolean isSetEx() {
-
 
222911
      return this.ex != null;
-
 
222912
    }
-
 
222913
 
-
 
222914
    public void setExIsSet(boolean value) {
-
 
222915
      if (!value) {
-
 
222916
        this.ex = null;
-
 
222917
      }
-
 
222918
    }
-
 
222919
 
-
 
222920
    public void setFieldValue(_Fields field, Object value) {
-
 
222921
      switch (field) {
-
 
222922
      case SUCCESS:
-
 
222923
        if (value == null) {
-
 
222924
          unsetSuccess();
-
 
222925
        } else {
-
 
222926
          setSuccess((Boolean)value);
-
 
222927
        }
-
 
222928
        break;
-
 
222929
 
-
 
222930
      case EX:
-
 
222931
        if (value == null) {
-
 
222932
          unsetEx();
-
 
222933
        } else {
-
 
222934
          setEx((TransactionServiceException)value);
-
 
222935
        }
-
 
222936
        break;
-
 
222937
 
-
 
222938
      }
-
 
222939
    }
-
 
222940
 
-
 
222941
    public Object getFieldValue(_Fields field) {
-
 
222942
      switch (field) {
-
 
222943
      case SUCCESS:
-
 
222944
        return Boolean.valueOf(isSuccess());
-
 
222945
 
-
 
222946
      case EX:
-
 
222947
        return getEx();
-
 
222948
 
-
 
222949
      }
-
 
222950
      throw new IllegalStateException();
-
 
222951
    }
-
 
222952
 
-
 
222953
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
222954
    public boolean isSet(_Fields field) {
-
 
222955
      if (field == null) {
-
 
222956
        throw new IllegalArgumentException();
-
 
222957
      }
-
 
222958
 
-
 
222959
      switch (field) {
-
 
222960
      case SUCCESS:
-
 
222961
        return isSetSuccess();
-
 
222962
      case EX:
-
 
222963
        return isSetEx();
-
 
222964
      }
-
 
222965
      throw new IllegalStateException();
-
 
222966
    }
-
 
222967
 
-
 
222968
    @Override
-
 
222969
    public boolean equals(Object that) {
-
 
222970
      if (that == null)
-
 
222971
        return false;
-
 
222972
      if (that instanceof verifyOrderForTransaction_result)
-
 
222973
        return this.equals((verifyOrderForTransaction_result)that);
-
 
222974
      return false;
-
 
222975
    }
-
 
222976
 
-
 
222977
    public boolean equals(verifyOrderForTransaction_result that) {
-
 
222978
      if (that == null)
-
 
222979
        return false;
-
 
222980
 
-
 
222981
      boolean this_present_success = true;
-
 
222982
      boolean that_present_success = true;
-
 
222983
      if (this_present_success || that_present_success) {
-
 
222984
        if (!(this_present_success && that_present_success))
-
 
222985
          return false;
-
 
222986
        if (this.success != that.success)
-
 
222987
          return false;
-
 
222988
      }
-
 
222989
 
-
 
222990
      boolean this_present_ex = true && this.isSetEx();
-
 
222991
      boolean that_present_ex = true && that.isSetEx();
-
 
222992
      if (this_present_ex || that_present_ex) {
-
 
222993
        if (!(this_present_ex && that_present_ex))
-
 
222994
          return false;
-
 
222995
        if (!this.ex.equals(that.ex))
-
 
222996
          return false;
-
 
222997
      }
-
 
222998
 
-
 
222999
      return true;
-
 
223000
    }
-
 
223001
 
-
 
223002
    @Override
-
 
223003
    public int hashCode() {
-
 
223004
      return 0;
-
 
223005
    }
-
 
223006
 
-
 
223007
    public int compareTo(verifyOrderForTransaction_result other) {
-
 
223008
      if (!getClass().equals(other.getClass())) {
-
 
223009
        return getClass().getName().compareTo(other.getClass().getName());
-
 
223010
      }
-
 
223011
 
-
 
223012
      int lastComparison = 0;
-
 
223013
      verifyOrderForTransaction_result typedOther = (verifyOrderForTransaction_result)other;
-
 
223014
 
-
 
223015
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
223016
      if (lastComparison != 0) {
-
 
223017
        return lastComparison;
-
 
223018
      }
-
 
223019
      if (isSetSuccess()) {
-
 
223020
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
223021
        if (lastComparison != 0) {
-
 
223022
          return lastComparison;
-
 
223023
        }
-
 
223024
      }
-
 
223025
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
223026
      if (lastComparison != 0) {
-
 
223027
        return lastComparison;
-
 
223028
      }
-
 
223029
      if (isSetEx()) {
-
 
223030
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
223031
        if (lastComparison != 0) {
-
 
223032
          return lastComparison;
-
 
223033
        }
-
 
223034
      }
-
 
223035
      return 0;
-
 
223036
    }
-
 
223037
 
-
 
223038
    public _Fields fieldForId(int fieldId) {
-
 
223039
      return _Fields.findByThriftId(fieldId);
-
 
223040
    }
-
 
223041
 
-
 
223042
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
223043
      org.apache.thrift.protocol.TField field;
-
 
223044
      iprot.readStructBegin();
-
 
223045
      while (true)
-
 
223046
      {
-
 
223047
        field = iprot.readFieldBegin();
-
 
223048
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
223049
          break;
-
 
223050
        }
-
 
223051
        switch (field.id) {
-
 
223052
          case 0: // SUCCESS
-
 
223053
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
223054
              this.success = iprot.readBool();
-
 
223055
              setSuccessIsSet(true);
-
 
223056
            } else { 
-
 
223057
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
223058
            }
-
 
223059
            break;
-
 
223060
          case 1: // EX
-
 
223061
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
223062
              this.ex = new TransactionServiceException();
-
 
223063
              this.ex.read(iprot);
-
 
223064
            } else { 
-
 
223065
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
223066
            }
-
 
223067
            break;
-
 
223068
          default:
-
 
223069
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
223070
        }
-
 
223071
        iprot.readFieldEnd();
-
 
223072
      }
-
 
223073
      iprot.readStructEnd();
-
 
223074
      validate();
-
 
223075
    }
-
 
223076
 
-
 
223077
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
223078
      oprot.writeStructBegin(STRUCT_DESC);
-
 
223079
 
-
 
223080
      if (this.isSetSuccess()) {
-
 
223081
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
223082
        oprot.writeBool(this.success);
-
 
223083
        oprot.writeFieldEnd();
-
 
223084
      } else if (this.isSetEx()) {
-
 
223085
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
223086
        this.ex.write(oprot);
-
 
223087
        oprot.writeFieldEnd();
-
 
223088
      }
-
 
223089
      oprot.writeFieldStop();
-
 
223090
      oprot.writeStructEnd();
-
 
223091
    }
-
 
223092
 
-
 
223093
    @Override
-
 
223094
    public String toString() {
-
 
223095
      StringBuilder sb = new StringBuilder("verifyOrderForTransaction_result(");
-
 
223096
      boolean first = true;
-
 
223097
 
-
 
223098
      sb.append("success:");
-
 
223099
      sb.append(this.success);
-
 
223100
      first = false;
-
 
223101
      if (!first) sb.append(", ");
-
 
223102
      sb.append("ex:");
-
 
223103
      if (this.ex == null) {
-
 
223104
        sb.append("null");
-
 
223105
      } else {
-
 
223106
        sb.append(this.ex);
-
 
223107
      }
-
 
223108
      first = false;
-
 
223109
      sb.append(")");
-
 
223110
      return sb.toString();
-
 
223111
    }
199143
 
223112
 
199144
    public void validate() throws org.apache.thrift.TException {
223113
    public void validate() throws org.apache.thrift.TException {
199145
      // check for required fields
223114
      // check for required fields
199146
    }
223115
    }
199147
 
223116