Subversion Repositories SmartDukaan

Rev

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

Rev 18634 Rev 18769
Line 1145... Line 1145...
1145
 
1145
 
1146
    public List<LoanHistory> getLoanHistoryRecordsForUserAndCreditor(long userId, long creditorId, CreditTxnType creditTxnType) throws org.apache.thrift.TException;
1146
    public List<LoanHistory> getLoanHistoryRecordsForUserAndCreditor(long userId, long creditorId, CreditTxnType creditTxnType) throws org.apache.thrift.TException;
1147
 
1147
 
1148
    public boolean processLoanTransaction(long paymentId, long userId, long creditorId, List<LoanHistory> creditTxns) throws TransactionServiceException, org.apache.thrift.TException;
1148
    public boolean processLoanTransaction(long paymentId, long userId, long creditorId, List<LoanHistory> creditTxns) throws TransactionServiceException, org.apache.thrift.TException;
1149
 
1149
 
-
 
1150
    public List<CreditHistory> getLimitedCreditHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset) throws org.apache.thrift.TException;
-
 
1151
 
-
 
1152
    public List<LoanHistory> getLimitedLoanHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset) throws org.apache.thrift.TException;
-
 
1153
 
1150
    public ReturnOrderInfo getReturnOrderInfo(long id) throws TransactionServiceException, org.apache.thrift.TException;
1154
    public ReturnOrderInfo getReturnOrderInfo(long id) throws TransactionServiceException, org.apache.thrift.TException;
1151
 
1155
 
1152
    public Map<Long,List<ReturnOrderInfo>> getReturnOrderInfoList(List<Long> order_ids) throws org.apache.thrift.TException;
1156
    public Map<Long,List<ReturnOrderInfo>> getReturnOrderInfoList(List<Long> order_ids) throws org.apache.thrift.TException;
1153
 
1157
 
1154
    public Map<Long,List<ReturnOrderInfo>> getReturnOrderInfoListAsByStatus(List<Long> order_ids, List<String> statuses) throws org.apache.thrift.TException;
1158
    public Map<Long,List<ReturnOrderInfo>> getReturnOrderInfoListAsByStatus(List<Long> order_ids, List<String> statuses) throws org.apache.thrift.TException;
Line 1715... Line 1719...
1715
 
1719
 
1716
    public void getLoanHistoryRecordsForUserAndCreditor(long userId, long creditorId, CreditTxnType creditTxnType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLoanHistoryRecordsForUserAndCreditor_call> resultHandler) throws org.apache.thrift.TException;
1720
    public void getLoanHistoryRecordsForUserAndCreditor(long userId, long creditorId, CreditTxnType creditTxnType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLoanHistoryRecordsForUserAndCreditor_call> resultHandler) throws org.apache.thrift.TException;
1717
 
1721
 
1718
    public void processLoanTransaction(long paymentId, long userId, long creditorId, List<LoanHistory> creditTxns, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.processLoanTransaction_call> resultHandler) throws org.apache.thrift.TException;
1722
    public void processLoanTransaction(long paymentId, long userId, long creditorId, List<LoanHistory> creditTxns, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.processLoanTransaction_call> resultHandler) throws org.apache.thrift.TException;
1719
 
1723
 
-
 
1724
    public void getLimitedCreditHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLimitedCreditHistoryRecords_call> resultHandler) throws org.apache.thrift.TException;
-
 
1725
 
-
 
1726
    public void getLimitedLoanHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLimitedLoanHistoryRecords_call> resultHandler) throws org.apache.thrift.TException;
-
 
1727
 
1720
    public void getReturnOrderInfo(long id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException;
1728
    public void getReturnOrderInfo(long id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException;
1721
 
1729
 
1722
    public void getReturnOrderInfoList(List<Long> order_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfoList_call> resultHandler) throws org.apache.thrift.TException;
1730
    public void getReturnOrderInfoList(List<Long> order_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfoList_call> resultHandler) throws org.apache.thrift.TException;
1723
 
1731
 
1724
    public void getReturnOrderInfoListAsByStatus(List<Long> order_ids, List<String> statuses, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfoListAsByStatus_call> resultHandler) throws org.apache.thrift.TException;
1732
    public void getReturnOrderInfoListAsByStatus(List<Long> order_ids, List<String> statuses, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfoListAsByStatus_call> resultHandler) throws org.apache.thrift.TException;
Line 8266... Line 8274...
8266
        throw result.pe;
8274
        throw result.pe;
8267
      }
8275
      }
8268
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "processLoanTransaction failed: unknown result");
8276
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "processLoanTransaction failed: unknown result");
8269
    }
8277
    }
8270
 
8278
 
-
 
8279
    public List<CreditHistory> getLimitedCreditHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset) throws org.apache.thrift.TException
-
 
8280
    {
-
 
8281
      send_getLimitedCreditHistoryRecords(paymentId, userId, creditorId, limit, offset);
-
 
8282
      return recv_getLimitedCreditHistoryRecords();
-
 
8283
    }
-
 
8284
 
-
 
8285
    public void send_getLimitedCreditHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset) throws org.apache.thrift.TException
-
 
8286
    {
-
 
8287
      getLimitedCreditHistoryRecords_args args = new getLimitedCreditHistoryRecords_args();
-
 
8288
      args.setPaymentId(paymentId);
-
 
8289
      args.setUserId(userId);
-
 
8290
      args.setCreditorId(creditorId);
-
 
8291
      args.setLimit(limit);
-
 
8292
      args.setOffset(offset);
-
 
8293
      sendBase("getLimitedCreditHistoryRecords", args);
-
 
8294
    }
-
 
8295
 
-
 
8296
    public List<CreditHistory> recv_getLimitedCreditHistoryRecords() throws org.apache.thrift.TException
-
 
8297
    {
-
 
8298
      getLimitedCreditHistoryRecords_result result = new getLimitedCreditHistoryRecords_result();
-
 
8299
      receiveBase(result, "getLimitedCreditHistoryRecords");
-
 
8300
      if (result.isSetSuccess()) {
-
 
8301
        return result.success;
-
 
8302
      }
-
 
8303
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getLimitedCreditHistoryRecords failed: unknown result");
-
 
8304
    }
-
 
8305
 
-
 
8306
    public List<LoanHistory> getLimitedLoanHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset) throws org.apache.thrift.TException
-
 
8307
    {
-
 
8308
      send_getLimitedLoanHistoryRecords(paymentId, userId, creditorId, limit, offset);
-
 
8309
      return recv_getLimitedLoanHistoryRecords();
-
 
8310
    }
-
 
8311
 
-
 
8312
    public void send_getLimitedLoanHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset) throws org.apache.thrift.TException
-
 
8313
    {
-
 
8314
      getLimitedLoanHistoryRecords_args args = new getLimitedLoanHistoryRecords_args();
-
 
8315
      args.setPaymentId(paymentId);
-
 
8316
      args.setUserId(userId);
-
 
8317
      args.setCreditorId(creditorId);
-
 
8318
      args.setLimit(limit);
-
 
8319
      args.setOffset(offset);
-
 
8320
      sendBase("getLimitedLoanHistoryRecords", args);
-
 
8321
    }
-
 
8322
 
-
 
8323
    public List<LoanHistory> recv_getLimitedLoanHistoryRecords() throws org.apache.thrift.TException
-
 
8324
    {
-
 
8325
      getLimitedLoanHistoryRecords_result result = new getLimitedLoanHistoryRecords_result();
-
 
8326
      receiveBase(result, "getLimitedLoanHistoryRecords");
-
 
8327
      if (result.isSetSuccess()) {
-
 
8328
        return result.success;
-
 
8329
      }
-
 
8330
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getLimitedLoanHistoryRecords failed: unknown result");
-
 
8331
    }
-
 
8332
 
8271
    public ReturnOrderInfo getReturnOrderInfo(long id) throws TransactionServiceException, org.apache.thrift.TException
8333
    public ReturnOrderInfo getReturnOrderInfo(long id) throws TransactionServiceException, org.apache.thrift.TException
8272
    {
8334
    {
8273
      send_getReturnOrderInfo(id);
8335
      send_getReturnOrderInfo(id);
8274
      return recv_getReturnOrderInfo();
8336
      return recv_getReturnOrderInfo();
8275
    }
8337
    }
Line 17967... Line 18029...
17967
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
18029
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
17968
        return (new Client(prot)).recv_processLoanTransaction();
18030
        return (new Client(prot)).recv_processLoanTransaction();
17969
      }
18031
      }
17970
    }
18032
    }
17971
 
18033
 
-
 
18034
    public void getLimitedCreditHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset, org.apache.thrift.async.AsyncMethodCallback<getLimitedCreditHistoryRecords_call> resultHandler) throws org.apache.thrift.TException {
-
 
18035
      checkReady();
-
 
18036
      getLimitedCreditHistoryRecords_call method_call = new getLimitedCreditHistoryRecords_call(paymentId, userId, creditorId, limit, offset, resultHandler, this, ___protocolFactory, ___transport);
-
 
18037
      this.___currentMethod = method_call;
-
 
18038
      ___manager.call(method_call);
-
 
18039
    }
-
 
18040
 
-
 
18041
    public static class getLimitedCreditHistoryRecords_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
18042
      private long paymentId;
-
 
18043
      private long userId;
-
 
18044
      private long creditorId;
-
 
18045
      private long limit;
-
 
18046
      private long offset;
-
 
18047
      public getLimitedCreditHistoryRecords_call(long paymentId, long userId, long creditorId, long limit, long offset, org.apache.thrift.async.AsyncMethodCallback<getLimitedCreditHistoryRecords_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 {
-
 
18048
        super(client, protocolFactory, transport, resultHandler, false);
-
 
18049
        this.paymentId = paymentId;
-
 
18050
        this.userId = userId;
-
 
18051
        this.creditorId = creditorId;
-
 
18052
        this.limit = limit;
-
 
18053
        this.offset = offset;
-
 
18054
      }
-
 
18055
 
-
 
18056
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
18057
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getLimitedCreditHistoryRecords", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
18058
        getLimitedCreditHistoryRecords_args args = new getLimitedCreditHistoryRecords_args();
-
 
18059
        args.setPaymentId(paymentId);
-
 
18060
        args.setUserId(userId);
-
 
18061
        args.setCreditorId(creditorId);
-
 
18062
        args.setLimit(limit);
-
 
18063
        args.setOffset(offset);
-
 
18064
        args.write(prot);
-
 
18065
        prot.writeMessageEnd();
-
 
18066
      }
-
 
18067
 
-
 
18068
      public List<CreditHistory> getResult() throws org.apache.thrift.TException {
-
 
18069
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
18070
          throw new IllegalStateException("Method call not finished!");
-
 
18071
        }
-
 
18072
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
18073
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
18074
        return (new Client(prot)).recv_getLimitedCreditHistoryRecords();
-
 
18075
      }
-
 
18076
    }
-
 
18077
 
-
 
18078
    public void getLimitedLoanHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset, org.apache.thrift.async.AsyncMethodCallback<getLimitedLoanHistoryRecords_call> resultHandler) throws org.apache.thrift.TException {
-
 
18079
      checkReady();
-
 
18080
      getLimitedLoanHistoryRecords_call method_call = new getLimitedLoanHistoryRecords_call(paymentId, userId, creditorId, limit, offset, resultHandler, this, ___protocolFactory, ___transport);
-
 
18081
      this.___currentMethod = method_call;
-
 
18082
      ___manager.call(method_call);
-
 
18083
    }
-
 
18084
 
-
 
18085
    public static class getLimitedLoanHistoryRecords_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
18086
      private long paymentId;
-
 
18087
      private long userId;
-
 
18088
      private long creditorId;
-
 
18089
      private long limit;
-
 
18090
      private long offset;
-
 
18091
      public getLimitedLoanHistoryRecords_call(long paymentId, long userId, long creditorId, long limit, long offset, org.apache.thrift.async.AsyncMethodCallback<getLimitedLoanHistoryRecords_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 {
-
 
18092
        super(client, protocolFactory, transport, resultHandler, false);
-
 
18093
        this.paymentId = paymentId;
-
 
18094
        this.userId = userId;
-
 
18095
        this.creditorId = creditorId;
-
 
18096
        this.limit = limit;
-
 
18097
        this.offset = offset;
-
 
18098
      }
-
 
18099
 
-
 
18100
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
18101
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getLimitedLoanHistoryRecords", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
18102
        getLimitedLoanHistoryRecords_args args = new getLimitedLoanHistoryRecords_args();
-
 
18103
        args.setPaymentId(paymentId);
-
 
18104
        args.setUserId(userId);
-
 
18105
        args.setCreditorId(creditorId);
-
 
18106
        args.setLimit(limit);
-
 
18107
        args.setOffset(offset);
-
 
18108
        args.write(prot);
-
 
18109
        prot.writeMessageEnd();
-
 
18110
      }
-
 
18111
 
-
 
18112
      public List<LoanHistory> getResult() throws org.apache.thrift.TException {
-
 
18113
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
18114
          throw new IllegalStateException("Method call not finished!");
-
 
18115
        }
-
 
18116
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
18117
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
18118
        return (new Client(prot)).recv_getLimitedLoanHistoryRecords();
-
 
18119
      }
-
 
18120
    }
-
 
18121
 
17972
    public void getReturnOrderInfo(long id, org.apache.thrift.async.AsyncMethodCallback<getReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException {
18122
    public void getReturnOrderInfo(long id, org.apache.thrift.async.AsyncMethodCallback<getReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException {
17973
      checkReady();
18123
      checkReady();
17974
      getReturnOrderInfo_call method_call = new getReturnOrderInfo_call(id, resultHandler, this, ___protocolFactory, ___transport);
18124
      getReturnOrderInfo_call method_call = new getReturnOrderInfo_call(id, resultHandler, this, ___protocolFactory, ___transport);
17975
      this.___currentMethod = method_call;
18125
      this.___currentMethod = method_call;
17976
      ___manager.call(method_call);
18126
      ___manager.call(method_call);
Line 18919... Line 19069...
18919
      processMap.put("processCreditTransaction", new processCreditTransaction());
19069
      processMap.put("processCreditTransaction", new processCreditTransaction());
18920
      processMap.put("getLoanPayableForUserToCreditor", new getLoanPayableForUserToCreditor());
19070
      processMap.put("getLoanPayableForUserToCreditor", new getLoanPayableForUserToCreditor());
18921
      processMap.put("getLoanHistoryRecordsForTransaction", new getLoanHistoryRecordsForTransaction());
19071
      processMap.put("getLoanHistoryRecordsForTransaction", new getLoanHistoryRecordsForTransaction());
18922
      processMap.put("getLoanHistoryRecordsForUserAndCreditor", new getLoanHistoryRecordsForUserAndCreditor());
19072
      processMap.put("getLoanHistoryRecordsForUserAndCreditor", new getLoanHistoryRecordsForUserAndCreditor());
18923
      processMap.put("processLoanTransaction", new processLoanTransaction());
19073
      processMap.put("processLoanTransaction", new processLoanTransaction());
-
 
19074
      processMap.put("getLimitedCreditHistoryRecords", new getLimitedCreditHistoryRecords());
-
 
19075
      processMap.put("getLimitedLoanHistoryRecords", new getLimitedLoanHistoryRecords());
18924
      processMap.put("getReturnOrderInfo", new getReturnOrderInfo());
19076
      processMap.put("getReturnOrderInfo", new getReturnOrderInfo());
18925
      processMap.put("getReturnOrderInfoList", new getReturnOrderInfoList());
19077
      processMap.put("getReturnOrderInfoList", new getReturnOrderInfoList());
18926
      processMap.put("getReturnOrderInfoListAsByStatus", new getReturnOrderInfoListAsByStatus());
19078
      processMap.put("getReturnOrderInfoListAsByStatus", new getReturnOrderInfoListAsByStatus());
18927
      processMap.put("updateReturnOrderInfo", new updateReturnOrderInfo());
19079
      processMap.put("updateReturnOrderInfo", new updateReturnOrderInfo());
18928
      processMap.put("bulkUpdateReturnOrderInfo", new bulkUpdateReturnOrderInfo());
19080
      processMap.put("bulkUpdateReturnOrderInfo", new bulkUpdateReturnOrderInfo());
Line 23693... Line 23845...
23693
        }
23845
        }
23694
        return result;
23846
        return result;
23695
      }
23847
      }
23696
    }
23848
    }
23697
 
23849
 
-
 
23850
    private static class getLimitedCreditHistoryRecords<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getLimitedCreditHistoryRecords_args> {
-
 
23851
      public getLimitedCreditHistoryRecords() {
-
 
23852
        super("getLimitedCreditHistoryRecords");
-
 
23853
      }
-
 
23854
 
-
 
23855
      protected getLimitedCreditHistoryRecords_args getEmptyArgsInstance() {
-
 
23856
        return new getLimitedCreditHistoryRecords_args();
-
 
23857
      }
-
 
23858
 
-
 
23859
      protected getLimitedCreditHistoryRecords_result getResult(I iface, getLimitedCreditHistoryRecords_args args) throws org.apache.thrift.TException {
-
 
23860
        getLimitedCreditHistoryRecords_result result = new getLimitedCreditHistoryRecords_result();
-
 
23861
        result.success = iface.getLimitedCreditHistoryRecords(args.paymentId, args.userId, args.creditorId, args.limit, args.offset);
-
 
23862
        return result;
-
 
23863
      }
-
 
23864
    }
-
 
23865
 
-
 
23866
    private static class getLimitedLoanHistoryRecords<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getLimitedLoanHistoryRecords_args> {
-
 
23867
      public getLimitedLoanHistoryRecords() {
-
 
23868
        super("getLimitedLoanHistoryRecords");
-
 
23869
      }
-
 
23870
 
-
 
23871
      protected getLimitedLoanHistoryRecords_args getEmptyArgsInstance() {
-
 
23872
        return new getLimitedLoanHistoryRecords_args();
-
 
23873
      }
-
 
23874
 
-
 
23875
      protected getLimitedLoanHistoryRecords_result getResult(I iface, getLimitedLoanHistoryRecords_args args) throws org.apache.thrift.TException {
-
 
23876
        getLimitedLoanHistoryRecords_result result = new getLimitedLoanHistoryRecords_result();
-
 
23877
        result.success = iface.getLimitedLoanHistoryRecords(args.paymentId, args.userId, args.creditorId, args.limit, args.offset);
-
 
23878
        return result;
-
 
23879
      }
-
 
23880
    }
-
 
23881
 
23698
    private static class getReturnOrderInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReturnOrderInfo_args> {
23882
    private static class getReturnOrderInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReturnOrderInfo_args> {
23699
      public getReturnOrderInfo() {
23883
      public getReturnOrderInfo() {
23700
        super("getReturnOrderInfo");
23884
        super("getReturnOrderInfo");
23701
      }
23885
      }
23702
 
23886
 
Line 122149... Line 122333...
122149
      }
122333
      }
122150
    }
122334
    }
122151
 
122335
 
122152
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
122336
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
122153
      try {
122337
      try {
122154
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
122155
        __isset_bit_vector = new BitSet(1);
-
 
122156
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
122338
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
122157
      } catch (org.apache.thrift.TException te) {
122339
      } catch (org.apache.thrift.TException te) {
122158
        throw new java.io.IOException(te);
122340
        throw new java.io.IOException(te);
122159
      }
122341
      }
122160
    }
122342
    }
Line 210852... Line 211034...
210852
      }
211034
      }
210853
    }
211035
    }
210854
 
211036
 
210855
  }
211037
  }
210856
 
211038
 
-
 
211039
  public static class getLimitedCreditHistoryRecords_args implements org.apache.thrift.TBase<getLimitedCreditHistoryRecords_args, getLimitedCreditHistoryRecords_args._Fields>, java.io.Serializable, Cloneable   {
-
 
211040
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getLimitedCreditHistoryRecords_args");
-
 
211041
 
-
 
211042
    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);
-
 
211043
    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)2);
-
 
211044
    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)3);
-
 
211045
    private static final org.apache.thrift.protocol.TField LIMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("limit", org.apache.thrift.protocol.TType.I64, (short)4);
-
 
211046
    private static final org.apache.thrift.protocol.TField OFFSET_FIELD_DESC = new org.apache.thrift.protocol.TField("offset", org.apache.thrift.protocol.TType.I64, (short)5);
-
 
211047
 
-
 
211048
    private long paymentId; // required
-
 
211049
    private long userId; // required
-
 
211050
    private long creditorId; // required
-
 
211051
    private long limit; // required
-
 
211052
    private long offset; // required
-
 
211053
 
-
 
211054
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
211055
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
211056
      PAYMENT_ID((short)1, "paymentId"),
-
 
211057
      USER_ID((short)2, "userId"),
-
 
211058
      CREDITOR_ID((short)3, "creditorId"),
-
 
211059
      LIMIT((short)4, "limit"),
-
 
211060
      OFFSET((short)5, "offset");
-
 
211061
 
-
 
211062
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
211063
 
-
 
211064
      static {
-
 
211065
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
211066
          byName.put(field.getFieldName(), field);
-
 
211067
        }
-
 
211068
      }
-
 
211069
 
-
 
211070
      /**
-
 
211071
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
211072
       */
-
 
211073
      public static _Fields findByThriftId(int fieldId) {
-
 
211074
        switch(fieldId) {
-
 
211075
          case 1: // PAYMENT_ID
-
 
211076
            return PAYMENT_ID;
-
 
211077
          case 2: // USER_ID
-
 
211078
            return USER_ID;
-
 
211079
          case 3: // CREDITOR_ID
-
 
211080
            return CREDITOR_ID;
-
 
211081
          case 4: // LIMIT
-
 
211082
            return LIMIT;
-
 
211083
          case 5: // OFFSET
-
 
211084
            return OFFSET;
-
 
211085
          default:
-
 
211086
            return null;
-
 
211087
        }
-
 
211088
      }
-
 
211089
 
-
 
211090
      /**
-
 
211091
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
211092
       * if it is not found.
-
 
211093
       */
-
 
211094
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
211095
        _Fields fields = findByThriftId(fieldId);
-
 
211096
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
211097
        return fields;
-
 
211098
      }
-
 
211099
 
-
 
211100
      /**
-
 
211101
       * Find the _Fields constant that matches name, or null if its not found.
-
 
211102
       */
-
 
211103
      public static _Fields findByName(String name) {
-
 
211104
        return byName.get(name);
-
 
211105
      }
-
 
211106
 
-
 
211107
      private final short _thriftId;
-
 
211108
      private final String _fieldName;
-
 
211109
 
-
 
211110
      _Fields(short thriftId, String fieldName) {
-
 
211111
        _thriftId = thriftId;
-
 
211112
        _fieldName = fieldName;
-
 
211113
      }
-
 
211114
 
-
 
211115
      public short getThriftFieldId() {
-
 
211116
        return _thriftId;
-
 
211117
      }
-
 
211118
 
-
 
211119
      public String getFieldName() {
-
 
211120
        return _fieldName;
-
 
211121
      }
-
 
211122
    }
-
 
211123
 
-
 
211124
    // isset id assignments
-
 
211125
    private static final int __PAYMENTID_ISSET_ID = 0;
-
 
211126
    private static final int __USERID_ISSET_ID = 1;
-
 
211127
    private static final int __CREDITORID_ISSET_ID = 2;
-
 
211128
    private static final int __LIMIT_ISSET_ID = 3;
-
 
211129
    private static final int __OFFSET_ISSET_ID = 4;
-
 
211130
    private BitSet __isset_bit_vector = new BitSet(5);
-
 
211131
 
-
 
211132
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
211133
    static {
-
 
211134
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
211135
      tmpMap.put(_Fields.PAYMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("paymentId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
211136
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
211137
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
211138
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
211139
      tmpMap.put(_Fields.CREDITOR_ID, new org.apache.thrift.meta_data.FieldMetaData("creditorId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
211140
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
211141
      tmpMap.put(_Fields.LIMIT, new org.apache.thrift.meta_data.FieldMetaData("limit", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
211142
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
211143
      tmpMap.put(_Fields.OFFSET, new org.apache.thrift.meta_data.FieldMetaData("offset", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
211144
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
211145
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
211146
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getLimitedCreditHistoryRecords_args.class, metaDataMap);
-
 
211147
    }
-
 
211148
 
-
 
211149
    public getLimitedCreditHistoryRecords_args() {
-
 
211150
    }
-
 
211151
 
-
 
211152
    public getLimitedCreditHistoryRecords_args(
-
 
211153
      long paymentId,
-
 
211154
      long userId,
-
 
211155
      long creditorId,
-
 
211156
      long limit,
-
 
211157
      long offset)
-
 
211158
    {
-
 
211159
      this();
-
 
211160
      this.paymentId = paymentId;
-
 
211161
      setPaymentIdIsSet(true);
-
 
211162
      this.userId = userId;
-
 
211163
      setUserIdIsSet(true);
-
 
211164
      this.creditorId = creditorId;
-
 
211165
      setCreditorIdIsSet(true);
-
 
211166
      this.limit = limit;
-
 
211167
      setLimitIsSet(true);
-
 
211168
      this.offset = offset;
-
 
211169
      setOffsetIsSet(true);
-
 
211170
    }
-
 
211171
 
-
 
211172
    /**
-
 
211173
     * Performs a deep copy on <i>other</i>.
-
 
211174
     */
-
 
211175
    public getLimitedCreditHistoryRecords_args(getLimitedCreditHistoryRecords_args other) {
-
 
211176
      __isset_bit_vector.clear();
-
 
211177
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
211178
      this.paymentId = other.paymentId;
-
 
211179
      this.userId = other.userId;
-
 
211180
      this.creditorId = other.creditorId;
-
 
211181
      this.limit = other.limit;
-
 
211182
      this.offset = other.offset;
-
 
211183
    }
-
 
211184
 
-
 
211185
    public getLimitedCreditHistoryRecords_args deepCopy() {
-
 
211186
      return new getLimitedCreditHistoryRecords_args(this);
-
 
211187
    }
-
 
211188
 
-
 
211189
    @Override
-
 
211190
    public void clear() {
-
 
211191
      setPaymentIdIsSet(false);
-
 
211192
      this.paymentId = 0;
-
 
211193
      setUserIdIsSet(false);
-
 
211194
      this.userId = 0;
-
 
211195
      setCreditorIdIsSet(false);
-
 
211196
      this.creditorId = 0;
-
 
211197
      setLimitIsSet(false);
-
 
211198
      this.limit = 0;
-
 
211199
      setOffsetIsSet(false);
-
 
211200
      this.offset = 0;
-
 
211201
    }
-
 
211202
 
-
 
211203
    public long getPaymentId() {
-
 
211204
      return this.paymentId;
-
 
211205
    }
-
 
211206
 
-
 
211207
    public void setPaymentId(long paymentId) {
-
 
211208
      this.paymentId = paymentId;
-
 
211209
      setPaymentIdIsSet(true);
-
 
211210
    }
-
 
211211
 
-
 
211212
    public void unsetPaymentId() {
-
 
211213
      __isset_bit_vector.clear(__PAYMENTID_ISSET_ID);
-
 
211214
    }
-
 
211215
 
-
 
211216
    /** Returns true if field paymentId is set (has been assigned a value) and false otherwise */
-
 
211217
    public boolean isSetPaymentId() {
-
 
211218
      return __isset_bit_vector.get(__PAYMENTID_ISSET_ID);
-
 
211219
    }
-
 
211220
 
-
 
211221
    public void setPaymentIdIsSet(boolean value) {
-
 
211222
      __isset_bit_vector.set(__PAYMENTID_ISSET_ID, value);
-
 
211223
    }
-
 
211224
 
-
 
211225
    public long getUserId() {
-
 
211226
      return this.userId;
-
 
211227
    }
-
 
211228
 
-
 
211229
    public void setUserId(long userId) {
-
 
211230
      this.userId = userId;
-
 
211231
      setUserIdIsSet(true);
-
 
211232
    }
-
 
211233
 
-
 
211234
    public void unsetUserId() {
-
 
211235
      __isset_bit_vector.clear(__USERID_ISSET_ID);
-
 
211236
    }
-
 
211237
 
-
 
211238
    /** Returns true if field userId is set (has been assigned a value) and false otherwise */
-
 
211239
    public boolean isSetUserId() {
-
 
211240
      return __isset_bit_vector.get(__USERID_ISSET_ID);
-
 
211241
    }
-
 
211242
 
-
 
211243
    public void setUserIdIsSet(boolean value) {
-
 
211244
      __isset_bit_vector.set(__USERID_ISSET_ID, value);
-
 
211245
    }
-
 
211246
 
-
 
211247
    public long getCreditorId() {
-
 
211248
      return this.creditorId;
-
 
211249
    }
-
 
211250
 
-
 
211251
    public void setCreditorId(long creditorId) {
-
 
211252
      this.creditorId = creditorId;
-
 
211253
      setCreditorIdIsSet(true);
-
 
211254
    }
-
 
211255
 
-
 
211256
    public void unsetCreditorId() {
-
 
211257
      __isset_bit_vector.clear(__CREDITORID_ISSET_ID);
-
 
211258
    }
-
 
211259
 
-
 
211260
    /** Returns true if field creditorId is set (has been assigned a value) and false otherwise */
-
 
211261
    public boolean isSetCreditorId() {
-
 
211262
      return __isset_bit_vector.get(__CREDITORID_ISSET_ID);
-
 
211263
    }
-
 
211264
 
-
 
211265
    public void setCreditorIdIsSet(boolean value) {
-
 
211266
      __isset_bit_vector.set(__CREDITORID_ISSET_ID, value);
-
 
211267
    }
-
 
211268
 
-
 
211269
    public long getLimit() {
-
 
211270
      return this.limit;
-
 
211271
    }
-
 
211272
 
-
 
211273
    public void setLimit(long limit) {
-
 
211274
      this.limit = limit;
-
 
211275
      setLimitIsSet(true);
-
 
211276
    }
-
 
211277
 
-
 
211278
    public void unsetLimit() {
-
 
211279
      __isset_bit_vector.clear(__LIMIT_ISSET_ID);
-
 
211280
    }
-
 
211281
 
-
 
211282
    /** Returns true if field limit is set (has been assigned a value) and false otherwise */
-
 
211283
    public boolean isSetLimit() {
-
 
211284
      return __isset_bit_vector.get(__LIMIT_ISSET_ID);
-
 
211285
    }
-
 
211286
 
-
 
211287
    public void setLimitIsSet(boolean value) {
-
 
211288
      __isset_bit_vector.set(__LIMIT_ISSET_ID, value);
-
 
211289
    }
-
 
211290
 
-
 
211291
    public long getOffset() {
-
 
211292
      return this.offset;
-
 
211293
    }
-
 
211294
 
-
 
211295
    public void setOffset(long offset) {
-
 
211296
      this.offset = offset;
-
 
211297
      setOffsetIsSet(true);
-
 
211298
    }
-
 
211299
 
-
 
211300
    public void unsetOffset() {
-
 
211301
      __isset_bit_vector.clear(__OFFSET_ISSET_ID);
-
 
211302
    }
-
 
211303
 
-
 
211304
    /** Returns true if field offset is set (has been assigned a value) and false otherwise */
-
 
211305
    public boolean isSetOffset() {
-
 
211306
      return __isset_bit_vector.get(__OFFSET_ISSET_ID);
-
 
211307
    }
-
 
211308
 
-
 
211309
    public void setOffsetIsSet(boolean value) {
-
 
211310
      __isset_bit_vector.set(__OFFSET_ISSET_ID, value);
-
 
211311
    }
-
 
211312
 
-
 
211313
    public void setFieldValue(_Fields field, Object value) {
-
 
211314
      switch (field) {
-
 
211315
      case PAYMENT_ID:
-
 
211316
        if (value == null) {
-
 
211317
          unsetPaymentId();
-
 
211318
        } else {
-
 
211319
          setPaymentId((Long)value);
-
 
211320
        }
-
 
211321
        break;
-
 
211322
 
-
 
211323
      case USER_ID:
-
 
211324
        if (value == null) {
-
 
211325
          unsetUserId();
-
 
211326
        } else {
-
 
211327
          setUserId((Long)value);
-
 
211328
        }
-
 
211329
        break;
-
 
211330
 
-
 
211331
      case CREDITOR_ID:
-
 
211332
        if (value == null) {
-
 
211333
          unsetCreditorId();
-
 
211334
        } else {
-
 
211335
          setCreditorId((Long)value);
-
 
211336
        }
-
 
211337
        break;
-
 
211338
 
-
 
211339
      case LIMIT:
-
 
211340
        if (value == null) {
-
 
211341
          unsetLimit();
-
 
211342
        } else {
-
 
211343
          setLimit((Long)value);
-
 
211344
        }
-
 
211345
        break;
-
 
211346
 
-
 
211347
      case OFFSET:
-
 
211348
        if (value == null) {
-
 
211349
          unsetOffset();
-
 
211350
        } else {
-
 
211351
          setOffset((Long)value);
-
 
211352
        }
-
 
211353
        break;
-
 
211354
 
-
 
211355
      }
-
 
211356
    }
-
 
211357
 
-
 
211358
    public Object getFieldValue(_Fields field) {
-
 
211359
      switch (field) {
-
 
211360
      case PAYMENT_ID:
-
 
211361
        return Long.valueOf(getPaymentId());
-
 
211362
 
-
 
211363
      case USER_ID:
-
 
211364
        return Long.valueOf(getUserId());
-
 
211365
 
-
 
211366
      case CREDITOR_ID:
-
 
211367
        return Long.valueOf(getCreditorId());
-
 
211368
 
-
 
211369
      case LIMIT:
-
 
211370
        return Long.valueOf(getLimit());
-
 
211371
 
-
 
211372
      case OFFSET:
-
 
211373
        return Long.valueOf(getOffset());
-
 
211374
 
-
 
211375
      }
-
 
211376
      throw new IllegalStateException();
-
 
211377
    }
-
 
211378
 
-
 
211379
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
211380
    public boolean isSet(_Fields field) {
-
 
211381
      if (field == null) {
-
 
211382
        throw new IllegalArgumentException();
-
 
211383
      }
-
 
211384
 
-
 
211385
      switch (field) {
-
 
211386
      case PAYMENT_ID:
-
 
211387
        return isSetPaymentId();
-
 
211388
      case USER_ID:
-
 
211389
        return isSetUserId();
-
 
211390
      case CREDITOR_ID:
-
 
211391
        return isSetCreditorId();
-
 
211392
      case LIMIT:
-
 
211393
        return isSetLimit();
-
 
211394
      case OFFSET:
-
 
211395
        return isSetOffset();
-
 
211396
      }
-
 
211397
      throw new IllegalStateException();
-
 
211398
    }
-
 
211399
 
-
 
211400
    @Override
-
 
211401
    public boolean equals(Object that) {
-
 
211402
      if (that == null)
-
 
211403
        return false;
-
 
211404
      if (that instanceof getLimitedCreditHistoryRecords_args)
-
 
211405
        return this.equals((getLimitedCreditHistoryRecords_args)that);
-
 
211406
      return false;
-
 
211407
    }
-
 
211408
 
-
 
211409
    public boolean equals(getLimitedCreditHistoryRecords_args that) {
-
 
211410
      if (that == null)
-
 
211411
        return false;
-
 
211412
 
-
 
211413
      boolean this_present_paymentId = true;
-
 
211414
      boolean that_present_paymentId = true;
-
 
211415
      if (this_present_paymentId || that_present_paymentId) {
-
 
211416
        if (!(this_present_paymentId && that_present_paymentId))
-
 
211417
          return false;
-
 
211418
        if (this.paymentId != that.paymentId)
-
 
211419
          return false;
-
 
211420
      }
-
 
211421
 
-
 
211422
      boolean this_present_userId = true;
-
 
211423
      boolean that_present_userId = true;
-
 
211424
      if (this_present_userId || that_present_userId) {
-
 
211425
        if (!(this_present_userId && that_present_userId))
-
 
211426
          return false;
-
 
211427
        if (this.userId != that.userId)
-
 
211428
          return false;
-
 
211429
      }
-
 
211430
 
-
 
211431
      boolean this_present_creditorId = true;
-
 
211432
      boolean that_present_creditorId = true;
-
 
211433
      if (this_present_creditorId || that_present_creditorId) {
-
 
211434
        if (!(this_present_creditorId && that_present_creditorId))
-
 
211435
          return false;
-
 
211436
        if (this.creditorId != that.creditorId)
-
 
211437
          return false;
-
 
211438
      }
-
 
211439
 
-
 
211440
      boolean this_present_limit = true;
-
 
211441
      boolean that_present_limit = true;
-
 
211442
      if (this_present_limit || that_present_limit) {
-
 
211443
        if (!(this_present_limit && that_present_limit))
-
 
211444
          return false;
-
 
211445
        if (this.limit != that.limit)
-
 
211446
          return false;
-
 
211447
      }
-
 
211448
 
-
 
211449
      boolean this_present_offset = true;
-
 
211450
      boolean that_present_offset = true;
-
 
211451
      if (this_present_offset || that_present_offset) {
-
 
211452
        if (!(this_present_offset && that_present_offset))
-
 
211453
          return false;
-
 
211454
        if (this.offset != that.offset)
-
 
211455
          return false;
-
 
211456
      }
-
 
211457
 
-
 
211458
      return true;
-
 
211459
    }
-
 
211460
 
-
 
211461
    @Override
-
 
211462
    public int hashCode() {
-
 
211463
      return 0;
-
 
211464
    }
-
 
211465
 
-
 
211466
    public int compareTo(getLimitedCreditHistoryRecords_args other) {
-
 
211467
      if (!getClass().equals(other.getClass())) {
-
 
211468
        return getClass().getName().compareTo(other.getClass().getName());
-
 
211469
      }
-
 
211470
 
-
 
211471
      int lastComparison = 0;
-
 
211472
      getLimitedCreditHistoryRecords_args typedOther = (getLimitedCreditHistoryRecords_args)other;
-
 
211473
 
-
 
211474
      lastComparison = Boolean.valueOf(isSetPaymentId()).compareTo(typedOther.isSetPaymentId());
-
 
211475
      if (lastComparison != 0) {
-
 
211476
        return lastComparison;
-
 
211477
      }
-
 
211478
      if (isSetPaymentId()) {
-
 
211479
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.paymentId, typedOther.paymentId);
-
 
211480
        if (lastComparison != 0) {
-
 
211481
          return lastComparison;
-
 
211482
        }
-
 
211483
      }
-
 
211484
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
-
 
211485
      if (lastComparison != 0) {
-
 
211486
        return lastComparison;
-
 
211487
      }
-
 
211488
      if (isSetUserId()) {
-
 
211489
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
-
 
211490
        if (lastComparison != 0) {
-
 
211491
          return lastComparison;
-
 
211492
        }
-
 
211493
      }
-
 
211494
      lastComparison = Boolean.valueOf(isSetCreditorId()).compareTo(typedOther.isSetCreditorId());
-
 
211495
      if (lastComparison != 0) {
-
 
211496
        return lastComparison;
-
 
211497
      }
-
 
211498
      if (isSetCreditorId()) {
-
 
211499
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creditorId, typedOther.creditorId);
-
 
211500
        if (lastComparison != 0) {
-
 
211501
          return lastComparison;
-
 
211502
        }
-
 
211503
      }
-
 
211504
      lastComparison = Boolean.valueOf(isSetLimit()).compareTo(typedOther.isSetLimit());
-
 
211505
      if (lastComparison != 0) {
-
 
211506
        return lastComparison;
-
 
211507
      }
-
 
211508
      if (isSetLimit()) {
-
 
211509
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.limit, typedOther.limit);
-
 
211510
        if (lastComparison != 0) {
-
 
211511
          return lastComparison;
-
 
211512
        }
-
 
211513
      }
-
 
211514
      lastComparison = Boolean.valueOf(isSetOffset()).compareTo(typedOther.isSetOffset());
-
 
211515
      if (lastComparison != 0) {
-
 
211516
        return lastComparison;
-
 
211517
      }
-
 
211518
      if (isSetOffset()) {
-
 
211519
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.offset, typedOther.offset);
-
 
211520
        if (lastComparison != 0) {
-
 
211521
          return lastComparison;
-
 
211522
        }
-
 
211523
      }
-
 
211524
      return 0;
-
 
211525
    }
-
 
211526
 
-
 
211527
    public _Fields fieldForId(int fieldId) {
-
 
211528
      return _Fields.findByThriftId(fieldId);
-
 
211529
    }
-
 
211530
 
-
 
211531
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
211532
      org.apache.thrift.protocol.TField field;
-
 
211533
      iprot.readStructBegin();
-
 
211534
      while (true)
-
 
211535
      {
-
 
211536
        field = iprot.readFieldBegin();
-
 
211537
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
211538
          break;
-
 
211539
        }
-
 
211540
        switch (field.id) {
-
 
211541
          case 1: // PAYMENT_ID
-
 
211542
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
211543
              this.paymentId = iprot.readI64();
-
 
211544
              setPaymentIdIsSet(true);
-
 
211545
            } else { 
-
 
211546
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
211547
            }
-
 
211548
            break;
-
 
211549
          case 2: // USER_ID
-
 
211550
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
211551
              this.userId = iprot.readI64();
-
 
211552
              setUserIdIsSet(true);
-
 
211553
            } else { 
-
 
211554
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
211555
            }
-
 
211556
            break;
-
 
211557
          case 3: // CREDITOR_ID
-
 
211558
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
211559
              this.creditorId = iprot.readI64();
-
 
211560
              setCreditorIdIsSet(true);
-
 
211561
            } else { 
-
 
211562
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
211563
            }
-
 
211564
            break;
-
 
211565
          case 4: // LIMIT
-
 
211566
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
211567
              this.limit = iprot.readI64();
-
 
211568
              setLimitIsSet(true);
-
 
211569
            } else { 
-
 
211570
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
211571
            }
-
 
211572
            break;
-
 
211573
          case 5: // OFFSET
-
 
211574
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
211575
              this.offset = iprot.readI64();
-
 
211576
              setOffsetIsSet(true);
-
 
211577
            } else { 
-
 
211578
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
211579
            }
-
 
211580
            break;
-
 
211581
          default:
-
 
211582
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
211583
        }
-
 
211584
        iprot.readFieldEnd();
-
 
211585
      }
-
 
211586
      iprot.readStructEnd();
-
 
211587
      validate();
-
 
211588
    }
-
 
211589
 
-
 
211590
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
211591
      validate();
-
 
211592
 
-
 
211593
      oprot.writeStructBegin(STRUCT_DESC);
-
 
211594
      oprot.writeFieldBegin(PAYMENT_ID_FIELD_DESC);
-
 
211595
      oprot.writeI64(this.paymentId);
-
 
211596
      oprot.writeFieldEnd();
-
 
211597
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
-
 
211598
      oprot.writeI64(this.userId);
-
 
211599
      oprot.writeFieldEnd();
-
 
211600
      oprot.writeFieldBegin(CREDITOR_ID_FIELD_DESC);
-
 
211601
      oprot.writeI64(this.creditorId);
-
 
211602
      oprot.writeFieldEnd();
-
 
211603
      oprot.writeFieldBegin(LIMIT_FIELD_DESC);
-
 
211604
      oprot.writeI64(this.limit);
-
 
211605
      oprot.writeFieldEnd();
-
 
211606
      oprot.writeFieldBegin(OFFSET_FIELD_DESC);
-
 
211607
      oprot.writeI64(this.offset);
-
 
211608
      oprot.writeFieldEnd();
-
 
211609
      oprot.writeFieldStop();
-
 
211610
      oprot.writeStructEnd();
-
 
211611
    }
-
 
211612
 
-
 
211613
    @Override
-
 
211614
    public String toString() {
-
 
211615
      StringBuilder sb = new StringBuilder("getLimitedCreditHistoryRecords_args(");
-
 
211616
      boolean first = true;
-
 
211617
 
-
 
211618
      sb.append("paymentId:");
-
 
211619
      sb.append(this.paymentId);
-
 
211620
      first = false;
-
 
211621
      if (!first) sb.append(", ");
-
 
211622
      sb.append("userId:");
-
 
211623
      sb.append(this.userId);
-
 
211624
      first = false;
-
 
211625
      if (!first) sb.append(", ");
-
 
211626
      sb.append("creditorId:");
-
 
211627
      sb.append(this.creditorId);
-
 
211628
      first = false;
-
 
211629
      if (!first) sb.append(", ");
-
 
211630
      sb.append("limit:");
-
 
211631
      sb.append(this.limit);
-
 
211632
      first = false;
-
 
211633
      if (!first) sb.append(", ");
-
 
211634
      sb.append("offset:");
-
 
211635
      sb.append(this.offset);
-
 
211636
      first = false;
-
 
211637
      sb.append(")");
-
 
211638
      return sb.toString();
-
 
211639
    }
-
 
211640
 
-
 
211641
    public void validate() throws org.apache.thrift.TException {
-
 
211642
      // check for required fields
-
 
211643
    }
-
 
211644
 
-
 
211645
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
211646
      try {
-
 
211647
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
211648
      } catch (org.apache.thrift.TException te) {
-
 
211649
        throw new java.io.IOException(te);
-
 
211650
      }
-
 
211651
    }
-
 
211652
 
-
 
211653
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
211654
      try {
-
 
211655
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
211656
        __isset_bit_vector = new BitSet(1);
-
 
211657
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
211658
      } catch (org.apache.thrift.TException te) {
-
 
211659
        throw new java.io.IOException(te);
-
 
211660
      }
-
 
211661
    }
-
 
211662
 
-
 
211663
  }
-
 
211664
 
-
 
211665
  public static class getLimitedCreditHistoryRecords_result implements org.apache.thrift.TBase<getLimitedCreditHistoryRecords_result, getLimitedCreditHistoryRecords_result._Fields>, java.io.Serializable, Cloneable   {
-
 
211666
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getLimitedCreditHistoryRecords_result");
-
 
211667
 
-
 
211668
    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);
-
 
211669
 
-
 
211670
    private List<CreditHistory> success; // required
-
 
211671
 
-
 
211672
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
211673
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
211674
      SUCCESS((short)0, "success");
-
 
211675
 
-
 
211676
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
211677
 
-
 
211678
      static {
-
 
211679
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
211680
          byName.put(field.getFieldName(), field);
-
 
211681
        }
-
 
211682
      }
-
 
211683
 
-
 
211684
      /**
-
 
211685
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
211686
       */
-
 
211687
      public static _Fields findByThriftId(int fieldId) {
-
 
211688
        switch(fieldId) {
-
 
211689
          case 0: // SUCCESS
-
 
211690
            return SUCCESS;
-
 
211691
          default:
-
 
211692
            return null;
-
 
211693
        }
-
 
211694
      }
-
 
211695
 
-
 
211696
      /**
-
 
211697
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
211698
       * if it is not found.
-
 
211699
       */
-
 
211700
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
211701
        _Fields fields = findByThriftId(fieldId);
-
 
211702
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
211703
        return fields;
-
 
211704
      }
-
 
211705
 
-
 
211706
      /**
-
 
211707
       * Find the _Fields constant that matches name, or null if its not found.
-
 
211708
       */
-
 
211709
      public static _Fields findByName(String name) {
-
 
211710
        return byName.get(name);
-
 
211711
      }
-
 
211712
 
-
 
211713
      private final short _thriftId;
-
 
211714
      private final String _fieldName;
-
 
211715
 
-
 
211716
      _Fields(short thriftId, String fieldName) {
-
 
211717
        _thriftId = thriftId;
-
 
211718
        _fieldName = fieldName;
-
 
211719
      }
-
 
211720
 
-
 
211721
      public short getThriftFieldId() {
-
 
211722
        return _thriftId;
-
 
211723
      }
-
 
211724
 
-
 
211725
      public String getFieldName() {
-
 
211726
        return _fieldName;
-
 
211727
      }
-
 
211728
    }
-
 
211729
 
-
 
211730
    // isset id assignments
-
 
211731
 
-
 
211732
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
211733
    static {
-
 
211734
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
211735
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
211736
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
211737
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CreditHistory.class))));
-
 
211738
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
211739
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getLimitedCreditHistoryRecords_result.class, metaDataMap);
-
 
211740
    }
-
 
211741
 
-
 
211742
    public getLimitedCreditHistoryRecords_result() {
-
 
211743
    }
-
 
211744
 
-
 
211745
    public getLimitedCreditHistoryRecords_result(
-
 
211746
      List<CreditHistory> success)
-
 
211747
    {
-
 
211748
      this();
-
 
211749
      this.success = success;
-
 
211750
    }
-
 
211751
 
-
 
211752
    /**
-
 
211753
     * Performs a deep copy on <i>other</i>.
-
 
211754
     */
-
 
211755
    public getLimitedCreditHistoryRecords_result(getLimitedCreditHistoryRecords_result other) {
-
 
211756
      if (other.isSetSuccess()) {
-
 
211757
        List<CreditHistory> __this__success = new ArrayList<CreditHistory>();
-
 
211758
        for (CreditHistory other_element : other.success) {
-
 
211759
          __this__success.add(new CreditHistory(other_element));
-
 
211760
        }
-
 
211761
        this.success = __this__success;
-
 
211762
      }
-
 
211763
    }
-
 
211764
 
-
 
211765
    public getLimitedCreditHistoryRecords_result deepCopy() {
-
 
211766
      return new getLimitedCreditHistoryRecords_result(this);
-
 
211767
    }
-
 
211768
 
-
 
211769
    @Override
-
 
211770
    public void clear() {
-
 
211771
      this.success = null;
-
 
211772
    }
-
 
211773
 
-
 
211774
    public int getSuccessSize() {
-
 
211775
      return (this.success == null) ? 0 : this.success.size();
-
 
211776
    }
-
 
211777
 
-
 
211778
    public java.util.Iterator<CreditHistory> getSuccessIterator() {
-
 
211779
      return (this.success == null) ? null : this.success.iterator();
-
 
211780
    }
-
 
211781
 
-
 
211782
    public void addToSuccess(CreditHistory elem) {
-
 
211783
      if (this.success == null) {
-
 
211784
        this.success = new ArrayList<CreditHistory>();
-
 
211785
      }
-
 
211786
      this.success.add(elem);
-
 
211787
    }
-
 
211788
 
-
 
211789
    public List<CreditHistory> getSuccess() {
-
 
211790
      return this.success;
-
 
211791
    }
-
 
211792
 
-
 
211793
    public void setSuccess(List<CreditHistory> success) {
-
 
211794
      this.success = success;
-
 
211795
    }
-
 
211796
 
-
 
211797
    public void unsetSuccess() {
-
 
211798
      this.success = null;
-
 
211799
    }
-
 
211800
 
-
 
211801
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
211802
    public boolean isSetSuccess() {
-
 
211803
      return this.success != null;
-
 
211804
    }
-
 
211805
 
-
 
211806
    public void setSuccessIsSet(boolean value) {
-
 
211807
      if (!value) {
-
 
211808
        this.success = null;
-
 
211809
      }
-
 
211810
    }
-
 
211811
 
-
 
211812
    public void setFieldValue(_Fields field, Object value) {
-
 
211813
      switch (field) {
-
 
211814
      case SUCCESS:
-
 
211815
        if (value == null) {
-
 
211816
          unsetSuccess();
-
 
211817
        } else {
-
 
211818
          setSuccess((List<CreditHistory>)value);
-
 
211819
        }
-
 
211820
        break;
-
 
211821
 
-
 
211822
      }
-
 
211823
    }
-
 
211824
 
-
 
211825
    public Object getFieldValue(_Fields field) {
-
 
211826
      switch (field) {
-
 
211827
      case SUCCESS:
-
 
211828
        return getSuccess();
-
 
211829
 
-
 
211830
      }
-
 
211831
      throw new IllegalStateException();
-
 
211832
    }
-
 
211833
 
-
 
211834
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
211835
    public boolean isSet(_Fields field) {
-
 
211836
      if (field == null) {
-
 
211837
        throw new IllegalArgumentException();
-
 
211838
      }
-
 
211839
 
-
 
211840
      switch (field) {
-
 
211841
      case SUCCESS:
-
 
211842
        return isSetSuccess();
-
 
211843
      }
-
 
211844
      throw new IllegalStateException();
-
 
211845
    }
-
 
211846
 
-
 
211847
    @Override
-
 
211848
    public boolean equals(Object that) {
-
 
211849
      if (that == null)
-
 
211850
        return false;
-
 
211851
      if (that instanceof getLimitedCreditHistoryRecords_result)
-
 
211852
        return this.equals((getLimitedCreditHistoryRecords_result)that);
-
 
211853
      return false;
-
 
211854
    }
-
 
211855
 
-
 
211856
    public boolean equals(getLimitedCreditHistoryRecords_result that) {
-
 
211857
      if (that == null)
-
 
211858
        return false;
-
 
211859
 
-
 
211860
      boolean this_present_success = true && this.isSetSuccess();
-
 
211861
      boolean that_present_success = true && that.isSetSuccess();
-
 
211862
      if (this_present_success || that_present_success) {
-
 
211863
        if (!(this_present_success && that_present_success))
-
 
211864
          return false;
-
 
211865
        if (!this.success.equals(that.success))
-
 
211866
          return false;
-
 
211867
      }
-
 
211868
 
-
 
211869
      return true;
-
 
211870
    }
-
 
211871
 
-
 
211872
    @Override
-
 
211873
    public int hashCode() {
-
 
211874
      return 0;
-
 
211875
    }
-
 
211876
 
-
 
211877
    public int compareTo(getLimitedCreditHistoryRecords_result other) {
-
 
211878
      if (!getClass().equals(other.getClass())) {
-
 
211879
        return getClass().getName().compareTo(other.getClass().getName());
-
 
211880
      }
-
 
211881
 
-
 
211882
      int lastComparison = 0;
-
 
211883
      getLimitedCreditHistoryRecords_result typedOther = (getLimitedCreditHistoryRecords_result)other;
-
 
211884
 
-
 
211885
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
211886
      if (lastComparison != 0) {
-
 
211887
        return lastComparison;
-
 
211888
      }
-
 
211889
      if (isSetSuccess()) {
-
 
211890
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
211891
        if (lastComparison != 0) {
-
 
211892
          return lastComparison;
-
 
211893
        }
-
 
211894
      }
-
 
211895
      return 0;
-
 
211896
    }
-
 
211897
 
-
 
211898
    public _Fields fieldForId(int fieldId) {
-
 
211899
      return _Fields.findByThriftId(fieldId);
-
 
211900
    }
-
 
211901
 
-
 
211902
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
211903
      org.apache.thrift.protocol.TField field;
-
 
211904
      iprot.readStructBegin();
-
 
211905
      while (true)
-
 
211906
      {
-
 
211907
        field = iprot.readFieldBegin();
-
 
211908
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
211909
          break;
-
 
211910
        }
-
 
211911
        switch (field.id) {
-
 
211912
          case 0: // SUCCESS
-
 
211913
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
211914
              {
-
 
211915
                org.apache.thrift.protocol.TList _list680 = iprot.readListBegin();
-
 
211916
                this.success = new ArrayList<CreditHistory>(_list680.size);
-
 
211917
                for (int _i681 = 0; _i681 < _list680.size; ++_i681)
-
 
211918
                {
-
 
211919
                  CreditHistory _elem682; // required
-
 
211920
                  _elem682 = new CreditHistory();
-
 
211921
                  _elem682.read(iprot);
-
 
211922
                  this.success.add(_elem682);
-
 
211923
                }
-
 
211924
                iprot.readListEnd();
-
 
211925
              }
-
 
211926
            } else { 
-
 
211927
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
211928
            }
-
 
211929
            break;
-
 
211930
          default:
-
 
211931
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
211932
        }
-
 
211933
        iprot.readFieldEnd();
-
 
211934
      }
-
 
211935
      iprot.readStructEnd();
-
 
211936
      validate();
-
 
211937
    }
-
 
211938
 
-
 
211939
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
211940
      oprot.writeStructBegin(STRUCT_DESC);
-
 
211941
 
-
 
211942
      if (this.isSetSuccess()) {
-
 
211943
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
211944
        {
-
 
211945
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
211946
          for (CreditHistory _iter683 : this.success)
-
 
211947
          {
-
 
211948
            _iter683.write(oprot);
-
 
211949
          }
-
 
211950
          oprot.writeListEnd();
-
 
211951
        }
-
 
211952
        oprot.writeFieldEnd();
-
 
211953
      }
-
 
211954
      oprot.writeFieldStop();
-
 
211955
      oprot.writeStructEnd();
-
 
211956
    }
-
 
211957
 
-
 
211958
    @Override
-
 
211959
    public String toString() {
-
 
211960
      StringBuilder sb = new StringBuilder("getLimitedCreditHistoryRecords_result(");
-
 
211961
      boolean first = true;
-
 
211962
 
-
 
211963
      sb.append("success:");
-
 
211964
      if (this.success == null) {
-
 
211965
        sb.append("null");
-
 
211966
      } else {
-
 
211967
        sb.append(this.success);
-
 
211968
      }
-
 
211969
      first = false;
-
 
211970
      sb.append(")");
-
 
211971
      return sb.toString();
-
 
211972
    }
-
 
211973
 
-
 
211974
    public void validate() throws org.apache.thrift.TException {
-
 
211975
      // check for required fields
-
 
211976
    }
-
 
211977
 
-
 
211978
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
211979
      try {
-
 
211980
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
211981
      } catch (org.apache.thrift.TException te) {
-
 
211982
        throw new java.io.IOException(te);
-
 
211983
      }
-
 
211984
    }
-
 
211985
 
-
 
211986
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
211987
      try {
-
 
211988
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
211989
      } catch (org.apache.thrift.TException te) {
-
 
211990
        throw new java.io.IOException(te);
-
 
211991
      }
-
 
211992
    }
-
 
211993
 
-
 
211994
  }
-
 
211995
 
-
 
211996
  public static class getLimitedLoanHistoryRecords_args implements org.apache.thrift.TBase<getLimitedLoanHistoryRecords_args, getLimitedLoanHistoryRecords_args._Fields>, java.io.Serializable, Cloneable   {
-
 
211997
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getLimitedLoanHistoryRecords_args");
-
 
211998
 
-
 
211999
    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);
-
 
212000
    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)2);
-
 
212001
    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)3);
-
 
212002
    private static final org.apache.thrift.protocol.TField LIMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("limit", org.apache.thrift.protocol.TType.I64, (short)4);
-
 
212003
    private static final org.apache.thrift.protocol.TField OFFSET_FIELD_DESC = new org.apache.thrift.protocol.TField("offset", org.apache.thrift.protocol.TType.I64, (short)5);
-
 
212004
 
-
 
212005
    private long paymentId; // required
-
 
212006
    private long userId; // required
-
 
212007
    private long creditorId; // required
-
 
212008
    private long limit; // required
-
 
212009
    private long offset; // required
-
 
212010
 
-
 
212011
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
212012
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
212013
      PAYMENT_ID((short)1, "paymentId"),
-
 
212014
      USER_ID((short)2, "userId"),
-
 
212015
      CREDITOR_ID((short)3, "creditorId"),
-
 
212016
      LIMIT((short)4, "limit"),
-
 
212017
      OFFSET((short)5, "offset");
-
 
212018
 
-
 
212019
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
212020
 
-
 
212021
      static {
-
 
212022
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
212023
          byName.put(field.getFieldName(), field);
-
 
212024
        }
-
 
212025
      }
-
 
212026
 
-
 
212027
      /**
-
 
212028
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
212029
       */
-
 
212030
      public static _Fields findByThriftId(int fieldId) {
-
 
212031
        switch(fieldId) {
-
 
212032
          case 1: // PAYMENT_ID
-
 
212033
            return PAYMENT_ID;
-
 
212034
          case 2: // USER_ID
-
 
212035
            return USER_ID;
-
 
212036
          case 3: // CREDITOR_ID
-
 
212037
            return CREDITOR_ID;
-
 
212038
          case 4: // LIMIT
-
 
212039
            return LIMIT;
-
 
212040
          case 5: // OFFSET
-
 
212041
            return OFFSET;
-
 
212042
          default:
-
 
212043
            return null;
-
 
212044
        }
-
 
212045
      }
-
 
212046
 
-
 
212047
      /**
-
 
212048
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
212049
       * if it is not found.
-
 
212050
       */
-
 
212051
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
212052
        _Fields fields = findByThriftId(fieldId);
-
 
212053
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
212054
        return fields;
-
 
212055
      }
-
 
212056
 
-
 
212057
      /**
-
 
212058
       * Find the _Fields constant that matches name, or null if its not found.
-
 
212059
       */
-
 
212060
      public static _Fields findByName(String name) {
-
 
212061
        return byName.get(name);
-
 
212062
      }
-
 
212063
 
-
 
212064
      private final short _thriftId;
-
 
212065
      private final String _fieldName;
-
 
212066
 
-
 
212067
      _Fields(short thriftId, String fieldName) {
-
 
212068
        _thriftId = thriftId;
-
 
212069
        _fieldName = fieldName;
-
 
212070
      }
-
 
212071
 
-
 
212072
      public short getThriftFieldId() {
-
 
212073
        return _thriftId;
-
 
212074
      }
-
 
212075
 
-
 
212076
      public String getFieldName() {
-
 
212077
        return _fieldName;
-
 
212078
      }
-
 
212079
    }
-
 
212080
 
-
 
212081
    // isset id assignments
-
 
212082
    private static final int __PAYMENTID_ISSET_ID = 0;
-
 
212083
    private static final int __USERID_ISSET_ID = 1;
-
 
212084
    private static final int __CREDITORID_ISSET_ID = 2;
-
 
212085
    private static final int __LIMIT_ISSET_ID = 3;
-
 
212086
    private static final int __OFFSET_ISSET_ID = 4;
-
 
212087
    private BitSet __isset_bit_vector = new BitSet(5);
-
 
212088
 
-
 
212089
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
212090
    static {
-
 
212091
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
212092
      tmpMap.put(_Fields.PAYMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("paymentId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
212093
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
212094
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
212095
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
212096
      tmpMap.put(_Fields.CREDITOR_ID, new org.apache.thrift.meta_data.FieldMetaData("creditorId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
212097
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
212098
      tmpMap.put(_Fields.LIMIT, new org.apache.thrift.meta_data.FieldMetaData("limit", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
212099
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
212100
      tmpMap.put(_Fields.OFFSET, new org.apache.thrift.meta_data.FieldMetaData("offset", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
212101
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
212102
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
212103
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getLimitedLoanHistoryRecords_args.class, metaDataMap);
-
 
212104
    }
-
 
212105
 
-
 
212106
    public getLimitedLoanHistoryRecords_args() {
-
 
212107
    }
-
 
212108
 
-
 
212109
    public getLimitedLoanHistoryRecords_args(
-
 
212110
      long paymentId,
-
 
212111
      long userId,
-
 
212112
      long creditorId,
-
 
212113
      long limit,
-
 
212114
      long offset)
-
 
212115
    {
-
 
212116
      this();
-
 
212117
      this.paymentId = paymentId;
-
 
212118
      setPaymentIdIsSet(true);
-
 
212119
      this.userId = userId;
-
 
212120
      setUserIdIsSet(true);
-
 
212121
      this.creditorId = creditorId;
-
 
212122
      setCreditorIdIsSet(true);
-
 
212123
      this.limit = limit;
-
 
212124
      setLimitIsSet(true);
-
 
212125
      this.offset = offset;
-
 
212126
      setOffsetIsSet(true);
-
 
212127
    }
-
 
212128
 
-
 
212129
    /**
-
 
212130
     * Performs a deep copy on <i>other</i>.
-
 
212131
     */
-
 
212132
    public getLimitedLoanHistoryRecords_args(getLimitedLoanHistoryRecords_args other) {
-
 
212133
      __isset_bit_vector.clear();
-
 
212134
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
212135
      this.paymentId = other.paymentId;
-
 
212136
      this.userId = other.userId;
-
 
212137
      this.creditorId = other.creditorId;
-
 
212138
      this.limit = other.limit;
-
 
212139
      this.offset = other.offset;
-
 
212140
    }
-
 
212141
 
-
 
212142
    public getLimitedLoanHistoryRecords_args deepCopy() {
-
 
212143
      return new getLimitedLoanHistoryRecords_args(this);
-
 
212144
    }
-
 
212145
 
-
 
212146
    @Override
-
 
212147
    public void clear() {
-
 
212148
      setPaymentIdIsSet(false);
-
 
212149
      this.paymentId = 0;
-
 
212150
      setUserIdIsSet(false);
-
 
212151
      this.userId = 0;
-
 
212152
      setCreditorIdIsSet(false);
-
 
212153
      this.creditorId = 0;
-
 
212154
      setLimitIsSet(false);
-
 
212155
      this.limit = 0;
-
 
212156
      setOffsetIsSet(false);
-
 
212157
      this.offset = 0;
-
 
212158
    }
-
 
212159
 
-
 
212160
    public long getPaymentId() {
-
 
212161
      return this.paymentId;
-
 
212162
    }
-
 
212163
 
-
 
212164
    public void setPaymentId(long paymentId) {
-
 
212165
      this.paymentId = paymentId;
-
 
212166
      setPaymentIdIsSet(true);
-
 
212167
    }
-
 
212168
 
-
 
212169
    public void unsetPaymentId() {
-
 
212170
      __isset_bit_vector.clear(__PAYMENTID_ISSET_ID);
-
 
212171
    }
-
 
212172
 
-
 
212173
    /** Returns true if field paymentId is set (has been assigned a value) and false otherwise */
-
 
212174
    public boolean isSetPaymentId() {
-
 
212175
      return __isset_bit_vector.get(__PAYMENTID_ISSET_ID);
-
 
212176
    }
-
 
212177
 
-
 
212178
    public void setPaymentIdIsSet(boolean value) {
-
 
212179
      __isset_bit_vector.set(__PAYMENTID_ISSET_ID, value);
-
 
212180
    }
-
 
212181
 
-
 
212182
    public long getUserId() {
-
 
212183
      return this.userId;
-
 
212184
    }
-
 
212185
 
-
 
212186
    public void setUserId(long userId) {
-
 
212187
      this.userId = userId;
-
 
212188
      setUserIdIsSet(true);
-
 
212189
    }
-
 
212190
 
-
 
212191
    public void unsetUserId() {
-
 
212192
      __isset_bit_vector.clear(__USERID_ISSET_ID);
-
 
212193
    }
-
 
212194
 
-
 
212195
    /** Returns true if field userId is set (has been assigned a value) and false otherwise */
-
 
212196
    public boolean isSetUserId() {
-
 
212197
      return __isset_bit_vector.get(__USERID_ISSET_ID);
-
 
212198
    }
-
 
212199
 
-
 
212200
    public void setUserIdIsSet(boolean value) {
-
 
212201
      __isset_bit_vector.set(__USERID_ISSET_ID, value);
-
 
212202
    }
-
 
212203
 
-
 
212204
    public long getCreditorId() {
-
 
212205
      return this.creditorId;
-
 
212206
    }
-
 
212207
 
-
 
212208
    public void setCreditorId(long creditorId) {
-
 
212209
      this.creditorId = creditorId;
-
 
212210
      setCreditorIdIsSet(true);
-
 
212211
    }
-
 
212212
 
-
 
212213
    public void unsetCreditorId() {
-
 
212214
      __isset_bit_vector.clear(__CREDITORID_ISSET_ID);
-
 
212215
    }
-
 
212216
 
-
 
212217
    /** Returns true if field creditorId is set (has been assigned a value) and false otherwise */
-
 
212218
    public boolean isSetCreditorId() {
-
 
212219
      return __isset_bit_vector.get(__CREDITORID_ISSET_ID);
-
 
212220
    }
-
 
212221
 
-
 
212222
    public void setCreditorIdIsSet(boolean value) {
-
 
212223
      __isset_bit_vector.set(__CREDITORID_ISSET_ID, value);
-
 
212224
    }
-
 
212225
 
-
 
212226
    public long getLimit() {
-
 
212227
      return this.limit;
-
 
212228
    }
-
 
212229
 
-
 
212230
    public void setLimit(long limit) {
-
 
212231
      this.limit = limit;
-
 
212232
      setLimitIsSet(true);
-
 
212233
    }
-
 
212234
 
-
 
212235
    public void unsetLimit() {
-
 
212236
      __isset_bit_vector.clear(__LIMIT_ISSET_ID);
-
 
212237
    }
-
 
212238
 
-
 
212239
    /** Returns true if field limit is set (has been assigned a value) and false otherwise */
-
 
212240
    public boolean isSetLimit() {
-
 
212241
      return __isset_bit_vector.get(__LIMIT_ISSET_ID);
-
 
212242
    }
-
 
212243
 
-
 
212244
    public void setLimitIsSet(boolean value) {
-
 
212245
      __isset_bit_vector.set(__LIMIT_ISSET_ID, value);
-
 
212246
    }
-
 
212247
 
-
 
212248
    public long getOffset() {
-
 
212249
      return this.offset;
-
 
212250
    }
-
 
212251
 
-
 
212252
    public void setOffset(long offset) {
-
 
212253
      this.offset = offset;
-
 
212254
      setOffsetIsSet(true);
-
 
212255
    }
-
 
212256
 
-
 
212257
    public void unsetOffset() {
-
 
212258
      __isset_bit_vector.clear(__OFFSET_ISSET_ID);
-
 
212259
    }
-
 
212260
 
-
 
212261
    /** Returns true if field offset is set (has been assigned a value) and false otherwise */
-
 
212262
    public boolean isSetOffset() {
-
 
212263
      return __isset_bit_vector.get(__OFFSET_ISSET_ID);
-
 
212264
    }
-
 
212265
 
-
 
212266
    public void setOffsetIsSet(boolean value) {
-
 
212267
      __isset_bit_vector.set(__OFFSET_ISSET_ID, value);
-
 
212268
    }
-
 
212269
 
-
 
212270
    public void setFieldValue(_Fields field, Object value) {
-
 
212271
      switch (field) {
-
 
212272
      case PAYMENT_ID:
-
 
212273
        if (value == null) {
-
 
212274
          unsetPaymentId();
-
 
212275
        } else {
-
 
212276
          setPaymentId((Long)value);
-
 
212277
        }
-
 
212278
        break;
-
 
212279
 
-
 
212280
      case USER_ID:
-
 
212281
        if (value == null) {
-
 
212282
          unsetUserId();
-
 
212283
        } else {
-
 
212284
          setUserId((Long)value);
-
 
212285
        }
-
 
212286
        break;
-
 
212287
 
-
 
212288
      case CREDITOR_ID:
-
 
212289
        if (value == null) {
-
 
212290
          unsetCreditorId();
-
 
212291
        } else {
-
 
212292
          setCreditorId((Long)value);
-
 
212293
        }
-
 
212294
        break;
-
 
212295
 
-
 
212296
      case LIMIT:
-
 
212297
        if (value == null) {
-
 
212298
          unsetLimit();
-
 
212299
        } else {
-
 
212300
          setLimit((Long)value);
-
 
212301
        }
-
 
212302
        break;
-
 
212303
 
-
 
212304
      case OFFSET:
-
 
212305
        if (value == null) {
-
 
212306
          unsetOffset();
-
 
212307
        } else {
-
 
212308
          setOffset((Long)value);
-
 
212309
        }
-
 
212310
        break;
-
 
212311
 
-
 
212312
      }
-
 
212313
    }
-
 
212314
 
-
 
212315
    public Object getFieldValue(_Fields field) {
-
 
212316
      switch (field) {
-
 
212317
      case PAYMENT_ID:
-
 
212318
        return Long.valueOf(getPaymentId());
-
 
212319
 
-
 
212320
      case USER_ID:
-
 
212321
        return Long.valueOf(getUserId());
-
 
212322
 
-
 
212323
      case CREDITOR_ID:
-
 
212324
        return Long.valueOf(getCreditorId());
-
 
212325
 
-
 
212326
      case LIMIT:
-
 
212327
        return Long.valueOf(getLimit());
-
 
212328
 
-
 
212329
      case OFFSET:
-
 
212330
        return Long.valueOf(getOffset());
-
 
212331
 
-
 
212332
      }
-
 
212333
      throw new IllegalStateException();
-
 
212334
    }
-
 
212335
 
-
 
212336
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
212337
    public boolean isSet(_Fields field) {
-
 
212338
      if (field == null) {
-
 
212339
        throw new IllegalArgumentException();
-
 
212340
      }
-
 
212341
 
-
 
212342
      switch (field) {
-
 
212343
      case PAYMENT_ID:
-
 
212344
        return isSetPaymentId();
-
 
212345
      case USER_ID:
-
 
212346
        return isSetUserId();
-
 
212347
      case CREDITOR_ID:
-
 
212348
        return isSetCreditorId();
-
 
212349
      case LIMIT:
-
 
212350
        return isSetLimit();
-
 
212351
      case OFFSET:
-
 
212352
        return isSetOffset();
-
 
212353
      }
-
 
212354
      throw new IllegalStateException();
-
 
212355
    }
-
 
212356
 
-
 
212357
    @Override
-
 
212358
    public boolean equals(Object that) {
-
 
212359
      if (that == null)
-
 
212360
        return false;
-
 
212361
      if (that instanceof getLimitedLoanHistoryRecords_args)
-
 
212362
        return this.equals((getLimitedLoanHistoryRecords_args)that);
-
 
212363
      return false;
-
 
212364
    }
-
 
212365
 
-
 
212366
    public boolean equals(getLimitedLoanHistoryRecords_args that) {
-
 
212367
      if (that == null)
-
 
212368
        return false;
-
 
212369
 
-
 
212370
      boolean this_present_paymentId = true;
-
 
212371
      boolean that_present_paymentId = true;
-
 
212372
      if (this_present_paymentId || that_present_paymentId) {
-
 
212373
        if (!(this_present_paymentId && that_present_paymentId))
-
 
212374
          return false;
-
 
212375
        if (this.paymentId != that.paymentId)
-
 
212376
          return false;
-
 
212377
      }
-
 
212378
 
-
 
212379
      boolean this_present_userId = true;
-
 
212380
      boolean that_present_userId = true;
-
 
212381
      if (this_present_userId || that_present_userId) {
-
 
212382
        if (!(this_present_userId && that_present_userId))
-
 
212383
          return false;
-
 
212384
        if (this.userId != that.userId)
-
 
212385
          return false;
-
 
212386
      }
-
 
212387
 
-
 
212388
      boolean this_present_creditorId = true;
-
 
212389
      boolean that_present_creditorId = true;
-
 
212390
      if (this_present_creditorId || that_present_creditorId) {
-
 
212391
        if (!(this_present_creditorId && that_present_creditorId))
-
 
212392
          return false;
-
 
212393
        if (this.creditorId != that.creditorId)
-
 
212394
          return false;
-
 
212395
      }
-
 
212396
 
-
 
212397
      boolean this_present_limit = true;
-
 
212398
      boolean that_present_limit = true;
-
 
212399
      if (this_present_limit || that_present_limit) {
-
 
212400
        if (!(this_present_limit && that_present_limit))
-
 
212401
          return false;
-
 
212402
        if (this.limit != that.limit)
-
 
212403
          return false;
-
 
212404
      }
-
 
212405
 
-
 
212406
      boolean this_present_offset = true;
-
 
212407
      boolean that_present_offset = true;
-
 
212408
      if (this_present_offset || that_present_offset) {
-
 
212409
        if (!(this_present_offset && that_present_offset))
-
 
212410
          return false;
-
 
212411
        if (this.offset != that.offset)
-
 
212412
          return false;
-
 
212413
      }
-
 
212414
 
-
 
212415
      return true;
-
 
212416
    }
-
 
212417
 
-
 
212418
    @Override
-
 
212419
    public int hashCode() {
-
 
212420
      return 0;
-
 
212421
    }
-
 
212422
 
-
 
212423
    public int compareTo(getLimitedLoanHistoryRecords_args other) {
-
 
212424
      if (!getClass().equals(other.getClass())) {
-
 
212425
        return getClass().getName().compareTo(other.getClass().getName());
-
 
212426
      }
-
 
212427
 
-
 
212428
      int lastComparison = 0;
-
 
212429
      getLimitedLoanHistoryRecords_args typedOther = (getLimitedLoanHistoryRecords_args)other;
-
 
212430
 
-
 
212431
      lastComparison = Boolean.valueOf(isSetPaymentId()).compareTo(typedOther.isSetPaymentId());
-
 
212432
      if (lastComparison != 0) {
-
 
212433
        return lastComparison;
-
 
212434
      }
-
 
212435
      if (isSetPaymentId()) {
-
 
212436
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.paymentId, typedOther.paymentId);
-
 
212437
        if (lastComparison != 0) {
-
 
212438
          return lastComparison;
-
 
212439
        }
-
 
212440
      }
-
 
212441
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
-
 
212442
      if (lastComparison != 0) {
-
 
212443
        return lastComparison;
-
 
212444
      }
-
 
212445
      if (isSetUserId()) {
-
 
212446
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
-
 
212447
        if (lastComparison != 0) {
-
 
212448
          return lastComparison;
-
 
212449
        }
-
 
212450
      }
-
 
212451
      lastComparison = Boolean.valueOf(isSetCreditorId()).compareTo(typedOther.isSetCreditorId());
-
 
212452
      if (lastComparison != 0) {
-
 
212453
        return lastComparison;
-
 
212454
      }
-
 
212455
      if (isSetCreditorId()) {
-
 
212456
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creditorId, typedOther.creditorId);
-
 
212457
        if (lastComparison != 0) {
-
 
212458
          return lastComparison;
-
 
212459
        }
-
 
212460
      }
-
 
212461
      lastComparison = Boolean.valueOf(isSetLimit()).compareTo(typedOther.isSetLimit());
-
 
212462
      if (lastComparison != 0) {
-
 
212463
        return lastComparison;
-
 
212464
      }
-
 
212465
      if (isSetLimit()) {
-
 
212466
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.limit, typedOther.limit);
-
 
212467
        if (lastComparison != 0) {
-
 
212468
          return lastComparison;
-
 
212469
        }
-
 
212470
      }
-
 
212471
      lastComparison = Boolean.valueOf(isSetOffset()).compareTo(typedOther.isSetOffset());
-
 
212472
      if (lastComparison != 0) {
-
 
212473
        return lastComparison;
-
 
212474
      }
-
 
212475
      if (isSetOffset()) {
-
 
212476
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.offset, typedOther.offset);
-
 
212477
        if (lastComparison != 0) {
-
 
212478
          return lastComparison;
-
 
212479
        }
-
 
212480
      }
-
 
212481
      return 0;
-
 
212482
    }
-
 
212483
 
-
 
212484
    public _Fields fieldForId(int fieldId) {
-
 
212485
      return _Fields.findByThriftId(fieldId);
-
 
212486
    }
-
 
212487
 
-
 
212488
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
212489
      org.apache.thrift.protocol.TField field;
-
 
212490
      iprot.readStructBegin();
-
 
212491
      while (true)
-
 
212492
      {
-
 
212493
        field = iprot.readFieldBegin();
-
 
212494
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
212495
          break;
-
 
212496
        }
-
 
212497
        switch (field.id) {
-
 
212498
          case 1: // PAYMENT_ID
-
 
212499
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
212500
              this.paymentId = iprot.readI64();
-
 
212501
              setPaymentIdIsSet(true);
-
 
212502
            } else { 
-
 
212503
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
212504
            }
-
 
212505
            break;
-
 
212506
          case 2: // USER_ID
-
 
212507
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
212508
              this.userId = iprot.readI64();
-
 
212509
              setUserIdIsSet(true);
-
 
212510
            } else { 
-
 
212511
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
212512
            }
-
 
212513
            break;
-
 
212514
          case 3: // CREDITOR_ID
-
 
212515
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
212516
              this.creditorId = iprot.readI64();
-
 
212517
              setCreditorIdIsSet(true);
-
 
212518
            } else { 
-
 
212519
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
212520
            }
-
 
212521
            break;
-
 
212522
          case 4: // LIMIT
-
 
212523
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
212524
              this.limit = iprot.readI64();
-
 
212525
              setLimitIsSet(true);
-
 
212526
            } else { 
-
 
212527
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
212528
            }
-
 
212529
            break;
-
 
212530
          case 5: // OFFSET
-
 
212531
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
212532
              this.offset = iprot.readI64();
-
 
212533
              setOffsetIsSet(true);
-
 
212534
            } else { 
-
 
212535
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
212536
            }
-
 
212537
            break;
-
 
212538
          default:
-
 
212539
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
212540
        }
-
 
212541
        iprot.readFieldEnd();
-
 
212542
      }
-
 
212543
      iprot.readStructEnd();
-
 
212544
      validate();
-
 
212545
    }
-
 
212546
 
-
 
212547
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
212548
      validate();
-
 
212549
 
-
 
212550
      oprot.writeStructBegin(STRUCT_DESC);
-
 
212551
      oprot.writeFieldBegin(PAYMENT_ID_FIELD_DESC);
-
 
212552
      oprot.writeI64(this.paymentId);
-
 
212553
      oprot.writeFieldEnd();
-
 
212554
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
-
 
212555
      oprot.writeI64(this.userId);
-
 
212556
      oprot.writeFieldEnd();
-
 
212557
      oprot.writeFieldBegin(CREDITOR_ID_FIELD_DESC);
-
 
212558
      oprot.writeI64(this.creditorId);
-
 
212559
      oprot.writeFieldEnd();
-
 
212560
      oprot.writeFieldBegin(LIMIT_FIELD_DESC);
-
 
212561
      oprot.writeI64(this.limit);
-
 
212562
      oprot.writeFieldEnd();
-
 
212563
      oprot.writeFieldBegin(OFFSET_FIELD_DESC);
-
 
212564
      oprot.writeI64(this.offset);
-
 
212565
      oprot.writeFieldEnd();
-
 
212566
      oprot.writeFieldStop();
-
 
212567
      oprot.writeStructEnd();
-
 
212568
    }
-
 
212569
 
-
 
212570
    @Override
-
 
212571
    public String toString() {
-
 
212572
      StringBuilder sb = new StringBuilder("getLimitedLoanHistoryRecords_args(");
-
 
212573
      boolean first = true;
-
 
212574
 
-
 
212575
      sb.append("paymentId:");
-
 
212576
      sb.append(this.paymentId);
-
 
212577
      first = false;
-
 
212578
      if (!first) sb.append(", ");
-
 
212579
      sb.append("userId:");
-
 
212580
      sb.append(this.userId);
-
 
212581
      first = false;
-
 
212582
      if (!first) sb.append(", ");
-
 
212583
      sb.append("creditorId:");
-
 
212584
      sb.append(this.creditorId);
-
 
212585
      first = false;
-
 
212586
      if (!first) sb.append(", ");
-
 
212587
      sb.append("limit:");
-
 
212588
      sb.append(this.limit);
-
 
212589
      first = false;
-
 
212590
      if (!first) sb.append(", ");
-
 
212591
      sb.append("offset:");
-
 
212592
      sb.append(this.offset);
-
 
212593
      first = false;
-
 
212594
      sb.append(")");
-
 
212595
      return sb.toString();
-
 
212596
    }
-
 
212597
 
-
 
212598
    public void validate() throws org.apache.thrift.TException {
-
 
212599
      // check for required fields
-
 
212600
    }
-
 
212601
 
-
 
212602
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
212603
      try {
-
 
212604
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
212605
      } catch (org.apache.thrift.TException te) {
-
 
212606
        throw new java.io.IOException(te);
-
 
212607
      }
-
 
212608
    }
-
 
212609
 
-
 
212610
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
212611
      try {
-
 
212612
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
212613
        __isset_bit_vector = new BitSet(1);
-
 
212614
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
212615
      } catch (org.apache.thrift.TException te) {
-
 
212616
        throw new java.io.IOException(te);
-
 
212617
      }
-
 
212618
    }
-
 
212619
 
-
 
212620
  }
-
 
212621
 
-
 
212622
  public static class getLimitedLoanHistoryRecords_result implements org.apache.thrift.TBase<getLimitedLoanHistoryRecords_result, getLimitedLoanHistoryRecords_result._Fields>, java.io.Serializable, Cloneable   {
-
 
212623
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getLimitedLoanHistoryRecords_result");
-
 
212624
 
-
 
212625
    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);
-
 
212626
 
-
 
212627
    private List<LoanHistory> success; // required
-
 
212628
 
-
 
212629
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
212630
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
212631
      SUCCESS((short)0, "success");
-
 
212632
 
-
 
212633
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
212634
 
-
 
212635
      static {
-
 
212636
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
212637
          byName.put(field.getFieldName(), field);
-
 
212638
        }
-
 
212639
      }
-
 
212640
 
-
 
212641
      /**
-
 
212642
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
212643
       */
-
 
212644
      public static _Fields findByThriftId(int fieldId) {
-
 
212645
        switch(fieldId) {
-
 
212646
          case 0: // SUCCESS
-
 
212647
            return SUCCESS;
-
 
212648
          default:
-
 
212649
            return null;
-
 
212650
        }
-
 
212651
      }
-
 
212652
 
-
 
212653
      /**
-
 
212654
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
212655
       * if it is not found.
-
 
212656
       */
-
 
212657
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
212658
        _Fields fields = findByThriftId(fieldId);
-
 
212659
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
212660
        return fields;
-
 
212661
      }
-
 
212662
 
-
 
212663
      /**
-
 
212664
       * Find the _Fields constant that matches name, or null if its not found.
-
 
212665
       */
-
 
212666
      public static _Fields findByName(String name) {
-
 
212667
        return byName.get(name);
-
 
212668
      }
-
 
212669
 
-
 
212670
      private final short _thriftId;
-
 
212671
      private final String _fieldName;
-
 
212672
 
-
 
212673
      _Fields(short thriftId, String fieldName) {
-
 
212674
        _thriftId = thriftId;
-
 
212675
        _fieldName = fieldName;
-
 
212676
      }
-
 
212677
 
-
 
212678
      public short getThriftFieldId() {
-
 
212679
        return _thriftId;
-
 
212680
      }
-
 
212681
 
-
 
212682
      public String getFieldName() {
-
 
212683
        return _fieldName;
-
 
212684
      }
-
 
212685
    }
-
 
212686
 
-
 
212687
    // isset id assignments
-
 
212688
 
-
 
212689
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
212690
    static {
-
 
212691
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
212692
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
212693
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
212694
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, LoanHistory.class))));
-
 
212695
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
212696
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getLimitedLoanHistoryRecords_result.class, metaDataMap);
-
 
212697
    }
-
 
212698
 
-
 
212699
    public getLimitedLoanHistoryRecords_result() {
-
 
212700
    }
-
 
212701
 
-
 
212702
    public getLimitedLoanHistoryRecords_result(
-
 
212703
      List<LoanHistory> success)
-
 
212704
    {
-
 
212705
      this();
-
 
212706
      this.success = success;
-
 
212707
    }
-
 
212708
 
-
 
212709
    /**
-
 
212710
     * Performs a deep copy on <i>other</i>.
-
 
212711
     */
-
 
212712
    public getLimitedLoanHistoryRecords_result(getLimitedLoanHistoryRecords_result other) {
-
 
212713
      if (other.isSetSuccess()) {
-
 
212714
        List<LoanHistory> __this__success = new ArrayList<LoanHistory>();
-
 
212715
        for (LoanHistory other_element : other.success) {
-
 
212716
          __this__success.add(new LoanHistory(other_element));
-
 
212717
        }
-
 
212718
        this.success = __this__success;
-
 
212719
      }
-
 
212720
    }
-
 
212721
 
-
 
212722
    public getLimitedLoanHistoryRecords_result deepCopy() {
-
 
212723
      return new getLimitedLoanHistoryRecords_result(this);
-
 
212724
    }
-
 
212725
 
-
 
212726
    @Override
-
 
212727
    public void clear() {
-
 
212728
      this.success = null;
-
 
212729
    }
-
 
212730
 
-
 
212731
    public int getSuccessSize() {
-
 
212732
      return (this.success == null) ? 0 : this.success.size();
-
 
212733
    }
-
 
212734
 
-
 
212735
    public java.util.Iterator<LoanHistory> getSuccessIterator() {
-
 
212736
      return (this.success == null) ? null : this.success.iterator();
-
 
212737
    }
-
 
212738
 
-
 
212739
    public void addToSuccess(LoanHistory elem) {
-
 
212740
      if (this.success == null) {
-
 
212741
        this.success = new ArrayList<LoanHistory>();
-
 
212742
      }
-
 
212743
      this.success.add(elem);
-
 
212744
    }
-
 
212745
 
-
 
212746
    public List<LoanHistory> getSuccess() {
-
 
212747
      return this.success;
-
 
212748
    }
-
 
212749
 
-
 
212750
    public void setSuccess(List<LoanHistory> success) {
-
 
212751
      this.success = success;
-
 
212752
    }
-
 
212753
 
-
 
212754
    public void unsetSuccess() {
-
 
212755
      this.success = null;
-
 
212756
    }
-
 
212757
 
-
 
212758
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
212759
    public boolean isSetSuccess() {
-
 
212760
      return this.success != null;
-
 
212761
    }
-
 
212762
 
-
 
212763
    public void setSuccessIsSet(boolean value) {
-
 
212764
      if (!value) {
-
 
212765
        this.success = null;
-
 
212766
      }
-
 
212767
    }
-
 
212768
 
-
 
212769
    public void setFieldValue(_Fields field, Object value) {
-
 
212770
      switch (field) {
-
 
212771
      case SUCCESS:
-
 
212772
        if (value == null) {
-
 
212773
          unsetSuccess();
-
 
212774
        } else {
-
 
212775
          setSuccess((List<LoanHistory>)value);
-
 
212776
        }
-
 
212777
        break;
-
 
212778
 
-
 
212779
      }
-
 
212780
    }
-
 
212781
 
-
 
212782
    public Object getFieldValue(_Fields field) {
-
 
212783
      switch (field) {
-
 
212784
      case SUCCESS:
-
 
212785
        return getSuccess();
-
 
212786
 
-
 
212787
      }
-
 
212788
      throw new IllegalStateException();
-
 
212789
    }
-
 
212790
 
-
 
212791
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
212792
    public boolean isSet(_Fields field) {
-
 
212793
      if (field == null) {
-
 
212794
        throw new IllegalArgumentException();
-
 
212795
      }
-
 
212796
 
-
 
212797
      switch (field) {
-
 
212798
      case SUCCESS:
-
 
212799
        return isSetSuccess();
-
 
212800
      }
-
 
212801
      throw new IllegalStateException();
-
 
212802
    }
-
 
212803
 
-
 
212804
    @Override
-
 
212805
    public boolean equals(Object that) {
-
 
212806
      if (that == null)
-
 
212807
        return false;
-
 
212808
      if (that instanceof getLimitedLoanHistoryRecords_result)
-
 
212809
        return this.equals((getLimitedLoanHistoryRecords_result)that);
-
 
212810
      return false;
-
 
212811
    }
-
 
212812
 
-
 
212813
    public boolean equals(getLimitedLoanHistoryRecords_result that) {
-
 
212814
      if (that == null)
-
 
212815
        return false;
-
 
212816
 
-
 
212817
      boolean this_present_success = true && this.isSetSuccess();
-
 
212818
      boolean that_present_success = true && that.isSetSuccess();
-
 
212819
      if (this_present_success || that_present_success) {
-
 
212820
        if (!(this_present_success && that_present_success))
-
 
212821
          return false;
-
 
212822
        if (!this.success.equals(that.success))
-
 
212823
          return false;
-
 
212824
      }
-
 
212825
 
-
 
212826
      return true;
-
 
212827
    }
-
 
212828
 
-
 
212829
    @Override
-
 
212830
    public int hashCode() {
-
 
212831
      return 0;
-
 
212832
    }
-
 
212833
 
-
 
212834
    public int compareTo(getLimitedLoanHistoryRecords_result other) {
-
 
212835
      if (!getClass().equals(other.getClass())) {
-
 
212836
        return getClass().getName().compareTo(other.getClass().getName());
-
 
212837
      }
-
 
212838
 
-
 
212839
      int lastComparison = 0;
-
 
212840
      getLimitedLoanHistoryRecords_result typedOther = (getLimitedLoanHistoryRecords_result)other;
-
 
212841
 
-
 
212842
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
212843
      if (lastComparison != 0) {
-
 
212844
        return lastComparison;
-
 
212845
      }
-
 
212846
      if (isSetSuccess()) {
-
 
212847
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
212848
        if (lastComparison != 0) {
-
 
212849
          return lastComparison;
-
 
212850
        }
-
 
212851
      }
-
 
212852
      return 0;
-
 
212853
    }
-
 
212854
 
-
 
212855
    public _Fields fieldForId(int fieldId) {
-
 
212856
      return _Fields.findByThriftId(fieldId);
-
 
212857
    }
-
 
212858
 
-
 
212859
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
212860
      org.apache.thrift.protocol.TField field;
-
 
212861
      iprot.readStructBegin();
-
 
212862
      while (true)
-
 
212863
      {
-
 
212864
        field = iprot.readFieldBegin();
-
 
212865
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
212866
          break;
-
 
212867
        }
-
 
212868
        switch (field.id) {
-
 
212869
          case 0: // SUCCESS
-
 
212870
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
212871
              {
-
 
212872
                org.apache.thrift.protocol.TList _list684 = iprot.readListBegin();
-
 
212873
                this.success = new ArrayList<LoanHistory>(_list684.size);
-
 
212874
                for (int _i685 = 0; _i685 < _list684.size; ++_i685)
-
 
212875
                {
-
 
212876
                  LoanHistory _elem686; // required
-
 
212877
                  _elem686 = new LoanHistory();
-
 
212878
                  _elem686.read(iprot);
-
 
212879
                  this.success.add(_elem686);
-
 
212880
                }
-
 
212881
                iprot.readListEnd();
-
 
212882
              }
-
 
212883
            } else { 
-
 
212884
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
212885
            }
-
 
212886
            break;
-
 
212887
          default:
-
 
212888
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
212889
        }
-
 
212890
        iprot.readFieldEnd();
-
 
212891
      }
-
 
212892
      iprot.readStructEnd();
-
 
212893
      validate();
-
 
212894
    }
-
 
212895
 
-
 
212896
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
212897
      oprot.writeStructBegin(STRUCT_DESC);
-
 
212898
 
-
 
212899
      if (this.isSetSuccess()) {
-
 
212900
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
212901
        {
-
 
212902
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
212903
          for (LoanHistory _iter687 : this.success)
-
 
212904
          {
-
 
212905
            _iter687.write(oprot);
-
 
212906
          }
-
 
212907
          oprot.writeListEnd();
-
 
212908
        }
-
 
212909
        oprot.writeFieldEnd();
-
 
212910
      }
-
 
212911
      oprot.writeFieldStop();
-
 
212912
      oprot.writeStructEnd();
-
 
212913
    }
-
 
212914
 
-
 
212915
    @Override
-
 
212916
    public String toString() {
-
 
212917
      StringBuilder sb = new StringBuilder("getLimitedLoanHistoryRecords_result(");
-
 
212918
      boolean first = true;
-
 
212919
 
-
 
212920
      sb.append("success:");
-
 
212921
      if (this.success == null) {
-
 
212922
        sb.append("null");
-
 
212923
      } else {
-
 
212924
        sb.append(this.success);
-
 
212925
      }
-
 
212926
      first = false;
-
 
212927
      sb.append(")");
-
 
212928
      return sb.toString();
-
 
212929
    }
-
 
212930
 
-
 
212931
    public void validate() throws org.apache.thrift.TException {
-
 
212932
      // check for required fields
-
 
212933
    }
-
 
212934
 
-
 
212935
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
212936
      try {
-
 
212937
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
212938
      } catch (org.apache.thrift.TException te) {
-
 
212939
        throw new java.io.IOException(te);
-
 
212940
      }
-
 
212941
    }
-
 
212942
 
-
 
212943
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
212944
      try {
-
 
212945
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
212946
      } catch (org.apache.thrift.TException te) {
-
 
212947
        throw new java.io.IOException(te);
-
 
212948
      }
-
 
212949
    }
-
 
212950
 
-
 
212951
  }
-
 
212952
 
210857
  public static class getReturnOrderInfo_args implements org.apache.thrift.TBase<getReturnOrderInfo_args, getReturnOrderInfo_args._Fields>, java.io.Serializable, Cloneable   {
212953
  public static class getReturnOrderInfo_args implements org.apache.thrift.TBase<getReturnOrderInfo_args, getReturnOrderInfo_args._Fields>, java.io.Serializable, Cloneable   {
210858
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnOrderInfo_args");
212954
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnOrderInfo_args");
210859
 
212955
 
210860
    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);
212956
    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);
210861
 
212957
 
Line 211778... Line 213874...
211778
        }
213874
        }
211779
        switch (field.id) {
213875
        switch (field.id) {
211780
          case 1: // ORDER_IDS
213876
          case 1: // ORDER_IDS
211781
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
213877
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
211782
              {
213878
              {
211783
                org.apache.thrift.protocol.TList _list680 = iprot.readListBegin();
213879
                org.apache.thrift.protocol.TList _list688 = iprot.readListBegin();
211784
                this.order_ids = new ArrayList<Long>(_list680.size);
213880
                this.order_ids = new ArrayList<Long>(_list688.size);
211785
                for (int _i681 = 0; _i681 < _list680.size; ++_i681)
213881
                for (int _i689 = 0; _i689 < _list688.size; ++_i689)
211786
                {
213882
                {
211787
                  long _elem682; // required
213883
                  long _elem690; // required
211788
                  _elem682 = iprot.readI64();
213884
                  _elem690 = iprot.readI64();
211789
                  this.order_ids.add(_elem682);
213885
                  this.order_ids.add(_elem690);
211790
                }
213886
                }
211791
                iprot.readListEnd();
213887
                iprot.readListEnd();
211792
              }
213888
              }
211793
            } else { 
213889
            } else { 
211794
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
213890
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 211809... Line 213905...
211809
      oprot.writeStructBegin(STRUCT_DESC);
213905
      oprot.writeStructBegin(STRUCT_DESC);
211810
      if (this.order_ids != null) {
213906
      if (this.order_ids != null) {
211811
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
213907
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
211812
        {
213908
        {
211813
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
213909
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
211814
          for (long _iter683 : this.order_ids)
213910
          for (long _iter691 : this.order_ids)
211815
          {
213911
          {
211816
            oprot.writeI64(_iter683);
213912
            oprot.writeI64(_iter691);
211817
          }
213913
          }
211818
          oprot.writeListEnd();
213914
          oprot.writeListEnd();
211819
        }
213915
        }
211820
        oprot.writeFieldEnd();
213916
        oprot.writeFieldEnd();
211821
      }
213917
      }
Line 212118... Line 214214...
212118
        }
214214
        }
212119
        switch (field.id) {
214215
        switch (field.id) {
212120
          case 0: // SUCCESS
214216
          case 0: // SUCCESS
212121
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
214217
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
212122
              {
214218
              {
212123
                org.apache.thrift.protocol.TMap _map684 = iprot.readMapBegin();
214219
                org.apache.thrift.protocol.TMap _map692 = iprot.readMapBegin();
212124
                this.success = new HashMap<Long,List<ReturnOrderInfo>>(2*_map684.size);
214220
                this.success = new HashMap<Long,List<ReturnOrderInfo>>(2*_map692.size);
212125
                for (int _i685 = 0; _i685 < _map684.size; ++_i685)
214221
                for (int _i693 = 0; _i693 < _map692.size; ++_i693)
212126
                {
214222
                {
212127
                  long _key686; // required
214223
                  long _key694; // required
212128
                  List<ReturnOrderInfo> _val687; // required
214224
                  List<ReturnOrderInfo> _val695; // required
212129
                  _key686 = iprot.readI64();
214225
                  _key694 = iprot.readI64();
212130
                  {
214226
                  {
212131
                    org.apache.thrift.protocol.TList _list688 = iprot.readListBegin();
214227
                    org.apache.thrift.protocol.TList _list696 = iprot.readListBegin();
212132
                    _val687 = new ArrayList<ReturnOrderInfo>(_list688.size);
214228
                    _val695 = new ArrayList<ReturnOrderInfo>(_list696.size);
212133
                    for (int _i689 = 0; _i689 < _list688.size; ++_i689)
214229
                    for (int _i697 = 0; _i697 < _list696.size; ++_i697)
212134
                    {
214230
                    {
212135
                      ReturnOrderInfo _elem690; // required
214231
                      ReturnOrderInfo _elem698; // required
212136
                      _elem690 = new ReturnOrderInfo();
214232
                      _elem698 = new ReturnOrderInfo();
212137
                      _elem690.read(iprot);
214233
                      _elem698.read(iprot);
212138
                      _val687.add(_elem690);
214234
                      _val695.add(_elem698);
212139
                    }
214235
                    }
212140
                    iprot.readListEnd();
214236
                    iprot.readListEnd();
212141
                  }
214237
                  }
212142
                  this.success.put(_key686, _val687);
214238
                  this.success.put(_key694, _val695);
212143
                }
214239
                }
212144
                iprot.readMapEnd();
214240
                iprot.readMapEnd();
212145
              }
214241
              }
212146
            } else { 
214242
            } else { 
212147
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
214243
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 212161... Line 214257...
212161
 
214257
 
212162
      if (this.isSetSuccess()) {
214258
      if (this.isSetSuccess()) {
212163
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
214259
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
212164
        {
214260
        {
212165
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.success.size()));
214261
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.success.size()));
212166
          for (Map.Entry<Long, List<ReturnOrderInfo>> _iter691 : this.success.entrySet())
214262
          for (Map.Entry<Long, List<ReturnOrderInfo>> _iter699 : this.success.entrySet())
212167
          {
214263
          {
212168
            oprot.writeI64(_iter691.getKey());
214264
            oprot.writeI64(_iter699.getKey());
212169
            {
214265
            {
212170
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter691.getValue().size()));
214266
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter699.getValue().size()));
212171
              for (ReturnOrderInfo _iter692 : _iter691.getValue())
214267
              for (ReturnOrderInfo _iter700 : _iter699.getValue())
212172
              {
214268
              {
212173
                _iter692.write(oprot);
214269
                _iter700.write(oprot);
212174
              }
214270
              }
212175
              oprot.writeListEnd();
214271
              oprot.writeListEnd();
212176
            }
214272
            }
212177
          }
214273
          }
212178
          oprot.writeMapEnd();
214274
          oprot.writeMapEnd();
Line 212557... Line 214653...
212557
        }
214653
        }
212558
        switch (field.id) {
214654
        switch (field.id) {
212559
          case 1: // ORDER_IDS
214655
          case 1: // ORDER_IDS
212560
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
214656
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
212561
              {
214657
              {
212562
                org.apache.thrift.protocol.TList _list693 = iprot.readListBegin();
214658
                org.apache.thrift.protocol.TList _list701 = iprot.readListBegin();
212563
                this.order_ids = new ArrayList<Long>(_list693.size);
214659
                this.order_ids = new ArrayList<Long>(_list701.size);
212564
                for (int _i694 = 0; _i694 < _list693.size; ++_i694)
214660
                for (int _i702 = 0; _i702 < _list701.size; ++_i702)
212565
                {
214661
                {
212566
                  long _elem695; // required
214662
                  long _elem703; // required
212567
                  _elem695 = iprot.readI64();
214663
                  _elem703 = iprot.readI64();
212568
                  this.order_ids.add(_elem695);
214664
                  this.order_ids.add(_elem703);
212569
                }
214665
                }
212570
                iprot.readListEnd();
214666
                iprot.readListEnd();
212571
              }
214667
              }
212572
            } else { 
214668
            } else { 
212573
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
214669
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
212574
            }
214670
            }
212575
            break;
214671
            break;
212576
          case 2: // STATUSES
214672
          case 2: // STATUSES
212577
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
214673
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
212578
              {
214674
              {
212579
                org.apache.thrift.protocol.TList _list696 = iprot.readListBegin();
214675
                org.apache.thrift.protocol.TList _list704 = iprot.readListBegin();
212580
                this.statuses = new ArrayList<String>(_list696.size);
214676
                this.statuses = new ArrayList<String>(_list704.size);
212581
                for (int _i697 = 0; _i697 < _list696.size; ++_i697)
214677
                for (int _i705 = 0; _i705 < _list704.size; ++_i705)
212582
                {
214678
                {
212583
                  String _elem698; // required
214679
                  String _elem706; // required
212584
                  _elem698 = iprot.readString();
214680
                  _elem706 = iprot.readString();
212585
                  this.statuses.add(_elem698);
214681
                  this.statuses.add(_elem706);
212586
                }
214682
                }
212587
                iprot.readListEnd();
214683
                iprot.readListEnd();
212588
              }
214684
              }
212589
            } else { 
214685
            } else { 
212590
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
214686
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 212605... Line 214701...
212605
      oprot.writeStructBegin(STRUCT_DESC);
214701
      oprot.writeStructBegin(STRUCT_DESC);
212606
      if (this.order_ids != null) {
214702
      if (this.order_ids != null) {
212607
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
214703
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
212608
        {
214704
        {
212609
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
214705
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
212610
          for (long _iter699 : this.order_ids)
214706
          for (long _iter707 : this.order_ids)
212611
          {
214707
          {
212612
            oprot.writeI64(_iter699);
214708
            oprot.writeI64(_iter707);
212613
          }
214709
          }
212614
          oprot.writeListEnd();
214710
          oprot.writeListEnd();
212615
        }
214711
        }
212616
        oprot.writeFieldEnd();
214712
        oprot.writeFieldEnd();
212617
      }
214713
      }
212618
      if (this.statuses != null) {
214714
      if (this.statuses != null) {
212619
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
214715
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
212620
        {
214716
        {
212621
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.statuses.size()));
214717
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.statuses.size()));
212622
          for (String _iter700 : this.statuses)
214718
          for (String _iter708 : this.statuses)
212623
          {
214719
          {
212624
            oprot.writeString(_iter700);
214720
            oprot.writeString(_iter708);
212625
          }
214721
          }
212626
          oprot.writeListEnd();
214722
          oprot.writeListEnd();
212627
        }
214723
        }
212628
        oprot.writeFieldEnd();
214724
        oprot.writeFieldEnd();
212629
      }
214725
      }
Line 212934... Line 215030...
212934
        }
215030
        }
212935
        switch (field.id) {
215031
        switch (field.id) {
212936
          case 0: // SUCCESS
215032
          case 0: // SUCCESS
212937
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
215033
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
212938
              {
215034
              {
212939
                org.apache.thrift.protocol.TMap _map701 = iprot.readMapBegin();
215035
                org.apache.thrift.protocol.TMap _map709 = iprot.readMapBegin();
212940
                this.success = new HashMap<Long,List<ReturnOrderInfo>>(2*_map701.size);
215036
                this.success = new HashMap<Long,List<ReturnOrderInfo>>(2*_map709.size);
212941
                for (int _i702 = 0; _i702 < _map701.size; ++_i702)
215037
                for (int _i710 = 0; _i710 < _map709.size; ++_i710)
212942
                {
215038
                {
212943
                  long _key703; // required
215039
                  long _key711; // required
212944
                  List<ReturnOrderInfo> _val704; // required
215040
                  List<ReturnOrderInfo> _val712; // required
212945
                  _key703 = iprot.readI64();
215041
                  _key711 = iprot.readI64();
212946
                  {
215042
                  {
212947
                    org.apache.thrift.protocol.TList _list705 = iprot.readListBegin();
215043
                    org.apache.thrift.protocol.TList _list713 = iprot.readListBegin();
212948
                    _val704 = new ArrayList<ReturnOrderInfo>(_list705.size);
215044
                    _val712 = new ArrayList<ReturnOrderInfo>(_list713.size);
212949
                    for (int _i706 = 0; _i706 < _list705.size; ++_i706)
215045
                    for (int _i714 = 0; _i714 < _list713.size; ++_i714)
212950
                    {
215046
                    {
212951
                      ReturnOrderInfo _elem707; // required
215047
                      ReturnOrderInfo _elem715; // required
212952
                      _elem707 = new ReturnOrderInfo();
215048
                      _elem715 = new ReturnOrderInfo();
212953
                      _elem707.read(iprot);
215049
                      _elem715.read(iprot);
212954
                      _val704.add(_elem707);
215050
                      _val712.add(_elem715);
212955
                    }
215051
                    }
212956
                    iprot.readListEnd();
215052
                    iprot.readListEnd();
212957
                  }
215053
                  }
212958
                  this.success.put(_key703, _val704);
215054
                  this.success.put(_key711, _val712);
212959
                }
215055
                }
212960
                iprot.readMapEnd();
215056
                iprot.readMapEnd();
212961
              }
215057
              }
212962
            } else { 
215058
            } else { 
212963
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
215059
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 212977... Line 215073...
212977
 
215073
 
212978
      if (this.isSetSuccess()) {
215074
      if (this.isSetSuccess()) {
212979
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
215075
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
212980
        {
215076
        {
212981
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.success.size()));
215077
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.success.size()));
212982
          for (Map.Entry<Long, List<ReturnOrderInfo>> _iter708 : this.success.entrySet())
215078
          for (Map.Entry<Long, List<ReturnOrderInfo>> _iter716 : this.success.entrySet())
212983
          {
215079
          {
212984
            oprot.writeI64(_iter708.getKey());
215080
            oprot.writeI64(_iter716.getKey());
212985
            {
215081
            {
212986
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter708.getValue().size()));
215082
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter716.getValue().size()));
212987
              for (ReturnOrderInfo _iter709 : _iter708.getValue())
215083
              for (ReturnOrderInfo _iter717 : _iter716.getValue())
212988
              {
215084
              {
212989
                _iter709.write(oprot);
215085
                _iter717.write(oprot);
212990
              }
215086
              }
212991
              oprot.writeListEnd();
215087
              oprot.writeListEnd();
212992
            }
215088
            }
212993
          }
215089
          }
212994
          oprot.writeMapEnd();
215090
          oprot.writeMapEnd();
Line 213970... Line 216066...
213970
        }
216066
        }
213971
        switch (field.id) {
216067
        switch (field.id) {
213972
          case 1: // ORDER_RETURN_INFOS_MAP
216068
          case 1: // ORDER_RETURN_INFOS_MAP
213973
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
216069
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
213974
              {
216070
              {
213975
                org.apache.thrift.protocol.TMap _map710 = iprot.readMapBegin();
216071
                org.apache.thrift.protocol.TMap _map718 = iprot.readMapBegin();
213976
                this.orderReturnInfosMap = new HashMap<Long,List<ReturnOrderInfo>>(2*_map710.size);
216072
                this.orderReturnInfosMap = new HashMap<Long,List<ReturnOrderInfo>>(2*_map718.size);
213977
                for (int _i711 = 0; _i711 < _map710.size; ++_i711)
216073
                for (int _i719 = 0; _i719 < _map718.size; ++_i719)
213978
                {
216074
                {
213979
                  long _key712; // required
216075
                  long _key720; // required
213980
                  List<ReturnOrderInfo> _val713; // required
216076
                  List<ReturnOrderInfo> _val721; // required
213981
                  _key712 = iprot.readI64();
216077
                  _key720 = iprot.readI64();
213982
                  {
216078
                  {
213983
                    org.apache.thrift.protocol.TList _list714 = iprot.readListBegin();
216079
                    org.apache.thrift.protocol.TList _list722 = iprot.readListBegin();
213984
                    _val713 = new ArrayList<ReturnOrderInfo>(_list714.size);
216080
                    _val721 = new ArrayList<ReturnOrderInfo>(_list722.size);
213985
                    for (int _i715 = 0; _i715 < _list714.size; ++_i715)
216081
                    for (int _i723 = 0; _i723 < _list722.size; ++_i723)
213986
                    {
216082
                    {
213987
                      ReturnOrderInfo _elem716; // required
216083
                      ReturnOrderInfo _elem724; // required
213988
                      _elem716 = new ReturnOrderInfo();
216084
                      _elem724 = new ReturnOrderInfo();
213989
                      _elem716.read(iprot);
216085
                      _elem724.read(iprot);
213990
                      _val713.add(_elem716);
216086
                      _val721.add(_elem724);
213991
                    }
216087
                    }
213992
                    iprot.readListEnd();
216088
                    iprot.readListEnd();
213993
                  }
216089
                  }
213994
                  this.orderReturnInfosMap.put(_key712, _val713);
216090
                  this.orderReturnInfosMap.put(_key720, _val721);
213995
                }
216091
                }
213996
                iprot.readMapEnd();
216092
                iprot.readMapEnd();
213997
              }
216093
              }
213998
            } else { 
216094
            } else { 
213999
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
216095
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 214014... Line 216110...
214014
      oprot.writeStructBegin(STRUCT_DESC);
216110
      oprot.writeStructBegin(STRUCT_DESC);
214015
      if (this.orderReturnInfosMap != null) {
216111
      if (this.orderReturnInfosMap != null) {
214016
        oprot.writeFieldBegin(ORDER_RETURN_INFOS_MAP_FIELD_DESC);
216112
        oprot.writeFieldBegin(ORDER_RETURN_INFOS_MAP_FIELD_DESC);
214017
        {
216113
        {
214018
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.orderReturnInfosMap.size()));
216114
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.orderReturnInfosMap.size()));
214019
          for (Map.Entry<Long, List<ReturnOrderInfo>> _iter717 : this.orderReturnInfosMap.entrySet())
216115
          for (Map.Entry<Long, List<ReturnOrderInfo>> _iter725 : this.orderReturnInfosMap.entrySet())
214020
          {
216116
          {
214021
            oprot.writeI64(_iter717.getKey());
216117
            oprot.writeI64(_iter725.getKey());
214022
            {
216118
            {
214023
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter717.getValue().size()));
216119
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter725.getValue().size()));
214024
              for (ReturnOrderInfo _iter718 : _iter717.getValue())
216120
              for (ReturnOrderInfo _iter726 : _iter725.getValue())
214025
              {
216121
              {
214026
                _iter718.write(oprot);
216122
                _iter726.write(oprot);
214027
              }
216123
              }
214028
              oprot.writeListEnd();
216124
              oprot.writeListEnd();
214029
            }
216125
            }
214030
          }
216126
          }
214031
          oprot.writeMapEnd();
216127
          oprot.writeMapEnd();
Line 214395... Line 216491...
214395
        }
216491
        }
214396
        switch (field.id) {
216492
        switch (field.id) {
214397
          case 0: // SUCCESS
216493
          case 0: // SUCCESS
214398
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
216494
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
214399
              {
216495
              {
214400
                org.apache.thrift.protocol.TMap _map719 = iprot.readMapBegin();
216496
                org.apache.thrift.protocol.TMap _map727 = iprot.readMapBegin();
214401
                this.success = new HashMap<Long,Boolean>(2*_map719.size);
216497
                this.success = new HashMap<Long,Boolean>(2*_map727.size);
214402
                for (int _i720 = 0; _i720 < _map719.size; ++_i720)
216498
                for (int _i728 = 0; _i728 < _map727.size; ++_i728)
214403
                {
216499
                {
214404
                  long _key721; // required
216500
                  long _key729; // required
214405
                  boolean _val722; // required
216501
                  boolean _val730; // required
214406
                  _key721 = iprot.readI64();
216502
                  _key729 = iprot.readI64();
214407
                  _val722 = iprot.readBool();
216503
                  _val730 = iprot.readBool();
214408
                  this.success.put(_key721, _val722);
216504
                  this.success.put(_key729, _val730);
214409
                }
216505
                }
214410
                iprot.readMapEnd();
216506
                iprot.readMapEnd();
214411
              }
216507
              }
214412
            } else { 
216508
            } else { 
214413
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
216509
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 214435... Line 216531...
214435
 
216531
 
214436
      if (this.isSetSuccess()) {
216532
      if (this.isSetSuccess()) {
214437
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
216533
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
214438
        {
216534
        {
214439
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.BOOL, this.success.size()));
216535
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.BOOL, this.success.size()));
214440
          for (Map.Entry<Long, Boolean> _iter723 : this.success.entrySet())
216536
          for (Map.Entry<Long, Boolean> _iter731 : this.success.entrySet())
214441
          {
216537
          {
214442
            oprot.writeI64(_iter723.getKey());
216538
            oprot.writeI64(_iter731.getKey());
214443
            oprot.writeBool(_iter723.getValue());
216539
            oprot.writeBool(_iter731.getValue());
214444
          }
216540
          }
214445
          oprot.writeMapEnd();
216541
          oprot.writeMapEnd();
214446
        }
216542
        }
214447
        oprot.writeFieldEnd();
216543
        oprot.writeFieldEnd();
214448
      } else if (this.isSetEx()) {
216544
      } else if (this.isSetEx()) {
Line 215042... Line 217138...
215042
        }
217138
        }
215043
        switch (field.id) {
217139
        switch (field.id) {
215044
          case 0: // SUCCESS
217140
          case 0: // SUCCESS
215045
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
217141
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
215046
              {
217142
              {
215047
                org.apache.thrift.protocol.TList _list724 = iprot.readListBegin();
217143
                org.apache.thrift.protocol.TList _list732 = iprot.readListBegin();
215048
                this.success = new ArrayList<ReturnOrderInfo>(_list724.size);
217144
                this.success = new ArrayList<ReturnOrderInfo>(_list732.size);
215049
                for (int _i725 = 0; _i725 < _list724.size; ++_i725)
217145
                for (int _i733 = 0; _i733 < _list732.size; ++_i733)
215050
                {
217146
                {
215051
                  ReturnOrderInfo _elem726; // required
217147
                  ReturnOrderInfo _elem734; // required
215052
                  _elem726 = new ReturnOrderInfo();
217148
                  _elem734 = new ReturnOrderInfo();
215053
                  _elem726.read(iprot);
217149
                  _elem734.read(iprot);
215054
                  this.success.add(_elem726);
217150
                  this.success.add(_elem734);
215055
                }
217151
                }
215056
                iprot.readListEnd();
217152
                iprot.readListEnd();
215057
              }
217153
              }
215058
            } else { 
217154
            } else { 
215059
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
217155
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 215073... Line 217169...
215073
 
217169
 
215074
      if (this.isSetSuccess()) {
217170
      if (this.isSetSuccess()) {
215075
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
217171
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
215076
        {
217172
        {
215077
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
217173
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
215078
          for (ReturnOrderInfo _iter727 : this.success)
217174
          for (ReturnOrderInfo _iter735 : this.success)
215079
          {
217175
          {
215080
            _iter727.write(oprot);
217176
            _iter735.write(oprot);
215081
          }
217177
          }
215082
          oprot.writeListEnd();
217178
          oprot.writeListEnd();
215083
        }
217179
        }
215084
        oprot.writeFieldEnd();
217180
        oprot.writeFieldEnd();
215085
      }
217181
      }
Line 217087... Line 219183...
217087
        }
219183
        }
217088
        switch (field.id) {
219184
        switch (field.id) {
217089
          case 0: // SUCCESS
219185
          case 0: // SUCCESS
217090
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
219186
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
217091
              {
219187
              {
217092
                org.apache.thrift.protocol.TList _list728 = iprot.readListBegin();
219188
                org.apache.thrift.protocol.TList _list736 = iprot.readListBegin();
217093
                this.success = new ArrayList<ReturnOrderInfo>(_list728.size);
219189
                this.success = new ArrayList<ReturnOrderInfo>(_list736.size);
217094
                for (int _i729 = 0; _i729 < _list728.size; ++_i729)
219190
                for (int _i737 = 0; _i737 < _list736.size; ++_i737)
217095
                {
219191
                {
217096
                  ReturnOrderInfo _elem730; // required
219192
                  ReturnOrderInfo _elem738; // required
217097
                  _elem730 = new ReturnOrderInfo();
219193
                  _elem738 = new ReturnOrderInfo();
217098
                  _elem730.read(iprot);
219194
                  _elem738.read(iprot);
217099
                  this.success.add(_elem730);
219195
                  this.success.add(_elem738);
217100
                }
219196
                }
217101
                iprot.readListEnd();
219197
                iprot.readListEnd();
217102
              }
219198
              }
217103
            } else { 
219199
            } else { 
217104
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
219200
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 217126... Line 219222...
217126
 
219222
 
217127
      if (this.isSetSuccess()) {
219223
      if (this.isSetSuccess()) {
217128
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
219224
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
217129
        {
219225
        {
217130
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
219226
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
217131
          for (ReturnOrderInfo _iter731 : this.success)
219227
          for (ReturnOrderInfo _iter739 : this.success)
217132
          {
219228
          {
217133
            _iter731.write(oprot);
219229
            _iter739.write(oprot);
217134
          }
219230
          }
217135
          oprot.writeListEnd();
219231
          oprot.writeListEnd();
217136
        }
219232
        }
217137
        oprot.writeFieldEnd();
219233
        oprot.writeFieldEnd();
217138
      } else if (this.isSetEx()) {
219234
      } else if (this.isSetEx()) {
Line 217604... Line 219700...
217604
            }
219700
            }
217605
            break;
219701
            break;
217606
          case 3: // RETURN_ORDER_IDS
219702
          case 3: // RETURN_ORDER_IDS
217607
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
219703
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
217608
              {
219704
              {
217609
                org.apache.thrift.protocol.TList _list732 = iprot.readListBegin();
219705
                org.apache.thrift.protocol.TList _list740 = iprot.readListBegin();
217610
                this.returnOrderIds = new ArrayList<Long>(_list732.size);
219706
                this.returnOrderIds = new ArrayList<Long>(_list740.size);
217611
                for (int _i733 = 0; _i733 < _list732.size; ++_i733)
219707
                for (int _i741 = 0; _i741 < _list740.size; ++_i741)
217612
                {
219708
                {
217613
                  long _elem734; // required
219709
                  long _elem742; // required
217614
                  _elem734 = iprot.readI64();
219710
                  _elem742 = iprot.readI64();
217615
                  this.returnOrderIds.add(_elem734);
219711
                  this.returnOrderIds.add(_elem742);
217616
                }
219712
                }
217617
                iprot.readListEnd();
219713
                iprot.readListEnd();
217618
              }
219714
              }
217619
            } else { 
219715
            } else { 
217620
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
219716
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 217643... Line 219739...
217643
      }
219739
      }
217644
      if (this.returnOrderIds != null) {
219740
      if (this.returnOrderIds != null) {
217645
        oprot.writeFieldBegin(RETURN_ORDER_IDS_FIELD_DESC);
219741
        oprot.writeFieldBegin(RETURN_ORDER_IDS_FIELD_DESC);
217646
        {
219742
        {
217647
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.returnOrderIds.size()));
219743
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.returnOrderIds.size()));
217648
          for (long _iter735 : this.returnOrderIds)
219744
          for (long _iter743 : this.returnOrderIds)
217649
          {
219745
          {
217650
            oprot.writeI64(_iter735);
219746
            oprot.writeI64(_iter743);
217651
          }
219747
          }
217652
          oprot.writeListEnd();
219748
          oprot.writeListEnd();
217653
        }
219749
        }
217654
        oprot.writeFieldEnd();
219750
        oprot.writeFieldEnd();
217655
      }
219751
      }
Line 218409... Line 220505...
218409
        }
220505
        }
218410
        switch (field.id) {
220506
        switch (field.id) {
218411
          case 1: // RETURN_ORDER_IDS
220507
          case 1: // RETURN_ORDER_IDS
218412
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
220508
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
218413
              {
220509
              {
218414
                org.apache.thrift.protocol.TList _list736 = iprot.readListBegin();
220510
                org.apache.thrift.protocol.TList _list744 = iprot.readListBegin();
218415
                this.returnOrderIds = new ArrayList<Long>(_list736.size);
220511
                this.returnOrderIds = new ArrayList<Long>(_list744.size);
218416
                for (int _i737 = 0; _i737 < _list736.size; ++_i737)
220512
                for (int _i745 = 0; _i745 < _list744.size; ++_i745)
218417
                {
220513
                {
218418
                  long _elem738; // required
220514
                  long _elem746; // required
218419
                  _elem738 = iprot.readI64();
220515
                  _elem746 = iprot.readI64();
218420
                  this.returnOrderIds.add(_elem738);
220516
                  this.returnOrderIds.add(_elem746);
218421
                }
220517
                }
218422
                iprot.readListEnd();
220518
                iprot.readListEnd();
218423
              }
220519
              }
218424
            } else { 
220520
            } else { 
218425
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
220521
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 218448... Line 220544...
218448
      oprot.writeStructBegin(STRUCT_DESC);
220544
      oprot.writeStructBegin(STRUCT_DESC);
218449
      if (this.returnOrderIds != null) {
220545
      if (this.returnOrderIds != null) {
218450
        oprot.writeFieldBegin(RETURN_ORDER_IDS_FIELD_DESC);
220546
        oprot.writeFieldBegin(RETURN_ORDER_IDS_FIELD_DESC);
218451
        {
220547
        {
218452
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.returnOrderIds.size()));
220548
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.returnOrderIds.size()));
218453
          for (long _iter739 : this.returnOrderIds)
220549
          for (long _iter747 : this.returnOrderIds)
218454
          {
220550
          {
218455
            oprot.writeI64(_iter739);
220551
            oprot.writeI64(_iter747);
218456
          }
220552
          }
218457
          oprot.writeListEnd();
220553
          oprot.writeListEnd();
218458
        }
220554
        }
218459
        oprot.writeFieldEnd();
220555
        oprot.writeFieldEnd();
218460
      }
220556
      }
Line 220176... Line 222272...
220176
        }
222272
        }
220177
        switch (field.id) {
222273
        switch (field.id) {
220178
          case 0: // SUCCESS
222274
          case 0: // SUCCESS
220179
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
222275
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
220180
              {
222276
              {
220181
                org.apache.thrift.protocol.TList _list740 = iprot.readListBegin();
222277
                org.apache.thrift.protocol.TList _list748 = iprot.readListBegin();
220182
                this.success = new ArrayList<ReturnOrderInfo>(_list740.size);
222278
                this.success = new ArrayList<ReturnOrderInfo>(_list748.size);
220183
                for (int _i741 = 0; _i741 < _list740.size; ++_i741)
222279
                for (int _i749 = 0; _i749 < _list748.size; ++_i749)
220184
                {
222280
                {
220185
                  ReturnOrderInfo _elem742; // required
222281
                  ReturnOrderInfo _elem750; // required
220186
                  _elem742 = new ReturnOrderInfo();
222282
                  _elem750 = new ReturnOrderInfo();
220187
                  _elem742.read(iprot);
222283
                  _elem750.read(iprot);
220188
                  this.success.add(_elem742);
222284
                  this.success.add(_elem750);
220189
                }
222285
                }
220190
                iprot.readListEnd();
222286
                iprot.readListEnd();
220191
              }
222287
              }
220192
            } else { 
222288
            } else { 
220193
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
222289
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 220215... Line 222311...
220215
 
222311
 
220216
      if (this.isSetSuccess()) {
222312
      if (this.isSetSuccess()) {
220217
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
222313
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
220218
        {
222314
        {
220219
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
222315
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
220220
          for (ReturnOrderInfo _iter743 : this.success)
222316
          for (ReturnOrderInfo _iter751 : this.success)
220221
          {
222317
          {
220222
            _iter743.write(oprot);
222318
            _iter751.write(oprot);
220223
          }
222319
          }
220224
          oprot.writeListEnd();
222320
          oprot.writeListEnd();
220225
        }
222321
        }
220226
        oprot.writeFieldEnd();
222322
        oprot.writeFieldEnd();
220227
      } else if (this.isSetEx()) {
222323
      } else if (this.isSetEx()) {
Line 220616... Line 222712...
220616
        }
222712
        }
220617
        switch (field.id) {
222713
        switch (field.id) {
220618
          case 1: // RETURN_ORDERS_MAP
222714
          case 1: // RETURN_ORDERS_MAP
220619
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
222715
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
220620
              {
222716
              {
220621
                org.apache.thrift.protocol.TMap _map744 = iprot.readMapBegin();
222717
                org.apache.thrift.protocol.TMap _map752 = iprot.readMapBegin();
220622
                this.returnOrdersMap = new HashMap<Long,Map<String,String>>(2*_map744.size);
222718
                this.returnOrdersMap = new HashMap<Long,Map<String,String>>(2*_map752.size);
220623
                for (int _i745 = 0; _i745 < _map744.size; ++_i745)
222719
                for (int _i753 = 0; _i753 < _map752.size; ++_i753)
220624
                {
222720
                {
220625
                  long _key746; // required
222721
                  long _key754; // required
220626
                  Map<String,String> _val747; // required
222722
                  Map<String,String> _val755; // required
220627
                  _key746 = iprot.readI64();
222723
                  _key754 = iprot.readI64();
220628
                  {
222724
                  {
220629
                    org.apache.thrift.protocol.TMap _map748 = iprot.readMapBegin();
222725
                    org.apache.thrift.protocol.TMap _map756 = iprot.readMapBegin();
220630
                    _val747 = new HashMap<String,String>(2*_map748.size);
222726
                    _val755 = new HashMap<String,String>(2*_map756.size);
220631
                    for (int _i749 = 0; _i749 < _map748.size; ++_i749)
222727
                    for (int _i757 = 0; _i757 < _map756.size; ++_i757)
220632
                    {
222728
                    {
220633
                      String _key750; // required
222729
                      String _key758; // required
220634
                      String _val751; // required
222730
                      String _val759; // required
220635
                      _key750 = iprot.readString();
222731
                      _key758 = iprot.readString();
220636
                      _val751 = iprot.readString();
222732
                      _val759 = iprot.readString();
220637
                      _val747.put(_key750, _val751);
222733
                      _val755.put(_key758, _val759);
220638
                    }
222734
                    }
220639
                    iprot.readMapEnd();
222735
                    iprot.readMapEnd();
220640
                  }
222736
                  }
220641
                  this.returnOrdersMap.put(_key746, _val747);
222737
                  this.returnOrdersMap.put(_key754, _val755);
220642
                }
222738
                }
220643
                iprot.readMapEnd();
222739
                iprot.readMapEnd();
220644
              }
222740
              }
220645
            } else { 
222741
            } else { 
220646
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
222742
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 220669... Line 222765...
220669
      oprot.writeStructBegin(STRUCT_DESC);
222765
      oprot.writeStructBegin(STRUCT_DESC);
220670
      if (this.returnOrdersMap != null) {
222766
      if (this.returnOrdersMap != null) {
220671
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
222767
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
220672
        {
222768
        {
220673
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.returnOrdersMap.size()));
222769
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.returnOrdersMap.size()));
220674
          for (Map.Entry<Long, Map<String,String>> _iter752 : this.returnOrdersMap.entrySet())
222770
          for (Map.Entry<Long, Map<String,String>> _iter760 : this.returnOrdersMap.entrySet())
220675
          {
222771
          {
220676
            oprot.writeI64(_iter752.getKey());
222772
            oprot.writeI64(_iter760.getKey());
220677
            {
222773
            {
220678
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter752.getValue().size()));
222774
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter760.getValue().size()));
220679
              for (Map.Entry<String, String> _iter753 : _iter752.getValue().entrySet())
222775
              for (Map.Entry<String, String> _iter761 : _iter760.getValue().entrySet())
220680
              {
222776
              {
220681
                oprot.writeString(_iter753.getKey());
222777
                oprot.writeString(_iter761.getKey());
220682
                oprot.writeString(_iter753.getValue());
222778
                oprot.writeString(_iter761.getValue());
220683
              }
222779
              }
220684
              oprot.writeMapEnd();
222780
              oprot.writeMapEnd();
220685
            }
222781
            }
220686
          }
222782
          }
220687
          oprot.writeMapEnd();
222783
          oprot.writeMapEnd();
Line 221452... Line 223548...
221452
            }
223548
            }
221453
            break;
223549
            break;
221454
          case 2: // RETURN_ORDERS_MAP
223550
          case 2: // RETURN_ORDERS_MAP
221455
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
223551
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
221456
              {
223552
              {
221457
                org.apache.thrift.protocol.TMap _map754 = iprot.readMapBegin();
223553
                org.apache.thrift.protocol.TMap _map762 = iprot.readMapBegin();
221458
                this.returnOrdersMap = new HashMap<Long,Boolean>(2*_map754.size);
223554
                this.returnOrdersMap = new HashMap<Long,Boolean>(2*_map762.size);
221459
                for (int _i755 = 0; _i755 < _map754.size; ++_i755)
223555
                for (int _i763 = 0; _i763 < _map762.size; ++_i763)
221460
                {
223556
                {
221461
                  long _key756; // required
223557
                  long _key764; // required
221462
                  boolean _val757; // required
223558
                  boolean _val765; // required
221463
                  _key756 = iprot.readI64();
223559
                  _key764 = iprot.readI64();
221464
                  _val757 = iprot.readBool();
223560
                  _val765 = iprot.readBool();
221465
                  this.returnOrdersMap.put(_key756, _val757);
223561
                  this.returnOrdersMap.put(_key764, _val765);
221466
                }
223562
                }
221467
                iprot.readMapEnd();
223563
                iprot.readMapEnd();
221468
              }
223564
              }
221469
            } else { 
223565
            } else { 
221470
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
223566
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 221488... Line 223584...
221488
      oprot.writeFieldEnd();
223584
      oprot.writeFieldEnd();
221489
      if (this.returnOrdersMap != null) {
223585
      if (this.returnOrdersMap != null) {
221490
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
223586
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
221491
        {
223587
        {
221492
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.BOOL, this.returnOrdersMap.size()));
223588
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.BOOL, this.returnOrdersMap.size()));
221493
          for (Map.Entry<Long, Boolean> _iter758 : this.returnOrdersMap.entrySet())
223589
          for (Map.Entry<Long, Boolean> _iter766 : this.returnOrdersMap.entrySet())
221494
          {
223590
          {
221495
            oprot.writeI64(_iter758.getKey());
223591
            oprot.writeI64(_iter766.getKey());
221496
            oprot.writeBool(_iter758.getValue());
223592
            oprot.writeBool(_iter766.getValue());
221497
          }
223593
          }
221498
          oprot.writeMapEnd();
223594
          oprot.writeMapEnd();
221499
        }
223595
        }
221500
        oprot.writeFieldEnd();
223596
        oprot.writeFieldEnd();
221501
      }
223597
      }
Line 222273... Line 224369...
222273
            }
224369
            }
222274
            break;
224370
            break;
222275
          case 2: // RETURN_ORDERS_MAP
224371
          case 2: // RETURN_ORDERS_MAP
222276
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
224372
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
222277
              {
224373
              {
222278
                org.apache.thrift.protocol.TMap _map759 = iprot.readMapBegin();
224374
                org.apache.thrift.protocol.TMap _map767 = iprot.readMapBegin();
222279
                this.returnOrdersMap = new HashMap<Long,Map<String,String>>(2*_map759.size);
224375
                this.returnOrdersMap = new HashMap<Long,Map<String,String>>(2*_map767.size);
222280
                for (int _i760 = 0; _i760 < _map759.size; ++_i760)
224376
                for (int _i768 = 0; _i768 < _map767.size; ++_i768)
222281
                {
224377
                {
222282
                  long _key761; // required
224378
                  long _key769; // required
222283
                  Map<String,String> _val762; // required
224379
                  Map<String,String> _val770; // required
222284
                  _key761 = iprot.readI64();
224380
                  _key769 = iprot.readI64();
222285
                  {
224381
                  {
222286
                    org.apache.thrift.protocol.TMap _map763 = iprot.readMapBegin();
224382
                    org.apache.thrift.protocol.TMap _map771 = iprot.readMapBegin();
222287
                    _val762 = new HashMap<String,String>(2*_map763.size);
224383
                    _val770 = new HashMap<String,String>(2*_map771.size);
222288
                    for (int _i764 = 0; _i764 < _map763.size; ++_i764)
224384
                    for (int _i772 = 0; _i772 < _map771.size; ++_i772)
222289
                    {
224385
                    {
222290
                      String _key765; // required
224386
                      String _key773; // required
222291
                      String _val766; // required
224387
                      String _val774; // required
222292
                      _key765 = iprot.readString();
224388
                      _key773 = iprot.readString();
222293
                      _val766 = iprot.readString();
224389
                      _val774 = iprot.readString();
222294
                      _val762.put(_key765, _val766);
224390
                      _val770.put(_key773, _val774);
222295
                    }
224391
                    }
222296
                    iprot.readMapEnd();
224392
                    iprot.readMapEnd();
222297
                  }
224393
                  }
222298
                  this.returnOrdersMap.put(_key761, _val762);
224394
                  this.returnOrdersMap.put(_key769, _val770);
222299
                }
224395
                }
222300
                iprot.readMapEnd();
224396
                iprot.readMapEnd();
222301
              }
224397
              }
222302
            } else { 
224398
            } else { 
222303
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
224399
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 222321... Line 224417...
222321
      oprot.writeFieldEnd();
224417
      oprot.writeFieldEnd();
222322
      if (this.returnOrdersMap != null) {
224418
      if (this.returnOrdersMap != null) {
222323
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
224419
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
222324
        {
224420
        {
222325
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.returnOrdersMap.size()));
224421
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.returnOrdersMap.size()));
222326
          for (Map.Entry<Long, Map<String,String>> _iter767 : this.returnOrdersMap.entrySet())
224422
          for (Map.Entry<Long, Map<String,String>> _iter775 : this.returnOrdersMap.entrySet())
222327
          {
224423
          {
222328
            oprot.writeI64(_iter767.getKey());
224424
            oprot.writeI64(_iter775.getKey());
222329
            {
224425
            {
222330
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter767.getValue().size()));
224426
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter775.getValue().size()));
222331
              for (Map.Entry<String, String> _iter768 : _iter767.getValue().entrySet())
224427
              for (Map.Entry<String, String> _iter776 : _iter775.getValue().entrySet())
222332
              {
224428
              {
222333
                oprot.writeString(_iter768.getKey());
224429
                oprot.writeString(_iter776.getKey());
222334
                oprot.writeString(_iter768.getValue());
224430
                oprot.writeString(_iter776.getValue());
222335
              }
224431
              }
222336
              oprot.writeMapEnd();
224432
              oprot.writeMapEnd();
222337
            }
224433
            }
222338
          }
224434
          }
222339
          oprot.writeMapEnd();
224435
          oprot.writeMapEnd();
Line 223781... Line 225877...
223781
        }
225877
        }
223782
        switch (field.id) {
225878
        switch (field.id) {
223783
          case 1: // REFUND_ORDERS_MAP
225879
          case 1: // REFUND_ORDERS_MAP
223784
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
225880
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
223785
              {
225881
              {
223786
                org.apache.thrift.protocol.TMap _map769 = iprot.readMapBegin();
225882
                org.apache.thrift.protocol.TMap _map777 = iprot.readMapBegin();
223787
                this.refundOrdersMap = new HashMap<Long,Map<String,String>>(2*_map769.size);
225883
                this.refundOrdersMap = new HashMap<Long,Map<String,String>>(2*_map777.size);
223788
                for (int _i770 = 0; _i770 < _map769.size; ++_i770)
225884
                for (int _i778 = 0; _i778 < _map777.size; ++_i778)
223789
                {
225885
                {
223790
                  long _key771; // required
225886
                  long _key779; // required
223791
                  Map<String,String> _val772; // required
225887
                  Map<String,String> _val780; // required
223792
                  _key771 = iprot.readI64();
225888
                  _key779 = iprot.readI64();
223793
                  {
225889
                  {
223794
                    org.apache.thrift.protocol.TMap _map773 = iprot.readMapBegin();
225890
                    org.apache.thrift.protocol.TMap _map781 = iprot.readMapBegin();
223795
                    _val772 = new HashMap<String,String>(2*_map773.size);
225891
                    _val780 = new HashMap<String,String>(2*_map781.size);
223796
                    for (int _i774 = 0; _i774 < _map773.size; ++_i774)
225892
                    for (int _i782 = 0; _i782 < _map781.size; ++_i782)
223797
                    {
225893
                    {
223798
                      String _key775; // required
225894
                      String _key783; // required
223799
                      String _val776; // required
225895
                      String _val784; // required
223800
                      _key775 = iprot.readString();
225896
                      _key783 = iprot.readString();
223801
                      _val776 = iprot.readString();
225897
                      _val784 = iprot.readString();
223802
                      _val772.put(_key775, _val776);
225898
                      _val780.put(_key783, _val784);
223803
                    }
225899
                    }
223804
                    iprot.readMapEnd();
225900
                    iprot.readMapEnd();
223805
                  }
225901
                  }
223806
                  this.refundOrdersMap.put(_key771, _val772);
225902
                  this.refundOrdersMap.put(_key779, _val780);
223807
                }
225903
                }
223808
                iprot.readMapEnd();
225904
                iprot.readMapEnd();
223809
              }
225905
              }
223810
            } else { 
225906
            } else { 
223811
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
225907
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 223834... Line 225930...
223834
      oprot.writeStructBegin(STRUCT_DESC);
225930
      oprot.writeStructBegin(STRUCT_DESC);
223835
      if (this.refundOrdersMap != null) {
225931
      if (this.refundOrdersMap != null) {
223836
        oprot.writeFieldBegin(REFUND_ORDERS_MAP_FIELD_DESC);
225932
        oprot.writeFieldBegin(REFUND_ORDERS_MAP_FIELD_DESC);
223837
        {
225933
        {
223838
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.refundOrdersMap.size()));
225934
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.refundOrdersMap.size()));
223839
          for (Map.Entry<Long, Map<String,String>> _iter777 : this.refundOrdersMap.entrySet())
225935
          for (Map.Entry<Long, Map<String,String>> _iter785 : this.refundOrdersMap.entrySet())
223840
          {
225936
          {
223841
            oprot.writeI64(_iter777.getKey());
225937
            oprot.writeI64(_iter785.getKey());
223842
            {
225938
            {
223843
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter777.getValue().size()));
225939
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter785.getValue().size()));
223844
              for (Map.Entry<String, String> _iter778 : _iter777.getValue().entrySet())
225940
              for (Map.Entry<String, String> _iter786 : _iter785.getValue().entrySet())
223845
              {
225941
              {
223846
                oprot.writeString(_iter778.getKey());
225942
                oprot.writeString(_iter786.getKey());
223847
                oprot.writeString(_iter778.getValue());
225943
                oprot.writeString(_iter786.getValue());
223848
              }
225944
              }
223849
              oprot.writeMapEnd();
225945
              oprot.writeMapEnd();
223850
            }
225946
            }
223851
          }
225947
          }
223852
          oprot.writeMapEnd();
225948
          oprot.writeMapEnd();
Line 224808... Line 226904...
224808
        }
226904
        }
224809
        switch (field.id) {
226905
        switch (field.id) {
224810
          case 1: // STATUS_LIST
226906
          case 1: // STATUS_LIST
224811
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
226907
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
224812
              {
226908
              {
224813
                org.apache.thrift.protocol.TList _list779 = iprot.readListBegin();
226909
                org.apache.thrift.protocol.TList _list787 = iprot.readListBegin();
224814
                this.statusList = new ArrayList<ReturnTransactionStatus>(_list779.size);
226910
                this.statusList = new ArrayList<ReturnTransactionStatus>(_list787.size);
224815
                for (int _i780 = 0; _i780 < _list779.size; ++_i780)
226911
                for (int _i788 = 0; _i788 < _list787.size; ++_i788)
224816
                {
226912
                {
224817
                  ReturnTransactionStatus _elem781; // required
226913
                  ReturnTransactionStatus _elem789; // required
224818
                  _elem781 = ReturnTransactionStatus.findByValue(iprot.readI32());
226914
                  _elem789 = ReturnTransactionStatus.findByValue(iprot.readI32());
224819
                  this.statusList.add(_elem781);
226915
                  this.statusList.add(_elem789);
224820
                }
226916
                }
224821
                iprot.readListEnd();
226917
                iprot.readListEnd();
224822
              }
226918
              }
224823
            } else { 
226919
            } else { 
224824
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
226920
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 224869... Line 226965...
224869
      oprot.writeStructBegin(STRUCT_DESC);
226965
      oprot.writeStructBegin(STRUCT_DESC);
224870
      if (this.statusList != null) {
226966
      if (this.statusList != null) {
224871
        oprot.writeFieldBegin(STATUS_LIST_FIELD_DESC);
226967
        oprot.writeFieldBegin(STATUS_LIST_FIELD_DESC);
224872
        {
226968
        {
224873
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statusList.size()));
226969
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statusList.size()));
224874
          for (ReturnTransactionStatus _iter782 : this.statusList)
226970
          for (ReturnTransactionStatus _iter790 : this.statusList)
224875
          {
226971
          {
224876
            oprot.writeI32(_iter782.getValue());
226972
            oprot.writeI32(_iter790.getValue());
224877
          }
226973
          }
224878
          oprot.writeListEnd();
226974
          oprot.writeListEnd();
224879
        }
226975
        }
224880
        oprot.writeFieldEnd();
226976
        oprot.writeFieldEnd();
224881
      }
226977
      }
Line 225279... Line 227375...
225279
        }
227375
        }
225280
        switch (field.id) {
227376
        switch (field.id) {
225281
          case 0: // SUCCESS
227377
          case 0: // SUCCESS
225282
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
227378
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
225283
              {
227379
              {
225284
                org.apache.thrift.protocol.TList _list783 = iprot.readListBegin();
227380
                org.apache.thrift.protocol.TList _list791 = iprot.readListBegin();
225285
                this.success = new ArrayList<ReturnTransaction>(_list783.size);
227381
                this.success = new ArrayList<ReturnTransaction>(_list791.size);
225286
                for (int _i784 = 0; _i784 < _list783.size; ++_i784)
227382
                for (int _i792 = 0; _i792 < _list791.size; ++_i792)
225287
                {
227383
                {
225288
                  ReturnTransaction _elem785; // required
227384
                  ReturnTransaction _elem793; // required
225289
                  _elem785 = new ReturnTransaction();
227385
                  _elem793 = new ReturnTransaction();
225290
                  _elem785.read(iprot);
227386
                  _elem793.read(iprot);
225291
                  this.success.add(_elem785);
227387
                  this.success.add(_elem793);
225292
                }
227388
                }
225293
                iprot.readListEnd();
227389
                iprot.readListEnd();
225294
              }
227390
              }
225295
            } else { 
227391
            } else { 
225296
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
227392
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 225318... Line 227414...
225318
 
227414
 
225319
      if (this.isSetSuccess()) {
227415
      if (this.isSetSuccess()) {
225320
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
227416
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
225321
        {
227417
        {
225322
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
227418
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
225323
          for (ReturnTransaction _iter786 : this.success)
227419
          for (ReturnTransaction _iter794 : this.success)
225324
          {
227420
          {
225325
            _iter786.write(oprot);
227421
            _iter794.write(oprot);
225326
          }
227422
          }
225327
          oprot.writeListEnd();
227423
          oprot.writeListEnd();
225328
        }
227424
        }
225329
        oprot.writeFieldEnd();
227425
        oprot.writeFieldEnd();
225330
      } else if (this.isSetEx()) {
227426
      } else if (this.isSetEx()) {