Subversion Repositories SmartDukaan

Rev

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

Rev 5447 Rev 5481
Line 528... Line 528...
528
     * @param toDate
528
     * @param toDate
529
     */
529
     */
530
    public List<ReturnOrder> getReturnOrders(long warehouseId, long fromDate, long toDate) throws org.apache.thrift.TException;
530
    public List<ReturnOrder> getReturnOrders(long warehouseId, long fromDate, long toDate) throws org.apache.thrift.TException;
531
 
531
 
532
    /**
532
    /**
-
 
533
     * Get all return orders created between the from and to dates.
-
 
534
     * 
-
 
535
     * @param onlyNotProcessed
-
 
536
     * @param fromDate
-
 
537
     * @param toDate
-
 
538
     */
-
 
539
    public List<ReturnOrder> getAllReturnOrders(boolean onlyNotProcessed, long fromDate, long toDate) throws org.apache.thrift.TException;
-
 
540
 
-
 
541
    /**
533
     * Returns the ReturnOrder corresponding to the given id.
542
     * Returns the ReturnOrder corresponding to the given id.
534
     * Throws an exception if the return order with the given id couldn't be found.
543
     * Throws an exception if the return order with the given id couldn't be found.
535
     * 
544
     * 
536
     * @param id
545
     * @param id
537
     */
546
     */
Line 761... Line 770...
761
     * 
770
     * 
762
     * @param orderIds
771
     * @param orderIds
763
     */
772
     */
764
    public List<Long> getReshippedOrderIds(List<Long> orderIds) throws TransactionServiceException, org.apache.thrift.TException;
773
    public List<Long> getReshippedOrderIds(List<Long> orderIds) throws TransactionServiceException, org.apache.thrift.TException;
765
 
774
 
766
    public List<Order> getOrdersWhereVendorNotPaid(long vendorId) throws TransactionServiceException, org.apache.thrift.TException;
775
    public List<Order> getBilledOrders(long vendorId, boolean onlyVendorNotPaid, long billingDateFrom, long billingDateTo) throws TransactionServiceException, org.apache.thrift.TException;
767
 
776
 
768
    public Map<Long,Long> getStatusDistributionOfOrders(long startDate, long endDate) throws TransactionServiceException, org.apache.thrift.TException;
777
    public Map<Long,Long> getStatusDistributionOfOrders(long startDate, long endDate) throws TransactionServiceException, org.apache.thrift.TException;
769
 
778
 
770
    public List<Long> getOrderIdsForStatus(long status, long startDatetime, long endDatetime) throws TransactionServiceException, org.apache.thrift.TException;
779
    public List<Long> getOrderIdsForStatus(long status, long startDatetime, long endDatetime) throws TransactionServiceException, org.apache.thrift.TException;
771
 
780
 
Line 930... Line 939...
930
 
939
 
931
    public void refundOrder(long orderId, String refundedBy, String reason, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.refundOrder_call> resultHandler) throws org.apache.thrift.TException;
940
    public void refundOrder(long orderId, String refundedBy, String reason, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.refundOrder_call> resultHandler) throws org.apache.thrift.TException;
932
 
941
 
933
    public void getReturnOrders(long warehouseId, long fromDate, long toDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrders_call> resultHandler) throws org.apache.thrift.TException;
942
    public void getReturnOrders(long warehouseId, long fromDate, long toDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrders_call> resultHandler) throws org.apache.thrift.TException;
934
 
943
 
-
 
944
    public void getAllReturnOrders(boolean onlyNotProcessed, long fromDate, long toDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllReturnOrders_call> resultHandler) throws org.apache.thrift.TException;
-
 
945
 
935
    public void getReturnOrder(long id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrder_call> resultHandler) throws org.apache.thrift.TException;
946
    public void getReturnOrder(long id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrder_call> resultHandler) throws org.apache.thrift.TException;
936
 
947
 
937
    public void processReturn(long returnOrderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.processReturn_call> resultHandler) throws org.apache.thrift.TException;
948
    public void processReturn(long returnOrderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.processReturn_call> resultHandler) throws org.apache.thrift.TException;
938
 
949
 
939
    public void updateWeight(long orderId, double weight, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateWeight_call> resultHandler) throws org.apache.thrift.TException;
950
    public void updateWeight(long orderId, double weight, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateWeight_call> resultHandler) throws org.apache.thrift.TException;
Line 1006... Line 1017...
1006
 
1017
 
1007
    public void getSettlementsByDate(long settlementDateFrom, long settlementDateTo, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSettlementsByDate_call> resultHandler) throws org.apache.thrift.TException;
1018
    public void getSettlementsByDate(long settlementDateFrom, long settlementDateTo, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSettlementsByDate_call> resultHandler) throws org.apache.thrift.TException;
1008
 
1019
 
1009
    public void getReshippedOrderIds(List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReshippedOrderIds_call> resultHandler) throws org.apache.thrift.TException;
1020
    public void getReshippedOrderIds(List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReshippedOrderIds_call> resultHandler) throws org.apache.thrift.TException;
1010
 
1021
 
1011
    public void getOrdersWhereVendorNotPaid(long vendorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersWhereVendorNotPaid_call> resultHandler) throws org.apache.thrift.TException;
1022
    public void getBilledOrders(long vendorId, boolean onlyVendorNotPaid, long billingDateFrom, long billingDateTo, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBilledOrders_call> resultHandler) throws org.apache.thrift.TException;
1012
 
1023
 
1013
    public void getStatusDistributionOfOrders(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStatusDistributionOfOrders_call> resultHandler) throws org.apache.thrift.TException;
1024
    public void getStatusDistributionOfOrders(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStatusDistributionOfOrders_call> resultHandler) throws org.apache.thrift.TException;
1014
 
1025
 
1015
    public void getOrderIdsForStatus(long status, long startDatetime, long endDatetime, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderIdsForStatus_call> resultHandler) throws org.apache.thrift.TException;
1026
    public void getOrderIdsForStatus(long status, long startDatetime, long endDatetime, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderIdsForStatus_call> resultHandler) throws org.apache.thrift.TException;
1016
 
1027
 
Line 2781... Line 2792...
2781
        return result.success;
2792
        return result.success;
2782
      }
2793
      }
2783
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReturnOrders failed: unknown result");
2794
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReturnOrders failed: unknown result");
2784
    }
2795
    }
2785
 
2796
 
-
 
2797
    public List<ReturnOrder> getAllReturnOrders(boolean onlyNotProcessed, long fromDate, long toDate) throws org.apache.thrift.TException
-
 
2798
    {
-
 
2799
      send_getAllReturnOrders(onlyNotProcessed, fromDate, toDate);
-
 
2800
      return recv_getAllReturnOrders();
-
 
2801
    }
-
 
2802
 
-
 
2803
    public void send_getAllReturnOrders(boolean onlyNotProcessed, long fromDate, long toDate) throws org.apache.thrift.TException
-
 
2804
    {
-
 
2805
      getAllReturnOrders_args args = new getAllReturnOrders_args();
-
 
2806
      args.setOnlyNotProcessed(onlyNotProcessed);
-
 
2807
      args.setFromDate(fromDate);
-
 
2808
      args.setToDate(toDate);
-
 
2809
      sendBase("getAllReturnOrders", args);
-
 
2810
    }
-
 
2811
 
-
 
2812
    public List<ReturnOrder> recv_getAllReturnOrders() throws org.apache.thrift.TException
-
 
2813
    {
-
 
2814
      getAllReturnOrders_result result = new getAllReturnOrders_result();
-
 
2815
      receiveBase(result, "getAllReturnOrders");
-
 
2816
      if (result.isSetSuccess()) {
-
 
2817
        return result.success;
-
 
2818
      }
-
 
2819
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllReturnOrders failed: unknown result");
-
 
2820
    }
-
 
2821
 
2786
    public ReturnOrder getReturnOrder(long id) throws TransactionServiceException, org.apache.thrift.TException
2822
    public ReturnOrder getReturnOrder(long id) throws TransactionServiceException, org.apache.thrift.TException
2787
    {
2823
    {
2788
      send_getReturnOrder(id);
2824
      send_getReturnOrder(id);
2789
      return recv_getReturnOrder();
2825
      return recv_getReturnOrder();
2790
    }
2826
    }
Line 3752... Line 3788...
3752
        throw result.ex;
3788
        throw result.ex;
3753
      }
3789
      }
3754
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReshippedOrderIds failed: unknown result");
3790
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReshippedOrderIds failed: unknown result");
3755
    }
3791
    }
3756
 
3792
 
3757
    public List<Order> getOrdersWhereVendorNotPaid(long vendorId) throws TransactionServiceException, org.apache.thrift.TException
3793
    public List<Order> getBilledOrders(long vendorId, boolean onlyVendorNotPaid, long billingDateFrom, long billingDateTo) throws TransactionServiceException, org.apache.thrift.TException
3758
    {
3794
    {
3759
      send_getOrdersWhereVendorNotPaid(vendorId);
3795
      send_getBilledOrders(vendorId, onlyVendorNotPaid, billingDateFrom, billingDateTo);
3760
      return recv_getOrdersWhereVendorNotPaid();
3796
      return recv_getBilledOrders();
3761
    }
3797
    }
3762
 
3798
 
3763
    public void send_getOrdersWhereVendorNotPaid(long vendorId) throws org.apache.thrift.TException
3799
    public void send_getBilledOrders(long vendorId, boolean onlyVendorNotPaid, long billingDateFrom, long billingDateTo) throws org.apache.thrift.TException
3764
    {
3800
    {
3765
      getOrdersWhereVendorNotPaid_args args = new getOrdersWhereVendorNotPaid_args();
3801
      getBilledOrders_args args = new getBilledOrders_args();
3766
      args.setVendorId(vendorId);
3802
      args.setVendorId(vendorId);
-
 
3803
      args.setOnlyVendorNotPaid(onlyVendorNotPaid);
-
 
3804
      args.setBillingDateFrom(billingDateFrom);
-
 
3805
      args.setBillingDateTo(billingDateTo);
3767
      sendBase("getOrdersWhereVendorNotPaid", args);
3806
      sendBase("getBilledOrders", args);
3768
    }
3807
    }
3769
 
3808
 
3770
    public List<Order> recv_getOrdersWhereVendorNotPaid() throws TransactionServiceException, org.apache.thrift.TException
3809
    public List<Order> recv_getBilledOrders() throws TransactionServiceException, org.apache.thrift.TException
3771
    {
3810
    {
3772
      getOrdersWhereVendorNotPaid_result result = new getOrdersWhereVendorNotPaid_result();
3811
      getBilledOrders_result result = new getBilledOrders_result();
3773
      receiveBase(result, "getOrdersWhereVendorNotPaid");
3812
      receiveBase(result, "getBilledOrders");
3774
      if (result.isSetSuccess()) {
3813
      if (result.isSetSuccess()) {
3775
        return result.success;
3814
        return result.success;
3776
      }
3815
      }
3777
      if (result.ex != null) {
3816
      if (result.ex != null) {
3778
        throw result.ex;
3817
        throw result.ex;
3779
      }
3818
      }
3780
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrdersWhereVendorNotPaid failed: unknown result");
3819
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBilledOrders failed: unknown result");
3781
    }
3820
    }
3782
 
3821
 
3783
    public Map<Long,Long> getStatusDistributionOfOrders(long startDate, long endDate) throws TransactionServiceException, org.apache.thrift.TException
3822
    public Map<Long,Long> getStatusDistributionOfOrders(long startDate, long endDate) throws TransactionServiceException, org.apache.thrift.TException
3784
    {
3823
    {
3785
      send_getStatusDistributionOfOrders(startDate, endDate);
3824
      send_getStatusDistributionOfOrders(startDate, endDate);
Line 6350... Line 6389...
6350
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6389
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6351
        return (new Client(prot)).recv_getReturnOrders();
6390
        return (new Client(prot)).recv_getReturnOrders();
6352
      }
6391
      }
6353
    }
6392
    }
6354
 
6393
 
-
 
6394
    public void getAllReturnOrders(boolean onlyNotProcessed, long fromDate, long toDate, org.apache.thrift.async.AsyncMethodCallback<getAllReturnOrders_call> resultHandler) throws org.apache.thrift.TException {
-
 
6395
      checkReady();
-
 
6396
      getAllReturnOrders_call method_call = new getAllReturnOrders_call(onlyNotProcessed, fromDate, toDate, resultHandler, this, ___protocolFactory, ___transport);
-
 
6397
      this.___currentMethod = method_call;
-
 
6398
      ___manager.call(method_call);
-
 
6399
    }
-
 
6400
 
-
 
6401
    public static class getAllReturnOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6402
      private boolean onlyNotProcessed;
-
 
6403
      private long fromDate;
-
 
6404
      private long toDate;
-
 
6405
      public getAllReturnOrders_call(boolean onlyNotProcessed, long fromDate, long toDate, org.apache.thrift.async.AsyncMethodCallback<getAllReturnOrders_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 {
-
 
6406
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6407
        this.onlyNotProcessed = onlyNotProcessed;
-
 
6408
        this.fromDate = fromDate;
-
 
6409
        this.toDate = toDate;
-
 
6410
      }
-
 
6411
 
-
 
6412
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6413
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllReturnOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6414
        getAllReturnOrders_args args = new getAllReturnOrders_args();
-
 
6415
        args.setOnlyNotProcessed(onlyNotProcessed);
-
 
6416
        args.setFromDate(fromDate);
-
 
6417
        args.setToDate(toDate);
-
 
6418
        args.write(prot);
-
 
6419
        prot.writeMessageEnd();
-
 
6420
      }
-
 
6421
 
-
 
6422
      public List<ReturnOrder> getResult() throws org.apache.thrift.TException {
-
 
6423
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6424
          throw new IllegalStateException("Method call not finished!");
-
 
6425
        }
-
 
6426
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6427
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6428
        return (new Client(prot)).recv_getAllReturnOrders();
-
 
6429
      }
-
 
6430
    }
-
 
6431
 
6355
    public void getReturnOrder(long id, org.apache.thrift.async.AsyncMethodCallback<getReturnOrder_call> resultHandler) throws org.apache.thrift.TException {
6432
    public void getReturnOrder(long id, org.apache.thrift.async.AsyncMethodCallback<getReturnOrder_call> resultHandler) throws org.apache.thrift.TException {
6356
      checkReady();
6433
      checkReady();
6357
      getReturnOrder_call method_call = new getReturnOrder_call(id, resultHandler, this, ___protocolFactory, ___transport);
6434
      getReturnOrder_call method_call = new getReturnOrder_call(id, resultHandler, this, ___protocolFactory, ___transport);
6358
      this.___currentMethod = method_call;
6435
      this.___currentMethod = method_call;
6359
      ___manager.call(method_call);
6436
      ___manager.call(method_call);
Line 7686... Line 7763...
7686
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
7763
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
7687
        return (new Client(prot)).recv_getReshippedOrderIds();
7764
        return (new Client(prot)).recv_getReshippedOrderIds();
7688
      }
7765
      }
7689
    }
7766
    }
7690
 
7767
 
7691
    public void getOrdersWhereVendorNotPaid(long vendorId, org.apache.thrift.async.AsyncMethodCallback<getOrdersWhereVendorNotPaid_call> resultHandler) throws org.apache.thrift.TException {
7768
    public void getBilledOrders(long vendorId, boolean onlyVendorNotPaid, long billingDateFrom, long billingDateTo, org.apache.thrift.async.AsyncMethodCallback<getBilledOrders_call> resultHandler) throws org.apache.thrift.TException {
7692
      checkReady();
7769
      checkReady();
7693
      getOrdersWhereVendorNotPaid_call method_call = new getOrdersWhereVendorNotPaid_call(vendorId, resultHandler, this, ___protocolFactory, ___transport);
7770
      getBilledOrders_call method_call = new getBilledOrders_call(vendorId, onlyVendorNotPaid, billingDateFrom, billingDateTo, resultHandler, this, ___protocolFactory, ___transport);
7694
      this.___currentMethod = method_call;
7771
      this.___currentMethod = method_call;
7695
      ___manager.call(method_call);
7772
      ___manager.call(method_call);
7696
    }
7773
    }
7697
 
7774
 
7698
    public static class getOrdersWhereVendorNotPaid_call extends org.apache.thrift.async.TAsyncMethodCall {
7775
    public static class getBilledOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
7699
      private long vendorId;
7776
      private long vendorId;
-
 
7777
      private boolean onlyVendorNotPaid;
-
 
7778
      private long billingDateFrom;
-
 
7779
      private long billingDateTo;
7700
      public getOrdersWhereVendorNotPaid_call(long vendorId, org.apache.thrift.async.AsyncMethodCallback<getOrdersWhereVendorNotPaid_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 {
7780
      public getBilledOrders_call(long vendorId, boolean onlyVendorNotPaid, long billingDateFrom, long billingDateTo, org.apache.thrift.async.AsyncMethodCallback<getBilledOrders_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 {
7701
        super(client, protocolFactory, transport, resultHandler, false);
7781
        super(client, protocolFactory, transport, resultHandler, false);
7702
        this.vendorId = vendorId;
7782
        this.vendorId = vendorId;
-
 
7783
        this.onlyVendorNotPaid = onlyVendorNotPaid;
-
 
7784
        this.billingDateFrom = billingDateFrom;
-
 
7785
        this.billingDateTo = billingDateTo;
7703
      }
7786
      }
7704
 
7787
 
7705
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
7788
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
7706
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOrdersWhereVendorNotPaid", org.apache.thrift.protocol.TMessageType.CALL, 0));
7789
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getBilledOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
7707
        getOrdersWhereVendorNotPaid_args args = new getOrdersWhereVendorNotPaid_args();
7790
        getBilledOrders_args args = new getBilledOrders_args();
7708
        args.setVendorId(vendorId);
7791
        args.setVendorId(vendorId);
-
 
7792
        args.setOnlyVendorNotPaid(onlyVendorNotPaid);
-
 
7793
        args.setBillingDateFrom(billingDateFrom);
-
 
7794
        args.setBillingDateTo(billingDateTo);
7709
        args.write(prot);
7795
        args.write(prot);
7710
        prot.writeMessageEnd();
7796
        prot.writeMessageEnd();
7711
      }
7797
      }
7712
 
7798
 
7713
      public List<Order> getResult() throws TransactionServiceException, org.apache.thrift.TException {
7799
      public List<Order> getResult() throws TransactionServiceException, org.apache.thrift.TException {
7714
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
7800
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
7715
          throw new IllegalStateException("Method call not finished!");
7801
          throw new IllegalStateException("Method call not finished!");
7716
        }
7802
        }
7717
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
7803
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
7718
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
7804
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
7719
        return (new Client(prot)).recv_getOrdersWhereVendorNotPaid();
7805
        return (new Client(prot)).recv_getBilledOrders();
7720
      }
7806
      }
7721
    }
7807
    }
7722
 
7808
 
7723
    public void getStatusDistributionOfOrders(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<getStatusDistributionOfOrders_call> resultHandler) throws org.apache.thrift.TException {
7809
    public void getStatusDistributionOfOrders(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<getStatusDistributionOfOrders_call> resultHandler) throws org.apache.thrift.TException {
7724
      checkReady();
7810
      checkReady();
Line 8035... Line 8121...
8035
      processMap.put("validateDoa", new validateDoa());
8121
      processMap.put("validateDoa", new validateDoa());
8036
      processMap.put("validateReturnProduct", new validateReturnProduct());
8122
      processMap.put("validateReturnProduct", new validateReturnProduct());
8037
      processMap.put("reshipOrder", new reshipOrder());
8123
      processMap.put("reshipOrder", new reshipOrder());
8038
      processMap.put("refundOrder", new refundOrder());
8124
      processMap.put("refundOrder", new refundOrder());
8039
      processMap.put("getReturnOrders", new getReturnOrders());
8125
      processMap.put("getReturnOrders", new getReturnOrders());
-
 
8126
      processMap.put("getAllReturnOrders", new getAllReturnOrders());
8040
      processMap.put("getReturnOrder", new getReturnOrder());
8127
      processMap.put("getReturnOrder", new getReturnOrder());
8041
      processMap.put("processReturn", new processReturn());
8128
      processMap.put("processReturn", new processReturn());
8042
      processMap.put("updateWeight", new updateWeight());
8129
      processMap.put("updateWeight", new updateWeight());
8043
      processMap.put("changeItem", new changeItem());
8130
      processMap.put("changeItem", new changeItem());
8044
      processMap.put("shiftToWarehouse", new shiftToWarehouse());
8131
      processMap.put("shiftToWarehouse", new shiftToWarehouse());
Line 8073... Line 8160...
8073
      processMap.put("getEBSSettlementSummaries", new getEBSSettlementSummaries());
8160
      processMap.put("getEBSSettlementSummaries", new getEBSSettlementSummaries());
8074
      processMap.put("markEBSSettlementUploaded", new markEBSSettlementUploaded());
8161
      processMap.put("markEBSSettlementUploaded", new markEBSSettlementUploaded());
8075
      processMap.put("getEBSSettlementDate", new getEBSSettlementDate());
8162
      processMap.put("getEBSSettlementDate", new getEBSSettlementDate());
8076
      processMap.put("getSettlementsByDate", new getSettlementsByDate());
8163
      processMap.put("getSettlementsByDate", new getSettlementsByDate());
8077
      processMap.put("getReshippedOrderIds", new getReshippedOrderIds());
8164
      processMap.put("getReshippedOrderIds", new getReshippedOrderIds());
8078
      processMap.put("getOrdersWhereVendorNotPaid", new getOrdersWhereVendorNotPaid());
8165
      processMap.put("getBilledOrders", new getBilledOrders());
8079
      processMap.put("getStatusDistributionOfOrders", new getStatusDistributionOfOrders());
8166
      processMap.put("getStatusDistributionOfOrders", new getStatusDistributionOfOrders());
8080
      processMap.put("getOrderIdsForStatus", new getOrderIdsForStatus());
8167
      processMap.put("getOrderIdsForStatus", new getOrderIdsForStatus());
8081
      processMap.put("updateCODAgent", new updateCODAgent());
8168
      processMap.put("updateCODAgent", new updateCODAgent());
8082
      processMap.put("updateOrderAsPaidToVendor", new updateOrderAsPaidToVendor());
8169
      processMap.put("updateOrderAsPaidToVendor", new updateOrderAsPaidToVendor());
8083
      processMap.put("updateOrderOnlyAsPaidToVendor", new updateOrderOnlyAsPaidToVendor());
8170
      processMap.put("updateOrderOnlyAsPaidToVendor", new updateOrderOnlyAsPaidToVendor());
Line 9389... Line 9476...
9389
        result.success = iface.getReturnOrders(args.warehouseId, args.fromDate, args.toDate);
9476
        result.success = iface.getReturnOrders(args.warehouseId, args.fromDate, args.toDate);
9390
        return result;
9477
        return result;
9391
      }
9478
      }
9392
    }
9479
    }
9393
 
9480
 
-
 
9481
    private static class getAllReturnOrders<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllReturnOrders_args> {
-
 
9482
      public getAllReturnOrders() {
-
 
9483
        super("getAllReturnOrders");
-
 
9484
      }
-
 
9485
 
-
 
9486
      protected getAllReturnOrders_args getEmptyArgsInstance() {
-
 
9487
        return new getAllReturnOrders_args();
-
 
9488
      }
-
 
9489
 
-
 
9490
      protected getAllReturnOrders_result getResult(I iface, getAllReturnOrders_args args) throws org.apache.thrift.TException {
-
 
9491
        getAllReturnOrders_result result = new getAllReturnOrders_result();
-
 
9492
        result.success = iface.getAllReturnOrders(args.onlyNotProcessed, args.fromDate, args.toDate);
-
 
9493
        return result;
-
 
9494
      }
-
 
9495
    }
-
 
9496
 
9394
    private static class getReturnOrder<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReturnOrder_args> {
9497
    private static class getReturnOrder<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReturnOrder_args> {
9395
      public getReturnOrder() {
9498
      public getReturnOrder() {
9396
        super("getReturnOrder");
9499
        super("getReturnOrder");
9397
      }
9500
      }
9398
 
9501
 
Line 10137... Line 10240...
10137
        }
10240
        }
10138
        return result;
10241
        return result;
10139
      }
10242
      }
10140
    }
10243
    }
10141
 
10244
 
10142
    private static class getOrdersWhereVendorNotPaid<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrdersWhereVendorNotPaid_args> {
10245
    private static class getBilledOrders<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getBilledOrders_args> {
10143
      public getOrdersWhereVendorNotPaid() {
10246
      public getBilledOrders() {
10144
        super("getOrdersWhereVendorNotPaid");
10247
        super("getBilledOrders");
10145
      }
10248
      }
10146
 
10249
 
10147
      protected getOrdersWhereVendorNotPaid_args getEmptyArgsInstance() {
10250
      protected getBilledOrders_args getEmptyArgsInstance() {
10148
        return new getOrdersWhereVendorNotPaid_args();
10251
        return new getBilledOrders_args();
10149
      }
10252
      }
10150
 
10253
 
10151
      protected getOrdersWhereVendorNotPaid_result getResult(I iface, getOrdersWhereVendorNotPaid_args args) throws org.apache.thrift.TException {
10254
      protected getBilledOrders_result getResult(I iface, getBilledOrders_args args) throws org.apache.thrift.TException {
10152
        getOrdersWhereVendorNotPaid_result result = new getOrdersWhereVendorNotPaid_result();
10255
        getBilledOrders_result result = new getBilledOrders_result();
10153
        try {
10256
        try {
10154
          result.success = iface.getOrdersWhereVendorNotPaid(args.vendorId);
10257
          result.success = iface.getBilledOrders(args.vendorId, args.onlyVendorNotPaid, args.billingDateFrom, args.billingDateTo);
10155
        } catch (TransactionServiceException ex) {
10258
        } catch (TransactionServiceException ex) {
10156
          result.ex = ex;
10259
          result.ex = ex;
10157
        }
10260
        }
10158
        return result;
10261
        return result;
10159
      }
10262
      }
Line 33410... Line 33513...
33410
      }
33513
      }
33411
    }
33514
    }
33412
 
33515
 
33413
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
33516
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
33414
      try {
33517
      try {
33415
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
33416
        __isset_bit_vector = new BitSet(1);
-
 
33417
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
33518
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
33418
      } catch (org.apache.thrift.TException te) {
33519
      } catch (org.apache.thrift.TException te) {
33419
        throw new java.io.IOException(te);
33520
        throw new java.io.IOException(te);
33420
      }
33521
      }
33421
    }
33522
    }
Line 52446... Line 52547...
52446
      }
52547
      }
52447
    }
52548
    }
52448
 
52549
 
52449
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
52550
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
52450
      try {
52551
      try {
-
 
52552
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
52553
        __isset_bit_vector = new BitSet(1);
52451
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
52554
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
52452
      } catch (org.apache.thrift.TException te) {
52555
      } catch (org.apache.thrift.TException te) {
52453
        throw new java.io.IOException(te);
52556
        throw new java.io.IOException(te);
52454
      }
52557
      }
52455
    }
52558
    }
Line 60752... Line 60855...
60752
      }
60855
      }
60753
    }
60856
    }
60754
 
60857
 
60755
  }
60858
  }
60756
 
60859
 
-
 
60860
  public static class getAllReturnOrders_args implements org.apache.thrift.TBase<getAllReturnOrders_args, getAllReturnOrders_args._Fields>, java.io.Serializable, Cloneable   {
-
 
60861
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllReturnOrders_args");
-
 
60862
 
-
 
60863
    private static final org.apache.thrift.protocol.TField ONLY_NOT_PROCESSED_FIELD_DESC = new org.apache.thrift.protocol.TField("onlyNotProcessed", org.apache.thrift.protocol.TType.BOOL, (short)1);
-
 
60864
    private static final org.apache.thrift.protocol.TField FROM_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("fromDate", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
60865
    private static final org.apache.thrift.protocol.TField TO_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("toDate", org.apache.thrift.protocol.TType.I64, (short)3);
-
 
60866
 
-
 
60867
    private boolean onlyNotProcessed; // required
-
 
60868
    private long fromDate; // required
-
 
60869
    private long toDate; // required
-
 
60870
 
-
 
60871
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
60872
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
60873
      ONLY_NOT_PROCESSED((short)1, "onlyNotProcessed"),
-
 
60874
      FROM_DATE((short)2, "fromDate"),
-
 
60875
      TO_DATE((short)3, "toDate");
-
 
60876
 
-
 
60877
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
60878
 
-
 
60879
      static {
-
 
60880
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
60881
          byName.put(field.getFieldName(), field);
-
 
60882
        }
-
 
60883
      }
-
 
60884
 
-
 
60885
      /**
-
 
60886
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
60887
       */
-
 
60888
      public static _Fields findByThriftId(int fieldId) {
-
 
60889
        switch(fieldId) {
-
 
60890
          case 1: // ONLY_NOT_PROCESSED
-
 
60891
            return ONLY_NOT_PROCESSED;
-
 
60892
          case 2: // FROM_DATE
-
 
60893
            return FROM_DATE;
-
 
60894
          case 3: // TO_DATE
-
 
60895
            return TO_DATE;
-
 
60896
          default:
-
 
60897
            return null;
-
 
60898
        }
-
 
60899
      }
-
 
60900
 
-
 
60901
      /**
-
 
60902
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
60903
       * if it is not found.
-
 
60904
       */
-
 
60905
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
60906
        _Fields fields = findByThriftId(fieldId);
-
 
60907
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
60908
        return fields;
-
 
60909
      }
-
 
60910
 
-
 
60911
      /**
-
 
60912
       * Find the _Fields constant that matches name, or null if its not found.
-
 
60913
       */
-
 
60914
      public static _Fields findByName(String name) {
-
 
60915
        return byName.get(name);
-
 
60916
      }
-
 
60917
 
-
 
60918
      private final short _thriftId;
-
 
60919
      private final String _fieldName;
-
 
60920
 
-
 
60921
      _Fields(short thriftId, String fieldName) {
-
 
60922
        _thriftId = thriftId;
-
 
60923
        _fieldName = fieldName;
-
 
60924
      }
-
 
60925
 
-
 
60926
      public short getThriftFieldId() {
-
 
60927
        return _thriftId;
-
 
60928
      }
-
 
60929
 
-
 
60930
      public String getFieldName() {
-
 
60931
        return _fieldName;
-
 
60932
      }
-
 
60933
    }
-
 
60934
 
-
 
60935
    // isset id assignments
-
 
60936
    private static final int __ONLYNOTPROCESSED_ISSET_ID = 0;
-
 
60937
    private static final int __FROMDATE_ISSET_ID = 1;
-
 
60938
    private static final int __TODATE_ISSET_ID = 2;
-
 
60939
    private BitSet __isset_bit_vector = new BitSet(3);
-
 
60940
 
-
 
60941
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
60942
    static {
-
 
60943
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
60944
      tmpMap.put(_Fields.ONLY_NOT_PROCESSED, new org.apache.thrift.meta_data.FieldMetaData("onlyNotProcessed", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
60945
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
60946
      tmpMap.put(_Fields.FROM_DATE, new org.apache.thrift.meta_data.FieldMetaData("fromDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
60947
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
60948
      tmpMap.put(_Fields.TO_DATE, new org.apache.thrift.meta_data.FieldMetaData("toDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
60949
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
60950
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
60951
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllReturnOrders_args.class, metaDataMap);
-
 
60952
    }
-
 
60953
 
-
 
60954
    public getAllReturnOrders_args() {
-
 
60955
    }
-
 
60956
 
-
 
60957
    public getAllReturnOrders_args(
-
 
60958
      boolean onlyNotProcessed,
-
 
60959
      long fromDate,
-
 
60960
      long toDate)
-
 
60961
    {
-
 
60962
      this();
-
 
60963
      this.onlyNotProcessed = onlyNotProcessed;
-
 
60964
      setOnlyNotProcessedIsSet(true);
-
 
60965
      this.fromDate = fromDate;
-
 
60966
      setFromDateIsSet(true);
-
 
60967
      this.toDate = toDate;
-
 
60968
      setToDateIsSet(true);
-
 
60969
    }
-
 
60970
 
-
 
60971
    /**
-
 
60972
     * Performs a deep copy on <i>other</i>.
-
 
60973
     */
-
 
60974
    public getAllReturnOrders_args(getAllReturnOrders_args other) {
-
 
60975
      __isset_bit_vector.clear();
-
 
60976
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
60977
      this.onlyNotProcessed = other.onlyNotProcessed;
-
 
60978
      this.fromDate = other.fromDate;
-
 
60979
      this.toDate = other.toDate;
-
 
60980
    }
-
 
60981
 
-
 
60982
    public getAllReturnOrders_args deepCopy() {
-
 
60983
      return new getAllReturnOrders_args(this);
-
 
60984
    }
-
 
60985
 
-
 
60986
    @Override
-
 
60987
    public void clear() {
-
 
60988
      setOnlyNotProcessedIsSet(false);
-
 
60989
      this.onlyNotProcessed = false;
-
 
60990
      setFromDateIsSet(false);
-
 
60991
      this.fromDate = 0;
-
 
60992
      setToDateIsSet(false);
-
 
60993
      this.toDate = 0;
-
 
60994
    }
-
 
60995
 
-
 
60996
    public boolean isOnlyNotProcessed() {
-
 
60997
      return this.onlyNotProcessed;
-
 
60998
    }
-
 
60999
 
-
 
61000
    public void setOnlyNotProcessed(boolean onlyNotProcessed) {
-
 
61001
      this.onlyNotProcessed = onlyNotProcessed;
-
 
61002
      setOnlyNotProcessedIsSet(true);
-
 
61003
    }
-
 
61004
 
-
 
61005
    public void unsetOnlyNotProcessed() {
-
 
61006
      __isset_bit_vector.clear(__ONLYNOTPROCESSED_ISSET_ID);
-
 
61007
    }
-
 
61008
 
-
 
61009
    /** Returns true if field onlyNotProcessed is set (has been assigned a value) and false otherwise */
-
 
61010
    public boolean isSetOnlyNotProcessed() {
-
 
61011
      return __isset_bit_vector.get(__ONLYNOTPROCESSED_ISSET_ID);
-
 
61012
    }
-
 
61013
 
-
 
61014
    public void setOnlyNotProcessedIsSet(boolean value) {
-
 
61015
      __isset_bit_vector.set(__ONLYNOTPROCESSED_ISSET_ID, value);
-
 
61016
    }
-
 
61017
 
-
 
61018
    public long getFromDate() {
-
 
61019
      return this.fromDate;
-
 
61020
    }
-
 
61021
 
-
 
61022
    public void setFromDate(long fromDate) {
-
 
61023
      this.fromDate = fromDate;
-
 
61024
      setFromDateIsSet(true);
-
 
61025
    }
-
 
61026
 
-
 
61027
    public void unsetFromDate() {
-
 
61028
      __isset_bit_vector.clear(__FROMDATE_ISSET_ID);
-
 
61029
    }
-
 
61030
 
-
 
61031
    /** Returns true if field fromDate is set (has been assigned a value) and false otherwise */
-
 
61032
    public boolean isSetFromDate() {
-
 
61033
      return __isset_bit_vector.get(__FROMDATE_ISSET_ID);
-
 
61034
    }
-
 
61035
 
-
 
61036
    public void setFromDateIsSet(boolean value) {
-
 
61037
      __isset_bit_vector.set(__FROMDATE_ISSET_ID, value);
-
 
61038
    }
-
 
61039
 
-
 
61040
    public long getToDate() {
-
 
61041
      return this.toDate;
-
 
61042
    }
-
 
61043
 
-
 
61044
    public void setToDate(long toDate) {
-
 
61045
      this.toDate = toDate;
-
 
61046
      setToDateIsSet(true);
-
 
61047
    }
-
 
61048
 
-
 
61049
    public void unsetToDate() {
-
 
61050
      __isset_bit_vector.clear(__TODATE_ISSET_ID);
-
 
61051
    }
-
 
61052
 
-
 
61053
    /** Returns true if field toDate is set (has been assigned a value) and false otherwise */
-
 
61054
    public boolean isSetToDate() {
-
 
61055
      return __isset_bit_vector.get(__TODATE_ISSET_ID);
-
 
61056
    }
-
 
61057
 
-
 
61058
    public void setToDateIsSet(boolean value) {
-
 
61059
      __isset_bit_vector.set(__TODATE_ISSET_ID, value);
-
 
61060
    }
-
 
61061
 
-
 
61062
    public void setFieldValue(_Fields field, Object value) {
-
 
61063
      switch (field) {
-
 
61064
      case ONLY_NOT_PROCESSED:
-
 
61065
        if (value == null) {
-
 
61066
          unsetOnlyNotProcessed();
-
 
61067
        } else {
-
 
61068
          setOnlyNotProcessed((Boolean)value);
-
 
61069
        }
-
 
61070
        break;
-
 
61071
 
-
 
61072
      case FROM_DATE:
-
 
61073
        if (value == null) {
-
 
61074
          unsetFromDate();
-
 
61075
        } else {
-
 
61076
          setFromDate((Long)value);
-
 
61077
        }
-
 
61078
        break;
-
 
61079
 
-
 
61080
      case TO_DATE:
-
 
61081
        if (value == null) {
-
 
61082
          unsetToDate();
-
 
61083
        } else {
-
 
61084
          setToDate((Long)value);
-
 
61085
        }
-
 
61086
        break;
-
 
61087
 
-
 
61088
      }
-
 
61089
    }
-
 
61090
 
-
 
61091
    public Object getFieldValue(_Fields field) {
-
 
61092
      switch (field) {
-
 
61093
      case ONLY_NOT_PROCESSED:
-
 
61094
        return Boolean.valueOf(isOnlyNotProcessed());
-
 
61095
 
-
 
61096
      case FROM_DATE:
-
 
61097
        return Long.valueOf(getFromDate());
-
 
61098
 
-
 
61099
      case TO_DATE:
-
 
61100
        return Long.valueOf(getToDate());
-
 
61101
 
-
 
61102
      }
-
 
61103
      throw new IllegalStateException();
-
 
61104
    }
-
 
61105
 
-
 
61106
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
61107
    public boolean isSet(_Fields field) {
-
 
61108
      if (field == null) {
-
 
61109
        throw new IllegalArgumentException();
-
 
61110
      }
-
 
61111
 
-
 
61112
      switch (field) {
-
 
61113
      case ONLY_NOT_PROCESSED:
-
 
61114
        return isSetOnlyNotProcessed();
-
 
61115
      case FROM_DATE:
-
 
61116
        return isSetFromDate();
-
 
61117
      case TO_DATE:
-
 
61118
        return isSetToDate();
-
 
61119
      }
-
 
61120
      throw new IllegalStateException();
-
 
61121
    }
-
 
61122
 
-
 
61123
    @Override
-
 
61124
    public boolean equals(Object that) {
-
 
61125
      if (that == null)
-
 
61126
        return false;
-
 
61127
      if (that instanceof getAllReturnOrders_args)
-
 
61128
        return this.equals((getAllReturnOrders_args)that);
-
 
61129
      return false;
-
 
61130
    }
-
 
61131
 
-
 
61132
    public boolean equals(getAllReturnOrders_args that) {
-
 
61133
      if (that == null)
-
 
61134
        return false;
-
 
61135
 
-
 
61136
      boolean this_present_onlyNotProcessed = true;
-
 
61137
      boolean that_present_onlyNotProcessed = true;
-
 
61138
      if (this_present_onlyNotProcessed || that_present_onlyNotProcessed) {
-
 
61139
        if (!(this_present_onlyNotProcessed && that_present_onlyNotProcessed))
-
 
61140
          return false;
-
 
61141
        if (this.onlyNotProcessed != that.onlyNotProcessed)
-
 
61142
          return false;
-
 
61143
      }
-
 
61144
 
-
 
61145
      boolean this_present_fromDate = true;
-
 
61146
      boolean that_present_fromDate = true;
-
 
61147
      if (this_present_fromDate || that_present_fromDate) {
-
 
61148
        if (!(this_present_fromDate && that_present_fromDate))
-
 
61149
          return false;
-
 
61150
        if (this.fromDate != that.fromDate)
-
 
61151
          return false;
-
 
61152
      }
-
 
61153
 
-
 
61154
      boolean this_present_toDate = true;
-
 
61155
      boolean that_present_toDate = true;
-
 
61156
      if (this_present_toDate || that_present_toDate) {
-
 
61157
        if (!(this_present_toDate && that_present_toDate))
-
 
61158
          return false;
-
 
61159
        if (this.toDate != that.toDate)
-
 
61160
          return false;
-
 
61161
      }
-
 
61162
 
-
 
61163
      return true;
-
 
61164
    }
-
 
61165
 
-
 
61166
    @Override
-
 
61167
    public int hashCode() {
-
 
61168
      return 0;
-
 
61169
    }
-
 
61170
 
-
 
61171
    public int compareTo(getAllReturnOrders_args other) {
-
 
61172
      if (!getClass().equals(other.getClass())) {
-
 
61173
        return getClass().getName().compareTo(other.getClass().getName());
-
 
61174
      }
-
 
61175
 
-
 
61176
      int lastComparison = 0;
-
 
61177
      getAllReturnOrders_args typedOther = (getAllReturnOrders_args)other;
-
 
61178
 
-
 
61179
      lastComparison = Boolean.valueOf(isSetOnlyNotProcessed()).compareTo(typedOther.isSetOnlyNotProcessed());
-
 
61180
      if (lastComparison != 0) {
-
 
61181
        return lastComparison;
-
 
61182
      }
-
 
61183
      if (isSetOnlyNotProcessed()) {
-
 
61184
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.onlyNotProcessed, typedOther.onlyNotProcessed);
-
 
61185
        if (lastComparison != 0) {
-
 
61186
          return lastComparison;
-
 
61187
        }
-
 
61188
      }
-
 
61189
      lastComparison = Boolean.valueOf(isSetFromDate()).compareTo(typedOther.isSetFromDate());
-
 
61190
      if (lastComparison != 0) {
-
 
61191
        return lastComparison;
-
 
61192
      }
-
 
61193
      if (isSetFromDate()) {
-
 
61194
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fromDate, typedOther.fromDate);
-
 
61195
        if (lastComparison != 0) {
-
 
61196
          return lastComparison;
-
 
61197
        }
-
 
61198
      }
-
 
61199
      lastComparison = Boolean.valueOf(isSetToDate()).compareTo(typedOther.isSetToDate());
-
 
61200
      if (lastComparison != 0) {
-
 
61201
        return lastComparison;
-
 
61202
      }
-
 
61203
      if (isSetToDate()) {
-
 
61204
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.toDate, typedOther.toDate);
-
 
61205
        if (lastComparison != 0) {
-
 
61206
          return lastComparison;
-
 
61207
        }
-
 
61208
      }
-
 
61209
      return 0;
-
 
61210
    }
-
 
61211
 
-
 
61212
    public _Fields fieldForId(int fieldId) {
-
 
61213
      return _Fields.findByThriftId(fieldId);
-
 
61214
    }
-
 
61215
 
-
 
61216
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
61217
      org.apache.thrift.protocol.TField field;
-
 
61218
      iprot.readStructBegin();
-
 
61219
      while (true)
-
 
61220
      {
-
 
61221
        field = iprot.readFieldBegin();
-
 
61222
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
61223
          break;
-
 
61224
        }
-
 
61225
        switch (field.id) {
-
 
61226
          case 1: // ONLY_NOT_PROCESSED
-
 
61227
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
61228
              this.onlyNotProcessed = iprot.readBool();
-
 
61229
              setOnlyNotProcessedIsSet(true);
-
 
61230
            } else { 
-
 
61231
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
61232
            }
-
 
61233
            break;
-
 
61234
          case 2: // FROM_DATE
-
 
61235
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
61236
              this.fromDate = iprot.readI64();
-
 
61237
              setFromDateIsSet(true);
-
 
61238
            } else { 
-
 
61239
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
61240
            }
-
 
61241
            break;
-
 
61242
          case 3: // TO_DATE
-
 
61243
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
61244
              this.toDate = iprot.readI64();
-
 
61245
              setToDateIsSet(true);
-
 
61246
            } else { 
-
 
61247
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
61248
            }
-
 
61249
            break;
-
 
61250
          default:
-
 
61251
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
61252
        }
-
 
61253
        iprot.readFieldEnd();
-
 
61254
      }
-
 
61255
      iprot.readStructEnd();
-
 
61256
      validate();
-
 
61257
    }
-
 
61258
 
-
 
61259
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
61260
      validate();
-
 
61261
 
-
 
61262
      oprot.writeStructBegin(STRUCT_DESC);
-
 
61263
      oprot.writeFieldBegin(ONLY_NOT_PROCESSED_FIELD_DESC);
-
 
61264
      oprot.writeBool(this.onlyNotProcessed);
-
 
61265
      oprot.writeFieldEnd();
-
 
61266
      oprot.writeFieldBegin(FROM_DATE_FIELD_DESC);
-
 
61267
      oprot.writeI64(this.fromDate);
-
 
61268
      oprot.writeFieldEnd();
-
 
61269
      oprot.writeFieldBegin(TO_DATE_FIELD_DESC);
-
 
61270
      oprot.writeI64(this.toDate);
-
 
61271
      oprot.writeFieldEnd();
-
 
61272
      oprot.writeFieldStop();
-
 
61273
      oprot.writeStructEnd();
-
 
61274
    }
-
 
61275
 
-
 
61276
    @Override
-
 
61277
    public String toString() {
-
 
61278
      StringBuilder sb = new StringBuilder("getAllReturnOrders_args(");
-
 
61279
      boolean first = true;
-
 
61280
 
-
 
61281
      sb.append("onlyNotProcessed:");
-
 
61282
      sb.append(this.onlyNotProcessed);
-
 
61283
      first = false;
-
 
61284
      if (!first) sb.append(", ");
-
 
61285
      sb.append("fromDate:");
-
 
61286
      sb.append(this.fromDate);
-
 
61287
      first = false;
-
 
61288
      if (!first) sb.append(", ");
-
 
61289
      sb.append("toDate:");
-
 
61290
      sb.append(this.toDate);
-
 
61291
      first = false;
-
 
61292
      sb.append(")");
-
 
61293
      return sb.toString();
-
 
61294
    }
-
 
61295
 
-
 
61296
    public void validate() throws org.apache.thrift.TException {
-
 
61297
      // check for required fields
-
 
61298
    }
-
 
61299
 
-
 
61300
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
61301
      try {
-
 
61302
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
61303
      } catch (org.apache.thrift.TException te) {
-
 
61304
        throw new java.io.IOException(te);
-
 
61305
      }
-
 
61306
    }
-
 
61307
 
-
 
61308
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
61309
      try {
-
 
61310
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
61311
        __isset_bit_vector = new BitSet(1);
-
 
61312
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
61313
      } catch (org.apache.thrift.TException te) {
-
 
61314
        throw new java.io.IOException(te);
-
 
61315
      }
-
 
61316
    }
-
 
61317
 
-
 
61318
  }
-
 
61319
 
-
 
61320
  public static class getAllReturnOrders_result implements org.apache.thrift.TBase<getAllReturnOrders_result, getAllReturnOrders_result._Fields>, java.io.Serializable, Cloneable   {
-
 
61321
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllReturnOrders_result");
-
 
61322
 
-
 
61323
    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);
-
 
61324
 
-
 
61325
    private List<ReturnOrder> success; // required
-
 
61326
 
-
 
61327
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
61328
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
61329
      SUCCESS((short)0, "success");
-
 
61330
 
-
 
61331
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
61332
 
-
 
61333
      static {
-
 
61334
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
61335
          byName.put(field.getFieldName(), field);
-
 
61336
        }
-
 
61337
      }
-
 
61338
 
-
 
61339
      /**
-
 
61340
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
61341
       */
-
 
61342
      public static _Fields findByThriftId(int fieldId) {
-
 
61343
        switch(fieldId) {
-
 
61344
          case 0: // SUCCESS
-
 
61345
            return SUCCESS;
-
 
61346
          default:
-
 
61347
            return null;
-
 
61348
        }
-
 
61349
      }
-
 
61350
 
-
 
61351
      /**
-
 
61352
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
61353
       * if it is not found.
-
 
61354
       */
-
 
61355
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
61356
        _Fields fields = findByThriftId(fieldId);
-
 
61357
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
61358
        return fields;
-
 
61359
      }
-
 
61360
 
-
 
61361
      /**
-
 
61362
       * Find the _Fields constant that matches name, or null if its not found.
-
 
61363
       */
-
 
61364
      public static _Fields findByName(String name) {
-
 
61365
        return byName.get(name);
-
 
61366
      }
-
 
61367
 
-
 
61368
      private final short _thriftId;
-
 
61369
      private final String _fieldName;
-
 
61370
 
-
 
61371
      _Fields(short thriftId, String fieldName) {
-
 
61372
        _thriftId = thriftId;
-
 
61373
        _fieldName = fieldName;
-
 
61374
      }
-
 
61375
 
-
 
61376
      public short getThriftFieldId() {
-
 
61377
        return _thriftId;
-
 
61378
      }
-
 
61379
 
-
 
61380
      public String getFieldName() {
-
 
61381
        return _fieldName;
-
 
61382
      }
-
 
61383
    }
-
 
61384
 
-
 
61385
    // isset id assignments
-
 
61386
 
-
 
61387
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
61388
    static {
-
 
61389
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
61390
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
61391
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
61392
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnOrder.class))));
-
 
61393
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
61394
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllReturnOrders_result.class, metaDataMap);
-
 
61395
    }
-
 
61396
 
-
 
61397
    public getAllReturnOrders_result() {
-
 
61398
    }
-
 
61399
 
-
 
61400
    public getAllReturnOrders_result(
-
 
61401
      List<ReturnOrder> success)
-
 
61402
    {
-
 
61403
      this();
-
 
61404
      this.success = success;
-
 
61405
    }
-
 
61406
 
-
 
61407
    /**
-
 
61408
     * Performs a deep copy on <i>other</i>.
-
 
61409
     */
-
 
61410
    public getAllReturnOrders_result(getAllReturnOrders_result other) {
-
 
61411
      if (other.isSetSuccess()) {
-
 
61412
        List<ReturnOrder> __this__success = new ArrayList<ReturnOrder>();
-
 
61413
        for (ReturnOrder other_element : other.success) {
-
 
61414
          __this__success.add(new ReturnOrder(other_element));
-
 
61415
        }
-
 
61416
        this.success = __this__success;
-
 
61417
      }
-
 
61418
    }
-
 
61419
 
-
 
61420
    public getAllReturnOrders_result deepCopy() {
-
 
61421
      return new getAllReturnOrders_result(this);
-
 
61422
    }
-
 
61423
 
-
 
61424
    @Override
-
 
61425
    public void clear() {
-
 
61426
      this.success = null;
-
 
61427
    }
-
 
61428
 
-
 
61429
    public int getSuccessSize() {
-
 
61430
      return (this.success == null) ? 0 : this.success.size();
-
 
61431
    }
-
 
61432
 
-
 
61433
    public java.util.Iterator<ReturnOrder> getSuccessIterator() {
-
 
61434
      return (this.success == null) ? null : this.success.iterator();
-
 
61435
    }
-
 
61436
 
-
 
61437
    public void addToSuccess(ReturnOrder elem) {
-
 
61438
      if (this.success == null) {
-
 
61439
        this.success = new ArrayList<ReturnOrder>();
-
 
61440
      }
-
 
61441
      this.success.add(elem);
-
 
61442
    }
-
 
61443
 
-
 
61444
    public List<ReturnOrder> getSuccess() {
-
 
61445
      return this.success;
-
 
61446
    }
-
 
61447
 
-
 
61448
    public void setSuccess(List<ReturnOrder> success) {
-
 
61449
      this.success = success;
-
 
61450
    }
-
 
61451
 
-
 
61452
    public void unsetSuccess() {
-
 
61453
      this.success = null;
-
 
61454
    }
-
 
61455
 
-
 
61456
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
61457
    public boolean isSetSuccess() {
-
 
61458
      return this.success != null;
-
 
61459
    }
-
 
61460
 
-
 
61461
    public void setSuccessIsSet(boolean value) {
-
 
61462
      if (!value) {
-
 
61463
        this.success = null;
-
 
61464
      }
-
 
61465
    }
-
 
61466
 
-
 
61467
    public void setFieldValue(_Fields field, Object value) {
-
 
61468
      switch (field) {
-
 
61469
      case SUCCESS:
-
 
61470
        if (value == null) {
-
 
61471
          unsetSuccess();
-
 
61472
        } else {
-
 
61473
          setSuccess((List<ReturnOrder>)value);
-
 
61474
        }
-
 
61475
        break;
-
 
61476
 
-
 
61477
      }
-
 
61478
    }
-
 
61479
 
-
 
61480
    public Object getFieldValue(_Fields field) {
-
 
61481
      switch (field) {
-
 
61482
      case SUCCESS:
-
 
61483
        return getSuccess();
-
 
61484
 
-
 
61485
      }
-
 
61486
      throw new IllegalStateException();
-
 
61487
    }
-
 
61488
 
-
 
61489
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
61490
    public boolean isSet(_Fields field) {
-
 
61491
      if (field == null) {
-
 
61492
        throw new IllegalArgumentException();
-
 
61493
      }
-
 
61494
 
-
 
61495
      switch (field) {
-
 
61496
      case SUCCESS:
-
 
61497
        return isSetSuccess();
-
 
61498
      }
-
 
61499
      throw new IllegalStateException();
-
 
61500
    }
-
 
61501
 
-
 
61502
    @Override
-
 
61503
    public boolean equals(Object that) {
-
 
61504
      if (that == null)
-
 
61505
        return false;
-
 
61506
      if (that instanceof getAllReturnOrders_result)
-
 
61507
        return this.equals((getAllReturnOrders_result)that);
-
 
61508
      return false;
-
 
61509
    }
-
 
61510
 
-
 
61511
    public boolean equals(getAllReturnOrders_result that) {
-
 
61512
      if (that == null)
-
 
61513
        return false;
-
 
61514
 
-
 
61515
      boolean this_present_success = true && this.isSetSuccess();
-
 
61516
      boolean that_present_success = true && that.isSetSuccess();
-
 
61517
      if (this_present_success || that_present_success) {
-
 
61518
        if (!(this_present_success && that_present_success))
-
 
61519
          return false;
-
 
61520
        if (!this.success.equals(that.success))
-
 
61521
          return false;
-
 
61522
      }
-
 
61523
 
-
 
61524
      return true;
-
 
61525
    }
-
 
61526
 
-
 
61527
    @Override
-
 
61528
    public int hashCode() {
-
 
61529
      return 0;
-
 
61530
    }
-
 
61531
 
-
 
61532
    public int compareTo(getAllReturnOrders_result other) {
-
 
61533
      if (!getClass().equals(other.getClass())) {
-
 
61534
        return getClass().getName().compareTo(other.getClass().getName());
-
 
61535
      }
-
 
61536
 
-
 
61537
      int lastComparison = 0;
-
 
61538
      getAllReturnOrders_result typedOther = (getAllReturnOrders_result)other;
-
 
61539
 
-
 
61540
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
61541
      if (lastComparison != 0) {
-
 
61542
        return lastComparison;
-
 
61543
      }
-
 
61544
      if (isSetSuccess()) {
-
 
61545
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
61546
        if (lastComparison != 0) {
-
 
61547
          return lastComparison;
-
 
61548
        }
-
 
61549
      }
-
 
61550
      return 0;
-
 
61551
    }
-
 
61552
 
-
 
61553
    public _Fields fieldForId(int fieldId) {
-
 
61554
      return _Fields.findByThriftId(fieldId);
-
 
61555
    }
-
 
61556
 
-
 
61557
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
61558
      org.apache.thrift.protocol.TField field;
-
 
61559
      iprot.readStructBegin();
-
 
61560
      while (true)
-
 
61561
      {
-
 
61562
        field = iprot.readFieldBegin();
-
 
61563
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
61564
          break;
-
 
61565
        }
-
 
61566
        switch (field.id) {
-
 
61567
          case 0: // SUCCESS
-
 
61568
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
61569
              {
-
 
61570
                org.apache.thrift.protocol.TList _list221 = iprot.readListBegin();
-
 
61571
                this.success = new ArrayList<ReturnOrder>(_list221.size);
-
 
61572
                for (int _i222 = 0; _i222 < _list221.size; ++_i222)
-
 
61573
                {
-
 
61574
                  ReturnOrder _elem223; // required
-
 
61575
                  _elem223 = new ReturnOrder();
-
 
61576
                  _elem223.read(iprot);
-
 
61577
                  this.success.add(_elem223);
-
 
61578
                }
-
 
61579
                iprot.readListEnd();
-
 
61580
              }
-
 
61581
            } else { 
-
 
61582
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
61583
            }
-
 
61584
            break;
-
 
61585
          default:
-
 
61586
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
61587
        }
-
 
61588
        iprot.readFieldEnd();
-
 
61589
      }
-
 
61590
      iprot.readStructEnd();
-
 
61591
      validate();
-
 
61592
    }
-
 
61593
 
-
 
61594
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
61595
      oprot.writeStructBegin(STRUCT_DESC);
-
 
61596
 
-
 
61597
      if (this.isSetSuccess()) {
-
 
61598
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
61599
        {
-
 
61600
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
61601
          for (ReturnOrder _iter224 : this.success)
-
 
61602
          {
-
 
61603
            _iter224.write(oprot);
-
 
61604
          }
-
 
61605
          oprot.writeListEnd();
-
 
61606
        }
-
 
61607
        oprot.writeFieldEnd();
-
 
61608
      }
-
 
61609
      oprot.writeFieldStop();
-
 
61610
      oprot.writeStructEnd();
-
 
61611
    }
-
 
61612
 
-
 
61613
    @Override
-
 
61614
    public String toString() {
-
 
61615
      StringBuilder sb = new StringBuilder("getAllReturnOrders_result(");
-
 
61616
      boolean first = true;
-
 
61617
 
-
 
61618
      sb.append("success:");
-
 
61619
      if (this.success == null) {
-
 
61620
        sb.append("null");
-
 
61621
      } else {
-
 
61622
        sb.append(this.success);
-
 
61623
      }
-
 
61624
      first = false;
-
 
61625
      sb.append(")");
-
 
61626
      return sb.toString();
-
 
61627
    }
-
 
61628
 
-
 
61629
    public void validate() throws org.apache.thrift.TException {
-
 
61630
      // check for required fields
-
 
61631
    }
-
 
61632
 
-
 
61633
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
61634
      try {
-
 
61635
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
61636
      } catch (org.apache.thrift.TException te) {
-
 
61637
        throw new java.io.IOException(te);
-
 
61638
      }
-
 
61639
    }
-
 
61640
 
-
 
61641
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
61642
      try {
-
 
61643
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
61644
      } catch (org.apache.thrift.TException te) {
-
 
61645
        throw new java.io.IOException(te);
-
 
61646
      }
-
 
61647
    }
-
 
61648
 
-
 
61649
  }
-
 
61650
 
60757
  public static class getReturnOrder_args implements org.apache.thrift.TBase<getReturnOrder_args, getReturnOrder_args._Fields>, java.io.Serializable, Cloneable   {
61651
  public static class getReturnOrder_args implements org.apache.thrift.TBase<getReturnOrder_args, getReturnOrder_args._Fields>, java.io.Serializable, Cloneable   {
60758
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnOrder_args");
61652
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReturnOrder_args");
60759
 
61653
 
60760
    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);
61654
    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);
60761
 
61655
 
Line 65689... Line 66583...
65689
        }
66583
        }
65690
        switch (field.id) {
66584
        switch (field.id) {
65691
          case 1: // COLLECTED_AMOUNT_MAP
66585
          case 1: // COLLECTED_AMOUNT_MAP
65692
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
66586
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
65693
              {
66587
              {
65694
                org.apache.thrift.protocol.TMap _map221 = iprot.readMapBegin();
66588
                org.apache.thrift.protocol.TMap _map225 = iprot.readMapBegin();
65695
                this.collectedAmountMap = new HashMap<String,Double>(2*_map221.size);
66589
                this.collectedAmountMap = new HashMap<String,Double>(2*_map225.size);
65696
                for (int _i222 = 0; _i222 < _map221.size; ++_i222)
66590
                for (int _i226 = 0; _i226 < _map225.size; ++_i226)
65697
                {
66591
                {
65698
                  String _key223; // required
66592
                  String _key227; // required
65699
                  double _val224; // required
66593
                  double _val228; // required
65700
                  _key223 = iprot.readString();
66594
                  _key227 = iprot.readString();
65701
                  _val224 = iprot.readDouble();
66595
                  _val228 = iprot.readDouble();
65702
                  this.collectedAmountMap.put(_key223, _val224);
66596
                  this.collectedAmountMap.put(_key227, _val228);
65703
                }
66597
                }
65704
                iprot.readMapEnd();
66598
                iprot.readMapEnd();
65705
              }
66599
              }
65706
            } else { 
66600
            } else { 
65707
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
66601
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 65744... Line 66638...
65744
      oprot.writeStructBegin(STRUCT_DESC);
66638
      oprot.writeStructBegin(STRUCT_DESC);
65745
      if (this.collectedAmountMap != null) {
66639
      if (this.collectedAmountMap != null) {
65746
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
66640
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
65747
        {
66641
        {
65748
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
66642
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
65749
          for (Map.Entry<String, Double> _iter225 : this.collectedAmountMap.entrySet())
66643
          for (Map.Entry<String, Double> _iter229 : this.collectedAmountMap.entrySet())
65750
          {
66644
          {
65751
            oprot.writeString(_iter225.getKey());
66645
            oprot.writeString(_iter229.getKey());
65752
            oprot.writeDouble(_iter225.getValue());
66646
            oprot.writeDouble(_iter229.getValue());
65753
          }
66647
          }
65754
          oprot.writeMapEnd();
66648
          oprot.writeMapEnd();
65755
        }
66649
        }
65756
        oprot.writeFieldEnd();
66650
        oprot.writeFieldEnd();
65757
      }
66651
      }
Line 66151... Line 67045...
66151
        }
67045
        }
66152
        switch (field.id) {
67046
        switch (field.id) {
66153
          case 0: // SUCCESS
67047
          case 0: // SUCCESS
66154
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
67048
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
66155
              {
67049
              {
66156
                org.apache.thrift.protocol.TMap _map226 = iprot.readMapBegin();
67050
                org.apache.thrift.protocol.TMap _map230 = iprot.readMapBegin();
66157
                this.success = new HashMap<String,String>(2*_map226.size);
67051
                this.success = new HashMap<String,String>(2*_map230.size);
66158
                for (int _i227 = 0; _i227 < _map226.size; ++_i227)
67052
                for (int _i231 = 0; _i231 < _map230.size; ++_i231)
66159
                {
67053
                {
66160
                  String _key228; // required
67054
                  String _key232; // required
66161
                  String _val229; // required
67055
                  String _val233; // required
66162
                  _key228 = iprot.readString();
67056
                  _key232 = iprot.readString();
66163
                  _val229 = iprot.readString();
67057
                  _val233 = iprot.readString();
66164
                  this.success.put(_key228, _val229);
67058
                  this.success.put(_key232, _val233);
66165
                }
67059
                }
66166
                iprot.readMapEnd();
67060
                iprot.readMapEnd();
66167
              }
67061
              }
66168
            } else { 
67062
            } else { 
66169
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
67063
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 66191... Line 67085...
66191
 
67085
 
66192
      if (this.isSetSuccess()) {
67086
      if (this.isSetSuccess()) {
66193
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
67087
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
66194
        {
67088
        {
66195
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
67089
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
66196
          for (Map.Entry<String, String> _iter230 : this.success.entrySet())
67090
          for (Map.Entry<String, String> _iter234 : this.success.entrySet())
66197
          {
67091
          {
66198
            oprot.writeString(_iter230.getKey());
67092
            oprot.writeString(_iter234.getKey());
66199
            oprot.writeString(_iter230.getValue());
67093
            oprot.writeString(_iter234.getValue());
66200
          }
67094
          }
66201
          oprot.writeMapEnd();
67095
          oprot.writeMapEnd();
66202
        }
67096
        }
66203
        oprot.writeFieldEnd();
67097
        oprot.writeFieldEnd();
66204
      } else if (this.isSetEx()) {
67098
      } else if (this.isSetEx()) {
Line 66810... Line 67704...
66810
        }
67704
        }
66811
        switch (field.id) {
67705
        switch (field.id) {
66812
          case 0: // SUCCESS
67706
          case 0: // SUCCESS
66813
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
67707
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
66814
              {
67708
              {
66815
                org.apache.thrift.protocol.TList _list231 = iprot.readListBegin();
67709
                org.apache.thrift.protocol.TList _list235 = iprot.readListBegin();
66816
                this.success = new ArrayList<Long>(_list231.size);
67710
                this.success = new ArrayList<Long>(_list235.size);
66817
                for (int _i232 = 0; _i232 < _list231.size; ++_i232)
67711
                for (int _i236 = 0; _i236 < _list235.size; ++_i236)
66818
                {
67712
                {
66819
                  long _elem233; // required
67713
                  long _elem237; // required
66820
                  _elem233 = iprot.readI64();
67714
                  _elem237 = iprot.readI64();
66821
                  this.success.add(_elem233);
67715
                  this.success.add(_elem237);
66822
                }
67716
                }
66823
                iprot.readListEnd();
67717
                iprot.readListEnd();
66824
              }
67718
              }
66825
            } else { 
67719
            } else { 
66826
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
67720
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 66840... Line 67734...
66840
 
67734
 
66841
      if (this.isSetSuccess()) {
67735
      if (this.isSetSuccess()) {
66842
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
67736
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
66843
        {
67737
        {
66844
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
67738
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
66845
          for (long _iter234 : this.success)
67739
          for (long _iter238 : this.success)
66846
          {
67740
          {
66847
            oprot.writeI64(_iter234);
67741
            oprot.writeI64(_iter238);
66848
          }
67742
          }
66849
          oprot.writeListEnd();
67743
          oprot.writeListEnd();
66850
        }
67744
        }
66851
        oprot.writeFieldEnd();
67745
        oprot.writeFieldEnd();
66852
      }
67746
      }
Line 67936... Line 68830...
67936
        }
68830
        }
67937
        switch (field.id) {
68831
        switch (field.id) {
67938
          case 0: // SUCCESS
68832
          case 0: // SUCCESS
67939
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
68833
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
67940
              {
68834
              {
67941
                org.apache.thrift.protocol.TMap _map235 = iprot.readMapBegin();
68835
                org.apache.thrift.protocol.TMap _map239 = iprot.readMapBegin();
67942
                this.success = new HashMap<Long,Long>(2*_map235.size);
68836
                this.success = new HashMap<Long,Long>(2*_map239.size);
67943
                for (int _i236 = 0; _i236 < _map235.size; ++_i236)
68837
                for (int _i240 = 0; _i240 < _map239.size; ++_i240)
67944
                {
68838
                {
67945
                  long _key237; // required
68839
                  long _key241; // required
67946
                  long _val238; // required
68840
                  long _val242; // required
67947
                  _key237 = iprot.readI64();
68841
                  _key241 = iprot.readI64();
67948
                  _val238 = iprot.readI64();
68842
                  _val242 = iprot.readI64();
67949
                  this.success.put(_key237, _val238);
68843
                  this.success.put(_key241, _val242);
67950
                }
68844
                }
67951
                iprot.readMapEnd();
68845
                iprot.readMapEnd();
67952
              }
68846
              }
67953
            } else { 
68847
            } else { 
67954
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
68848
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 67968... Line 68862...
67968
 
68862
 
67969
      if (this.isSetSuccess()) {
68863
      if (this.isSetSuccess()) {
67970
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
68864
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
67971
        {
68865
        {
67972
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
68866
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
67973
          for (Map.Entry<Long, Long> _iter239 : this.success.entrySet())
68867
          for (Map.Entry<Long, Long> _iter243 : this.success.entrySet())
67974
          {
68868
          {
67975
            oprot.writeI64(_iter239.getKey());
68869
            oprot.writeI64(_iter243.getKey());
67976
            oprot.writeI64(_iter239.getValue());
68870
            oprot.writeI64(_iter243.getValue());
67977
          }
68871
          }
67978
          oprot.writeMapEnd();
68872
          oprot.writeMapEnd();
67979
        }
68873
        }
67980
        oprot.writeFieldEnd();
68874
        oprot.writeFieldEnd();
67981
      }
68875
      }
Line 68269... Line 69163...
68269
        }
69163
        }
68270
        switch (field.id) {
69164
        switch (field.id) {
68271
          case 1: // ITEM_IDS
69165
          case 1: // ITEM_IDS
68272
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
69166
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
68273
              {
69167
              {
68274
                org.apache.thrift.protocol.TList _list240 = iprot.readListBegin();
69168
                org.apache.thrift.protocol.TList _list244 = iprot.readListBegin();
68275
                this.itemIds = new ArrayList<Long>(_list240.size);
69169
                this.itemIds = new ArrayList<Long>(_list244.size);
68276
                for (int _i241 = 0; _i241 < _list240.size; ++_i241)
69170
                for (int _i245 = 0; _i245 < _list244.size; ++_i245)
68277
                {
69171
                {
68278
                  long _elem242; // required
69172
                  long _elem246; // required
68279
                  _elem242 = iprot.readI64();
69173
                  _elem246 = iprot.readI64();
68280
                  this.itemIds.add(_elem242);
69174
                  this.itemIds.add(_elem246);
68281
                }
69175
                }
68282
                iprot.readListEnd();
69176
                iprot.readListEnd();
68283
              }
69177
              }
68284
            } else { 
69178
            } else { 
68285
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
69179
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 68300... Line 69194...
68300
      oprot.writeStructBegin(STRUCT_DESC);
69194
      oprot.writeStructBegin(STRUCT_DESC);
68301
      if (this.itemIds != null) {
69195
      if (this.itemIds != null) {
68302
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
69196
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
68303
        {
69197
        {
68304
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
69198
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
68305
          for (long _iter243 : this.itemIds)
69199
          for (long _iter247 : this.itemIds)
68306
          {
69200
          {
68307
            oprot.writeI64(_iter243);
69201
            oprot.writeI64(_iter247);
68308
          }
69202
          }
68309
          oprot.writeListEnd();
69203
          oprot.writeListEnd();
68310
        }
69204
        }
68311
        oprot.writeFieldEnd();
69205
        oprot.writeFieldEnd();
68312
      }
69206
      }
Line 68600... Line 69494...
68600
        }
69494
        }
68601
        switch (field.id) {
69495
        switch (field.id) {
68602
          case 0: // SUCCESS
69496
          case 0: // SUCCESS
68603
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
69497
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
68604
              {
69498
              {
68605
                org.apache.thrift.protocol.TList _list244 = iprot.readListBegin();
69499
                org.apache.thrift.protocol.TList _list248 = iprot.readListBegin();
68606
                this.success = new ArrayList<Order>(_list244.size);
69500
                this.success = new ArrayList<Order>(_list248.size);
68607
                for (int _i245 = 0; _i245 < _list244.size; ++_i245)
69501
                for (int _i249 = 0; _i249 < _list248.size; ++_i249)
68608
                {
69502
                {
68609
                  Order _elem246; // required
69503
                  Order _elem250; // required
68610
                  _elem246 = new Order();
69504
                  _elem250 = new Order();
68611
                  _elem246.read(iprot);
69505
                  _elem250.read(iprot);
68612
                  this.success.add(_elem246);
69506
                  this.success.add(_elem250);
68613
                }
69507
                }
68614
                iprot.readListEnd();
69508
                iprot.readListEnd();
68615
              }
69509
              }
68616
            } else { 
69510
            } else { 
68617
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
69511
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 68631... Line 69525...
68631
 
69525
 
68632
      if (this.isSetSuccess()) {
69526
      if (this.isSetSuccess()) {
68633
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
69527
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
68634
        {
69528
        {
68635
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
69529
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
68636
          for (Order _iter247 : this.success)
69530
          for (Order _iter251 : this.success)
68637
          {
69531
          {
68638
            _iter247.write(oprot);
69532
            _iter251.write(oprot);
68639
          }
69533
          }
68640
          oprot.writeListEnd();
69534
          oprot.writeListEnd();
68641
        }
69535
        }
68642
        oprot.writeFieldEnd();
69536
        oprot.writeFieldEnd();
68643
      }
69537
      }
Line 76589... Line 77483...
76589
        }
77483
        }
76590
        switch (field.id) {
77484
        switch (field.id) {
76591
          case 0: // SUCCESS
77485
          case 0: // SUCCESS
76592
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
77486
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
76593
              {
77487
              {
76594
                org.apache.thrift.protocol.TMap _map248 = iprot.readMapBegin();
77488
                org.apache.thrift.protocol.TMap _map252 = iprot.readMapBegin();
76595
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map248.size);
77489
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map252.size);
76596
                for (int _i249 = 0; _i249 < _map248.size; ++_i249)
77490
                for (int _i253 = 0; _i253 < _map252.size; ++_i253)
76597
                {
77491
                {
76598
                  int _key250; // required
77492
                  int _key254; // required
76599
                  TimeoutSummary _val251; // required
77493
                  TimeoutSummary _val255; // required
76600
                  _key250 = iprot.readI32();
77494
                  _key254 = iprot.readI32();
76601
                  _val251 = new TimeoutSummary();
77495
                  _val255 = new TimeoutSummary();
76602
                  _val251.read(iprot);
77496
                  _val255.read(iprot);
76603
                  this.success.put(_key250, _val251);
77497
                  this.success.put(_key254, _val255);
76604
                }
77498
                }
76605
                iprot.readMapEnd();
77499
                iprot.readMapEnd();
76606
              }
77500
              }
76607
            } else { 
77501
            } else { 
76608
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
77502
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 76630... Line 77524...
76630
 
77524
 
76631
      if (this.isSetSuccess()) {
77525
      if (this.isSetSuccess()) {
76632
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
77526
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
76633
        {
77527
        {
76634
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
77528
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
76635
          for (Map.Entry<Integer, TimeoutSummary> _iter252 : this.success.entrySet())
77529
          for (Map.Entry<Integer, TimeoutSummary> _iter256 : this.success.entrySet())
76636
          {
77530
          {
76637
            oprot.writeI32(_iter252.getKey());
77531
            oprot.writeI32(_iter256.getKey());
76638
            _iter252.getValue().write(oprot);
77532
            _iter256.getValue().write(oprot);
76639
          }
77533
          }
76640
          oprot.writeMapEnd();
77534
          oprot.writeMapEnd();
76641
        }
77535
        }
76642
        oprot.writeFieldEnd();
77536
        oprot.writeFieldEnd();
76643
      } else if (this.isSetEx()) {
77537
      } else if (this.isSetEx()) {
Line 78373... Line 79267...
78373
            }
79267
            }
78374
            break;
79268
            break;
78375
          case 2: // ORDER_STATUS_LIST
79269
          case 2: // ORDER_STATUS_LIST
78376
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79270
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
78377
              {
79271
              {
78378
                org.apache.thrift.protocol.TList _list253 = iprot.readListBegin();
79272
                org.apache.thrift.protocol.TList _list257 = iprot.readListBegin();
78379
                this.order_status_list = new ArrayList<OrderStatus>(_list253.size);
79273
                this.order_status_list = new ArrayList<OrderStatus>(_list257.size);
78380
                for (int _i254 = 0; _i254 < _list253.size; ++_i254)
79274
                for (int _i258 = 0; _i258 < _list257.size; ++_i258)
78381
                {
79275
                {
78382
                  OrderStatus _elem255; // required
79276
                  OrderStatus _elem259; // required
78383
                  _elem255 = OrderStatus.findByValue(iprot.readI32());
79277
                  _elem259 = OrderStatus.findByValue(iprot.readI32());
78384
                  this.order_status_list.add(_elem255);
79278
                  this.order_status_list.add(_elem259);
78385
                }
79279
                }
78386
                iprot.readListEnd();
79280
                iprot.readListEnd();
78387
              }
79281
              }
78388
            } else { 
79282
            } else { 
78389
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
79283
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 78407... Line 79301...
78407
      oprot.writeFieldEnd();
79301
      oprot.writeFieldEnd();
78408
      if (this.order_status_list != null) {
79302
      if (this.order_status_list != null) {
78409
        oprot.writeFieldBegin(ORDER_STATUS_LIST_FIELD_DESC);
79303
        oprot.writeFieldBegin(ORDER_STATUS_LIST_FIELD_DESC);
78410
        {
79304
        {
78411
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.order_status_list.size()));
79305
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.order_status_list.size()));
78412
          for (OrderStatus _iter256 : this.order_status_list)
79306
          for (OrderStatus _iter260 : this.order_status_list)
78413
          {
79307
          {
78414
            oprot.writeI32(_iter256.getValue());
79308
            oprot.writeI32(_iter260.getValue());
78415
          }
79309
          }
78416
          oprot.writeListEnd();
79310
          oprot.writeListEnd();
78417
        }
79311
        }
78418
        oprot.writeFieldEnd();
79312
        oprot.writeFieldEnd();
78419
      }
79313
      }
Line 78781... Line 79675...
78781
        }
79675
        }
78782
        switch (field.id) {
79676
        switch (field.id) {
78783
          case 0: // SUCCESS
79677
          case 0: // SUCCESS
78784
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79678
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
78785
              {
79679
              {
78786
                org.apache.thrift.protocol.TList _list257 = iprot.readListBegin();
79680
                org.apache.thrift.protocol.TList _list261 = iprot.readListBegin();
78787
                this.success = new ArrayList<Order>(_list257.size);
79681
                this.success = new ArrayList<Order>(_list261.size);
78788
                for (int _i258 = 0; _i258 < _list257.size; ++_i258)
79682
                for (int _i262 = 0; _i262 < _list261.size; ++_i262)
78789
                {
79683
                {
78790
                  Order _elem259; // required
79684
                  Order _elem263; // required
78791
                  _elem259 = new Order();
79685
                  _elem263 = new Order();
78792
                  _elem259.read(iprot);
79686
                  _elem263.read(iprot);
78793
                  this.success.add(_elem259);
79687
                  this.success.add(_elem263);
78794
                }
79688
                }
78795
                iprot.readListEnd();
79689
                iprot.readListEnd();
78796
              }
79690
              }
78797
            } else { 
79691
            } else { 
78798
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
79692
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 78820... Line 79714...
78820
 
79714
 
78821
      if (this.isSetSuccess()) {
79715
      if (this.isSetSuccess()) {
78822
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79716
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
78823
        {
79717
        {
78824
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79718
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
78825
          for (Order _iter260 : this.success)
79719
          for (Order _iter264 : this.success)
78826
          {
79720
          {
78827
            _iter260.write(oprot);
79721
            _iter264.write(oprot);
78828
          }
79722
          }
78829
          oprot.writeListEnd();
79723
          oprot.writeListEnd();
78830
        }
79724
        }
78831
        oprot.writeFieldEnd();
79725
        oprot.writeFieldEnd();
78832
      } else if (this.isSetEx()) {
79726
      } else if (this.isSetEx()) {
Line 79660... Line 80554...
79660
        }
80554
        }
79661
        switch (field.id) {
80555
        switch (field.id) {
79662
          case 0: // SUCCESS
80556
          case 0: // SUCCESS
79663
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
80557
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79664
              {
80558
              {
79665
                org.apache.thrift.protocol.TList _list261 = iprot.readListBegin();
80559
                org.apache.thrift.protocol.TList _list265 = iprot.readListBegin();
79666
                this.success = new ArrayList<Order>(_list261.size);
80560
                this.success = new ArrayList<Order>(_list265.size);
79667
                for (int _i262 = 0; _i262 < _list261.size; ++_i262)
80561
                for (int _i266 = 0; _i266 < _list265.size; ++_i266)
79668
                {
80562
                {
79669
                  Order _elem263; // required
80563
                  Order _elem267; // required
79670
                  _elem263 = new Order();
80564
                  _elem267 = new Order();
79671
                  _elem263.read(iprot);
80565
                  _elem267.read(iprot);
79672
                  this.success.add(_elem263);
80566
                  this.success.add(_elem267);
79673
                }
80567
                }
79674
                iprot.readListEnd();
80568
                iprot.readListEnd();
79675
              }
80569
              }
79676
            } else { 
80570
            } else { 
79677
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
80571
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 79699... Line 80593...
79699
 
80593
 
79700
      if (this.isSetSuccess()) {
80594
      if (this.isSetSuccess()) {
79701
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
80595
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79702
        {
80596
        {
79703
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
80597
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79704
          for (Order _iter264 : this.success)
80598
          for (Order _iter268 : this.success)
79705
          {
80599
          {
79706
            _iter264.write(oprot);
80600
            _iter268.write(oprot);
79707
          }
80601
          }
79708
          oprot.writeListEnd();
80602
          oprot.writeListEnd();
79709
        }
80603
        }
79710
        oprot.writeFieldEnd();
80604
        oprot.writeFieldEnd();
79711
      } else if (this.isSetEx()) {
80605
      } else if (this.isSetEx()) {
Line 80279... Line 81173...
80279
        }
81173
        }
80280
        switch (field.id) {
81174
        switch (field.id) {
80281
          case 0: // SUCCESS
81175
          case 0: // SUCCESS
80282
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
81176
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
80283
              {
81177
              {
80284
                org.apache.thrift.protocol.TList _list265 = iprot.readListBegin();
81178
                org.apache.thrift.protocol.TList _list269 = iprot.readListBegin();
80285
                this.success = new ArrayList<Order>(_list265.size);
81179
                this.success = new ArrayList<Order>(_list269.size);
80286
                for (int _i266 = 0; _i266 < _list265.size; ++_i266)
81180
                for (int _i270 = 0; _i270 < _list269.size; ++_i270)
80287
                {
81181
                {
80288
                  Order _elem267; // required
81182
                  Order _elem271; // required
80289
                  _elem267 = new Order();
81183
                  _elem271 = new Order();
80290
                  _elem267.read(iprot);
81184
                  _elem271.read(iprot);
80291
                  this.success.add(_elem267);
81185
                  this.success.add(_elem271);
80292
                }
81186
                }
80293
                iprot.readListEnd();
81187
                iprot.readListEnd();
80294
              }
81188
              }
80295
            } else { 
81189
            } else { 
80296
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
81190
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 80318... Line 81212...
80318
 
81212
 
80319
      if (this.isSetSuccess()) {
81213
      if (this.isSetSuccess()) {
80320
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
81214
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
80321
        {
81215
        {
80322
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
81216
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
80323
          for (Order _iter268 : this.success)
81217
          for (Order _iter272 : this.success)
80324
          {
81218
          {
80325
            _iter268.write(oprot);
81219
            _iter272.write(oprot);
80326
          }
81220
          }
80327
          oprot.writeListEnd();
81221
          oprot.writeListEnd();
80328
        }
81222
        }
80329
        oprot.writeFieldEnd();
81223
        oprot.writeFieldEnd();
80330
      } else if (this.isSetEx()) {
81224
      } else if (this.isSetEx()) {
Line 81075... Line 81969...
81075
        }
81969
        }
81076
        switch (field.id) {
81970
        switch (field.id) {
81077
          case 0: // SUCCESS
81971
          case 0: // SUCCESS
81078
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
81972
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
81079
              {
81973
              {
81080
                org.apache.thrift.protocol.TList _list269 = iprot.readListBegin();
81974
                org.apache.thrift.protocol.TList _list273 = iprot.readListBegin();
81081
                this.success = new ArrayList<Order>(_list269.size);
81975
                this.success = new ArrayList<Order>(_list273.size);
81082
                for (int _i270 = 0; _i270 < _list269.size; ++_i270)
81976
                for (int _i274 = 0; _i274 < _list273.size; ++_i274)
81083
                {
81977
                {
81084
                  Order _elem271; // required
81978
                  Order _elem275; // required
81085
                  _elem271 = new Order();
81979
                  _elem275 = new Order();
81086
                  _elem271.read(iprot);
81980
                  _elem275.read(iprot);
81087
                  this.success.add(_elem271);
81981
                  this.success.add(_elem275);
81088
                }
81982
                }
81089
                iprot.readListEnd();
81983
                iprot.readListEnd();
81090
              }
81984
              }
81091
            } else { 
81985
            } else { 
81092
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
81986
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 81114... Line 82008...
81114
 
82008
 
81115
      if (this.isSetSuccess()) {
82009
      if (this.isSetSuccess()) {
81116
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
82010
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
81117
        {
82011
        {
81118
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
82012
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
81119
          for (Order _iter272 : this.success)
82013
          for (Order _iter276 : this.success)
81120
          {
82014
          {
81121
            _iter272.write(oprot);
82015
            _iter276.write(oprot);
81122
          }
82016
          }
81123
          oprot.writeListEnd();
82017
          oprot.writeListEnd();
81124
        }
82018
        }
81125
        oprot.writeFieldEnd();
82019
        oprot.writeFieldEnd();
81126
      } else if (this.isSetEx()) {
82020
      } else if (this.isSetEx()) {
Line 81431... Line 82325...
81431
        }
82325
        }
81432
        switch (field.id) {
82326
        switch (field.id) {
81433
          case 1: // MAP_AWBAND_AMOUNT
82327
          case 1: // MAP_AWBAND_AMOUNT
81434
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
82328
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
81435
              {
82329
              {
81436
                org.apache.thrift.protocol.TMap _map273 = iprot.readMapBegin();
82330
                org.apache.thrift.protocol.TMap _map277 = iprot.readMapBegin();
81437
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map273.size);
82331
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map277.size);
81438
                for (int _i274 = 0; _i274 < _map273.size; ++_i274)
82332
                for (int _i278 = 0; _i278 < _map277.size; ++_i278)
81439
                {
82333
                {
81440
                  long _key275; // required
82334
                  long _key279; // required
81441
                  double _val276; // required
82335
                  double _val280; // required
81442
                  _key275 = iprot.readI64();
82336
                  _key279 = iprot.readI64();
81443
                  _val276 = iprot.readDouble();
82337
                  _val280 = iprot.readDouble();
81444
                  this.mapAWBAndAmount.put(_key275, _val276);
82338
                  this.mapAWBAndAmount.put(_key279, _val280);
81445
                }
82339
                }
81446
                iprot.readMapEnd();
82340
                iprot.readMapEnd();
81447
              }
82341
              }
81448
            } else { 
82342
            } else { 
81449
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
82343
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 81464... Line 82358...
81464
      oprot.writeStructBegin(STRUCT_DESC);
82358
      oprot.writeStructBegin(STRUCT_DESC);
81465
      if (this.mapAWBAndAmount != null) {
82359
      if (this.mapAWBAndAmount != null) {
81466
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
82360
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
81467
        {
82361
        {
81468
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
82362
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
81469
          for (Map.Entry<Long, Double> _iter277 : this.mapAWBAndAmount.entrySet())
82363
          for (Map.Entry<Long, Double> _iter281 : this.mapAWBAndAmount.entrySet())
81470
          {
82364
          {
81471
            oprot.writeI64(_iter277.getKey());
82365
            oprot.writeI64(_iter281.getKey());
81472
            oprot.writeDouble(_iter277.getValue());
82366
            oprot.writeDouble(_iter281.getValue());
81473
          }
82367
          }
81474
          oprot.writeMapEnd();
82368
          oprot.writeMapEnd();
81475
        }
82369
        }
81476
        oprot.writeFieldEnd();
82370
        oprot.writeFieldEnd();
81477
      }
82371
      }
Line 85773... Line 86667...
85773
        }
86667
        }
85774
        switch (field.id) {
86668
        switch (field.id) {
85775
          case 0: // SUCCESS
86669
          case 0: // SUCCESS
85776
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
86670
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
85777
              {
86671
              {
85778
                org.apache.thrift.protocol.TMap _map278 = iprot.readMapBegin();
86672
                org.apache.thrift.protocol.TMap _map282 = iprot.readMapBegin();
85779
                this.success = new HashMap<Long,String>(2*_map278.size);
86673
                this.success = new HashMap<Long,String>(2*_map282.size);
85780
                for (int _i279 = 0; _i279 < _map278.size; ++_i279)
86674
                for (int _i283 = 0; _i283 < _map282.size; ++_i283)
85781
                {
86675
                {
85782
                  long _key280; // required
86676
                  long _key284; // required
85783
                  String _val281; // required
86677
                  String _val285; // required
85784
                  _key280 = iprot.readI64();
86678
                  _key284 = iprot.readI64();
85785
                  _val281 = iprot.readString();
86679
                  _val285 = iprot.readString();
85786
                  this.success.put(_key280, _val281);
86680
                  this.success.put(_key284, _val285);
85787
                }
86681
                }
85788
                iprot.readMapEnd();
86682
                iprot.readMapEnd();
85789
              }
86683
              }
85790
            } else { 
86684
            } else { 
85791
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
86685
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 85813... Line 86707...
85813
 
86707
 
85814
      if (this.isSetSuccess()) {
86708
      if (this.isSetSuccess()) {
85815
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
86709
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
85816
        {
86710
        {
85817
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
86711
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
85818
          for (Map.Entry<Long, String> _iter282 : this.success.entrySet())
86712
          for (Map.Entry<Long, String> _iter286 : this.success.entrySet())
85819
          {
86713
          {
85820
            oprot.writeI64(_iter282.getKey());
86714
            oprot.writeI64(_iter286.getKey());
85821
            oprot.writeString(_iter282.getValue());
86715
            oprot.writeString(_iter286.getValue());
85822
          }
86716
          }
85823
          oprot.writeMapEnd();
86717
          oprot.writeMapEnd();
85824
        }
86718
        }
85825
        oprot.writeFieldEnd();
86719
        oprot.writeFieldEnd();
85826
      } else if (this.isSetEx()) {
86720
      } else if (this.isSetEx()) {
Line 87917... Line 88811...
87917
        }
88811
        }
87918
        switch (field.id) {
88812
        switch (field.id) {
87919
          case 0: // SUCCESS
88813
          case 0: // SUCCESS
87920
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
88814
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
87921
              {
88815
              {
87922
                org.apache.thrift.protocol.TList _list283 = iprot.readListBegin();
88816
                org.apache.thrift.protocol.TList _list287 = iprot.readListBegin();
87923
                this.success = new ArrayList<PaymentSettlement>(_list283.size);
88817
                this.success = new ArrayList<PaymentSettlement>(_list287.size);
87924
                for (int _i284 = 0; _i284 < _list283.size; ++_i284)
88818
                for (int _i288 = 0; _i288 < _list287.size; ++_i288)
87925
                {
88819
                {
87926
                  PaymentSettlement _elem285; // required
88820
                  PaymentSettlement _elem289; // required
87927
                  _elem285 = new PaymentSettlement();
88821
                  _elem289 = new PaymentSettlement();
87928
                  _elem285.read(iprot);
88822
                  _elem289.read(iprot);
87929
                  this.success.add(_elem285);
88823
                  this.success.add(_elem289);
87930
                }
88824
                }
87931
                iprot.readListEnd();
88825
                iprot.readListEnd();
87932
              }
88826
              }
87933
            } else { 
88827
            } else { 
87934
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
88828
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 87956... Line 88850...
87956
 
88850
 
87957
      if (this.isSetSuccess()) {
88851
      if (this.isSetSuccess()) {
87958
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
88852
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
87959
        {
88853
        {
87960
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
88854
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
87961
          for (PaymentSettlement _iter286 : this.success)
88855
          for (PaymentSettlement _iter290 : this.success)
87962
          {
88856
          {
87963
            _iter286.write(oprot);
88857
            _iter290.write(oprot);
87964
          }
88858
          }
87965
          oprot.writeListEnd();
88859
          oprot.writeListEnd();
87966
        }
88860
        }
87967
        oprot.writeFieldEnd();
88861
        oprot.writeFieldEnd();
87968
      } else if (this.isSetEx()) {
88862
      } else if (this.isSetEx()) {
Line 88268... Line 89162...
88268
        }
89162
        }
88269
        switch (field.id) {
89163
        switch (field.id) {
88270
          case 1: // ORDER_IDS
89164
          case 1: // ORDER_IDS
88271
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
89165
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
88272
              {
89166
              {
88273
                org.apache.thrift.protocol.TList _list287 = iprot.readListBegin();
89167
                org.apache.thrift.protocol.TList _list291 = iprot.readListBegin();
88274
                this.orderIds = new ArrayList<Long>(_list287.size);
89168
                this.orderIds = new ArrayList<Long>(_list291.size);
88275
                for (int _i288 = 0; _i288 < _list287.size; ++_i288)
89169
                for (int _i292 = 0; _i292 < _list291.size; ++_i292)
88276
                {
89170
                {
88277
                  long _elem289; // required
89171
                  long _elem293; // required
88278
                  _elem289 = iprot.readI64();
89172
                  _elem293 = iprot.readI64();
88279
                  this.orderIds.add(_elem289);
89173
                  this.orderIds.add(_elem293);
88280
                }
89174
                }
88281
                iprot.readListEnd();
89175
                iprot.readListEnd();
88282
              }
89176
              }
88283
            } else { 
89177
            } else { 
88284
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
89178
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 88299... Line 89193...
88299
      oprot.writeStructBegin(STRUCT_DESC);
89193
      oprot.writeStructBegin(STRUCT_DESC);
88300
      if (this.orderIds != null) {
89194
      if (this.orderIds != null) {
88301
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
89195
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
88302
        {
89196
        {
88303
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
89197
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
88304
          for (long _iter290 : this.orderIds)
89198
          for (long _iter294 : this.orderIds)
88305
          {
89199
          {
88306
            oprot.writeI64(_iter290);
89200
            oprot.writeI64(_iter294);
88307
          }
89201
          }
88308
          oprot.writeListEnd();
89202
          oprot.writeListEnd();
88309
        }
89203
        }
88310
        oprot.writeFieldEnd();
89204
        oprot.writeFieldEnd();
88311
      }
89205
      }
Line 88667... Line 89561...
88667
        }
89561
        }
88668
        switch (field.id) {
89562
        switch (field.id) {
88669
          case 0: // SUCCESS
89563
          case 0: // SUCCESS
88670
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
89564
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
88671
              {
89565
              {
88672
                org.apache.thrift.protocol.TList _list291 = iprot.readListBegin();
89566
                org.apache.thrift.protocol.TList _list295 = iprot.readListBegin();
88673
                this.success = new ArrayList<Long>(_list291.size);
89567
                this.success = new ArrayList<Long>(_list295.size);
88674
                for (int _i292 = 0; _i292 < _list291.size; ++_i292)
89568
                for (int _i296 = 0; _i296 < _list295.size; ++_i296)
88675
                {
89569
                {
88676
                  long _elem293; // required
89570
                  long _elem297; // required
88677
                  _elem293 = iprot.readI64();
89571
                  _elem297 = iprot.readI64();
88678
                  this.success.add(_elem293);
89572
                  this.success.add(_elem297);
88679
                }
89573
                }
88680
                iprot.readListEnd();
89574
                iprot.readListEnd();
88681
              }
89575
              }
88682
            } else { 
89576
            } else { 
88683
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
89577
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 88705... Line 89599...
88705
 
89599
 
88706
      if (this.isSetSuccess()) {
89600
      if (this.isSetSuccess()) {
88707
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
89601
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
88708
        {
89602
        {
88709
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
89603
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
88710
          for (long _iter294 : this.success)
89604
          for (long _iter298 : this.success)
88711
          {
89605
          {
88712
            oprot.writeI64(_iter294);
89606
            oprot.writeI64(_iter298);
88713
          }
89607
          }
88714
          oprot.writeListEnd();
89608
          oprot.writeListEnd();
88715
        }
89609
        }
88716
        oprot.writeFieldEnd();
89610
        oprot.writeFieldEnd();
88717
      } else if (this.isSetEx()) {
89611
      } else if (this.isSetEx()) {
Line 88767... Line 89661...
88767
      }
89661
      }
88768
    }
89662
    }
88769
 
89663
 
88770
  }
89664
  }
88771
 
89665
 
88772
  public static class getOrdersWhereVendorNotPaid_args implements org.apache.thrift.TBase<getOrdersWhereVendorNotPaid_args, getOrdersWhereVendorNotPaid_args._Fields>, java.io.Serializable, Cloneable   {
89666
  public static class getBilledOrders_args implements org.apache.thrift.TBase<getBilledOrders_args, getBilledOrders_args._Fields>, java.io.Serializable, Cloneable   {
88773
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrdersWhereVendorNotPaid_args");
89667
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getBilledOrders_args");
88774
 
89668
 
88775
    private static final org.apache.thrift.protocol.TField VENDOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorId", org.apache.thrift.protocol.TType.I64, (short)1);
89669
    private static final org.apache.thrift.protocol.TField VENDOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
89670
    private static final org.apache.thrift.protocol.TField ONLY_VENDOR_NOT_PAID_FIELD_DESC = new org.apache.thrift.protocol.TField("onlyVendorNotPaid", org.apache.thrift.protocol.TType.BOOL, (short)2);
-
 
89671
    private static final org.apache.thrift.protocol.TField BILLING_DATE_FROM_FIELD_DESC = new org.apache.thrift.protocol.TField("billingDateFrom", org.apache.thrift.protocol.TType.I64, (short)3);
-
 
89672
    private static final org.apache.thrift.protocol.TField BILLING_DATE_TO_FIELD_DESC = new org.apache.thrift.protocol.TField("billingDateTo", org.apache.thrift.protocol.TType.I64, (short)4);
88776
 
89673
 
88777
    private long vendorId; // required
89674
    private long vendorId; // required
-
 
89675
    private boolean onlyVendorNotPaid; // required
-
 
89676
    private long billingDateFrom; // required
-
 
89677
    private long billingDateTo; // required
88778
 
89678
 
88779
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
89679
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
88780
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
89680
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
88781
      VENDOR_ID((short)1, "vendorId");
89681
      VENDOR_ID((short)1, "vendorId"),
-
 
89682
      ONLY_VENDOR_NOT_PAID((short)2, "onlyVendorNotPaid"),
-
 
89683
      BILLING_DATE_FROM((short)3, "billingDateFrom"),
-
 
89684
      BILLING_DATE_TO((short)4, "billingDateTo");
88782
 
89685
 
88783
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
89686
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
88784
 
89687
 
88785
      static {
89688
      static {
88786
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
89689
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 88793... Line 89696...
88793
       */
89696
       */
88794
      public static _Fields findByThriftId(int fieldId) {
89697
      public static _Fields findByThriftId(int fieldId) {
88795
        switch(fieldId) {
89698
        switch(fieldId) {
88796
          case 1: // VENDOR_ID
89699
          case 1: // VENDOR_ID
88797
            return VENDOR_ID;
89700
            return VENDOR_ID;
-
 
89701
          case 2: // ONLY_VENDOR_NOT_PAID
-
 
89702
            return ONLY_VENDOR_NOT_PAID;
-
 
89703
          case 3: // BILLING_DATE_FROM
-
 
89704
            return BILLING_DATE_FROM;
-
 
89705
          case 4: // BILLING_DATE_TO
-
 
89706
            return BILLING_DATE_TO;
88798
          default:
89707
          default:
88799
            return null;
89708
            return null;
88800
        }
89709
        }
88801
      }
89710
      }
88802
 
89711
 
Line 88834... Line 89743...
88834
      }
89743
      }
88835
    }
89744
    }
88836
 
89745
 
88837
    // isset id assignments
89746
    // isset id assignments
88838
    private static final int __VENDORID_ISSET_ID = 0;
89747
    private static final int __VENDORID_ISSET_ID = 0;
-
 
89748
    private static final int __ONLYVENDORNOTPAID_ISSET_ID = 1;
-
 
89749
    private static final int __BILLINGDATEFROM_ISSET_ID = 2;
-
 
89750
    private static final int __BILLINGDATETO_ISSET_ID = 3;
88839
    private BitSet __isset_bit_vector = new BitSet(1);
89751
    private BitSet __isset_bit_vector = new BitSet(4);
88840
 
89752
 
88841
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
89753
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
88842
    static {
89754
    static {
88843
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
89755
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
88844
      tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
89756
      tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
88845
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
89757
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
89758
      tmpMap.put(_Fields.ONLY_VENDOR_NOT_PAID, new org.apache.thrift.meta_data.FieldMetaData("onlyVendorNotPaid", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
89759
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
89760
      tmpMap.put(_Fields.BILLING_DATE_FROM, new org.apache.thrift.meta_data.FieldMetaData("billingDateFrom", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
89761
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
89762
      tmpMap.put(_Fields.BILLING_DATE_TO, new org.apache.thrift.meta_data.FieldMetaData("billingDateTo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
89763
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
88846
      metaDataMap = Collections.unmodifiableMap(tmpMap);
89764
      metaDataMap = Collections.unmodifiableMap(tmpMap);
88847
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrdersWhereVendorNotPaid_args.class, metaDataMap);
89765
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getBilledOrders_args.class, metaDataMap);
88848
    }
89766
    }
88849
 
89767
 
88850
    public getOrdersWhereVendorNotPaid_args() {
89768
    public getBilledOrders_args() {
88851
    }
89769
    }
88852
 
89770
 
88853
    public getOrdersWhereVendorNotPaid_args(
89771
    public getBilledOrders_args(
88854
      long vendorId)
89772
      long vendorId,
-
 
89773
      boolean onlyVendorNotPaid,
-
 
89774
      long billingDateFrom,
-
 
89775
      long billingDateTo)
88855
    {
89776
    {
88856
      this();
89777
      this();
88857
      this.vendorId = vendorId;
89778
      this.vendorId = vendorId;
88858
      setVendorIdIsSet(true);
89779
      setVendorIdIsSet(true);
-
 
89780
      this.onlyVendorNotPaid = onlyVendorNotPaid;
-
 
89781
      setOnlyVendorNotPaidIsSet(true);
-
 
89782
      this.billingDateFrom = billingDateFrom;
-
 
89783
      setBillingDateFromIsSet(true);
-
 
89784
      this.billingDateTo = billingDateTo;
-
 
89785
      setBillingDateToIsSet(true);
88859
    }
89786
    }
88860
 
89787
 
88861
    /**
89788
    /**
88862
     * Performs a deep copy on <i>other</i>.
89789
     * Performs a deep copy on <i>other</i>.
88863
     */
89790
     */
88864
    public getOrdersWhereVendorNotPaid_args(getOrdersWhereVendorNotPaid_args other) {
89791
    public getBilledOrders_args(getBilledOrders_args other) {
88865
      __isset_bit_vector.clear();
89792
      __isset_bit_vector.clear();
88866
      __isset_bit_vector.or(other.__isset_bit_vector);
89793
      __isset_bit_vector.or(other.__isset_bit_vector);
88867
      this.vendorId = other.vendorId;
89794
      this.vendorId = other.vendorId;
-
 
89795
      this.onlyVendorNotPaid = other.onlyVendorNotPaid;
-
 
89796
      this.billingDateFrom = other.billingDateFrom;
-
 
89797
      this.billingDateTo = other.billingDateTo;
88868
    }
89798
    }
88869
 
89799
 
88870
    public getOrdersWhereVendorNotPaid_args deepCopy() {
89800
    public getBilledOrders_args deepCopy() {
88871
      return new getOrdersWhereVendorNotPaid_args(this);
89801
      return new getBilledOrders_args(this);
88872
    }
89802
    }
88873
 
89803
 
88874
    @Override
89804
    @Override
88875
    public void clear() {
89805
    public void clear() {
88876
      setVendorIdIsSet(false);
89806
      setVendorIdIsSet(false);
88877
      this.vendorId = 0;
89807
      this.vendorId = 0;
-
 
89808
      setOnlyVendorNotPaidIsSet(false);
-
 
89809
      this.onlyVendorNotPaid = false;
-
 
89810
      setBillingDateFromIsSet(false);
-
 
89811
      this.billingDateFrom = 0;
-
 
89812
      setBillingDateToIsSet(false);
-
 
89813
      this.billingDateTo = 0;
88878
    }
89814
    }
88879
 
89815
 
88880
    public long getVendorId() {
89816
    public long getVendorId() {
88881
      return this.vendorId;
89817
      return this.vendorId;
88882
    }
89818
    }
Line 88897... Line 89833...
88897
 
89833
 
88898
    public void setVendorIdIsSet(boolean value) {
89834
    public void setVendorIdIsSet(boolean value) {
88899
      __isset_bit_vector.set(__VENDORID_ISSET_ID, value);
89835
      __isset_bit_vector.set(__VENDORID_ISSET_ID, value);
88900
    }
89836
    }
88901
 
89837
 
-
 
89838
    public boolean isOnlyVendorNotPaid() {
-
 
89839
      return this.onlyVendorNotPaid;
-
 
89840
    }
-
 
89841
 
-
 
89842
    public void setOnlyVendorNotPaid(boolean onlyVendorNotPaid) {
-
 
89843
      this.onlyVendorNotPaid = onlyVendorNotPaid;
-
 
89844
      setOnlyVendorNotPaidIsSet(true);
-
 
89845
    }
-
 
89846
 
-
 
89847
    public void unsetOnlyVendorNotPaid() {
-
 
89848
      __isset_bit_vector.clear(__ONLYVENDORNOTPAID_ISSET_ID);
-
 
89849
    }
-
 
89850
 
-
 
89851
    /** Returns true if field onlyVendorNotPaid is set (has been assigned a value) and false otherwise */
-
 
89852
    public boolean isSetOnlyVendorNotPaid() {
-
 
89853
      return __isset_bit_vector.get(__ONLYVENDORNOTPAID_ISSET_ID);
-
 
89854
    }
-
 
89855
 
-
 
89856
    public void setOnlyVendorNotPaidIsSet(boolean value) {
-
 
89857
      __isset_bit_vector.set(__ONLYVENDORNOTPAID_ISSET_ID, value);
-
 
89858
    }
-
 
89859
 
-
 
89860
    public long getBillingDateFrom() {
-
 
89861
      return this.billingDateFrom;
-
 
89862
    }
-
 
89863
 
-
 
89864
    public void setBillingDateFrom(long billingDateFrom) {
-
 
89865
      this.billingDateFrom = billingDateFrom;
-
 
89866
      setBillingDateFromIsSet(true);
-
 
89867
    }
-
 
89868
 
-
 
89869
    public void unsetBillingDateFrom() {
-
 
89870
      __isset_bit_vector.clear(__BILLINGDATEFROM_ISSET_ID);
-
 
89871
    }
-
 
89872
 
-
 
89873
    /** Returns true if field billingDateFrom is set (has been assigned a value) and false otherwise */
-
 
89874
    public boolean isSetBillingDateFrom() {
-
 
89875
      return __isset_bit_vector.get(__BILLINGDATEFROM_ISSET_ID);
-
 
89876
    }
-
 
89877
 
-
 
89878
    public void setBillingDateFromIsSet(boolean value) {
-
 
89879
      __isset_bit_vector.set(__BILLINGDATEFROM_ISSET_ID, value);
-
 
89880
    }
-
 
89881
 
-
 
89882
    public long getBillingDateTo() {
-
 
89883
      return this.billingDateTo;
-
 
89884
    }
-
 
89885
 
-
 
89886
    public void setBillingDateTo(long billingDateTo) {
-
 
89887
      this.billingDateTo = billingDateTo;
-
 
89888
      setBillingDateToIsSet(true);
-
 
89889
    }
-
 
89890
 
-
 
89891
    public void unsetBillingDateTo() {
-
 
89892
      __isset_bit_vector.clear(__BILLINGDATETO_ISSET_ID);
-
 
89893
    }
-
 
89894
 
-
 
89895
    /** Returns true if field billingDateTo is set (has been assigned a value) and false otherwise */
-
 
89896
    public boolean isSetBillingDateTo() {
-
 
89897
      return __isset_bit_vector.get(__BILLINGDATETO_ISSET_ID);
-
 
89898
    }
-
 
89899
 
-
 
89900
    public void setBillingDateToIsSet(boolean value) {
-
 
89901
      __isset_bit_vector.set(__BILLINGDATETO_ISSET_ID, value);
-
 
89902
    }
-
 
89903
 
88902
    public void setFieldValue(_Fields field, Object value) {
89904
    public void setFieldValue(_Fields field, Object value) {
88903
      switch (field) {
89905
      switch (field) {
88904
      case VENDOR_ID:
89906
      case VENDOR_ID:
88905
        if (value == null) {
89907
        if (value == null) {
88906
          unsetVendorId();
89908
          unsetVendorId();
88907
        } else {
89909
        } else {
88908
          setVendorId((Long)value);
89910
          setVendorId((Long)value);
88909
        }
89911
        }
88910
        break;
89912
        break;
88911
 
89913
 
-
 
89914
      case ONLY_VENDOR_NOT_PAID:
-
 
89915
        if (value == null) {
-
 
89916
          unsetOnlyVendorNotPaid();
-
 
89917
        } else {
-
 
89918
          setOnlyVendorNotPaid((Boolean)value);
-
 
89919
        }
-
 
89920
        break;
-
 
89921
 
-
 
89922
      case BILLING_DATE_FROM:
-
 
89923
        if (value == null) {
-
 
89924
          unsetBillingDateFrom();
-
 
89925
        } else {
-
 
89926
          setBillingDateFrom((Long)value);
-
 
89927
        }
-
 
89928
        break;
-
 
89929
 
-
 
89930
      case BILLING_DATE_TO:
-
 
89931
        if (value == null) {
-
 
89932
          unsetBillingDateTo();
-
 
89933
        } else {
-
 
89934
          setBillingDateTo((Long)value);
-
 
89935
        }
-
 
89936
        break;
-
 
89937
 
88912
      }
89938
      }
88913
    }
89939
    }
88914
 
89940
 
88915
    public Object getFieldValue(_Fields field) {
89941
    public Object getFieldValue(_Fields field) {
88916
      switch (field) {
89942
      switch (field) {
88917
      case VENDOR_ID:
89943
      case VENDOR_ID:
88918
        return Long.valueOf(getVendorId());
89944
        return Long.valueOf(getVendorId());
88919
 
89945
 
-
 
89946
      case ONLY_VENDOR_NOT_PAID:
-
 
89947
        return Boolean.valueOf(isOnlyVendorNotPaid());
-
 
89948
 
-
 
89949
      case BILLING_DATE_FROM:
-
 
89950
        return Long.valueOf(getBillingDateFrom());
-
 
89951
 
-
 
89952
      case BILLING_DATE_TO:
-
 
89953
        return Long.valueOf(getBillingDateTo());
-
 
89954
 
88920
      }
89955
      }
88921
      throw new IllegalStateException();
89956
      throw new IllegalStateException();
88922
    }
89957
    }
88923
 
89958
 
88924
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
89959
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 88928... Line 89963...
88928
      }
89963
      }
88929
 
89964
 
88930
      switch (field) {
89965
      switch (field) {
88931
      case VENDOR_ID:
89966
      case VENDOR_ID:
88932
        return isSetVendorId();
89967
        return isSetVendorId();
-
 
89968
      case ONLY_VENDOR_NOT_PAID:
-
 
89969
        return isSetOnlyVendorNotPaid();
-
 
89970
      case BILLING_DATE_FROM:
-
 
89971
        return isSetBillingDateFrom();
-
 
89972
      case BILLING_DATE_TO:
-
 
89973
        return isSetBillingDateTo();
88933
      }
89974
      }
88934
      throw new IllegalStateException();
89975
      throw new IllegalStateException();
88935
    }
89976
    }
88936
 
89977
 
88937
    @Override
89978
    @Override
88938
    public boolean equals(Object that) {
89979
    public boolean equals(Object that) {
88939
      if (that == null)
89980
      if (that == null)
88940
        return false;
89981
        return false;
88941
      if (that instanceof getOrdersWhereVendorNotPaid_args)
89982
      if (that instanceof getBilledOrders_args)
88942
        return this.equals((getOrdersWhereVendorNotPaid_args)that);
89983
        return this.equals((getBilledOrders_args)that);
88943
      return false;
89984
      return false;
88944
    }
89985
    }
88945
 
89986
 
88946
    public boolean equals(getOrdersWhereVendorNotPaid_args that) {
89987
    public boolean equals(getBilledOrders_args that) {
88947
      if (that == null)
89988
      if (that == null)
88948
        return false;
89989
        return false;
88949
 
89990
 
88950
      boolean this_present_vendorId = true;
89991
      boolean this_present_vendorId = true;
88951
      boolean that_present_vendorId = true;
89992
      boolean that_present_vendorId = true;
Line 88954... Line 89995...
88954
          return false;
89995
          return false;
88955
        if (this.vendorId != that.vendorId)
89996
        if (this.vendorId != that.vendorId)
88956
          return false;
89997
          return false;
88957
      }
89998
      }
88958
 
89999
 
-
 
90000
      boolean this_present_onlyVendorNotPaid = true;
-
 
90001
      boolean that_present_onlyVendorNotPaid = true;
-
 
90002
      if (this_present_onlyVendorNotPaid || that_present_onlyVendorNotPaid) {
-
 
90003
        if (!(this_present_onlyVendorNotPaid && that_present_onlyVendorNotPaid))
-
 
90004
          return false;
-
 
90005
        if (this.onlyVendorNotPaid != that.onlyVendorNotPaid)
-
 
90006
          return false;
-
 
90007
      }
-
 
90008
 
-
 
90009
      boolean this_present_billingDateFrom = true;
-
 
90010
      boolean that_present_billingDateFrom = true;
-
 
90011
      if (this_present_billingDateFrom || that_present_billingDateFrom) {
-
 
90012
        if (!(this_present_billingDateFrom && that_present_billingDateFrom))
-
 
90013
          return false;
-
 
90014
        if (this.billingDateFrom != that.billingDateFrom)
-
 
90015
          return false;
-
 
90016
      }
-
 
90017
 
-
 
90018
      boolean this_present_billingDateTo = true;
-
 
90019
      boolean that_present_billingDateTo = true;
-
 
90020
      if (this_present_billingDateTo || that_present_billingDateTo) {
-
 
90021
        if (!(this_present_billingDateTo && that_present_billingDateTo))
-
 
90022
          return false;
-
 
90023
        if (this.billingDateTo != that.billingDateTo)
-
 
90024
          return false;
-
 
90025
      }
-
 
90026
 
88959
      return true;
90027
      return true;
88960
    }
90028
    }
88961
 
90029
 
88962
    @Override
90030
    @Override
88963
    public int hashCode() {
90031
    public int hashCode() {
88964
      return 0;
90032
      return 0;
88965
    }
90033
    }
88966
 
90034
 
88967
    public int compareTo(getOrdersWhereVendorNotPaid_args other) {
90035
    public int compareTo(getBilledOrders_args other) {
88968
      if (!getClass().equals(other.getClass())) {
90036
      if (!getClass().equals(other.getClass())) {
88969
        return getClass().getName().compareTo(other.getClass().getName());
90037
        return getClass().getName().compareTo(other.getClass().getName());
88970
      }
90038
      }
88971
 
90039
 
88972
      int lastComparison = 0;
90040
      int lastComparison = 0;
88973
      getOrdersWhereVendorNotPaid_args typedOther = (getOrdersWhereVendorNotPaid_args)other;
90041
      getBilledOrders_args typedOther = (getBilledOrders_args)other;
88974
 
90042
 
88975
      lastComparison = Boolean.valueOf(isSetVendorId()).compareTo(typedOther.isSetVendorId());
90043
      lastComparison = Boolean.valueOf(isSetVendorId()).compareTo(typedOther.isSetVendorId());
88976
      if (lastComparison != 0) {
90044
      if (lastComparison != 0) {
88977
        return lastComparison;
90045
        return lastComparison;
88978
      }
90046
      }
Line 88980... Line 90048...
88980
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendorId, typedOther.vendorId);
90048
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendorId, typedOther.vendorId);
88981
        if (lastComparison != 0) {
90049
        if (lastComparison != 0) {
88982
          return lastComparison;
90050
          return lastComparison;
88983
        }
90051
        }
88984
      }
90052
      }
-
 
90053
      lastComparison = Boolean.valueOf(isSetOnlyVendorNotPaid()).compareTo(typedOther.isSetOnlyVendorNotPaid());
-
 
90054
      if (lastComparison != 0) {
-
 
90055
        return lastComparison;
-
 
90056
      }
-
 
90057
      if (isSetOnlyVendorNotPaid()) {
-
 
90058
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.onlyVendorNotPaid, typedOther.onlyVendorNotPaid);
-
 
90059
        if (lastComparison != 0) {
-
 
90060
          return lastComparison;
-
 
90061
        }
-
 
90062
      }
-
 
90063
      lastComparison = Boolean.valueOf(isSetBillingDateFrom()).compareTo(typedOther.isSetBillingDateFrom());
-
 
90064
      if (lastComparison != 0) {
-
 
90065
        return lastComparison;
-
 
90066
      }
-
 
90067
      if (isSetBillingDateFrom()) {
-
 
90068
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.billingDateFrom, typedOther.billingDateFrom);
-
 
90069
        if (lastComparison != 0) {
-
 
90070
          return lastComparison;
-
 
90071
        }
-
 
90072
      }
-
 
90073
      lastComparison = Boolean.valueOf(isSetBillingDateTo()).compareTo(typedOther.isSetBillingDateTo());
-
 
90074
      if (lastComparison != 0) {
-
 
90075
        return lastComparison;
-
 
90076
      }
-
 
90077
      if (isSetBillingDateTo()) {
-
 
90078
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.billingDateTo, typedOther.billingDateTo);
-
 
90079
        if (lastComparison != 0) {
-
 
90080
          return lastComparison;
-
 
90081
        }
-
 
90082
      }
88985
      return 0;
90083
      return 0;
88986
    }
90084
    }
88987
 
90085
 
88988
    public _Fields fieldForId(int fieldId) {
90086
    public _Fields fieldForId(int fieldId) {
88989
      return _Fields.findByThriftId(fieldId);
90087
      return _Fields.findByThriftId(fieldId);
Line 89005... Line 90103...
89005
              setVendorIdIsSet(true);
90103
              setVendorIdIsSet(true);
89006
            } else { 
90104
            } else { 
89007
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
90105
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
89008
            }
90106
            }
89009
            break;
90107
            break;
-
 
90108
          case 2: // ONLY_VENDOR_NOT_PAID
-
 
90109
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
90110
              this.onlyVendorNotPaid = iprot.readBool();
-
 
90111
              setOnlyVendorNotPaidIsSet(true);
-
 
90112
            } else { 
-
 
90113
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
90114
            }
-
 
90115
            break;
-
 
90116
          case 3: // BILLING_DATE_FROM
-
 
90117
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
90118
              this.billingDateFrom = iprot.readI64();
-
 
90119
              setBillingDateFromIsSet(true);
-
 
90120
            } else { 
-
 
90121
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
90122
            }
-
 
90123
            break;
-
 
90124
          case 4: // BILLING_DATE_TO
-
 
90125
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
90126
              this.billingDateTo = iprot.readI64();
-
 
90127
              setBillingDateToIsSet(true);
-
 
90128
            } else { 
-
 
90129
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
90130
            }
-
 
90131
            break;
89010
          default:
90132
          default:
89011
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
90133
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
89012
        }
90134
        }
89013
        iprot.readFieldEnd();
90135
        iprot.readFieldEnd();
89014
      }
90136
      }
Line 89021... Line 90143...
89021
 
90143
 
89022
      oprot.writeStructBegin(STRUCT_DESC);
90144
      oprot.writeStructBegin(STRUCT_DESC);
89023
      oprot.writeFieldBegin(VENDOR_ID_FIELD_DESC);
90145
      oprot.writeFieldBegin(VENDOR_ID_FIELD_DESC);
89024
      oprot.writeI64(this.vendorId);
90146
      oprot.writeI64(this.vendorId);
89025
      oprot.writeFieldEnd();
90147
      oprot.writeFieldEnd();
-
 
90148
      oprot.writeFieldBegin(ONLY_VENDOR_NOT_PAID_FIELD_DESC);
-
 
90149
      oprot.writeBool(this.onlyVendorNotPaid);
-
 
90150
      oprot.writeFieldEnd();
-
 
90151
      oprot.writeFieldBegin(BILLING_DATE_FROM_FIELD_DESC);
-
 
90152
      oprot.writeI64(this.billingDateFrom);
-
 
90153
      oprot.writeFieldEnd();
-
 
90154
      oprot.writeFieldBegin(BILLING_DATE_TO_FIELD_DESC);
-
 
90155
      oprot.writeI64(this.billingDateTo);
-
 
90156
      oprot.writeFieldEnd();
89026
      oprot.writeFieldStop();
90157
      oprot.writeFieldStop();
89027
      oprot.writeStructEnd();
90158
      oprot.writeStructEnd();
89028
    }
90159
    }
89029
 
90160
 
89030
    @Override
90161
    @Override
89031
    public String toString() {
90162
    public String toString() {
89032
      StringBuilder sb = new StringBuilder("getOrdersWhereVendorNotPaid_args(");
90163
      StringBuilder sb = new StringBuilder("getBilledOrders_args(");
89033
      boolean first = true;
90164
      boolean first = true;
89034
 
90165
 
89035
      sb.append("vendorId:");
90166
      sb.append("vendorId:");
89036
      sb.append(this.vendorId);
90167
      sb.append(this.vendorId);
89037
      first = false;
90168
      first = false;
-
 
90169
      if (!first) sb.append(", ");
-
 
90170
      sb.append("onlyVendorNotPaid:");
-
 
90171
      sb.append(this.onlyVendorNotPaid);
-
 
90172
      first = false;
-
 
90173
      if (!first) sb.append(", ");
-
 
90174
      sb.append("billingDateFrom:");
-
 
90175
      sb.append(this.billingDateFrom);
-
 
90176
      first = false;
-
 
90177
      if (!first) sb.append(", ");
-
 
90178
      sb.append("billingDateTo:");
-
 
90179
      sb.append(this.billingDateTo);
-
 
90180
      first = false;
89038
      sb.append(")");
90181
      sb.append(")");
89039
      return sb.toString();
90182
      return sb.toString();
89040
    }
90183
    }
89041
 
90184
 
89042
    public void validate() throws org.apache.thrift.TException {
90185
    public void validate() throws org.apache.thrift.TException {
Line 89061... Line 90204...
89061
      }
90204
      }
89062
    }
90205
    }
89063
 
90206
 
89064
  }
90207
  }
89065
 
90208
 
89066
  public static class getOrdersWhereVendorNotPaid_result implements org.apache.thrift.TBase<getOrdersWhereVendorNotPaid_result, getOrdersWhereVendorNotPaid_result._Fields>, java.io.Serializable, Cloneable   {
90209
  public static class getBilledOrders_result implements org.apache.thrift.TBase<getBilledOrders_result, getBilledOrders_result._Fields>, java.io.Serializable, Cloneable   {
89067
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrdersWhereVendorNotPaid_result");
90210
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getBilledOrders_result");
89068
 
90211
 
89069
    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);
90212
    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);
89070
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
90213
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
89071
 
90214
 
89072
    private List<Order> success; // required
90215
    private List<Order> success; // required
Line 89142... Line 90285...
89142
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
90285
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
89143
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
90286
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
89144
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
90287
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
89145
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
90288
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
89146
      metaDataMap = Collections.unmodifiableMap(tmpMap);
90289
      metaDataMap = Collections.unmodifiableMap(tmpMap);
89147
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrdersWhereVendorNotPaid_result.class, metaDataMap);
90290
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getBilledOrders_result.class, metaDataMap);
89148
    }
90291
    }
89149
 
90292
 
89150
    public getOrdersWhereVendorNotPaid_result() {
90293
    public getBilledOrders_result() {
89151
    }
90294
    }
89152
 
90295
 
89153
    public getOrdersWhereVendorNotPaid_result(
90296
    public getBilledOrders_result(
89154
      List<Order> success,
90297
      List<Order> success,
89155
      TransactionServiceException ex)
90298
      TransactionServiceException ex)
89156
    {
90299
    {
89157
      this();
90300
      this();
89158
      this.success = success;
90301
      this.success = success;
Line 89160... Line 90303...
89160
    }
90303
    }
89161
 
90304
 
89162
    /**
90305
    /**
89163
     * Performs a deep copy on <i>other</i>.
90306
     * Performs a deep copy on <i>other</i>.
89164
     */
90307
     */
89165
    public getOrdersWhereVendorNotPaid_result(getOrdersWhereVendorNotPaid_result other) {
90308
    public getBilledOrders_result(getBilledOrders_result other) {
89166
      if (other.isSetSuccess()) {
90309
      if (other.isSetSuccess()) {
89167
        List<Order> __this__success = new ArrayList<Order>();
90310
        List<Order> __this__success = new ArrayList<Order>();
89168
        for (Order other_element : other.success) {
90311
        for (Order other_element : other.success) {
89169
          __this__success.add(new Order(other_element));
90312
          __this__success.add(new Order(other_element));
89170
        }
90313
        }
Line 89173... Line 90316...
89173
      if (other.isSetEx()) {
90316
      if (other.isSetEx()) {
89174
        this.ex = new TransactionServiceException(other.ex);
90317
        this.ex = new TransactionServiceException(other.ex);
89175
      }
90318
      }
89176
    }
90319
    }
89177
 
90320
 
89178
    public getOrdersWhereVendorNotPaid_result deepCopy() {
90321
    public getBilledOrders_result deepCopy() {
89179
      return new getOrdersWhereVendorNotPaid_result(this);
90322
      return new getBilledOrders_result(this);
89180
    }
90323
    }
89181
 
90324
 
89182
    @Override
90325
    @Override
89183
    public void clear() {
90326
    public void clear() {
89184
      this.success = null;
90327
      this.success = null;
Line 89296... Line 90439...
89296
 
90439
 
89297
    @Override
90440
    @Override
89298
    public boolean equals(Object that) {
90441
    public boolean equals(Object that) {
89299
      if (that == null)
90442
      if (that == null)
89300
        return false;
90443
        return false;
89301
      if (that instanceof getOrdersWhereVendorNotPaid_result)
90444
      if (that instanceof getBilledOrders_result)
89302
        return this.equals((getOrdersWhereVendorNotPaid_result)that);
90445
        return this.equals((getBilledOrders_result)that);
89303
      return false;
90446
      return false;
89304
    }
90447
    }
89305
 
90448
 
89306
    public boolean equals(getOrdersWhereVendorNotPaid_result that) {
90449
    public boolean equals(getBilledOrders_result that) {
89307
      if (that == null)
90450
      if (that == null)
89308
        return false;
90451
        return false;
89309
 
90452
 
89310
      boolean this_present_success = true && this.isSetSuccess();
90453
      boolean this_present_success = true && this.isSetSuccess();
89311
      boolean that_present_success = true && that.isSetSuccess();
90454
      boolean that_present_success = true && that.isSetSuccess();
Line 89331... Line 90474...
89331
    @Override
90474
    @Override
89332
    public int hashCode() {
90475
    public int hashCode() {
89333
      return 0;
90476
      return 0;
89334
    }
90477
    }
89335
 
90478
 
89336
    public int compareTo(getOrdersWhereVendorNotPaid_result other) {
90479
    public int compareTo(getBilledOrders_result other) {
89337
      if (!getClass().equals(other.getClass())) {
90480
      if (!getClass().equals(other.getClass())) {
89338
        return getClass().getName().compareTo(other.getClass().getName());
90481
        return getClass().getName().compareTo(other.getClass().getName());
89339
      }
90482
      }
89340
 
90483
 
89341
      int lastComparison = 0;
90484
      int lastComparison = 0;
89342
      getOrdersWhereVendorNotPaid_result typedOther = (getOrdersWhereVendorNotPaid_result)other;
90485
      getBilledOrders_result typedOther = (getBilledOrders_result)other;
89343
 
90486
 
89344
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
90487
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
89345
      if (lastComparison != 0) {
90488
      if (lastComparison != 0) {
89346
        return lastComparison;
90489
        return lastComparison;
89347
      }
90490
      }
Line 89379... Line 90522...
89379
        }
90522
        }
89380
        switch (field.id) {
90523
        switch (field.id) {
89381
          case 0: // SUCCESS
90524
          case 0: // SUCCESS
89382
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
90525
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
89383
              {
90526
              {
89384
                org.apache.thrift.protocol.TList _list295 = iprot.readListBegin();
90527
                org.apache.thrift.protocol.TList _list299 = iprot.readListBegin();
89385
                this.success = new ArrayList<Order>(_list295.size);
90528
                this.success = new ArrayList<Order>(_list299.size);
89386
                for (int _i296 = 0; _i296 < _list295.size; ++_i296)
90529
                for (int _i300 = 0; _i300 < _list299.size; ++_i300)
89387
                {
90530
                {
89388
                  Order _elem297; // required
90531
                  Order _elem301; // required
89389
                  _elem297 = new Order();
90532
                  _elem301 = new Order();
89390
                  _elem297.read(iprot);
90533
                  _elem301.read(iprot);
89391
                  this.success.add(_elem297);
90534
                  this.success.add(_elem301);
89392
                }
90535
                }
89393
                iprot.readListEnd();
90536
                iprot.readListEnd();
89394
              }
90537
              }
89395
            } else { 
90538
            } else { 
89396
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
90539
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 89418... Line 90561...
89418
 
90561
 
89419
      if (this.isSetSuccess()) {
90562
      if (this.isSetSuccess()) {
89420
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
90563
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
89421
        {
90564
        {
89422
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
90565
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
89423
          for (Order _iter298 : this.success)
90566
          for (Order _iter302 : this.success)
89424
          {
90567
          {
89425
            _iter298.write(oprot);
90568
            _iter302.write(oprot);
89426
          }
90569
          }
89427
          oprot.writeListEnd();
90570
          oprot.writeListEnd();
89428
        }
90571
        }
89429
        oprot.writeFieldEnd();
90572
        oprot.writeFieldEnd();
89430
      } else if (this.isSetEx()) {
90573
      } else if (this.isSetEx()) {
Line 89436... Line 90579...
89436
      oprot.writeStructEnd();
90579
      oprot.writeStructEnd();
89437
    }
90580
    }
89438
 
90581
 
89439
    @Override
90582
    @Override
89440
    public String toString() {
90583
    public String toString() {
89441
      StringBuilder sb = new StringBuilder("getOrdersWhereVendorNotPaid_result(");
90584
      StringBuilder sb = new StringBuilder("getBilledOrders_result(");
89442
      boolean first = true;
90585
      boolean first = true;
89443
 
90586
 
89444
      sb.append("success:");
90587
      sb.append("success:");
89445
      if (this.success == null) {
90588
      if (this.success == null) {
89446
        sb.append("null");
90589
        sb.append("null");
Line 90180... Line 91323...
90180
        }
91323
        }
90181
        switch (field.id) {
91324
        switch (field.id) {
90182
          case 0: // SUCCESS
91325
          case 0: // SUCCESS
90183
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
91326
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
90184
              {
91327
              {
90185
                org.apache.thrift.protocol.TMap _map299 = iprot.readMapBegin();
91328
                org.apache.thrift.protocol.TMap _map303 = iprot.readMapBegin();
90186
                this.success = new HashMap<Long,Long>(2*_map299.size);
91329
                this.success = new HashMap<Long,Long>(2*_map303.size);
90187
                for (int _i300 = 0; _i300 < _map299.size; ++_i300)
91330
                for (int _i304 = 0; _i304 < _map303.size; ++_i304)
90188
                {
91331
                {
90189
                  long _key301; // required
91332
                  long _key305; // required
90190
                  long _val302; // required
91333
                  long _val306; // required
90191
                  _key301 = iprot.readI64();
91334
                  _key305 = iprot.readI64();
90192
                  _val302 = iprot.readI64();
91335
                  _val306 = iprot.readI64();
90193
                  this.success.put(_key301, _val302);
91336
                  this.success.put(_key305, _val306);
90194
                }
91337
                }
90195
                iprot.readMapEnd();
91338
                iprot.readMapEnd();
90196
              }
91339
              }
90197
            } else { 
91340
            } else { 
90198
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
91341
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 90220... Line 91363...
90220
 
91363
 
90221
      if (this.isSetSuccess()) {
91364
      if (this.isSetSuccess()) {
90222
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
91365
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
90223
        {
91366
        {
90224
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
91367
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
90225
          for (Map.Entry<Long, Long> _iter303 : this.success.entrySet())
91368
          for (Map.Entry<Long, Long> _iter307 : this.success.entrySet())
90226
          {
91369
          {
90227
            oprot.writeI64(_iter303.getKey());
91370
            oprot.writeI64(_iter307.getKey());
90228
            oprot.writeI64(_iter303.getValue());
91371
            oprot.writeI64(_iter307.getValue());
90229
          }
91372
          }
90230
          oprot.writeMapEnd();
91373
          oprot.writeMapEnd();
90231
        }
91374
        }
90232
        oprot.writeFieldEnd();
91375
        oprot.writeFieldEnd();
90233
      } else if (this.isSetEx()) {
91376
      } else if (this.isSetEx()) {
Line 91061... Line 92204...
91061
        }
92204
        }
91062
        switch (field.id) {
92205
        switch (field.id) {
91063
          case 0: // SUCCESS
92206
          case 0: // SUCCESS
91064
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
92207
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
91065
              {
92208
              {
91066
                org.apache.thrift.protocol.TList _list304 = iprot.readListBegin();
92209
                org.apache.thrift.protocol.TList _list308 = iprot.readListBegin();
91067
                this.success = new ArrayList<Long>(_list304.size);
92210
                this.success = new ArrayList<Long>(_list308.size);
91068
                for (int _i305 = 0; _i305 < _list304.size; ++_i305)
92211
                for (int _i309 = 0; _i309 < _list308.size; ++_i309)
91069
                {
92212
                {
91070
                  long _elem306; // required
92213
                  long _elem310; // required
91071
                  _elem306 = iprot.readI64();
92214
                  _elem310 = iprot.readI64();
91072
                  this.success.add(_elem306);
92215
                  this.success.add(_elem310);
91073
                }
92216
                }
91074
                iprot.readListEnd();
92217
                iprot.readListEnd();
91075
              }
92218
              }
91076
            } else { 
92219
            } else { 
91077
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
92220
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 91099... Line 92242...
91099
 
92242
 
91100
      if (this.isSetSuccess()) {
92243
      if (this.isSetSuccess()) {
91101
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
92244
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
91102
        {
92245
        {
91103
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
92246
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
91104
          for (long _iter307 : this.success)
92247
          for (long _iter311 : this.success)
91105
          {
92248
          {
91106
            oprot.writeI64(_iter307);
92249
            oprot.writeI64(_iter311);
91107
          }
92250
          }
91108
          oprot.writeListEnd();
92251
          oprot.writeListEnd();
91109
        }
92252
        }
91110
        oprot.writeFieldEnd();
92253
        oprot.writeFieldEnd();
91111
      } else if (this.isSetEx()) {
92254
      } else if (this.isSetEx()) {
Line 93531... Line 94674...
93531
        }
94674
        }
93532
        switch (field.id) {
94675
        switch (field.id) {
93533
          case 0: // SUCCESS
94676
          case 0: // SUCCESS
93534
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
94677
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
93535
              {
94678
              {
93536
                org.apache.thrift.protocol.TList _list308 = iprot.readListBegin();
94679
                org.apache.thrift.protocol.TList _list312 = iprot.readListBegin();
93537
                this.success = new ArrayList<Order>(_list308.size);
94680
                this.success = new ArrayList<Order>(_list312.size);
93538
                for (int _i309 = 0; _i309 < _list308.size; ++_i309)
94681
                for (int _i313 = 0; _i313 < _list312.size; ++_i313)
93539
                {
94682
                {
93540
                  Order _elem310; // required
94683
                  Order _elem314; // required
93541
                  _elem310 = new Order();
94684
                  _elem314 = new Order();
93542
                  _elem310.read(iprot);
94685
                  _elem314.read(iprot);
93543
                  this.success.add(_elem310);
94686
                  this.success.add(_elem314);
93544
                }
94687
                }
93545
                iprot.readListEnd();
94688
                iprot.readListEnd();
93546
              }
94689
              }
93547
            } else { 
94690
            } else { 
93548
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
94691
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 93570... Line 94713...
93570
 
94713
 
93571
      if (this.isSetSuccess()) {
94714
      if (this.isSetSuccess()) {
93572
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
94715
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
93573
        {
94716
        {
93574
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
94717
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
93575
          for (Order _iter311 : this.success)
94718
          for (Order _iter315 : this.success)
93576
          {
94719
          {
93577
            _iter311.write(oprot);
94720
            _iter315.write(oprot);
93578
          }
94721
          }
93579
          oprot.writeListEnd();
94722
          oprot.writeListEnd();
93580
        }
94723
        }
93581
        oprot.writeFieldEnd();
94724
        oprot.writeFieldEnd();
93582
      } else if (this.isSetEx()) {
94725
      } else if (this.isSetEx()) {
Line 94259... Line 95402...
94259
        }
95402
        }
94260
        switch (field.id) {
95403
        switch (field.id) {
94261
          case 0: // SUCCESS
95404
          case 0: // SUCCESS
94262
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
95405
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
94263
              {
95406
              {
94264
                org.apache.thrift.protocol.TList _list312 = iprot.readListBegin();
95407
                org.apache.thrift.protocol.TList _list316 = iprot.readListBegin();
94265
                this.success = new ArrayList<CODVerificationAgent>(_list312.size);
95408
                this.success = new ArrayList<CODVerificationAgent>(_list316.size);
94266
                for (int _i313 = 0; _i313 < _list312.size; ++_i313)
95409
                for (int _i317 = 0; _i317 < _list316.size; ++_i317)
94267
                {
95410
                {
94268
                  CODVerificationAgent _elem314; // required
95411
                  CODVerificationAgent _elem318; // required
94269
                  _elem314 = new CODVerificationAgent();
95412
                  _elem318 = new CODVerificationAgent();
94270
                  _elem314.read(iprot);
95413
                  _elem318.read(iprot);
94271
                  this.success.add(_elem314);
95414
                  this.success.add(_elem318);
94272
                }
95415
                }
94273
                iprot.readListEnd();
95416
                iprot.readListEnd();
94274
              }
95417
              }
94275
            } else { 
95418
            } else { 
94276
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
95419
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 94290... Line 95433...
94290
 
95433
 
94291
      if (this.isSetSuccess()) {
95434
      if (this.isSetSuccess()) {
94292
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
95435
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
94293
        {
95436
        {
94294
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
95437
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
94295
          for (CODVerificationAgent _iter315 : this.success)
95438
          for (CODVerificationAgent _iter319 : this.success)
94296
          {
95439
          {
94297
            _iter315.write(oprot);
95440
            _iter319.write(oprot);
94298
          }
95441
          }
94299
          oprot.writeListEnd();
95442
          oprot.writeListEnd();
94300
        }
95443
        }
94301
        oprot.writeFieldEnd();
95444
        oprot.writeFieldEnd();
94302
      }
95445
      }