Subversion Repositories SmartDukaan

Rev

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

Rev 5676 Rev 5713
Line 243... Line 243...
243
     * @param cod
243
     * @param cod
244
     * @param orderIds
244
     * @param orderIds
245
     */
245
     */
246
    public boolean markOrdersAsShippedFromWarehouse(long warehouseId, long providerId, boolean cod, List<Long> orderIds) throws TransactionServiceException, org.apache.thrift.TException;
246
    public boolean markOrdersAsShippedFromWarehouse(long warehouseId, long providerId, boolean cod, List<Long> orderIds) throws TransactionServiceException, org.apache.thrift.TException;
247
 
247
 
248
    public boolean markOrdersAsReturnedFromStore(long providerId, List<Long> orderIds) throws TransactionServiceException, org.apache.thrift.TException;
248
    public boolean markOrdersAsReturnedFromStore(long providerId, List<Long> orderIds, List<String> awbs) throws TransactionServiceException, org.apache.thrift.TException;
249
 
249
 
250
    /**
250
    /**
251
     * Marks all SHIPPED_FROM_WH orders of the previous day for a provider as SHIPPED_TO_LOGISTICS.
251
     * Marks all SHIPPED_FROM_WH orders of the previous day for a provider as SHIPPED_TO_LOGISTICS.
252
     * Raises an exception if we encounter report for an AWB number that we did not ship.
252
     * Raises an exception if we encounter report for an AWB number that we did not ship.
253
     * 
253
     * 
Line 830... Line 830...
830
 
830
 
831
    public List<Order> getReceivePendingOrders(long storeId) throws org.apache.thrift.TException;
831
    public List<Order> getReceivePendingOrders(long storeId) throws org.apache.thrift.TException;
832
 
832
 
833
    public List<Order> getReceivedAtStoreOrders(long storeId) throws org.apache.thrift.TException;
833
    public List<Order> getReceivedAtStoreOrders(long storeId) throws org.apache.thrift.TException;
834
 
834
 
-
 
835
    public List<Order> getOrdersCollectionAtStore(long storeId, long fromDate, long toDate, boolean onlyCod) throws org.apache.thrift.TException;
-
 
836
 
835
    /**
837
    /**
836
     * Accepts appropriate order for an item in a given billingWarehouse. Usually
838
     * Accepts appropriate order for an item in a given billingWarehouse. Usually
837
     * invoked while scanning IN of items.
839
     * invoked while scanning IN of items.
838
     * 
840
     * 
839
     * @param itemId
841
     * @param itemId
Line 919... Line 921...
919
 
921
 
920
    public void addInvoiceNumber(long orderId, String invoiceNumber, String color, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addInvoiceNumber_call> resultHandler) throws org.apache.thrift.TException;
922
    public void addInvoiceNumber(long orderId, String invoiceNumber, String color, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addInvoiceNumber_call> resultHandler) throws org.apache.thrift.TException;
921
 
923
 
922
    public void markOrdersAsShippedFromWarehouse(long warehouseId, long providerId, boolean cod, List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsShippedFromWarehouse_call> resultHandler) throws org.apache.thrift.TException;
924
    public void markOrdersAsShippedFromWarehouse(long warehouseId, long providerId, boolean cod, List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsShippedFromWarehouse_call> resultHandler) throws org.apache.thrift.TException;
923
 
925
 
924
    public void markOrdersAsReturnedFromStore(long providerId, List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsReturnedFromStore_call> resultHandler) throws org.apache.thrift.TException;
926
    public void markOrdersAsReturnedFromStore(long providerId, List<Long> orderIds, List<String> awbs, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsReturnedFromStore_call> resultHandler) throws org.apache.thrift.TException;
925
 
927
 
926
    public void markOrdersAsPickedUp(long providerId, Map<String,String> pickupDetails, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsPickedUp_call> resultHandler) throws org.apache.thrift.TException;
928
    public void markOrdersAsPickedUp(long providerId, Map<String,String> pickupDetails, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsPickedUp_call> resultHandler) throws org.apache.thrift.TException;
927
 
929
 
928
    public void getOrdersNotPickedUp(long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersNotPickedUp_call> resultHandler) throws org.apache.thrift.TException;
930
    public void getOrdersNotPickedUp(long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersNotPickedUp_call> resultHandler) throws org.apache.thrift.TException;
929
 
931
 
Line 1089... Line 1091...
1089
 
1091
 
1090
    public void getReceivePendingOrders(long storeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReceivePendingOrders_call> resultHandler) throws org.apache.thrift.TException;
1092
    public void getReceivePendingOrders(long storeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReceivePendingOrders_call> resultHandler) throws org.apache.thrift.TException;
1091
 
1093
 
1092
    public void getReceivedAtStoreOrders(long storeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReceivedAtStoreOrders_call> resultHandler) throws org.apache.thrift.TException;
1094
    public void getReceivedAtStoreOrders(long storeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReceivedAtStoreOrders_call> resultHandler) throws org.apache.thrift.TException;
1093
 
1095
 
-
 
1096
    public void getOrdersCollectionAtStore(long storeId, long fromDate, long toDate, boolean onlyCod, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersCollectionAtStore_call> resultHandler) throws org.apache.thrift.TException;
-
 
1097
 
1094
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.acceptOrderForItem_call> resultHandler) throws org.apache.thrift.TException;
1098
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.acceptOrderForItem_call> resultHandler) throws org.apache.thrift.TException;
1095
 
1099
 
1096
  }
1100
  }
1097
 
1101
 
1098
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1102
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
Line 2085... Line 2089...
2085
        throw result.ex;
2089
        throw result.ex;
2086
      }
2090
      }
2087
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markOrdersAsShippedFromWarehouse failed: unknown result");
2091
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markOrdersAsShippedFromWarehouse failed: unknown result");
2088
    }
2092
    }
2089
 
2093
 
2090
    public boolean markOrdersAsReturnedFromStore(long providerId, List<Long> orderIds) throws TransactionServiceException, org.apache.thrift.TException
2094
    public boolean markOrdersAsReturnedFromStore(long providerId, List<Long> orderIds, List<String> awbs) throws TransactionServiceException, org.apache.thrift.TException
2091
    {
2095
    {
2092
      send_markOrdersAsReturnedFromStore(providerId, orderIds);
2096
      send_markOrdersAsReturnedFromStore(providerId, orderIds, awbs);
2093
      return recv_markOrdersAsReturnedFromStore();
2097
      return recv_markOrdersAsReturnedFromStore();
2094
    }
2098
    }
2095
 
2099
 
2096
    public void send_markOrdersAsReturnedFromStore(long providerId, List<Long> orderIds) throws org.apache.thrift.TException
2100
    public void send_markOrdersAsReturnedFromStore(long providerId, List<Long> orderIds, List<String> awbs) throws org.apache.thrift.TException
2097
    {
2101
    {
2098
      markOrdersAsReturnedFromStore_args args = new markOrdersAsReturnedFromStore_args();
2102
      markOrdersAsReturnedFromStore_args args = new markOrdersAsReturnedFromStore_args();
2099
      args.setProviderId(providerId);
2103
      args.setProviderId(providerId);
2100
      args.setOrderIds(orderIds);
2104
      args.setOrderIds(orderIds);
-
 
2105
      args.setAwbs(awbs);
2101
      sendBase("markOrdersAsReturnedFromStore", args);
2106
      sendBase("markOrdersAsReturnedFromStore", args);
2102
    }
2107
    }
2103
 
2108
 
2104
    public boolean recv_markOrdersAsReturnedFromStore() throws TransactionServiceException, org.apache.thrift.TException
2109
    public boolean recv_markOrdersAsReturnedFromStore() throws TransactionServiceException, org.apache.thrift.TException
2105
    {
2110
    {
Line 4212... Line 4217...
4212
        return result.success;
4217
        return result.success;
4213
      }
4218
      }
4214
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReceivedAtStoreOrders failed: unknown result");
4219
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReceivedAtStoreOrders failed: unknown result");
4215
    }
4220
    }
4216
 
4221
 
-
 
4222
    public List<Order> getOrdersCollectionAtStore(long storeId, long fromDate, long toDate, boolean onlyCod) throws org.apache.thrift.TException
-
 
4223
    {
-
 
4224
      send_getOrdersCollectionAtStore(storeId, fromDate, toDate, onlyCod);
-
 
4225
      return recv_getOrdersCollectionAtStore();
-
 
4226
    }
-
 
4227
 
-
 
4228
    public void send_getOrdersCollectionAtStore(long storeId, long fromDate, long toDate, boolean onlyCod) throws org.apache.thrift.TException
-
 
4229
    {
-
 
4230
      getOrdersCollectionAtStore_args args = new getOrdersCollectionAtStore_args();
-
 
4231
      args.setStoreId(storeId);
-
 
4232
      args.setFromDate(fromDate);
-
 
4233
      args.setToDate(toDate);
-
 
4234
      args.setOnlyCod(onlyCod);
-
 
4235
      sendBase("getOrdersCollectionAtStore", args);
-
 
4236
    }
-
 
4237
 
-
 
4238
    public List<Order> recv_getOrdersCollectionAtStore() throws org.apache.thrift.TException
-
 
4239
    {
-
 
4240
      getOrdersCollectionAtStore_result result = new getOrdersCollectionAtStore_result();
-
 
4241
      receiveBase(result, "getOrdersCollectionAtStore");
-
 
4242
      if (result.isSetSuccess()) {
-
 
4243
        return result.success;
-
 
4244
      }
-
 
4245
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrdersCollectionAtStore failed: unknown result");
-
 
4246
    }
-
 
4247
 
4217
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId) throws org.apache.thrift.TException
4248
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId) throws org.apache.thrift.TException
4218
    {
4249
    {
4219
      send_acceptOrderForItem(itemId, quantity, fulfilmentWarehouseId, billingWarehouseId);
4250
      send_acceptOrderForItem(itemId, quantity, fulfilmentWarehouseId, billingWarehouseId);
4220
      recv_acceptOrderForItem();
4251
      recv_acceptOrderForItem();
4221
    }
4252
    }
Line 5575... Line 5606...
5575
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5606
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5576
        return (new Client(prot)).recv_markOrdersAsShippedFromWarehouse();
5607
        return (new Client(prot)).recv_markOrdersAsShippedFromWarehouse();
5577
      }
5608
      }
5578
    }
5609
    }
5579
 
5610
 
5580
    public void markOrdersAsReturnedFromStore(long providerId, List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsReturnedFromStore_call> resultHandler) throws org.apache.thrift.TException {
5611
    public void markOrdersAsReturnedFromStore(long providerId, List<Long> orderIds, List<String> awbs, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsReturnedFromStore_call> resultHandler) throws org.apache.thrift.TException {
5581
      checkReady();
5612
      checkReady();
5582
      markOrdersAsReturnedFromStore_call method_call = new markOrdersAsReturnedFromStore_call(providerId, orderIds, resultHandler, this, ___protocolFactory, ___transport);
5613
      markOrdersAsReturnedFromStore_call method_call = new markOrdersAsReturnedFromStore_call(providerId, orderIds, awbs, resultHandler, this, ___protocolFactory, ___transport);
5583
      this.___currentMethod = method_call;
5614
      this.___currentMethod = method_call;
5584
      ___manager.call(method_call);
5615
      ___manager.call(method_call);
5585
    }
5616
    }
5586
 
5617
 
5587
    public static class markOrdersAsReturnedFromStore_call extends org.apache.thrift.async.TAsyncMethodCall {
5618
    public static class markOrdersAsReturnedFromStore_call extends org.apache.thrift.async.TAsyncMethodCall {
5588
      private long providerId;
5619
      private long providerId;
5589
      private List<Long> orderIds;
5620
      private List<Long> orderIds;
-
 
5621
      private List<String> awbs;
5590
      public markOrdersAsReturnedFromStore_call(long providerId, List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsReturnedFromStore_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 {
5622
      public markOrdersAsReturnedFromStore_call(long providerId, List<Long> orderIds, List<String> awbs, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsReturnedFromStore_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 {
5591
        super(client, protocolFactory, transport, resultHandler, false);
5623
        super(client, protocolFactory, transport, resultHandler, false);
5592
        this.providerId = providerId;
5624
        this.providerId = providerId;
5593
        this.orderIds = orderIds;
5625
        this.orderIds = orderIds;
-
 
5626
        this.awbs = awbs;
5594
      }
5627
      }
5595
 
5628
 
5596
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5629
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5597
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markOrdersAsReturnedFromStore", org.apache.thrift.protocol.TMessageType.CALL, 0));
5630
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markOrdersAsReturnedFromStore", org.apache.thrift.protocol.TMessageType.CALL, 0));
5598
        markOrdersAsReturnedFromStore_args args = new markOrdersAsReturnedFromStore_args();
5631
        markOrdersAsReturnedFromStore_args args = new markOrdersAsReturnedFromStore_args();
5599
        args.setProviderId(providerId);
5632
        args.setProviderId(providerId);
5600
        args.setOrderIds(orderIds);
5633
        args.setOrderIds(orderIds);
-
 
5634
        args.setAwbs(awbs);
5601
        args.write(prot);
5635
        args.write(prot);
5602
        prot.writeMessageEnd();
5636
        prot.writeMessageEnd();
5603
      }
5637
      }
5604
 
5638
 
5605
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
5639
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
Line 8523... Line 8557...
8523
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8557
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8524
        return (new Client(prot)).recv_getReceivedAtStoreOrders();
8558
        return (new Client(prot)).recv_getReceivedAtStoreOrders();
8525
      }
8559
      }
8526
    }
8560
    }
8527
 
8561
 
-
 
8562
    public void getOrdersCollectionAtStore(long storeId, long fromDate, long toDate, boolean onlyCod, org.apache.thrift.async.AsyncMethodCallback<getOrdersCollectionAtStore_call> resultHandler) throws org.apache.thrift.TException {
-
 
8563
      checkReady();
-
 
8564
      getOrdersCollectionAtStore_call method_call = new getOrdersCollectionAtStore_call(storeId, fromDate, toDate, onlyCod, resultHandler, this, ___protocolFactory, ___transport);
-
 
8565
      this.___currentMethod = method_call;
-
 
8566
      ___manager.call(method_call);
-
 
8567
    }
-
 
8568
 
-
 
8569
    public static class getOrdersCollectionAtStore_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8570
      private long storeId;
-
 
8571
      private long fromDate;
-
 
8572
      private long toDate;
-
 
8573
      private boolean onlyCod;
-
 
8574
      public getOrdersCollectionAtStore_call(long storeId, long fromDate, long toDate, boolean onlyCod, org.apache.thrift.async.AsyncMethodCallback<getOrdersCollectionAtStore_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 {
-
 
8575
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8576
        this.storeId = storeId;
-
 
8577
        this.fromDate = fromDate;
-
 
8578
        this.toDate = toDate;
-
 
8579
        this.onlyCod = onlyCod;
-
 
8580
      }
-
 
8581
 
-
 
8582
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8583
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOrdersCollectionAtStore", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8584
        getOrdersCollectionAtStore_args args = new getOrdersCollectionAtStore_args();
-
 
8585
        args.setStoreId(storeId);
-
 
8586
        args.setFromDate(fromDate);
-
 
8587
        args.setToDate(toDate);
-
 
8588
        args.setOnlyCod(onlyCod);
-
 
8589
        args.write(prot);
-
 
8590
        prot.writeMessageEnd();
-
 
8591
      }
-
 
8592
 
-
 
8593
      public List<Order> getResult() throws org.apache.thrift.TException {
-
 
8594
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8595
          throw new IllegalStateException("Method call not finished!");
-
 
8596
        }
-
 
8597
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8598
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8599
        return (new Client(prot)).recv_getOrdersCollectionAtStore();
-
 
8600
      }
-
 
8601
    }
-
 
8602
 
8528
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId, org.apache.thrift.async.AsyncMethodCallback<acceptOrderForItem_call> resultHandler) throws org.apache.thrift.TException {
8603
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId, org.apache.thrift.async.AsyncMethodCallback<acceptOrderForItem_call> resultHandler) throws org.apache.thrift.TException {
8529
      checkReady();
8604
      checkReady();
8530
      acceptOrderForItem_call method_call = new acceptOrderForItem_call(itemId, quantity, fulfilmentWarehouseId, billingWarehouseId, resultHandler, this, ___protocolFactory, ___transport);
8605
      acceptOrderForItem_call method_call = new acceptOrderForItem_call(itemId, quantity, fulfilmentWarehouseId, billingWarehouseId, resultHandler, this, ___protocolFactory, ___transport);
8531
      this.___currentMethod = method_call;
8606
      this.___currentMethod = method_call;
8532
      ___manager.call(method_call);
8607
      ___manager.call(method_call);
Line 8699... Line 8774...
8699
      processMap.put("getAllAttributesForOrderId", new getAllAttributesForOrderId());
8774
      processMap.put("getAllAttributesForOrderId", new getAllAttributesForOrderId());
8700
      processMap.put("setOrderAttributes", new setOrderAttributes());
8775
      processMap.put("setOrderAttributes", new setOrderAttributes());
8701
      processMap.put("setOrderAttributeForTransaction", new setOrderAttributeForTransaction());
8776
      processMap.put("setOrderAttributeForTransaction", new setOrderAttributeForTransaction());
8702
      processMap.put("getReceivePendingOrders", new getReceivePendingOrders());
8777
      processMap.put("getReceivePendingOrders", new getReceivePendingOrders());
8703
      processMap.put("getReceivedAtStoreOrders", new getReceivedAtStoreOrders());
8778
      processMap.put("getReceivedAtStoreOrders", new getReceivedAtStoreOrders());
-
 
8779
      processMap.put("getOrdersCollectionAtStore", new getOrdersCollectionAtStore());
8704
      processMap.put("acceptOrderForItem", new acceptOrderForItem());
8780
      processMap.put("acceptOrderForItem", new acceptOrderForItem());
8705
      return processMap;
8781
      return processMap;
8706
    }
8782
    }
8707
 
8783
 
8708
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
8784
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
Line 9432... Line 9508...
9432
      }
9508
      }
9433
 
9509
 
9434
      protected markOrdersAsReturnedFromStore_result getResult(I iface, markOrdersAsReturnedFromStore_args args) throws org.apache.thrift.TException {
9510
      protected markOrdersAsReturnedFromStore_result getResult(I iface, markOrdersAsReturnedFromStore_args args) throws org.apache.thrift.TException {
9435
        markOrdersAsReturnedFromStore_result result = new markOrdersAsReturnedFromStore_result();
9511
        markOrdersAsReturnedFromStore_result result = new markOrdersAsReturnedFromStore_result();
9436
        try {
9512
        try {
9437
          result.success = iface.markOrdersAsReturnedFromStore(args.providerId, args.orderIds);
9513
          result.success = iface.markOrdersAsReturnedFromStore(args.providerId, args.orderIds, args.awbs);
9438
          result.setSuccessIsSet(true);
9514
          result.setSuccessIsSet(true);
9439
        } catch (TransactionServiceException ex) {
9515
        } catch (TransactionServiceException ex) {
9440
          result.ex = ex;
9516
          result.ex = ex;
9441
        }
9517
        }
9442
        return result;
9518
        return result;
Line 11049... Line 11125...
11049
        result.success = iface.getReceivedAtStoreOrders(args.storeId);
11125
        result.success = iface.getReceivedAtStoreOrders(args.storeId);
11050
        return result;
11126
        return result;
11051
      }
11127
      }
11052
    }
11128
    }
11053
 
11129
 
-
 
11130
    private static class getOrdersCollectionAtStore<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrdersCollectionAtStore_args> {
-
 
11131
      public getOrdersCollectionAtStore() {
-
 
11132
        super("getOrdersCollectionAtStore");
-
 
11133
      }
-
 
11134
 
-
 
11135
      protected getOrdersCollectionAtStore_args getEmptyArgsInstance() {
-
 
11136
        return new getOrdersCollectionAtStore_args();
-
 
11137
      }
-
 
11138
 
-
 
11139
      protected getOrdersCollectionAtStore_result getResult(I iface, getOrdersCollectionAtStore_args args) throws org.apache.thrift.TException {
-
 
11140
        getOrdersCollectionAtStore_result result = new getOrdersCollectionAtStore_result();
-
 
11141
        result.success = iface.getOrdersCollectionAtStore(args.storeId, args.fromDate, args.toDate, args.onlyCod);
-
 
11142
        return result;
-
 
11143
      }
-
 
11144
    }
-
 
11145
 
11054
    private static class acceptOrderForItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, acceptOrderForItem_args> {
11146
    private static class acceptOrderForItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, acceptOrderForItem_args> {
11055
      public acceptOrderForItem() {
11147
      public acceptOrderForItem() {
11056
        super("acceptOrderForItem");
11148
        super("acceptOrderForItem");
11057
      }
11149
      }
11058
 
11150
 
Line 39892... Line 39984...
39892
  public static class markOrdersAsReturnedFromStore_args implements org.apache.thrift.TBase<markOrdersAsReturnedFromStore_args, markOrdersAsReturnedFromStore_args._Fields>, java.io.Serializable, Cloneable   {
39984
  public static class markOrdersAsReturnedFromStore_args implements org.apache.thrift.TBase<markOrdersAsReturnedFromStore_args, markOrdersAsReturnedFromStore_args._Fields>, java.io.Serializable, Cloneable   {
39893
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrdersAsReturnedFromStore_args");
39985
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrdersAsReturnedFromStore_args");
39894
 
39986
 
39895
    private static final org.apache.thrift.protocol.TField PROVIDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("providerId", org.apache.thrift.protocol.TType.I64, (short)1);
39987
    private static final org.apache.thrift.protocol.TField PROVIDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("providerId", org.apache.thrift.protocol.TType.I64, (short)1);
39896
    private static final org.apache.thrift.protocol.TField ORDER_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("orderIds", org.apache.thrift.protocol.TType.LIST, (short)2);
39988
    private static final org.apache.thrift.protocol.TField ORDER_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("orderIds", org.apache.thrift.protocol.TType.LIST, (short)2);
-
 
39989
    private static final org.apache.thrift.protocol.TField AWBS_FIELD_DESC = new org.apache.thrift.protocol.TField("awbs", org.apache.thrift.protocol.TType.LIST, (short)3);
39897
 
39990
 
39898
    private long providerId; // required
39991
    private long providerId; // required
39899
    private List<Long> orderIds; // required
39992
    private List<Long> orderIds; // required
-
 
39993
    private List<String> awbs; // required
39900
 
39994
 
39901
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
39995
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
39902
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
39996
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
39903
      PROVIDER_ID((short)1, "providerId"),
39997
      PROVIDER_ID((short)1, "providerId"),
39904
      ORDER_IDS((short)2, "orderIds");
39998
      ORDER_IDS((short)2, "orderIds"),
-
 
39999
      AWBS((short)3, "awbs");
39905
 
40000
 
39906
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
40001
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
39907
 
40002
 
39908
      static {
40003
      static {
39909
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
40004
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 39918... Line 40013...
39918
        switch(fieldId) {
40013
        switch(fieldId) {
39919
          case 1: // PROVIDER_ID
40014
          case 1: // PROVIDER_ID
39920
            return PROVIDER_ID;
40015
            return PROVIDER_ID;
39921
          case 2: // ORDER_IDS
40016
          case 2: // ORDER_IDS
39922
            return ORDER_IDS;
40017
            return ORDER_IDS;
-
 
40018
          case 3: // AWBS
-
 
40019
            return AWBS;
39923
          default:
40020
          default:
39924
            return null;
40021
            return null;
39925
        }
40022
        }
39926
      }
40023
      }
39927
 
40024
 
Line 39969... Line 40066...
39969
      tmpMap.put(_Fields.PROVIDER_ID, new org.apache.thrift.meta_data.FieldMetaData("providerId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
40066
      tmpMap.put(_Fields.PROVIDER_ID, new org.apache.thrift.meta_data.FieldMetaData("providerId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
39970
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
40067
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
39971
      tmpMap.put(_Fields.ORDER_IDS, new org.apache.thrift.meta_data.FieldMetaData("orderIds", org.apache.thrift.TFieldRequirementType.DEFAULT, 
40068
      tmpMap.put(_Fields.ORDER_IDS, new org.apache.thrift.meta_data.FieldMetaData("orderIds", org.apache.thrift.TFieldRequirementType.DEFAULT, 
39972
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
40069
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
39973
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
40070
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
40071
      tmpMap.put(_Fields.AWBS, new org.apache.thrift.meta_data.FieldMetaData("awbs", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
40072
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
40073
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
39974
      metaDataMap = Collections.unmodifiableMap(tmpMap);
40074
      metaDataMap = Collections.unmodifiableMap(tmpMap);
39975
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrdersAsReturnedFromStore_args.class, metaDataMap);
40075
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrdersAsReturnedFromStore_args.class, metaDataMap);
39976
    }
40076
    }
39977
 
40077
 
39978
    public markOrdersAsReturnedFromStore_args() {
40078
    public markOrdersAsReturnedFromStore_args() {
39979
    }
40079
    }
39980
 
40080
 
39981
    public markOrdersAsReturnedFromStore_args(
40081
    public markOrdersAsReturnedFromStore_args(
39982
      long providerId,
40082
      long providerId,
39983
      List<Long> orderIds)
40083
      List<Long> orderIds,
-
 
40084
      List<String> awbs)
39984
    {
40085
    {
39985
      this();
40086
      this();
39986
      this.providerId = providerId;
40087
      this.providerId = providerId;
39987
      setProviderIdIsSet(true);
40088
      setProviderIdIsSet(true);
39988
      this.orderIds = orderIds;
40089
      this.orderIds = orderIds;
-
 
40090
      this.awbs = awbs;
39989
    }
40091
    }
39990
 
40092
 
39991
    /**
40093
    /**
39992
     * Performs a deep copy on <i>other</i>.
40094
     * Performs a deep copy on <i>other</i>.
39993
     */
40095
     */
Line 40000... Line 40102...
40000
        for (Long other_element : other.orderIds) {
40102
        for (Long other_element : other.orderIds) {
40001
          __this__orderIds.add(other_element);
40103
          __this__orderIds.add(other_element);
40002
        }
40104
        }
40003
        this.orderIds = __this__orderIds;
40105
        this.orderIds = __this__orderIds;
40004
      }
40106
      }
-
 
40107
      if (other.isSetAwbs()) {
-
 
40108
        List<String> __this__awbs = new ArrayList<String>();
-
 
40109
        for (String other_element : other.awbs) {
-
 
40110
          __this__awbs.add(other_element);
-
 
40111
        }
-
 
40112
        this.awbs = __this__awbs;
-
 
40113
      }
40005
    }
40114
    }
40006
 
40115
 
40007
    public markOrdersAsReturnedFromStore_args deepCopy() {
40116
    public markOrdersAsReturnedFromStore_args deepCopy() {
40008
      return new markOrdersAsReturnedFromStore_args(this);
40117
      return new markOrdersAsReturnedFromStore_args(this);
40009
    }
40118
    }
Line 40011... Line 40120...
40011
    @Override
40120
    @Override
40012
    public void clear() {
40121
    public void clear() {
40013
      setProviderIdIsSet(false);
40122
      setProviderIdIsSet(false);
40014
      this.providerId = 0;
40123
      this.providerId = 0;
40015
      this.orderIds = null;
40124
      this.orderIds = null;
-
 
40125
      this.awbs = null;
40016
    }
40126
    }
40017
 
40127
 
40018
    public long getProviderId() {
40128
    public long getProviderId() {
40019
      return this.providerId;
40129
      return this.providerId;
40020
    }
40130
    }
Line 40073... Line 40183...
40073
      if (!value) {
40183
      if (!value) {
40074
        this.orderIds = null;
40184
        this.orderIds = null;
40075
      }
40185
      }
40076
    }
40186
    }
40077
 
40187
 
-
 
40188
    public int getAwbsSize() {
-
 
40189
      return (this.awbs == null) ? 0 : this.awbs.size();
-
 
40190
    }
-
 
40191
 
-
 
40192
    public java.util.Iterator<String> getAwbsIterator() {
-
 
40193
      return (this.awbs == null) ? null : this.awbs.iterator();
-
 
40194
    }
-
 
40195
 
-
 
40196
    public void addToAwbs(String elem) {
-
 
40197
      if (this.awbs == null) {
-
 
40198
        this.awbs = new ArrayList<String>();
-
 
40199
      }
-
 
40200
      this.awbs.add(elem);
-
 
40201
    }
-
 
40202
 
-
 
40203
    public List<String> getAwbs() {
-
 
40204
      return this.awbs;
-
 
40205
    }
-
 
40206
 
-
 
40207
    public void setAwbs(List<String> awbs) {
-
 
40208
      this.awbs = awbs;
-
 
40209
    }
-
 
40210
 
-
 
40211
    public void unsetAwbs() {
-
 
40212
      this.awbs = null;
-
 
40213
    }
-
 
40214
 
-
 
40215
    /** Returns true if field awbs is set (has been assigned a value) and false otherwise */
-
 
40216
    public boolean isSetAwbs() {
-
 
40217
      return this.awbs != null;
-
 
40218
    }
-
 
40219
 
-
 
40220
    public void setAwbsIsSet(boolean value) {
-
 
40221
      if (!value) {
-
 
40222
        this.awbs = null;
-
 
40223
      }
-
 
40224
    }
-
 
40225
 
40078
    public void setFieldValue(_Fields field, Object value) {
40226
    public void setFieldValue(_Fields field, Object value) {
40079
      switch (field) {
40227
      switch (field) {
40080
      case PROVIDER_ID:
40228
      case PROVIDER_ID:
40081
        if (value == null) {
40229
        if (value == null) {
40082
          unsetProviderId();
40230
          unsetProviderId();
Line 40091... Line 40239...
40091
        } else {
40239
        } else {
40092
          setOrderIds((List<Long>)value);
40240
          setOrderIds((List<Long>)value);
40093
        }
40241
        }
40094
        break;
40242
        break;
40095
 
40243
 
-
 
40244
      case AWBS:
-
 
40245
        if (value == null) {
-
 
40246
          unsetAwbs();
-
 
40247
        } else {
-
 
40248
          setAwbs((List<String>)value);
-
 
40249
        }
-
 
40250
        break;
-
 
40251
 
40096
      }
40252
      }
40097
    }
40253
    }
40098
 
40254
 
40099
    public Object getFieldValue(_Fields field) {
40255
    public Object getFieldValue(_Fields field) {
40100
      switch (field) {
40256
      switch (field) {
Line 40102... Line 40258...
40102
        return Long.valueOf(getProviderId());
40258
        return Long.valueOf(getProviderId());
40103
 
40259
 
40104
      case ORDER_IDS:
40260
      case ORDER_IDS:
40105
        return getOrderIds();
40261
        return getOrderIds();
40106
 
40262
 
-
 
40263
      case AWBS:
-
 
40264
        return getAwbs();
-
 
40265
 
40107
      }
40266
      }
40108
      throw new IllegalStateException();
40267
      throw new IllegalStateException();
40109
    }
40268
    }
40110
 
40269
 
40111
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
40270
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 40117... Line 40276...
40117
      switch (field) {
40276
      switch (field) {
40118
      case PROVIDER_ID:
40277
      case PROVIDER_ID:
40119
        return isSetProviderId();
40278
        return isSetProviderId();
40120
      case ORDER_IDS:
40279
      case ORDER_IDS:
40121
        return isSetOrderIds();
40280
        return isSetOrderIds();
-
 
40281
      case AWBS:
-
 
40282
        return isSetAwbs();
40122
      }
40283
      }
40123
      throw new IllegalStateException();
40284
      throw new IllegalStateException();
40124
    }
40285
    }
40125
 
40286
 
40126
    @Override
40287
    @Override
Line 40152... Line 40313...
40152
          return false;
40313
          return false;
40153
        if (!this.orderIds.equals(that.orderIds))
40314
        if (!this.orderIds.equals(that.orderIds))
40154
          return false;
40315
          return false;
40155
      }
40316
      }
40156
 
40317
 
-
 
40318
      boolean this_present_awbs = true && this.isSetAwbs();
-
 
40319
      boolean that_present_awbs = true && that.isSetAwbs();
-
 
40320
      if (this_present_awbs || that_present_awbs) {
-
 
40321
        if (!(this_present_awbs && that_present_awbs))
-
 
40322
          return false;
-
 
40323
        if (!this.awbs.equals(that.awbs))
-
 
40324
          return false;
-
 
40325
      }
-
 
40326
 
40157
      return true;
40327
      return true;
40158
    }
40328
    }
40159
 
40329
 
40160
    @Override
40330
    @Override
40161
    public int hashCode() {
40331
    public int hashCode() {
Line 40188... Line 40358...
40188
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderIds, typedOther.orderIds);
40358
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderIds, typedOther.orderIds);
40189
        if (lastComparison != 0) {
40359
        if (lastComparison != 0) {
40190
          return lastComparison;
40360
          return lastComparison;
40191
        }
40361
        }
40192
      }
40362
      }
-
 
40363
      lastComparison = Boolean.valueOf(isSetAwbs()).compareTo(typedOther.isSetAwbs());
-
 
40364
      if (lastComparison != 0) {
-
 
40365
        return lastComparison;
-
 
40366
      }
-
 
40367
      if (isSetAwbs()) {
-
 
40368
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.awbs, typedOther.awbs);
-
 
40369
        if (lastComparison != 0) {
-
 
40370
          return lastComparison;
-
 
40371
        }
-
 
40372
      }
40193
      return 0;
40373
      return 0;
40194
    }
40374
    }
40195
 
40375
 
40196
    public _Fields fieldForId(int fieldId) {
40376
    public _Fields fieldForId(int fieldId) {
40197
      return _Fields.findByThriftId(fieldId);
40377
      return _Fields.findByThriftId(fieldId);
Line 40230... Line 40410...
40230
              }
40410
              }
40231
            } else { 
40411
            } else { 
40232
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40412
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40233
            }
40413
            }
40234
            break;
40414
            break;
-
 
40415
          case 3: // AWBS
-
 
40416
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
40417
              {
-
 
40418
                org.apache.thrift.protocol.TList _list143 = iprot.readListBegin();
-
 
40419
                this.awbs = new ArrayList<String>(_list143.size);
-
 
40420
                for (int _i144 = 0; _i144 < _list143.size; ++_i144)
-
 
40421
                {
-
 
40422
                  String _elem145; // required
-
 
40423
                  _elem145 = iprot.readString();
-
 
40424
                  this.awbs.add(_elem145);
-
 
40425
                }
-
 
40426
                iprot.readListEnd();
-
 
40427
              }
-
 
40428
            } else { 
-
 
40429
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
40430
            }
-
 
40431
            break;
40235
          default:
40432
          default:
40236
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40433
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40237
        }
40434
        }
40238
        iprot.readFieldEnd();
40435
        iprot.readFieldEnd();
40239
      }
40436
      }
Line 40250... Line 40447...
40250
      oprot.writeFieldEnd();
40447
      oprot.writeFieldEnd();
40251
      if (this.orderIds != null) {
40448
      if (this.orderIds != null) {
40252
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
40449
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
40253
        {
40450
        {
40254
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
40451
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
40255
          for (long _iter143 : this.orderIds)
40452
          for (long _iter146 : this.orderIds)
40256
          {
40453
          {
40257
            oprot.writeI64(_iter143);
40454
            oprot.writeI64(_iter146);
-
 
40455
          }
-
 
40456
          oprot.writeListEnd();
-
 
40457
        }
-
 
40458
        oprot.writeFieldEnd();
-
 
40459
      }
-
 
40460
      if (this.awbs != null) {
-
 
40461
        oprot.writeFieldBegin(AWBS_FIELD_DESC);
-
 
40462
        {
-
 
40463
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.awbs.size()));
-
 
40464
          for (String _iter147 : this.awbs)
-
 
40465
          {
-
 
40466
            oprot.writeString(_iter147);
40258
          }
40467
          }
40259
          oprot.writeListEnd();
40468
          oprot.writeListEnd();
40260
        }
40469
        }
40261
        oprot.writeFieldEnd();
40470
        oprot.writeFieldEnd();
40262
      }
40471
      }
Line 40278... Line 40487...
40278
        sb.append("null");
40487
        sb.append("null");
40279
      } else {
40488
      } else {
40280
        sb.append(this.orderIds);
40489
        sb.append(this.orderIds);
40281
      }
40490
      }
40282
      first = false;
40491
      first = false;
-
 
40492
      if (!first) sb.append(", ");
-
 
40493
      sb.append("awbs:");
-
 
40494
      if (this.awbs == null) {
-
 
40495
        sb.append("null");
-
 
40496
      } else {
-
 
40497
        sb.append(this.awbs);
-
 
40498
      }
-
 
40499
      first = false;
40283
      sb.append(")");
40500
      sb.append(")");
40284
      return sb.toString();
40501
      return sb.toString();
40285
    }
40502
    }
40286
 
40503
 
40287
    public void validate() throws org.apache.thrift.TException {
40504
    public void validate() throws org.apache.thrift.TException {
Line 41021... Line 41238...
41021
            }
41238
            }
41022
            break;
41239
            break;
41023
          case 2: // PICKUP_DETAILS
41240
          case 2: // PICKUP_DETAILS
41024
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
41241
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
41025
              {
41242
              {
41026
                org.apache.thrift.protocol.TMap _map144 = iprot.readMapBegin();
41243
                org.apache.thrift.protocol.TMap _map148 = iprot.readMapBegin();
41027
                this.pickupDetails = new HashMap<String,String>(2*_map144.size);
41244
                this.pickupDetails = new HashMap<String,String>(2*_map148.size);
41028
                for (int _i145 = 0; _i145 < _map144.size; ++_i145)
41245
                for (int _i149 = 0; _i149 < _map148.size; ++_i149)
41029
                {
41246
                {
41030
                  String _key146; // required
41247
                  String _key150; // required
41031
                  String _val147; // required
41248
                  String _val151; // required
41032
                  _key146 = iprot.readString();
41249
                  _key150 = iprot.readString();
41033
                  _val147 = iprot.readString();
41250
                  _val151 = iprot.readString();
41034
                  this.pickupDetails.put(_key146, _val147);
41251
                  this.pickupDetails.put(_key150, _val151);
41035
                }
41252
                }
41036
                iprot.readMapEnd();
41253
                iprot.readMapEnd();
41037
              }
41254
              }
41038
            } else { 
41255
            } else { 
41039
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41256
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41057... Line 41274...
41057
      oprot.writeFieldEnd();
41274
      oprot.writeFieldEnd();
41058
      if (this.pickupDetails != null) {
41275
      if (this.pickupDetails != null) {
41059
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
41276
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
41060
        {
41277
        {
41061
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
41278
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
41062
          for (Map.Entry<String, String> _iter148 : this.pickupDetails.entrySet())
41279
          for (Map.Entry<String, String> _iter152 : this.pickupDetails.entrySet())
41063
          {
41280
          {
41064
            oprot.writeString(_iter148.getKey());
41281
            oprot.writeString(_iter152.getKey());
41065
            oprot.writeString(_iter148.getValue());
41282
            oprot.writeString(_iter152.getValue());
41066
          }
41283
          }
41067
          oprot.writeMapEnd();
41284
          oprot.writeMapEnd();
41068
        }
41285
        }
41069
        oprot.writeFieldEnd();
41286
        oprot.writeFieldEnd();
41070
      }
41287
      }
Line 41950... Line 42167...
41950
        }
42167
        }
41951
        switch (field.id) {
42168
        switch (field.id) {
41952
          case 0: // SUCCESS
42169
          case 0: // SUCCESS
41953
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42170
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41954
              {
42171
              {
41955
                org.apache.thrift.protocol.TList _list149 = iprot.readListBegin();
42172
                org.apache.thrift.protocol.TList _list153 = iprot.readListBegin();
41956
                this.success = new ArrayList<Order>(_list149.size);
42173
                this.success = new ArrayList<Order>(_list153.size);
41957
                for (int _i150 = 0; _i150 < _list149.size; ++_i150)
42174
                for (int _i154 = 0; _i154 < _list153.size; ++_i154)
41958
                {
42175
                {
41959
                  Order _elem151; // required
42176
                  Order _elem155; // required
41960
                  _elem151 = new Order();
42177
                  _elem155 = new Order();
41961
                  _elem151.read(iprot);
42178
                  _elem155.read(iprot);
41962
                  this.success.add(_elem151);
42179
                  this.success.add(_elem155);
41963
                }
42180
                }
41964
                iprot.readListEnd();
42181
                iprot.readListEnd();
41965
              }
42182
              }
41966
            } else { 
42183
            } else { 
41967
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42184
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41981... Line 42198...
41981
 
42198
 
41982
      if (this.isSetSuccess()) {
42199
      if (this.isSetSuccess()) {
41983
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42200
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41984
        {
42201
        {
41985
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42202
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41986
          for (Order _iter152 : this.success)
42203
          for (Order _iter156 : this.success)
41987
          {
42204
          {
41988
            _iter152.write(oprot);
42205
            _iter156.write(oprot);
41989
          }
42206
          }
41990
          oprot.writeListEnd();
42207
          oprot.writeListEnd();
41991
        }
42208
        }
41992
        oprot.writeFieldEnd();
42209
        oprot.writeFieldEnd();
41993
      }
42210
      }
Line 42365... Line 42582...
42365
            }
42582
            }
42366
            break;
42583
            break;
42367
          case 2: // DELIVERED_ORDERS
42584
          case 2: // DELIVERED_ORDERS
42368
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
42585
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
42369
              {
42586
              {
42370
                org.apache.thrift.protocol.TMap _map153 = iprot.readMapBegin();
42587
                org.apache.thrift.protocol.TMap _map157 = iprot.readMapBegin();
42371
                this.deliveredOrders = new HashMap<String,String>(2*_map153.size);
42588
                this.deliveredOrders = new HashMap<String,String>(2*_map157.size);
42372
                for (int _i154 = 0; _i154 < _map153.size; ++_i154)
42589
                for (int _i158 = 0; _i158 < _map157.size; ++_i158)
42373
                {
42590
                {
42374
                  String _key155; // required
42591
                  String _key159; // required
42375
                  String _val156; // required
42592
                  String _val160; // required
42376
                  _key155 = iprot.readString();
42593
                  _key159 = iprot.readString();
42377
                  _val156 = iprot.readString();
42594
                  _val160 = iprot.readString();
42378
                  this.deliveredOrders.put(_key155, _val156);
42595
                  this.deliveredOrders.put(_key159, _val160);
42379
                }
42596
                }
42380
                iprot.readMapEnd();
42597
                iprot.readMapEnd();
42381
              }
42598
              }
42382
            } else { 
42599
            } else { 
42383
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42600
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42401... Line 42618...
42401
      oprot.writeFieldEnd();
42618
      oprot.writeFieldEnd();
42402
      if (this.deliveredOrders != null) {
42619
      if (this.deliveredOrders != null) {
42403
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
42620
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
42404
        {
42621
        {
42405
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.deliveredOrders.size()));
42622
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.deliveredOrders.size()));
42406
          for (Map.Entry<String, String> _iter157 : this.deliveredOrders.entrySet())
42623
          for (Map.Entry<String, String> _iter161 : this.deliveredOrders.entrySet())
42407
          {
42624
          {
42408
            oprot.writeString(_iter157.getKey());
42625
            oprot.writeString(_iter161.getKey());
42409
            oprot.writeString(_iter157.getValue());
42626
            oprot.writeString(_iter161.getValue());
42410
          }
42627
          }
42411
          oprot.writeMapEnd();
42628
          oprot.writeMapEnd();
42412
        }
42629
        }
42413
        oprot.writeFieldEnd();
42630
        oprot.writeFieldEnd();
42414
      }
42631
      }
Line 43084... Line 43301...
43084
            }
43301
            }
43085
            break;
43302
            break;
43086
          case 2: // RETURNED_ORDERS
43303
          case 2: // RETURNED_ORDERS
43087
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
43304
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
43088
              {
43305
              {
43089
                org.apache.thrift.protocol.TMap _map158 = iprot.readMapBegin();
43306
                org.apache.thrift.protocol.TMap _map162 = iprot.readMapBegin();
43090
                this.returnedOrders = new HashMap<String,String>(2*_map158.size);
43307
                this.returnedOrders = new HashMap<String,String>(2*_map162.size);
43091
                for (int _i159 = 0; _i159 < _map158.size; ++_i159)
43308
                for (int _i163 = 0; _i163 < _map162.size; ++_i163)
43092
                {
43309
                {
43093
                  String _key160; // required
43310
                  String _key164; // required
43094
                  String _val161; // required
43311
                  String _val165; // required
43095
                  _key160 = iprot.readString();
43312
                  _key164 = iprot.readString();
43096
                  _val161 = iprot.readString();
43313
                  _val165 = iprot.readString();
43097
                  this.returnedOrders.put(_key160, _val161);
43314
                  this.returnedOrders.put(_key164, _val165);
43098
                }
43315
                }
43099
                iprot.readMapEnd();
43316
                iprot.readMapEnd();
43100
              }
43317
              }
43101
            } else { 
43318
            } else { 
43102
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43319
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 43120... Line 43337...
43120
      oprot.writeFieldEnd();
43337
      oprot.writeFieldEnd();
43121
      if (this.returnedOrders != null) {
43338
      if (this.returnedOrders != null) {
43122
        oprot.writeFieldBegin(RETURNED_ORDERS_FIELD_DESC);
43339
        oprot.writeFieldBegin(RETURNED_ORDERS_FIELD_DESC);
43123
        {
43340
        {
43124
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.returnedOrders.size()));
43341
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.returnedOrders.size()));
43125
          for (Map.Entry<String, String> _iter162 : this.returnedOrders.entrySet())
43342
          for (Map.Entry<String, String> _iter166 : this.returnedOrders.entrySet())
43126
          {
43343
          {
43127
            oprot.writeString(_iter162.getKey());
43344
            oprot.writeString(_iter166.getKey());
43128
            oprot.writeString(_iter162.getValue());
43345
            oprot.writeString(_iter166.getValue());
43129
          }
43346
          }
43130
          oprot.writeMapEnd();
43347
          oprot.writeMapEnd();
43131
        }
43348
        }
43132
        oprot.writeFieldEnd();
43349
        oprot.writeFieldEnd();
43133
      }
43350
      }
Line 44013... Line 44230...
44013
        }
44230
        }
44014
        switch (field.id) {
44231
        switch (field.id) {
44015
          case 0: // SUCCESS
44232
          case 0: // SUCCESS
44016
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44233
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44017
              {
44234
              {
44018
                org.apache.thrift.protocol.TList _list163 = iprot.readListBegin();
44235
                org.apache.thrift.protocol.TList _list167 = iprot.readListBegin();
44019
                this.success = new ArrayList<Order>(_list163.size);
44236
                this.success = new ArrayList<Order>(_list167.size);
44020
                for (int _i164 = 0; _i164 < _list163.size; ++_i164)
44237
                for (int _i168 = 0; _i168 < _list167.size; ++_i168)
44021
                {
44238
                {
44022
                  Order _elem165; // required
44239
                  Order _elem169; // required
44023
                  _elem165 = new Order();
44240
                  _elem169 = new Order();
44024
                  _elem165.read(iprot);
44241
                  _elem169.read(iprot);
44025
                  this.success.add(_elem165);
44242
                  this.success.add(_elem169);
44026
                }
44243
                }
44027
                iprot.readListEnd();
44244
                iprot.readListEnd();
44028
              }
44245
              }
44029
            } else { 
44246
            } else { 
44030
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44247
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44044... Line 44261...
44044
 
44261
 
44045
      if (this.isSetSuccess()) {
44262
      if (this.isSetSuccess()) {
44046
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44263
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44047
        {
44264
        {
44048
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
44265
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
44049
          for (Order _iter166 : this.success)
44266
          for (Order _iter170 : this.success)
44050
          {
44267
          {
44051
            _iter166.write(oprot);
44268
            _iter170.write(oprot);
44052
          }
44269
          }
44053
          oprot.writeListEnd();
44270
          oprot.writeListEnd();
44054
        }
44271
        }
44055
        oprot.writeFieldEnd();
44272
        oprot.writeFieldEnd();
44056
      }
44273
      }
Line 44428... Line 44645...
44428
            }
44645
            }
44429
            break;
44646
            break;
44430
          case 2: // UNDELIVERED_ORDERS
44647
          case 2: // UNDELIVERED_ORDERS
44431
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
44648
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
44432
              {
44649
              {
44433
                org.apache.thrift.protocol.TMap _map167 = iprot.readMapBegin();
44650
                org.apache.thrift.protocol.TMap _map171 = iprot.readMapBegin();
44434
                this.undeliveredOrders = new HashMap<String,String>(2*_map167.size);
44651
                this.undeliveredOrders = new HashMap<String,String>(2*_map171.size);
44435
                for (int _i168 = 0; _i168 < _map167.size; ++_i168)
44652
                for (int _i172 = 0; _i172 < _map171.size; ++_i172)
44436
                {
44653
                {
44437
                  String _key169; // required
44654
                  String _key173; // required
44438
                  String _val170; // required
44655
                  String _val174; // required
44439
                  _key169 = iprot.readString();
44656
                  _key173 = iprot.readString();
44440
                  _val170 = iprot.readString();
44657
                  _val174 = iprot.readString();
44441
                  this.undeliveredOrders.put(_key169, _val170);
44658
                  this.undeliveredOrders.put(_key173, _val174);
44442
                }
44659
                }
44443
                iprot.readMapEnd();
44660
                iprot.readMapEnd();
44444
              }
44661
              }
44445
            } else { 
44662
            } else { 
44446
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44663
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44464... Line 44681...
44464
      oprot.writeFieldEnd();
44681
      oprot.writeFieldEnd();
44465
      if (this.undeliveredOrders != null) {
44682
      if (this.undeliveredOrders != null) {
44466
        oprot.writeFieldBegin(UNDELIVERED_ORDERS_FIELD_DESC);
44683
        oprot.writeFieldBegin(UNDELIVERED_ORDERS_FIELD_DESC);
44467
        {
44684
        {
44468
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.undeliveredOrders.size()));
44685
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.undeliveredOrders.size()));
44469
          for (Map.Entry<String, String> _iter171 : this.undeliveredOrders.entrySet())
44686
          for (Map.Entry<String, String> _iter175 : this.undeliveredOrders.entrySet())
44470
          {
44687
          {
44471
            oprot.writeString(_iter171.getKey());
44688
            oprot.writeString(_iter175.getKey());
44472
            oprot.writeString(_iter171.getValue());
44689
            oprot.writeString(_iter175.getValue());
44473
          }
44690
          }
44474
          oprot.writeMapEnd();
44691
          oprot.writeMapEnd();
44475
        }
44692
        }
44476
        oprot.writeFieldEnd();
44693
        oprot.writeFieldEnd();
44477
      }
44694
      }
Line 45357... Line 45574...
45357
        }
45574
        }
45358
        switch (field.id) {
45575
        switch (field.id) {
45359
          case 0: // SUCCESS
45576
          case 0: // SUCCESS
45360
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45577
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45361
              {
45578
              {
45362
                org.apache.thrift.protocol.TList _list172 = iprot.readListBegin();
45579
                org.apache.thrift.protocol.TList _list176 = iprot.readListBegin();
45363
                this.success = new ArrayList<Order>(_list172.size);
45580
                this.success = new ArrayList<Order>(_list176.size);
45364
                for (int _i173 = 0; _i173 < _list172.size; ++_i173)
45581
                for (int _i177 = 0; _i177 < _list176.size; ++_i177)
45365
                {
45582
                {
45366
                  Order _elem174; // required
45583
                  Order _elem178; // required
45367
                  _elem174 = new Order();
45584
                  _elem178 = new Order();
45368
                  _elem174.read(iprot);
45585
                  _elem178.read(iprot);
45369
                  this.success.add(_elem174);
45586
                  this.success.add(_elem178);
45370
                }
45587
                }
45371
                iprot.readListEnd();
45588
                iprot.readListEnd();
45372
              }
45589
              }
45373
            } else { 
45590
            } else { 
45374
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45591
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 45388... Line 45605...
45388
 
45605
 
45389
      if (this.isSetSuccess()) {
45606
      if (this.isSetSuccess()) {
45390
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45607
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45391
        {
45608
        {
45392
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45609
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45393
          for (Order _iter175 : this.success)
45610
          for (Order _iter179 : this.success)
45394
          {
45611
          {
45395
            _iter175.write(oprot);
45612
            _iter179.write(oprot);
45396
          }
45613
          }
45397
          oprot.writeListEnd();
45614
          oprot.writeListEnd();
45398
        }
45615
        }
45399
        oprot.writeFieldEnd();
45616
        oprot.writeFieldEnd();
45400
      }
45617
      }
Line 45772... Line 45989...
45772
            }
45989
            }
45773
            break;
45990
            break;
45774
          case 2: // LOCAL_CONNECTED_ORDERS
45991
          case 2: // LOCAL_CONNECTED_ORDERS
45775
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
45992
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
45776
              {
45993
              {
45777
                org.apache.thrift.protocol.TMap _map176 = iprot.readMapBegin();
45994
                org.apache.thrift.protocol.TMap _map180 = iprot.readMapBegin();
45778
                this.local_connected_orders = new HashMap<String,String>(2*_map176.size);
45995
                this.local_connected_orders = new HashMap<String,String>(2*_map180.size);
45779
                for (int _i177 = 0; _i177 < _map176.size; ++_i177)
45996
                for (int _i181 = 0; _i181 < _map180.size; ++_i181)
45780
                {
45997
                {
45781
                  String _key178; // required
45998
                  String _key182; // required
45782
                  String _val179; // required
45999
                  String _val183; // required
45783
                  _key178 = iprot.readString();
46000
                  _key182 = iprot.readString();
45784
                  _val179 = iprot.readString();
46001
                  _val183 = iprot.readString();
45785
                  this.local_connected_orders.put(_key178, _val179);
46002
                  this.local_connected_orders.put(_key182, _val183);
45786
                }
46003
                }
45787
                iprot.readMapEnd();
46004
                iprot.readMapEnd();
45788
              }
46005
              }
45789
            } else { 
46006
            } else { 
45790
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46007
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 45808... Line 46025...
45808
      oprot.writeFieldEnd();
46025
      oprot.writeFieldEnd();
45809
      if (this.local_connected_orders != null) {
46026
      if (this.local_connected_orders != null) {
45810
        oprot.writeFieldBegin(LOCAL_CONNECTED_ORDERS_FIELD_DESC);
46027
        oprot.writeFieldBegin(LOCAL_CONNECTED_ORDERS_FIELD_DESC);
45811
        {
46028
        {
45812
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.local_connected_orders.size()));
46029
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.local_connected_orders.size()));
45813
          for (Map.Entry<String, String> _iter180 : this.local_connected_orders.entrySet())
46030
          for (Map.Entry<String, String> _iter184 : this.local_connected_orders.entrySet())
45814
          {
46031
          {
45815
            oprot.writeString(_iter180.getKey());
46032
            oprot.writeString(_iter184.getKey());
45816
            oprot.writeString(_iter180.getValue());
46033
            oprot.writeString(_iter184.getValue());
45817
          }
46034
          }
45818
          oprot.writeMapEnd();
46035
          oprot.writeMapEnd();
45819
        }
46036
        }
45820
        oprot.writeFieldEnd();
46037
        oprot.writeFieldEnd();
45821
      }
46038
      }
Line 46701... Line 46918...
46701
        }
46918
        }
46702
        switch (field.id) {
46919
        switch (field.id) {
46703
          case 0: // SUCCESS
46920
          case 0: // SUCCESS
46704
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46921
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46705
              {
46922
              {
46706
                org.apache.thrift.protocol.TList _list181 = iprot.readListBegin();
46923
                org.apache.thrift.protocol.TList _list185 = iprot.readListBegin();
46707
                this.success = new ArrayList<Order>(_list181.size);
46924
                this.success = new ArrayList<Order>(_list185.size);
46708
                for (int _i182 = 0; _i182 < _list181.size; ++_i182)
46925
                for (int _i186 = 0; _i186 < _list185.size; ++_i186)
46709
                {
46926
                {
46710
                  Order _elem183; // required
46927
                  Order _elem187; // required
46711
                  _elem183 = new Order();
46928
                  _elem187 = new Order();
46712
                  _elem183.read(iprot);
46929
                  _elem187.read(iprot);
46713
                  this.success.add(_elem183);
46930
                  this.success.add(_elem187);
46714
                }
46931
                }
46715
                iprot.readListEnd();
46932
                iprot.readListEnd();
46716
              }
46933
              }
46717
            } else { 
46934
            } else { 
46718
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46935
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46732... Line 46949...
46732
 
46949
 
46733
      if (this.isSetSuccess()) {
46950
      if (this.isSetSuccess()) {
46734
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46951
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46735
        {
46952
        {
46736
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46953
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46737
          for (Order _iter184 : this.success)
46954
          for (Order _iter188 : this.success)
46738
          {
46955
          {
46739
            _iter184.write(oprot);
46956
            _iter188.write(oprot);
46740
          }
46957
          }
46741
          oprot.writeListEnd();
46958
          oprot.writeListEnd();
46742
        }
46959
        }
46743
        oprot.writeFieldEnd();
46960
        oprot.writeFieldEnd();
46744
      }
46961
      }
Line 47116... Line 47333...
47116
            }
47333
            }
47117
            break;
47334
            break;
47118
          case 2: // DESTINATION_CITY_REACHED_ORDERS
47335
          case 2: // DESTINATION_CITY_REACHED_ORDERS
47119
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
47336
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
47120
              {
47337
              {
47121
                org.apache.thrift.protocol.TMap _map185 = iprot.readMapBegin();
47338
                org.apache.thrift.protocol.TMap _map189 = iprot.readMapBegin();
47122
                this.destination_city_reached_orders = new HashMap<String,String>(2*_map185.size);
47339
                this.destination_city_reached_orders = new HashMap<String,String>(2*_map189.size);
47123
                for (int _i186 = 0; _i186 < _map185.size; ++_i186)
47340
                for (int _i190 = 0; _i190 < _map189.size; ++_i190)
47124
                {
47341
                {
47125
                  String _key187; // required
47342
                  String _key191; // required
47126
                  String _val188; // required
47343
                  String _val192; // required
47127
                  _key187 = iprot.readString();
47344
                  _key191 = iprot.readString();
47128
                  _val188 = iprot.readString();
47345
                  _val192 = iprot.readString();
47129
                  this.destination_city_reached_orders.put(_key187, _val188);
47346
                  this.destination_city_reached_orders.put(_key191, _val192);
47130
                }
47347
                }
47131
                iprot.readMapEnd();
47348
                iprot.readMapEnd();
47132
              }
47349
              }
47133
            } else { 
47350
            } else { 
47134
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47351
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47152... Line 47369...
47152
      oprot.writeFieldEnd();
47369
      oprot.writeFieldEnd();
47153
      if (this.destination_city_reached_orders != null) {
47370
      if (this.destination_city_reached_orders != null) {
47154
        oprot.writeFieldBegin(DESTINATION_CITY_REACHED_ORDERS_FIELD_DESC);
47371
        oprot.writeFieldBegin(DESTINATION_CITY_REACHED_ORDERS_FIELD_DESC);
47155
        {
47372
        {
47156
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.destination_city_reached_orders.size()));
47373
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.destination_city_reached_orders.size()));
47157
          for (Map.Entry<String, String> _iter189 : this.destination_city_reached_orders.entrySet())
47374
          for (Map.Entry<String, String> _iter193 : this.destination_city_reached_orders.entrySet())
47158
          {
47375
          {
47159
            oprot.writeString(_iter189.getKey());
47376
            oprot.writeString(_iter193.getKey());
47160
            oprot.writeString(_iter189.getValue());
47377
            oprot.writeString(_iter193.getValue());
47161
          }
47378
          }
47162
          oprot.writeMapEnd();
47379
          oprot.writeMapEnd();
47163
        }
47380
        }
47164
        oprot.writeFieldEnd();
47381
        oprot.writeFieldEnd();
47165
      }
47382
      }
Line 47835... Line 48052...
47835
            }
48052
            }
47836
            break;
48053
            break;
47837
          case 2: // FIRST_ATDL_ORDERS
48054
          case 2: // FIRST_ATDL_ORDERS
47838
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
48055
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
47839
              {
48056
              {
47840
                org.apache.thrift.protocol.TMap _map190 = iprot.readMapBegin();
48057
                org.apache.thrift.protocol.TMap _map194 = iprot.readMapBegin();
47841
                this.first_atdl_orders = new HashMap<String,String>(2*_map190.size);
48058
                this.first_atdl_orders = new HashMap<String,String>(2*_map194.size);
47842
                for (int _i191 = 0; _i191 < _map190.size; ++_i191)
48059
                for (int _i195 = 0; _i195 < _map194.size; ++_i195)
47843
                {
48060
                {
47844
                  String _key192; // required
48061
                  String _key196; // required
47845
                  String _val193; // required
48062
                  String _val197; // required
47846
                  _key192 = iprot.readString();
48063
                  _key196 = iprot.readString();
47847
                  _val193 = iprot.readString();
48064
                  _val197 = iprot.readString();
47848
                  this.first_atdl_orders.put(_key192, _val193);
48065
                  this.first_atdl_orders.put(_key196, _val197);
47849
                }
48066
                }
47850
                iprot.readMapEnd();
48067
                iprot.readMapEnd();
47851
              }
48068
              }
47852
            } else { 
48069
            } else { 
47853
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48070
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47871... Line 48088...
47871
      oprot.writeFieldEnd();
48088
      oprot.writeFieldEnd();
47872
      if (this.first_atdl_orders != null) {
48089
      if (this.first_atdl_orders != null) {
47873
        oprot.writeFieldBegin(FIRST_ATDL_ORDERS_FIELD_DESC);
48090
        oprot.writeFieldBegin(FIRST_ATDL_ORDERS_FIELD_DESC);
47874
        {
48091
        {
47875
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.first_atdl_orders.size()));
48092
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.first_atdl_orders.size()));
47876
          for (Map.Entry<String, String> _iter194 : this.first_atdl_orders.entrySet())
48093
          for (Map.Entry<String, String> _iter198 : this.first_atdl_orders.entrySet())
47877
          {
48094
          {
47878
            oprot.writeString(_iter194.getKey());
48095
            oprot.writeString(_iter198.getKey());
47879
            oprot.writeString(_iter194.getValue());
48096
            oprot.writeString(_iter198.getValue());
47880
          }
48097
          }
47881
          oprot.writeMapEnd();
48098
          oprot.writeMapEnd();
47882
        }
48099
        }
47883
        oprot.writeFieldEnd();
48100
        oprot.writeFieldEnd();
47884
      }
48101
      }
Line 48845... Line 49062...
48845
        }
49062
        }
48846
        switch (field.id) {
49063
        switch (field.id) {
48847
          case 0: // SUCCESS
49064
          case 0: // SUCCESS
48848
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49065
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48849
              {
49066
              {
48850
                org.apache.thrift.protocol.TList _list195 = iprot.readListBegin();
49067
                org.apache.thrift.protocol.TList _list199 = iprot.readListBegin();
48851
                this.success = new ArrayList<Order>(_list195.size);
49068
                this.success = new ArrayList<Order>(_list199.size);
48852
                for (int _i196 = 0; _i196 < _list195.size; ++_i196)
49069
                for (int _i200 = 0; _i200 < _list199.size; ++_i200)
48853
                {
49070
                {
48854
                  Order _elem197; // required
49071
                  Order _elem201; // required
48855
                  _elem197 = new Order();
49072
                  _elem201 = new Order();
48856
                  _elem197.read(iprot);
49073
                  _elem201.read(iprot);
48857
                  this.success.add(_elem197);
49074
                  this.success.add(_elem201);
48858
                }
49075
                }
48859
                iprot.readListEnd();
49076
                iprot.readListEnd();
48860
              }
49077
              }
48861
            } else { 
49078
            } else { 
48862
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
49079
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 48876... Line 49093...
48876
 
49093
 
48877
      if (this.isSetSuccess()) {
49094
      if (this.isSetSuccess()) {
48878
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49095
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48879
        {
49096
        {
48880
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49097
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
48881
          for (Order _iter198 : this.success)
49098
          for (Order _iter202 : this.success)
48882
          {
49099
          {
48883
            _iter198.write(oprot);
49100
            _iter202.write(oprot);
48884
          }
49101
          }
48885
          oprot.writeListEnd();
49102
          oprot.writeListEnd();
48886
        }
49103
        }
48887
        oprot.writeFieldEnd();
49104
        oprot.writeFieldEnd();
48888
      }
49105
      }
Line 49376... Line 49593...
49376
        }
49593
        }
49377
        switch (field.id) {
49594
        switch (field.id) {
49378
          case 0: // SUCCESS
49595
          case 0: // SUCCESS
49379
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49596
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49380
              {
49597
              {
49381
                org.apache.thrift.protocol.TList _list199 = iprot.readListBegin();
49598
                org.apache.thrift.protocol.TList _list203 = iprot.readListBegin();
49382
                this.success = new ArrayList<Order>(_list199.size);
49599
                this.success = new ArrayList<Order>(_list203.size);
49383
                for (int _i200 = 0; _i200 < _list199.size; ++_i200)
49600
                for (int _i204 = 0; _i204 < _list203.size; ++_i204)
49384
                {
49601
                {
49385
                  Order _elem201; // required
49602
                  Order _elem205; // required
49386
                  _elem201 = new Order();
49603
                  _elem205 = new Order();
49387
                  _elem201.read(iprot);
49604
                  _elem205.read(iprot);
49388
                  this.success.add(_elem201);
49605
                  this.success.add(_elem205);
49389
                }
49606
                }
49390
                iprot.readListEnd();
49607
                iprot.readListEnd();
49391
              }
49608
              }
49392
            } else { 
49609
            } else { 
49393
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
49610
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 49407... Line 49624...
49407
 
49624
 
49408
      if (this.isSetSuccess()) {
49625
      if (this.isSetSuccess()) {
49409
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49626
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49410
        {
49627
        {
49411
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49628
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49412
          for (Order _iter202 : this.success)
49629
          for (Order _iter206 : this.success)
49413
          {
49630
          {
49414
            _iter202.write(oprot);
49631
            _iter206.write(oprot);
49415
          }
49632
          }
49416
          oprot.writeListEnd();
49633
          oprot.writeListEnd();
49417
        }
49634
        }
49418
        oprot.writeFieldEnd();
49635
        oprot.writeFieldEnd();
49419
      }
49636
      }
Line 56356... Line 56573...
56356
            }
56573
            }
56357
            break;
56574
            break;
56358
          case 2: // PICKUP_DETAILS
56575
          case 2: // PICKUP_DETAILS
56359
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
56576
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
56360
              {
56577
              {
56361
                org.apache.thrift.protocol.TMap _map203 = iprot.readMapBegin();
56578
                org.apache.thrift.protocol.TMap _map207 = iprot.readMapBegin();
56362
                this.pickupDetails = new HashMap<String,String>(2*_map203.size);
56579
                this.pickupDetails = new HashMap<String,String>(2*_map207.size);
56363
                for (int _i204 = 0; _i204 < _map203.size; ++_i204)
56580
                for (int _i208 = 0; _i208 < _map207.size; ++_i208)
56364
                {
56581
                {
56365
                  String _key205; // required
56582
                  String _key209; // required
56366
                  String _val206; // required
56583
                  String _val210; // required
56367
                  _key205 = iprot.readString();
56584
                  _key209 = iprot.readString();
56368
                  _val206 = iprot.readString();
56585
                  _val210 = iprot.readString();
56369
                  this.pickupDetails.put(_key205, _val206);
56586
                  this.pickupDetails.put(_key209, _val210);
56370
                }
56587
                }
56371
                iprot.readMapEnd();
56588
                iprot.readMapEnd();
56372
              }
56589
              }
56373
            } else { 
56590
            } else { 
56374
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
56591
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 56392... Line 56609...
56392
      oprot.writeFieldEnd();
56609
      oprot.writeFieldEnd();
56393
      if (this.pickupDetails != null) {
56610
      if (this.pickupDetails != null) {
56394
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
56611
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
56395
        {
56612
        {
56396
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
56613
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
56397
          for (Map.Entry<String, String> _iter207 : this.pickupDetails.entrySet())
56614
          for (Map.Entry<String, String> _iter211 : this.pickupDetails.entrySet())
56398
          {
56615
          {
56399
            oprot.writeString(_iter207.getKey());
56616
            oprot.writeString(_iter211.getKey());
56400
            oprot.writeString(_iter207.getValue());
56617
            oprot.writeString(_iter211.getValue());
56401
          }
56618
          }
56402
          oprot.writeMapEnd();
56619
          oprot.writeMapEnd();
56403
        }
56620
        }
56404
        oprot.writeFieldEnd();
56621
        oprot.writeFieldEnd();
56405
      }
56622
      }
Line 57188... Line 57405...
57188
        }
57405
        }
57189
        switch (field.id) {
57406
        switch (field.id) {
57190
          case 0: // SUCCESS
57407
          case 0: // SUCCESS
57191
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57408
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57192
              {
57409
              {
57193
                org.apache.thrift.protocol.TList _list208 = iprot.readListBegin();
57410
                org.apache.thrift.protocol.TList _list212 = iprot.readListBegin();
57194
                this.success = new ArrayList<Order>(_list208.size);
57411
                this.success = new ArrayList<Order>(_list212.size);
57195
                for (int _i209 = 0; _i209 < _list208.size; ++_i209)
57412
                for (int _i213 = 0; _i213 < _list212.size; ++_i213)
57196
                {
57413
                {
57197
                  Order _elem210; // required
57414
                  Order _elem214; // required
57198
                  _elem210 = new Order();
57415
                  _elem214 = new Order();
57199
                  _elem210.read(iprot);
57416
                  _elem214.read(iprot);
57200
                  this.success.add(_elem210);
57417
                  this.success.add(_elem214);
57201
                }
57418
                }
57202
                iprot.readListEnd();
57419
                iprot.readListEnd();
57203
              }
57420
              }
57204
            } else { 
57421
            } else { 
57205
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57422
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 57219... Line 57436...
57219
 
57436
 
57220
      if (this.isSetSuccess()) {
57437
      if (this.isSetSuccess()) {
57221
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
57438
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
57222
        {
57439
        {
57223
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
57440
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
57224
          for (Order _iter211 : this.success)
57441
          for (Order _iter215 : this.success)
57225
          {
57442
          {
57226
            _iter211.write(oprot);
57443
            _iter215.write(oprot);
57227
          }
57444
          }
57228
          oprot.writeListEnd();
57445
          oprot.writeListEnd();
57229
        }
57446
        }
57230
        oprot.writeFieldEnd();
57447
        oprot.writeFieldEnd();
57231
      }
57448
      }
Line 57603... Line 57820...
57603
            }
57820
            }
57604
            break;
57821
            break;
57605
          case 2: // PICKUP_DETAILS
57822
          case 2: // PICKUP_DETAILS
57606
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
57823
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
57607
              {
57824
              {
57608
                org.apache.thrift.protocol.TMap _map212 = iprot.readMapBegin();
57825
                org.apache.thrift.protocol.TMap _map216 = iprot.readMapBegin();
57609
                this.pickupDetails = new HashMap<String,String>(2*_map212.size);
57826
                this.pickupDetails = new HashMap<String,String>(2*_map216.size);
57610
                for (int _i213 = 0; _i213 < _map212.size; ++_i213)
57827
                for (int _i217 = 0; _i217 < _map216.size; ++_i217)
57611
                {
57828
                {
57612
                  String _key214; // required
57829
                  String _key218; // required
57613
                  String _val215; // required
57830
                  String _val219; // required
57614
                  _key214 = iprot.readString();
57831
                  _key218 = iprot.readString();
57615
                  _val215 = iprot.readString();
57832
                  _val219 = iprot.readString();
57616
                  this.pickupDetails.put(_key214, _val215);
57833
                  this.pickupDetails.put(_key218, _val219);
57617
                }
57834
                }
57618
                iprot.readMapEnd();
57835
                iprot.readMapEnd();
57619
              }
57836
              }
57620
            } else { 
57837
            } else { 
57621
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57838
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 57639... Line 57856...
57639
      oprot.writeFieldEnd();
57856
      oprot.writeFieldEnd();
57640
      if (this.pickupDetails != null) {
57857
      if (this.pickupDetails != null) {
57641
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
57858
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
57642
        {
57859
        {
57643
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
57860
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
57644
          for (Map.Entry<String, String> _iter216 : this.pickupDetails.entrySet())
57861
          for (Map.Entry<String, String> _iter220 : this.pickupDetails.entrySet())
57645
          {
57862
          {
57646
            oprot.writeString(_iter216.getKey());
57863
            oprot.writeString(_iter220.getKey());
57647
            oprot.writeString(_iter216.getValue());
57864
            oprot.writeString(_iter220.getValue());
57648
          }
57865
          }
57649
          oprot.writeMapEnd();
57866
          oprot.writeMapEnd();
57650
        }
57867
        }
57651
        oprot.writeFieldEnd();
57868
        oprot.writeFieldEnd();
57652
      }
57869
      }
Line 58435... Line 58652...
58435
        }
58652
        }
58436
        switch (field.id) {
58653
        switch (field.id) {
58437
          case 0: // SUCCESS
58654
          case 0: // SUCCESS
58438
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58655
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58439
              {
58656
              {
58440
                org.apache.thrift.protocol.TList _list217 = iprot.readListBegin();
58657
                org.apache.thrift.protocol.TList _list221 = iprot.readListBegin();
58441
                this.success = new ArrayList<Order>(_list217.size);
58658
                this.success = new ArrayList<Order>(_list221.size);
58442
                for (int _i218 = 0; _i218 < _list217.size; ++_i218)
58659
                for (int _i222 = 0; _i222 < _list221.size; ++_i222)
58443
                {
58660
                {
58444
                  Order _elem219; // required
58661
                  Order _elem223; // required
58445
                  _elem219 = new Order();
58662
                  _elem223 = new Order();
58446
                  _elem219.read(iprot);
58663
                  _elem223.read(iprot);
58447
                  this.success.add(_elem219);
58664
                  this.success.add(_elem223);
58448
                }
58665
                }
58449
                iprot.readListEnd();
58666
                iprot.readListEnd();
58450
              }
58667
              }
58451
            } else { 
58668
            } else { 
58452
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58669
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 58466... Line 58683...
58466
 
58683
 
58467
      if (this.isSetSuccess()) {
58684
      if (this.isSetSuccess()) {
58468
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58685
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58469
        {
58686
        {
58470
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58687
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58471
          for (Order _iter220 : this.success)
58688
          for (Order _iter224 : this.success)
58472
          {
58689
          {
58473
            _iter220.write(oprot);
58690
            _iter224.write(oprot);
58474
          }
58691
          }
58475
          oprot.writeListEnd();
58692
          oprot.writeListEnd();
58476
        }
58693
        }
58477
        oprot.writeFieldEnd();
58694
        oprot.writeFieldEnd();
58478
      }
58695
      }
Line 61072... Line 61289...
61072
      }
61289
      }
61073
    }
61290
    }
61074
 
61291
 
61075
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
61292
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
61076
      try {
61293
      try {
61077
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
61078
        __isset_bit_vector = new BitSet(1);
-
 
61079
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
61294
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
61080
      } catch (org.apache.thrift.TException te) {
61295
      } catch (org.apache.thrift.TException te) {
61081
        throw new java.io.IOException(te);
61296
        throw new java.io.IOException(te);
61082
      }
61297
      }
61083
    }
61298
    }
Line 63020... Line 63235...
63020
        }
63235
        }
63021
        switch (field.id) {
63236
        switch (field.id) {
63022
          case 0: // SUCCESS
63237
          case 0: // SUCCESS
63023
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63238
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63024
              {
63239
              {
63025
                org.apache.thrift.protocol.TList _list221 = iprot.readListBegin();
63240
                org.apache.thrift.protocol.TList _list225 = iprot.readListBegin();
63026
                this.success = new ArrayList<ReturnOrder>(_list221.size);
63241
                this.success = new ArrayList<ReturnOrder>(_list225.size);
63027
                for (int _i222 = 0; _i222 < _list221.size; ++_i222)
63242
                for (int _i226 = 0; _i226 < _list225.size; ++_i226)
63028
                {
63243
                {
63029
                  ReturnOrder _elem223; // required
63244
                  ReturnOrder _elem227; // required
63030
                  _elem223 = new ReturnOrder();
63245
                  _elem227 = new ReturnOrder();
63031
                  _elem223.read(iprot);
63246
                  _elem227.read(iprot);
63032
                  this.success.add(_elem223);
63247
                  this.success.add(_elem227);
63033
                }
63248
                }
63034
                iprot.readListEnd();
63249
                iprot.readListEnd();
63035
              }
63250
              }
63036
            } else { 
63251
            } else { 
63037
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
63252
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 63051... Line 63266...
63051
 
63266
 
63052
      if (this.isSetSuccess()) {
63267
      if (this.isSetSuccess()) {
63053
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
63268
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
63054
        {
63269
        {
63055
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
63270
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
63056
          for (ReturnOrder _iter224 : this.success)
63271
          for (ReturnOrder _iter228 : this.success)
63057
          {
63272
          {
63058
            _iter224.write(oprot);
63273
            _iter228.write(oprot);
63059
          }
63274
          }
63060
          oprot.writeListEnd();
63275
          oprot.writeListEnd();
63061
        }
63276
        }
63062
        oprot.writeFieldEnd();
63277
        oprot.writeFieldEnd();
63063
      }
63278
      }
Line 63811... Line 64026...
63811
        }
64026
        }
63812
        switch (field.id) {
64027
        switch (field.id) {
63813
          case 0: // SUCCESS
64028
          case 0: // SUCCESS
63814
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
64029
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63815
              {
64030
              {
63816
                org.apache.thrift.protocol.TList _list225 = iprot.readListBegin();
64031
                org.apache.thrift.protocol.TList _list229 = iprot.readListBegin();
63817
                this.success = new ArrayList<ReturnOrder>(_list225.size);
64032
                this.success = new ArrayList<ReturnOrder>(_list229.size);
63818
                for (int _i226 = 0; _i226 < _list225.size; ++_i226)
64033
                for (int _i230 = 0; _i230 < _list229.size; ++_i230)
63819
                {
64034
                {
63820
                  ReturnOrder _elem227; // required
64035
                  ReturnOrder _elem231; // required
63821
                  _elem227 = new ReturnOrder();
64036
                  _elem231 = new ReturnOrder();
63822
                  _elem227.read(iprot);
64037
                  _elem231.read(iprot);
63823
                  this.success.add(_elem227);
64038
                  this.success.add(_elem231);
63824
                }
64039
                }
63825
                iprot.readListEnd();
64040
                iprot.readListEnd();
63826
              }
64041
              }
63827
            } else { 
64042
            } else { 
63828
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
64043
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 63842... Line 64057...
63842
 
64057
 
63843
      if (this.isSetSuccess()) {
64058
      if (this.isSetSuccess()) {
63844
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
64059
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
63845
        {
64060
        {
63846
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
64061
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
63847
          for (ReturnOrder _iter228 : this.success)
64062
          for (ReturnOrder _iter232 : this.success)
63848
          {
64063
          {
63849
            _iter228.write(oprot);
64064
            _iter232.write(oprot);
63850
          }
64065
          }
63851
          oprot.writeListEnd();
64066
          oprot.writeListEnd();
63852
        }
64067
        }
63853
        oprot.writeFieldEnd();
64068
        oprot.writeFieldEnd();
63854
      }
64069
      }
Line 68829... Line 69044...
68829
        }
69044
        }
68830
        switch (field.id) {
69045
        switch (field.id) {
68831
          case 1: // COLLECTED_AMOUNT_MAP
69046
          case 1: // COLLECTED_AMOUNT_MAP
68832
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
69047
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
68833
              {
69048
              {
68834
                org.apache.thrift.protocol.TMap _map229 = iprot.readMapBegin();
69049
                org.apache.thrift.protocol.TMap _map233 = iprot.readMapBegin();
68835
                this.collectedAmountMap = new HashMap<String,Double>(2*_map229.size);
69050
                this.collectedAmountMap = new HashMap<String,Double>(2*_map233.size);
68836
                for (int _i230 = 0; _i230 < _map229.size; ++_i230)
69051
                for (int _i234 = 0; _i234 < _map233.size; ++_i234)
68837
                {
69052
                {
68838
                  String _key231; // required
69053
                  String _key235; // required
68839
                  double _val232; // required
69054
                  double _val236; // required
68840
                  _key231 = iprot.readString();
69055
                  _key235 = iprot.readString();
68841
                  _val232 = iprot.readDouble();
69056
                  _val236 = iprot.readDouble();
68842
                  this.collectedAmountMap.put(_key231, _val232);
69057
                  this.collectedAmountMap.put(_key235, _val236);
68843
                }
69058
                }
68844
                iprot.readMapEnd();
69059
                iprot.readMapEnd();
68845
              }
69060
              }
68846
            } else { 
69061
            } else { 
68847
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
69062
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 68884... Line 69099...
68884
      oprot.writeStructBegin(STRUCT_DESC);
69099
      oprot.writeStructBegin(STRUCT_DESC);
68885
      if (this.collectedAmountMap != null) {
69100
      if (this.collectedAmountMap != null) {
68886
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
69101
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
68887
        {
69102
        {
68888
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
69103
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
68889
          for (Map.Entry<String, Double> _iter233 : this.collectedAmountMap.entrySet())
69104
          for (Map.Entry<String, Double> _iter237 : this.collectedAmountMap.entrySet())
68890
          {
69105
          {
68891
            oprot.writeString(_iter233.getKey());
69106
            oprot.writeString(_iter237.getKey());
68892
            oprot.writeDouble(_iter233.getValue());
69107
            oprot.writeDouble(_iter237.getValue());
68893
          }
69108
          }
68894
          oprot.writeMapEnd();
69109
          oprot.writeMapEnd();
68895
        }
69110
        }
68896
        oprot.writeFieldEnd();
69111
        oprot.writeFieldEnd();
68897
      }
69112
      }
Line 69291... Line 69506...
69291
        }
69506
        }
69292
        switch (field.id) {
69507
        switch (field.id) {
69293
          case 0: // SUCCESS
69508
          case 0: // SUCCESS
69294
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
69509
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
69295
              {
69510
              {
69296
                org.apache.thrift.protocol.TMap _map234 = iprot.readMapBegin();
69511
                org.apache.thrift.protocol.TMap _map238 = iprot.readMapBegin();
69297
                this.success = new HashMap<String,String>(2*_map234.size);
69512
                this.success = new HashMap<String,String>(2*_map238.size);
69298
                for (int _i235 = 0; _i235 < _map234.size; ++_i235)
69513
                for (int _i239 = 0; _i239 < _map238.size; ++_i239)
69299
                {
69514
                {
69300
                  String _key236; // required
69515
                  String _key240; // required
69301
                  String _val237; // required
69516
                  String _val241; // required
69302
                  _key236 = iprot.readString();
69517
                  _key240 = iprot.readString();
69303
                  _val237 = iprot.readString();
69518
                  _val241 = iprot.readString();
69304
                  this.success.put(_key236, _val237);
69519
                  this.success.put(_key240, _val241);
69305
                }
69520
                }
69306
                iprot.readMapEnd();
69521
                iprot.readMapEnd();
69307
              }
69522
              }
69308
            } else { 
69523
            } else { 
69309
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
69524
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 69331... Line 69546...
69331
 
69546
 
69332
      if (this.isSetSuccess()) {
69547
      if (this.isSetSuccess()) {
69333
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
69548
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
69334
        {
69549
        {
69335
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
69550
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
69336
          for (Map.Entry<String, String> _iter238 : this.success.entrySet())
69551
          for (Map.Entry<String, String> _iter242 : this.success.entrySet())
69337
          {
69552
          {
69338
            oprot.writeString(_iter238.getKey());
69553
            oprot.writeString(_iter242.getKey());
69339
            oprot.writeString(_iter238.getValue());
69554
            oprot.writeString(_iter242.getValue());
69340
          }
69555
          }
69341
          oprot.writeMapEnd();
69556
          oprot.writeMapEnd();
69342
        }
69557
        }
69343
        oprot.writeFieldEnd();
69558
        oprot.writeFieldEnd();
69344
      } else if (this.isSetEx()) {
69559
      } else if (this.isSetEx()) {
Line 69950... Line 70165...
69950
        }
70165
        }
69951
        switch (field.id) {
70166
        switch (field.id) {
69952
          case 0: // SUCCESS
70167
          case 0: // SUCCESS
69953
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
70168
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
69954
              {
70169
              {
69955
                org.apache.thrift.protocol.TList _list239 = iprot.readListBegin();
70170
                org.apache.thrift.protocol.TList _list243 = iprot.readListBegin();
69956
                this.success = new ArrayList<Long>(_list239.size);
70171
                this.success = new ArrayList<Long>(_list243.size);
69957
                for (int _i240 = 0; _i240 < _list239.size; ++_i240)
70172
                for (int _i244 = 0; _i244 < _list243.size; ++_i244)
69958
                {
70173
                {
69959
                  long _elem241; // required
70174
                  long _elem245; // required
69960
                  _elem241 = iprot.readI64();
70175
                  _elem245 = iprot.readI64();
69961
                  this.success.add(_elem241);
70176
                  this.success.add(_elem245);
69962
                }
70177
                }
69963
                iprot.readListEnd();
70178
                iprot.readListEnd();
69964
              }
70179
              }
69965
            } else { 
70180
            } else { 
69966
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
70181
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 69980... Line 70195...
69980
 
70195
 
69981
      if (this.isSetSuccess()) {
70196
      if (this.isSetSuccess()) {
69982
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70197
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
69983
        {
70198
        {
69984
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
70199
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
69985
          for (long _iter242 : this.success)
70200
          for (long _iter246 : this.success)
69986
          {
70201
          {
69987
            oprot.writeI64(_iter242);
70202
            oprot.writeI64(_iter246);
69988
          }
70203
          }
69989
          oprot.writeListEnd();
70204
          oprot.writeListEnd();
69990
        }
70205
        }
69991
        oprot.writeFieldEnd();
70206
        oprot.writeFieldEnd();
69992
      }
70207
      }
Line 71076... Line 71291...
71076
        }
71291
        }
71077
        switch (field.id) {
71292
        switch (field.id) {
71078
          case 0: // SUCCESS
71293
          case 0: // SUCCESS
71079
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
71294
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
71080
              {
71295
              {
71081
                org.apache.thrift.protocol.TMap _map243 = iprot.readMapBegin();
71296
                org.apache.thrift.protocol.TMap _map247 = iprot.readMapBegin();
71082
                this.success = new HashMap<Long,Long>(2*_map243.size);
71297
                this.success = new HashMap<Long,Long>(2*_map247.size);
71083
                for (int _i244 = 0; _i244 < _map243.size; ++_i244)
71298
                for (int _i248 = 0; _i248 < _map247.size; ++_i248)
71084
                {
71299
                {
71085
                  long _key245; // required
71300
                  long _key249; // required
71086
                  long _val246; // required
71301
                  long _val250; // required
71087
                  _key245 = iprot.readI64();
71302
                  _key249 = iprot.readI64();
71088
                  _val246 = iprot.readI64();
71303
                  _val250 = iprot.readI64();
71089
                  this.success.put(_key245, _val246);
71304
                  this.success.put(_key249, _val250);
71090
                }
71305
                }
71091
                iprot.readMapEnd();
71306
                iprot.readMapEnd();
71092
              }
71307
              }
71093
            } else { 
71308
            } else { 
71094
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
71309
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 71108... Line 71323...
71108
 
71323
 
71109
      if (this.isSetSuccess()) {
71324
      if (this.isSetSuccess()) {
71110
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71325
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71111
        {
71326
        {
71112
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
71327
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
71113
          for (Map.Entry<Long, Long> _iter247 : this.success.entrySet())
71328
          for (Map.Entry<Long, Long> _iter251 : this.success.entrySet())
71114
          {
71329
          {
71115
            oprot.writeI64(_iter247.getKey());
71330
            oprot.writeI64(_iter251.getKey());
71116
            oprot.writeI64(_iter247.getValue());
71331
            oprot.writeI64(_iter251.getValue());
71117
          }
71332
          }
71118
          oprot.writeMapEnd();
71333
          oprot.writeMapEnd();
71119
        }
71334
        }
71120
        oprot.writeFieldEnd();
71335
        oprot.writeFieldEnd();
71121
      }
71336
      }
Line 71409... Line 71624...
71409
        }
71624
        }
71410
        switch (field.id) {
71625
        switch (field.id) {
71411
          case 1: // ITEM_IDS
71626
          case 1: // ITEM_IDS
71412
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71627
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71413
              {
71628
              {
71414
                org.apache.thrift.protocol.TList _list248 = iprot.readListBegin();
71629
                org.apache.thrift.protocol.TList _list252 = iprot.readListBegin();
71415
                this.itemIds = new ArrayList<Long>(_list248.size);
71630
                this.itemIds = new ArrayList<Long>(_list252.size);
71416
                for (int _i249 = 0; _i249 < _list248.size; ++_i249)
71631
                for (int _i253 = 0; _i253 < _list252.size; ++_i253)
71417
                {
71632
                {
71418
                  long _elem250; // required
71633
                  long _elem254; // required
71419
                  _elem250 = iprot.readI64();
71634
                  _elem254 = iprot.readI64();
71420
                  this.itemIds.add(_elem250);
71635
                  this.itemIds.add(_elem254);
71421
                }
71636
                }
71422
                iprot.readListEnd();
71637
                iprot.readListEnd();
71423
              }
71638
              }
71424
            } else { 
71639
            } else { 
71425
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
71640
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 71440... Line 71655...
71440
      oprot.writeStructBegin(STRUCT_DESC);
71655
      oprot.writeStructBegin(STRUCT_DESC);
71441
      if (this.itemIds != null) {
71656
      if (this.itemIds != null) {
71442
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
71657
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
71443
        {
71658
        {
71444
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
71659
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
71445
          for (long _iter251 : this.itemIds)
71660
          for (long _iter255 : this.itemIds)
71446
          {
71661
          {
71447
            oprot.writeI64(_iter251);
71662
            oprot.writeI64(_iter255);
71448
          }
71663
          }
71449
          oprot.writeListEnd();
71664
          oprot.writeListEnd();
71450
        }
71665
        }
71451
        oprot.writeFieldEnd();
71666
        oprot.writeFieldEnd();
71452
      }
71667
      }
Line 71740... Line 71955...
71740
        }
71955
        }
71741
        switch (field.id) {
71956
        switch (field.id) {
71742
          case 0: // SUCCESS
71957
          case 0: // SUCCESS
71743
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71958
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71744
              {
71959
              {
71745
                org.apache.thrift.protocol.TList _list252 = iprot.readListBegin();
71960
                org.apache.thrift.protocol.TList _list256 = iprot.readListBegin();
71746
                this.success = new ArrayList<Order>(_list252.size);
71961
                this.success = new ArrayList<Order>(_list256.size);
71747
                for (int _i253 = 0; _i253 < _list252.size; ++_i253)
71962
                for (int _i257 = 0; _i257 < _list256.size; ++_i257)
71748
                {
71963
                {
71749
                  Order _elem254; // required
71964
                  Order _elem258; // required
71750
                  _elem254 = new Order();
71965
                  _elem258 = new Order();
71751
                  _elem254.read(iprot);
71966
                  _elem258.read(iprot);
71752
                  this.success.add(_elem254);
71967
                  this.success.add(_elem258);
71753
                }
71968
                }
71754
                iprot.readListEnd();
71969
                iprot.readListEnd();
71755
              }
71970
              }
71756
            } else { 
71971
            } else { 
71757
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
71972
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 71771... Line 71986...
71771
 
71986
 
71772
      if (this.isSetSuccess()) {
71987
      if (this.isSetSuccess()) {
71773
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71988
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71774
        {
71989
        {
71775
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
71990
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
71776
          for (Order _iter255 : this.success)
71991
          for (Order _iter259 : this.success)
71777
          {
71992
          {
71778
            _iter255.write(oprot);
71993
            _iter259.write(oprot);
71779
          }
71994
          }
71780
          oprot.writeListEnd();
71995
          oprot.writeListEnd();
71781
        }
71996
        }
71782
        oprot.writeFieldEnd();
71997
        oprot.writeFieldEnd();
71783
      }
71998
      }
Line 79729... Line 79944...
79729
        }
79944
        }
79730
        switch (field.id) {
79945
        switch (field.id) {
79731
          case 0: // SUCCESS
79946
          case 0: // SUCCESS
79732
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
79947
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
79733
              {
79948
              {
79734
                org.apache.thrift.protocol.TMap _map256 = iprot.readMapBegin();
79949
                org.apache.thrift.protocol.TMap _map260 = iprot.readMapBegin();
79735
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map256.size);
79950
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map260.size);
79736
                for (int _i257 = 0; _i257 < _map256.size; ++_i257)
79951
                for (int _i261 = 0; _i261 < _map260.size; ++_i261)
79737
                {
79952
                {
79738
                  int _key258; // required
79953
                  int _key262; // required
79739
                  TimeoutSummary _val259; // required
79954
                  TimeoutSummary _val263; // required
79740
                  _key258 = iprot.readI32();
79955
                  _key262 = iprot.readI32();
79741
                  _val259 = new TimeoutSummary();
79956
                  _val263 = new TimeoutSummary();
79742
                  _val259.read(iprot);
79957
                  _val263.read(iprot);
79743
                  this.success.put(_key258, _val259);
79958
                  this.success.put(_key262, _val263);
79744
                }
79959
                }
79745
                iprot.readMapEnd();
79960
                iprot.readMapEnd();
79746
              }
79961
              }
79747
            } else { 
79962
            } else { 
79748
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
79963
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 79770... Line 79985...
79770
 
79985
 
79771
      if (this.isSetSuccess()) {
79986
      if (this.isSetSuccess()) {
79772
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79987
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79773
        {
79988
        {
79774
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79989
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79775
          for (Map.Entry<Integer, TimeoutSummary> _iter260 : this.success.entrySet())
79990
          for (Map.Entry<Integer, TimeoutSummary> _iter264 : this.success.entrySet())
79776
          {
79991
          {
79777
            oprot.writeI32(_iter260.getKey());
79992
            oprot.writeI32(_iter264.getKey());
79778
            _iter260.getValue().write(oprot);
79993
            _iter264.getValue().write(oprot);
79779
          }
79994
          }
79780
          oprot.writeMapEnd();
79995
          oprot.writeMapEnd();
79781
        }
79996
        }
79782
        oprot.writeFieldEnd();
79997
        oprot.writeFieldEnd();
79783
      } else if (this.isSetEx()) {
79998
      } else if (this.isSetEx()) {
Line 81513... Line 81728...
81513
            }
81728
            }
81514
            break;
81729
            break;
81515
          case 2: // ORDER_STATUS_LIST
81730
          case 2: // ORDER_STATUS_LIST
81516
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
81731
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
81517
              {
81732
              {
81518
                org.apache.thrift.protocol.TList _list261 = iprot.readListBegin();
81733
                org.apache.thrift.protocol.TList _list265 = iprot.readListBegin();
81519
                this.order_status_list = new ArrayList<OrderStatus>(_list261.size);
81734
                this.order_status_list = new ArrayList<OrderStatus>(_list265.size);
81520
                for (int _i262 = 0; _i262 < _list261.size; ++_i262)
81735
                for (int _i266 = 0; _i266 < _list265.size; ++_i266)
81521
                {
81736
                {
81522
                  OrderStatus _elem263; // required
81737
                  OrderStatus _elem267; // required
81523
                  _elem263 = OrderStatus.findByValue(iprot.readI32());
81738
                  _elem267 = OrderStatus.findByValue(iprot.readI32());
81524
                  this.order_status_list.add(_elem263);
81739
                  this.order_status_list.add(_elem267);
81525
                }
81740
                }
81526
                iprot.readListEnd();
81741
                iprot.readListEnd();
81527
              }
81742
              }
81528
            } else { 
81743
            } else { 
81529
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
81744
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 81547... Line 81762...
81547
      oprot.writeFieldEnd();
81762
      oprot.writeFieldEnd();
81548
      if (this.order_status_list != null) {
81763
      if (this.order_status_list != null) {
81549
        oprot.writeFieldBegin(ORDER_STATUS_LIST_FIELD_DESC);
81764
        oprot.writeFieldBegin(ORDER_STATUS_LIST_FIELD_DESC);
81550
        {
81765
        {
81551
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.order_status_list.size()));
81766
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.order_status_list.size()));
81552
          for (OrderStatus _iter264 : this.order_status_list)
81767
          for (OrderStatus _iter268 : this.order_status_list)
81553
          {
81768
          {
81554
            oprot.writeI32(_iter264.getValue());
81769
            oprot.writeI32(_iter268.getValue());
81555
          }
81770
          }
81556
          oprot.writeListEnd();
81771
          oprot.writeListEnd();
81557
        }
81772
        }
81558
        oprot.writeFieldEnd();
81773
        oprot.writeFieldEnd();
81559
      }
81774
      }
Line 81921... Line 82136...
81921
        }
82136
        }
81922
        switch (field.id) {
82137
        switch (field.id) {
81923
          case 0: // SUCCESS
82138
          case 0: // SUCCESS
81924
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
82139
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
81925
              {
82140
              {
81926
                org.apache.thrift.protocol.TList _list265 = iprot.readListBegin();
82141
                org.apache.thrift.protocol.TList _list269 = iprot.readListBegin();
81927
                this.success = new ArrayList<Order>(_list265.size);
82142
                this.success = new ArrayList<Order>(_list269.size);
81928
                for (int _i266 = 0; _i266 < _list265.size; ++_i266)
82143
                for (int _i270 = 0; _i270 < _list269.size; ++_i270)
81929
                {
82144
                {
81930
                  Order _elem267; // required
82145
                  Order _elem271; // required
81931
                  _elem267 = new Order();
82146
                  _elem271 = new Order();
81932
                  _elem267.read(iprot);
82147
                  _elem271.read(iprot);
81933
                  this.success.add(_elem267);
82148
                  this.success.add(_elem271);
81934
                }
82149
                }
81935
                iprot.readListEnd();
82150
                iprot.readListEnd();
81936
              }
82151
              }
81937
            } else { 
82152
            } else { 
81938
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
82153
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 81960... Line 82175...
81960
 
82175
 
81961
      if (this.isSetSuccess()) {
82176
      if (this.isSetSuccess()) {
81962
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
82177
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
81963
        {
82178
        {
81964
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
82179
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
81965
          for (Order _iter268 : this.success)
82180
          for (Order _iter272 : this.success)
81966
          {
82181
          {
81967
            _iter268.write(oprot);
82182
            _iter272.write(oprot);
81968
          }
82183
          }
81969
          oprot.writeListEnd();
82184
          oprot.writeListEnd();
81970
        }
82185
        }
81971
        oprot.writeFieldEnd();
82186
        oprot.writeFieldEnd();
81972
      } else if (this.isSetEx()) {
82187
      } else if (this.isSetEx()) {
Line 82800... Line 83015...
82800
        }
83015
        }
82801
        switch (field.id) {
83016
        switch (field.id) {
82802
          case 0: // SUCCESS
83017
          case 0: // SUCCESS
82803
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
83018
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
82804
              {
83019
              {
82805
                org.apache.thrift.protocol.TList _list269 = iprot.readListBegin();
83020
                org.apache.thrift.protocol.TList _list273 = iprot.readListBegin();
82806
                this.success = new ArrayList<Order>(_list269.size);
83021
                this.success = new ArrayList<Order>(_list273.size);
82807
                for (int _i270 = 0; _i270 < _list269.size; ++_i270)
83022
                for (int _i274 = 0; _i274 < _list273.size; ++_i274)
82808
                {
83023
                {
82809
                  Order _elem271; // required
83024
                  Order _elem275; // required
82810
                  _elem271 = new Order();
83025
                  _elem275 = new Order();
82811
                  _elem271.read(iprot);
83026
                  _elem275.read(iprot);
82812
                  this.success.add(_elem271);
83027
                  this.success.add(_elem275);
82813
                }
83028
                }
82814
                iprot.readListEnd();
83029
                iprot.readListEnd();
82815
              }
83030
              }
82816
            } else { 
83031
            } else { 
82817
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
83032
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 82839... Line 83054...
82839
 
83054
 
82840
      if (this.isSetSuccess()) {
83055
      if (this.isSetSuccess()) {
82841
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
83056
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
82842
        {
83057
        {
82843
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
83058
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
82844
          for (Order _iter272 : this.success)
83059
          for (Order _iter276 : this.success)
82845
          {
83060
          {
82846
            _iter272.write(oprot);
83061
            _iter276.write(oprot);
82847
          }
83062
          }
82848
          oprot.writeListEnd();
83063
          oprot.writeListEnd();
82849
        }
83064
        }
82850
        oprot.writeFieldEnd();
83065
        oprot.writeFieldEnd();
82851
      } else if (this.isSetEx()) {
83066
      } else if (this.isSetEx()) {
Line 83419... Line 83634...
83419
        }
83634
        }
83420
        switch (field.id) {
83635
        switch (field.id) {
83421
          case 0: // SUCCESS
83636
          case 0: // SUCCESS
83422
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
83637
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
83423
              {
83638
              {
83424
                org.apache.thrift.protocol.TList _list273 = iprot.readListBegin();
83639
                org.apache.thrift.protocol.TList _list277 = iprot.readListBegin();
83425
                this.success = new ArrayList<Order>(_list273.size);
83640
                this.success = new ArrayList<Order>(_list277.size);
83426
                for (int _i274 = 0; _i274 < _list273.size; ++_i274)
83641
                for (int _i278 = 0; _i278 < _list277.size; ++_i278)
83427
                {
83642
                {
83428
                  Order _elem275; // required
83643
                  Order _elem279; // required
83429
                  _elem275 = new Order();
83644
                  _elem279 = new Order();
83430
                  _elem275.read(iprot);
83645
                  _elem279.read(iprot);
83431
                  this.success.add(_elem275);
83646
                  this.success.add(_elem279);
83432
                }
83647
                }
83433
                iprot.readListEnd();
83648
                iprot.readListEnd();
83434
              }
83649
              }
83435
            } else { 
83650
            } else { 
83436
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
83651
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 83458... Line 83673...
83458
 
83673
 
83459
      if (this.isSetSuccess()) {
83674
      if (this.isSetSuccess()) {
83460
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
83675
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
83461
        {
83676
        {
83462
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
83677
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
83463
          for (Order _iter276 : this.success)
83678
          for (Order _iter280 : this.success)
83464
          {
83679
          {
83465
            _iter276.write(oprot);
83680
            _iter280.write(oprot);
83466
          }
83681
          }
83467
          oprot.writeListEnd();
83682
          oprot.writeListEnd();
83468
        }
83683
        }
83469
        oprot.writeFieldEnd();
83684
        oprot.writeFieldEnd();
83470
      } else if (this.isSetEx()) {
83685
      } else if (this.isSetEx()) {
Line 84215... Line 84430...
84215
        }
84430
        }
84216
        switch (field.id) {
84431
        switch (field.id) {
84217
          case 0: // SUCCESS
84432
          case 0: // SUCCESS
84218
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
84433
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
84219
              {
84434
              {
84220
                org.apache.thrift.protocol.TList _list277 = iprot.readListBegin();
84435
                org.apache.thrift.protocol.TList _list281 = iprot.readListBegin();
84221
                this.success = new ArrayList<Order>(_list277.size);
84436
                this.success = new ArrayList<Order>(_list281.size);
84222
                for (int _i278 = 0; _i278 < _list277.size; ++_i278)
84437
                for (int _i282 = 0; _i282 < _list281.size; ++_i282)
84223
                {
84438
                {
84224
                  Order _elem279; // required
84439
                  Order _elem283; // required
84225
                  _elem279 = new Order();
84440
                  _elem283 = new Order();
84226
                  _elem279.read(iprot);
84441
                  _elem283.read(iprot);
84227
                  this.success.add(_elem279);
84442
                  this.success.add(_elem283);
84228
                }
84443
                }
84229
                iprot.readListEnd();
84444
                iprot.readListEnd();
84230
              }
84445
              }
84231
            } else { 
84446
            } else { 
84232
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
84447
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 84254... Line 84469...
84254
 
84469
 
84255
      if (this.isSetSuccess()) {
84470
      if (this.isSetSuccess()) {
84256
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
84471
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
84257
        {
84472
        {
84258
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
84473
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
84259
          for (Order _iter280 : this.success)
84474
          for (Order _iter284 : this.success)
84260
          {
84475
          {
84261
            _iter280.write(oprot);
84476
            _iter284.write(oprot);
84262
          }
84477
          }
84263
          oprot.writeListEnd();
84478
          oprot.writeListEnd();
84264
        }
84479
        }
84265
        oprot.writeFieldEnd();
84480
        oprot.writeFieldEnd();
84266
      } else if (this.isSetEx()) {
84481
      } else if (this.isSetEx()) {
Line 84571... Line 84786...
84571
        }
84786
        }
84572
        switch (field.id) {
84787
        switch (field.id) {
84573
          case 1: // MAP_AWBAND_AMOUNT
84788
          case 1: // MAP_AWBAND_AMOUNT
84574
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
84789
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
84575
              {
84790
              {
84576
                org.apache.thrift.protocol.TMap _map281 = iprot.readMapBegin();
84791
                org.apache.thrift.protocol.TMap _map285 = iprot.readMapBegin();
84577
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map281.size);
84792
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map285.size);
84578
                for (int _i282 = 0; _i282 < _map281.size; ++_i282)
84793
                for (int _i286 = 0; _i286 < _map285.size; ++_i286)
84579
                {
84794
                {
84580
                  long _key283; // required
84795
                  long _key287; // required
84581
                  double _val284; // required
84796
                  double _val288; // required
84582
                  _key283 = iprot.readI64();
84797
                  _key287 = iprot.readI64();
84583
                  _val284 = iprot.readDouble();
84798
                  _val288 = iprot.readDouble();
84584
                  this.mapAWBAndAmount.put(_key283, _val284);
84799
                  this.mapAWBAndAmount.put(_key287, _val288);
84585
                }
84800
                }
84586
                iprot.readMapEnd();
84801
                iprot.readMapEnd();
84587
              }
84802
              }
84588
            } else { 
84803
            } else { 
84589
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
84804
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 84604... Line 84819...
84604
      oprot.writeStructBegin(STRUCT_DESC);
84819
      oprot.writeStructBegin(STRUCT_DESC);
84605
      if (this.mapAWBAndAmount != null) {
84820
      if (this.mapAWBAndAmount != null) {
84606
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
84821
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
84607
        {
84822
        {
84608
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
84823
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
84609
          for (Map.Entry<Long, Double> _iter285 : this.mapAWBAndAmount.entrySet())
84824
          for (Map.Entry<Long, Double> _iter289 : this.mapAWBAndAmount.entrySet())
84610
          {
84825
          {
84611
            oprot.writeI64(_iter285.getKey());
84826
            oprot.writeI64(_iter289.getKey());
84612
            oprot.writeDouble(_iter285.getValue());
84827
            oprot.writeDouble(_iter289.getValue());
84613
          }
84828
          }
84614
          oprot.writeMapEnd();
84829
          oprot.writeMapEnd();
84615
        }
84830
        }
84616
        oprot.writeFieldEnd();
84831
        oprot.writeFieldEnd();
84617
      }
84832
      }
Line 88913... Line 89128...
88913
        }
89128
        }
88914
        switch (field.id) {
89129
        switch (field.id) {
88915
          case 0: // SUCCESS
89130
          case 0: // SUCCESS
88916
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
89131
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
88917
              {
89132
              {
88918
                org.apache.thrift.protocol.TMap _map286 = iprot.readMapBegin();
89133
                org.apache.thrift.protocol.TMap _map290 = iprot.readMapBegin();
88919
                this.success = new HashMap<Long,String>(2*_map286.size);
89134
                this.success = new HashMap<Long,String>(2*_map290.size);
88920
                for (int _i287 = 0; _i287 < _map286.size; ++_i287)
89135
                for (int _i291 = 0; _i291 < _map290.size; ++_i291)
88921
                {
89136
                {
88922
                  long _key288; // required
89137
                  long _key292; // required
88923
                  String _val289; // required
89138
                  String _val293; // required
88924
                  _key288 = iprot.readI64();
89139
                  _key292 = iprot.readI64();
88925
                  _val289 = iprot.readString();
89140
                  _val293 = iprot.readString();
88926
                  this.success.put(_key288, _val289);
89141
                  this.success.put(_key292, _val293);
88927
                }
89142
                }
88928
                iprot.readMapEnd();
89143
                iprot.readMapEnd();
88929
              }
89144
              }
88930
            } else { 
89145
            } else { 
88931
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
89146
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 88953... Line 89168...
88953
 
89168
 
88954
      if (this.isSetSuccess()) {
89169
      if (this.isSetSuccess()) {
88955
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
89170
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
88956
        {
89171
        {
88957
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
89172
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
88958
          for (Map.Entry<Long, String> _iter290 : this.success.entrySet())
89173
          for (Map.Entry<Long, String> _iter294 : this.success.entrySet())
88959
          {
89174
          {
88960
            oprot.writeI64(_iter290.getKey());
89175
            oprot.writeI64(_iter294.getKey());
88961
            oprot.writeString(_iter290.getValue());
89176
            oprot.writeString(_iter294.getValue());
88962
          }
89177
          }
88963
          oprot.writeMapEnd();
89178
          oprot.writeMapEnd();
88964
        }
89179
        }
88965
        oprot.writeFieldEnd();
89180
        oprot.writeFieldEnd();
88966
      } else if (this.isSetEx()) {
89181
      } else if (this.isSetEx()) {
Line 91057... Line 91272...
91057
        }
91272
        }
91058
        switch (field.id) {
91273
        switch (field.id) {
91059
          case 0: // SUCCESS
91274
          case 0: // SUCCESS
91060
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
91275
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
91061
              {
91276
              {
91062
                org.apache.thrift.protocol.TList _list291 = iprot.readListBegin();
91277
                org.apache.thrift.protocol.TList _list295 = iprot.readListBegin();
91063
                this.success = new ArrayList<PaymentSettlement>(_list291.size);
91278
                this.success = new ArrayList<PaymentSettlement>(_list295.size);
91064
                for (int _i292 = 0; _i292 < _list291.size; ++_i292)
91279
                for (int _i296 = 0; _i296 < _list295.size; ++_i296)
91065
                {
91280
                {
91066
                  PaymentSettlement _elem293; // required
91281
                  PaymentSettlement _elem297; // required
91067
                  _elem293 = new PaymentSettlement();
91282
                  _elem297 = new PaymentSettlement();
91068
                  _elem293.read(iprot);
91283
                  _elem297.read(iprot);
91069
                  this.success.add(_elem293);
91284
                  this.success.add(_elem297);
91070
                }
91285
                }
91071
                iprot.readListEnd();
91286
                iprot.readListEnd();
91072
              }
91287
              }
91073
            } else { 
91288
            } else { 
91074
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
91289
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 91096... Line 91311...
91096
 
91311
 
91097
      if (this.isSetSuccess()) {
91312
      if (this.isSetSuccess()) {
91098
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
91313
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
91099
        {
91314
        {
91100
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
91315
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
91101
          for (PaymentSettlement _iter294 : this.success)
91316
          for (PaymentSettlement _iter298 : this.success)
91102
          {
91317
          {
91103
            _iter294.write(oprot);
91318
            _iter298.write(oprot);
91104
          }
91319
          }
91105
          oprot.writeListEnd();
91320
          oprot.writeListEnd();
91106
        }
91321
        }
91107
        oprot.writeFieldEnd();
91322
        oprot.writeFieldEnd();
91108
      } else if (this.isSetEx()) {
91323
      } else if (this.isSetEx()) {
Line 91408... Line 91623...
91408
        }
91623
        }
91409
        switch (field.id) {
91624
        switch (field.id) {
91410
          case 1: // ORDER_IDS
91625
          case 1: // ORDER_IDS
91411
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
91626
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
91412
              {
91627
              {
91413
                org.apache.thrift.protocol.TList _list295 = iprot.readListBegin();
91628
                org.apache.thrift.protocol.TList _list299 = iprot.readListBegin();
91414
                this.orderIds = new ArrayList<Long>(_list295.size);
91629
                this.orderIds = new ArrayList<Long>(_list299.size);
91415
                for (int _i296 = 0; _i296 < _list295.size; ++_i296)
91630
                for (int _i300 = 0; _i300 < _list299.size; ++_i300)
91416
                {
91631
                {
91417
                  long _elem297; // required
91632
                  long _elem301; // required
91418
                  _elem297 = iprot.readI64();
91633
                  _elem301 = iprot.readI64();
91419
                  this.orderIds.add(_elem297);
91634
                  this.orderIds.add(_elem301);
91420
                }
91635
                }
91421
                iprot.readListEnd();
91636
                iprot.readListEnd();
91422
              }
91637
              }
91423
            } else { 
91638
            } else { 
91424
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
91639
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 91439... Line 91654...
91439
      oprot.writeStructBegin(STRUCT_DESC);
91654
      oprot.writeStructBegin(STRUCT_DESC);
91440
      if (this.orderIds != null) {
91655
      if (this.orderIds != null) {
91441
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
91656
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
91442
        {
91657
        {
91443
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
91658
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
91444
          for (long _iter298 : this.orderIds)
91659
          for (long _iter302 : this.orderIds)
91445
          {
91660
          {
91446
            oprot.writeI64(_iter298);
91661
            oprot.writeI64(_iter302);
91447
          }
91662
          }
91448
          oprot.writeListEnd();
91663
          oprot.writeListEnd();
91449
        }
91664
        }
91450
        oprot.writeFieldEnd();
91665
        oprot.writeFieldEnd();
91451
      }
91666
      }
Line 91807... Line 92022...
91807
        }
92022
        }
91808
        switch (field.id) {
92023
        switch (field.id) {
91809
          case 0: // SUCCESS
92024
          case 0: // SUCCESS
91810
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
92025
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
91811
              {
92026
              {
91812
                org.apache.thrift.protocol.TList _list299 = iprot.readListBegin();
92027
                org.apache.thrift.protocol.TList _list303 = iprot.readListBegin();
91813
                this.success = new ArrayList<Long>(_list299.size);
92028
                this.success = new ArrayList<Long>(_list303.size);
91814
                for (int _i300 = 0; _i300 < _list299.size; ++_i300)
92029
                for (int _i304 = 0; _i304 < _list303.size; ++_i304)
91815
                {
92030
                {
91816
                  long _elem301; // required
92031
                  long _elem305; // required
91817
                  _elem301 = iprot.readI64();
92032
                  _elem305 = iprot.readI64();
91818
                  this.success.add(_elem301);
92033
                  this.success.add(_elem305);
91819
                }
92034
                }
91820
                iprot.readListEnd();
92035
                iprot.readListEnd();
91821
              }
92036
              }
91822
            } else { 
92037
            } else { 
91823
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
92038
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 91845... Line 92060...
91845
 
92060
 
91846
      if (this.isSetSuccess()) {
92061
      if (this.isSetSuccess()) {
91847
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
92062
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
91848
        {
92063
        {
91849
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
92064
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
91850
          for (long _iter302 : this.success)
92065
          for (long _iter306 : this.success)
91851
          {
92066
          {
91852
            oprot.writeI64(_iter302);
92067
            oprot.writeI64(_iter306);
91853
          }
92068
          }
91854
          oprot.writeListEnd();
92069
          oprot.writeListEnd();
91855
        }
92070
        }
91856
        oprot.writeFieldEnd();
92071
        oprot.writeFieldEnd();
91857
      } else if (this.isSetEx()) {
92072
      } else if (this.isSetEx()) {
Line 92768... Line 92983...
92768
        }
92983
        }
92769
        switch (field.id) {
92984
        switch (field.id) {
92770
          case 0: // SUCCESS
92985
          case 0: // SUCCESS
92771
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
92986
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
92772
              {
92987
              {
92773
                org.apache.thrift.protocol.TList _list303 = iprot.readListBegin();
92988
                org.apache.thrift.protocol.TList _list307 = iprot.readListBegin();
92774
                this.success = new ArrayList<Order>(_list303.size);
92989
                this.success = new ArrayList<Order>(_list307.size);
92775
                for (int _i304 = 0; _i304 < _list303.size; ++_i304)
92990
                for (int _i308 = 0; _i308 < _list307.size; ++_i308)
92776
                {
92991
                {
92777
                  Order _elem305; // required
92992
                  Order _elem309; // required
92778
                  _elem305 = new Order();
92993
                  _elem309 = new Order();
92779
                  _elem305.read(iprot);
92994
                  _elem309.read(iprot);
92780
                  this.success.add(_elem305);
92995
                  this.success.add(_elem309);
92781
                }
92996
                }
92782
                iprot.readListEnd();
92997
                iprot.readListEnd();
92783
              }
92998
              }
92784
            } else { 
92999
            } else { 
92785
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
93000
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 92807... Line 93022...
92807
 
93022
 
92808
      if (this.isSetSuccess()) {
93023
      if (this.isSetSuccess()) {
92809
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
93024
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
92810
        {
93025
        {
92811
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
93026
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
92812
          for (Order _iter306 : this.success)
93027
          for (Order _iter310 : this.success)
92813
          {
93028
          {
92814
            _iter306.write(oprot);
93029
            _iter310.write(oprot);
92815
          }
93030
          }
92816
          oprot.writeListEnd();
93031
          oprot.writeListEnd();
92817
        }
93032
        }
92818
        oprot.writeFieldEnd();
93033
        oprot.writeFieldEnd();
92819
      } else if (this.isSetEx()) {
93034
      } else if (this.isSetEx()) {
Line 93569... Line 93784...
93569
        }
93784
        }
93570
        switch (field.id) {
93785
        switch (field.id) {
93571
          case 0: // SUCCESS
93786
          case 0: // SUCCESS
93572
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
93787
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
93573
              {
93788
              {
93574
                org.apache.thrift.protocol.TMap _map307 = iprot.readMapBegin();
93789
                org.apache.thrift.protocol.TMap _map311 = iprot.readMapBegin();
93575
                this.success = new HashMap<Long,Long>(2*_map307.size);
93790
                this.success = new HashMap<Long,Long>(2*_map311.size);
93576
                for (int _i308 = 0; _i308 < _map307.size; ++_i308)
93791
                for (int _i312 = 0; _i312 < _map311.size; ++_i312)
93577
                {
93792
                {
93578
                  long _key309; // required
93793
                  long _key313; // required
93579
                  long _val310; // required
93794
                  long _val314; // required
93580
                  _key309 = iprot.readI64();
93795
                  _key313 = iprot.readI64();
93581
                  _val310 = iprot.readI64();
93796
                  _val314 = iprot.readI64();
93582
                  this.success.put(_key309, _val310);
93797
                  this.success.put(_key313, _val314);
93583
                }
93798
                }
93584
                iprot.readMapEnd();
93799
                iprot.readMapEnd();
93585
              }
93800
              }
93586
            } else { 
93801
            } else { 
93587
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
93802
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 93609... Line 93824...
93609
 
93824
 
93610
      if (this.isSetSuccess()) {
93825
      if (this.isSetSuccess()) {
93611
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
93826
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
93612
        {
93827
        {
93613
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
93828
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
93614
          for (Map.Entry<Long, Long> _iter311 : this.success.entrySet())
93829
          for (Map.Entry<Long, Long> _iter315 : this.success.entrySet())
93615
          {
93830
          {
93616
            oprot.writeI64(_iter311.getKey());
93831
            oprot.writeI64(_iter315.getKey());
93617
            oprot.writeI64(_iter311.getValue());
93832
            oprot.writeI64(_iter315.getValue());
93618
          }
93833
          }
93619
          oprot.writeMapEnd();
93834
          oprot.writeMapEnd();
93620
        }
93835
        }
93621
        oprot.writeFieldEnd();
93836
        oprot.writeFieldEnd();
93622
      } else if (this.isSetEx()) {
93837
      } else if (this.isSetEx()) {
Line 94450... Line 94665...
94450
        }
94665
        }
94451
        switch (field.id) {
94666
        switch (field.id) {
94452
          case 0: // SUCCESS
94667
          case 0: // SUCCESS
94453
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
94668
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
94454
              {
94669
              {
94455
                org.apache.thrift.protocol.TList _list312 = iprot.readListBegin();
94670
                org.apache.thrift.protocol.TList _list316 = iprot.readListBegin();
94456
                this.success = new ArrayList<Long>(_list312.size);
94671
                this.success = new ArrayList<Long>(_list316.size);
94457
                for (int _i313 = 0; _i313 < _list312.size; ++_i313)
94672
                for (int _i317 = 0; _i317 < _list316.size; ++_i317)
94458
                {
94673
                {
94459
                  long _elem314; // required
94674
                  long _elem318; // required
94460
                  _elem314 = iprot.readI64();
94675
                  _elem318 = iprot.readI64();
94461
                  this.success.add(_elem314);
94676
                  this.success.add(_elem318);
94462
                }
94677
                }
94463
                iprot.readListEnd();
94678
                iprot.readListEnd();
94464
              }
94679
              }
94465
            } else { 
94680
            } else { 
94466
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
94681
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 94488... Line 94703...
94488
 
94703
 
94489
      if (this.isSetSuccess()) {
94704
      if (this.isSetSuccess()) {
94490
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
94705
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
94491
        {
94706
        {
94492
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
94707
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
94493
          for (long _iter315 : this.success)
94708
          for (long _iter319 : this.success)
94494
          {
94709
          {
94495
            oprot.writeI64(_iter315);
94710
            oprot.writeI64(_iter319);
94496
          }
94711
          }
94497
          oprot.writeListEnd();
94712
          oprot.writeListEnd();
94498
        }
94713
        }
94499
        oprot.writeFieldEnd();
94714
        oprot.writeFieldEnd();
94500
      } else if (this.isSetEx()) {
94715
      } else if (this.isSetEx()) {
Line 96920... Line 97135...
96920
        }
97135
        }
96921
        switch (field.id) {
97136
        switch (field.id) {
96922
          case 0: // SUCCESS
97137
          case 0: // SUCCESS
96923
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
97138
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
96924
              {
97139
              {
96925
                org.apache.thrift.protocol.TList _list316 = iprot.readListBegin();
97140
                org.apache.thrift.protocol.TList _list320 = iprot.readListBegin();
96926
                this.success = new ArrayList<Order>(_list316.size);
97141
                this.success = new ArrayList<Order>(_list320.size);
96927
                for (int _i317 = 0; _i317 < _list316.size; ++_i317)
97142
                for (int _i321 = 0; _i321 < _list320.size; ++_i321)
96928
                {
97143
                {
96929
                  Order _elem318; // required
97144
                  Order _elem322; // required
96930
                  _elem318 = new Order();
97145
                  _elem322 = new Order();
96931
                  _elem318.read(iprot);
97146
                  _elem322.read(iprot);
96932
                  this.success.add(_elem318);
97147
                  this.success.add(_elem322);
96933
                }
97148
                }
96934
                iprot.readListEnd();
97149
                iprot.readListEnd();
96935
              }
97150
              }
96936
            } else { 
97151
            } else { 
96937
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
97152
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 96959... Line 97174...
96959
 
97174
 
96960
      if (this.isSetSuccess()) {
97175
      if (this.isSetSuccess()) {
96961
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
97176
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
96962
        {
97177
        {
96963
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
97178
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
96964
          for (Order _iter319 : this.success)
97179
          for (Order _iter323 : this.success)
96965
          {
97180
          {
96966
            _iter319.write(oprot);
97181
            _iter323.write(oprot);
96967
          }
97182
          }
96968
          oprot.writeListEnd();
97183
          oprot.writeListEnd();
96969
        }
97184
        }
96970
        oprot.writeFieldEnd();
97185
        oprot.writeFieldEnd();
96971
      } else if (this.isSetEx()) {
97186
      } else if (this.isSetEx()) {
Line 97648... Line 97863...
97648
        }
97863
        }
97649
        switch (field.id) {
97864
        switch (field.id) {
97650
          case 0: // SUCCESS
97865
          case 0: // SUCCESS
97651
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
97866
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
97652
              {
97867
              {
97653
                org.apache.thrift.protocol.TList _list320 = iprot.readListBegin();
97868
                org.apache.thrift.protocol.TList _list324 = iprot.readListBegin();
97654
                this.success = new ArrayList<CODVerificationAgent>(_list320.size);
97869
                this.success = new ArrayList<CODVerificationAgent>(_list324.size);
97655
                for (int _i321 = 0; _i321 < _list320.size; ++_i321)
97870
                for (int _i325 = 0; _i325 < _list324.size; ++_i325)
97656
                {
97871
                {
97657
                  CODVerificationAgent _elem322; // required
97872
                  CODVerificationAgent _elem326; // required
97658
                  _elem322 = new CODVerificationAgent();
97873
                  _elem326 = new CODVerificationAgent();
97659
                  _elem322.read(iprot);
97874
                  _elem326.read(iprot);
97660
                  this.success.add(_elem322);
97875
                  this.success.add(_elem326);
97661
                }
97876
                }
97662
                iprot.readListEnd();
97877
                iprot.readListEnd();
97663
              }
97878
              }
97664
            } else { 
97879
            } else { 
97665
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
97880
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 97679... Line 97894...
97679
 
97894
 
97680
      if (this.isSetSuccess()) {
97895
      if (this.isSetSuccess()) {
97681
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
97896
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
97682
        {
97897
        {
97683
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
97898
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
97684
          for (CODVerificationAgent _iter323 : this.success)
97899
          for (CODVerificationAgent _iter327 : this.success)
97685
          {
97900
          {
97686
            _iter323.write(oprot);
97901
            _iter327.write(oprot);
97687
          }
97902
          }
97688
          oprot.writeListEnd();
97903
          oprot.writeListEnd();
97689
        }
97904
        }
97690
        oprot.writeFieldEnd();
97905
        oprot.writeFieldEnd();
97691
      }
97906
      }
Line 98273... Line 98488...
98273
        }
98488
        }
98274
        switch (field.id) {
98489
        switch (field.id) {
98275
          case 0: // SUCCESS
98490
          case 0: // SUCCESS
98276
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
98491
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
98277
              {
98492
              {
98278
                org.apache.thrift.protocol.TList _list324 = iprot.readListBegin();
98493
                org.apache.thrift.protocol.TList _list328 = iprot.readListBegin();
98279
                this.success = new ArrayList<Attribute>(_list324.size);
98494
                this.success = new ArrayList<Attribute>(_list328.size);
98280
                for (int _i325 = 0; _i325 < _list324.size; ++_i325)
98495
                for (int _i329 = 0; _i329 < _list328.size; ++_i329)
98281
                {
98496
                {
98282
                  Attribute _elem326; // required
98497
                  Attribute _elem330; // required
98283
                  _elem326 = new Attribute();
98498
                  _elem330 = new Attribute();
98284
                  _elem326.read(iprot);
98499
                  _elem330.read(iprot);
98285
                  this.success.add(_elem326);
98500
                  this.success.add(_elem330);
98286
                }
98501
                }
98287
                iprot.readListEnd();
98502
                iprot.readListEnd();
98288
              }
98503
              }
98289
            } else { 
98504
            } else { 
98290
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
98505
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 98304... Line 98519...
98304
 
98519
 
98305
      if (this.isSetSuccess()) {
98520
      if (this.isSetSuccess()) {
98306
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
98521
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
98307
        {
98522
        {
98308
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
98523
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
98309
          for (Attribute _iter327 : this.success)
98524
          for (Attribute _iter331 : this.success)
98310
          {
98525
          {
98311
            _iter327.write(oprot);
98526
            _iter331.write(oprot);
98312
          }
98527
          }
98313
          oprot.writeListEnd();
98528
          oprot.writeListEnd();
98314
        }
98529
        }
98315
        oprot.writeFieldEnd();
98530
        oprot.writeFieldEnd();
98316
      }
98531
      }
Line 98683... Line 98898...
98683
            }
98898
            }
98684
            break;
98899
            break;
98685
          case -1: // ATTRIBUTES
98900
          case -1: // ATTRIBUTES
98686
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
98901
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
98687
              {
98902
              {
98688
                org.apache.thrift.protocol.TList _list328 = iprot.readListBegin();
98903
                org.apache.thrift.protocol.TList _list332 = iprot.readListBegin();
98689
                this.attributes = new ArrayList<Attribute>(_list328.size);
98904
                this.attributes = new ArrayList<Attribute>(_list332.size);
98690
                for (int _i329 = 0; _i329 < _list328.size; ++_i329)
98905
                for (int _i333 = 0; _i333 < _list332.size; ++_i333)
98691
                {
98906
                {
98692
                  Attribute _elem330; // required
98907
                  Attribute _elem334; // required
98693
                  _elem330 = new Attribute();
98908
                  _elem334 = new Attribute();
98694
                  _elem330.read(iprot);
98909
                  _elem334.read(iprot);
98695
                  this.attributes.add(_elem330);
98910
                  this.attributes.add(_elem334);
98696
                }
98911
                }
98697
                iprot.readListEnd();
98912
                iprot.readListEnd();
98698
              }
98913
              }
98699
            } else { 
98914
            } else { 
98700
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
98915
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 98715... Line 98930...
98715
      oprot.writeStructBegin(STRUCT_DESC);
98930
      oprot.writeStructBegin(STRUCT_DESC);
98716
      if (this.attributes != null) {
98931
      if (this.attributes != null) {
98717
        oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC);
98932
        oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC);
98718
        {
98933
        {
98719
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.attributes.size()));
98934
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.attributes.size()));
98720
          for (Attribute _iter331 : this.attributes)
98935
          for (Attribute _iter335 : this.attributes)
98721
          {
98936
          {
98722
            _iter331.write(oprot);
98937
            _iter335.write(oprot);
98723
          }
98938
          }
98724
          oprot.writeListEnd();
98939
          oprot.writeListEnd();
98725
        }
98940
        }
98726
        oprot.writeFieldEnd();
98941
        oprot.writeFieldEnd();
98727
      }
98942
      }
Line 100099... Line 100314...
100099
        }
100314
        }
100100
        switch (field.id) {
100315
        switch (field.id) {
100101
          case 0: // SUCCESS
100316
          case 0: // SUCCESS
100102
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
100317
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
100103
              {
100318
              {
100104
                org.apache.thrift.protocol.TList _list332 = iprot.readListBegin();
100319
                org.apache.thrift.protocol.TList _list336 = iprot.readListBegin();
100105
                this.success = new ArrayList<Order>(_list332.size);
100320
                this.success = new ArrayList<Order>(_list336.size);
100106
                for (int _i333 = 0; _i333 < _list332.size; ++_i333)
100321
                for (int _i337 = 0; _i337 < _list336.size; ++_i337)
100107
                {
100322
                {
100108
                  Order _elem334; // required
100323
                  Order _elem338; // required
100109
                  _elem334 = new Order();
100324
                  _elem338 = new Order();
100110
                  _elem334.read(iprot);
100325
                  _elem338.read(iprot);
100111
                  this.success.add(_elem334);
100326
                  this.success.add(_elem338);
100112
                }
100327
                }
100113
                iprot.readListEnd();
100328
                iprot.readListEnd();
100114
              }
100329
              }
100115
            } else { 
100330
            } else { 
100116
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
100331
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 100130... Line 100345...
100130
 
100345
 
100131
      if (this.isSetSuccess()) {
100346
      if (this.isSetSuccess()) {
100132
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
100347
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
100133
        {
100348
        {
100134
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
100349
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
100135
          for (Order _iter335 : this.success)
100350
          for (Order _iter339 : this.success)
100136
          {
100351
          {
100137
            _iter335.write(oprot);
100352
            _iter339.write(oprot);
100138
          }
100353
          }
100139
          oprot.writeListEnd();
100354
          oprot.writeListEnd();
100140
        }
100355
        }
100141
        oprot.writeFieldEnd();
100356
        oprot.writeFieldEnd();
100142
      }
100357
      }
Line 100724... Line 100939...
100724
        }
100939
        }
100725
        switch (field.id) {
100940
        switch (field.id) {
100726
          case 0: // SUCCESS
100941
          case 0: // SUCCESS
100727
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
100942
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
100728
              {
100943
              {
100729
                org.apache.thrift.protocol.TList _list336 = iprot.readListBegin();
100944
                org.apache.thrift.protocol.TList _list340 = iprot.readListBegin();
100730
                this.success = new ArrayList<Order>(_list336.size);
100945
                this.success = new ArrayList<Order>(_list340.size);
100731
                for (int _i337 = 0; _i337 < _list336.size; ++_i337)
100946
                for (int _i341 = 0; _i341 < _list340.size; ++_i341)
100732
                {
100947
                {
100733
                  Order _elem338; // required
100948
                  Order _elem342; // required
100734
                  _elem338 = new Order();
100949
                  _elem342 = new Order();
100735
                  _elem338.read(iprot);
100950
                  _elem342.read(iprot);
100736
                  this.success.add(_elem338);
100951
                  this.success.add(_elem342);
100737
                }
100952
                }
100738
                iprot.readListEnd();
100953
                iprot.readListEnd();
100739
              }
100954
              }
100740
            } else { 
100955
            } else { 
100741
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
100956
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 100755... Line 100970...
100755
 
100970
 
100756
      if (this.isSetSuccess()) {
100971
      if (this.isSetSuccess()) {
100757
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
100972
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
100758
        {
100973
        {
100759
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
100974
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
100760
          for (Order _iter339 : this.success)
100975
          for (Order _iter343 : this.success)
100761
          {
100976
          {
100762
            _iter339.write(oprot);
100977
            _iter343.write(oprot);
100763
          }
100978
          }
100764
          oprot.writeListEnd();
100979
          oprot.writeListEnd();
100765
        }
100980
        }
100766
        oprot.writeFieldEnd();
100981
        oprot.writeFieldEnd();
100767
      }
100982
      }
Line 100775... Line 100990...
100775
      boolean first = true;
100990
      boolean first = true;
100776
 
100991
 
100777
      sb.append("success:");
100992
      sb.append("success:");
100778
      if (this.success == null) {
100993
      if (this.success == null) {
100779
        sb.append("null");
100994
        sb.append("null");
-
 
100995
      } else {
-
 
100996
        sb.append(this.success);
-
 
100997
      }
-
 
100998
      first = false;
-
 
100999
      sb.append(")");
-
 
101000
      return sb.toString();
-
 
101001
    }
-
 
101002
 
-
 
101003
    public void validate() throws org.apache.thrift.TException {
-
 
101004
      // check for required fields
-
 
101005
    }
-
 
101006
 
-
 
101007
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
101008
      try {
-
 
101009
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
101010
      } catch (org.apache.thrift.TException te) {
-
 
101011
        throw new java.io.IOException(te);
-
 
101012
      }
-
 
101013
    }
-
 
101014
 
-
 
101015
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
101016
      try {
-
 
101017
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
101018
      } catch (org.apache.thrift.TException te) {
-
 
101019
        throw new java.io.IOException(te);
-
 
101020
      }
-
 
101021
    }
-
 
101022
 
-
 
101023
  }
-
 
101024
 
-
 
101025
  public static class getOrdersCollectionAtStore_args implements org.apache.thrift.TBase<getOrdersCollectionAtStore_args, getOrdersCollectionAtStore_args._Fields>, java.io.Serializable, Cloneable   {
-
 
101026
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrdersCollectionAtStore_args");
-
 
101027
 
-
 
101028
    private static final org.apache.thrift.protocol.TField STORE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("storeId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
101029
    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);
-
 
101030
    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);
-
 
101031
    private static final org.apache.thrift.protocol.TField ONLY_COD_FIELD_DESC = new org.apache.thrift.protocol.TField("onlyCod", org.apache.thrift.protocol.TType.BOOL, (short)4);
-
 
101032
 
-
 
101033
    private long storeId; // required
-
 
101034
    private long fromDate; // required
-
 
101035
    private long toDate; // required
-
 
101036
    private boolean onlyCod; // required
-
 
101037
 
-
 
101038
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
101039
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
101040
      STORE_ID((short)1, "storeId"),
-
 
101041
      FROM_DATE((short)2, "fromDate"),
-
 
101042
      TO_DATE((short)3, "toDate"),
-
 
101043
      ONLY_COD((short)4, "onlyCod");
-
 
101044
 
-
 
101045
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
101046
 
-
 
101047
      static {
-
 
101048
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
101049
          byName.put(field.getFieldName(), field);
-
 
101050
        }
-
 
101051
      }
-
 
101052
 
-
 
101053
      /**
-
 
101054
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
101055
       */
-
 
101056
      public static _Fields findByThriftId(int fieldId) {
-
 
101057
        switch(fieldId) {
-
 
101058
          case 1: // STORE_ID
-
 
101059
            return STORE_ID;
-
 
101060
          case 2: // FROM_DATE
-
 
101061
            return FROM_DATE;
-
 
101062
          case 3: // TO_DATE
-
 
101063
            return TO_DATE;
-
 
101064
          case 4: // ONLY_COD
-
 
101065
            return ONLY_COD;
-
 
101066
          default:
-
 
101067
            return null;
-
 
101068
        }
-
 
101069
      }
-
 
101070
 
-
 
101071
      /**
-
 
101072
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
101073
       * if it is not found.
-
 
101074
       */
-
 
101075
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
101076
        _Fields fields = findByThriftId(fieldId);
-
 
101077
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
101078
        return fields;
-
 
101079
      }
-
 
101080
 
-
 
101081
      /**
-
 
101082
       * Find the _Fields constant that matches name, or null if its not found.
-
 
101083
       */
-
 
101084
      public static _Fields findByName(String name) {
-
 
101085
        return byName.get(name);
-
 
101086
      }
-
 
101087
 
-
 
101088
      private final short _thriftId;
-
 
101089
      private final String _fieldName;
-
 
101090
 
-
 
101091
      _Fields(short thriftId, String fieldName) {
-
 
101092
        _thriftId = thriftId;
-
 
101093
        _fieldName = fieldName;
-
 
101094
      }
-
 
101095
 
-
 
101096
      public short getThriftFieldId() {
-
 
101097
        return _thriftId;
-
 
101098
      }
-
 
101099
 
-
 
101100
      public String getFieldName() {
-
 
101101
        return _fieldName;
-
 
101102
      }
-
 
101103
    }
-
 
101104
 
-
 
101105
    // isset id assignments
-
 
101106
    private static final int __STOREID_ISSET_ID = 0;
-
 
101107
    private static final int __FROMDATE_ISSET_ID = 1;
-
 
101108
    private static final int __TODATE_ISSET_ID = 2;
-
 
101109
    private static final int __ONLYCOD_ISSET_ID = 3;
-
 
101110
    private BitSet __isset_bit_vector = new BitSet(4);
-
 
101111
 
-
 
101112
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
101113
    static {
-
 
101114
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
101115
      tmpMap.put(_Fields.STORE_ID, new org.apache.thrift.meta_data.FieldMetaData("storeId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
101116
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
101117
      tmpMap.put(_Fields.FROM_DATE, new org.apache.thrift.meta_data.FieldMetaData("fromDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
101118
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
101119
      tmpMap.put(_Fields.TO_DATE, new org.apache.thrift.meta_data.FieldMetaData("toDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
101120
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
101121
      tmpMap.put(_Fields.ONLY_COD, new org.apache.thrift.meta_data.FieldMetaData("onlyCod", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
101122
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
101123
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
101124
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrdersCollectionAtStore_args.class, metaDataMap);
-
 
101125
    }
-
 
101126
 
-
 
101127
    public getOrdersCollectionAtStore_args() {
-
 
101128
    }
-
 
101129
 
-
 
101130
    public getOrdersCollectionAtStore_args(
-
 
101131
      long storeId,
-
 
101132
      long fromDate,
-
 
101133
      long toDate,
-
 
101134
      boolean onlyCod)
-
 
101135
    {
-
 
101136
      this();
-
 
101137
      this.storeId = storeId;
-
 
101138
      setStoreIdIsSet(true);
-
 
101139
      this.fromDate = fromDate;
-
 
101140
      setFromDateIsSet(true);
-
 
101141
      this.toDate = toDate;
-
 
101142
      setToDateIsSet(true);
-
 
101143
      this.onlyCod = onlyCod;
-
 
101144
      setOnlyCodIsSet(true);
-
 
101145
    }
-
 
101146
 
-
 
101147
    /**
-
 
101148
     * Performs a deep copy on <i>other</i>.
-
 
101149
     */
-
 
101150
    public getOrdersCollectionAtStore_args(getOrdersCollectionAtStore_args other) {
-
 
101151
      __isset_bit_vector.clear();
-
 
101152
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
101153
      this.storeId = other.storeId;
-
 
101154
      this.fromDate = other.fromDate;
-
 
101155
      this.toDate = other.toDate;
-
 
101156
      this.onlyCod = other.onlyCod;
-
 
101157
    }
-
 
101158
 
-
 
101159
    public getOrdersCollectionAtStore_args deepCopy() {
-
 
101160
      return new getOrdersCollectionAtStore_args(this);
-
 
101161
    }
-
 
101162
 
-
 
101163
    @Override
-
 
101164
    public void clear() {
-
 
101165
      setStoreIdIsSet(false);
-
 
101166
      this.storeId = 0;
-
 
101167
      setFromDateIsSet(false);
-
 
101168
      this.fromDate = 0;
-
 
101169
      setToDateIsSet(false);
-
 
101170
      this.toDate = 0;
-
 
101171
      setOnlyCodIsSet(false);
-
 
101172
      this.onlyCod = false;
-
 
101173
    }
-
 
101174
 
-
 
101175
    public long getStoreId() {
-
 
101176
      return this.storeId;
-
 
101177
    }
-
 
101178
 
-
 
101179
    public void setStoreId(long storeId) {
-
 
101180
      this.storeId = storeId;
-
 
101181
      setStoreIdIsSet(true);
-
 
101182
    }
-
 
101183
 
-
 
101184
    public void unsetStoreId() {
-
 
101185
      __isset_bit_vector.clear(__STOREID_ISSET_ID);
-
 
101186
    }
-
 
101187
 
-
 
101188
    /** Returns true if field storeId is set (has been assigned a value) and false otherwise */
-
 
101189
    public boolean isSetStoreId() {
-
 
101190
      return __isset_bit_vector.get(__STOREID_ISSET_ID);
-
 
101191
    }
-
 
101192
 
-
 
101193
    public void setStoreIdIsSet(boolean value) {
-
 
101194
      __isset_bit_vector.set(__STOREID_ISSET_ID, value);
-
 
101195
    }
-
 
101196
 
-
 
101197
    public long getFromDate() {
-
 
101198
      return this.fromDate;
-
 
101199
    }
-
 
101200
 
-
 
101201
    public void setFromDate(long fromDate) {
-
 
101202
      this.fromDate = fromDate;
-
 
101203
      setFromDateIsSet(true);
-
 
101204
    }
-
 
101205
 
-
 
101206
    public void unsetFromDate() {
-
 
101207
      __isset_bit_vector.clear(__FROMDATE_ISSET_ID);
-
 
101208
    }
-
 
101209
 
-
 
101210
    /** Returns true if field fromDate is set (has been assigned a value) and false otherwise */
-
 
101211
    public boolean isSetFromDate() {
-
 
101212
      return __isset_bit_vector.get(__FROMDATE_ISSET_ID);
-
 
101213
    }
-
 
101214
 
-
 
101215
    public void setFromDateIsSet(boolean value) {
-
 
101216
      __isset_bit_vector.set(__FROMDATE_ISSET_ID, value);
-
 
101217
    }
-
 
101218
 
-
 
101219
    public long getToDate() {
-
 
101220
      return this.toDate;
-
 
101221
    }
-
 
101222
 
-
 
101223
    public void setToDate(long toDate) {
-
 
101224
      this.toDate = toDate;
-
 
101225
      setToDateIsSet(true);
-
 
101226
    }
-
 
101227
 
-
 
101228
    public void unsetToDate() {
-
 
101229
      __isset_bit_vector.clear(__TODATE_ISSET_ID);
-
 
101230
    }
-
 
101231
 
-
 
101232
    /** Returns true if field toDate is set (has been assigned a value) and false otherwise */
-
 
101233
    public boolean isSetToDate() {
-
 
101234
      return __isset_bit_vector.get(__TODATE_ISSET_ID);
-
 
101235
    }
-
 
101236
 
-
 
101237
    public void setToDateIsSet(boolean value) {
-
 
101238
      __isset_bit_vector.set(__TODATE_ISSET_ID, value);
-
 
101239
    }
-
 
101240
 
-
 
101241
    public boolean isOnlyCod() {
-
 
101242
      return this.onlyCod;
-
 
101243
    }
-
 
101244
 
-
 
101245
    public void setOnlyCod(boolean onlyCod) {
-
 
101246
      this.onlyCod = onlyCod;
-
 
101247
      setOnlyCodIsSet(true);
-
 
101248
    }
-
 
101249
 
-
 
101250
    public void unsetOnlyCod() {
-
 
101251
      __isset_bit_vector.clear(__ONLYCOD_ISSET_ID);
-
 
101252
    }
-
 
101253
 
-
 
101254
    /** Returns true if field onlyCod is set (has been assigned a value) and false otherwise */
-
 
101255
    public boolean isSetOnlyCod() {
-
 
101256
      return __isset_bit_vector.get(__ONLYCOD_ISSET_ID);
-
 
101257
    }
-
 
101258
 
-
 
101259
    public void setOnlyCodIsSet(boolean value) {
-
 
101260
      __isset_bit_vector.set(__ONLYCOD_ISSET_ID, value);
-
 
101261
    }
-
 
101262
 
-
 
101263
    public void setFieldValue(_Fields field, Object value) {
-
 
101264
      switch (field) {
-
 
101265
      case STORE_ID:
-
 
101266
        if (value == null) {
-
 
101267
          unsetStoreId();
-
 
101268
        } else {
-
 
101269
          setStoreId((Long)value);
-
 
101270
        }
-
 
101271
        break;
-
 
101272
 
-
 
101273
      case FROM_DATE:
-
 
101274
        if (value == null) {
-
 
101275
          unsetFromDate();
-
 
101276
        } else {
-
 
101277
          setFromDate((Long)value);
-
 
101278
        }
-
 
101279
        break;
-
 
101280
 
-
 
101281
      case TO_DATE:
-
 
101282
        if (value == null) {
-
 
101283
          unsetToDate();
-
 
101284
        } else {
-
 
101285
          setToDate((Long)value);
-
 
101286
        }
-
 
101287
        break;
-
 
101288
 
-
 
101289
      case ONLY_COD:
-
 
101290
        if (value == null) {
-
 
101291
          unsetOnlyCod();
-
 
101292
        } else {
-
 
101293
          setOnlyCod((Boolean)value);
-
 
101294
        }
-
 
101295
        break;
-
 
101296
 
-
 
101297
      }
-
 
101298
    }
-
 
101299
 
-
 
101300
    public Object getFieldValue(_Fields field) {
-
 
101301
      switch (field) {
-
 
101302
      case STORE_ID:
-
 
101303
        return Long.valueOf(getStoreId());
-
 
101304
 
-
 
101305
      case FROM_DATE:
-
 
101306
        return Long.valueOf(getFromDate());
-
 
101307
 
-
 
101308
      case TO_DATE:
-
 
101309
        return Long.valueOf(getToDate());
-
 
101310
 
-
 
101311
      case ONLY_COD:
-
 
101312
        return Boolean.valueOf(isOnlyCod());
-
 
101313
 
-
 
101314
      }
-
 
101315
      throw new IllegalStateException();
-
 
101316
    }
-
 
101317
 
-
 
101318
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
101319
    public boolean isSet(_Fields field) {
-
 
101320
      if (field == null) {
-
 
101321
        throw new IllegalArgumentException();
-
 
101322
      }
-
 
101323
 
-
 
101324
      switch (field) {
-
 
101325
      case STORE_ID:
-
 
101326
        return isSetStoreId();
-
 
101327
      case FROM_DATE:
-
 
101328
        return isSetFromDate();
-
 
101329
      case TO_DATE:
-
 
101330
        return isSetToDate();
-
 
101331
      case ONLY_COD:
-
 
101332
        return isSetOnlyCod();
-
 
101333
      }
-
 
101334
      throw new IllegalStateException();
-
 
101335
    }
-
 
101336
 
-
 
101337
    @Override
-
 
101338
    public boolean equals(Object that) {
-
 
101339
      if (that == null)
-
 
101340
        return false;
-
 
101341
      if (that instanceof getOrdersCollectionAtStore_args)
-
 
101342
        return this.equals((getOrdersCollectionAtStore_args)that);
-
 
101343
      return false;
-
 
101344
    }
-
 
101345
 
-
 
101346
    public boolean equals(getOrdersCollectionAtStore_args that) {
-
 
101347
      if (that == null)
-
 
101348
        return false;
-
 
101349
 
-
 
101350
      boolean this_present_storeId = true;
-
 
101351
      boolean that_present_storeId = true;
-
 
101352
      if (this_present_storeId || that_present_storeId) {
-
 
101353
        if (!(this_present_storeId && that_present_storeId))
-
 
101354
          return false;
-
 
101355
        if (this.storeId != that.storeId)
-
 
101356
          return false;
-
 
101357
      }
-
 
101358
 
-
 
101359
      boolean this_present_fromDate = true;
-
 
101360
      boolean that_present_fromDate = true;
-
 
101361
      if (this_present_fromDate || that_present_fromDate) {
-
 
101362
        if (!(this_present_fromDate && that_present_fromDate))
-
 
101363
          return false;
-
 
101364
        if (this.fromDate != that.fromDate)
-
 
101365
          return false;
-
 
101366
      }
-
 
101367
 
-
 
101368
      boolean this_present_toDate = true;
-
 
101369
      boolean that_present_toDate = true;
-
 
101370
      if (this_present_toDate || that_present_toDate) {
-
 
101371
        if (!(this_present_toDate && that_present_toDate))
-
 
101372
          return false;
-
 
101373
        if (this.toDate != that.toDate)
-
 
101374
          return false;
-
 
101375
      }
-
 
101376
 
-
 
101377
      boolean this_present_onlyCod = true;
-
 
101378
      boolean that_present_onlyCod = true;
-
 
101379
      if (this_present_onlyCod || that_present_onlyCod) {
-
 
101380
        if (!(this_present_onlyCod && that_present_onlyCod))
-
 
101381
          return false;
-
 
101382
        if (this.onlyCod != that.onlyCod)
-
 
101383
          return false;
-
 
101384
      }
-
 
101385
 
-
 
101386
      return true;
-
 
101387
    }
-
 
101388
 
-
 
101389
    @Override
-
 
101390
    public int hashCode() {
-
 
101391
      return 0;
-
 
101392
    }
-
 
101393
 
-
 
101394
    public int compareTo(getOrdersCollectionAtStore_args other) {
-
 
101395
      if (!getClass().equals(other.getClass())) {
-
 
101396
        return getClass().getName().compareTo(other.getClass().getName());
-
 
101397
      }
-
 
101398
 
-
 
101399
      int lastComparison = 0;
-
 
101400
      getOrdersCollectionAtStore_args typedOther = (getOrdersCollectionAtStore_args)other;
-
 
101401
 
-
 
101402
      lastComparison = Boolean.valueOf(isSetStoreId()).compareTo(typedOther.isSetStoreId());
-
 
101403
      if (lastComparison != 0) {
-
 
101404
        return lastComparison;
-
 
101405
      }
-
 
101406
      if (isSetStoreId()) {
-
 
101407
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storeId, typedOther.storeId);
-
 
101408
        if (lastComparison != 0) {
-
 
101409
          return lastComparison;
-
 
101410
        }
-
 
101411
      }
-
 
101412
      lastComparison = Boolean.valueOf(isSetFromDate()).compareTo(typedOther.isSetFromDate());
-
 
101413
      if (lastComparison != 0) {
-
 
101414
        return lastComparison;
-
 
101415
      }
-
 
101416
      if (isSetFromDate()) {
-
 
101417
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fromDate, typedOther.fromDate);
-
 
101418
        if (lastComparison != 0) {
-
 
101419
          return lastComparison;
-
 
101420
        }
-
 
101421
      }
-
 
101422
      lastComparison = Boolean.valueOf(isSetToDate()).compareTo(typedOther.isSetToDate());
-
 
101423
      if (lastComparison != 0) {
-
 
101424
        return lastComparison;
-
 
101425
      }
-
 
101426
      if (isSetToDate()) {
-
 
101427
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.toDate, typedOther.toDate);
-
 
101428
        if (lastComparison != 0) {
-
 
101429
          return lastComparison;
-
 
101430
        }
-
 
101431
      }
-
 
101432
      lastComparison = Boolean.valueOf(isSetOnlyCod()).compareTo(typedOther.isSetOnlyCod());
-
 
101433
      if (lastComparison != 0) {
-
 
101434
        return lastComparison;
-
 
101435
      }
-
 
101436
      if (isSetOnlyCod()) {
-
 
101437
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.onlyCod, typedOther.onlyCod);
-
 
101438
        if (lastComparison != 0) {
-
 
101439
          return lastComparison;
-
 
101440
        }
-
 
101441
      }
-
 
101442
      return 0;
-
 
101443
    }
-
 
101444
 
-
 
101445
    public _Fields fieldForId(int fieldId) {
-
 
101446
      return _Fields.findByThriftId(fieldId);
-
 
101447
    }
-
 
101448
 
-
 
101449
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
101450
      org.apache.thrift.protocol.TField field;
-
 
101451
      iprot.readStructBegin();
-
 
101452
      while (true)
-
 
101453
      {
-
 
101454
        field = iprot.readFieldBegin();
-
 
101455
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
101456
          break;
-
 
101457
        }
-
 
101458
        switch (field.id) {
-
 
101459
          case 1: // STORE_ID
-
 
101460
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
101461
              this.storeId = iprot.readI64();
-
 
101462
              setStoreIdIsSet(true);
-
 
101463
            } else { 
-
 
101464
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
101465
            }
-
 
101466
            break;
-
 
101467
          case 2: // FROM_DATE
-
 
101468
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
101469
              this.fromDate = iprot.readI64();
-
 
101470
              setFromDateIsSet(true);
-
 
101471
            } else { 
-
 
101472
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
101473
            }
-
 
101474
            break;
-
 
101475
          case 3: // TO_DATE
-
 
101476
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
101477
              this.toDate = iprot.readI64();
-
 
101478
              setToDateIsSet(true);
-
 
101479
            } else { 
-
 
101480
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
101481
            }
-
 
101482
            break;
-
 
101483
          case 4: // ONLY_COD
-
 
101484
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
101485
              this.onlyCod = iprot.readBool();
-
 
101486
              setOnlyCodIsSet(true);
-
 
101487
            } else { 
-
 
101488
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
101489
            }
-
 
101490
            break;
-
 
101491
          default:
-
 
101492
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
101493
        }
-
 
101494
        iprot.readFieldEnd();
-
 
101495
      }
-
 
101496
      iprot.readStructEnd();
-
 
101497
      validate();
-
 
101498
    }
-
 
101499
 
-
 
101500
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
101501
      validate();
-
 
101502
 
-
 
101503
      oprot.writeStructBegin(STRUCT_DESC);
-
 
101504
      oprot.writeFieldBegin(STORE_ID_FIELD_DESC);
-
 
101505
      oprot.writeI64(this.storeId);
-
 
101506
      oprot.writeFieldEnd();
-
 
101507
      oprot.writeFieldBegin(FROM_DATE_FIELD_DESC);
-
 
101508
      oprot.writeI64(this.fromDate);
-
 
101509
      oprot.writeFieldEnd();
-
 
101510
      oprot.writeFieldBegin(TO_DATE_FIELD_DESC);
-
 
101511
      oprot.writeI64(this.toDate);
-
 
101512
      oprot.writeFieldEnd();
-
 
101513
      oprot.writeFieldBegin(ONLY_COD_FIELD_DESC);
-
 
101514
      oprot.writeBool(this.onlyCod);
-
 
101515
      oprot.writeFieldEnd();
-
 
101516
      oprot.writeFieldStop();
-
 
101517
      oprot.writeStructEnd();
-
 
101518
    }
-
 
101519
 
-
 
101520
    @Override
-
 
101521
    public String toString() {
-
 
101522
      StringBuilder sb = new StringBuilder("getOrdersCollectionAtStore_args(");
-
 
101523
      boolean first = true;
-
 
101524
 
-
 
101525
      sb.append("storeId:");
-
 
101526
      sb.append(this.storeId);
-
 
101527
      first = false;
-
 
101528
      if (!first) sb.append(", ");
-
 
101529
      sb.append("fromDate:");
-
 
101530
      sb.append(this.fromDate);
-
 
101531
      first = false;
-
 
101532
      if (!first) sb.append(", ");
-
 
101533
      sb.append("toDate:");
-
 
101534
      sb.append(this.toDate);
-
 
101535
      first = false;
-
 
101536
      if (!first) sb.append(", ");
-
 
101537
      sb.append("onlyCod:");
-
 
101538
      sb.append(this.onlyCod);
-
 
101539
      first = false;
-
 
101540
      sb.append(")");
-
 
101541
      return sb.toString();
-
 
101542
    }
-
 
101543
 
-
 
101544
    public void validate() throws org.apache.thrift.TException {
-
 
101545
      // check for required fields
-
 
101546
    }
-
 
101547
 
-
 
101548
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
101549
      try {
-
 
101550
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
101551
      } catch (org.apache.thrift.TException te) {
-
 
101552
        throw new java.io.IOException(te);
-
 
101553
      }
-
 
101554
    }
-
 
101555
 
-
 
101556
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
101557
      try {
-
 
101558
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
101559
        __isset_bit_vector = new BitSet(1);
-
 
101560
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
101561
      } catch (org.apache.thrift.TException te) {
-
 
101562
        throw new java.io.IOException(te);
-
 
101563
      }
-
 
101564
    }
-
 
101565
 
-
 
101566
  }
-
 
101567
 
-
 
101568
  public static class getOrdersCollectionAtStore_result implements org.apache.thrift.TBase<getOrdersCollectionAtStore_result, getOrdersCollectionAtStore_result._Fields>, java.io.Serializable, Cloneable   {
-
 
101569
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrdersCollectionAtStore_result");
-
 
101570
 
-
 
101571
    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);
-
 
101572
 
-
 
101573
    private List<Order> success; // required
-
 
101574
 
-
 
101575
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
101576
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
101577
      SUCCESS((short)0, "success");
-
 
101578
 
-
 
101579
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
101580
 
-
 
101581
      static {
-
 
101582
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
101583
          byName.put(field.getFieldName(), field);
-
 
101584
        }
-
 
101585
      }
-
 
101586
 
-
 
101587
      /**
-
 
101588
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
101589
       */
-
 
101590
      public static _Fields findByThriftId(int fieldId) {
-
 
101591
        switch(fieldId) {
-
 
101592
          case 0: // SUCCESS
-
 
101593
            return SUCCESS;
-
 
101594
          default:
-
 
101595
            return null;
-
 
101596
        }
-
 
101597
      }
-
 
101598
 
-
 
101599
      /**
-
 
101600
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
101601
       * if it is not found.
-
 
101602
       */
-
 
101603
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
101604
        _Fields fields = findByThriftId(fieldId);
-
 
101605
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
101606
        return fields;
-
 
101607
      }
-
 
101608
 
-
 
101609
      /**
-
 
101610
       * Find the _Fields constant that matches name, or null if its not found.
-
 
101611
       */
-
 
101612
      public static _Fields findByName(String name) {
-
 
101613
        return byName.get(name);
-
 
101614
      }
-
 
101615
 
-
 
101616
      private final short _thriftId;
-
 
101617
      private final String _fieldName;
-
 
101618
 
-
 
101619
      _Fields(short thriftId, String fieldName) {
-
 
101620
        _thriftId = thriftId;
-
 
101621
        _fieldName = fieldName;
-
 
101622
      }
-
 
101623
 
-
 
101624
      public short getThriftFieldId() {
-
 
101625
        return _thriftId;
-
 
101626
      }
-
 
101627
 
-
 
101628
      public String getFieldName() {
-
 
101629
        return _fieldName;
-
 
101630
      }
-
 
101631
    }
-
 
101632
 
-
 
101633
    // isset id assignments
-
 
101634
 
-
 
101635
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
101636
    static {
-
 
101637
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
101638
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
101639
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
101640
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
-
 
101641
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
101642
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrdersCollectionAtStore_result.class, metaDataMap);
-
 
101643
    }
-
 
101644
 
-
 
101645
    public getOrdersCollectionAtStore_result() {
-
 
101646
    }
-
 
101647
 
-
 
101648
    public getOrdersCollectionAtStore_result(
-
 
101649
      List<Order> success)
-
 
101650
    {
-
 
101651
      this();
-
 
101652
      this.success = success;
-
 
101653
    }
-
 
101654
 
-
 
101655
    /**
-
 
101656
     * Performs a deep copy on <i>other</i>.
-
 
101657
     */
-
 
101658
    public getOrdersCollectionAtStore_result(getOrdersCollectionAtStore_result other) {
-
 
101659
      if (other.isSetSuccess()) {
-
 
101660
        List<Order> __this__success = new ArrayList<Order>();
-
 
101661
        for (Order other_element : other.success) {
-
 
101662
          __this__success.add(new Order(other_element));
-
 
101663
        }
-
 
101664
        this.success = __this__success;
-
 
101665
      }
-
 
101666
    }
-
 
101667
 
-
 
101668
    public getOrdersCollectionAtStore_result deepCopy() {
-
 
101669
      return new getOrdersCollectionAtStore_result(this);
-
 
101670
    }
-
 
101671
 
-
 
101672
    @Override
-
 
101673
    public void clear() {
-
 
101674
      this.success = null;
-
 
101675
    }
-
 
101676
 
-
 
101677
    public int getSuccessSize() {
-
 
101678
      return (this.success == null) ? 0 : this.success.size();
-
 
101679
    }
-
 
101680
 
-
 
101681
    public java.util.Iterator<Order> getSuccessIterator() {
-
 
101682
      return (this.success == null) ? null : this.success.iterator();
-
 
101683
    }
-
 
101684
 
-
 
101685
    public void addToSuccess(Order elem) {
-
 
101686
      if (this.success == null) {
-
 
101687
        this.success = new ArrayList<Order>();
-
 
101688
      }
-
 
101689
      this.success.add(elem);
-
 
101690
    }
-
 
101691
 
-
 
101692
    public List<Order> getSuccess() {
-
 
101693
      return this.success;
-
 
101694
    }
-
 
101695
 
-
 
101696
    public void setSuccess(List<Order> success) {
-
 
101697
      this.success = success;
-
 
101698
    }
-
 
101699
 
-
 
101700
    public void unsetSuccess() {
-
 
101701
      this.success = null;
-
 
101702
    }
-
 
101703
 
-
 
101704
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
101705
    public boolean isSetSuccess() {
-
 
101706
      return this.success != null;
-
 
101707
    }
-
 
101708
 
-
 
101709
    public void setSuccessIsSet(boolean value) {
-
 
101710
      if (!value) {
-
 
101711
        this.success = null;
-
 
101712
      }
-
 
101713
    }
-
 
101714
 
-
 
101715
    public void setFieldValue(_Fields field, Object value) {
-
 
101716
      switch (field) {
-
 
101717
      case SUCCESS:
-
 
101718
        if (value == null) {
-
 
101719
          unsetSuccess();
-
 
101720
        } else {
-
 
101721
          setSuccess((List<Order>)value);
-
 
101722
        }
-
 
101723
        break;
-
 
101724
 
-
 
101725
      }
-
 
101726
    }
-
 
101727
 
-
 
101728
    public Object getFieldValue(_Fields field) {
-
 
101729
      switch (field) {
-
 
101730
      case SUCCESS:
-
 
101731
        return getSuccess();
-
 
101732
 
-
 
101733
      }
-
 
101734
      throw new IllegalStateException();
-
 
101735
    }
-
 
101736
 
-
 
101737
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
101738
    public boolean isSet(_Fields field) {
-
 
101739
      if (field == null) {
-
 
101740
        throw new IllegalArgumentException();
-
 
101741
      }
-
 
101742
 
-
 
101743
      switch (field) {
-
 
101744
      case SUCCESS:
-
 
101745
        return isSetSuccess();
-
 
101746
      }
-
 
101747
      throw new IllegalStateException();
-
 
101748
    }
-
 
101749
 
-
 
101750
    @Override
-
 
101751
    public boolean equals(Object that) {
-
 
101752
      if (that == null)
-
 
101753
        return false;
-
 
101754
      if (that instanceof getOrdersCollectionAtStore_result)
-
 
101755
        return this.equals((getOrdersCollectionAtStore_result)that);
-
 
101756
      return false;
-
 
101757
    }
-
 
101758
 
-
 
101759
    public boolean equals(getOrdersCollectionAtStore_result that) {
-
 
101760
      if (that == null)
-
 
101761
        return false;
-
 
101762
 
-
 
101763
      boolean this_present_success = true && this.isSetSuccess();
-
 
101764
      boolean that_present_success = true && that.isSetSuccess();
-
 
101765
      if (this_present_success || that_present_success) {
-
 
101766
        if (!(this_present_success && that_present_success))
-
 
101767
          return false;
-
 
101768
        if (!this.success.equals(that.success))
-
 
101769
          return false;
-
 
101770
      }
-
 
101771
 
-
 
101772
      return true;
-
 
101773
    }
-
 
101774
 
-
 
101775
    @Override
-
 
101776
    public int hashCode() {
-
 
101777
      return 0;
-
 
101778
    }
-
 
101779
 
-
 
101780
    public int compareTo(getOrdersCollectionAtStore_result other) {
-
 
101781
      if (!getClass().equals(other.getClass())) {
-
 
101782
        return getClass().getName().compareTo(other.getClass().getName());
-
 
101783
      }
-
 
101784
 
-
 
101785
      int lastComparison = 0;
-
 
101786
      getOrdersCollectionAtStore_result typedOther = (getOrdersCollectionAtStore_result)other;
-
 
101787
 
-
 
101788
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
101789
      if (lastComparison != 0) {
-
 
101790
        return lastComparison;
-
 
101791
      }
-
 
101792
      if (isSetSuccess()) {
-
 
101793
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
101794
        if (lastComparison != 0) {
-
 
101795
          return lastComparison;
-
 
101796
        }
-
 
101797
      }
-
 
101798
      return 0;
-
 
101799
    }
-
 
101800
 
-
 
101801
    public _Fields fieldForId(int fieldId) {
-
 
101802
      return _Fields.findByThriftId(fieldId);
-
 
101803
    }
-
 
101804
 
-
 
101805
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
101806
      org.apache.thrift.protocol.TField field;
-
 
101807
      iprot.readStructBegin();
-
 
101808
      while (true)
-
 
101809
      {
-
 
101810
        field = iprot.readFieldBegin();
-
 
101811
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
101812
          break;
-
 
101813
        }
-
 
101814
        switch (field.id) {
-
 
101815
          case 0: // SUCCESS
-
 
101816
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
101817
              {
-
 
101818
                org.apache.thrift.protocol.TList _list344 = iprot.readListBegin();
-
 
101819
                this.success = new ArrayList<Order>(_list344.size);
-
 
101820
                for (int _i345 = 0; _i345 < _list344.size; ++_i345)
-
 
101821
                {
-
 
101822
                  Order _elem346; // required
-
 
101823
                  _elem346 = new Order();
-
 
101824
                  _elem346.read(iprot);
-
 
101825
                  this.success.add(_elem346);
-
 
101826
                }
-
 
101827
                iprot.readListEnd();
-
 
101828
              }
-
 
101829
            } else { 
-
 
101830
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
101831
            }
-
 
101832
            break;
-
 
101833
          default:
-
 
101834
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
101835
        }
-
 
101836
        iprot.readFieldEnd();
-
 
101837
      }
-
 
101838
      iprot.readStructEnd();
-
 
101839
      validate();
-
 
101840
    }
-
 
101841
 
-
 
101842
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
101843
      oprot.writeStructBegin(STRUCT_DESC);
-
 
101844
 
-
 
101845
      if (this.isSetSuccess()) {
-
 
101846
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
101847
        {
-
 
101848
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
101849
          for (Order _iter347 : this.success)
-
 
101850
          {
-
 
101851
            _iter347.write(oprot);
-
 
101852
          }
-
 
101853
          oprot.writeListEnd();
-
 
101854
        }
-
 
101855
        oprot.writeFieldEnd();
-
 
101856
      }
-
 
101857
      oprot.writeFieldStop();
-
 
101858
      oprot.writeStructEnd();
-
 
101859
    }
-
 
101860
 
-
 
101861
    @Override
-
 
101862
    public String toString() {
-
 
101863
      StringBuilder sb = new StringBuilder("getOrdersCollectionAtStore_result(");
-
 
101864
      boolean first = true;
-
 
101865
 
-
 
101866
      sb.append("success:");
-
 
101867
      if (this.success == null) {
-
 
101868
        sb.append("null");
100780
      } else {
101869
      } else {
100781
        sb.append(this.success);
101870
        sb.append(this.success);
100782
      }
101871
      }
100783
      first = false;
101872
      first = false;
100784
      sb.append(")");
101873
      sb.append(")");