Subversion Repositories SmartDukaan

Rev

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

Rev 19869 Rev 19888
Line 1153... Line 1153...
1153
 
1153
 
1154
    public PaginatedLoanHistory getLimitedLoanHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset) throws org.apache.thrift.TException;
1154
    public PaginatedLoanHistory getLimitedLoanHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset) throws org.apache.thrift.TException;
1155
 
1155
 
1156
    public PaginatedUserSanction getUserSanctionsDetailsAsPerLimit(long userId, long creditorId, long limit, long offset, String sort) throws org.apache.thrift.TException;
1156
    public PaginatedUserSanction getUserSanctionsDetailsAsPerLimit(long userId, long creditorId, long limit, long offset, String sort) throws org.apache.thrift.TException;
1157
 
1157
 
-
 
1158
    public List<OutstandingPayments> getOutstandingPayments(String fetchType, long userId, long limit) throws org.apache.thrift.TException;
-
 
1159
 
1158
    public ReturnOrderInfo getReturnOrderInfo(long id) throws TransactionServiceException, org.apache.thrift.TException;
1160
    public ReturnOrderInfo getReturnOrderInfo(long id) throws TransactionServiceException, org.apache.thrift.TException;
1159
 
1161
 
1160
    public Map<Long,List<ReturnOrderInfo>> getReturnOrderInfoList(List<Long> order_ids) throws org.apache.thrift.TException;
1162
    public Map<Long,List<ReturnOrderInfo>> getReturnOrderInfoList(List<Long> order_ids) throws org.apache.thrift.TException;
1161
 
1163
 
1162
    public Map<Long,List<ReturnOrderInfo>> getReturnOrderInfoListAsByStatus(List<Long> order_ids, List<String> statuses) throws org.apache.thrift.TException;
1164
    public Map<Long,List<ReturnOrderInfo>> getReturnOrderInfoListAsByStatus(List<Long> order_ids, List<String> statuses) throws org.apache.thrift.TException;
Line 1768... Line 1770...
1768
 
1770
 
1769
    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;
1771
    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;
1770
 
1772
 
1771
    public void getUserSanctionsDetailsAsPerLimit(long userId, long creditorId, long limit, long offset, String sort, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUserSanctionsDetailsAsPerLimit_call> resultHandler) throws org.apache.thrift.TException;
1773
    public void getUserSanctionsDetailsAsPerLimit(long userId, long creditorId, long limit, long offset, String sort, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUserSanctionsDetailsAsPerLimit_call> resultHandler) throws org.apache.thrift.TException;
1772
 
1774
 
-
 
1775
    public void getOutstandingPayments(String fetchType, long userId, long limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOutstandingPayments_call> resultHandler) throws org.apache.thrift.TException;
-
 
1776
 
1773
    public void getReturnOrderInfo(long id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException;
1777
    public void getReturnOrderInfo(long id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException;
1774
 
1778
 
1775
    public void getReturnOrderInfoList(List<Long> order_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfoList_call> resultHandler) throws org.apache.thrift.TException;
1779
    public void getReturnOrderInfoList(List<Long> order_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfoList_call> resultHandler) throws org.apache.thrift.TException;
1776
 
1780
 
1777
    public void getReturnOrderInfoListAsByStatus(List<Long> order_ids, List<String> statuses, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfoListAsByStatus_call> resultHandler) throws org.apache.thrift.TException;
1781
    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 8443... Line 8447...
8443
        return result.success;
8447
        return result.success;
8444
      }
8448
      }
8445
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUserSanctionsDetailsAsPerLimit failed: unknown result");
8449
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUserSanctionsDetailsAsPerLimit failed: unknown result");
8446
    }
8450
    }
8447
 
8451
 
-
 
8452
    public List<OutstandingPayments> getOutstandingPayments(String fetchType, long userId, long limit) throws org.apache.thrift.TException
-
 
8453
    {
-
 
8454
      send_getOutstandingPayments(fetchType, userId, limit);
-
 
8455
      return recv_getOutstandingPayments();
-
 
8456
    }
-
 
8457
 
-
 
8458
    public void send_getOutstandingPayments(String fetchType, long userId, long limit) throws org.apache.thrift.TException
-
 
8459
    {
-
 
8460
      getOutstandingPayments_args args = new getOutstandingPayments_args();
-
 
8461
      args.setFetchType(fetchType);
-
 
8462
      args.setUserId(userId);
-
 
8463
      args.setLimit(limit);
-
 
8464
      sendBase("getOutstandingPayments", args);
-
 
8465
    }
-
 
8466
 
-
 
8467
    public List<OutstandingPayments> recv_getOutstandingPayments() throws org.apache.thrift.TException
-
 
8468
    {
-
 
8469
      getOutstandingPayments_result result = new getOutstandingPayments_result();
-
 
8470
      receiveBase(result, "getOutstandingPayments");
-
 
8471
      if (result.isSetSuccess()) {
-
 
8472
        return result.success;
-
 
8473
      }
-
 
8474
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOutstandingPayments failed: unknown result");
-
 
8475
    }
-
 
8476
 
8448
    public ReturnOrderInfo getReturnOrderInfo(long id) throws TransactionServiceException, org.apache.thrift.TException
8477
    public ReturnOrderInfo getReturnOrderInfo(long id) throws TransactionServiceException, org.apache.thrift.TException
8449
    {
8478
    {
8450
      send_getReturnOrderInfo(id);
8479
      send_getReturnOrderInfo(id);
8451
      return recv_getReturnOrderInfo();
8480
      return recv_getReturnOrderInfo();
8452
    }
8481
    }
Line 18554... Line 18583...
18554
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
18583
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
18555
        return (new Client(prot)).recv_getUserSanctionsDetailsAsPerLimit();
18584
        return (new Client(prot)).recv_getUserSanctionsDetailsAsPerLimit();
18556
      }
18585
      }
18557
    }
18586
    }
18558
 
18587
 
-
 
18588
    public void getOutstandingPayments(String fetchType, long userId, long limit, org.apache.thrift.async.AsyncMethodCallback<getOutstandingPayments_call> resultHandler) throws org.apache.thrift.TException {
-
 
18589
      checkReady();
-
 
18590
      getOutstandingPayments_call method_call = new getOutstandingPayments_call(fetchType, userId, limit, resultHandler, this, ___protocolFactory, ___transport);
-
 
18591
      this.___currentMethod = method_call;
-
 
18592
      ___manager.call(method_call);
-
 
18593
    }
-
 
18594
 
-
 
18595
    public static class getOutstandingPayments_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
18596
      private String fetchType;
-
 
18597
      private long userId;
-
 
18598
      private long limit;
-
 
18599
      public getOutstandingPayments_call(String fetchType, long userId, long limit, org.apache.thrift.async.AsyncMethodCallback<getOutstandingPayments_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 {
-
 
18600
        super(client, protocolFactory, transport, resultHandler, false);
-
 
18601
        this.fetchType = fetchType;
-
 
18602
        this.userId = userId;
-
 
18603
        this.limit = limit;
-
 
18604
      }
-
 
18605
 
-
 
18606
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
18607
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOutstandingPayments", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
18608
        getOutstandingPayments_args args = new getOutstandingPayments_args();
-
 
18609
        args.setFetchType(fetchType);
-
 
18610
        args.setUserId(userId);
-
 
18611
        args.setLimit(limit);
-
 
18612
        args.write(prot);
-
 
18613
        prot.writeMessageEnd();
-
 
18614
      }
-
 
18615
 
-
 
18616
      public List<OutstandingPayments> getResult() throws org.apache.thrift.TException {
-
 
18617
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
18618
          throw new IllegalStateException("Method call not finished!");
-
 
18619
        }
-
 
18620
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
18621
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
18622
        return (new Client(prot)).recv_getOutstandingPayments();
-
 
18623
      }
-
 
18624
    }
-
 
18625
 
18559
    public void getReturnOrderInfo(long id, org.apache.thrift.async.AsyncMethodCallback<getReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException {
18626
    public void getReturnOrderInfo(long id, org.apache.thrift.async.AsyncMethodCallback<getReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException {
18560
      checkReady();
18627
      checkReady();
18561
      getReturnOrderInfo_call method_call = new getReturnOrderInfo_call(id, resultHandler, this, ___protocolFactory, ___transport);
18628
      getReturnOrderInfo_call method_call = new getReturnOrderInfo_call(id, resultHandler, this, ___protocolFactory, ___transport);
18562
      this.___currentMethod = method_call;
18629
      this.___currentMethod = method_call;
18563
      ___manager.call(method_call);
18630
      ___manager.call(method_call);
Line 19869... Line 19936...
19869
      processMap.put("getLoanHistoryRecordsForUserAndCreditor", new getLoanHistoryRecordsForUserAndCreditor());
19936
      processMap.put("getLoanHistoryRecordsForUserAndCreditor", new getLoanHistoryRecordsForUserAndCreditor());
19870
      processMap.put("processLoanTransaction", new processLoanTransaction());
19937
      processMap.put("processLoanTransaction", new processLoanTransaction());
19871
      processMap.put("getLimitedCreditHistoryRecords", new getLimitedCreditHistoryRecords());
19938
      processMap.put("getLimitedCreditHistoryRecords", new getLimitedCreditHistoryRecords());
19872
      processMap.put("getLimitedLoanHistoryRecords", new getLimitedLoanHistoryRecords());
19939
      processMap.put("getLimitedLoanHistoryRecords", new getLimitedLoanHistoryRecords());
19873
      processMap.put("getUserSanctionsDetailsAsPerLimit", new getUserSanctionsDetailsAsPerLimit());
19940
      processMap.put("getUserSanctionsDetailsAsPerLimit", new getUserSanctionsDetailsAsPerLimit());
-
 
19941
      processMap.put("getOutstandingPayments", new getOutstandingPayments());
19874
      processMap.put("getReturnOrderInfo", new getReturnOrderInfo());
19942
      processMap.put("getReturnOrderInfo", new getReturnOrderInfo());
19875
      processMap.put("getReturnOrderInfoList", new getReturnOrderInfoList());
19943
      processMap.put("getReturnOrderInfoList", new getReturnOrderInfoList());
19876
      processMap.put("getReturnOrderInfoListAsByStatus", new getReturnOrderInfoListAsByStatus());
19944
      processMap.put("getReturnOrderInfoListAsByStatus", new getReturnOrderInfoListAsByStatus());
19877
      processMap.put("updateReturnOrderInfo", new updateReturnOrderInfo());
19945
      processMap.put("updateReturnOrderInfo", new updateReturnOrderInfo());
19878
      processMap.put("bulkUpdateReturnOrderInfo", new bulkUpdateReturnOrderInfo());
19946
      processMap.put("bulkUpdateReturnOrderInfo", new bulkUpdateReturnOrderInfo());
Line 24718... Line 24786...
24718
        result.success = iface.getUserSanctionsDetailsAsPerLimit(args.userId, args.creditorId, args.limit, args.offset, args.sort);
24786
        result.success = iface.getUserSanctionsDetailsAsPerLimit(args.userId, args.creditorId, args.limit, args.offset, args.sort);
24719
        return result;
24787
        return result;
24720
      }
24788
      }
24721
    }
24789
    }
24722
 
24790
 
-
 
24791
    private static class getOutstandingPayments<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOutstandingPayments_args> {
-
 
24792
      public getOutstandingPayments() {
-
 
24793
        super("getOutstandingPayments");
-
 
24794
      }
-
 
24795
 
-
 
24796
      protected getOutstandingPayments_args getEmptyArgsInstance() {
-
 
24797
        return new getOutstandingPayments_args();
-
 
24798
      }
-
 
24799
 
-
 
24800
      protected getOutstandingPayments_result getResult(I iface, getOutstandingPayments_args args) throws org.apache.thrift.TException {
-
 
24801
        getOutstandingPayments_result result = new getOutstandingPayments_result();
-
 
24802
        result.success = iface.getOutstandingPayments(args.fetchType, args.userId, args.limit);
-
 
24803
        return result;
-
 
24804
      }
-
 
24805
    }
-
 
24806
 
24723
    private static class getReturnOrderInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReturnOrderInfo_args> {
24807
    private static class getReturnOrderInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReturnOrderInfo_args> {
24724
      public getReturnOrderInfo() {
24808
      public getReturnOrderInfo() {
24725
        super("getReturnOrderInfo");
24809
        super("getReturnOrderInfo");
24726
      }
24810
      }
24727
 
24811
 
Line 215398... Line 215482...
215398
      }
215482
      }
215399
    }
215483
    }
215400
 
215484
 
215401
  }
215485
  }
215402
 
215486
 
-
 
215487
  public static class getOutstandingPayments_args implements org.apache.thrift.TBase<getOutstandingPayments_args, getOutstandingPayments_args._Fields>, java.io.Serializable, Cloneable   {
-
 
215488
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOutstandingPayments_args");
-
 
215489
 
-
 
215490
    private static final org.apache.thrift.protocol.TField FETCH_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("fetchType", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
215491
    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);
-
 
215492
    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)3);
-
 
215493
 
-
 
215494
    private String fetchType; // required
-
 
215495
    private long userId; // required
-
 
215496
    private long limit; // required
-
 
215497
 
-
 
215498
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
215499
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
215500
      FETCH_TYPE((short)1, "fetchType"),
-
 
215501
      USER_ID((short)2, "userId"),
-
 
215502
      LIMIT((short)3, "limit");
-
 
215503
 
-
 
215504
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
215505
 
-
 
215506
      static {
-
 
215507
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
215508
          byName.put(field.getFieldName(), field);
-
 
215509
        }
-
 
215510
      }
-
 
215511
 
-
 
215512
      /**
-
 
215513
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
215514
       */
-
 
215515
      public static _Fields findByThriftId(int fieldId) {
-
 
215516
        switch(fieldId) {
-
 
215517
          case 1: // FETCH_TYPE
-
 
215518
            return FETCH_TYPE;
-
 
215519
          case 2: // USER_ID
-
 
215520
            return USER_ID;
-
 
215521
          case 3: // LIMIT
-
 
215522
            return LIMIT;
-
 
215523
          default:
-
 
215524
            return null;
-
 
215525
        }
-
 
215526
      }
-
 
215527
 
-
 
215528
      /**
-
 
215529
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
215530
       * if it is not found.
-
 
215531
       */
-
 
215532
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
215533
        _Fields fields = findByThriftId(fieldId);
-
 
215534
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
215535
        return fields;
-
 
215536
      }
-
 
215537
 
-
 
215538
      /**
-
 
215539
       * Find the _Fields constant that matches name, or null if its not found.
-
 
215540
       */
-
 
215541
      public static _Fields findByName(String name) {
-
 
215542
        return byName.get(name);
-
 
215543
      }
-
 
215544
 
-
 
215545
      private final short _thriftId;
-
 
215546
      private final String _fieldName;
-
 
215547
 
-
 
215548
      _Fields(short thriftId, String fieldName) {
-
 
215549
        _thriftId = thriftId;
-
 
215550
        _fieldName = fieldName;
-
 
215551
      }
-
 
215552
 
-
 
215553
      public short getThriftFieldId() {
-
 
215554
        return _thriftId;
-
 
215555
      }
-
 
215556
 
-
 
215557
      public String getFieldName() {
-
 
215558
        return _fieldName;
-
 
215559
      }
-
 
215560
    }
-
 
215561
 
-
 
215562
    // isset id assignments
-
 
215563
    private static final int __USERID_ISSET_ID = 0;
-
 
215564
    private static final int __LIMIT_ISSET_ID = 1;
-
 
215565
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
215566
 
-
 
215567
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
215568
    static {
-
 
215569
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
215570
      tmpMap.put(_Fields.FETCH_TYPE, new org.apache.thrift.meta_data.FieldMetaData("fetchType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
215571
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
215572
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
215573
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
215574
      tmpMap.put(_Fields.LIMIT, new org.apache.thrift.meta_data.FieldMetaData("limit", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
215575
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
215576
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
215577
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOutstandingPayments_args.class, metaDataMap);
-
 
215578
    }
-
 
215579
 
-
 
215580
    public getOutstandingPayments_args() {
-
 
215581
    }
-
 
215582
 
-
 
215583
    public getOutstandingPayments_args(
-
 
215584
      String fetchType,
-
 
215585
      long userId,
-
 
215586
      long limit)
-
 
215587
    {
-
 
215588
      this();
-
 
215589
      this.fetchType = fetchType;
-
 
215590
      this.userId = userId;
-
 
215591
      setUserIdIsSet(true);
-
 
215592
      this.limit = limit;
-
 
215593
      setLimitIsSet(true);
-
 
215594
    }
-
 
215595
 
-
 
215596
    /**
-
 
215597
     * Performs a deep copy on <i>other</i>.
-
 
215598
     */
-
 
215599
    public getOutstandingPayments_args(getOutstandingPayments_args other) {
-
 
215600
      __isset_bit_vector.clear();
-
 
215601
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
215602
      if (other.isSetFetchType()) {
-
 
215603
        this.fetchType = other.fetchType;
-
 
215604
      }
-
 
215605
      this.userId = other.userId;
-
 
215606
      this.limit = other.limit;
-
 
215607
    }
-
 
215608
 
-
 
215609
    public getOutstandingPayments_args deepCopy() {
-
 
215610
      return new getOutstandingPayments_args(this);
-
 
215611
    }
-
 
215612
 
-
 
215613
    @Override
-
 
215614
    public void clear() {
-
 
215615
      this.fetchType = null;
-
 
215616
      setUserIdIsSet(false);
-
 
215617
      this.userId = 0;
-
 
215618
      setLimitIsSet(false);
-
 
215619
      this.limit = 0;
-
 
215620
    }
-
 
215621
 
-
 
215622
    public String getFetchType() {
-
 
215623
      return this.fetchType;
-
 
215624
    }
-
 
215625
 
-
 
215626
    public void setFetchType(String fetchType) {
-
 
215627
      this.fetchType = fetchType;
-
 
215628
    }
-
 
215629
 
-
 
215630
    public void unsetFetchType() {
-
 
215631
      this.fetchType = null;
-
 
215632
    }
-
 
215633
 
-
 
215634
    /** Returns true if field fetchType is set (has been assigned a value) and false otherwise */
-
 
215635
    public boolean isSetFetchType() {
-
 
215636
      return this.fetchType != null;
-
 
215637
    }
-
 
215638
 
-
 
215639
    public void setFetchTypeIsSet(boolean value) {
-
 
215640
      if (!value) {
-
 
215641
        this.fetchType = null;
-
 
215642
      }
-
 
215643
    }
-
 
215644
 
-
 
215645
    public long getUserId() {
-
 
215646
      return this.userId;
-
 
215647
    }
-
 
215648
 
-
 
215649
    public void setUserId(long userId) {
-
 
215650
      this.userId = userId;
-
 
215651
      setUserIdIsSet(true);
-
 
215652
    }
-
 
215653
 
-
 
215654
    public void unsetUserId() {
-
 
215655
      __isset_bit_vector.clear(__USERID_ISSET_ID);
-
 
215656
    }
-
 
215657
 
-
 
215658
    /** Returns true if field userId is set (has been assigned a value) and false otherwise */
-
 
215659
    public boolean isSetUserId() {
-
 
215660
      return __isset_bit_vector.get(__USERID_ISSET_ID);
-
 
215661
    }
-
 
215662
 
-
 
215663
    public void setUserIdIsSet(boolean value) {
-
 
215664
      __isset_bit_vector.set(__USERID_ISSET_ID, value);
-
 
215665
    }
-
 
215666
 
-
 
215667
    public long getLimit() {
-
 
215668
      return this.limit;
-
 
215669
    }
-
 
215670
 
-
 
215671
    public void setLimit(long limit) {
-
 
215672
      this.limit = limit;
-
 
215673
      setLimitIsSet(true);
-
 
215674
    }
-
 
215675
 
-
 
215676
    public void unsetLimit() {
-
 
215677
      __isset_bit_vector.clear(__LIMIT_ISSET_ID);
-
 
215678
    }
-
 
215679
 
-
 
215680
    /** Returns true if field limit is set (has been assigned a value) and false otherwise */
-
 
215681
    public boolean isSetLimit() {
-
 
215682
      return __isset_bit_vector.get(__LIMIT_ISSET_ID);
-
 
215683
    }
-
 
215684
 
-
 
215685
    public void setLimitIsSet(boolean value) {
-
 
215686
      __isset_bit_vector.set(__LIMIT_ISSET_ID, value);
-
 
215687
    }
-
 
215688
 
-
 
215689
    public void setFieldValue(_Fields field, Object value) {
-
 
215690
      switch (field) {
-
 
215691
      case FETCH_TYPE:
-
 
215692
        if (value == null) {
-
 
215693
          unsetFetchType();
-
 
215694
        } else {
-
 
215695
          setFetchType((String)value);
-
 
215696
        }
-
 
215697
        break;
-
 
215698
 
-
 
215699
      case USER_ID:
-
 
215700
        if (value == null) {
-
 
215701
          unsetUserId();
-
 
215702
        } else {
-
 
215703
          setUserId((Long)value);
-
 
215704
        }
-
 
215705
        break;
-
 
215706
 
-
 
215707
      case LIMIT:
-
 
215708
        if (value == null) {
-
 
215709
          unsetLimit();
-
 
215710
        } else {
-
 
215711
          setLimit((Long)value);
-
 
215712
        }
-
 
215713
        break;
-
 
215714
 
-
 
215715
      }
-
 
215716
    }
-
 
215717
 
-
 
215718
    public Object getFieldValue(_Fields field) {
-
 
215719
      switch (field) {
-
 
215720
      case FETCH_TYPE:
-
 
215721
        return getFetchType();
-
 
215722
 
-
 
215723
      case USER_ID:
-
 
215724
        return Long.valueOf(getUserId());
-
 
215725
 
-
 
215726
      case LIMIT:
-
 
215727
        return Long.valueOf(getLimit());
-
 
215728
 
-
 
215729
      }
-
 
215730
      throw new IllegalStateException();
-
 
215731
    }
-
 
215732
 
-
 
215733
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
215734
    public boolean isSet(_Fields field) {
-
 
215735
      if (field == null) {
-
 
215736
        throw new IllegalArgumentException();
-
 
215737
      }
-
 
215738
 
-
 
215739
      switch (field) {
-
 
215740
      case FETCH_TYPE:
-
 
215741
        return isSetFetchType();
-
 
215742
      case USER_ID:
-
 
215743
        return isSetUserId();
-
 
215744
      case LIMIT:
-
 
215745
        return isSetLimit();
-
 
215746
      }
-
 
215747
      throw new IllegalStateException();
-
 
215748
    }
-
 
215749
 
-
 
215750
    @Override
-
 
215751
    public boolean equals(Object that) {
-
 
215752
      if (that == null)
-
 
215753
        return false;
-
 
215754
      if (that instanceof getOutstandingPayments_args)
-
 
215755
        return this.equals((getOutstandingPayments_args)that);
-
 
215756
      return false;
-
 
215757
    }
-
 
215758
 
-
 
215759
    public boolean equals(getOutstandingPayments_args that) {
-
 
215760
      if (that == null)
-
 
215761
        return false;
-
 
215762
 
-
 
215763
      boolean this_present_fetchType = true && this.isSetFetchType();
-
 
215764
      boolean that_present_fetchType = true && that.isSetFetchType();
-
 
215765
      if (this_present_fetchType || that_present_fetchType) {
-
 
215766
        if (!(this_present_fetchType && that_present_fetchType))
-
 
215767
          return false;
-
 
215768
        if (!this.fetchType.equals(that.fetchType))
-
 
215769
          return false;
-
 
215770
      }
-
 
215771
 
-
 
215772
      boolean this_present_userId = true;
-
 
215773
      boolean that_present_userId = true;
-
 
215774
      if (this_present_userId || that_present_userId) {
-
 
215775
        if (!(this_present_userId && that_present_userId))
-
 
215776
          return false;
-
 
215777
        if (this.userId != that.userId)
-
 
215778
          return false;
-
 
215779
      }
-
 
215780
 
-
 
215781
      boolean this_present_limit = true;
-
 
215782
      boolean that_present_limit = true;
-
 
215783
      if (this_present_limit || that_present_limit) {
-
 
215784
        if (!(this_present_limit && that_present_limit))
-
 
215785
          return false;
-
 
215786
        if (this.limit != that.limit)
-
 
215787
          return false;
-
 
215788
      }
-
 
215789
 
-
 
215790
      return true;
-
 
215791
    }
-
 
215792
 
-
 
215793
    @Override
-
 
215794
    public int hashCode() {
-
 
215795
      return 0;
-
 
215796
    }
-
 
215797
 
-
 
215798
    public int compareTo(getOutstandingPayments_args other) {
-
 
215799
      if (!getClass().equals(other.getClass())) {
-
 
215800
        return getClass().getName().compareTo(other.getClass().getName());
-
 
215801
      }
-
 
215802
 
-
 
215803
      int lastComparison = 0;
-
 
215804
      getOutstandingPayments_args typedOther = (getOutstandingPayments_args)other;
-
 
215805
 
-
 
215806
      lastComparison = Boolean.valueOf(isSetFetchType()).compareTo(typedOther.isSetFetchType());
-
 
215807
      if (lastComparison != 0) {
-
 
215808
        return lastComparison;
-
 
215809
      }
-
 
215810
      if (isSetFetchType()) {
-
 
215811
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fetchType, typedOther.fetchType);
-
 
215812
        if (lastComparison != 0) {
-
 
215813
          return lastComparison;
-
 
215814
        }
-
 
215815
      }
-
 
215816
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
-
 
215817
      if (lastComparison != 0) {
-
 
215818
        return lastComparison;
-
 
215819
      }
-
 
215820
      if (isSetUserId()) {
-
 
215821
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
-
 
215822
        if (lastComparison != 0) {
-
 
215823
          return lastComparison;
-
 
215824
        }
-
 
215825
      }
-
 
215826
      lastComparison = Boolean.valueOf(isSetLimit()).compareTo(typedOther.isSetLimit());
-
 
215827
      if (lastComparison != 0) {
-
 
215828
        return lastComparison;
-
 
215829
      }
-
 
215830
      if (isSetLimit()) {
-
 
215831
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.limit, typedOther.limit);
-
 
215832
        if (lastComparison != 0) {
-
 
215833
          return lastComparison;
-
 
215834
        }
-
 
215835
      }
-
 
215836
      return 0;
-
 
215837
    }
-
 
215838
 
-
 
215839
    public _Fields fieldForId(int fieldId) {
-
 
215840
      return _Fields.findByThriftId(fieldId);
-
 
215841
    }
-
 
215842
 
-
 
215843
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
215844
      org.apache.thrift.protocol.TField field;
-
 
215845
      iprot.readStructBegin();
-
 
215846
      while (true)
-
 
215847
      {
-
 
215848
        field = iprot.readFieldBegin();
-
 
215849
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
215850
          break;
-
 
215851
        }
-
 
215852
        switch (field.id) {
-
 
215853
          case 1: // FETCH_TYPE
-
 
215854
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
215855
              this.fetchType = iprot.readString();
-
 
215856
            } else { 
-
 
215857
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
215858
            }
-
 
215859
            break;
-
 
215860
          case 2: // USER_ID
-
 
215861
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
215862
              this.userId = iprot.readI64();
-
 
215863
              setUserIdIsSet(true);
-
 
215864
            } else { 
-
 
215865
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
215866
            }
-
 
215867
            break;
-
 
215868
          case 3: // LIMIT
-
 
215869
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
215870
              this.limit = iprot.readI64();
-
 
215871
              setLimitIsSet(true);
-
 
215872
            } else { 
-
 
215873
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
215874
            }
-
 
215875
            break;
-
 
215876
          default:
-
 
215877
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
215878
        }
-
 
215879
        iprot.readFieldEnd();
-
 
215880
      }
-
 
215881
      iprot.readStructEnd();
-
 
215882
      validate();
-
 
215883
    }
-
 
215884
 
-
 
215885
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
215886
      validate();
-
 
215887
 
-
 
215888
      oprot.writeStructBegin(STRUCT_DESC);
-
 
215889
      if (this.fetchType != null) {
-
 
215890
        oprot.writeFieldBegin(FETCH_TYPE_FIELD_DESC);
-
 
215891
        oprot.writeString(this.fetchType);
-
 
215892
        oprot.writeFieldEnd();
-
 
215893
      }
-
 
215894
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
-
 
215895
      oprot.writeI64(this.userId);
-
 
215896
      oprot.writeFieldEnd();
-
 
215897
      oprot.writeFieldBegin(LIMIT_FIELD_DESC);
-
 
215898
      oprot.writeI64(this.limit);
-
 
215899
      oprot.writeFieldEnd();
-
 
215900
      oprot.writeFieldStop();
-
 
215901
      oprot.writeStructEnd();
-
 
215902
    }
-
 
215903
 
-
 
215904
    @Override
-
 
215905
    public String toString() {
-
 
215906
      StringBuilder sb = new StringBuilder("getOutstandingPayments_args(");
-
 
215907
      boolean first = true;
-
 
215908
 
-
 
215909
      sb.append("fetchType:");
-
 
215910
      if (this.fetchType == null) {
-
 
215911
        sb.append("null");
-
 
215912
      } else {
-
 
215913
        sb.append(this.fetchType);
-
 
215914
      }
-
 
215915
      first = false;
-
 
215916
      if (!first) sb.append(", ");
-
 
215917
      sb.append("userId:");
-
 
215918
      sb.append(this.userId);
-
 
215919
      first = false;
-
 
215920
      if (!first) sb.append(", ");
-
 
215921
      sb.append("limit:");
-
 
215922
      sb.append(this.limit);
-
 
215923
      first = false;
-
 
215924
      sb.append(")");
-
 
215925
      return sb.toString();
-
 
215926
    }
-
 
215927
 
-
 
215928
    public void validate() throws org.apache.thrift.TException {
-
 
215929
      // check for required fields
-
 
215930
    }
-
 
215931
 
-
 
215932
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
215933
      try {
-
 
215934
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
215935
      } catch (org.apache.thrift.TException te) {
-
 
215936
        throw new java.io.IOException(te);
-
 
215937
      }
-
 
215938
    }
-
 
215939
 
-
 
215940
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
215941
      try {
-
 
215942
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
215943
        __isset_bit_vector = new BitSet(1);
-
 
215944
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
215945
      } catch (org.apache.thrift.TException te) {
-
 
215946
        throw new java.io.IOException(te);
-
 
215947
      }
-
 
215948
    }
-
 
215949
 
-
 
215950
  }
-
 
215951
 
-
 
215952
  public static class getOutstandingPayments_result implements org.apache.thrift.TBase<getOutstandingPayments_result, getOutstandingPayments_result._Fields>, java.io.Serializable, Cloneable   {
-
 
215953
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOutstandingPayments_result");
-
 
215954
 
-
 
215955
    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);
-
 
215956
 
-
 
215957
    private List<OutstandingPayments> success; // required
-
 
215958
 
-
 
215959
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
215960
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
215961
      SUCCESS((short)0, "success");
-
 
215962
 
-
 
215963
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
215964
 
-
 
215965
      static {
-
 
215966
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
215967
          byName.put(field.getFieldName(), field);
-
 
215968
        }
-
 
215969
      }
-
 
215970
 
-
 
215971
      /**
-
 
215972
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
215973
       */
-
 
215974
      public static _Fields findByThriftId(int fieldId) {
-
 
215975
        switch(fieldId) {
-
 
215976
          case 0: // SUCCESS
-
 
215977
            return SUCCESS;
-
 
215978
          default:
-
 
215979
            return null;
-
 
215980
        }
-
 
215981
      }
-
 
215982
 
-
 
215983
      /**
-
 
215984
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
215985
       * if it is not found.
-
 
215986
       */
-
 
215987
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
215988
        _Fields fields = findByThriftId(fieldId);
-
 
215989
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
215990
        return fields;
-
 
215991
      }
-
 
215992
 
-
 
215993
      /**
-
 
215994
       * Find the _Fields constant that matches name, or null if its not found.
-
 
215995
       */
-
 
215996
      public static _Fields findByName(String name) {
-
 
215997
        return byName.get(name);
-
 
215998
      }
-
 
215999
 
-
 
216000
      private final short _thriftId;
-
 
216001
      private final String _fieldName;
-
 
216002
 
-
 
216003
      _Fields(short thriftId, String fieldName) {
-
 
216004
        _thriftId = thriftId;
-
 
216005
        _fieldName = fieldName;
-
 
216006
      }
-
 
216007
 
-
 
216008
      public short getThriftFieldId() {
-
 
216009
        return _thriftId;
-
 
216010
      }
-
 
216011
 
-
 
216012
      public String getFieldName() {
-
 
216013
        return _fieldName;
-
 
216014
      }
-
 
216015
    }
-
 
216016
 
-
 
216017
    // isset id assignments
-
 
216018
 
-
 
216019
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
216020
    static {
-
 
216021
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
216022
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
216023
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
216024
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, OutstandingPayments.class))));
-
 
216025
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
216026
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOutstandingPayments_result.class, metaDataMap);
-
 
216027
    }
-
 
216028
 
-
 
216029
    public getOutstandingPayments_result() {
-
 
216030
    }
-
 
216031
 
-
 
216032
    public getOutstandingPayments_result(
-
 
216033
      List<OutstandingPayments> success)
-
 
216034
    {
-
 
216035
      this();
-
 
216036
      this.success = success;
-
 
216037
    }
-
 
216038
 
-
 
216039
    /**
-
 
216040
     * Performs a deep copy on <i>other</i>.
-
 
216041
     */
-
 
216042
    public getOutstandingPayments_result(getOutstandingPayments_result other) {
-
 
216043
      if (other.isSetSuccess()) {
-
 
216044
        List<OutstandingPayments> __this__success = new ArrayList<OutstandingPayments>();
-
 
216045
        for (OutstandingPayments other_element : other.success) {
-
 
216046
          __this__success.add(new OutstandingPayments(other_element));
-
 
216047
        }
-
 
216048
        this.success = __this__success;
-
 
216049
      }
-
 
216050
    }
-
 
216051
 
-
 
216052
    public getOutstandingPayments_result deepCopy() {
-
 
216053
      return new getOutstandingPayments_result(this);
-
 
216054
    }
-
 
216055
 
-
 
216056
    @Override
-
 
216057
    public void clear() {
-
 
216058
      this.success = null;
-
 
216059
    }
-
 
216060
 
-
 
216061
    public int getSuccessSize() {
-
 
216062
      return (this.success == null) ? 0 : this.success.size();
-
 
216063
    }
-
 
216064
 
-
 
216065
    public java.util.Iterator<OutstandingPayments> getSuccessIterator() {
-
 
216066
      return (this.success == null) ? null : this.success.iterator();
-
 
216067
    }
-
 
216068
 
-
 
216069
    public void addToSuccess(OutstandingPayments elem) {
-
 
216070
      if (this.success == null) {
-
 
216071
        this.success = new ArrayList<OutstandingPayments>();
-
 
216072
      }
-
 
216073
      this.success.add(elem);
-
 
216074
    }
-
 
216075
 
-
 
216076
    public List<OutstandingPayments> getSuccess() {
-
 
216077
      return this.success;
-
 
216078
    }
-
 
216079
 
-
 
216080
    public void setSuccess(List<OutstandingPayments> success) {
-
 
216081
      this.success = success;
-
 
216082
    }
-
 
216083
 
-
 
216084
    public void unsetSuccess() {
-
 
216085
      this.success = null;
-
 
216086
    }
-
 
216087
 
-
 
216088
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
216089
    public boolean isSetSuccess() {
-
 
216090
      return this.success != null;
-
 
216091
    }
-
 
216092
 
-
 
216093
    public void setSuccessIsSet(boolean value) {
-
 
216094
      if (!value) {
-
 
216095
        this.success = null;
-
 
216096
      }
-
 
216097
    }
-
 
216098
 
-
 
216099
    public void setFieldValue(_Fields field, Object value) {
-
 
216100
      switch (field) {
-
 
216101
      case SUCCESS:
-
 
216102
        if (value == null) {
-
 
216103
          unsetSuccess();
-
 
216104
        } else {
-
 
216105
          setSuccess((List<OutstandingPayments>)value);
-
 
216106
        }
-
 
216107
        break;
-
 
216108
 
-
 
216109
      }
-
 
216110
    }
-
 
216111
 
-
 
216112
    public Object getFieldValue(_Fields field) {
-
 
216113
      switch (field) {
-
 
216114
      case SUCCESS:
-
 
216115
        return getSuccess();
-
 
216116
 
-
 
216117
      }
-
 
216118
      throw new IllegalStateException();
-
 
216119
    }
-
 
216120
 
-
 
216121
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
216122
    public boolean isSet(_Fields field) {
-
 
216123
      if (field == null) {
-
 
216124
        throw new IllegalArgumentException();
-
 
216125
      }
-
 
216126
 
-
 
216127
      switch (field) {
-
 
216128
      case SUCCESS:
-
 
216129
        return isSetSuccess();
-
 
216130
      }
-
 
216131
      throw new IllegalStateException();
-
 
216132
    }
-
 
216133
 
-
 
216134
    @Override
-
 
216135
    public boolean equals(Object that) {
-
 
216136
      if (that == null)
-
 
216137
        return false;
-
 
216138
      if (that instanceof getOutstandingPayments_result)
-
 
216139
        return this.equals((getOutstandingPayments_result)that);
-
 
216140
      return false;
-
 
216141
    }
-
 
216142
 
-
 
216143
    public boolean equals(getOutstandingPayments_result that) {
-
 
216144
      if (that == null)
-
 
216145
        return false;
-
 
216146
 
-
 
216147
      boolean this_present_success = true && this.isSetSuccess();
-
 
216148
      boolean that_present_success = true && that.isSetSuccess();
-
 
216149
      if (this_present_success || that_present_success) {
-
 
216150
        if (!(this_present_success && that_present_success))
-
 
216151
          return false;
-
 
216152
        if (!this.success.equals(that.success))
-
 
216153
          return false;
-
 
216154
      }
-
 
216155
 
-
 
216156
      return true;
-
 
216157
    }
-
 
216158
 
-
 
216159
    @Override
-
 
216160
    public int hashCode() {
-
 
216161
      return 0;
-
 
216162
    }
-
 
216163
 
-
 
216164
    public int compareTo(getOutstandingPayments_result other) {
-
 
216165
      if (!getClass().equals(other.getClass())) {
-
 
216166
        return getClass().getName().compareTo(other.getClass().getName());
-
 
216167
      }
-
 
216168
 
-
 
216169
      int lastComparison = 0;
-
 
216170
      getOutstandingPayments_result typedOther = (getOutstandingPayments_result)other;
-
 
216171
 
-
 
216172
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
216173
      if (lastComparison != 0) {
-
 
216174
        return lastComparison;
-
 
216175
      }
-
 
216176
      if (isSetSuccess()) {
-
 
216177
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
216178
        if (lastComparison != 0) {
-
 
216179
          return lastComparison;
-
 
216180
        }
-
 
216181
      }
-
 
216182
      return 0;
-
 
216183
    }
-
 
216184
 
-
 
216185
    public _Fields fieldForId(int fieldId) {
-
 
216186
      return _Fields.findByThriftId(fieldId);
-
 
216187
    }
-
 
216188
 
-
 
216189
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
216190
      org.apache.thrift.protocol.TField field;
-
 
216191
      iprot.readStructBegin();
-
 
216192
      while (true)
-
 
216193
      {
-
 
216194
        field = iprot.readFieldBegin();
-
 
216195
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
216196
          break;
-
 
216197
        }
-
 
216198
        switch (field.id) {
-
 
216199
          case 0: // SUCCESS
-
 
216200
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
216201
              {
-
 
216202
                org.apache.thrift.protocol.TList _list692 = iprot.readListBegin();
-
 
216203
                this.success = new ArrayList<OutstandingPayments>(_list692.size);
-
 
216204
                for (int _i693 = 0; _i693 < _list692.size; ++_i693)
-
 
216205
                {
-
 
216206
                  OutstandingPayments _elem694; // required
-
 
216207
                  _elem694 = new OutstandingPayments();
-
 
216208
                  _elem694.read(iprot);
-
 
216209
                  this.success.add(_elem694);
-
 
216210
                }
-
 
216211
                iprot.readListEnd();
-
 
216212
              }
-
 
216213
            } else { 
-
 
216214
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
216215
            }
-
 
216216
            break;
-
 
216217
          default:
-
 
216218
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
216219
        }
-
 
216220
        iprot.readFieldEnd();
-
 
216221
      }
-
 
216222
      iprot.readStructEnd();
-
 
216223
      validate();
-
 
216224
    }
-
 
216225
 
-
 
216226
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
216227
      oprot.writeStructBegin(STRUCT_DESC);
-
 
216228
 
-
 
216229
      if (this.isSetSuccess()) {
-
 
216230
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
216231
        {
-
 
216232
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
216233
          for (OutstandingPayments _iter695 : this.success)
-
 
216234
          {
-
 
216235
            _iter695.write(oprot);
-
 
216236
          }
-
 
216237
          oprot.writeListEnd();
-
 
216238
        }
-
 
216239
        oprot.writeFieldEnd();
-
 
216240
      }
-
 
216241
      oprot.writeFieldStop();
-
 
216242
      oprot.writeStructEnd();
-
 
216243
    }
-
 
216244
 
-
 
216245
    @Override
-
 
216246
    public String toString() {
-
 
216247
      StringBuilder sb = new StringBuilder("getOutstandingPayments_result(");
-
 
216248
      boolean first = true;
-
 
216249
 
-
 
216250
      sb.append("success:");
-
 
216251
      if (this.success == null) {
-
 
216252
        sb.append("null");
-
 
216253
      } else {
-
 
216254
        sb.append(this.success);
-
 
216255
      }
-
 
216256
      first = false;
-
 
216257
      sb.append(")");
-
 
216258
      return sb.toString();
-
 
216259
    }
-
 
216260
 
-
 
216261
    public void validate() throws org.apache.thrift.TException {
-
 
216262
      // check for required fields
-
 
216263
    }
-
 
216264
 
-
 
216265
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
216266
      try {
-
 
216267
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
216268
      } catch (org.apache.thrift.TException te) {
-
 
216269
        throw new java.io.IOException(te);
-
 
216270
      }
-
 
216271
    }
-
 
216272
 
-
 
216273
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
216274
      try {
-
 
216275
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
216276
      } catch (org.apache.thrift.TException te) {
-
 
216277
        throw new java.io.IOException(te);
-
 
216278
      }
-
 
216279
    }
-
 
216280
 
-
 
216281
  }
-
 
216282
 
215403
  public static class getReturnOrderInfo_args implements org.apache.thrift.TBase<getReturnOrderInfo_args, getReturnOrderInfo_args._Fields>, java.io.Serializable, Cloneable   {
216283
  public static class getReturnOrderInfo_args implements org.apache.thrift.TBase<getReturnOrderInfo_args, getReturnOrderInfo_args._Fields>, java.io.Serializable, Cloneable   {
215404
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnOrderInfo_args");
216284
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnOrderInfo_args");
215405
 
216285
 
215406
    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);
216286
    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);
215407
 
216287
 
Line 216324... Line 217204...
216324
        }
217204
        }
216325
        switch (field.id) {
217205
        switch (field.id) {
216326
          case 1: // ORDER_IDS
217206
          case 1: // ORDER_IDS
216327
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
217207
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
216328
              {
217208
              {
216329
                org.apache.thrift.protocol.TList _list692 = iprot.readListBegin();
217209
                org.apache.thrift.protocol.TList _list696 = iprot.readListBegin();
216330
                this.order_ids = new ArrayList<Long>(_list692.size);
217210
                this.order_ids = new ArrayList<Long>(_list696.size);
216331
                for (int _i693 = 0; _i693 < _list692.size; ++_i693)
217211
                for (int _i697 = 0; _i697 < _list696.size; ++_i697)
216332
                {
217212
                {
216333
                  long _elem694; // required
217213
                  long _elem698; // required
216334
                  _elem694 = iprot.readI64();
217214
                  _elem698 = iprot.readI64();
216335
                  this.order_ids.add(_elem694);
217215
                  this.order_ids.add(_elem698);
216336
                }
217216
                }
216337
                iprot.readListEnd();
217217
                iprot.readListEnd();
216338
              }
217218
              }
216339
            } else { 
217219
            } else { 
216340
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
217220
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 216355... Line 217235...
216355
      oprot.writeStructBegin(STRUCT_DESC);
217235
      oprot.writeStructBegin(STRUCT_DESC);
216356
      if (this.order_ids != null) {
217236
      if (this.order_ids != null) {
216357
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
217237
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
216358
        {
217238
        {
216359
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
217239
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
216360
          for (long _iter695 : this.order_ids)
217240
          for (long _iter699 : this.order_ids)
216361
          {
217241
          {
216362
            oprot.writeI64(_iter695);
217242
            oprot.writeI64(_iter699);
216363
          }
217243
          }
216364
          oprot.writeListEnd();
217244
          oprot.writeListEnd();
216365
        }
217245
        }
216366
        oprot.writeFieldEnd();
217246
        oprot.writeFieldEnd();
216367
      }
217247
      }
Line 216664... Line 217544...
216664
        }
217544
        }
216665
        switch (field.id) {
217545
        switch (field.id) {
216666
          case 0: // SUCCESS
217546
          case 0: // SUCCESS
216667
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
217547
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
216668
              {
217548
              {
216669
                org.apache.thrift.protocol.TMap _map696 = iprot.readMapBegin();
217549
                org.apache.thrift.protocol.TMap _map700 = iprot.readMapBegin();
216670
                this.success = new HashMap<Long,List<ReturnOrderInfo>>(2*_map696.size);
217550
                this.success = new HashMap<Long,List<ReturnOrderInfo>>(2*_map700.size);
216671
                for (int _i697 = 0; _i697 < _map696.size; ++_i697)
217551
                for (int _i701 = 0; _i701 < _map700.size; ++_i701)
216672
                {
217552
                {
216673
                  long _key698; // required
217553
                  long _key702; // required
216674
                  List<ReturnOrderInfo> _val699; // required
217554
                  List<ReturnOrderInfo> _val703; // required
216675
                  _key698 = iprot.readI64();
217555
                  _key702 = iprot.readI64();
216676
                  {
217556
                  {
216677
                    org.apache.thrift.protocol.TList _list700 = iprot.readListBegin();
217557
                    org.apache.thrift.protocol.TList _list704 = iprot.readListBegin();
216678
                    _val699 = new ArrayList<ReturnOrderInfo>(_list700.size);
217558
                    _val703 = new ArrayList<ReturnOrderInfo>(_list704.size);
216679
                    for (int _i701 = 0; _i701 < _list700.size; ++_i701)
217559
                    for (int _i705 = 0; _i705 < _list704.size; ++_i705)
216680
                    {
217560
                    {
216681
                      ReturnOrderInfo _elem702; // required
217561
                      ReturnOrderInfo _elem706; // required
216682
                      _elem702 = new ReturnOrderInfo();
217562
                      _elem706 = new ReturnOrderInfo();
216683
                      _elem702.read(iprot);
217563
                      _elem706.read(iprot);
216684
                      _val699.add(_elem702);
217564
                      _val703.add(_elem706);
216685
                    }
217565
                    }
216686
                    iprot.readListEnd();
217566
                    iprot.readListEnd();
216687
                  }
217567
                  }
216688
                  this.success.put(_key698, _val699);
217568
                  this.success.put(_key702, _val703);
216689
                }
217569
                }
216690
                iprot.readMapEnd();
217570
                iprot.readMapEnd();
216691
              }
217571
              }
216692
            } else { 
217572
            } else { 
216693
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
217573
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 216707... Line 217587...
216707
 
217587
 
216708
      if (this.isSetSuccess()) {
217588
      if (this.isSetSuccess()) {
216709
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
217589
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
216710
        {
217590
        {
216711
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.success.size()));
217591
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.success.size()));
216712
          for (Map.Entry<Long, List<ReturnOrderInfo>> _iter703 : this.success.entrySet())
217592
          for (Map.Entry<Long, List<ReturnOrderInfo>> _iter707 : this.success.entrySet())
216713
          {
217593
          {
216714
            oprot.writeI64(_iter703.getKey());
217594
            oprot.writeI64(_iter707.getKey());
216715
            {
217595
            {
216716
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter703.getValue().size()));
217596
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter707.getValue().size()));
216717
              for (ReturnOrderInfo _iter704 : _iter703.getValue())
217597
              for (ReturnOrderInfo _iter708 : _iter707.getValue())
216718
              {
217598
              {
216719
                _iter704.write(oprot);
217599
                _iter708.write(oprot);
216720
              }
217600
              }
216721
              oprot.writeListEnd();
217601
              oprot.writeListEnd();
216722
            }
217602
            }
216723
          }
217603
          }
216724
          oprot.writeMapEnd();
217604
          oprot.writeMapEnd();
Line 217103... Line 217983...
217103
        }
217983
        }
217104
        switch (field.id) {
217984
        switch (field.id) {
217105
          case 1: // ORDER_IDS
217985
          case 1: // ORDER_IDS
217106
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
217986
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
217107
              {
217987
              {
217108
                org.apache.thrift.protocol.TList _list705 = iprot.readListBegin();
217988
                org.apache.thrift.protocol.TList _list709 = iprot.readListBegin();
217109
                this.order_ids = new ArrayList<Long>(_list705.size);
217989
                this.order_ids = new ArrayList<Long>(_list709.size);
217110
                for (int _i706 = 0; _i706 < _list705.size; ++_i706)
217990
                for (int _i710 = 0; _i710 < _list709.size; ++_i710)
217111
                {
217991
                {
217112
                  long _elem707; // required
217992
                  long _elem711; // required
217113
                  _elem707 = iprot.readI64();
217993
                  _elem711 = iprot.readI64();
217114
                  this.order_ids.add(_elem707);
217994
                  this.order_ids.add(_elem711);
217115
                }
217995
                }
217116
                iprot.readListEnd();
217996
                iprot.readListEnd();
217117
              }
217997
              }
217118
            } else { 
217998
            } else { 
217119
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
217999
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
217120
            }
218000
            }
217121
            break;
218001
            break;
217122
          case 2: // STATUSES
218002
          case 2: // STATUSES
217123
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
218003
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
217124
              {
218004
              {
217125
                org.apache.thrift.protocol.TList _list708 = iprot.readListBegin();
218005
                org.apache.thrift.protocol.TList _list712 = iprot.readListBegin();
217126
                this.statuses = new ArrayList<String>(_list708.size);
218006
                this.statuses = new ArrayList<String>(_list712.size);
217127
                for (int _i709 = 0; _i709 < _list708.size; ++_i709)
218007
                for (int _i713 = 0; _i713 < _list712.size; ++_i713)
217128
                {
218008
                {
217129
                  String _elem710; // required
218009
                  String _elem714; // required
217130
                  _elem710 = iprot.readString();
218010
                  _elem714 = iprot.readString();
217131
                  this.statuses.add(_elem710);
218011
                  this.statuses.add(_elem714);
217132
                }
218012
                }
217133
                iprot.readListEnd();
218013
                iprot.readListEnd();
217134
              }
218014
              }
217135
            } else { 
218015
            } else { 
217136
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
218016
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 217151... Line 218031...
217151
      oprot.writeStructBegin(STRUCT_DESC);
218031
      oprot.writeStructBegin(STRUCT_DESC);
217152
      if (this.order_ids != null) {
218032
      if (this.order_ids != null) {
217153
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
218033
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
217154
        {
218034
        {
217155
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
218035
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
217156
          for (long _iter711 : this.order_ids)
218036
          for (long _iter715 : this.order_ids)
217157
          {
218037
          {
217158
            oprot.writeI64(_iter711);
218038
            oprot.writeI64(_iter715);
217159
          }
218039
          }
217160
          oprot.writeListEnd();
218040
          oprot.writeListEnd();
217161
        }
218041
        }
217162
        oprot.writeFieldEnd();
218042
        oprot.writeFieldEnd();
217163
      }
218043
      }
217164
      if (this.statuses != null) {
218044
      if (this.statuses != null) {
217165
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
218045
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
217166
        {
218046
        {
217167
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.statuses.size()));
218047
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.statuses.size()));
217168
          for (String _iter712 : this.statuses)
218048
          for (String _iter716 : this.statuses)
217169
          {
218049
          {
217170
            oprot.writeString(_iter712);
218050
            oprot.writeString(_iter716);
217171
          }
218051
          }
217172
          oprot.writeListEnd();
218052
          oprot.writeListEnd();
217173
        }
218053
        }
217174
        oprot.writeFieldEnd();
218054
        oprot.writeFieldEnd();
217175
      }
218055
      }
Line 217480... Line 218360...
217480
        }
218360
        }
217481
        switch (field.id) {
218361
        switch (field.id) {
217482
          case 0: // SUCCESS
218362
          case 0: // SUCCESS
217483
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
218363
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
217484
              {
218364
              {
217485
                org.apache.thrift.protocol.TMap _map713 = iprot.readMapBegin();
218365
                org.apache.thrift.protocol.TMap _map717 = iprot.readMapBegin();
217486
                this.success = new HashMap<Long,List<ReturnOrderInfo>>(2*_map713.size);
218366
                this.success = new HashMap<Long,List<ReturnOrderInfo>>(2*_map717.size);
217487
                for (int _i714 = 0; _i714 < _map713.size; ++_i714)
218367
                for (int _i718 = 0; _i718 < _map717.size; ++_i718)
217488
                {
218368
                {
217489
                  long _key715; // required
218369
                  long _key719; // required
217490
                  List<ReturnOrderInfo> _val716; // required
218370
                  List<ReturnOrderInfo> _val720; // required
217491
                  _key715 = iprot.readI64();
218371
                  _key719 = iprot.readI64();
217492
                  {
218372
                  {
217493
                    org.apache.thrift.protocol.TList _list717 = iprot.readListBegin();
218373
                    org.apache.thrift.protocol.TList _list721 = iprot.readListBegin();
217494
                    _val716 = new ArrayList<ReturnOrderInfo>(_list717.size);
218374
                    _val720 = new ArrayList<ReturnOrderInfo>(_list721.size);
217495
                    for (int _i718 = 0; _i718 < _list717.size; ++_i718)
218375
                    for (int _i722 = 0; _i722 < _list721.size; ++_i722)
217496
                    {
218376
                    {
217497
                      ReturnOrderInfo _elem719; // required
218377
                      ReturnOrderInfo _elem723; // required
217498
                      _elem719 = new ReturnOrderInfo();
218378
                      _elem723 = new ReturnOrderInfo();
217499
                      _elem719.read(iprot);
218379
                      _elem723.read(iprot);
217500
                      _val716.add(_elem719);
218380
                      _val720.add(_elem723);
217501
                    }
218381
                    }
217502
                    iprot.readListEnd();
218382
                    iprot.readListEnd();
217503
                  }
218383
                  }
217504
                  this.success.put(_key715, _val716);
218384
                  this.success.put(_key719, _val720);
217505
                }
218385
                }
217506
                iprot.readMapEnd();
218386
                iprot.readMapEnd();
217507
              }
218387
              }
217508
            } else { 
218388
            } else { 
217509
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
218389
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 217523... Line 218403...
217523
 
218403
 
217524
      if (this.isSetSuccess()) {
218404
      if (this.isSetSuccess()) {
217525
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
218405
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
217526
        {
218406
        {
217527
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.success.size()));
218407
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.success.size()));
217528
          for (Map.Entry<Long, List<ReturnOrderInfo>> _iter720 : this.success.entrySet())
218408
          for (Map.Entry<Long, List<ReturnOrderInfo>> _iter724 : this.success.entrySet())
217529
          {
218409
          {
217530
            oprot.writeI64(_iter720.getKey());
218410
            oprot.writeI64(_iter724.getKey());
217531
            {
218411
            {
217532
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter720.getValue().size()));
218412
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter724.getValue().size()));
217533
              for (ReturnOrderInfo _iter721 : _iter720.getValue())
218413
              for (ReturnOrderInfo _iter725 : _iter724.getValue())
217534
              {
218414
              {
217535
                _iter721.write(oprot);
218415
                _iter725.write(oprot);
217536
              }
218416
              }
217537
              oprot.writeListEnd();
218417
              oprot.writeListEnd();
217538
            }
218418
            }
217539
          }
218419
          }
217540
          oprot.writeMapEnd();
218420
          oprot.writeMapEnd();
Line 218516... Line 219396...
218516
        }
219396
        }
218517
        switch (field.id) {
219397
        switch (field.id) {
218518
          case 1: // ORDER_RETURN_INFOS_MAP
219398
          case 1: // ORDER_RETURN_INFOS_MAP
218519
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
219399
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
218520
              {
219400
              {
218521
                org.apache.thrift.protocol.TMap _map722 = iprot.readMapBegin();
219401
                org.apache.thrift.protocol.TMap _map726 = iprot.readMapBegin();
218522
                this.orderReturnInfosMap = new HashMap<Long,List<ReturnOrderInfo>>(2*_map722.size);
219402
                this.orderReturnInfosMap = new HashMap<Long,List<ReturnOrderInfo>>(2*_map726.size);
218523
                for (int _i723 = 0; _i723 < _map722.size; ++_i723)
219403
                for (int _i727 = 0; _i727 < _map726.size; ++_i727)
218524
                {
219404
                {
218525
                  long _key724; // required
219405
                  long _key728; // required
218526
                  List<ReturnOrderInfo> _val725; // required
219406
                  List<ReturnOrderInfo> _val729; // required
218527
                  _key724 = iprot.readI64();
219407
                  _key728 = iprot.readI64();
218528
                  {
219408
                  {
218529
                    org.apache.thrift.protocol.TList _list726 = iprot.readListBegin();
219409
                    org.apache.thrift.protocol.TList _list730 = iprot.readListBegin();
218530
                    _val725 = new ArrayList<ReturnOrderInfo>(_list726.size);
219410
                    _val729 = new ArrayList<ReturnOrderInfo>(_list730.size);
218531
                    for (int _i727 = 0; _i727 < _list726.size; ++_i727)
219411
                    for (int _i731 = 0; _i731 < _list730.size; ++_i731)
218532
                    {
219412
                    {
218533
                      ReturnOrderInfo _elem728; // required
219413
                      ReturnOrderInfo _elem732; // required
218534
                      _elem728 = new ReturnOrderInfo();
219414
                      _elem732 = new ReturnOrderInfo();
218535
                      _elem728.read(iprot);
219415
                      _elem732.read(iprot);
218536
                      _val725.add(_elem728);
219416
                      _val729.add(_elem732);
218537
                    }
219417
                    }
218538
                    iprot.readListEnd();
219418
                    iprot.readListEnd();
218539
                  }
219419
                  }
218540
                  this.orderReturnInfosMap.put(_key724, _val725);
219420
                  this.orderReturnInfosMap.put(_key728, _val729);
218541
                }
219421
                }
218542
                iprot.readMapEnd();
219422
                iprot.readMapEnd();
218543
              }
219423
              }
218544
            } else { 
219424
            } else { 
218545
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
219425
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 218560... Line 219440...
218560
      oprot.writeStructBegin(STRUCT_DESC);
219440
      oprot.writeStructBegin(STRUCT_DESC);
218561
      if (this.orderReturnInfosMap != null) {
219441
      if (this.orderReturnInfosMap != null) {
218562
        oprot.writeFieldBegin(ORDER_RETURN_INFOS_MAP_FIELD_DESC);
219442
        oprot.writeFieldBegin(ORDER_RETURN_INFOS_MAP_FIELD_DESC);
218563
        {
219443
        {
218564
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.orderReturnInfosMap.size()));
219444
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.orderReturnInfosMap.size()));
218565
          for (Map.Entry<Long, List<ReturnOrderInfo>> _iter729 : this.orderReturnInfosMap.entrySet())
219445
          for (Map.Entry<Long, List<ReturnOrderInfo>> _iter733 : this.orderReturnInfosMap.entrySet())
218566
          {
219446
          {
218567
            oprot.writeI64(_iter729.getKey());
219447
            oprot.writeI64(_iter733.getKey());
218568
            {
219448
            {
218569
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter729.getValue().size()));
219449
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter733.getValue().size()));
218570
              for (ReturnOrderInfo _iter730 : _iter729.getValue())
219450
              for (ReturnOrderInfo _iter734 : _iter733.getValue())
218571
              {
219451
              {
218572
                _iter730.write(oprot);
219452
                _iter734.write(oprot);
218573
              }
219453
              }
218574
              oprot.writeListEnd();
219454
              oprot.writeListEnd();
218575
            }
219455
            }
218576
          }
219456
          }
218577
          oprot.writeMapEnd();
219457
          oprot.writeMapEnd();
Line 218941... Line 219821...
218941
        }
219821
        }
218942
        switch (field.id) {
219822
        switch (field.id) {
218943
          case 0: // SUCCESS
219823
          case 0: // SUCCESS
218944
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
219824
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
218945
              {
219825
              {
218946
                org.apache.thrift.protocol.TMap _map731 = iprot.readMapBegin();
219826
                org.apache.thrift.protocol.TMap _map735 = iprot.readMapBegin();
218947
                this.success = new HashMap<Long,Boolean>(2*_map731.size);
219827
                this.success = new HashMap<Long,Boolean>(2*_map735.size);
218948
                for (int _i732 = 0; _i732 < _map731.size; ++_i732)
219828
                for (int _i736 = 0; _i736 < _map735.size; ++_i736)
218949
                {
219829
                {
218950
                  long _key733; // required
219830
                  long _key737; // required
218951
                  boolean _val734; // required
219831
                  boolean _val738; // required
218952
                  _key733 = iprot.readI64();
219832
                  _key737 = iprot.readI64();
218953
                  _val734 = iprot.readBool();
219833
                  _val738 = iprot.readBool();
218954
                  this.success.put(_key733, _val734);
219834
                  this.success.put(_key737, _val738);
218955
                }
219835
                }
218956
                iprot.readMapEnd();
219836
                iprot.readMapEnd();
218957
              }
219837
              }
218958
            } else { 
219838
            } else { 
218959
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
219839
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 218981... Line 219861...
218981
 
219861
 
218982
      if (this.isSetSuccess()) {
219862
      if (this.isSetSuccess()) {
218983
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
219863
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
218984
        {
219864
        {
218985
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.BOOL, this.success.size()));
219865
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.BOOL, this.success.size()));
218986
          for (Map.Entry<Long, Boolean> _iter735 : this.success.entrySet())
219866
          for (Map.Entry<Long, Boolean> _iter739 : this.success.entrySet())
218987
          {
219867
          {
218988
            oprot.writeI64(_iter735.getKey());
219868
            oprot.writeI64(_iter739.getKey());
218989
            oprot.writeBool(_iter735.getValue());
219869
            oprot.writeBool(_iter739.getValue());
218990
          }
219870
          }
218991
          oprot.writeMapEnd();
219871
          oprot.writeMapEnd();
218992
        }
219872
        }
218993
        oprot.writeFieldEnd();
219873
        oprot.writeFieldEnd();
218994
      } else if (this.isSetEx()) {
219874
      } else if (this.isSetEx()) {
Line 219588... Line 220468...
219588
        }
220468
        }
219589
        switch (field.id) {
220469
        switch (field.id) {
219590
          case 0: // SUCCESS
220470
          case 0: // SUCCESS
219591
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
220471
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
219592
              {
220472
              {
219593
                org.apache.thrift.protocol.TList _list736 = iprot.readListBegin();
220473
                org.apache.thrift.protocol.TList _list740 = iprot.readListBegin();
219594
                this.success = new ArrayList<ReturnOrderInfo>(_list736.size);
220474
                this.success = new ArrayList<ReturnOrderInfo>(_list740.size);
219595
                for (int _i737 = 0; _i737 < _list736.size; ++_i737)
220475
                for (int _i741 = 0; _i741 < _list740.size; ++_i741)
219596
                {
220476
                {
219597
                  ReturnOrderInfo _elem738; // required
220477
                  ReturnOrderInfo _elem742; // required
219598
                  _elem738 = new ReturnOrderInfo();
220478
                  _elem742 = new ReturnOrderInfo();
219599
                  _elem738.read(iprot);
220479
                  _elem742.read(iprot);
219600
                  this.success.add(_elem738);
220480
                  this.success.add(_elem742);
219601
                }
220481
                }
219602
                iprot.readListEnd();
220482
                iprot.readListEnd();
219603
              }
220483
              }
219604
            } else { 
220484
            } else { 
219605
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
220485
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 219619... Line 220499...
219619
 
220499
 
219620
      if (this.isSetSuccess()) {
220500
      if (this.isSetSuccess()) {
219621
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
220501
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
219622
        {
220502
        {
219623
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
220503
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
219624
          for (ReturnOrderInfo _iter739 : this.success)
220504
          for (ReturnOrderInfo _iter743 : this.success)
219625
          {
220505
          {
219626
            _iter739.write(oprot);
220506
            _iter743.write(oprot);
219627
          }
220507
          }
219628
          oprot.writeListEnd();
220508
          oprot.writeListEnd();
219629
        }
220509
        }
219630
        oprot.writeFieldEnd();
220510
        oprot.writeFieldEnd();
219631
      }
220511
      }
Line 221810... Line 222690...
221810
        }
222690
        }
221811
        switch (field.id) {
222691
        switch (field.id) {
221812
          case 0: // SUCCESS
222692
          case 0: // SUCCESS
221813
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
222693
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
221814
              {
222694
              {
221815
                org.apache.thrift.protocol.TList _list740 = iprot.readListBegin();
222695
                org.apache.thrift.protocol.TList _list744 = iprot.readListBegin();
221816
                this.success = new ArrayList<ReturnOrderInfo>(_list740.size);
222696
                this.success = new ArrayList<ReturnOrderInfo>(_list744.size);
221817
                for (int _i741 = 0; _i741 < _list740.size; ++_i741)
222697
                for (int _i745 = 0; _i745 < _list744.size; ++_i745)
221818
                {
222698
                {
221819
                  ReturnOrderInfo _elem742; // required
222699
                  ReturnOrderInfo _elem746; // required
221820
                  _elem742 = new ReturnOrderInfo();
222700
                  _elem746 = new ReturnOrderInfo();
221821
                  _elem742.read(iprot);
222701
                  _elem746.read(iprot);
221822
                  this.success.add(_elem742);
222702
                  this.success.add(_elem746);
221823
                }
222703
                }
221824
                iprot.readListEnd();
222704
                iprot.readListEnd();
221825
              }
222705
              }
221826
            } else { 
222706
            } else { 
221827
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
222707
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 221849... Line 222729...
221849
 
222729
 
221850
      if (this.isSetSuccess()) {
222730
      if (this.isSetSuccess()) {
221851
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
222731
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
221852
        {
222732
        {
221853
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
222733
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
221854
          for (ReturnOrderInfo _iter743 : this.success)
222734
          for (ReturnOrderInfo _iter747 : this.success)
221855
          {
222735
          {
221856
            _iter743.write(oprot);
222736
            _iter747.write(oprot);
221857
          }
222737
          }
221858
          oprot.writeListEnd();
222738
          oprot.writeListEnd();
221859
        }
222739
        }
221860
        oprot.writeFieldEnd();
222740
        oprot.writeFieldEnd();
221861
      } else if (this.isSetEx()) {
222741
      } else if (this.isSetEx()) {
Line 222327... Line 223207...
222327
            }
223207
            }
222328
            break;
223208
            break;
222329
          case 3: // RETURN_ORDER_IDS
223209
          case 3: // RETURN_ORDER_IDS
222330
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
223210
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
222331
              {
223211
              {
222332
                org.apache.thrift.protocol.TList _list744 = iprot.readListBegin();
223212
                org.apache.thrift.protocol.TList _list748 = iprot.readListBegin();
222333
                this.returnOrderIds = new ArrayList<Long>(_list744.size);
223213
                this.returnOrderIds = new ArrayList<Long>(_list748.size);
222334
                for (int _i745 = 0; _i745 < _list744.size; ++_i745)
223214
                for (int _i749 = 0; _i749 < _list748.size; ++_i749)
222335
                {
223215
                {
222336
                  long _elem746; // required
223216
                  long _elem750; // required
222337
                  _elem746 = iprot.readI64();
223217
                  _elem750 = iprot.readI64();
222338
                  this.returnOrderIds.add(_elem746);
223218
                  this.returnOrderIds.add(_elem750);
222339
                }
223219
                }
222340
                iprot.readListEnd();
223220
                iprot.readListEnd();
222341
              }
223221
              }
222342
            } else { 
223222
            } else { 
222343
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
223223
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 222366... Line 223246...
222366
      }
223246
      }
222367
      if (this.returnOrderIds != null) {
223247
      if (this.returnOrderIds != null) {
222368
        oprot.writeFieldBegin(RETURN_ORDER_IDS_FIELD_DESC);
223248
        oprot.writeFieldBegin(RETURN_ORDER_IDS_FIELD_DESC);
222369
        {
223249
        {
222370
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.returnOrderIds.size()));
223250
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.returnOrderIds.size()));
222371
          for (long _iter747 : this.returnOrderIds)
223251
          for (long _iter751 : this.returnOrderIds)
222372
          {
223252
          {
222373
            oprot.writeI64(_iter747);
223253
            oprot.writeI64(_iter751);
222374
          }
223254
          }
222375
          oprot.writeListEnd();
223255
          oprot.writeListEnd();
222376
        }
223256
        }
222377
        oprot.writeFieldEnd();
223257
        oprot.writeFieldEnd();
222378
      }
223258
      }
Line 223132... Line 224012...
223132
        }
224012
        }
223133
        switch (field.id) {
224013
        switch (field.id) {
223134
          case 1: // RETURN_ORDER_IDS
224014
          case 1: // RETURN_ORDER_IDS
223135
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
224015
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
223136
              {
224016
              {
223137
                org.apache.thrift.protocol.TList _list748 = iprot.readListBegin();
224017
                org.apache.thrift.protocol.TList _list752 = iprot.readListBegin();
223138
                this.returnOrderIds = new ArrayList<Long>(_list748.size);
224018
                this.returnOrderIds = new ArrayList<Long>(_list752.size);
223139
                for (int _i749 = 0; _i749 < _list748.size; ++_i749)
224019
                for (int _i753 = 0; _i753 < _list752.size; ++_i753)
223140
                {
224020
                {
223141
                  long _elem750; // required
224021
                  long _elem754; // required
223142
                  _elem750 = iprot.readI64();
224022
                  _elem754 = iprot.readI64();
223143
                  this.returnOrderIds.add(_elem750);
224023
                  this.returnOrderIds.add(_elem754);
223144
                }
224024
                }
223145
                iprot.readListEnd();
224025
                iprot.readListEnd();
223146
              }
224026
              }
223147
            } else { 
224027
            } else { 
223148
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
224028
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 223171... Line 224051...
223171
      oprot.writeStructBegin(STRUCT_DESC);
224051
      oprot.writeStructBegin(STRUCT_DESC);
223172
      if (this.returnOrderIds != null) {
224052
      if (this.returnOrderIds != null) {
223173
        oprot.writeFieldBegin(RETURN_ORDER_IDS_FIELD_DESC);
224053
        oprot.writeFieldBegin(RETURN_ORDER_IDS_FIELD_DESC);
223174
        {
224054
        {
223175
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.returnOrderIds.size()));
224055
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.returnOrderIds.size()));
223176
          for (long _iter751 : this.returnOrderIds)
224056
          for (long _iter755 : this.returnOrderIds)
223177
          {
224057
          {
223178
            oprot.writeI64(_iter751);
224058
            oprot.writeI64(_iter755);
223179
          }
224059
          }
223180
          oprot.writeListEnd();
224060
          oprot.writeListEnd();
223181
        }
224061
        }
223182
        oprot.writeFieldEnd();
224062
        oprot.writeFieldEnd();
223183
      }
224063
      }
Line 224899... Line 225779...
224899
        }
225779
        }
224900
        switch (field.id) {
225780
        switch (field.id) {
224901
          case 0: // SUCCESS
225781
          case 0: // SUCCESS
224902
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
225782
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
224903
              {
225783
              {
224904
                org.apache.thrift.protocol.TList _list752 = iprot.readListBegin();
225784
                org.apache.thrift.protocol.TList _list756 = iprot.readListBegin();
224905
                this.success = new ArrayList<ReturnOrderInfo>(_list752.size);
225785
                this.success = new ArrayList<ReturnOrderInfo>(_list756.size);
224906
                for (int _i753 = 0; _i753 < _list752.size; ++_i753)
225786
                for (int _i757 = 0; _i757 < _list756.size; ++_i757)
224907
                {
225787
                {
224908
                  ReturnOrderInfo _elem754; // required
225788
                  ReturnOrderInfo _elem758; // required
224909
                  _elem754 = new ReturnOrderInfo();
225789
                  _elem758 = new ReturnOrderInfo();
224910
                  _elem754.read(iprot);
225790
                  _elem758.read(iprot);
224911
                  this.success.add(_elem754);
225791
                  this.success.add(_elem758);
224912
                }
225792
                }
224913
                iprot.readListEnd();
225793
                iprot.readListEnd();
224914
              }
225794
              }
224915
            } else { 
225795
            } else { 
224916
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
225796
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 224938... Line 225818...
224938
 
225818
 
224939
      if (this.isSetSuccess()) {
225819
      if (this.isSetSuccess()) {
224940
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
225820
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
224941
        {
225821
        {
224942
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
225822
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
224943
          for (ReturnOrderInfo _iter755 : this.success)
225823
          for (ReturnOrderInfo _iter759 : this.success)
224944
          {
225824
          {
224945
            _iter755.write(oprot);
225825
            _iter759.write(oprot);
224946
          }
225826
          }
224947
          oprot.writeListEnd();
225827
          oprot.writeListEnd();
224948
        }
225828
        }
224949
        oprot.writeFieldEnd();
225829
        oprot.writeFieldEnd();
224950
      } else if (this.isSetEx()) {
225830
      } else if (this.isSetEx()) {
Line 225339... Line 226219...
225339
        }
226219
        }
225340
        switch (field.id) {
226220
        switch (field.id) {
225341
          case 1: // RETURN_ORDERS_MAP
226221
          case 1: // RETURN_ORDERS_MAP
225342
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
226222
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
225343
              {
226223
              {
225344
                org.apache.thrift.protocol.TMap _map756 = iprot.readMapBegin();
226224
                org.apache.thrift.protocol.TMap _map760 = iprot.readMapBegin();
225345
                this.returnOrdersMap = new HashMap<Long,Map<String,String>>(2*_map756.size);
226225
                this.returnOrdersMap = new HashMap<Long,Map<String,String>>(2*_map760.size);
225346
                for (int _i757 = 0; _i757 < _map756.size; ++_i757)
226226
                for (int _i761 = 0; _i761 < _map760.size; ++_i761)
225347
                {
226227
                {
225348
                  long _key758; // required
226228
                  long _key762; // required
225349
                  Map<String,String> _val759; // required
226229
                  Map<String,String> _val763; // required
225350
                  _key758 = iprot.readI64();
226230
                  _key762 = iprot.readI64();
225351
                  {
226231
                  {
225352
                    org.apache.thrift.protocol.TMap _map760 = iprot.readMapBegin();
226232
                    org.apache.thrift.protocol.TMap _map764 = iprot.readMapBegin();
225353
                    _val759 = new HashMap<String,String>(2*_map760.size);
226233
                    _val763 = new HashMap<String,String>(2*_map764.size);
225354
                    for (int _i761 = 0; _i761 < _map760.size; ++_i761)
226234
                    for (int _i765 = 0; _i765 < _map764.size; ++_i765)
225355
                    {
226235
                    {
225356
                      String _key762; // required
226236
                      String _key766; // required
225357
                      String _val763; // required
226237
                      String _val767; // required
225358
                      _key762 = iprot.readString();
226238
                      _key766 = iprot.readString();
225359
                      _val763 = iprot.readString();
226239
                      _val767 = iprot.readString();
225360
                      _val759.put(_key762, _val763);
226240
                      _val763.put(_key766, _val767);
225361
                    }
226241
                    }
225362
                    iprot.readMapEnd();
226242
                    iprot.readMapEnd();
225363
                  }
226243
                  }
225364
                  this.returnOrdersMap.put(_key758, _val759);
226244
                  this.returnOrdersMap.put(_key762, _val763);
225365
                }
226245
                }
225366
                iprot.readMapEnd();
226246
                iprot.readMapEnd();
225367
              }
226247
              }
225368
            } else { 
226248
            } else { 
225369
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
226249
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 225392... Line 226272...
225392
      oprot.writeStructBegin(STRUCT_DESC);
226272
      oprot.writeStructBegin(STRUCT_DESC);
225393
      if (this.returnOrdersMap != null) {
226273
      if (this.returnOrdersMap != null) {
225394
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
226274
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
225395
        {
226275
        {
225396
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.returnOrdersMap.size()));
226276
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.returnOrdersMap.size()));
225397
          for (Map.Entry<Long, Map<String,String>> _iter764 : this.returnOrdersMap.entrySet())
226277
          for (Map.Entry<Long, Map<String,String>> _iter768 : this.returnOrdersMap.entrySet())
225398
          {
226278
          {
225399
            oprot.writeI64(_iter764.getKey());
226279
            oprot.writeI64(_iter768.getKey());
225400
            {
226280
            {
225401
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter764.getValue().size()));
226281
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter768.getValue().size()));
225402
              for (Map.Entry<String, String> _iter765 : _iter764.getValue().entrySet())
226282
              for (Map.Entry<String, String> _iter769 : _iter768.getValue().entrySet())
225403
              {
226283
              {
225404
                oprot.writeString(_iter765.getKey());
226284
                oprot.writeString(_iter769.getKey());
225405
                oprot.writeString(_iter765.getValue());
226285
                oprot.writeString(_iter769.getValue());
225406
              }
226286
              }
225407
              oprot.writeMapEnd();
226287
              oprot.writeMapEnd();
225408
            }
226288
            }
225409
          }
226289
          }
225410
          oprot.writeMapEnd();
226290
          oprot.writeMapEnd();
Line 226175... Line 227055...
226175
            }
227055
            }
226176
            break;
227056
            break;
226177
          case 2: // RETURN_ORDERS_MAP
227057
          case 2: // RETURN_ORDERS_MAP
226178
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
227058
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
226179
              {
227059
              {
226180
                org.apache.thrift.protocol.TMap _map766 = iprot.readMapBegin();
227060
                org.apache.thrift.protocol.TMap _map770 = iprot.readMapBegin();
226181
                this.returnOrdersMap = new HashMap<Long,Boolean>(2*_map766.size);
227061
                this.returnOrdersMap = new HashMap<Long,Boolean>(2*_map770.size);
226182
                for (int _i767 = 0; _i767 < _map766.size; ++_i767)
227062
                for (int _i771 = 0; _i771 < _map770.size; ++_i771)
226183
                {
227063
                {
226184
                  long _key768; // required
227064
                  long _key772; // required
226185
                  boolean _val769; // required
227065
                  boolean _val773; // required
226186
                  _key768 = iprot.readI64();
227066
                  _key772 = iprot.readI64();
226187
                  _val769 = iprot.readBool();
227067
                  _val773 = iprot.readBool();
226188
                  this.returnOrdersMap.put(_key768, _val769);
227068
                  this.returnOrdersMap.put(_key772, _val773);
226189
                }
227069
                }
226190
                iprot.readMapEnd();
227070
                iprot.readMapEnd();
226191
              }
227071
              }
226192
            } else { 
227072
            } else { 
226193
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
227073
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 226211... Line 227091...
226211
      oprot.writeFieldEnd();
227091
      oprot.writeFieldEnd();
226212
      if (this.returnOrdersMap != null) {
227092
      if (this.returnOrdersMap != null) {
226213
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
227093
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
226214
        {
227094
        {
226215
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.BOOL, this.returnOrdersMap.size()));
227095
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.BOOL, this.returnOrdersMap.size()));
226216
          for (Map.Entry<Long, Boolean> _iter770 : this.returnOrdersMap.entrySet())
227096
          for (Map.Entry<Long, Boolean> _iter774 : this.returnOrdersMap.entrySet())
226217
          {
227097
          {
226218
            oprot.writeI64(_iter770.getKey());
227098
            oprot.writeI64(_iter774.getKey());
226219
            oprot.writeBool(_iter770.getValue());
227099
            oprot.writeBool(_iter774.getValue());
226220
          }
227100
          }
226221
          oprot.writeMapEnd();
227101
          oprot.writeMapEnd();
226222
        }
227102
        }
226223
        oprot.writeFieldEnd();
227103
        oprot.writeFieldEnd();
226224
      }
227104
      }
Line 226996... Line 227876...
226996
            }
227876
            }
226997
            break;
227877
            break;
226998
          case 2: // RETURN_ORDERS_MAP
227878
          case 2: // RETURN_ORDERS_MAP
226999
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
227879
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
227000
              {
227880
              {
227001
                org.apache.thrift.protocol.TMap _map771 = iprot.readMapBegin();
227881
                org.apache.thrift.protocol.TMap _map775 = iprot.readMapBegin();
227002
                this.returnOrdersMap = new HashMap<Long,Map<String,String>>(2*_map771.size);
227882
                this.returnOrdersMap = new HashMap<Long,Map<String,String>>(2*_map775.size);
227003
                for (int _i772 = 0; _i772 < _map771.size; ++_i772)
227883
                for (int _i776 = 0; _i776 < _map775.size; ++_i776)
227004
                {
227884
                {
227005
                  long _key773; // required
227885
                  long _key777; // required
227006
                  Map<String,String> _val774; // required
227886
                  Map<String,String> _val778; // required
227007
                  _key773 = iprot.readI64();
227887
                  _key777 = iprot.readI64();
227008
                  {
227888
                  {
227009
                    org.apache.thrift.protocol.TMap _map775 = iprot.readMapBegin();
227889
                    org.apache.thrift.protocol.TMap _map779 = iprot.readMapBegin();
227010
                    _val774 = new HashMap<String,String>(2*_map775.size);
227890
                    _val778 = new HashMap<String,String>(2*_map779.size);
227011
                    for (int _i776 = 0; _i776 < _map775.size; ++_i776)
227891
                    for (int _i780 = 0; _i780 < _map779.size; ++_i780)
227012
                    {
227892
                    {
227013
                      String _key777; // required
227893
                      String _key781; // required
227014
                      String _val778; // required
227894
                      String _val782; // required
227015
                      _key777 = iprot.readString();
227895
                      _key781 = iprot.readString();
227016
                      _val778 = iprot.readString();
227896
                      _val782 = iprot.readString();
227017
                      _val774.put(_key777, _val778);
227897
                      _val778.put(_key781, _val782);
227018
                    }
227898
                    }
227019
                    iprot.readMapEnd();
227899
                    iprot.readMapEnd();
227020
                  }
227900
                  }
227021
                  this.returnOrdersMap.put(_key773, _val774);
227901
                  this.returnOrdersMap.put(_key777, _val778);
227022
                }
227902
                }
227023
                iprot.readMapEnd();
227903
                iprot.readMapEnd();
227024
              }
227904
              }
227025
            } else { 
227905
            } else { 
227026
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
227906
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 227044... Line 227924...
227044
      oprot.writeFieldEnd();
227924
      oprot.writeFieldEnd();
227045
      if (this.returnOrdersMap != null) {
227925
      if (this.returnOrdersMap != null) {
227046
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
227926
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
227047
        {
227927
        {
227048
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.returnOrdersMap.size()));
227928
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.returnOrdersMap.size()));
227049
          for (Map.Entry<Long, Map<String,String>> _iter779 : this.returnOrdersMap.entrySet())
227929
          for (Map.Entry<Long, Map<String,String>> _iter783 : this.returnOrdersMap.entrySet())
227050
          {
227930
          {
227051
            oprot.writeI64(_iter779.getKey());
227931
            oprot.writeI64(_iter783.getKey());
227052
            {
227932
            {
227053
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter779.getValue().size()));
227933
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter783.getValue().size()));
227054
              for (Map.Entry<String, String> _iter780 : _iter779.getValue().entrySet())
227934
              for (Map.Entry<String, String> _iter784 : _iter783.getValue().entrySet())
227055
              {
227935
              {
227056
                oprot.writeString(_iter780.getKey());
227936
                oprot.writeString(_iter784.getKey());
227057
                oprot.writeString(_iter780.getValue());
227937
                oprot.writeString(_iter784.getValue());
227058
              }
227938
              }
227059
              oprot.writeMapEnd();
227939
              oprot.writeMapEnd();
227060
            }
227940
            }
227061
          }
227941
          }
227062
          oprot.writeMapEnd();
227942
          oprot.writeMapEnd();
Line 228504... Line 229384...
228504
        }
229384
        }
228505
        switch (field.id) {
229385
        switch (field.id) {
228506
          case 1: // REFUND_ORDERS_MAP
229386
          case 1: // REFUND_ORDERS_MAP
228507
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
229387
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
228508
              {
229388
              {
228509
                org.apache.thrift.protocol.TMap _map781 = iprot.readMapBegin();
229389
                org.apache.thrift.protocol.TMap _map785 = iprot.readMapBegin();
228510
                this.refundOrdersMap = new HashMap<Long,Map<String,String>>(2*_map781.size);
229390
                this.refundOrdersMap = new HashMap<Long,Map<String,String>>(2*_map785.size);
228511
                for (int _i782 = 0; _i782 < _map781.size; ++_i782)
229391
                for (int _i786 = 0; _i786 < _map785.size; ++_i786)
228512
                {
229392
                {
228513
                  long _key783; // required
229393
                  long _key787; // required
228514
                  Map<String,String> _val784; // required
229394
                  Map<String,String> _val788; // required
228515
                  _key783 = iprot.readI64();
229395
                  _key787 = iprot.readI64();
228516
                  {
229396
                  {
228517
                    org.apache.thrift.protocol.TMap _map785 = iprot.readMapBegin();
229397
                    org.apache.thrift.protocol.TMap _map789 = iprot.readMapBegin();
228518
                    _val784 = new HashMap<String,String>(2*_map785.size);
229398
                    _val788 = new HashMap<String,String>(2*_map789.size);
228519
                    for (int _i786 = 0; _i786 < _map785.size; ++_i786)
229399
                    for (int _i790 = 0; _i790 < _map789.size; ++_i790)
228520
                    {
229400
                    {
228521
                      String _key787; // required
229401
                      String _key791; // required
228522
                      String _val788; // required
229402
                      String _val792; // required
228523
                      _key787 = iprot.readString();
229403
                      _key791 = iprot.readString();
228524
                      _val788 = iprot.readString();
229404
                      _val792 = iprot.readString();
228525
                      _val784.put(_key787, _val788);
229405
                      _val788.put(_key791, _val792);
228526
                    }
229406
                    }
228527
                    iprot.readMapEnd();
229407
                    iprot.readMapEnd();
228528
                  }
229408
                  }
228529
                  this.refundOrdersMap.put(_key783, _val784);
229409
                  this.refundOrdersMap.put(_key787, _val788);
228530
                }
229410
                }
228531
                iprot.readMapEnd();
229411
                iprot.readMapEnd();
228532
              }
229412
              }
228533
            } else { 
229413
            } else { 
228534
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
229414
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 228557... Line 229437...
228557
      oprot.writeStructBegin(STRUCT_DESC);
229437
      oprot.writeStructBegin(STRUCT_DESC);
228558
      if (this.refundOrdersMap != null) {
229438
      if (this.refundOrdersMap != null) {
228559
        oprot.writeFieldBegin(REFUND_ORDERS_MAP_FIELD_DESC);
229439
        oprot.writeFieldBegin(REFUND_ORDERS_MAP_FIELD_DESC);
228560
        {
229440
        {
228561
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.refundOrdersMap.size()));
229441
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.refundOrdersMap.size()));
228562
          for (Map.Entry<Long, Map<String,String>> _iter789 : this.refundOrdersMap.entrySet())
229442
          for (Map.Entry<Long, Map<String,String>> _iter793 : this.refundOrdersMap.entrySet())
228563
          {
229443
          {
228564
            oprot.writeI64(_iter789.getKey());
229444
            oprot.writeI64(_iter793.getKey());
228565
            {
229445
            {
228566
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter789.getValue().size()));
229446
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter793.getValue().size()));
228567
              for (Map.Entry<String, String> _iter790 : _iter789.getValue().entrySet())
229447
              for (Map.Entry<String, String> _iter794 : _iter793.getValue().entrySet())
228568
              {
229448
              {
228569
                oprot.writeString(_iter790.getKey());
229449
                oprot.writeString(_iter794.getKey());
228570
                oprot.writeString(_iter790.getValue());
229450
                oprot.writeString(_iter794.getValue());
228571
              }
229451
              }
228572
              oprot.writeMapEnd();
229452
              oprot.writeMapEnd();
228573
            }
229453
            }
228574
          }
229454
          }
228575
          oprot.writeMapEnd();
229455
          oprot.writeMapEnd();
Line 229531... Line 230411...
229531
        }
230411
        }
229532
        switch (field.id) {
230412
        switch (field.id) {
229533
          case 1: // STATUS_LIST
230413
          case 1: // STATUS_LIST
229534
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
230414
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
229535
              {
230415
              {
229536
                org.apache.thrift.protocol.TList _list791 = iprot.readListBegin();
230416
                org.apache.thrift.protocol.TList _list795 = iprot.readListBegin();
229537
                this.statusList = new ArrayList<ReturnTransactionStatus>(_list791.size);
230417
                this.statusList = new ArrayList<ReturnTransactionStatus>(_list795.size);
229538
                for (int _i792 = 0; _i792 < _list791.size; ++_i792)
230418
                for (int _i796 = 0; _i796 < _list795.size; ++_i796)
229539
                {
230419
                {
229540
                  ReturnTransactionStatus _elem793; // required
230420
                  ReturnTransactionStatus _elem797; // required
229541
                  _elem793 = ReturnTransactionStatus.findByValue(iprot.readI32());
230421
                  _elem797 = ReturnTransactionStatus.findByValue(iprot.readI32());
229542
                  this.statusList.add(_elem793);
230422
                  this.statusList.add(_elem797);
229543
                }
230423
                }
229544
                iprot.readListEnd();
230424
                iprot.readListEnd();
229545
              }
230425
              }
229546
            } else { 
230426
            } else { 
229547
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
230427
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 229592... Line 230472...
229592
      oprot.writeStructBegin(STRUCT_DESC);
230472
      oprot.writeStructBegin(STRUCT_DESC);
229593
      if (this.statusList != null) {
230473
      if (this.statusList != null) {
229594
        oprot.writeFieldBegin(STATUS_LIST_FIELD_DESC);
230474
        oprot.writeFieldBegin(STATUS_LIST_FIELD_DESC);
229595
        {
230475
        {
229596
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statusList.size()));
230476
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statusList.size()));
229597
          for (ReturnTransactionStatus _iter794 : this.statusList)
230477
          for (ReturnTransactionStatus _iter798 : this.statusList)
229598
          {
230478
          {
229599
            oprot.writeI32(_iter794.getValue());
230479
            oprot.writeI32(_iter798.getValue());
229600
          }
230480
          }
229601
          oprot.writeListEnd();
230481
          oprot.writeListEnd();
229602
        }
230482
        }
229603
        oprot.writeFieldEnd();
230483
        oprot.writeFieldEnd();
229604
      }
230484
      }
Line 230002... Line 230882...
230002
        }
230882
        }
230003
        switch (field.id) {
230883
        switch (field.id) {
230004
          case 0: // SUCCESS
230884
          case 0: // SUCCESS
230005
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
230885
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
230006
              {
230886
              {
230007
                org.apache.thrift.protocol.TList _list795 = iprot.readListBegin();
230887
                org.apache.thrift.protocol.TList _list799 = iprot.readListBegin();
230008
                this.success = new ArrayList<ReturnTransaction>(_list795.size);
230888
                this.success = new ArrayList<ReturnTransaction>(_list799.size);
230009
                for (int _i796 = 0; _i796 < _list795.size; ++_i796)
230889
                for (int _i800 = 0; _i800 < _list799.size; ++_i800)
230010
                {
230890
                {
230011
                  ReturnTransaction _elem797; // required
230891
                  ReturnTransaction _elem801; // required
230012
                  _elem797 = new ReturnTransaction();
230892
                  _elem801 = new ReturnTransaction();
230013
                  _elem797.read(iprot);
230893
                  _elem801.read(iprot);
230014
                  this.success.add(_elem797);
230894
                  this.success.add(_elem801);
230015
                }
230895
                }
230016
                iprot.readListEnd();
230896
                iprot.readListEnd();
230017
              }
230897
              }
230018
            } else { 
230898
            } else { 
230019
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
230899
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 230041... Line 230921...
230041
 
230921
 
230042
      if (this.isSetSuccess()) {
230922
      if (this.isSetSuccess()) {
230043
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
230923
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
230044
        {
230924
        {
230045
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
230925
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
230046
          for (ReturnTransaction _iter798 : this.success)
230926
          for (ReturnTransaction _iter802 : this.success)
230047
          {
230927
          {
230048
            _iter798.write(oprot);
230928
            _iter802.write(oprot);
230049
          }
230929
          }
230050
          oprot.writeListEnd();
230930
          oprot.writeListEnd();
230051
        }
230931
        }
230052
        oprot.writeFieldEnd();
230932
        oprot.writeFieldEnd();
230053
      } else if (this.isSetEx()) {
230933
      } else if (this.isSetEx()) {
Line 231303... Line 232183...
231303
        }
232183
        }
231304
        switch (field.id) {
232184
        switch (field.id) {
231305
          case 1: // STATUSES
232185
          case 1: // STATUSES
231306
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
232186
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
231307
              {
232187
              {
231308
                org.apache.thrift.protocol.TList _list799 = iprot.readListBegin();
232188
                org.apache.thrift.protocol.TList _list803 = iprot.readListBegin();
231309
                this.statuses = new ArrayList<OrderStatus>(_list799.size);
232189
                this.statuses = new ArrayList<OrderStatus>(_list803.size);
231310
                for (int _i800 = 0; _i800 < _list799.size; ++_i800)
232190
                for (int _i804 = 0; _i804 < _list803.size; ++_i804)
231311
                {
232191
                {
231312
                  OrderStatus _elem801; // required
232192
                  OrderStatus _elem805; // required
231313
                  _elem801 = OrderStatus.findByValue(iprot.readI32());
232193
                  _elem805 = OrderStatus.findByValue(iprot.readI32());
231314
                  this.statuses.add(_elem801);
232194
                  this.statuses.add(_elem805);
231315
                }
232195
                }
231316
                iprot.readListEnd();
232196
                iprot.readListEnd();
231317
              }
232197
              }
231318
            } else { 
232198
            } else { 
231319
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
232199
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 231366... Line 232246...
231366
      oprot.writeStructBegin(STRUCT_DESC);
232246
      oprot.writeStructBegin(STRUCT_DESC);
231367
      if (this.statuses != null) {
232247
      if (this.statuses != null) {
231368
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
232248
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
231369
        {
232249
        {
231370
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
232250
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
231371
          for (OrderStatus _iter802 : this.statuses)
232251
          for (OrderStatus _iter806 : this.statuses)
231372
          {
232252
          {
231373
            oprot.writeI32(_iter802.getValue());
232253
            oprot.writeI32(_iter806.getValue());
231374
          }
232254
          }
231375
          oprot.writeListEnd();
232255
          oprot.writeListEnd();
231376
        }
232256
        }
231377
        oprot.writeFieldEnd();
232257
        oprot.writeFieldEnd();
231378
      }
232258
      }
Line 231762... Line 232642...
231762
        }
232642
        }
231763
        switch (field.id) {
232643
        switch (field.id) {
231764
          case 0: // SUCCESS
232644
          case 0: // SUCCESS
231765
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
232645
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
231766
              {
232646
              {
231767
                org.apache.thrift.protocol.TList _list803 = iprot.readListBegin();
232647
                org.apache.thrift.protocol.TList _list807 = iprot.readListBegin();
231768
                this.success = new ArrayList<Order>(_list803.size);
232648
                this.success = new ArrayList<Order>(_list807.size);
231769
                for (int _i804 = 0; _i804 < _list803.size; ++_i804)
232649
                for (int _i808 = 0; _i808 < _list807.size; ++_i808)
231770
                {
232650
                {
231771
                  Order _elem805; // required
232651
                  Order _elem809; // required
231772
                  _elem805 = new Order();
232652
                  _elem809 = new Order();
231773
                  _elem805.read(iprot);
232653
                  _elem809.read(iprot);
231774
                  this.success.add(_elem805);
232654
                  this.success.add(_elem809);
231775
                }
232655
                }
231776
                iprot.readListEnd();
232656
                iprot.readListEnd();
231777
              }
232657
              }
231778
            } else { 
232658
            } else { 
231779
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
232659
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 231801... Line 232681...
231801
 
232681
 
231802
      if (this.isSetSuccess()) {
232682
      if (this.isSetSuccess()) {
231803
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
232683
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
231804
        {
232684
        {
231805
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
232685
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
231806
          for (Order _iter806 : this.success)
232686
          for (Order _iter810 : this.success)
231807
          {
232687
          {
231808
            _iter806.write(oprot);
232688
            _iter810.write(oprot);
231809
          }
232689
          }
231810
          oprot.writeListEnd();
232690
          oprot.writeListEnd();
231811
        }
232691
        }
231812
        oprot.writeFieldEnd();
232692
        oprot.writeFieldEnd();
231813
      } else if (this.isSetEx()) {
232693
      } else if (this.isSetEx()) {
Line 232188... Line 233068...
232188
            }
233068
            }
232189
            break;
233069
            break;
232190
          case 2: // ATTRIBUTES
233070
          case 2: // ATTRIBUTES
232191
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
233071
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
232192
              {
233072
              {
232193
                org.apache.thrift.protocol.TList _list807 = iprot.readListBegin();
233073
                org.apache.thrift.protocol.TList _list811 = iprot.readListBegin();
232194
                this.attributes = new ArrayList<Attribute>(_list807.size);
233074
                this.attributes = new ArrayList<Attribute>(_list811.size);
232195
                for (int _i808 = 0; _i808 < _list807.size; ++_i808)
233075
                for (int _i812 = 0; _i812 < _list811.size; ++_i812)
232196
                {
233076
                {
232197
                  Attribute _elem809; // required
233077
                  Attribute _elem813; // required
232198
                  _elem809 = new Attribute();
233078
                  _elem813 = new Attribute();
232199
                  _elem809.read(iprot);
233079
                  _elem813.read(iprot);
232200
                  this.attributes.add(_elem809);
233080
                  this.attributes.add(_elem813);
232201
                }
233081
                }
232202
                iprot.readListEnd();
233082
                iprot.readListEnd();
232203
              }
233083
              }
232204
            } else { 
233084
            } else { 
232205
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
233085
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 232225... Line 233105...
232225
      }
233105
      }
232226
      if (this.attributes != null) {
233106
      if (this.attributes != null) {
232227
        oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC);
233107
        oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC);
232228
        {
233108
        {
232229
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.attributes.size()));
233109
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.attributes.size()));
232230
          for (Attribute _iter810 : this.attributes)
233110
          for (Attribute _iter814 : this.attributes)
232231
          {
233111
          {
232232
            _iter810.write(oprot);
233112
            _iter814.write(oprot);
232233
          }
233113
          }
232234
          oprot.writeListEnd();
233114
          oprot.writeListEnd();
232235
        }
233115
        }
232236
        oprot.writeFieldEnd();
233116
        oprot.writeFieldEnd();
232237
      }
233117
      }
Line 233407... Line 234287...
233407
        }
234287
        }
233408
        switch (field.id) {
234288
        switch (field.id) {
233409
          case 1: // SHIPMENT_LOGISTICS_COST_DETAILS
234289
          case 1: // SHIPMENT_LOGISTICS_COST_DETAILS
233410
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
234290
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
233411
              {
234291
              {
233412
                org.apache.thrift.protocol.TList _list811 = iprot.readListBegin();
234292
                org.apache.thrift.protocol.TList _list815 = iprot.readListBegin();
233413
                this.shipmentLogisticsCostDetails = new ArrayList<ShipmentLogisticsCostDetail>(_list811.size);
234293
                this.shipmentLogisticsCostDetails = new ArrayList<ShipmentLogisticsCostDetail>(_list815.size);
233414
                for (int _i812 = 0; _i812 < _list811.size; ++_i812)
234294
                for (int _i816 = 0; _i816 < _list815.size; ++_i816)
233415
                {
234295
                {
233416
                  ShipmentLogisticsCostDetail _elem813; // required
234296
                  ShipmentLogisticsCostDetail _elem817; // required
233417
                  _elem813 = new ShipmentLogisticsCostDetail();
234297
                  _elem817 = new ShipmentLogisticsCostDetail();
233418
                  _elem813.read(iprot);
234298
                  _elem817.read(iprot);
233419
                  this.shipmentLogisticsCostDetails.add(_elem813);
234299
                  this.shipmentLogisticsCostDetails.add(_elem817);
233420
                }
234300
                }
233421
                iprot.readListEnd();
234301
                iprot.readListEnd();
233422
              }
234302
              }
233423
            } else { 
234303
            } else { 
233424
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
234304
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 233439... Line 234319...
233439
      oprot.writeStructBegin(STRUCT_DESC);
234319
      oprot.writeStructBegin(STRUCT_DESC);
233440
      if (this.shipmentLogisticsCostDetails != null) {
234320
      if (this.shipmentLogisticsCostDetails != null) {
233441
        oprot.writeFieldBegin(SHIPMENT_LOGISTICS_COST_DETAILS_FIELD_DESC);
234321
        oprot.writeFieldBegin(SHIPMENT_LOGISTICS_COST_DETAILS_FIELD_DESC);
233442
        {
234322
        {
233443
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.shipmentLogisticsCostDetails.size()));
234323
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.shipmentLogisticsCostDetails.size()));
233444
          for (ShipmentLogisticsCostDetail _iter814 : this.shipmentLogisticsCostDetails)
234324
          for (ShipmentLogisticsCostDetail _iter818 : this.shipmentLogisticsCostDetails)
233445
          {
234325
          {
233446
            _iter814.write(oprot);
234326
            _iter818.write(oprot);
233447
          }
234327
          }
233448
          oprot.writeListEnd();
234328
          oprot.writeListEnd();
233449
        }
234329
        }
233450
        oprot.writeFieldEnd();
234330
        oprot.writeFieldEnd();
233451
      }
234331
      }
Line 234497... Line 235377...
234497
        }
235377
        }
234498
        switch (field.id) {
235378
        switch (field.id) {
234499
          case 0: // SUCCESS
235379
          case 0: // SUCCESS
234500
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
235380
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
234501
              {
235381
              {
234502
                org.apache.thrift.protocol.TList _list815 = iprot.readListBegin();
235382
                org.apache.thrift.protocol.TList _list819 = iprot.readListBegin();
234503
                this.success = new ArrayList<Order>(_list815.size);
235383
                this.success = new ArrayList<Order>(_list819.size);
234504
                for (int _i816 = 0; _i816 < _list815.size; ++_i816)
235384
                for (int _i820 = 0; _i820 < _list819.size; ++_i820)
234505
                {
235385
                {
234506
                  Order _elem817; // required
235386
                  Order _elem821; // required
234507
                  _elem817 = new Order();
235387
                  _elem821 = new Order();
234508
                  _elem817.read(iprot);
235388
                  _elem821.read(iprot);
234509
                  this.success.add(_elem817);
235389
                  this.success.add(_elem821);
234510
                }
235390
                }
234511
                iprot.readListEnd();
235391
                iprot.readListEnd();
234512
              }
235392
              }
234513
            } else { 
235393
            } else { 
234514
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
235394
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 234528... Line 235408...
234528
 
235408
 
234529
      if (this.isSetSuccess()) {
235409
      if (this.isSetSuccess()) {
234530
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
235410
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
234531
        {
235411
        {
234532
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
235412
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
234533
          for (Order _iter818 : this.success)
235413
          for (Order _iter822 : this.success)
234534
          {
235414
          {
234535
            _iter818.write(oprot);
235415
            _iter822.write(oprot);
234536
          }
235416
          }
234537
          oprot.writeListEnd();
235417
          oprot.writeListEnd();
234538
        }
235418
        }
234539
        oprot.writeFieldEnd();
235419
        oprot.writeFieldEnd();
234540
      }
235420
      }
Line 235122... Line 236002...
235122
        }
236002
        }
235123
        switch (field.id) {
236003
        switch (field.id) {
235124
          case 0: // SUCCESS
236004
          case 0: // SUCCESS
235125
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
236005
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
235126
              {
236006
              {
235127
                org.apache.thrift.protocol.TList _list819 = iprot.readListBegin();
236007
                org.apache.thrift.protocol.TList _list823 = iprot.readListBegin();
235128
                this.success = new ArrayList<ReturnOrderInfo>(_list819.size);
236008
                this.success = new ArrayList<ReturnOrderInfo>(_list823.size);
235129
                for (int _i820 = 0; _i820 < _list819.size; ++_i820)
236009
                for (int _i824 = 0; _i824 < _list823.size; ++_i824)
235130
                {
236010
                {
235131
                  ReturnOrderInfo _elem821; // required
236011
                  ReturnOrderInfo _elem825; // required
235132
                  _elem821 = new ReturnOrderInfo();
236012
                  _elem825 = new ReturnOrderInfo();
235133
                  _elem821.read(iprot);
236013
                  _elem825.read(iprot);
235134
                  this.success.add(_elem821);
236014
                  this.success.add(_elem825);
235135
                }
236015
                }
235136
                iprot.readListEnd();
236016
                iprot.readListEnd();
235137
              }
236017
              }
235138
            } else { 
236018
            } else { 
235139
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
236019
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 235153... Line 236033...
235153
 
236033
 
235154
      if (this.isSetSuccess()) {
236034
      if (this.isSetSuccess()) {
235155
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
236035
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
235156
        {
236036
        {
235157
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
236037
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
235158
          for (ReturnOrderInfo _iter822 : this.success)
236038
          for (ReturnOrderInfo _iter826 : this.success)
235159
          {
236039
          {
235160
            _iter822.write(oprot);
236040
            _iter826.write(oprot);
235161
          }
236041
          }
235162
          oprot.writeListEnd();
236042
          oprot.writeListEnd();
235163
        }
236043
        }
235164
        oprot.writeFieldEnd();
236044
        oprot.writeFieldEnd();
235165
      }
236045
      }
Line 235673... Line 236553...
235673
            }
236553
            }
235674
            break;
236554
            break;
235675
          case 2: // RETURN_ORDERS_MAP
236555
          case 2: // RETURN_ORDERS_MAP
235676
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
236556
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
235677
              {
236557
              {
235678
                org.apache.thrift.protocol.TMap _map823 = iprot.readMapBegin();
236558
                org.apache.thrift.protocol.TMap _map827 = iprot.readMapBegin();
235679
                this.returnOrdersMap = new HashMap<Long,Long>(2*_map823.size);
236559
                this.returnOrdersMap = new HashMap<Long,Long>(2*_map827.size);
235680
                for (int _i824 = 0; _i824 < _map823.size; ++_i824)
236560
                for (int _i828 = 0; _i828 < _map827.size; ++_i828)
235681
                {
236561
                {
235682
                  long _key825; // required
236562
                  long _key829; // required
235683
                  long _val826; // required
236563
                  long _val830; // required
235684
                  _key825 = iprot.readI64();
236564
                  _key829 = iprot.readI64();
235685
                  _val826 = iprot.readI64();
236565
                  _val830 = iprot.readI64();
235686
                  this.returnOrdersMap.put(_key825, _val826);
236566
                  this.returnOrdersMap.put(_key829, _val830);
235687
                }
236567
                }
235688
                iprot.readMapEnd();
236568
                iprot.readMapEnd();
235689
              }
236569
              }
235690
            } else { 
236570
            } else { 
235691
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
236571
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 235724... Line 236604...
235724
      oprot.writeFieldEnd();
236604
      oprot.writeFieldEnd();
235725
      if (this.returnOrdersMap != null) {
236605
      if (this.returnOrdersMap != null) {
235726
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
236606
        oprot.writeFieldBegin(RETURN_ORDERS_MAP_FIELD_DESC);
235727
        {
236607
        {
235728
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.returnOrdersMap.size()));
236608
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.returnOrdersMap.size()));
235729
          for (Map.Entry<Long, Long> _iter827 : this.returnOrdersMap.entrySet())
236609
          for (Map.Entry<Long, Long> _iter831 : this.returnOrdersMap.entrySet())
235730
          {
236610
          {
235731
            oprot.writeI64(_iter827.getKey());
236611
            oprot.writeI64(_iter831.getKey());
235732
            oprot.writeI64(_iter827.getValue());
236612
            oprot.writeI64(_iter831.getValue());
235733
          }
236613
          }
235734
          oprot.writeMapEnd();
236614
          oprot.writeMapEnd();
235735
        }
236615
        }
235736
        oprot.writeFieldEnd();
236616
        oprot.writeFieldEnd();
235737
      }
236617
      }
Line 237901... Line 238781...
237901
        }
238781
        }
237902
        switch (field.id) {
238782
        switch (field.id) {
237903
          case 0: // SUCCESS
238783
          case 0: // SUCCESS
237904
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
238784
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
237905
              {
238785
              {
237906
                org.apache.thrift.protocol.TList _list828 = iprot.readListBegin();
238786
                org.apache.thrift.protocol.TList _list832 = iprot.readListBegin();
237907
                this.success = new ArrayList<PendingStoreOrder>(_list828.size);
238787
                this.success = new ArrayList<PendingStoreOrder>(_list832.size);
237908
                for (int _i829 = 0; _i829 < _list828.size; ++_i829)
238788
                for (int _i833 = 0; _i833 < _list832.size; ++_i833)
237909
                {
238789
                {
237910
                  PendingStoreOrder _elem830; // required
238790
                  PendingStoreOrder _elem834; // required
237911
                  _elem830 = new PendingStoreOrder();
238791
                  _elem834 = new PendingStoreOrder();
237912
                  _elem830.read(iprot);
238792
                  _elem834.read(iprot);
237913
                  this.success.add(_elem830);
238793
                  this.success.add(_elem834);
237914
                }
238794
                }
237915
                iprot.readListEnd();
238795
                iprot.readListEnd();
237916
              }
238796
              }
237917
            } else { 
238797
            } else { 
237918
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
238798
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 237932... Line 238812...
237932
 
238812
 
237933
      if (this.isSetSuccess()) {
238813
      if (this.isSetSuccess()) {
237934
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
238814
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
237935
        {
238815
        {
237936
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
238816
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
237937
          for (PendingStoreOrder _iter831 : this.success)
238817
          for (PendingStoreOrder _iter835 : this.success)
237938
          {
238818
          {
237939
            _iter831.write(oprot);
238819
            _iter835.write(oprot);
237940
          }
238820
          }
237941
          oprot.writeListEnd();
238821
          oprot.writeListEnd();
237942
        }
238822
        }
237943
        oprot.writeFieldEnd();
238823
        oprot.writeFieldEnd();
237944
      }
238824
      }