Subversion Repositories SmartDukaan

Rev

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

Rev 5593 Rev 5676
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;
-
 
249
 
248
    /**
250
    /**
249
     * 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.
250
     * 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.
251
     * 
253
     * 
252
     * @param providerId
254
     * @param providerId
Line 809... Line 811...
809
     * @param orderId
811
     * @param orderId
810
     */
812
     */
811
    public List<Attribute> getAllAttributesForOrderId(long orderId) throws org.apache.thrift.TException;
813
    public List<Attribute> getAllAttributesForOrderId(long orderId) throws org.apache.thrift.TException;
812
 
814
 
813
    /**
815
    /**
-
 
816
     * sets attributes for an order
-
 
817
     * 
-
 
818
     * @param orderId
-
 
819
     * @param attributes
-
 
820
     */
-
 
821
    public void setOrderAttributes(long orderId, List<Attribute> attributes) throws org.apache.thrift.TException;
-
 
822
 
-
 
823
    /**
814
     * sets attributes for all orders in a transaction
824
     * sets attributes for all orders in a transaction
815
     * 
825
     * 
816
     * @param transactionId
826
     * @param transactionId
817
     * @param attribute
827
     * @param attribute
818
     */
828
     */
Line 909... Line 919...
909
 
919
 
910
    public void addInvoiceNumber(long orderId, String invoiceNumber, String color, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addInvoiceNumber_call> resultHandler) throws org.apache.thrift.TException;
920
    public void addInvoiceNumber(long orderId, String invoiceNumber, String color, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addInvoiceNumber_call> resultHandler) throws org.apache.thrift.TException;
911
 
921
 
912
    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;
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;
913
 
923
 
-
 
924
    public void markOrdersAsReturnedFromStore(long providerId, List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsReturnedFromStore_call> resultHandler) throws org.apache.thrift.TException;
-
 
925
 
914
    public void markOrdersAsPickedUp(long providerId, Map<String,String> pickupDetails, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsPickedUp_call> resultHandler) throws org.apache.thrift.TException;
926
    public void markOrdersAsPickedUp(long providerId, Map<String,String> pickupDetails, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsPickedUp_call> resultHandler) throws org.apache.thrift.TException;
915
 
927
 
916
    public void getOrdersNotPickedUp(long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersNotPickedUp_call> resultHandler) throws org.apache.thrift.TException;
928
    public void getOrdersNotPickedUp(long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersNotPickedUp_call> resultHandler) throws org.apache.thrift.TException;
917
 
929
 
918
    public void markOrdersAsDelivered(long providerId, Map<String,String> deliveredOrders, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsDelivered_call> resultHandler) throws org.apache.thrift.TException;
930
    public void markOrdersAsDelivered(long providerId, Map<String,String> deliveredOrders, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsDelivered_call> resultHandler) throws org.apache.thrift.TException;
Line 1069... Line 1081...
1069
 
1081
 
1070
    public void getAllVerificationAgents(long minOrderId, long maxOrderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllVerificationAgents_call> resultHandler) throws org.apache.thrift.TException;
1082
    public void getAllVerificationAgents(long minOrderId, long maxOrderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllVerificationAgents_call> resultHandler) throws org.apache.thrift.TException;
1071
 
1083
 
1072
    public void getAllAttributesForOrderId(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllAttributesForOrderId_call> resultHandler) throws org.apache.thrift.TException;
1084
    public void getAllAttributesForOrderId(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllAttributesForOrderId_call> resultHandler) throws org.apache.thrift.TException;
1073
 
1085
 
-
 
1086
    public void setOrderAttributes(long orderId, List<Attribute> attributes, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.setOrderAttributes_call> resultHandler) throws org.apache.thrift.TException;
-
 
1087
 
1074
    public void setOrderAttributeForTransaction(long transactionId, Attribute attribute, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.setOrderAttributeForTransaction_call> resultHandler) throws org.apache.thrift.TException;
1088
    public void setOrderAttributeForTransaction(long transactionId, Attribute attribute, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.setOrderAttributeForTransaction_call> resultHandler) throws org.apache.thrift.TException;
1075
 
1089
 
1076
    public void getReceivePendingOrders(long storeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReceivePendingOrders_call> resultHandler) throws org.apache.thrift.TException;
1090
    public void getReceivePendingOrders(long storeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReceivePendingOrders_call> resultHandler) throws org.apache.thrift.TException;
1077
 
1091
 
1078
    public void getReceivedAtStoreOrders(long storeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReceivedAtStoreOrders_call> resultHandler) throws org.apache.thrift.TException;
1092
    public void getReceivedAtStoreOrders(long storeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReceivedAtStoreOrders_call> resultHandler) throws org.apache.thrift.TException;
Line 2071... Line 2085...
2071
        throw result.ex;
2085
        throw result.ex;
2072
      }
2086
      }
2073
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markOrdersAsShippedFromWarehouse failed: unknown result");
2087
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markOrdersAsShippedFromWarehouse failed: unknown result");
2074
    }
2088
    }
2075
 
2089
 
-
 
2090
    public boolean markOrdersAsReturnedFromStore(long providerId, List<Long> orderIds) throws TransactionServiceException, org.apache.thrift.TException
-
 
2091
    {
-
 
2092
      send_markOrdersAsReturnedFromStore(providerId, orderIds);
-
 
2093
      return recv_markOrdersAsReturnedFromStore();
-
 
2094
    }
-
 
2095
 
-
 
2096
    public void send_markOrdersAsReturnedFromStore(long providerId, List<Long> orderIds) throws org.apache.thrift.TException
-
 
2097
    {
-
 
2098
      markOrdersAsReturnedFromStore_args args = new markOrdersAsReturnedFromStore_args();
-
 
2099
      args.setProviderId(providerId);
-
 
2100
      args.setOrderIds(orderIds);
-
 
2101
      sendBase("markOrdersAsReturnedFromStore", args);
-
 
2102
    }
-
 
2103
 
-
 
2104
    public boolean recv_markOrdersAsReturnedFromStore() throws TransactionServiceException, org.apache.thrift.TException
-
 
2105
    {
-
 
2106
      markOrdersAsReturnedFromStore_result result = new markOrdersAsReturnedFromStore_result();
-
 
2107
      receiveBase(result, "markOrdersAsReturnedFromStore");
-
 
2108
      if (result.isSetSuccess()) {
-
 
2109
        return result.success;
-
 
2110
      }
-
 
2111
      if (result.ex != null) {
-
 
2112
        throw result.ex;
-
 
2113
      }
-
 
2114
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markOrdersAsReturnedFromStore failed: unknown result");
-
 
2115
    }
-
 
2116
 
2076
    public void markOrdersAsPickedUp(long providerId, Map<String,String> pickupDetails) throws TransactionServiceException, org.apache.thrift.TException
2117
    public void markOrdersAsPickedUp(long providerId, Map<String,String> pickupDetails) throws TransactionServiceException, org.apache.thrift.TException
2077
    {
2118
    {
2078
      send_markOrdersAsPickedUp(providerId, pickupDetails);
2119
      send_markOrdersAsPickedUp(providerId, pickupDetails);
2079
      recv_markOrdersAsPickedUp();
2120
      recv_markOrdersAsPickedUp();
2080
    }
2121
    }
Line 4083... Line 4124...
4083
        return result.success;
4124
        return result.success;
4084
      }
4125
      }
4085
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllAttributesForOrderId failed: unknown result");
4126
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllAttributesForOrderId failed: unknown result");
4086
    }
4127
    }
4087
 
4128
 
-
 
4129
    public void setOrderAttributes(long orderId, List<Attribute> attributes) throws org.apache.thrift.TException
-
 
4130
    {
-
 
4131
      send_setOrderAttributes(orderId, attributes);
-
 
4132
      recv_setOrderAttributes();
-
 
4133
    }
-
 
4134
 
-
 
4135
    public void send_setOrderAttributes(long orderId, List<Attribute> attributes) throws org.apache.thrift.TException
-
 
4136
    {
-
 
4137
      setOrderAttributes_args args = new setOrderAttributes_args();
-
 
4138
      args.setOrderId(orderId);
-
 
4139
      args.setAttributes(attributes);
-
 
4140
      sendBase("setOrderAttributes", args);
-
 
4141
    }
-
 
4142
 
-
 
4143
    public void recv_setOrderAttributes() throws org.apache.thrift.TException
-
 
4144
    {
-
 
4145
      setOrderAttributes_result result = new setOrderAttributes_result();
-
 
4146
      receiveBase(result, "setOrderAttributes");
-
 
4147
      return;
-
 
4148
    }
-
 
4149
 
4088
    public void setOrderAttributeForTransaction(long transactionId, Attribute attribute) throws org.apache.thrift.TException
4150
    public void setOrderAttributeForTransaction(long transactionId, Attribute attribute) throws org.apache.thrift.TException
4089
    {
4151
    {
4090
      send_setOrderAttributeForTransaction(transactionId, attribute);
4152
      send_setOrderAttributeForTransaction(transactionId, attribute);
4091
      recv_setOrderAttributeForTransaction();
4153
      recv_setOrderAttributeForTransaction();
4092
    }
4154
    }
Line 5513... Line 5575...
5513
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5575
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5514
        return (new Client(prot)).recv_markOrdersAsShippedFromWarehouse();
5576
        return (new Client(prot)).recv_markOrdersAsShippedFromWarehouse();
5515
      }
5577
      }
5516
    }
5578
    }
5517
 
5579
 
-
 
5580
    public void markOrdersAsReturnedFromStore(long providerId, List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsReturnedFromStore_call> resultHandler) throws org.apache.thrift.TException {
-
 
5581
      checkReady();
-
 
5582
      markOrdersAsReturnedFromStore_call method_call = new markOrdersAsReturnedFromStore_call(providerId, orderIds, resultHandler, this, ___protocolFactory, ___transport);
-
 
5583
      this.___currentMethod = method_call;
-
 
5584
      ___manager.call(method_call);
-
 
5585
    }
-
 
5586
 
-
 
5587
    public static class markOrdersAsReturnedFromStore_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5588
      private long providerId;
-
 
5589
      private List<Long> orderIds;
-
 
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 {
-
 
5591
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5592
        this.providerId = providerId;
-
 
5593
        this.orderIds = orderIds;
-
 
5594
      }
-
 
5595
 
-
 
5596
      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));
-
 
5598
        markOrdersAsReturnedFromStore_args args = new markOrdersAsReturnedFromStore_args();
-
 
5599
        args.setProviderId(providerId);
-
 
5600
        args.setOrderIds(orderIds);
-
 
5601
        args.write(prot);
-
 
5602
        prot.writeMessageEnd();
-
 
5603
      }
-
 
5604
 
-
 
5605
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
5606
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5607
          throw new IllegalStateException("Method call not finished!");
-
 
5608
        }
-
 
5609
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5610
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5611
        return (new Client(prot)).recv_markOrdersAsReturnedFromStore();
-
 
5612
      }
-
 
5613
    }
-
 
5614
 
5518
    public void markOrdersAsPickedUp(long providerId, Map<String,String> pickupDetails, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsPickedUp_call> resultHandler) throws org.apache.thrift.TException {
5615
    public void markOrdersAsPickedUp(long providerId, Map<String,String> pickupDetails, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsPickedUp_call> resultHandler) throws org.apache.thrift.TException {
5519
      checkReady();
5616
      checkReady();
5520
      markOrdersAsPickedUp_call method_call = new markOrdersAsPickedUp_call(providerId, pickupDetails, resultHandler, this, ___protocolFactory, ___transport);
5617
      markOrdersAsPickedUp_call method_call = new markOrdersAsPickedUp_call(providerId, pickupDetails, resultHandler, this, ___protocolFactory, ___transport);
5521
      this.___currentMethod = method_call;
5618
      this.___currentMethod = method_call;
5522
      ___manager.call(method_call);
5619
      ___manager.call(method_call);
Line 8292... Line 8389...
8292
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8389
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8293
        return (new Client(prot)).recv_getAllAttributesForOrderId();
8390
        return (new Client(prot)).recv_getAllAttributesForOrderId();
8294
      }
8391
      }
8295
    }
8392
    }
8296
 
8393
 
-
 
8394
    public void setOrderAttributes(long orderId, List<Attribute> attributes, org.apache.thrift.async.AsyncMethodCallback<setOrderAttributes_call> resultHandler) throws org.apache.thrift.TException {
-
 
8395
      checkReady();
-
 
8396
      setOrderAttributes_call method_call = new setOrderAttributes_call(orderId, attributes, resultHandler, this, ___protocolFactory, ___transport);
-
 
8397
      this.___currentMethod = method_call;
-
 
8398
      ___manager.call(method_call);
-
 
8399
    }
-
 
8400
 
-
 
8401
    public static class setOrderAttributes_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8402
      private long orderId;
-
 
8403
      private List<Attribute> attributes;
-
 
8404
      public setOrderAttributes_call(long orderId, List<Attribute> attributes, org.apache.thrift.async.AsyncMethodCallback<setOrderAttributes_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 {
-
 
8405
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8406
        this.orderId = orderId;
-
 
8407
        this.attributes = attributes;
-
 
8408
      }
-
 
8409
 
-
 
8410
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8411
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("setOrderAttributes", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8412
        setOrderAttributes_args args = new setOrderAttributes_args();
-
 
8413
        args.setOrderId(orderId);
-
 
8414
        args.setAttributes(attributes);
-
 
8415
        args.write(prot);
-
 
8416
        prot.writeMessageEnd();
-
 
8417
      }
-
 
8418
 
-
 
8419
      public void getResult() throws org.apache.thrift.TException {
-
 
8420
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8421
          throw new IllegalStateException("Method call not finished!");
-
 
8422
        }
-
 
8423
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8424
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8425
        (new Client(prot)).recv_setOrderAttributes();
-
 
8426
      }
-
 
8427
    }
-
 
8428
 
8297
    public void setOrderAttributeForTransaction(long transactionId, Attribute attribute, org.apache.thrift.async.AsyncMethodCallback<setOrderAttributeForTransaction_call> resultHandler) throws org.apache.thrift.TException {
8429
    public void setOrderAttributeForTransaction(long transactionId, Attribute attribute, org.apache.thrift.async.AsyncMethodCallback<setOrderAttributeForTransaction_call> resultHandler) throws org.apache.thrift.TException {
8298
      checkReady();
8430
      checkReady();
8299
      setOrderAttributeForTransaction_call method_call = new setOrderAttributeForTransaction_call(transactionId, attribute, resultHandler, this, ___protocolFactory, ___transport);
8431
      setOrderAttributeForTransaction_call method_call = new setOrderAttributeForTransaction_call(transactionId, attribute, resultHandler, this, ___protocolFactory, ___transport);
8300
      this.___currentMethod = method_call;
8432
      this.___currentMethod = method_call;
8301
      ___manager.call(method_call);
8433
      ___manager.call(method_call);
Line 8482... Line 8614...
8482
      processMap.put("verifyOrder", new verifyOrder());
8614
      processMap.put("verifyOrder", new verifyOrder());
8483
      processMap.put("acceptOrder", new acceptOrder());
8615
      processMap.put("acceptOrder", new acceptOrder());
8484
      processMap.put("addBillingDetails", new addBillingDetails());
8616
      processMap.put("addBillingDetails", new addBillingDetails());
8485
      processMap.put("addInvoiceNumber", new addInvoiceNumber());
8617
      processMap.put("addInvoiceNumber", new addInvoiceNumber());
8486
      processMap.put("markOrdersAsShippedFromWarehouse", new markOrdersAsShippedFromWarehouse());
8618
      processMap.put("markOrdersAsShippedFromWarehouse", new markOrdersAsShippedFromWarehouse());
-
 
8619
      processMap.put("markOrdersAsReturnedFromStore", new markOrdersAsReturnedFromStore());
8487
      processMap.put("markOrdersAsPickedUp", new markOrdersAsPickedUp());
8620
      processMap.put("markOrdersAsPickedUp", new markOrdersAsPickedUp());
8488
      processMap.put("getOrdersNotPickedUp", new getOrdersNotPickedUp());
8621
      processMap.put("getOrdersNotPickedUp", new getOrdersNotPickedUp());
8489
      processMap.put("markOrdersAsDelivered", new markOrdersAsDelivered());
8622
      processMap.put("markOrdersAsDelivered", new markOrdersAsDelivered());
8490
      processMap.put("markAsRTOrders", new markAsRTOrders());
8623
      processMap.put("markAsRTOrders", new markAsRTOrders());
8491
      processMap.put("getRTOrders", new getRTOrders());
8624
      processMap.put("getRTOrders", new getRTOrders());
Line 8562... Line 8695...
8562
      processMap.put("updateOrderAsPaidToVendor", new updateOrderAsPaidToVendor());
8695
      processMap.put("updateOrderAsPaidToVendor", new updateOrderAsPaidToVendor());
8563
      processMap.put("updateOrderOnlyAsPaidToVendor", new updateOrderOnlyAsPaidToVendor());
8696
      processMap.put("updateOrderOnlyAsPaidToVendor", new updateOrderOnlyAsPaidToVendor());
8564
      processMap.put("getRefundedOrdersMarkedPaid", new getRefundedOrdersMarkedPaid());
8697
      processMap.put("getRefundedOrdersMarkedPaid", new getRefundedOrdersMarkedPaid());
8565
      processMap.put("getAllVerificationAgents", new getAllVerificationAgents());
8698
      processMap.put("getAllVerificationAgents", new getAllVerificationAgents());
8566
      processMap.put("getAllAttributesForOrderId", new getAllAttributesForOrderId());
8699
      processMap.put("getAllAttributesForOrderId", new getAllAttributesForOrderId());
-
 
8700
      processMap.put("setOrderAttributes", new setOrderAttributes());
8567
      processMap.put("setOrderAttributeForTransaction", new setOrderAttributeForTransaction());
8701
      processMap.put("setOrderAttributeForTransaction", new setOrderAttributeForTransaction());
8568
      processMap.put("getReceivePendingOrders", new getReceivePendingOrders());
8702
      processMap.put("getReceivePendingOrders", new getReceivePendingOrders());
8569
      processMap.put("getReceivedAtStoreOrders", new getReceivedAtStoreOrders());
8703
      processMap.put("getReceivedAtStoreOrders", new getReceivedAtStoreOrders());
8570
      processMap.put("acceptOrderForItem", new acceptOrderForItem());
8704
      processMap.put("acceptOrderForItem", new acceptOrderForItem());
8571
      return processMap;
8705
      return processMap;
Line 9286... Line 9420...
9286
        }
9420
        }
9287
        return result;
9421
        return result;
9288
      }
9422
      }
9289
    }
9423
    }
9290
 
9424
 
-
 
9425
    private static class markOrdersAsReturnedFromStore<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markOrdersAsReturnedFromStore_args> {
-
 
9426
      public markOrdersAsReturnedFromStore() {
-
 
9427
        super("markOrdersAsReturnedFromStore");
-
 
9428
      }
-
 
9429
 
-
 
9430
      protected markOrdersAsReturnedFromStore_args getEmptyArgsInstance() {
-
 
9431
        return new markOrdersAsReturnedFromStore_args();
-
 
9432
      }
-
 
9433
 
-
 
9434
      protected markOrdersAsReturnedFromStore_result getResult(I iface, markOrdersAsReturnedFromStore_args args) throws org.apache.thrift.TException {
-
 
9435
        markOrdersAsReturnedFromStore_result result = new markOrdersAsReturnedFromStore_result();
-
 
9436
        try {
-
 
9437
          result.success = iface.markOrdersAsReturnedFromStore(args.providerId, args.orderIds);
-
 
9438
          result.setSuccessIsSet(true);
-
 
9439
        } catch (TransactionServiceException ex) {
-
 
9440
          result.ex = ex;
-
 
9441
        }
-
 
9442
        return result;
-
 
9443
      }
-
 
9444
    }
-
 
9445
 
9291
    private static class markOrdersAsPickedUp<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markOrdersAsPickedUp_args> {
9446
    private static class markOrdersAsPickedUp<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markOrdersAsPickedUp_args> {
9292
      public markOrdersAsPickedUp() {
9447
      public markOrdersAsPickedUp() {
9293
        super("markOrdersAsPickedUp");
9448
        super("markOrdersAsPickedUp");
9294
      }
9449
      }
9295
 
9450
 
Line 10830... Line 10985...
10830
        result.success = iface.getAllAttributesForOrderId(args.orderId);
10985
        result.success = iface.getAllAttributesForOrderId(args.orderId);
10831
        return result;
10986
        return result;
10832
      }
10987
      }
10833
    }
10988
    }
10834
 
10989
 
-
 
10990
    private static class setOrderAttributes<I extends Iface> extends org.apache.thrift.ProcessFunction<I, setOrderAttributes_args> {
-
 
10991
      public setOrderAttributes() {
-
 
10992
        super("setOrderAttributes");
-
 
10993
      }
-
 
10994
 
-
 
10995
      protected setOrderAttributes_args getEmptyArgsInstance() {
-
 
10996
        return new setOrderAttributes_args();
-
 
10997
      }
-
 
10998
 
-
 
10999
      protected setOrderAttributes_result getResult(I iface, setOrderAttributes_args args) throws org.apache.thrift.TException {
-
 
11000
        setOrderAttributes_result result = new setOrderAttributes_result();
-
 
11001
        iface.setOrderAttributes(args.orderId, args.attributes);
-
 
11002
        return result;
-
 
11003
      }
-
 
11004
    }
-
 
11005
 
10835
    private static class setOrderAttributeForTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, setOrderAttributeForTransaction_args> {
11006
    private static class setOrderAttributeForTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, setOrderAttributeForTransaction_args> {
10836
      public setOrderAttributeForTransaction() {
11007
      public setOrderAttributeForTransaction() {
10837
        super("setOrderAttributeForTransaction");
11008
        super("setOrderAttributeForTransaction");
10838
      }
11009
      }
10839
 
11010
 
Line 39716... Line 39887...
39716
      }
39887
      }
39717
    }
39888
    }
39718
 
39889
 
39719
  }
39890
  }
39720
 
39891
 
-
 
39892
  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");
-
 
39894
 
-
 
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);
-
 
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);
-
 
39897
 
-
 
39898
    private long providerId; // required
-
 
39899
    private List<Long> orderIds; // required
-
 
39900
 
-
 
39901
    /** 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 {
-
 
39903
      PROVIDER_ID((short)1, "providerId"),
-
 
39904
      ORDER_IDS((short)2, "orderIds");
-
 
39905
 
-
 
39906
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
39907
 
-
 
39908
      static {
-
 
39909
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
39910
          byName.put(field.getFieldName(), field);
-
 
39911
        }
-
 
39912
      }
-
 
39913
 
-
 
39914
      /**
-
 
39915
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
39916
       */
-
 
39917
      public static _Fields findByThriftId(int fieldId) {
-
 
39918
        switch(fieldId) {
-
 
39919
          case 1: // PROVIDER_ID
-
 
39920
            return PROVIDER_ID;
-
 
39921
          case 2: // ORDER_IDS
-
 
39922
            return ORDER_IDS;
-
 
39923
          default:
-
 
39924
            return null;
-
 
39925
        }
-
 
39926
      }
-
 
39927
 
-
 
39928
      /**
-
 
39929
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
39930
       * if it is not found.
-
 
39931
       */
-
 
39932
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
39933
        _Fields fields = findByThriftId(fieldId);
-
 
39934
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
39935
        return fields;
-
 
39936
      }
-
 
39937
 
-
 
39938
      /**
-
 
39939
       * Find the _Fields constant that matches name, or null if its not found.
-
 
39940
       */
-
 
39941
      public static _Fields findByName(String name) {
-
 
39942
        return byName.get(name);
-
 
39943
      }
-
 
39944
 
-
 
39945
      private final short _thriftId;
-
 
39946
      private final String _fieldName;
-
 
39947
 
-
 
39948
      _Fields(short thriftId, String fieldName) {
-
 
39949
        _thriftId = thriftId;
-
 
39950
        _fieldName = fieldName;
-
 
39951
      }
-
 
39952
 
-
 
39953
      public short getThriftFieldId() {
-
 
39954
        return _thriftId;
-
 
39955
      }
-
 
39956
 
-
 
39957
      public String getFieldName() {
-
 
39958
        return _fieldName;
-
 
39959
      }
-
 
39960
    }
-
 
39961
 
-
 
39962
    // isset id assignments
-
 
39963
    private static final int __PROVIDERID_ISSET_ID = 0;
-
 
39964
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
39965
 
-
 
39966
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
39967
    static {
-
 
39968
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
39969
      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)));
-
 
39971
      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, 
-
 
39973
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
39974
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
39975
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrdersAsReturnedFromStore_args.class, metaDataMap);
-
 
39976
    }
-
 
39977
 
-
 
39978
    public markOrdersAsReturnedFromStore_args() {
-
 
39979
    }
-
 
39980
 
-
 
39981
    public markOrdersAsReturnedFromStore_args(
-
 
39982
      long providerId,
-
 
39983
      List<Long> orderIds)
-
 
39984
    {
-
 
39985
      this();
-
 
39986
      this.providerId = providerId;
-
 
39987
      setProviderIdIsSet(true);
-
 
39988
      this.orderIds = orderIds;
-
 
39989
    }
-
 
39990
 
-
 
39991
    /**
-
 
39992
     * Performs a deep copy on <i>other</i>.
-
 
39993
     */
-
 
39994
    public markOrdersAsReturnedFromStore_args(markOrdersAsReturnedFromStore_args other) {
-
 
39995
      __isset_bit_vector.clear();
-
 
39996
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
39997
      this.providerId = other.providerId;
-
 
39998
      if (other.isSetOrderIds()) {
-
 
39999
        List<Long> __this__orderIds = new ArrayList<Long>();
-
 
40000
        for (Long other_element : other.orderIds) {
-
 
40001
          __this__orderIds.add(other_element);
-
 
40002
        }
-
 
40003
        this.orderIds = __this__orderIds;
-
 
40004
      }
-
 
40005
    }
-
 
40006
 
-
 
40007
    public markOrdersAsReturnedFromStore_args deepCopy() {
-
 
40008
      return new markOrdersAsReturnedFromStore_args(this);
-
 
40009
    }
-
 
40010
 
-
 
40011
    @Override
-
 
40012
    public void clear() {
-
 
40013
      setProviderIdIsSet(false);
-
 
40014
      this.providerId = 0;
-
 
40015
      this.orderIds = null;
-
 
40016
    }
-
 
40017
 
-
 
40018
    public long getProviderId() {
-
 
40019
      return this.providerId;
-
 
40020
    }
-
 
40021
 
-
 
40022
    public void setProviderId(long providerId) {
-
 
40023
      this.providerId = providerId;
-
 
40024
      setProviderIdIsSet(true);
-
 
40025
    }
-
 
40026
 
-
 
40027
    public void unsetProviderId() {
-
 
40028
      __isset_bit_vector.clear(__PROVIDERID_ISSET_ID);
-
 
40029
    }
-
 
40030
 
-
 
40031
    /** Returns true if field providerId is set (has been assigned a value) and false otherwise */
-
 
40032
    public boolean isSetProviderId() {
-
 
40033
      return __isset_bit_vector.get(__PROVIDERID_ISSET_ID);
-
 
40034
    }
-
 
40035
 
-
 
40036
    public void setProviderIdIsSet(boolean value) {
-
 
40037
      __isset_bit_vector.set(__PROVIDERID_ISSET_ID, value);
-
 
40038
    }
-
 
40039
 
-
 
40040
    public int getOrderIdsSize() {
-
 
40041
      return (this.orderIds == null) ? 0 : this.orderIds.size();
-
 
40042
    }
-
 
40043
 
-
 
40044
    public java.util.Iterator<Long> getOrderIdsIterator() {
-
 
40045
      return (this.orderIds == null) ? null : this.orderIds.iterator();
-
 
40046
    }
-
 
40047
 
-
 
40048
    public void addToOrderIds(long elem) {
-
 
40049
      if (this.orderIds == null) {
-
 
40050
        this.orderIds = new ArrayList<Long>();
-
 
40051
      }
-
 
40052
      this.orderIds.add(elem);
-
 
40053
    }
-
 
40054
 
-
 
40055
    public List<Long> getOrderIds() {
-
 
40056
      return this.orderIds;
-
 
40057
    }
-
 
40058
 
-
 
40059
    public void setOrderIds(List<Long> orderIds) {
-
 
40060
      this.orderIds = orderIds;
-
 
40061
    }
-
 
40062
 
-
 
40063
    public void unsetOrderIds() {
-
 
40064
      this.orderIds = null;
-
 
40065
    }
-
 
40066
 
-
 
40067
    /** Returns true if field orderIds is set (has been assigned a value) and false otherwise */
-
 
40068
    public boolean isSetOrderIds() {
-
 
40069
      return this.orderIds != null;
-
 
40070
    }
-
 
40071
 
-
 
40072
    public void setOrderIdsIsSet(boolean value) {
-
 
40073
      if (!value) {
-
 
40074
        this.orderIds = null;
-
 
40075
      }
-
 
40076
    }
-
 
40077
 
-
 
40078
    public void setFieldValue(_Fields field, Object value) {
-
 
40079
      switch (field) {
-
 
40080
      case PROVIDER_ID:
-
 
40081
        if (value == null) {
-
 
40082
          unsetProviderId();
-
 
40083
        } else {
-
 
40084
          setProviderId((Long)value);
-
 
40085
        }
-
 
40086
        break;
-
 
40087
 
-
 
40088
      case ORDER_IDS:
-
 
40089
        if (value == null) {
-
 
40090
          unsetOrderIds();
-
 
40091
        } else {
-
 
40092
          setOrderIds((List<Long>)value);
-
 
40093
        }
-
 
40094
        break;
-
 
40095
 
-
 
40096
      }
-
 
40097
    }
-
 
40098
 
-
 
40099
    public Object getFieldValue(_Fields field) {
-
 
40100
      switch (field) {
-
 
40101
      case PROVIDER_ID:
-
 
40102
        return Long.valueOf(getProviderId());
-
 
40103
 
-
 
40104
      case ORDER_IDS:
-
 
40105
        return getOrderIds();
-
 
40106
 
-
 
40107
      }
-
 
40108
      throw new IllegalStateException();
-
 
40109
    }
-
 
40110
 
-
 
40111
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
40112
    public boolean isSet(_Fields field) {
-
 
40113
      if (field == null) {
-
 
40114
        throw new IllegalArgumentException();
-
 
40115
      }
-
 
40116
 
-
 
40117
      switch (field) {
-
 
40118
      case PROVIDER_ID:
-
 
40119
        return isSetProviderId();
-
 
40120
      case ORDER_IDS:
-
 
40121
        return isSetOrderIds();
-
 
40122
      }
-
 
40123
      throw new IllegalStateException();
-
 
40124
    }
-
 
40125
 
-
 
40126
    @Override
-
 
40127
    public boolean equals(Object that) {
-
 
40128
      if (that == null)
-
 
40129
        return false;
-
 
40130
      if (that instanceof markOrdersAsReturnedFromStore_args)
-
 
40131
        return this.equals((markOrdersAsReturnedFromStore_args)that);
-
 
40132
      return false;
-
 
40133
    }
-
 
40134
 
-
 
40135
    public boolean equals(markOrdersAsReturnedFromStore_args that) {
-
 
40136
      if (that == null)
-
 
40137
        return false;
-
 
40138
 
-
 
40139
      boolean this_present_providerId = true;
-
 
40140
      boolean that_present_providerId = true;
-
 
40141
      if (this_present_providerId || that_present_providerId) {
-
 
40142
        if (!(this_present_providerId && that_present_providerId))
-
 
40143
          return false;
-
 
40144
        if (this.providerId != that.providerId)
-
 
40145
          return false;
-
 
40146
      }
-
 
40147
 
-
 
40148
      boolean this_present_orderIds = true && this.isSetOrderIds();
-
 
40149
      boolean that_present_orderIds = true && that.isSetOrderIds();
-
 
40150
      if (this_present_orderIds || that_present_orderIds) {
-
 
40151
        if (!(this_present_orderIds && that_present_orderIds))
-
 
40152
          return false;
-
 
40153
        if (!this.orderIds.equals(that.orderIds))
-
 
40154
          return false;
-
 
40155
      }
-
 
40156
 
-
 
40157
      return true;
-
 
40158
    }
-
 
40159
 
-
 
40160
    @Override
-
 
40161
    public int hashCode() {
-
 
40162
      return 0;
-
 
40163
    }
-
 
40164
 
-
 
40165
    public int compareTo(markOrdersAsReturnedFromStore_args other) {
-
 
40166
      if (!getClass().equals(other.getClass())) {
-
 
40167
        return getClass().getName().compareTo(other.getClass().getName());
-
 
40168
      }
-
 
40169
 
-
 
40170
      int lastComparison = 0;
-
 
40171
      markOrdersAsReturnedFromStore_args typedOther = (markOrdersAsReturnedFromStore_args)other;
-
 
40172
 
-
 
40173
      lastComparison = Boolean.valueOf(isSetProviderId()).compareTo(typedOther.isSetProviderId());
-
 
40174
      if (lastComparison != 0) {
-
 
40175
        return lastComparison;
-
 
40176
      }
-
 
40177
      if (isSetProviderId()) {
-
 
40178
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.providerId, typedOther.providerId);
-
 
40179
        if (lastComparison != 0) {
-
 
40180
          return lastComparison;
-
 
40181
        }
-
 
40182
      }
-
 
40183
      lastComparison = Boolean.valueOf(isSetOrderIds()).compareTo(typedOther.isSetOrderIds());
-
 
40184
      if (lastComparison != 0) {
-
 
40185
        return lastComparison;
-
 
40186
      }
-
 
40187
      if (isSetOrderIds()) {
-
 
40188
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderIds, typedOther.orderIds);
-
 
40189
        if (lastComparison != 0) {
-
 
40190
          return lastComparison;
-
 
40191
        }
-
 
40192
      }
-
 
40193
      return 0;
-
 
40194
    }
-
 
40195
 
-
 
40196
    public _Fields fieldForId(int fieldId) {
-
 
40197
      return _Fields.findByThriftId(fieldId);
-
 
40198
    }
-
 
40199
 
-
 
40200
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
40201
      org.apache.thrift.protocol.TField field;
-
 
40202
      iprot.readStructBegin();
-
 
40203
      while (true)
-
 
40204
      {
-
 
40205
        field = iprot.readFieldBegin();
-
 
40206
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
40207
          break;
-
 
40208
        }
-
 
40209
        switch (field.id) {
-
 
40210
          case 1: // PROVIDER_ID
-
 
40211
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
40212
              this.providerId = iprot.readI64();
-
 
40213
              setProviderIdIsSet(true);
-
 
40214
            } else { 
-
 
40215
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
40216
            }
-
 
40217
            break;
-
 
40218
          case 2: // ORDER_IDS
-
 
40219
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
40220
              {
-
 
40221
                org.apache.thrift.protocol.TList _list140 = iprot.readListBegin();
-
 
40222
                this.orderIds = new ArrayList<Long>(_list140.size);
-
 
40223
                for (int _i141 = 0; _i141 < _list140.size; ++_i141)
-
 
40224
                {
-
 
40225
                  long _elem142; // required
-
 
40226
                  _elem142 = iprot.readI64();
-
 
40227
                  this.orderIds.add(_elem142);
-
 
40228
                }
-
 
40229
                iprot.readListEnd();
-
 
40230
              }
-
 
40231
            } else { 
-
 
40232
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
40233
            }
-
 
40234
            break;
-
 
40235
          default:
-
 
40236
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
40237
        }
-
 
40238
        iprot.readFieldEnd();
-
 
40239
      }
-
 
40240
      iprot.readStructEnd();
-
 
40241
      validate();
-
 
40242
    }
-
 
40243
 
-
 
40244
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
40245
      validate();
-
 
40246
 
-
 
40247
      oprot.writeStructBegin(STRUCT_DESC);
-
 
40248
      oprot.writeFieldBegin(PROVIDER_ID_FIELD_DESC);
-
 
40249
      oprot.writeI64(this.providerId);
-
 
40250
      oprot.writeFieldEnd();
-
 
40251
      if (this.orderIds != null) {
-
 
40252
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
-
 
40253
        {
-
 
40254
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
-
 
40255
          for (long _iter143 : this.orderIds)
-
 
40256
          {
-
 
40257
            oprot.writeI64(_iter143);
-
 
40258
          }
-
 
40259
          oprot.writeListEnd();
-
 
40260
        }
-
 
40261
        oprot.writeFieldEnd();
-
 
40262
      }
-
 
40263
      oprot.writeFieldStop();
-
 
40264
      oprot.writeStructEnd();
-
 
40265
    }
-
 
40266
 
-
 
40267
    @Override
-
 
40268
    public String toString() {
-
 
40269
      StringBuilder sb = new StringBuilder("markOrdersAsReturnedFromStore_args(");
-
 
40270
      boolean first = true;
-
 
40271
 
-
 
40272
      sb.append("providerId:");
-
 
40273
      sb.append(this.providerId);
-
 
40274
      first = false;
-
 
40275
      if (!first) sb.append(", ");
-
 
40276
      sb.append("orderIds:");
-
 
40277
      if (this.orderIds == null) {
-
 
40278
        sb.append("null");
-
 
40279
      } else {
-
 
40280
        sb.append(this.orderIds);
-
 
40281
      }
-
 
40282
      first = false;
-
 
40283
      sb.append(")");
-
 
40284
      return sb.toString();
-
 
40285
    }
-
 
40286
 
-
 
40287
    public void validate() throws org.apache.thrift.TException {
-
 
40288
      // check for required fields
-
 
40289
    }
-
 
40290
 
-
 
40291
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
40292
      try {
-
 
40293
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
40294
      } catch (org.apache.thrift.TException te) {
-
 
40295
        throw new java.io.IOException(te);
-
 
40296
      }
-
 
40297
    }
-
 
40298
 
-
 
40299
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
40300
      try {
-
 
40301
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
40302
        __isset_bit_vector = new BitSet(1);
-
 
40303
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
40304
      } catch (org.apache.thrift.TException te) {
-
 
40305
        throw new java.io.IOException(te);
-
 
40306
      }
-
 
40307
    }
-
 
40308
 
-
 
40309
  }
-
 
40310
 
-
 
40311
  public static class markOrdersAsReturnedFromStore_result implements org.apache.thrift.TBase<markOrdersAsReturnedFromStore_result, markOrdersAsReturnedFromStore_result._Fields>, java.io.Serializable, Cloneable   {
-
 
40312
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrdersAsReturnedFromStore_result");
-
 
40313
 
-
 
40314
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
40315
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
40316
 
-
 
40317
    private boolean success; // required
-
 
40318
    private TransactionServiceException ex; // required
-
 
40319
 
-
 
40320
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
40321
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
40322
      SUCCESS((short)0, "success"),
-
 
40323
      EX((short)1, "ex");
-
 
40324
 
-
 
40325
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
40326
 
-
 
40327
      static {
-
 
40328
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
40329
          byName.put(field.getFieldName(), field);
-
 
40330
        }
-
 
40331
      }
-
 
40332
 
-
 
40333
      /**
-
 
40334
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
40335
       */
-
 
40336
      public static _Fields findByThriftId(int fieldId) {
-
 
40337
        switch(fieldId) {
-
 
40338
          case 0: // SUCCESS
-
 
40339
            return SUCCESS;
-
 
40340
          case 1: // EX
-
 
40341
            return EX;
-
 
40342
          default:
-
 
40343
            return null;
-
 
40344
        }
-
 
40345
      }
-
 
40346
 
-
 
40347
      /**
-
 
40348
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
40349
       * if it is not found.
-
 
40350
       */
-
 
40351
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
40352
        _Fields fields = findByThriftId(fieldId);
-
 
40353
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
40354
        return fields;
-
 
40355
      }
-
 
40356
 
-
 
40357
      /**
-
 
40358
       * Find the _Fields constant that matches name, or null if its not found.
-
 
40359
       */
-
 
40360
      public static _Fields findByName(String name) {
-
 
40361
        return byName.get(name);
-
 
40362
      }
-
 
40363
 
-
 
40364
      private final short _thriftId;
-
 
40365
      private final String _fieldName;
-
 
40366
 
-
 
40367
      _Fields(short thriftId, String fieldName) {
-
 
40368
        _thriftId = thriftId;
-
 
40369
        _fieldName = fieldName;
-
 
40370
      }
-
 
40371
 
-
 
40372
      public short getThriftFieldId() {
-
 
40373
        return _thriftId;
-
 
40374
      }
-
 
40375
 
-
 
40376
      public String getFieldName() {
-
 
40377
        return _fieldName;
-
 
40378
      }
-
 
40379
    }
-
 
40380
 
-
 
40381
    // isset id assignments
-
 
40382
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
40383
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
40384
 
-
 
40385
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
40386
    static {
-
 
40387
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
40388
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
40389
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
40390
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
40391
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
40392
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
40393
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrdersAsReturnedFromStore_result.class, metaDataMap);
-
 
40394
    }
-
 
40395
 
-
 
40396
    public markOrdersAsReturnedFromStore_result() {
-
 
40397
    }
-
 
40398
 
-
 
40399
    public markOrdersAsReturnedFromStore_result(
-
 
40400
      boolean success,
-
 
40401
      TransactionServiceException ex)
-
 
40402
    {
-
 
40403
      this();
-
 
40404
      this.success = success;
-
 
40405
      setSuccessIsSet(true);
-
 
40406
      this.ex = ex;
-
 
40407
    }
-
 
40408
 
-
 
40409
    /**
-
 
40410
     * Performs a deep copy on <i>other</i>.
-
 
40411
     */
-
 
40412
    public markOrdersAsReturnedFromStore_result(markOrdersAsReturnedFromStore_result other) {
-
 
40413
      __isset_bit_vector.clear();
-
 
40414
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
40415
      this.success = other.success;
-
 
40416
      if (other.isSetEx()) {
-
 
40417
        this.ex = new TransactionServiceException(other.ex);
-
 
40418
      }
-
 
40419
    }
-
 
40420
 
-
 
40421
    public markOrdersAsReturnedFromStore_result deepCopy() {
-
 
40422
      return new markOrdersAsReturnedFromStore_result(this);
-
 
40423
    }
-
 
40424
 
-
 
40425
    @Override
-
 
40426
    public void clear() {
-
 
40427
      setSuccessIsSet(false);
-
 
40428
      this.success = false;
-
 
40429
      this.ex = null;
-
 
40430
    }
-
 
40431
 
-
 
40432
    public boolean isSuccess() {
-
 
40433
      return this.success;
-
 
40434
    }
-
 
40435
 
-
 
40436
    public void setSuccess(boolean success) {
-
 
40437
      this.success = success;
-
 
40438
      setSuccessIsSet(true);
-
 
40439
    }
-
 
40440
 
-
 
40441
    public void unsetSuccess() {
-
 
40442
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
40443
    }
-
 
40444
 
-
 
40445
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
40446
    public boolean isSetSuccess() {
-
 
40447
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
40448
    }
-
 
40449
 
-
 
40450
    public void setSuccessIsSet(boolean value) {
-
 
40451
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
40452
    }
-
 
40453
 
-
 
40454
    public TransactionServiceException getEx() {
-
 
40455
      return this.ex;
-
 
40456
    }
-
 
40457
 
-
 
40458
    public void setEx(TransactionServiceException ex) {
-
 
40459
      this.ex = ex;
-
 
40460
    }
-
 
40461
 
-
 
40462
    public void unsetEx() {
-
 
40463
      this.ex = null;
-
 
40464
    }
-
 
40465
 
-
 
40466
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
40467
    public boolean isSetEx() {
-
 
40468
      return this.ex != null;
-
 
40469
    }
-
 
40470
 
-
 
40471
    public void setExIsSet(boolean value) {
-
 
40472
      if (!value) {
-
 
40473
        this.ex = null;
-
 
40474
      }
-
 
40475
    }
-
 
40476
 
-
 
40477
    public void setFieldValue(_Fields field, Object value) {
-
 
40478
      switch (field) {
-
 
40479
      case SUCCESS:
-
 
40480
        if (value == null) {
-
 
40481
          unsetSuccess();
-
 
40482
        } else {
-
 
40483
          setSuccess((Boolean)value);
-
 
40484
        }
-
 
40485
        break;
-
 
40486
 
-
 
40487
      case EX:
-
 
40488
        if (value == null) {
-
 
40489
          unsetEx();
-
 
40490
        } else {
-
 
40491
          setEx((TransactionServiceException)value);
-
 
40492
        }
-
 
40493
        break;
-
 
40494
 
-
 
40495
      }
-
 
40496
    }
-
 
40497
 
-
 
40498
    public Object getFieldValue(_Fields field) {
-
 
40499
      switch (field) {
-
 
40500
      case SUCCESS:
-
 
40501
        return Boolean.valueOf(isSuccess());
-
 
40502
 
-
 
40503
      case EX:
-
 
40504
        return getEx();
-
 
40505
 
-
 
40506
      }
-
 
40507
      throw new IllegalStateException();
-
 
40508
    }
-
 
40509
 
-
 
40510
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
40511
    public boolean isSet(_Fields field) {
-
 
40512
      if (field == null) {
-
 
40513
        throw new IllegalArgumentException();
-
 
40514
      }
-
 
40515
 
-
 
40516
      switch (field) {
-
 
40517
      case SUCCESS:
-
 
40518
        return isSetSuccess();
-
 
40519
      case EX:
-
 
40520
        return isSetEx();
-
 
40521
      }
-
 
40522
      throw new IllegalStateException();
-
 
40523
    }
-
 
40524
 
-
 
40525
    @Override
-
 
40526
    public boolean equals(Object that) {
-
 
40527
      if (that == null)
-
 
40528
        return false;
-
 
40529
      if (that instanceof markOrdersAsReturnedFromStore_result)
-
 
40530
        return this.equals((markOrdersAsReturnedFromStore_result)that);
-
 
40531
      return false;
-
 
40532
    }
-
 
40533
 
-
 
40534
    public boolean equals(markOrdersAsReturnedFromStore_result that) {
-
 
40535
      if (that == null)
-
 
40536
        return false;
-
 
40537
 
-
 
40538
      boolean this_present_success = true;
-
 
40539
      boolean that_present_success = true;
-
 
40540
      if (this_present_success || that_present_success) {
-
 
40541
        if (!(this_present_success && that_present_success))
-
 
40542
          return false;
-
 
40543
        if (this.success != that.success)
-
 
40544
          return false;
-
 
40545
      }
-
 
40546
 
-
 
40547
      boolean this_present_ex = true && this.isSetEx();
-
 
40548
      boolean that_present_ex = true && that.isSetEx();
-
 
40549
      if (this_present_ex || that_present_ex) {
-
 
40550
        if (!(this_present_ex && that_present_ex))
-
 
40551
          return false;
-
 
40552
        if (!this.ex.equals(that.ex))
-
 
40553
          return false;
-
 
40554
      }
-
 
40555
 
-
 
40556
      return true;
-
 
40557
    }
-
 
40558
 
-
 
40559
    @Override
-
 
40560
    public int hashCode() {
-
 
40561
      return 0;
-
 
40562
    }
-
 
40563
 
-
 
40564
    public int compareTo(markOrdersAsReturnedFromStore_result other) {
-
 
40565
      if (!getClass().equals(other.getClass())) {
-
 
40566
        return getClass().getName().compareTo(other.getClass().getName());
-
 
40567
      }
-
 
40568
 
-
 
40569
      int lastComparison = 0;
-
 
40570
      markOrdersAsReturnedFromStore_result typedOther = (markOrdersAsReturnedFromStore_result)other;
-
 
40571
 
-
 
40572
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
40573
      if (lastComparison != 0) {
-
 
40574
        return lastComparison;
-
 
40575
      }
-
 
40576
      if (isSetSuccess()) {
-
 
40577
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
40578
        if (lastComparison != 0) {
-
 
40579
          return lastComparison;
-
 
40580
        }
-
 
40581
      }
-
 
40582
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
40583
      if (lastComparison != 0) {
-
 
40584
        return lastComparison;
-
 
40585
      }
-
 
40586
      if (isSetEx()) {
-
 
40587
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
40588
        if (lastComparison != 0) {
-
 
40589
          return lastComparison;
-
 
40590
        }
-
 
40591
      }
-
 
40592
      return 0;
-
 
40593
    }
-
 
40594
 
-
 
40595
    public _Fields fieldForId(int fieldId) {
-
 
40596
      return _Fields.findByThriftId(fieldId);
-
 
40597
    }
-
 
40598
 
-
 
40599
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
40600
      org.apache.thrift.protocol.TField field;
-
 
40601
      iprot.readStructBegin();
-
 
40602
      while (true)
-
 
40603
      {
-
 
40604
        field = iprot.readFieldBegin();
-
 
40605
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
40606
          break;
-
 
40607
        }
-
 
40608
        switch (field.id) {
-
 
40609
          case 0: // SUCCESS
-
 
40610
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
40611
              this.success = iprot.readBool();
-
 
40612
              setSuccessIsSet(true);
-
 
40613
            } else { 
-
 
40614
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
40615
            }
-
 
40616
            break;
-
 
40617
          case 1: // EX
-
 
40618
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
40619
              this.ex = new TransactionServiceException();
-
 
40620
              this.ex.read(iprot);
-
 
40621
            } else { 
-
 
40622
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
40623
            }
-
 
40624
            break;
-
 
40625
          default:
-
 
40626
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
40627
        }
-
 
40628
        iprot.readFieldEnd();
-
 
40629
      }
-
 
40630
      iprot.readStructEnd();
-
 
40631
      validate();
-
 
40632
    }
-
 
40633
 
-
 
40634
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
40635
      oprot.writeStructBegin(STRUCT_DESC);
-
 
40636
 
-
 
40637
      if (this.isSetSuccess()) {
-
 
40638
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
40639
        oprot.writeBool(this.success);
-
 
40640
        oprot.writeFieldEnd();
-
 
40641
      } else if (this.isSetEx()) {
-
 
40642
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
40643
        this.ex.write(oprot);
-
 
40644
        oprot.writeFieldEnd();
-
 
40645
      }
-
 
40646
      oprot.writeFieldStop();
-
 
40647
      oprot.writeStructEnd();
-
 
40648
    }
-
 
40649
 
-
 
40650
    @Override
-
 
40651
    public String toString() {
-
 
40652
      StringBuilder sb = new StringBuilder("markOrdersAsReturnedFromStore_result(");
-
 
40653
      boolean first = true;
-
 
40654
 
-
 
40655
      sb.append("success:");
-
 
40656
      sb.append(this.success);
-
 
40657
      first = false;
-
 
40658
      if (!first) sb.append(", ");
-
 
40659
      sb.append("ex:");
-
 
40660
      if (this.ex == null) {
-
 
40661
        sb.append("null");
-
 
40662
      } else {
-
 
40663
        sb.append(this.ex);
-
 
40664
      }
-
 
40665
      first = false;
-
 
40666
      sb.append(")");
-
 
40667
      return sb.toString();
-
 
40668
    }
-
 
40669
 
-
 
40670
    public void validate() throws org.apache.thrift.TException {
-
 
40671
      // check for required fields
-
 
40672
    }
-
 
40673
 
-
 
40674
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
40675
      try {
-
 
40676
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
40677
      } catch (org.apache.thrift.TException te) {
-
 
40678
        throw new java.io.IOException(te);
-
 
40679
      }
-
 
40680
    }
-
 
40681
 
-
 
40682
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
40683
      try {
-
 
40684
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
40685
      } catch (org.apache.thrift.TException te) {
-
 
40686
        throw new java.io.IOException(te);
-
 
40687
      }
-
 
40688
    }
-
 
40689
 
-
 
40690
  }
-
 
40691
 
39721
  public static class markOrdersAsPickedUp_args implements org.apache.thrift.TBase<markOrdersAsPickedUp_args, markOrdersAsPickedUp_args._Fields>, java.io.Serializable, Cloneable   {
40692
  public static class markOrdersAsPickedUp_args implements org.apache.thrift.TBase<markOrdersAsPickedUp_args, markOrdersAsPickedUp_args._Fields>, java.io.Serializable, Cloneable   {
39722
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrdersAsPickedUp_args");
40693
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrdersAsPickedUp_args");
39723
 
40694
 
39724
    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);
40695
    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);
39725
    private static final org.apache.thrift.protocol.TField PICKUP_DETAILS_FIELD_DESC = new org.apache.thrift.protocol.TField("pickupDetails", org.apache.thrift.protocol.TType.MAP, (short)2);
40696
    private static final org.apache.thrift.protocol.TField PICKUP_DETAILS_FIELD_DESC = new org.apache.thrift.protocol.TField("pickupDetails", org.apache.thrift.protocol.TType.MAP, (short)2);
Line 40050... Line 41021...
40050
            }
41021
            }
40051
            break;
41022
            break;
40052
          case 2: // PICKUP_DETAILS
41023
          case 2: // PICKUP_DETAILS
40053
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
41024
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
40054
              {
41025
              {
40055
                org.apache.thrift.protocol.TMap _map140 = iprot.readMapBegin();
41026
                org.apache.thrift.protocol.TMap _map144 = iprot.readMapBegin();
40056
                this.pickupDetails = new HashMap<String,String>(2*_map140.size);
41027
                this.pickupDetails = new HashMap<String,String>(2*_map144.size);
40057
                for (int _i141 = 0; _i141 < _map140.size; ++_i141)
41028
                for (int _i145 = 0; _i145 < _map144.size; ++_i145)
40058
                {
41029
                {
40059
                  String _key142; // required
41030
                  String _key146; // required
40060
                  String _val143; // required
41031
                  String _val147; // required
40061
                  _key142 = iprot.readString();
41032
                  _key146 = iprot.readString();
40062
                  _val143 = iprot.readString();
41033
                  _val147 = iprot.readString();
40063
                  this.pickupDetails.put(_key142, _val143);
41034
                  this.pickupDetails.put(_key146, _val147);
40064
                }
41035
                }
40065
                iprot.readMapEnd();
41036
                iprot.readMapEnd();
40066
              }
41037
              }
40067
            } else { 
41038
            } else { 
40068
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41039
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40086... Line 41057...
40086
      oprot.writeFieldEnd();
41057
      oprot.writeFieldEnd();
40087
      if (this.pickupDetails != null) {
41058
      if (this.pickupDetails != null) {
40088
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
41059
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
40089
        {
41060
        {
40090
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
41061
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
40091
          for (Map.Entry<String, String> _iter144 : this.pickupDetails.entrySet())
41062
          for (Map.Entry<String, String> _iter148 : this.pickupDetails.entrySet())
40092
          {
41063
          {
40093
            oprot.writeString(_iter144.getKey());
41064
            oprot.writeString(_iter148.getKey());
40094
            oprot.writeString(_iter144.getValue());
41065
            oprot.writeString(_iter148.getValue());
40095
          }
41066
          }
40096
          oprot.writeMapEnd();
41067
          oprot.writeMapEnd();
40097
        }
41068
        }
40098
        oprot.writeFieldEnd();
41069
        oprot.writeFieldEnd();
40099
      }
41070
      }
Line 40979... Line 41950...
40979
        }
41950
        }
40980
        switch (field.id) {
41951
        switch (field.id) {
40981
          case 0: // SUCCESS
41952
          case 0: // SUCCESS
40982
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41953
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40983
              {
41954
              {
40984
                org.apache.thrift.protocol.TList _list145 = iprot.readListBegin();
41955
                org.apache.thrift.protocol.TList _list149 = iprot.readListBegin();
40985
                this.success = new ArrayList<Order>(_list145.size);
41956
                this.success = new ArrayList<Order>(_list149.size);
40986
                for (int _i146 = 0; _i146 < _list145.size; ++_i146)
41957
                for (int _i150 = 0; _i150 < _list149.size; ++_i150)
40987
                {
41958
                {
40988
                  Order _elem147; // required
41959
                  Order _elem151; // required
40989
                  _elem147 = new Order();
41960
                  _elem151 = new Order();
40990
                  _elem147.read(iprot);
41961
                  _elem151.read(iprot);
40991
                  this.success.add(_elem147);
41962
                  this.success.add(_elem151);
40992
                }
41963
                }
40993
                iprot.readListEnd();
41964
                iprot.readListEnd();
40994
              }
41965
              }
40995
            } else { 
41966
            } else { 
40996
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41967
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41010... Line 41981...
41010
 
41981
 
41011
      if (this.isSetSuccess()) {
41982
      if (this.isSetSuccess()) {
41012
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41983
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41013
        {
41984
        {
41014
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41985
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41015
          for (Order _iter148 : this.success)
41986
          for (Order _iter152 : this.success)
41016
          {
41987
          {
41017
            _iter148.write(oprot);
41988
            _iter152.write(oprot);
41018
          }
41989
          }
41019
          oprot.writeListEnd();
41990
          oprot.writeListEnd();
41020
        }
41991
        }
41021
        oprot.writeFieldEnd();
41992
        oprot.writeFieldEnd();
41022
      }
41993
      }
Line 41394... Line 42365...
41394
            }
42365
            }
41395
            break;
42366
            break;
41396
          case 2: // DELIVERED_ORDERS
42367
          case 2: // DELIVERED_ORDERS
41397
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
42368
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
41398
              {
42369
              {
41399
                org.apache.thrift.protocol.TMap _map149 = iprot.readMapBegin();
42370
                org.apache.thrift.protocol.TMap _map153 = iprot.readMapBegin();
41400
                this.deliveredOrders = new HashMap<String,String>(2*_map149.size);
42371
                this.deliveredOrders = new HashMap<String,String>(2*_map153.size);
41401
                for (int _i150 = 0; _i150 < _map149.size; ++_i150)
42372
                for (int _i154 = 0; _i154 < _map153.size; ++_i154)
41402
                {
42373
                {
41403
                  String _key151; // required
42374
                  String _key155; // required
41404
                  String _val152; // required
42375
                  String _val156; // required
41405
                  _key151 = iprot.readString();
42376
                  _key155 = iprot.readString();
41406
                  _val152 = iprot.readString();
42377
                  _val156 = iprot.readString();
41407
                  this.deliveredOrders.put(_key151, _val152);
42378
                  this.deliveredOrders.put(_key155, _val156);
41408
                }
42379
                }
41409
                iprot.readMapEnd();
42380
                iprot.readMapEnd();
41410
              }
42381
              }
41411
            } else { 
42382
            } else { 
41412
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42383
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41430... Line 42401...
41430
      oprot.writeFieldEnd();
42401
      oprot.writeFieldEnd();
41431
      if (this.deliveredOrders != null) {
42402
      if (this.deliveredOrders != null) {
41432
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
42403
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
41433
        {
42404
        {
41434
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.deliveredOrders.size()));
42405
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.deliveredOrders.size()));
41435
          for (Map.Entry<String, String> _iter153 : this.deliveredOrders.entrySet())
42406
          for (Map.Entry<String, String> _iter157 : this.deliveredOrders.entrySet())
41436
          {
42407
          {
41437
            oprot.writeString(_iter153.getKey());
42408
            oprot.writeString(_iter157.getKey());
41438
            oprot.writeString(_iter153.getValue());
42409
            oprot.writeString(_iter157.getValue());
41439
          }
42410
          }
41440
          oprot.writeMapEnd();
42411
          oprot.writeMapEnd();
41441
        }
42412
        }
41442
        oprot.writeFieldEnd();
42413
        oprot.writeFieldEnd();
41443
      }
42414
      }
Line 42113... Line 43084...
42113
            }
43084
            }
42114
            break;
43085
            break;
42115
          case 2: // RETURNED_ORDERS
43086
          case 2: // RETURNED_ORDERS
42116
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
43087
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
42117
              {
43088
              {
42118
                org.apache.thrift.protocol.TMap _map154 = iprot.readMapBegin();
43089
                org.apache.thrift.protocol.TMap _map158 = iprot.readMapBegin();
42119
                this.returnedOrders = new HashMap<String,String>(2*_map154.size);
43090
                this.returnedOrders = new HashMap<String,String>(2*_map158.size);
42120
                for (int _i155 = 0; _i155 < _map154.size; ++_i155)
43091
                for (int _i159 = 0; _i159 < _map158.size; ++_i159)
42121
                {
43092
                {
42122
                  String _key156; // required
43093
                  String _key160; // required
42123
                  String _val157; // required
43094
                  String _val161; // required
42124
                  _key156 = iprot.readString();
43095
                  _key160 = iprot.readString();
42125
                  _val157 = iprot.readString();
43096
                  _val161 = iprot.readString();
42126
                  this.returnedOrders.put(_key156, _val157);
43097
                  this.returnedOrders.put(_key160, _val161);
42127
                }
43098
                }
42128
                iprot.readMapEnd();
43099
                iprot.readMapEnd();
42129
              }
43100
              }
42130
            } else { 
43101
            } else { 
42131
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43102
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42149... Line 43120...
42149
      oprot.writeFieldEnd();
43120
      oprot.writeFieldEnd();
42150
      if (this.returnedOrders != null) {
43121
      if (this.returnedOrders != null) {
42151
        oprot.writeFieldBegin(RETURNED_ORDERS_FIELD_DESC);
43122
        oprot.writeFieldBegin(RETURNED_ORDERS_FIELD_DESC);
42152
        {
43123
        {
42153
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.returnedOrders.size()));
43124
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.returnedOrders.size()));
42154
          for (Map.Entry<String, String> _iter158 : this.returnedOrders.entrySet())
43125
          for (Map.Entry<String, String> _iter162 : this.returnedOrders.entrySet())
42155
          {
43126
          {
42156
            oprot.writeString(_iter158.getKey());
43127
            oprot.writeString(_iter162.getKey());
42157
            oprot.writeString(_iter158.getValue());
43128
            oprot.writeString(_iter162.getValue());
42158
          }
43129
          }
42159
          oprot.writeMapEnd();
43130
          oprot.writeMapEnd();
42160
        }
43131
        }
42161
        oprot.writeFieldEnd();
43132
        oprot.writeFieldEnd();
42162
      }
43133
      }
Line 43042... Line 44013...
43042
        }
44013
        }
43043
        switch (field.id) {
44014
        switch (field.id) {
43044
          case 0: // SUCCESS
44015
          case 0: // SUCCESS
43045
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44016
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43046
              {
44017
              {
43047
                org.apache.thrift.protocol.TList _list159 = iprot.readListBegin();
44018
                org.apache.thrift.protocol.TList _list163 = iprot.readListBegin();
43048
                this.success = new ArrayList<Order>(_list159.size);
44019
                this.success = new ArrayList<Order>(_list163.size);
43049
                for (int _i160 = 0; _i160 < _list159.size; ++_i160)
44020
                for (int _i164 = 0; _i164 < _list163.size; ++_i164)
43050
                {
44021
                {
43051
                  Order _elem161; // required
44022
                  Order _elem165; // required
43052
                  _elem161 = new Order();
44023
                  _elem165 = new Order();
43053
                  _elem161.read(iprot);
44024
                  _elem165.read(iprot);
43054
                  this.success.add(_elem161);
44025
                  this.success.add(_elem165);
43055
                }
44026
                }
43056
                iprot.readListEnd();
44027
                iprot.readListEnd();
43057
              }
44028
              }
43058
            } else { 
44029
            } else { 
43059
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44030
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 43073... Line 44044...
43073
 
44044
 
43074
      if (this.isSetSuccess()) {
44045
      if (this.isSetSuccess()) {
43075
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44046
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43076
        {
44047
        {
43077
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
44048
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
43078
          for (Order _iter162 : this.success)
44049
          for (Order _iter166 : this.success)
43079
          {
44050
          {
43080
            _iter162.write(oprot);
44051
            _iter166.write(oprot);
43081
          }
44052
          }
43082
          oprot.writeListEnd();
44053
          oprot.writeListEnd();
43083
        }
44054
        }
43084
        oprot.writeFieldEnd();
44055
        oprot.writeFieldEnd();
43085
      }
44056
      }
Line 43457... Line 44428...
43457
            }
44428
            }
43458
            break;
44429
            break;
43459
          case 2: // UNDELIVERED_ORDERS
44430
          case 2: // UNDELIVERED_ORDERS
43460
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
44431
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
43461
              {
44432
              {
43462
                org.apache.thrift.protocol.TMap _map163 = iprot.readMapBegin();
44433
                org.apache.thrift.protocol.TMap _map167 = iprot.readMapBegin();
43463
                this.undeliveredOrders = new HashMap<String,String>(2*_map163.size);
44434
                this.undeliveredOrders = new HashMap<String,String>(2*_map167.size);
43464
                for (int _i164 = 0; _i164 < _map163.size; ++_i164)
44435
                for (int _i168 = 0; _i168 < _map167.size; ++_i168)
43465
                {
44436
                {
43466
                  String _key165; // required
44437
                  String _key169; // required
43467
                  String _val166; // required
44438
                  String _val170; // required
43468
                  _key165 = iprot.readString();
44439
                  _key169 = iprot.readString();
43469
                  _val166 = iprot.readString();
44440
                  _val170 = iprot.readString();
43470
                  this.undeliveredOrders.put(_key165, _val166);
44441
                  this.undeliveredOrders.put(_key169, _val170);
43471
                }
44442
                }
43472
                iprot.readMapEnd();
44443
                iprot.readMapEnd();
43473
              }
44444
              }
43474
            } else { 
44445
            } else { 
43475
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44446
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 43493... Line 44464...
43493
      oprot.writeFieldEnd();
44464
      oprot.writeFieldEnd();
43494
      if (this.undeliveredOrders != null) {
44465
      if (this.undeliveredOrders != null) {
43495
        oprot.writeFieldBegin(UNDELIVERED_ORDERS_FIELD_DESC);
44466
        oprot.writeFieldBegin(UNDELIVERED_ORDERS_FIELD_DESC);
43496
        {
44467
        {
43497
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.undeliveredOrders.size()));
44468
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.undeliveredOrders.size()));
43498
          for (Map.Entry<String, String> _iter167 : this.undeliveredOrders.entrySet())
44469
          for (Map.Entry<String, String> _iter171 : this.undeliveredOrders.entrySet())
43499
          {
44470
          {
43500
            oprot.writeString(_iter167.getKey());
44471
            oprot.writeString(_iter171.getKey());
43501
            oprot.writeString(_iter167.getValue());
44472
            oprot.writeString(_iter171.getValue());
43502
          }
44473
          }
43503
          oprot.writeMapEnd();
44474
          oprot.writeMapEnd();
43504
        }
44475
        }
43505
        oprot.writeFieldEnd();
44476
        oprot.writeFieldEnd();
43506
      }
44477
      }
Line 44386... Line 45357...
44386
        }
45357
        }
44387
        switch (field.id) {
45358
        switch (field.id) {
44388
          case 0: // SUCCESS
45359
          case 0: // SUCCESS
44389
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45360
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44390
              {
45361
              {
44391
                org.apache.thrift.protocol.TList _list168 = iprot.readListBegin();
45362
                org.apache.thrift.protocol.TList _list172 = iprot.readListBegin();
44392
                this.success = new ArrayList<Order>(_list168.size);
45363
                this.success = new ArrayList<Order>(_list172.size);
44393
                for (int _i169 = 0; _i169 < _list168.size; ++_i169)
45364
                for (int _i173 = 0; _i173 < _list172.size; ++_i173)
44394
                {
45365
                {
44395
                  Order _elem170; // required
45366
                  Order _elem174; // required
44396
                  _elem170 = new Order();
45367
                  _elem174 = new Order();
44397
                  _elem170.read(iprot);
45368
                  _elem174.read(iprot);
44398
                  this.success.add(_elem170);
45369
                  this.success.add(_elem174);
44399
                }
45370
                }
44400
                iprot.readListEnd();
45371
                iprot.readListEnd();
44401
              }
45372
              }
44402
            } else { 
45373
            } else { 
44403
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45374
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44417... Line 45388...
44417
 
45388
 
44418
      if (this.isSetSuccess()) {
45389
      if (this.isSetSuccess()) {
44419
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45390
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44420
        {
45391
        {
44421
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45392
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
44422
          for (Order _iter171 : this.success)
45393
          for (Order _iter175 : this.success)
44423
          {
45394
          {
44424
            _iter171.write(oprot);
45395
            _iter175.write(oprot);
44425
          }
45396
          }
44426
          oprot.writeListEnd();
45397
          oprot.writeListEnd();
44427
        }
45398
        }
44428
        oprot.writeFieldEnd();
45399
        oprot.writeFieldEnd();
44429
      }
45400
      }
Line 44801... Line 45772...
44801
            }
45772
            }
44802
            break;
45773
            break;
44803
          case 2: // LOCAL_CONNECTED_ORDERS
45774
          case 2: // LOCAL_CONNECTED_ORDERS
44804
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
45775
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
44805
              {
45776
              {
44806
                org.apache.thrift.protocol.TMap _map172 = iprot.readMapBegin();
45777
                org.apache.thrift.protocol.TMap _map176 = iprot.readMapBegin();
44807
                this.local_connected_orders = new HashMap<String,String>(2*_map172.size);
45778
                this.local_connected_orders = new HashMap<String,String>(2*_map176.size);
44808
                for (int _i173 = 0; _i173 < _map172.size; ++_i173)
45779
                for (int _i177 = 0; _i177 < _map176.size; ++_i177)
44809
                {
45780
                {
44810
                  String _key174; // required
45781
                  String _key178; // required
44811
                  String _val175; // required
45782
                  String _val179; // required
44812
                  _key174 = iprot.readString();
45783
                  _key178 = iprot.readString();
44813
                  _val175 = iprot.readString();
45784
                  _val179 = iprot.readString();
44814
                  this.local_connected_orders.put(_key174, _val175);
45785
                  this.local_connected_orders.put(_key178, _val179);
44815
                }
45786
                }
44816
                iprot.readMapEnd();
45787
                iprot.readMapEnd();
44817
              }
45788
              }
44818
            } else { 
45789
            } else { 
44819
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45790
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44837... Line 45808...
44837
      oprot.writeFieldEnd();
45808
      oprot.writeFieldEnd();
44838
      if (this.local_connected_orders != null) {
45809
      if (this.local_connected_orders != null) {
44839
        oprot.writeFieldBegin(LOCAL_CONNECTED_ORDERS_FIELD_DESC);
45810
        oprot.writeFieldBegin(LOCAL_CONNECTED_ORDERS_FIELD_DESC);
44840
        {
45811
        {
44841
          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()));
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()));
44842
          for (Map.Entry<String, String> _iter176 : this.local_connected_orders.entrySet())
45813
          for (Map.Entry<String, String> _iter180 : this.local_connected_orders.entrySet())
44843
          {
45814
          {
44844
            oprot.writeString(_iter176.getKey());
45815
            oprot.writeString(_iter180.getKey());
44845
            oprot.writeString(_iter176.getValue());
45816
            oprot.writeString(_iter180.getValue());
44846
          }
45817
          }
44847
          oprot.writeMapEnd();
45818
          oprot.writeMapEnd();
44848
        }
45819
        }
44849
        oprot.writeFieldEnd();
45820
        oprot.writeFieldEnd();
44850
      }
45821
      }
Line 45730... Line 46701...
45730
        }
46701
        }
45731
        switch (field.id) {
46702
        switch (field.id) {
45732
          case 0: // SUCCESS
46703
          case 0: // SUCCESS
45733
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46704
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45734
              {
46705
              {
45735
                org.apache.thrift.protocol.TList _list177 = iprot.readListBegin();
46706
                org.apache.thrift.protocol.TList _list181 = iprot.readListBegin();
45736
                this.success = new ArrayList<Order>(_list177.size);
46707
                this.success = new ArrayList<Order>(_list181.size);
45737
                for (int _i178 = 0; _i178 < _list177.size; ++_i178)
46708
                for (int _i182 = 0; _i182 < _list181.size; ++_i182)
45738
                {
46709
                {
45739
                  Order _elem179; // required
46710
                  Order _elem183; // required
45740
                  _elem179 = new Order();
46711
                  _elem183 = new Order();
45741
                  _elem179.read(iprot);
46712
                  _elem183.read(iprot);
45742
                  this.success.add(_elem179);
46713
                  this.success.add(_elem183);
45743
                }
46714
                }
45744
                iprot.readListEnd();
46715
                iprot.readListEnd();
45745
              }
46716
              }
45746
            } else { 
46717
            } else { 
45747
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46718
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 45761... Line 46732...
45761
 
46732
 
45762
      if (this.isSetSuccess()) {
46733
      if (this.isSetSuccess()) {
45763
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46734
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45764
        {
46735
        {
45765
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46736
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45766
          for (Order _iter180 : this.success)
46737
          for (Order _iter184 : this.success)
45767
          {
46738
          {
45768
            _iter180.write(oprot);
46739
            _iter184.write(oprot);
45769
          }
46740
          }
45770
          oprot.writeListEnd();
46741
          oprot.writeListEnd();
45771
        }
46742
        }
45772
        oprot.writeFieldEnd();
46743
        oprot.writeFieldEnd();
45773
      }
46744
      }
Line 46145... Line 47116...
46145
            }
47116
            }
46146
            break;
47117
            break;
46147
          case 2: // DESTINATION_CITY_REACHED_ORDERS
47118
          case 2: // DESTINATION_CITY_REACHED_ORDERS
46148
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
47119
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
46149
              {
47120
              {
46150
                org.apache.thrift.protocol.TMap _map181 = iprot.readMapBegin();
47121
                org.apache.thrift.protocol.TMap _map185 = iprot.readMapBegin();
46151
                this.destination_city_reached_orders = new HashMap<String,String>(2*_map181.size);
47122
                this.destination_city_reached_orders = new HashMap<String,String>(2*_map185.size);
46152
                for (int _i182 = 0; _i182 < _map181.size; ++_i182)
47123
                for (int _i186 = 0; _i186 < _map185.size; ++_i186)
46153
                {
47124
                {
46154
                  String _key183; // required
47125
                  String _key187; // required
46155
                  String _val184; // required
47126
                  String _val188; // required
46156
                  _key183 = iprot.readString();
47127
                  _key187 = iprot.readString();
46157
                  _val184 = iprot.readString();
47128
                  _val188 = iprot.readString();
46158
                  this.destination_city_reached_orders.put(_key183, _val184);
47129
                  this.destination_city_reached_orders.put(_key187, _val188);
46159
                }
47130
                }
46160
                iprot.readMapEnd();
47131
                iprot.readMapEnd();
46161
              }
47132
              }
46162
            } else { 
47133
            } else { 
46163
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47134
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46181... Line 47152...
46181
      oprot.writeFieldEnd();
47152
      oprot.writeFieldEnd();
46182
      if (this.destination_city_reached_orders != null) {
47153
      if (this.destination_city_reached_orders != null) {
46183
        oprot.writeFieldBegin(DESTINATION_CITY_REACHED_ORDERS_FIELD_DESC);
47154
        oprot.writeFieldBegin(DESTINATION_CITY_REACHED_ORDERS_FIELD_DESC);
46184
        {
47155
        {
46185
          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()));
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()));
46186
          for (Map.Entry<String, String> _iter185 : this.destination_city_reached_orders.entrySet())
47157
          for (Map.Entry<String, String> _iter189 : this.destination_city_reached_orders.entrySet())
46187
          {
47158
          {
46188
            oprot.writeString(_iter185.getKey());
47159
            oprot.writeString(_iter189.getKey());
46189
            oprot.writeString(_iter185.getValue());
47160
            oprot.writeString(_iter189.getValue());
46190
          }
47161
          }
46191
          oprot.writeMapEnd();
47162
          oprot.writeMapEnd();
46192
        }
47163
        }
46193
        oprot.writeFieldEnd();
47164
        oprot.writeFieldEnd();
46194
      }
47165
      }
Line 46864... Line 47835...
46864
            }
47835
            }
46865
            break;
47836
            break;
46866
          case 2: // FIRST_ATDL_ORDERS
47837
          case 2: // FIRST_ATDL_ORDERS
46867
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
47838
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
46868
              {
47839
              {
46869
                org.apache.thrift.protocol.TMap _map186 = iprot.readMapBegin();
47840
                org.apache.thrift.protocol.TMap _map190 = iprot.readMapBegin();
46870
                this.first_atdl_orders = new HashMap<String,String>(2*_map186.size);
47841
                this.first_atdl_orders = new HashMap<String,String>(2*_map190.size);
46871
                for (int _i187 = 0; _i187 < _map186.size; ++_i187)
47842
                for (int _i191 = 0; _i191 < _map190.size; ++_i191)
46872
                {
47843
                {
46873
                  String _key188; // required
47844
                  String _key192; // required
46874
                  String _val189; // required
47845
                  String _val193; // required
46875
                  _key188 = iprot.readString();
47846
                  _key192 = iprot.readString();
46876
                  _val189 = iprot.readString();
47847
                  _val193 = iprot.readString();
46877
                  this.first_atdl_orders.put(_key188, _val189);
47848
                  this.first_atdl_orders.put(_key192, _val193);
46878
                }
47849
                }
46879
                iprot.readMapEnd();
47850
                iprot.readMapEnd();
46880
              }
47851
              }
46881
            } else { 
47852
            } else { 
46882
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47853
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46900... Line 47871...
46900
      oprot.writeFieldEnd();
47871
      oprot.writeFieldEnd();
46901
      if (this.first_atdl_orders != null) {
47872
      if (this.first_atdl_orders != null) {
46902
        oprot.writeFieldBegin(FIRST_ATDL_ORDERS_FIELD_DESC);
47873
        oprot.writeFieldBegin(FIRST_ATDL_ORDERS_FIELD_DESC);
46903
        {
47874
        {
46904
          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()));
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()));
46905
          for (Map.Entry<String, String> _iter190 : this.first_atdl_orders.entrySet())
47876
          for (Map.Entry<String, String> _iter194 : this.first_atdl_orders.entrySet())
46906
          {
47877
          {
46907
            oprot.writeString(_iter190.getKey());
47878
            oprot.writeString(_iter194.getKey());
46908
            oprot.writeString(_iter190.getValue());
47879
            oprot.writeString(_iter194.getValue());
46909
          }
47880
          }
46910
          oprot.writeMapEnd();
47881
          oprot.writeMapEnd();
46911
        }
47882
        }
46912
        oprot.writeFieldEnd();
47883
        oprot.writeFieldEnd();
46913
      }
47884
      }
Line 47874... Line 48845...
47874
        }
48845
        }
47875
        switch (field.id) {
48846
        switch (field.id) {
47876
          case 0: // SUCCESS
48847
          case 0: // SUCCESS
47877
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48848
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47878
              {
48849
              {
47879
                org.apache.thrift.protocol.TList _list191 = iprot.readListBegin();
48850
                org.apache.thrift.protocol.TList _list195 = iprot.readListBegin();
47880
                this.success = new ArrayList<Order>(_list191.size);
48851
                this.success = new ArrayList<Order>(_list195.size);
47881
                for (int _i192 = 0; _i192 < _list191.size; ++_i192)
48852
                for (int _i196 = 0; _i196 < _list195.size; ++_i196)
47882
                {
48853
                {
47883
                  Order _elem193; // required
48854
                  Order _elem197; // required
47884
                  _elem193 = new Order();
48855
                  _elem197 = new Order();
47885
                  _elem193.read(iprot);
48856
                  _elem197.read(iprot);
47886
                  this.success.add(_elem193);
48857
                  this.success.add(_elem197);
47887
                }
48858
                }
47888
                iprot.readListEnd();
48859
                iprot.readListEnd();
47889
              }
48860
              }
47890
            } else { 
48861
            } else { 
47891
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48862
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47905... Line 48876...
47905
 
48876
 
47906
      if (this.isSetSuccess()) {
48877
      if (this.isSetSuccess()) {
47907
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48878
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47908
        {
48879
        {
47909
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
48880
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47910
          for (Order _iter194 : this.success)
48881
          for (Order _iter198 : this.success)
47911
          {
48882
          {
47912
            _iter194.write(oprot);
48883
            _iter198.write(oprot);
47913
          }
48884
          }
47914
          oprot.writeListEnd();
48885
          oprot.writeListEnd();
47915
        }
48886
        }
47916
        oprot.writeFieldEnd();
48887
        oprot.writeFieldEnd();
47917
      }
48888
      }
Line 48405... Line 49376...
48405
        }
49376
        }
48406
        switch (field.id) {
49377
        switch (field.id) {
48407
          case 0: // SUCCESS
49378
          case 0: // SUCCESS
48408
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49379
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48409
              {
49380
              {
48410
                org.apache.thrift.protocol.TList _list195 = iprot.readListBegin();
49381
                org.apache.thrift.protocol.TList _list199 = iprot.readListBegin();
48411
                this.success = new ArrayList<Order>(_list195.size);
49382
                this.success = new ArrayList<Order>(_list199.size);
48412
                for (int _i196 = 0; _i196 < _list195.size; ++_i196)
49383
                for (int _i200 = 0; _i200 < _list199.size; ++_i200)
48413
                {
49384
                {
48414
                  Order _elem197; // required
49385
                  Order _elem201; // required
48415
                  _elem197 = new Order();
49386
                  _elem201 = new Order();
48416
                  _elem197.read(iprot);
49387
                  _elem201.read(iprot);
48417
                  this.success.add(_elem197);
49388
                  this.success.add(_elem201);
48418
                }
49389
                }
48419
                iprot.readListEnd();
49390
                iprot.readListEnd();
48420
              }
49391
              }
48421
            } else { 
49392
            } else { 
48422
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
49393
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 48436... Line 49407...
48436
 
49407
 
48437
      if (this.isSetSuccess()) {
49408
      if (this.isSetSuccess()) {
48438
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49409
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48439
        {
49410
        {
48440
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49411
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
48441
          for (Order _iter198 : this.success)
49412
          for (Order _iter202 : this.success)
48442
          {
49413
          {
48443
            _iter198.write(oprot);
49414
            _iter202.write(oprot);
48444
          }
49415
          }
48445
          oprot.writeListEnd();
49416
          oprot.writeListEnd();
48446
        }
49417
        }
48447
        oprot.writeFieldEnd();
49418
        oprot.writeFieldEnd();
48448
      }
49419
      }
Line 55385... Line 56356...
55385
            }
56356
            }
55386
            break;
56357
            break;
55387
          case 2: // PICKUP_DETAILS
56358
          case 2: // PICKUP_DETAILS
55388
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
56359
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
55389
              {
56360
              {
55390
                org.apache.thrift.protocol.TMap _map199 = iprot.readMapBegin();
56361
                org.apache.thrift.protocol.TMap _map203 = iprot.readMapBegin();
55391
                this.pickupDetails = new HashMap<String,String>(2*_map199.size);
56362
                this.pickupDetails = new HashMap<String,String>(2*_map203.size);
55392
                for (int _i200 = 0; _i200 < _map199.size; ++_i200)
56363
                for (int _i204 = 0; _i204 < _map203.size; ++_i204)
55393
                {
56364
                {
55394
                  String _key201; // required
56365
                  String _key205; // required
55395
                  String _val202; // required
56366
                  String _val206; // required
55396
                  _key201 = iprot.readString();
56367
                  _key205 = iprot.readString();
55397
                  _val202 = iprot.readString();
56368
                  _val206 = iprot.readString();
55398
                  this.pickupDetails.put(_key201, _val202);
56369
                  this.pickupDetails.put(_key205, _val206);
55399
                }
56370
                }
55400
                iprot.readMapEnd();
56371
                iprot.readMapEnd();
55401
              }
56372
              }
55402
            } else { 
56373
            } else { 
55403
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
56374
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 55421... Line 56392...
55421
      oprot.writeFieldEnd();
56392
      oprot.writeFieldEnd();
55422
      if (this.pickupDetails != null) {
56393
      if (this.pickupDetails != null) {
55423
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
56394
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
55424
        {
56395
        {
55425
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
56396
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
55426
          for (Map.Entry<String, String> _iter203 : this.pickupDetails.entrySet())
56397
          for (Map.Entry<String, String> _iter207 : this.pickupDetails.entrySet())
55427
          {
56398
          {
55428
            oprot.writeString(_iter203.getKey());
56399
            oprot.writeString(_iter207.getKey());
55429
            oprot.writeString(_iter203.getValue());
56400
            oprot.writeString(_iter207.getValue());
55430
          }
56401
          }
55431
          oprot.writeMapEnd();
56402
          oprot.writeMapEnd();
55432
        }
56403
        }
55433
        oprot.writeFieldEnd();
56404
        oprot.writeFieldEnd();
55434
      }
56405
      }
Line 56217... Line 57188...
56217
        }
57188
        }
56218
        switch (field.id) {
57189
        switch (field.id) {
56219
          case 0: // SUCCESS
57190
          case 0: // SUCCESS
56220
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57191
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56221
              {
57192
              {
56222
                org.apache.thrift.protocol.TList _list204 = iprot.readListBegin();
57193
                org.apache.thrift.protocol.TList _list208 = iprot.readListBegin();
56223
                this.success = new ArrayList<Order>(_list204.size);
57194
                this.success = new ArrayList<Order>(_list208.size);
56224
                for (int _i205 = 0; _i205 < _list204.size; ++_i205)
57195
                for (int _i209 = 0; _i209 < _list208.size; ++_i209)
56225
                {
57196
                {
56226
                  Order _elem206; // required
57197
                  Order _elem210; // required
56227
                  _elem206 = new Order();
57198
                  _elem210 = new Order();
56228
                  _elem206.read(iprot);
57199
                  _elem210.read(iprot);
56229
                  this.success.add(_elem206);
57200
                  this.success.add(_elem210);
56230
                }
57201
                }
56231
                iprot.readListEnd();
57202
                iprot.readListEnd();
56232
              }
57203
              }
56233
            } else { 
57204
            } else { 
56234
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57205
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 56248... Line 57219...
56248
 
57219
 
56249
      if (this.isSetSuccess()) {
57220
      if (this.isSetSuccess()) {
56250
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
57221
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56251
        {
57222
        {
56252
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
57223
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
56253
          for (Order _iter207 : this.success)
57224
          for (Order _iter211 : this.success)
56254
          {
57225
          {
56255
            _iter207.write(oprot);
57226
            _iter211.write(oprot);
56256
          }
57227
          }
56257
          oprot.writeListEnd();
57228
          oprot.writeListEnd();
56258
        }
57229
        }
56259
        oprot.writeFieldEnd();
57230
        oprot.writeFieldEnd();
56260
      }
57231
      }
Line 56632... Line 57603...
56632
            }
57603
            }
56633
            break;
57604
            break;
56634
          case 2: // PICKUP_DETAILS
57605
          case 2: // PICKUP_DETAILS
56635
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
57606
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
56636
              {
57607
              {
56637
                org.apache.thrift.protocol.TMap _map208 = iprot.readMapBegin();
57608
                org.apache.thrift.protocol.TMap _map212 = iprot.readMapBegin();
56638
                this.pickupDetails = new HashMap<String,String>(2*_map208.size);
57609
                this.pickupDetails = new HashMap<String,String>(2*_map212.size);
56639
                for (int _i209 = 0; _i209 < _map208.size; ++_i209)
57610
                for (int _i213 = 0; _i213 < _map212.size; ++_i213)
56640
                {
57611
                {
56641
                  String _key210; // required
57612
                  String _key214; // required
56642
                  String _val211; // required
57613
                  String _val215; // required
56643
                  _key210 = iprot.readString();
57614
                  _key214 = iprot.readString();
56644
                  _val211 = iprot.readString();
57615
                  _val215 = iprot.readString();
56645
                  this.pickupDetails.put(_key210, _val211);
57616
                  this.pickupDetails.put(_key214, _val215);
56646
                }
57617
                }
56647
                iprot.readMapEnd();
57618
                iprot.readMapEnd();
56648
              }
57619
              }
56649
            } else { 
57620
            } else { 
56650
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57621
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 56668... Line 57639...
56668
      oprot.writeFieldEnd();
57639
      oprot.writeFieldEnd();
56669
      if (this.pickupDetails != null) {
57640
      if (this.pickupDetails != null) {
56670
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
57641
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
56671
        {
57642
        {
56672
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
57643
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
56673
          for (Map.Entry<String, String> _iter212 : this.pickupDetails.entrySet())
57644
          for (Map.Entry<String, String> _iter216 : this.pickupDetails.entrySet())
56674
          {
57645
          {
56675
            oprot.writeString(_iter212.getKey());
57646
            oprot.writeString(_iter216.getKey());
56676
            oprot.writeString(_iter212.getValue());
57647
            oprot.writeString(_iter216.getValue());
56677
          }
57648
          }
56678
          oprot.writeMapEnd();
57649
          oprot.writeMapEnd();
56679
        }
57650
        }
56680
        oprot.writeFieldEnd();
57651
        oprot.writeFieldEnd();
56681
      }
57652
      }
Line 57464... Line 58435...
57464
        }
58435
        }
57465
        switch (field.id) {
58436
        switch (field.id) {
57466
          case 0: // SUCCESS
58437
          case 0: // SUCCESS
57467
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58438
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57468
              {
58439
              {
57469
                org.apache.thrift.protocol.TList _list213 = iprot.readListBegin();
58440
                org.apache.thrift.protocol.TList _list217 = iprot.readListBegin();
57470
                this.success = new ArrayList<Order>(_list213.size);
58441
                this.success = new ArrayList<Order>(_list217.size);
57471
                for (int _i214 = 0; _i214 < _list213.size; ++_i214)
58442
                for (int _i218 = 0; _i218 < _list217.size; ++_i218)
57472
                {
58443
                {
57473
                  Order _elem215; // required
58444
                  Order _elem219; // required
57474
                  _elem215 = new Order();
58445
                  _elem219 = new Order();
57475
                  _elem215.read(iprot);
58446
                  _elem219.read(iprot);
57476
                  this.success.add(_elem215);
58447
                  this.success.add(_elem219);
57477
                }
58448
                }
57478
                iprot.readListEnd();
58449
                iprot.readListEnd();
57479
              }
58450
              }
57480
            } else { 
58451
            } else { 
57481
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58452
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 57495... Line 58466...
57495
 
58466
 
57496
      if (this.isSetSuccess()) {
58467
      if (this.isSetSuccess()) {
57497
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58468
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
57498
        {
58469
        {
57499
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58470
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
57500
          for (Order _iter216 : this.success)
58471
          for (Order _iter220 : this.success)
57501
          {
58472
          {
57502
            _iter216.write(oprot);
58473
            _iter220.write(oprot);
57503
          }
58474
          }
57504
          oprot.writeListEnd();
58475
          oprot.writeListEnd();
57505
        }
58476
        }
57506
        oprot.writeFieldEnd();
58477
        oprot.writeFieldEnd();
57507
      }
58478
      }
Line 58668... Line 59639...
58668
      }
59639
      }
58669
    }
59640
    }
58670
 
59641
 
58671
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
59642
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
58672
      try {
59643
      try {
-
 
59644
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
59645
        __isset_bit_vector = new BitSet(1);
58673
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
59646
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
58674
      } catch (org.apache.thrift.TException te) {
59647
      } catch (org.apache.thrift.TException te) {
58675
        throw new java.io.IOException(te);
59648
        throw new java.io.IOException(te);
58676
      }
59649
      }
58677
    }
59650
    }
Line 59424... Line 60397...
59424
      }
60397
      }
59425
    }
60398
    }
59426
 
60399
 
59427
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
60400
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
59428
      try {
60401
      try {
-
 
60402
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
60403
        __isset_bit_vector = new BitSet(1);
59429
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
60404
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
59430
      } catch (org.apache.thrift.TException te) {
60405
      } catch (org.apache.thrift.TException te) {
59431
        throw new java.io.IOException(te);
60406
        throw new java.io.IOException(te);
59432
      }
60407
      }
59433
    }
60408
    }
Line 60097... Line 61072...
60097
      }
61072
      }
60098
    }
61073
    }
60099
 
61074
 
60100
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
61075
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
60101
      try {
61076
      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);
60102
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
61079
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
60103
      } catch (org.apache.thrift.TException te) {
61080
      } catch (org.apache.thrift.TException te) {
60104
        throw new java.io.IOException(te);
61081
        throw new java.io.IOException(te);
60105
      }
61082
      }
60106
    }
61083
    }
Line 62043... Line 63020...
62043
        }
63020
        }
62044
        switch (field.id) {
63021
        switch (field.id) {
62045
          case 0: // SUCCESS
63022
          case 0: // SUCCESS
62046
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63023
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
62047
              {
63024
              {
62048
                org.apache.thrift.protocol.TList _list217 = iprot.readListBegin();
63025
                org.apache.thrift.protocol.TList _list221 = iprot.readListBegin();
62049
                this.success = new ArrayList<ReturnOrder>(_list217.size);
63026
                this.success = new ArrayList<ReturnOrder>(_list221.size);
62050
                for (int _i218 = 0; _i218 < _list217.size; ++_i218)
63027
                for (int _i222 = 0; _i222 < _list221.size; ++_i222)
62051
                {
63028
                {
62052
                  ReturnOrder _elem219; // required
63029
                  ReturnOrder _elem223; // required
62053
                  _elem219 = new ReturnOrder();
63030
                  _elem223 = new ReturnOrder();
62054
                  _elem219.read(iprot);
63031
                  _elem223.read(iprot);
62055
                  this.success.add(_elem219);
63032
                  this.success.add(_elem223);
62056
                }
63033
                }
62057
                iprot.readListEnd();
63034
                iprot.readListEnd();
62058
              }
63035
              }
62059
            } else { 
63036
            } else { 
62060
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
63037
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 62074... Line 63051...
62074
 
63051
 
62075
      if (this.isSetSuccess()) {
63052
      if (this.isSetSuccess()) {
62076
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
63053
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
62077
        {
63054
        {
62078
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
63055
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
62079
          for (ReturnOrder _iter220 : this.success)
63056
          for (ReturnOrder _iter224 : this.success)
62080
          {
63057
          {
62081
            _iter220.write(oprot);
63058
            _iter224.write(oprot);
62082
          }
63059
          }
62083
          oprot.writeListEnd();
63060
          oprot.writeListEnd();
62084
        }
63061
        }
62085
        oprot.writeFieldEnd();
63062
        oprot.writeFieldEnd();
62086
      }
63063
      }
Line 62834... Line 63811...
62834
        }
63811
        }
62835
        switch (field.id) {
63812
        switch (field.id) {
62836
          case 0: // SUCCESS
63813
          case 0: // SUCCESS
62837
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63814
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
62838
              {
63815
              {
62839
                org.apache.thrift.protocol.TList _list221 = iprot.readListBegin();
63816
                org.apache.thrift.protocol.TList _list225 = iprot.readListBegin();
62840
                this.success = new ArrayList<ReturnOrder>(_list221.size);
63817
                this.success = new ArrayList<ReturnOrder>(_list225.size);
62841
                for (int _i222 = 0; _i222 < _list221.size; ++_i222)
63818
                for (int _i226 = 0; _i226 < _list225.size; ++_i226)
62842
                {
63819
                {
62843
                  ReturnOrder _elem223; // required
63820
                  ReturnOrder _elem227; // required
62844
                  _elem223 = new ReturnOrder();
63821
                  _elem227 = new ReturnOrder();
62845
                  _elem223.read(iprot);
63822
                  _elem227.read(iprot);
62846
                  this.success.add(_elem223);
63823
                  this.success.add(_elem227);
62847
                }
63824
                }
62848
                iprot.readListEnd();
63825
                iprot.readListEnd();
62849
              }
63826
              }
62850
            } else { 
63827
            } else { 
62851
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
63828
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 62865... Line 63842...
62865
 
63842
 
62866
      if (this.isSetSuccess()) {
63843
      if (this.isSetSuccess()) {
62867
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
63844
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
62868
        {
63845
        {
62869
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
63846
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
62870
          for (ReturnOrder _iter224 : this.success)
63847
          for (ReturnOrder _iter228 : this.success)
62871
          {
63848
          {
62872
            _iter224.write(oprot);
63849
            _iter228.write(oprot);
62873
          }
63850
          }
62874
          oprot.writeListEnd();
63851
          oprot.writeListEnd();
62875
        }
63852
        }
62876
        oprot.writeFieldEnd();
63853
        oprot.writeFieldEnd();
62877
      }
63854
      }
Line 67852... Line 68829...
67852
        }
68829
        }
67853
        switch (field.id) {
68830
        switch (field.id) {
67854
          case 1: // COLLECTED_AMOUNT_MAP
68831
          case 1: // COLLECTED_AMOUNT_MAP
67855
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
68832
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
67856
              {
68833
              {
67857
                org.apache.thrift.protocol.TMap _map225 = iprot.readMapBegin();
68834
                org.apache.thrift.protocol.TMap _map229 = iprot.readMapBegin();
67858
                this.collectedAmountMap = new HashMap<String,Double>(2*_map225.size);
68835
                this.collectedAmountMap = new HashMap<String,Double>(2*_map229.size);
67859
                for (int _i226 = 0; _i226 < _map225.size; ++_i226)
68836
                for (int _i230 = 0; _i230 < _map229.size; ++_i230)
67860
                {
68837
                {
67861
                  String _key227; // required
68838
                  String _key231; // required
67862
                  double _val228; // required
68839
                  double _val232; // required
67863
                  _key227 = iprot.readString();
68840
                  _key231 = iprot.readString();
67864
                  _val228 = iprot.readDouble();
68841
                  _val232 = iprot.readDouble();
67865
                  this.collectedAmountMap.put(_key227, _val228);
68842
                  this.collectedAmountMap.put(_key231, _val232);
67866
                }
68843
                }
67867
                iprot.readMapEnd();
68844
                iprot.readMapEnd();
67868
              }
68845
              }
67869
            } else { 
68846
            } else { 
67870
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
68847
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 67907... Line 68884...
67907
      oprot.writeStructBegin(STRUCT_DESC);
68884
      oprot.writeStructBegin(STRUCT_DESC);
67908
      if (this.collectedAmountMap != null) {
68885
      if (this.collectedAmountMap != null) {
67909
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
68886
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
67910
        {
68887
        {
67911
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
68888
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
67912
          for (Map.Entry<String, Double> _iter229 : this.collectedAmountMap.entrySet())
68889
          for (Map.Entry<String, Double> _iter233 : this.collectedAmountMap.entrySet())
67913
          {
68890
          {
67914
            oprot.writeString(_iter229.getKey());
68891
            oprot.writeString(_iter233.getKey());
67915
            oprot.writeDouble(_iter229.getValue());
68892
            oprot.writeDouble(_iter233.getValue());
67916
          }
68893
          }
67917
          oprot.writeMapEnd();
68894
          oprot.writeMapEnd();
67918
        }
68895
        }
67919
        oprot.writeFieldEnd();
68896
        oprot.writeFieldEnd();
67920
      }
68897
      }
Line 68314... Line 69291...
68314
        }
69291
        }
68315
        switch (field.id) {
69292
        switch (field.id) {
68316
          case 0: // SUCCESS
69293
          case 0: // SUCCESS
68317
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
69294
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
68318
              {
69295
              {
68319
                org.apache.thrift.protocol.TMap _map230 = iprot.readMapBegin();
69296
                org.apache.thrift.protocol.TMap _map234 = iprot.readMapBegin();
68320
                this.success = new HashMap<String,String>(2*_map230.size);
69297
                this.success = new HashMap<String,String>(2*_map234.size);
68321
                for (int _i231 = 0; _i231 < _map230.size; ++_i231)
69298
                for (int _i235 = 0; _i235 < _map234.size; ++_i235)
68322
                {
69299
                {
68323
                  String _key232; // required
69300
                  String _key236; // required
68324
                  String _val233; // required
69301
                  String _val237; // required
68325
                  _key232 = iprot.readString();
69302
                  _key236 = iprot.readString();
68326
                  _val233 = iprot.readString();
69303
                  _val237 = iprot.readString();
68327
                  this.success.put(_key232, _val233);
69304
                  this.success.put(_key236, _val237);
68328
                }
69305
                }
68329
                iprot.readMapEnd();
69306
                iprot.readMapEnd();
68330
              }
69307
              }
68331
            } else { 
69308
            } else { 
68332
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
69309
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 68354... Line 69331...
68354
 
69331
 
68355
      if (this.isSetSuccess()) {
69332
      if (this.isSetSuccess()) {
68356
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
69333
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
68357
        {
69334
        {
68358
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
69335
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
68359
          for (Map.Entry<String, String> _iter234 : this.success.entrySet())
69336
          for (Map.Entry<String, String> _iter238 : this.success.entrySet())
68360
          {
69337
          {
68361
            oprot.writeString(_iter234.getKey());
69338
            oprot.writeString(_iter238.getKey());
68362
            oprot.writeString(_iter234.getValue());
69339
            oprot.writeString(_iter238.getValue());
68363
          }
69340
          }
68364
          oprot.writeMapEnd();
69341
          oprot.writeMapEnd();
68365
        }
69342
        }
68366
        oprot.writeFieldEnd();
69343
        oprot.writeFieldEnd();
68367
      } else if (this.isSetEx()) {
69344
      } else if (this.isSetEx()) {
Line 68973... Line 69950...
68973
        }
69950
        }
68974
        switch (field.id) {
69951
        switch (field.id) {
68975
          case 0: // SUCCESS
69952
          case 0: // SUCCESS
68976
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
69953
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
68977
              {
69954
              {
68978
                org.apache.thrift.protocol.TList _list235 = iprot.readListBegin();
69955
                org.apache.thrift.protocol.TList _list239 = iprot.readListBegin();
68979
                this.success = new ArrayList<Long>(_list235.size);
69956
                this.success = new ArrayList<Long>(_list239.size);
68980
                for (int _i236 = 0; _i236 < _list235.size; ++_i236)
69957
                for (int _i240 = 0; _i240 < _list239.size; ++_i240)
68981
                {
69958
                {
68982
                  long _elem237; // required
69959
                  long _elem241; // required
68983
                  _elem237 = iprot.readI64();
69960
                  _elem241 = iprot.readI64();
68984
                  this.success.add(_elem237);
69961
                  this.success.add(_elem241);
68985
                }
69962
                }
68986
                iprot.readListEnd();
69963
                iprot.readListEnd();
68987
              }
69964
              }
68988
            } else { 
69965
            } else { 
68989
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
69966
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 69003... Line 69980...
69003
 
69980
 
69004
      if (this.isSetSuccess()) {
69981
      if (this.isSetSuccess()) {
69005
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
69982
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
69006
        {
69983
        {
69007
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
69984
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
69008
          for (long _iter238 : this.success)
69985
          for (long _iter242 : this.success)
69009
          {
69986
          {
69010
            oprot.writeI64(_iter238);
69987
            oprot.writeI64(_iter242);
69011
          }
69988
          }
69012
          oprot.writeListEnd();
69989
          oprot.writeListEnd();
69013
        }
69990
        }
69014
        oprot.writeFieldEnd();
69991
        oprot.writeFieldEnd();
69015
      }
69992
      }
Line 70099... Line 71076...
70099
        }
71076
        }
70100
        switch (field.id) {
71077
        switch (field.id) {
70101
          case 0: // SUCCESS
71078
          case 0: // SUCCESS
70102
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
71079
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
70103
              {
71080
              {
70104
                org.apache.thrift.protocol.TMap _map239 = iprot.readMapBegin();
71081
                org.apache.thrift.protocol.TMap _map243 = iprot.readMapBegin();
70105
                this.success = new HashMap<Long,Long>(2*_map239.size);
71082
                this.success = new HashMap<Long,Long>(2*_map243.size);
70106
                for (int _i240 = 0; _i240 < _map239.size; ++_i240)
71083
                for (int _i244 = 0; _i244 < _map243.size; ++_i244)
70107
                {
71084
                {
70108
                  long _key241; // required
71085
                  long _key245; // required
70109
                  long _val242; // required
71086
                  long _val246; // required
70110
                  _key241 = iprot.readI64();
71087
                  _key245 = iprot.readI64();
70111
                  _val242 = iprot.readI64();
71088
                  _val246 = iprot.readI64();
70112
                  this.success.put(_key241, _val242);
71089
                  this.success.put(_key245, _val246);
70113
                }
71090
                }
70114
                iprot.readMapEnd();
71091
                iprot.readMapEnd();
70115
              }
71092
              }
70116
            } else { 
71093
            } else { 
70117
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
71094
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 70131... Line 71108...
70131
 
71108
 
70132
      if (this.isSetSuccess()) {
71109
      if (this.isSetSuccess()) {
70133
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71110
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70134
        {
71111
        {
70135
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
71112
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
70136
          for (Map.Entry<Long, Long> _iter243 : this.success.entrySet())
71113
          for (Map.Entry<Long, Long> _iter247 : this.success.entrySet())
70137
          {
71114
          {
70138
            oprot.writeI64(_iter243.getKey());
71115
            oprot.writeI64(_iter247.getKey());
70139
            oprot.writeI64(_iter243.getValue());
71116
            oprot.writeI64(_iter247.getValue());
70140
          }
71117
          }
70141
          oprot.writeMapEnd();
71118
          oprot.writeMapEnd();
70142
        }
71119
        }
70143
        oprot.writeFieldEnd();
71120
        oprot.writeFieldEnd();
70144
      }
71121
      }
Line 70432... Line 71409...
70432
        }
71409
        }
70433
        switch (field.id) {
71410
        switch (field.id) {
70434
          case 1: // ITEM_IDS
71411
          case 1: // ITEM_IDS
70435
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71412
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
70436
              {
71413
              {
70437
                org.apache.thrift.protocol.TList _list244 = iprot.readListBegin();
71414
                org.apache.thrift.protocol.TList _list248 = iprot.readListBegin();
70438
                this.itemIds = new ArrayList<Long>(_list244.size);
71415
                this.itemIds = new ArrayList<Long>(_list248.size);
70439
                for (int _i245 = 0; _i245 < _list244.size; ++_i245)
71416
                for (int _i249 = 0; _i249 < _list248.size; ++_i249)
70440
                {
71417
                {
70441
                  long _elem246; // required
71418
                  long _elem250; // required
70442
                  _elem246 = iprot.readI64();
71419
                  _elem250 = iprot.readI64();
70443
                  this.itemIds.add(_elem246);
71420
                  this.itemIds.add(_elem250);
70444
                }
71421
                }
70445
                iprot.readListEnd();
71422
                iprot.readListEnd();
70446
              }
71423
              }
70447
            } else { 
71424
            } else { 
70448
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
71425
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 70463... Line 71440...
70463
      oprot.writeStructBegin(STRUCT_DESC);
71440
      oprot.writeStructBegin(STRUCT_DESC);
70464
      if (this.itemIds != null) {
71441
      if (this.itemIds != null) {
70465
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
71442
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
70466
        {
71443
        {
70467
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
71444
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
70468
          for (long _iter247 : this.itemIds)
71445
          for (long _iter251 : this.itemIds)
70469
          {
71446
          {
70470
            oprot.writeI64(_iter247);
71447
            oprot.writeI64(_iter251);
70471
          }
71448
          }
70472
          oprot.writeListEnd();
71449
          oprot.writeListEnd();
70473
        }
71450
        }
70474
        oprot.writeFieldEnd();
71451
        oprot.writeFieldEnd();
70475
      }
71452
      }
Line 70763... Line 71740...
70763
        }
71740
        }
70764
        switch (field.id) {
71741
        switch (field.id) {
70765
          case 0: // SUCCESS
71742
          case 0: // SUCCESS
70766
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71743
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
70767
              {
71744
              {
70768
                org.apache.thrift.protocol.TList _list248 = iprot.readListBegin();
71745
                org.apache.thrift.protocol.TList _list252 = iprot.readListBegin();
70769
                this.success = new ArrayList<Order>(_list248.size);
71746
                this.success = new ArrayList<Order>(_list252.size);
70770
                for (int _i249 = 0; _i249 < _list248.size; ++_i249)
71747
                for (int _i253 = 0; _i253 < _list252.size; ++_i253)
70771
                {
71748
                {
70772
                  Order _elem250; // required
71749
                  Order _elem254; // required
70773
                  _elem250 = new Order();
71750
                  _elem254 = new Order();
70774
                  _elem250.read(iprot);
71751
                  _elem254.read(iprot);
70775
                  this.success.add(_elem250);
71752
                  this.success.add(_elem254);
70776
                }
71753
                }
70777
                iprot.readListEnd();
71754
                iprot.readListEnd();
70778
              }
71755
              }
70779
            } else { 
71756
            } else { 
70780
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
71757
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 70794... Line 71771...
70794
 
71771
 
70795
      if (this.isSetSuccess()) {
71772
      if (this.isSetSuccess()) {
70796
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71773
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70797
        {
71774
        {
70798
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
71775
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
70799
          for (Order _iter251 : this.success)
71776
          for (Order _iter255 : this.success)
70800
          {
71777
          {
70801
            _iter251.write(oprot);
71778
            _iter255.write(oprot);
70802
          }
71779
          }
70803
          oprot.writeListEnd();
71780
          oprot.writeListEnd();
70804
        }
71781
        }
70805
        oprot.writeFieldEnd();
71782
        oprot.writeFieldEnd();
70806
      }
71783
      }
Line 78752... Line 79729...
78752
        }
79729
        }
78753
        switch (field.id) {
79730
        switch (field.id) {
78754
          case 0: // SUCCESS
79731
          case 0: // SUCCESS
78755
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
79732
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
78756
              {
79733
              {
78757
                org.apache.thrift.protocol.TMap _map252 = iprot.readMapBegin();
79734
                org.apache.thrift.protocol.TMap _map256 = iprot.readMapBegin();
78758
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map252.size);
79735
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map256.size);
78759
                for (int _i253 = 0; _i253 < _map252.size; ++_i253)
79736
                for (int _i257 = 0; _i257 < _map256.size; ++_i257)
78760
                {
79737
                {
78761
                  int _key254; // required
79738
                  int _key258; // required
78762
                  TimeoutSummary _val255; // required
79739
                  TimeoutSummary _val259; // required
78763
                  _key254 = iprot.readI32();
79740
                  _key258 = iprot.readI32();
78764
                  _val255 = new TimeoutSummary();
79741
                  _val259 = new TimeoutSummary();
78765
                  _val255.read(iprot);
79742
                  _val259.read(iprot);
78766
                  this.success.put(_key254, _val255);
79743
                  this.success.put(_key258, _val259);
78767
                }
79744
                }
78768
                iprot.readMapEnd();
79745
                iprot.readMapEnd();
78769
              }
79746
              }
78770
            } else { 
79747
            } else { 
78771
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
79748
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 78793... Line 79770...
78793
 
79770
 
78794
      if (this.isSetSuccess()) {
79771
      if (this.isSetSuccess()) {
78795
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79772
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
78796
        {
79773
        {
78797
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79774
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
78798
          for (Map.Entry<Integer, TimeoutSummary> _iter256 : this.success.entrySet())
79775
          for (Map.Entry<Integer, TimeoutSummary> _iter260 : this.success.entrySet())
78799
          {
79776
          {
78800
            oprot.writeI32(_iter256.getKey());
79777
            oprot.writeI32(_iter260.getKey());
78801
            _iter256.getValue().write(oprot);
79778
            _iter260.getValue().write(oprot);
78802
          }
79779
          }
78803
          oprot.writeMapEnd();
79780
          oprot.writeMapEnd();
78804
        }
79781
        }
78805
        oprot.writeFieldEnd();
79782
        oprot.writeFieldEnd();
78806
      } else if (this.isSetEx()) {
79783
      } else if (this.isSetEx()) {
Line 80536... Line 81513...
80536
            }
81513
            }
80537
            break;
81514
            break;
80538
          case 2: // ORDER_STATUS_LIST
81515
          case 2: // ORDER_STATUS_LIST
80539
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
81516
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
80540
              {
81517
              {
80541
                org.apache.thrift.protocol.TList _list257 = iprot.readListBegin();
81518
                org.apache.thrift.protocol.TList _list261 = iprot.readListBegin();
80542
                this.order_status_list = new ArrayList<OrderStatus>(_list257.size);
81519
                this.order_status_list = new ArrayList<OrderStatus>(_list261.size);
80543
                for (int _i258 = 0; _i258 < _list257.size; ++_i258)
81520
                for (int _i262 = 0; _i262 < _list261.size; ++_i262)
80544
                {
81521
                {
80545
                  OrderStatus _elem259; // required
81522
                  OrderStatus _elem263; // required
80546
                  _elem259 = OrderStatus.findByValue(iprot.readI32());
81523
                  _elem263 = OrderStatus.findByValue(iprot.readI32());
80547
                  this.order_status_list.add(_elem259);
81524
                  this.order_status_list.add(_elem263);
80548
                }
81525
                }
80549
                iprot.readListEnd();
81526
                iprot.readListEnd();
80550
              }
81527
              }
80551
            } else { 
81528
            } else { 
80552
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
81529
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 80570... Line 81547...
80570
      oprot.writeFieldEnd();
81547
      oprot.writeFieldEnd();
80571
      if (this.order_status_list != null) {
81548
      if (this.order_status_list != null) {
80572
        oprot.writeFieldBegin(ORDER_STATUS_LIST_FIELD_DESC);
81549
        oprot.writeFieldBegin(ORDER_STATUS_LIST_FIELD_DESC);
80573
        {
81550
        {
80574
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.order_status_list.size()));
81551
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.order_status_list.size()));
80575
          for (OrderStatus _iter260 : this.order_status_list)
81552
          for (OrderStatus _iter264 : this.order_status_list)
80576
          {
81553
          {
80577
            oprot.writeI32(_iter260.getValue());
81554
            oprot.writeI32(_iter264.getValue());
80578
          }
81555
          }
80579
          oprot.writeListEnd();
81556
          oprot.writeListEnd();
80580
        }
81557
        }
80581
        oprot.writeFieldEnd();
81558
        oprot.writeFieldEnd();
80582
      }
81559
      }
Line 80944... Line 81921...
80944
        }
81921
        }
80945
        switch (field.id) {
81922
        switch (field.id) {
80946
          case 0: // SUCCESS
81923
          case 0: // SUCCESS
80947
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
81924
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
80948
              {
81925
              {
80949
                org.apache.thrift.protocol.TList _list261 = iprot.readListBegin();
81926
                org.apache.thrift.protocol.TList _list265 = iprot.readListBegin();
80950
                this.success = new ArrayList<Order>(_list261.size);
81927
                this.success = new ArrayList<Order>(_list265.size);
80951
                for (int _i262 = 0; _i262 < _list261.size; ++_i262)
81928
                for (int _i266 = 0; _i266 < _list265.size; ++_i266)
80952
                {
81929
                {
80953
                  Order _elem263; // required
81930
                  Order _elem267; // required
80954
                  _elem263 = new Order();
81931
                  _elem267 = new Order();
80955
                  _elem263.read(iprot);
81932
                  _elem267.read(iprot);
80956
                  this.success.add(_elem263);
81933
                  this.success.add(_elem267);
80957
                }
81934
                }
80958
                iprot.readListEnd();
81935
                iprot.readListEnd();
80959
              }
81936
              }
80960
            } else { 
81937
            } else { 
80961
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
81938
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 80983... Line 81960...
80983
 
81960
 
80984
      if (this.isSetSuccess()) {
81961
      if (this.isSetSuccess()) {
80985
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
81962
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
80986
        {
81963
        {
80987
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
81964
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
80988
          for (Order _iter264 : this.success)
81965
          for (Order _iter268 : this.success)
80989
          {
81966
          {
80990
            _iter264.write(oprot);
81967
            _iter268.write(oprot);
80991
          }
81968
          }
80992
          oprot.writeListEnd();
81969
          oprot.writeListEnd();
80993
        }
81970
        }
80994
        oprot.writeFieldEnd();
81971
        oprot.writeFieldEnd();
80995
      } else if (this.isSetEx()) {
81972
      } else if (this.isSetEx()) {
Line 81823... Line 82800...
81823
        }
82800
        }
81824
        switch (field.id) {
82801
        switch (field.id) {
81825
          case 0: // SUCCESS
82802
          case 0: // SUCCESS
81826
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
82803
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
81827
              {
82804
              {
81828
                org.apache.thrift.protocol.TList _list265 = iprot.readListBegin();
82805
                org.apache.thrift.protocol.TList _list269 = iprot.readListBegin();
81829
                this.success = new ArrayList<Order>(_list265.size);
82806
                this.success = new ArrayList<Order>(_list269.size);
81830
                for (int _i266 = 0; _i266 < _list265.size; ++_i266)
82807
                for (int _i270 = 0; _i270 < _list269.size; ++_i270)
81831
                {
82808
                {
81832
                  Order _elem267; // required
82809
                  Order _elem271; // required
81833
                  _elem267 = new Order();
82810
                  _elem271 = new Order();
81834
                  _elem267.read(iprot);
82811
                  _elem271.read(iprot);
81835
                  this.success.add(_elem267);
82812
                  this.success.add(_elem271);
81836
                }
82813
                }
81837
                iprot.readListEnd();
82814
                iprot.readListEnd();
81838
              }
82815
              }
81839
            } else { 
82816
            } else { 
81840
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
82817
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 81862... Line 82839...
81862
 
82839
 
81863
      if (this.isSetSuccess()) {
82840
      if (this.isSetSuccess()) {
81864
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
82841
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
81865
        {
82842
        {
81866
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
82843
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
81867
          for (Order _iter268 : this.success)
82844
          for (Order _iter272 : this.success)
81868
          {
82845
          {
81869
            _iter268.write(oprot);
82846
            _iter272.write(oprot);
81870
          }
82847
          }
81871
          oprot.writeListEnd();
82848
          oprot.writeListEnd();
81872
        }
82849
        }
81873
        oprot.writeFieldEnd();
82850
        oprot.writeFieldEnd();
81874
      } else if (this.isSetEx()) {
82851
      } else if (this.isSetEx()) {
Line 82442... Line 83419...
82442
        }
83419
        }
82443
        switch (field.id) {
83420
        switch (field.id) {
82444
          case 0: // SUCCESS
83421
          case 0: // SUCCESS
82445
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
83422
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
82446
              {
83423
              {
82447
                org.apache.thrift.protocol.TList _list269 = iprot.readListBegin();
83424
                org.apache.thrift.protocol.TList _list273 = iprot.readListBegin();
82448
                this.success = new ArrayList<Order>(_list269.size);
83425
                this.success = new ArrayList<Order>(_list273.size);
82449
                for (int _i270 = 0; _i270 < _list269.size; ++_i270)
83426
                for (int _i274 = 0; _i274 < _list273.size; ++_i274)
82450
                {
83427
                {
82451
                  Order _elem271; // required
83428
                  Order _elem275; // required
82452
                  _elem271 = new Order();
83429
                  _elem275 = new Order();
82453
                  _elem271.read(iprot);
83430
                  _elem275.read(iprot);
82454
                  this.success.add(_elem271);
83431
                  this.success.add(_elem275);
82455
                }
83432
                }
82456
                iprot.readListEnd();
83433
                iprot.readListEnd();
82457
              }
83434
              }
82458
            } else { 
83435
            } else { 
82459
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
83436
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 82481... Line 83458...
82481
 
83458
 
82482
      if (this.isSetSuccess()) {
83459
      if (this.isSetSuccess()) {
82483
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
83460
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
82484
        {
83461
        {
82485
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
83462
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
82486
          for (Order _iter272 : this.success)
83463
          for (Order _iter276 : this.success)
82487
          {
83464
          {
82488
            _iter272.write(oprot);
83465
            _iter276.write(oprot);
82489
          }
83466
          }
82490
          oprot.writeListEnd();
83467
          oprot.writeListEnd();
82491
        }
83468
        }
82492
        oprot.writeFieldEnd();
83469
        oprot.writeFieldEnd();
82493
      } else if (this.isSetEx()) {
83470
      } else if (this.isSetEx()) {
Line 83238... Line 84215...
83238
        }
84215
        }
83239
        switch (field.id) {
84216
        switch (field.id) {
83240
          case 0: // SUCCESS
84217
          case 0: // SUCCESS
83241
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
84218
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
83242
              {
84219
              {
83243
                org.apache.thrift.protocol.TList _list273 = iprot.readListBegin();
84220
                org.apache.thrift.protocol.TList _list277 = iprot.readListBegin();
83244
                this.success = new ArrayList<Order>(_list273.size);
84221
                this.success = new ArrayList<Order>(_list277.size);
83245
                for (int _i274 = 0; _i274 < _list273.size; ++_i274)
84222
                for (int _i278 = 0; _i278 < _list277.size; ++_i278)
83246
                {
84223
                {
83247
                  Order _elem275; // required
84224
                  Order _elem279; // required
83248
                  _elem275 = new Order();
84225
                  _elem279 = new Order();
83249
                  _elem275.read(iprot);
84226
                  _elem279.read(iprot);
83250
                  this.success.add(_elem275);
84227
                  this.success.add(_elem279);
83251
                }
84228
                }
83252
                iprot.readListEnd();
84229
                iprot.readListEnd();
83253
              }
84230
              }
83254
            } else { 
84231
            } else { 
83255
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
84232
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 83277... Line 84254...
83277
 
84254
 
83278
      if (this.isSetSuccess()) {
84255
      if (this.isSetSuccess()) {
83279
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
84256
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
83280
        {
84257
        {
83281
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
84258
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
83282
          for (Order _iter276 : this.success)
84259
          for (Order _iter280 : this.success)
83283
          {
84260
          {
83284
            _iter276.write(oprot);
84261
            _iter280.write(oprot);
83285
          }
84262
          }
83286
          oprot.writeListEnd();
84263
          oprot.writeListEnd();
83287
        }
84264
        }
83288
        oprot.writeFieldEnd();
84265
        oprot.writeFieldEnd();
83289
      } else if (this.isSetEx()) {
84266
      } else if (this.isSetEx()) {
Line 83594... Line 84571...
83594
        }
84571
        }
83595
        switch (field.id) {
84572
        switch (field.id) {
83596
          case 1: // MAP_AWBAND_AMOUNT
84573
          case 1: // MAP_AWBAND_AMOUNT
83597
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
84574
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
83598
              {
84575
              {
83599
                org.apache.thrift.protocol.TMap _map277 = iprot.readMapBegin();
84576
                org.apache.thrift.protocol.TMap _map281 = iprot.readMapBegin();
83600
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map277.size);
84577
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map281.size);
83601
                for (int _i278 = 0; _i278 < _map277.size; ++_i278)
84578
                for (int _i282 = 0; _i282 < _map281.size; ++_i282)
83602
                {
84579
                {
83603
                  long _key279; // required
84580
                  long _key283; // required
83604
                  double _val280; // required
84581
                  double _val284; // required
83605
                  _key279 = iprot.readI64();
84582
                  _key283 = iprot.readI64();
83606
                  _val280 = iprot.readDouble();
84583
                  _val284 = iprot.readDouble();
83607
                  this.mapAWBAndAmount.put(_key279, _val280);
84584
                  this.mapAWBAndAmount.put(_key283, _val284);
83608
                }
84585
                }
83609
                iprot.readMapEnd();
84586
                iprot.readMapEnd();
83610
              }
84587
              }
83611
            } else { 
84588
            } else { 
83612
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
84589
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 83627... Line 84604...
83627
      oprot.writeStructBegin(STRUCT_DESC);
84604
      oprot.writeStructBegin(STRUCT_DESC);
83628
      if (this.mapAWBAndAmount != null) {
84605
      if (this.mapAWBAndAmount != null) {
83629
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
84606
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
83630
        {
84607
        {
83631
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
84608
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
83632
          for (Map.Entry<Long, Double> _iter281 : this.mapAWBAndAmount.entrySet())
84609
          for (Map.Entry<Long, Double> _iter285 : this.mapAWBAndAmount.entrySet())
83633
          {
84610
          {
83634
            oprot.writeI64(_iter281.getKey());
84611
            oprot.writeI64(_iter285.getKey());
83635
            oprot.writeDouble(_iter281.getValue());
84612
            oprot.writeDouble(_iter285.getValue());
83636
          }
84613
          }
83637
          oprot.writeMapEnd();
84614
          oprot.writeMapEnd();
83638
        }
84615
        }
83639
        oprot.writeFieldEnd();
84616
        oprot.writeFieldEnd();
83640
      }
84617
      }
Line 87936... Line 88913...
87936
        }
88913
        }
87937
        switch (field.id) {
88914
        switch (field.id) {
87938
          case 0: // SUCCESS
88915
          case 0: // SUCCESS
87939
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
88916
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
87940
              {
88917
              {
87941
                org.apache.thrift.protocol.TMap _map282 = iprot.readMapBegin();
88918
                org.apache.thrift.protocol.TMap _map286 = iprot.readMapBegin();
87942
                this.success = new HashMap<Long,String>(2*_map282.size);
88919
                this.success = new HashMap<Long,String>(2*_map286.size);
87943
                for (int _i283 = 0; _i283 < _map282.size; ++_i283)
88920
                for (int _i287 = 0; _i287 < _map286.size; ++_i287)
87944
                {
88921
                {
87945
                  long _key284; // required
88922
                  long _key288; // required
87946
                  String _val285; // required
88923
                  String _val289; // required
87947
                  _key284 = iprot.readI64();
88924
                  _key288 = iprot.readI64();
87948
                  _val285 = iprot.readString();
88925
                  _val289 = iprot.readString();
87949
                  this.success.put(_key284, _val285);
88926
                  this.success.put(_key288, _val289);
87950
                }
88927
                }
87951
                iprot.readMapEnd();
88928
                iprot.readMapEnd();
87952
              }
88929
              }
87953
            } else { 
88930
            } else { 
87954
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
88931
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 87976... Line 88953...
87976
 
88953
 
87977
      if (this.isSetSuccess()) {
88954
      if (this.isSetSuccess()) {
87978
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
88955
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
87979
        {
88956
        {
87980
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
88957
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
87981
          for (Map.Entry<Long, String> _iter286 : this.success.entrySet())
88958
          for (Map.Entry<Long, String> _iter290 : this.success.entrySet())
87982
          {
88959
          {
87983
            oprot.writeI64(_iter286.getKey());
88960
            oprot.writeI64(_iter290.getKey());
87984
            oprot.writeString(_iter286.getValue());
88961
            oprot.writeString(_iter290.getValue());
87985
          }
88962
          }
87986
          oprot.writeMapEnd();
88963
          oprot.writeMapEnd();
87987
        }
88964
        }
87988
        oprot.writeFieldEnd();
88965
        oprot.writeFieldEnd();
87989
      } else if (this.isSetEx()) {
88966
      } else if (this.isSetEx()) {
Line 90080... Line 91057...
90080
        }
91057
        }
90081
        switch (field.id) {
91058
        switch (field.id) {
90082
          case 0: // SUCCESS
91059
          case 0: // SUCCESS
90083
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
91060
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
90084
              {
91061
              {
90085
                org.apache.thrift.protocol.TList _list287 = iprot.readListBegin();
91062
                org.apache.thrift.protocol.TList _list291 = iprot.readListBegin();
90086
                this.success = new ArrayList<PaymentSettlement>(_list287.size);
91063
                this.success = new ArrayList<PaymentSettlement>(_list291.size);
90087
                for (int _i288 = 0; _i288 < _list287.size; ++_i288)
91064
                for (int _i292 = 0; _i292 < _list291.size; ++_i292)
90088
                {
91065
                {
90089
                  PaymentSettlement _elem289; // required
91066
                  PaymentSettlement _elem293; // required
90090
                  _elem289 = new PaymentSettlement();
91067
                  _elem293 = new PaymentSettlement();
90091
                  _elem289.read(iprot);
91068
                  _elem293.read(iprot);
90092
                  this.success.add(_elem289);
91069
                  this.success.add(_elem293);
90093
                }
91070
                }
90094
                iprot.readListEnd();
91071
                iprot.readListEnd();
90095
              }
91072
              }
90096
            } else { 
91073
            } else { 
90097
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
91074
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 90119... Line 91096...
90119
 
91096
 
90120
      if (this.isSetSuccess()) {
91097
      if (this.isSetSuccess()) {
90121
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
91098
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
90122
        {
91099
        {
90123
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
91100
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
90124
          for (PaymentSettlement _iter290 : this.success)
91101
          for (PaymentSettlement _iter294 : this.success)
90125
          {
91102
          {
90126
            _iter290.write(oprot);
91103
            _iter294.write(oprot);
90127
          }
91104
          }
90128
          oprot.writeListEnd();
91105
          oprot.writeListEnd();
90129
        }
91106
        }
90130
        oprot.writeFieldEnd();
91107
        oprot.writeFieldEnd();
90131
      } else if (this.isSetEx()) {
91108
      } else if (this.isSetEx()) {
Line 90431... Line 91408...
90431
        }
91408
        }
90432
        switch (field.id) {
91409
        switch (field.id) {
90433
          case 1: // ORDER_IDS
91410
          case 1: // ORDER_IDS
90434
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
91411
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
90435
              {
91412
              {
90436
                org.apache.thrift.protocol.TList _list291 = iprot.readListBegin();
91413
                org.apache.thrift.protocol.TList _list295 = iprot.readListBegin();
90437
                this.orderIds = new ArrayList<Long>(_list291.size);
91414
                this.orderIds = new ArrayList<Long>(_list295.size);
90438
                for (int _i292 = 0; _i292 < _list291.size; ++_i292)
91415
                for (int _i296 = 0; _i296 < _list295.size; ++_i296)
90439
                {
91416
                {
90440
                  long _elem293; // required
91417
                  long _elem297; // required
90441
                  _elem293 = iprot.readI64();
91418
                  _elem297 = iprot.readI64();
90442
                  this.orderIds.add(_elem293);
91419
                  this.orderIds.add(_elem297);
90443
                }
91420
                }
90444
                iprot.readListEnd();
91421
                iprot.readListEnd();
90445
              }
91422
              }
90446
            } else { 
91423
            } else { 
90447
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
91424
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 90462... Line 91439...
90462
      oprot.writeStructBegin(STRUCT_DESC);
91439
      oprot.writeStructBegin(STRUCT_DESC);
90463
      if (this.orderIds != null) {
91440
      if (this.orderIds != null) {
90464
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
91441
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
90465
        {
91442
        {
90466
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
91443
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
90467
          for (long _iter294 : this.orderIds)
91444
          for (long _iter298 : this.orderIds)
90468
          {
91445
          {
90469
            oprot.writeI64(_iter294);
91446
            oprot.writeI64(_iter298);
90470
          }
91447
          }
90471
          oprot.writeListEnd();
91448
          oprot.writeListEnd();
90472
        }
91449
        }
90473
        oprot.writeFieldEnd();
91450
        oprot.writeFieldEnd();
90474
      }
91451
      }
Line 90830... Line 91807...
90830
        }
91807
        }
90831
        switch (field.id) {
91808
        switch (field.id) {
90832
          case 0: // SUCCESS
91809
          case 0: // SUCCESS
90833
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
91810
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
90834
              {
91811
              {
90835
                org.apache.thrift.protocol.TList _list295 = iprot.readListBegin();
91812
                org.apache.thrift.protocol.TList _list299 = iprot.readListBegin();
90836
                this.success = new ArrayList<Long>(_list295.size);
91813
                this.success = new ArrayList<Long>(_list299.size);
90837
                for (int _i296 = 0; _i296 < _list295.size; ++_i296)
91814
                for (int _i300 = 0; _i300 < _list299.size; ++_i300)
90838
                {
91815
                {
90839
                  long _elem297; // required
91816
                  long _elem301; // required
90840
                  _elem297 = iprot.readI64();
91817
                  _elem301 = iprot.readI64();
90841
                  this.success.add(_elem297);
91818
                  this.success.add(_elem301);
90842
                }
91819
                }
90843
                iprot.readListEnd();
91820
                iprot.readListEnd();
90844
              }
91821
              }
90845
            } else { 
91822
            } else { 
90846
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
91823
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 90868... Line 91845...
90868
 
91845
 
90869
      if (this.isSetSuccess()) {
91846
      if (this.isSetSuccess()) {
90870
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
91847
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
90871
        {
91848
        {
90872
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
91849
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
90873
          for (long _iter298 : this.success)
91850
          for (long _iter302 : this.success)
90874
          {
91851
          {
90875
            oprot.writeI64(_iter298);
91852
            oprot.writeI64(_iter302);
90876
          }
91853
          }
90877
          oprot.writeListEnd();
91854
          oprot.writeListEnd();
90878
        }
91855
        }
90879
        oprot.writeFieldEnd();
91856
        oprot.writeFieldEnd();
90880
      } else if (this.isSetEx()) {
91857
      } else if (this.isSetEx()) {
Line 91791... Line 92768...
91791
        }
92768
        }
91792
        switch (field.id) {
92769
        switch (field.id) {
91793
          case 0: // SUCCESS
92770
          case 0: // SUCCESS
91794
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
92771
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
91795
              {
92772
              {
91796
                org.apache.thrift.protocol.TList _list299 = iprot.readListBegin();
92773
                org.apache.thrift.protocol.TList _list303 = iprot.readListBegin();
91797
                this.success = new ArrayList<Order>(_list299.size);
92774
                this.success = new ArrayList<Order>(_list303.size);
91798
                for (int _i300 = 0; _i300 < _list299.size; ++_i300)
92775
                for (int _i304 = 0; _i304 < _list303.size; ++_i304)
91799
                {
92776
                {
91800
                  Order _elem301; // required
92777
                  Order _elem305; // required
91801
                  _elem301 = new Order();
92778
                  _elem305 = new Order();
91802
                  _elem301.read(iprot);
92779
                  _elem305.read(iprot);
91803
                  this.success.add(_elem301);
92780
                  this.success.add(_elem305);
91804
                }
92781
                }
91805
                iprot.readListEnd();
92782
                iprot.readListEnd();
91806
              }
92783
              }
91807
            } else { 
92784
            } else { 
91808
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
92785
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 91830... Line 92807...
91830
 
92807
 
91831
      if (this.isSetSuccess()) {
92808
      if (this.isSetSuccess()) {
91832
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
92809
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
91833
        {
92810
        {
91834
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
92811
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
91835
          for (Order _iter302 : this.success)
92812
          for (Order _iter306 : this.success)
91836
          {
92813
          {
91837
            _iter302.write(oprot);
92814
            _iter306.write(oprot);
91838
          }
92815
          }
91839
          oprot.writeListEnd();
92816
          oprot.writeListEnd();
91840
        }
92817
        }
91841
        oprot.writeFieldEnd();
92818
        oprot.writeFieldEnd();
91842
      } else if (this.isSetEx()) {
92819
      } else if (this.isSetEx()) {
Line 92592... Line 93569...
92592
        }
93569
        }
92593
        switch (field.id) {
93570
        switch (field.id) {
92594
          case 0: // SUCCESS
93571
          case 0: // SUCCESS
92595
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
93572
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
92596
              {
93573
              {
92597
                org.apache.thrift.protocol.TMap _map303 = iprot.readMapBegin();
93574
                org.apache.thrift.protocol.TMap _map307 = iprot.readMapBegin();
92598
                this.success = new HashMap<Long,Long>(2*_map303.size);
93575
                this.success = new HashMap<Long,Long>(2*_map307.size);
92599
                for (int _i304 = 0; _i304 < _map303.size; ++_i304)
93576
                for (int _i308 = 0; _i308 < _map307.size; ++_i308)
92600
                {
93577
                {
92601
                  long _key305; // required
93578
                  long _key309; // required
92602
                  long _val306; // required
93579
                  long _val310; // required
92603
                  _key305 = iprot.readI64();
93580
                  _key309 = iprot.readI64();
92604
                  _val306 = iprot.readI64();
93581
                  _val310 = iprot.readI64();
92605
                  this.success.put(_key305, _val306);
93582
                  this.success.put(_key309, _val310);
92606
                }
93583
                }
92607
                iprot.readMapEnd();
93584
                iprot.readMapEnd();
92608
              }
93585
              }
92609
            } else { 
93586
            } else { 
92610
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
93587
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 92632... Line 93609...
92632
 
93609
 
92633
      if (this.isSetSuccess()) {
93610
      if (this.isSetSuccess()) {
92634
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
93611
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
92635
        {
93612
        {
92636
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
93613
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
92637
          for (Map.Entry<Long, Long> _iter307 : this.success.entrySet())
93614
          for (Map.Entry<Long, Long> _iter311 : this.success.entrySet())
92638
          {
93615
          {
92639
            oprot.writeI64(_iter307.getKey());
93616
            oprot.writeI64(_iter311.getKey());
92640
            oprot.writeI64(_iter307.getValue());
93617
            oprot.writeI64(_iter311.getValue());
92641
          }
93618
          }
92642
          oprot.writeMapEnd();
93619
          oprot.writeMapEnd();
92643
        }
93620
        }
92644
        oprot.writeFieldEnd();
93621
        oprot.writeFieldEnd();
92645
      } else if (this.isSetEx()) {
93622
      } else if (this.isSetEx()) {
Line 93473... Line 94450...
93473
        }
94450
        }
93474
        switch (field.id) {
94451
        switch (field.id) {
93475
          case 0: // SUCCESS
94452
          case 0: // SUCCESS
93476
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
94453
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
93477
              {
94454
              {
93478
                org.apache.thrift.protocol.TList _list308 = iprot.readListBegin();
94455
                org.apache.thrift.protocol.TList _list312 = iprot.readListBegin();
93479
                this.success = new ArrayList<Long>(_list308.size);
94456
                this.success = new ArrayList<Long>(_list312.size);
93480
                for (int _i309 = 0; _i309 < _list308.size; ++_i309)
94457
                for (int _i313 = 0; _i313 < _list312.size; ++_i313)
93481
                {
94458
                {
93482
                  long _elem310; // required
94459
                  long _elem314; // required
93483
                  _elem310 = iprot.readI64();
94460
                  _elem314 = iprot.readI64();
93484
                  this.success.add(_elem310);
94461
                  this.success.add(_elem314);
93485
                }
94462
                }
93486
                iprot.readListEnd();
94463
                iprot.readListEnd();
93487
              }
94464
              }
93488
            } else { 
94465
            } else { 
93489
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
94466
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 93511... Line 94488...
93511
 
94488
 
93512
      if (this.isSetSuccess()) {
94489
      if (this.isSetSuccess()) {
93513
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
94490
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
93514
        {
94491
        {
93515
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
94492
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
93516
          for (long _iter311 : this.success)
94493
          for (long _iter315 : this.success)
93517
          {
94494
          {
93518
            oprot.writeI64(_iter311);
94495
            oprot.writeI64(_iter315);
93519
          }
94496
          }
93520
          oprot.writeListEnd();
94497
          oprot.writeListEnd();
93521
        }
94498
        }
93522
        oprot.writeFieldEnd();
94499
        oprot.writeFieldEnd();
93523
      } else if (this.isSetEx()) {
94500
      } else if (this.isSetEx()) {
Line 95943... Line 96920...
95943
        }
96920
        }
95944
        switch (field.id) {
96921
        switch (field.id) {
95945
          case 0: // SUCCESS
96922
          case 0: // SUCCESS
95946
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
96923
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
95947
              {
96924
              {
95948
                org.apache.thrift.protocol.TList _list312 = iprot.readListBegin();
96925
                org.apache.thrift.protocol.TList _list316 = iprot.readListBegin();
95949
                this.success = new ArrayList<Order>(_list312.size);
96926
                this.success = new ArrayList<Order>(_list316.size);
95950
                for (int _i313 = 0; _i313 < _list312.size; ++_i313)
96927
                for (int _i317 = 0; _i317 < _list316.size; ++_i317)
95951
                {
96928
                {
95952
                  Order _elem314; // required
96929
                  Order _elem318; // required
95953
                  _elem314 = new Order();
96930
                  _elem318 = new Order();
95954
                  _elem314.read(iprot);
96931
                  _elem318.read(iprot);
95955
                  this.success.add(_elem314);
96932
                  this.success.add(_elem318);
95956
                }
96933
                }
95957
                iprot.readListEnd();
96934
                iprot.readListEnd();
95958
              }
96935
              }
95959
            } else { 
96936
            } else { 
95960
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
96937
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 95982... Line 96959...
95982
 
96959
 
95983
      if (this.isSetSuccess()) {
96960
      if (this.isSetSuccess()) {
95984
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
96961
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
95985
        {
96962
        {
95986
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
96963
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
95987
          for (Order _iter315 : this.success)
96964
          for (Order _iter319 : this.success)
95988
          {
96965
          {
95989
            _iter315.write(oprot);
96966
            _iter319.write(oprot);
95990
          }
96967
          }
95991
          oprot.writeListEnd();
96968
          oprot.writeListEnd();
95992
        }
96969
        }
95993
        oprot.writeFieldEnd();
96970
        oprot.writeFieldEnd();
95994
      } else if (this.isSetEx()) {
96971
      } else if (this.isSetEx()) {
Line 96671... Line 97648...
96671
        }
97648
        }
96672
        switch (field.id) {
97649
        switch (field.id) {
96673
          case 0: // SUCCESS
97650
          case 0: // SUCCESS
96674
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
97651
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
96675
              {
97652
              {
96676
                org.apache.thrift.protocol.TList _list316 = iprot.readListBegin();
97653
                org.apache.thrift.protocol.TList _list320 = iprot.readListBegin();
96677
                this.success = new ArrayList<CODVerificationAgent>(_list316.size);
97654
                this.success = new ArrayList<CODVerificationAgent>(_list320.size);
96678
                for (int _i317 = 0; _i317 < _list316.size; ++_i317)
97655
                for (int _i321 = 0; _i321 < _list320.size; ++_i321)
96679
                {
97656
                {
96680
                  CODVerificationAgent _elem318; // required
97657
                  CODVerificationAgent _elem322; // required
96681
                  _elem318 = new CODVerificationAgent();
97658
                  _elem322 = new CODVerificationAgent();
96682
                  _elem318.read(iprot);
97659
                  _elem322.read(iprot);
96683
                  this.success.add(_elem318);
97660
                  this.success.add(_elem322);
96684
                }
97661
                }
96685
                iprot.readListEnd();
97662
                iprot.readListEnd();
96686
              }
97663
              }
96687
            } else { 
97664
            } else { 
96688
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
97665
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 96702... Line 97679...
96702
 
97679
 
96703
      if (this.isSetSuccess()) {
97680
      if (this.isSetSuccess()) {
96704
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
97681
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
96705
        {
97682
        {
96706
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
97683
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
96707
          for (CODVerificationAgent _iter319 : this.success)
97684
          for (CODVerificationAgent _iter323 : this.success)
96708
          {
97685
          {
96709
            _iter319.write(oprot);
97686
            _iter323.write(oprot);
96710
          }
97687
          }
96711
          oprot.writeListEnd();
97688
          oprot.writeListEnd();
96712
        }
97689
        }
96713
        oprot.writeFieldEnd();
97690
        oprot.writeFieldEnd();
96714
      }
97691
      }
Line 97296... Line 98273...
97296
        }
98273
        }
97297
        switch (field.id) {
98274
        switch (field.id) {
97298
          case 0: // SUCCESS
98275
          case 0: // SUCCESS
97299
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
98276
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
97300
              {
98277
              {
97301
                org.apache.thrift.protocol.TList _list320 = iprot.readListBegin();
98278
                org.apache.thrift.protocol.TList _list324 = iprot.readListBegin();
97302
                this.success = new ArrayList<Attribute>(_list320.size);
98279
                this.success = new ArrayList<Attribute>(_list324.size);
97303
                for (int _i321 = 0; _i321 < _list320.size; ++_i321)
98280
                for (int _i325 = 0; _i325 < _list324.size; ++_i325)
97304
                {
98281
                {
97305
                  Attribute _elem322; // required
98282
                  Attribute _elem326; // required
97306
                  _elem322 = new Attribute();
98283
                  _elem326 = new Attribute();
97307
                  _elem322.read(iprot);
98284
                  _elem326.read(iprot);
97308
                  this.success.add(_elem322);
98285
                  this.success.add(_elem326);
97309
                }
98286
                }
97310
                iprot.readListEnd();
98287
                iprot.readListEnd();
97311
              }
98288
              }
97312
            } else { 
98289
            } else { 
97313
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
98290
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 97327... Line 98304...
97327
 
98304
 
97328
      if (this.isSetSuccess()) {
98305
      if (this.isSetSuccess()) {
97329
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
98306
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
97330
        {
98307
        {
97331
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
98308
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
97332
          for (Attribute _iter323 : this.success)
98309
          for (Attribute _iter327 : this.success)
97333
          {
98310
          {
97334
            _iter323.write(oprot);
98311
            _iter327.write(oprot);
97335
          }
98312
          }
97336
          oprot.writeListEnd();
98313
          oprot.writeListEnd();
97337
        }
98314
        }
97338
        oprot.writeFieldEnd();
98315
        oprot.writeFieldEnd();
97339
      }
98316
      }
Line 97377... Line 98354...
97377
      }
98354
      }
97378
    }
98355
    }
97379
 
98356
 
97380
  }
98357
  }
97381
 
98358
 
-
 
98359
  public static class setOrderAttributes_args implements org.apache.thrift.TBase<setOrderAttributes_args, setOrderAttributes_args._Fields>, java.io.Serializable, Cloneable   {
-
 
98360
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("setOrderAttributes_args");
-
 
98361
 
-
 
98362
    private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
98363
    private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.LIST, (short)-1);
-
 
98364
 
-
 
98365
    private long orderId; // required
-
 
98366
    private List<Attribute> attributes; // required
-
 
98367
 
-
 
98368
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
98369
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
98370
      ORDER_ID((short)1, "orderId"),
-
 
98371
      ATTRIBUTES((short)-1, "attributes");
-
 
98372
 
-
 
98373
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
98374
 
-
 
98375
      static {
-
 
98376
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
98377
          byName.put(field.getFieldName(), field);
-
 
98378
        }
-
 
98379
      }
-
 
98380
 
-
 
98381
      /**
-
 
98382
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
98383
       */
-
 
98384
      public static _Fields findByThriftId(int fieldId) {
-
 
98385
        switch(fieldId) {
-
 
98386
          case 1: // ORDER_ID
-
 
98387
            return ORDER_ID;
-
 
98388
          case -1: // ATTRIBUTES
-
 
98389
            return ATTRIBUTES;
-
 
98390
          default:
-
 
98391
            return null;
-
 
98392
        }
-
 
98393
      }
-
 
98394
 
-
 
98395
      /**
-
 
98396
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
98397
       * if it is not found.
-
 
98398
       */
-
 
98399
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
98400
        _Fields fields = findByThriftId(fieldId);
-
 
98401
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
98402
        return fields;
-
 
98403
      }
-
 
98404
 
-
 
98405
      /**
-
 
98406
       * Find the _Fields constant that matches name, or null if its not found.
-
 
98407
       */
-
 
98408
      public static _Fields findByName(String name) {
-
 
98409
        return byName.get(name);
-
 
98410
      }
-
 
98411
 
-
 
98412
      private final short _thriftId;
-
 
98413
      private final String _fieldName;
-
 
98414
 
-
 
98415
      _Fields(short thriftId, String fieldName) {
-
 
98416
        _thriftId = thriftId;
-
 
98417
        _fieldName = fieldName;
-
 
98418
      }
-
 
98419
 
-
 
98420
      public short getThriftFieldId() {
-
 
98421
        return _thriftId;
-
 
98422
      }
-
 
98423
 
-
 
98424
      public String getFieldName() {
-
 
98425
        return _fieldName;
-
 
98426
      }
-
 
98427
    }
-
 
98428
 
-
 
98429
    // isset id assignments
-
 
98430
    private static final int __ORDERID_ISSET_ID = 0;
-
 
98431
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
98432
 
-
 
98433
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
98434
    static {
-
 
98435
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
98436
      tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
98437
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
98438
      tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
98439
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
98440
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Attribute.class))));
-
 
98441
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
98442
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(setOrderAttributes_args.class, metaDataMap);
-
 
98443
    }
-
 
98444
 
-
 
98445
    public setOrderAttributes_args() {
-
 
98446
    }
-
 
98447
 
-
 
98448
    public setOrderAttributes_args(
-
 
98449
      long orderId,
-
 
98450
      List<Attribute> attributes)
-
 
98451
    {
-
 
98452
      this();
-
 
98453
      this.orderId = orderId;
-
 
98454
      setOrderIdIsSet(true);
-
 
98455
      this.attributes = attributes;
-
 
98456
    }
-
 
98457
 
-
 
98458
    /**
-
 
98459
     * Performs a deep copy on <i>other</i>.
-
 
98460
     */
-
 
98461
    public setOrderAttributes_args(setOrderAttributes_args other) {
-
 
98462
      __isset_bit_vector.clear();
-
 
98463
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
98464
      this.orderId = other.orderId;
-
 
98465
      if (other.isSetAttributes()) {
-
 
98466
        List<Attribute> __this__attributes = new ArrayList<Attribute>();
-
 
98467
        for (Attribute other_element : other.attributes) {
-
 
98468
          __this__attributes.add(new Attribute(other_element));
-
 
98469
        }
-
 
98470
        this.attributes = __this__attributes;
-
 
98471
      }
-
 
98472
    }
-
 
98473
 
-
 
98474
    public setOrderAttributes_args deepCopy() {
-
 
98475
      return new setOrderAttributes_args(this);
-
 
98476
    }
-
 
98477
 
-
 
98478
    @Override
-
 
98479
    public void clear() {
-
 
98480
      setOrderIdIsSet(false);
-
 
98481
      this.orderId = 0;
-
 
98482
      this.attributes = null;
-
 
98483
    }
-
 
98484
 
-
 
98485
    public long getOrderId() {
-
 
98486
      return this.orderId;
-
 
98487
    }
-
 
98488
 
-
 
98489
    public void setOrderId(long orderId) {
-
 
98490
      this.orderId = orderId;
-
 
98491
      setOrderIdIsSet(true);
-
 
98492
    }
-
 
98493
 
-
 
98494
    public void unsetOrderId() {
-
 
98495
      __isset_bit_vector.clear(__ORDERID_ISSET_ID);
-
 
98496
    }
-
 
98497
 
-
 
98498
    /** Returns true if field orderId is set (has been assigned a value) and false otherwise */
-
 
98499
    public boolean isSetOrderId() {
-
 
98500
      return __isset_bit_vector.get(__ORDERID_ISSET_ID);
-
 
98501
    }
-
 
98502
 
-
 
98503
    public void setOrderIdIsSet(boolean value) {
-
 
98504
      __isset_bit_vector.set(__ORDERID_ISSET_ID, value);
-
 
98505
    }
-
 
98506
 
-
 
98507
    public int getAttributesSize() {
-
 
98508
      return (this.attributes == null) ? 0 : this.attributes.size();
-
 
98509
    }
-
 
98510
 
-
 
98511
    public java.util.Iterator<Attribute> getAttributesIterator() {
-
 
98512
      return (this.attributes == null) ? null : this.attributes.iterator();
-
 
98513
    }
-
 
98514
 
-
 
98515
    public void addToAttributes(Attribute elem) {
-
 
98516
      if (this.attributes == null) {
-
 
98517
        this.attributes = new ArrayList<Attribute>();
-
 
98518
      }
-
 
98519
      this.attributes.add(elem);
-
 
98520
    }
-
 
98521
 
-
 
98522
    public List<Attribute> getAttributes() {
-
 
98523
      return this.attributes;
-
 
98524
    }
-
 
98525
 
-
 
98526
    public void setAttributes(List<Attribute> attributes) {
-
 
98527
      this.attributes = attributes;
-
 
98528
    }
-
 
98529
 
-
 
98530
    public void unsetAttributes() {
-
 
98531
      this.attributes = null;
-
 
98532
    }
-
 
98533
 
-
 
98534
    /** Returns true if field attributes is set (has been assigned a value) and false otherwise */
-
 
98535
    public boolean isSetAttributes() {
-
 
98536
      return this.attributes != null;
-
 
98537
    }
-
 
98538
 
-
 
98539
    public void setAttributesIsSet(boolean value) {
-
 
98540
      if (!value) {
-
 
98541
        this.attributes = null;
-
 
98542
      }
-
 
98543
    }
-
 
98544
 
-
 
98545
    public void setFieldValue(_Fields field, Object value) {
-
 
98546
      switch (field) {
-
 
98547
      case ORDER_ID:
-
 
98548
        if (value == null) {
-
 
98549
          unsetOrderId();
-
 
98550
        } else {
-
 
98551
          setOrderId((Long)value);
-
 
98552
        }
-
 
98553
        break;
-
 
98554
 
-
 
98555
      case ATTRIBUTES:
-
 
98556
        if (value == null) {
-
 
98557
          unsetAttributes();
-
 
98558
        } else {
-
 
98559
          setAttributes((List<Attribute>)value);
-
 
98560
        }
-
 
98561
        break;
-
 
98562
 
-
 
98563
      }
-
 
98564
    }
-
 
98565
 
-
 
98566
    public Object getFieldValue(_Fields field) {
-
 
98567
      switch (field) {
-
 
98568
      case ORDER_ID:
-
 
98569
        return Long.valueOf(getOrderId());
-
 
98570
 
-
 
98571
      case ATTRIBUTES:
-
 
98572
        return getAttributes();
-
 
98573
 
-
 
98574
      }
-
 
98575
      throw new IllegalStateException();
-
 
98576
    }
-
 
98577
 
-
 
98578
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
98579
    public boolean isSet(_Fields field) {
-
 
98580
      if (field == null) {
-
 
98581
        throw new IllegalArgumentException();
-
 
98582
      }
-
 
98583
 
-
 
98584
      switch (field) {
-
 
98585
      case ORDER_ID:
-
 
98586
        return isSetOrderId();
-
 
98587
      case ATTRIBUTES:
-
 
98588
        return isSetAttributes();
-
 
98589
      }
-
 
98590
      throw new IllegalStateException();
-
 
98591
    }
-
 
98592
 
-
 
98593
    @Override
-
 
98594
    public boolean equals(Object that) {
-
 
98595
      if (that == null)
-
 
98596
        return false;
-
 
98597
      if (that instanceof setOrderAttributes_args)
-
 
98598
        return this.equals((setOrderAttributes_args)that);
-
 
98599
      return false;
-
 
98600
    }
-
 
98601
 
-
 
98602
    public boolean equals(setOrderAttributes_args that) {
-
 
98603
      if (that == null)
-
 
98604
        return false;
-
 
98605
 
-
 
98606
      boolean this_present_orderId = true;
-
 
98607
      boolean that_present_orderId = true;
-
 
98608
      if (this_present_orderId || that_present_orderId) {
-
 
98609
        if (!(this_present_orderId && that_present_orderId))
-
 
98610
          return false;
-
 
98611
        if (this.orderId != that.orderId)
-
 
98612
          return false;
-
 
98613
      }
-
 
98614
 
-
 
98615
      boolean this_present_attributes = true && this.isSetAttributes();
-
 
98616
      boolean that_present_attributes = true && that.isSetAttributes();
-
 
98617
      if (this_present_attributes || that_present_attributes) {
-
 
98618
        if (!(this_present_attributes && that_present_attributes))
-
 
98619
          return false;
-
 
98620
        if (!this.attributes.equals(that.attributes))
-
 
98621
          return false;
-
 
98622
      }
-
 
98623
 
-
 
98624
      return true;
-
 
98625
    }
-
 
98626
 
-
 
98627
    @Override
-
 
98628
    public int hashCode() {
-
 
98629
      return 0;
-
 
98630
    }
-
 
98631
 
-
 
98632
    public int compareTo(setOrderAttributes_args other) {
-
 
98633
      if (!getClass().equals(other.getClass())) {
-
 
98634
        return getClass().getName().compareTo(other.getClass().getName());
-
 
98635
      }
-
 
98636
 
-
 
98637
      int lastComparison = 0;
-
 
98638
      setOrderAttributes_args typedOther = (setOrderAttributes_args)other;
-
 
98639
 
-
 
98640
      lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
-
 
98641
      if (lastComparison != 0) {
-
 
98642
        return lastComparison;
-
 
98643
      }
-
 
98644
      if (isSetOrderId()) {
-
 
98645
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
-
 
98646
        if (lastComparison != 0) {
-
 
98647
          return lastComparison;
-
 
98648
        }
-
 
98649
      }
-
 
98650
      lastComparison = Boolean.valueOf(isSetAttributes()).compareTo(typedOther.isSetAttributes());
-
 
98651
      if (lastComparison != 0) {
-
 
98652
        return lastComparison;
-
 
98653
      }
-
 
98654
      if (isSetAttributes()) {
-
 
98655
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, typedOther.attributes);
-
 
98656
        if (lastComparison != 0) {
-
 
98657
          return lastComparison;
-
 
98658
        }
-
 
98659
      }
-
 
98660
      return 0;
-
 
98661
    }
-
 
98662
 
-
 
98663
    public _Fields fieldForId(int fieldId) {
-
 
98664
      return _Fields.findByThriftId(fieldId);
-
 
98665
    }
-
 
98666
 
-
 
98667
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
98668
      org.apache.thrift.protocol.TField field;
-
 
98669
      iprot.readStructBegin();
-
 
98670
      while (true)
-
 
98671
      {
-
 
98672
        field = iprot.readFieldBegin();
-
 
98673
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
98674
          break;
-
 
98675
        }
-
 
98676
        switch (field.id) {
-
 
98677
          case 1: // ORDER_ID
-
 
98678
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
98679
              this.orderId = iprot.readI64();
-
 
98680
              setOrderIdIsSet(true);
-
 
98681
            } else { 
-
 
98682
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
98683
            }
-
 
98684
            break;
-
 
98685
          case -1: // ATTRIBUTES
-
 
98686
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
98687
              {
-
 
98688
                org.apache.thrift.protocol.TList _list328 = iprot.readListBegin();
-
 
98689
                this.attributes = new ArrayList<Attribute>(_list328.size);
-
 
98690
                for (int _i329 = 0; _i329 < _list328.size; ++_i329)
-
 
98691
                {
-
 
98692
                  Attribute _elem330; // required
-
 
98693
                  _elem330 = new Attribute();
-
 
98694
                  _elem330.read(iprot);
-
 
98695
                  this.attributes.add(_elem330);
-
 
98696
                }
-
 
98697
                iprot.readListEnd();
-
 
98698
              }
-
 
98699
            } else { 
-
 
98700
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
98701
            }
-
 
98702
            break;
-
 
98703
          default:
-
 
98704
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
98705
        }
-
 
98706
        iprot.readFieldEnd();
-
 
98707
      }
-
 
98708
      iprot.readStructEnd();
-
 
98709
      validate();
-
 
98710
    }
-
 
98711
 
-
 
98712
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
98713
      validate();
-
 
98714
 
-
 
98715
      oprot.writeStructBegin(STRUCT_DESC);
-
 
98716
      if (this.attributes != null) {
-
 
98717
        oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC);
-
 
98718
        {
-
 
98719
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.attributes.size()));
-
 
98720
          for (Attribute _iter331 : this.attributes)
-
 
98721
          {
-
 
98722
            _iter331.write(oprot);
-
 
98723
          }
-
 
98724
          oprot.writeListEnd();
-
 
98725
        }
-
 
98726
        oprot.writeFieldEnd();
-
 
98727
      }
-
 
98728
      oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
-
 
98729
      oprot.writeI64(this.orderId);
-
 
98730
      oprot.writeFieldEnd();
-
 
98731
      oprot.writeFieldStop();
-
 
98732
      oprot.writeStructEnd();
-
 
98733
    }
-
 
98734
 
-
 
98735
    @Override
-
 
98736
    public String toString() {
-
 
98737
      StringBuilder sb = new StringBuilder("setOrderAttributes_args(");
-
 
98738
      boolean first = true;
-
 
98739
 
-
 
98740
      sb.append("orderId:");
-
 
98741
      sb.append(this.orderId);
-
 
98742
      first = false;
-
 
98743
      if (!first) sb.append(", ");
-
 
98744
      sb.append("attributes:");
-
 
98745
      if (this.attributes == null) {
-
 
98746
        sb.append("null");
-
 
98747
      } else {
-
 
98748
        sb.append(this.attributes);
-
 
98749
      }
-
 
98750
      first = false;
-
 
98751
      sb.append(")");
-
 
98752
      return sb.toString();
-
 
98753
    }
-
 
98754
 
-
 
98755
    public void validate() throws org.apache.thrift.TException {
-
 
98756
      // check for required fields
-
 
98757
    }
-
 
98758
 
-
 
98759
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
98760
      try {
-
 
98761
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
98762
      } catch (org.apache.thrift.TException te) {
-
 
98763
        throw new java.io.IOException(te);
-
 
98764
      }
-
 
98765
    }
-
 
98766
 
-
 
98767
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
98768
      try {
-
 
98769
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
98770
        __isset_bit_vector = new BitSet(1);
-
 
98771
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
98772
      } catch (org.apache.thrift.TException te) {
-
 
98773
        throw new java.io.IOException(te);
-
 
98774
      }
-
 
98775
    }
-
 
98776
 
-
 
98777
  }
-
 
98778
 
-
 
98779
  public static class setOrderAttributes_result implements org.apache.thrift.TBase<setOrderAttributes_result, setOrderAttributes_result._Fields>, java.io.Serializable, Cloneable   {
-
 
98780
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("setOrderAttributes_result");
-
 
98781
 
-
 
98782
 
-
 
98783
 
-
 
98784
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
98785
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
98786
;
-
 
98787
 
-
 
98788
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
98789
 
-
 
98790
      static {
-
 
98791
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
98792
          byName.put(field.getFieldName(), field);
-
 
98793
        }
-
 
98794
      }
-
 
98795
 
-
 
98796
      /**
-
 
98797
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
98798
       */
-
 
98799
      public static _Fields findByThriftId(int fieldId) {
-
 
98800
        switch(fieldId) {
-
 
98801
          default:
-
 
98802
            return null;
-
 
98803
        }
-
 
98804
      }
-
 
98805
 
-
 
98806
      /**
-
 
98807
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
98808
       * if it is not found.
-
 
98809
       */
-
 
98810
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
98811
        _Fields fields = findByThriftId(fieldId);
-
 
98812
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
98813
        return fields;
-
 
98814
      }
-
 
98815
 
-
 
98816
      /**
-
 
98817
       * Find the _Fields constant that matches name, or null if its not found.
-
 
98818
       */
-
 
98819
      public static _Fields findByName(String name) {
-
 
98820
        return byName.get(name);
-
 
98821
      }
-
 
98822
 
-
 
98823
      private final short _thriftId;
-
 
98824
      private final String _fieldName;
-
 
98825
 
-
 
98826
      _Fields(short thriftId, String fieldName) {
-
 
98827
        _thriftId = thriftId;
-
 
98828
        _fieldName = fieldName;
-
 
98829
      }
-
 
98830
 
-
 
98831
      public short getThriftFieldId() {
-
 
98832
        return _thriftId;
-
 
98833
      }
-
 
98834
 
-
 
98835
      public String getFieldName() {
-
 
98836
        return _fieldName;
-
 
98837
      }
-
 
98838
    }
-
 
98839
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
98840
    static {
-
 
98841
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
98842
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
98843
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(setOrderAttributes_result.class, metaDataMap);
-
 
98844
    }
-
 
98845
 
-
 
98846
    public setOrderAttributes_result() {
-
 
98847
    }
-
 
98848
 
-
 
98849
    /**
-
 
98850
     * Performs a deep copy on <i>other</i>.
-
 
98851
     */
-
 
98852
    public setOrderAttributes_result(setOrderAttributes_result other) {
-
 
98853
    }
-
 
98854
 
-
 
98855
    public setOrderAttributes_result deepCopy() {
-
 
98856
      return new setOrderAttributes_result(this);
-
 
98857
    }
-
 
98858
 
-
 
98859
    @Override
-
 
98860
    public void clear() {
-
 
98861
    }
-
 
98862
 
-
 
98863
    public void setFieldValue(_Fields field, Object value) {
-
 
98864
      switch (field) {
-
 
98865
      }
-
 
98866
    }
-
 
98867
 
-
 
98868
    public Object getFieldValue(_Fields field) {
-
 
98869
      switch (field) {
-
 
98870
      }
-
 
98871
      throw new IllegalStateException();
-
 
98872
    }
-
 
98873
 
-
 
98874
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
98875
    public boolean isSet(_Fields field) {
-
 
98876
      if (field == null) {
-
 
98877
        throw new IllegalArgumentException();
-
 
98878
      }
-
 
98879
 
-
 
98880
      switch (field) {
-
 
98881
      }
-
 
98882
      throw new IllegalStateException();
-
 
98883
    }
-
 
98884
 
-
 
98885
    @Override
-
 
98886
    public boolean equals(Object that) {
-
 
98887
      if (that == null)
-
 
98888
        return false;
-
 
98889
      if (that instanceof setOrderAttributes_result)
-
 
98890
        return this.equals((setOrderAttributes_result)that);
-
 
98891
      return false;
-
 
98892
    }
-
 
98893
 
-
 
98894
    public boolean equals(setOrderAttributes_result that) {
-
 
98895
      if (that == null)
-
 
98896
        return false;
-
 
98897
 
-
 
98898
      return true;
-
 
98899
    }
-
 
98900
 
-
 
98901
    @Override
-
 
98902
    public int hashCode() {
-
 
98903
      return 0;
-
 
98904
    }
-
 
98905
 
-
 
98906
    public int compareTo(setOrderAttributes_result other) {
-
 
98907
      if (!getClass().equals(other.getClass())) {
-
 
98908
        return getClass().getName().compareTo(other.getClass().getName());
-
 
98909
      }
-
 
98910
 
-
 
98911
      int lastComparison = 0;
-
 
98912
      setOrderAttributes_result typedOther = (setOrderAttributes_result)other;
-
 
98913
 
-
 
98914
      return 0;
-
 
98915
    }
-
 
98916
 
-
 
98917
    public _Fields fieldForId(int fieldId) {
-
 
98918
      return _Fields.findByThriftId(fieldId);
-
 
98919
    }
-
 
98920
 
-
 
98921
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
98922
      org.apache.thrift.protocol.TField field;
-
 
98923
      iprot.readStructBegin();
-
 
98924
      while (true)
-
 
98925
      {
-
 
98926
        field = iprot.readFieldBegin();
-
 
98927
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
98928
          break;
-
 
98929
        }
-
 
98930
        switch (field.id) {
-
 
98931
          default:
-
 
98932
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
98933
        }
-
 
98934
        iprot.readFieldEnd();
-
 
98935
      }
-
 
98936
      iprot.readStructEnd();
-
 
98937
      validate();
-
 
98938
    }
-
 
98939
 
-
 
98940
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
98941
      oprot.writeStructBegin(STRUCT_DESC);
-
 
98942
 
-
 
98943
      oprot.writeFieldStop();
-
 
98944
      oprot.writeStructEnd();
-
 
98945
    }
-
 
98946
 
-
 
98947
    @Override
-
 
98948
    public String toString() {
-
 
98949
      StringBuilder sb = new StringBuilder("setOrderAttributes_result(");
-
 
98950
      boolean first = true;
-
 
98951
 
-
 
98952
      sb.append(")");
-
 
98953
      return sb.toString();
-
 
98954
    }
-
 
98955
 
-
 
98956
    public void validate() throws org.apache.thrift.TException {
-
 
98957
      // check for required fields
-
 
98958
    }
-
 
98959
 
-
 
98960
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
98961
      try {
-
 
98962
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
98963
      } catch (org.apache.thrift.TException te) {
-
 
98964
        throw new java.io.IOException(te);
-
 
98965
      }
-
 
98966
    }
-
 
98967
 
-
 
98968
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
98969
      try {
-
 
98970
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
98971
      } catch (org.apache.thrift.TException te) {
-
 
98972
        throw new java.io.IOException(te);
-
 
98973
      }
-
 
98974
    }
-
 
98975
 
-
 
98976
  }
-
 
98977
 
97382
  public static class setOrderAttributeForTransaction_args implements org.apache.thrift.TBase<setOrderAttributeForTransaction_args, setOrderAttributeForTransaction_args._Fields>, java.io.Serializable, Cloneable   {
98978
  public static class setOrderAttributeForTransaction_args implements org.apache.thrift.TBase<setOrderAttributeForTransaction_args, setOrderAttributeForTransaction_args._Fields>, java.io.Serializable, Cloneable   {
97383
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("setOrderAttributeForTransaction_args");
98979
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("setOrderAttributeForTransaction_args");
97384
 
98980
 
97385
    private static final org.apache.thrift.protocol.TField TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionId", org.apache.thrift.protocol.TType.I64, (short)1);
98981
    private static final org.apache.thrift.protocol.TField TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionId", org.apache.thrift.protocol.TType.I64, (short)1);
97386
    private static final org.apache.thrift.protocol.TField ATTRIBUTE_FIELD_DESC = new org.apache.thrift.protocol.TField("attribute", org.apache.thrift.protocol.TType.STRUCT, (short)-1);
98982
    private static final org.apache.thrift.protocol.TField ATTRIBUTE_FIELD_DESC = new org.apache.thrift.protocol.TField("attribute", org.apache.thrift.protocol.TType.STRUCT, (short)-1);
Line 98503... Line 100099...
98503
        }
100099
        }
98504
        switch (field.id) {
100100
        switch (field.id) {
98505
          case 0: // SUCCESS
100101
          case 0: // SUCCESS
98506
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
100102
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
98507
              {
100103
              {
98508
                org.apache.thrift.protocol.TList _list324 = iprot.readListBegin();
100104
                org.apache.thrift.protocol.TList _list332 = iprot.readListBegin();
98509
                this.success = new ArrayList<Order>(_list324.size);
100105
                this.success = new ArrayList<Order>(_list332.size);
98510
                for (int _i325 = 0; _i325 < _list324.size; ++_i325)
100106
                for (int _i333 = 0; _i333 < _list332.size; ++_i333)
98511
                {
100107
                {
98512
                  Order _elem326; // required
100108
                  Order _elem334; // required
98513
                  _elem326 = new Order();
100109
                  _elem334 = new Order();
98514
                  _elem326.read(iprot);
100110
                  _elem334.read(iprot);
98515
                  this.success.add(_elem326);
100111
                  this.success.add(_elem334);
98516
                }
100112
                }
98517
                iprot.readListEnd();
100113
                iprot.readListEnd();
98518
              }
100114
              }
98519
            } else { 
100115
            } else { 
98520
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
100116
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 98534... Line 100130...
98534
 
100130
 
98535
      if (this.isSetSuccess()) {
100131
      if (this.isSetSuccess()) {
98536
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
100132
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
98537
        {
100133
        {
98538
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
100134
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
98539
          for (Order _iter327 : this.success)
100135
          for (Order _iter335 : this.success)
98540
          {
100136
          {
98541
            _iter327.write(oprot);
100137
            _iter335.write(oprot);
98542
          }
100138
          }
98543
          oprot.writeListEnd();
100139
          oprot.writeListEnd();
98544
        }
100140
        }
98545
        oprot.writeFieldEnd();
100141
        oprot.writeFieldEnd();
98546
      }
100142
      }
Line 99128... Line 100724...
99128
        }
100724
        }
99129
        switch (field.id) {
100725
        switch (field.id) {
99130
          case 0: // SUCCESS
100726
          case 0: // SUCCESS
99131
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
100727
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
99132
              {
100728
              {
99133
                org.apache.thrift.protocol.TList _list328 = iprot.readListBegin();
100729
                org.apache.thrift.protocol.TList _list336 = iprot.readListBegin();
99134
                this.success = new ArrayList<Order>(_list328.size);
100730
                this.success = new ArrayList<Order>(_list336.size);
99135
                for (int _i329 = 0; _i329 < _list328.size; ++_i329)
100731
                for (int _i337 = 0; _i337 < _list336.size; ++_i337)
99136
                {
100732
                {
99137
                  Order _elem330; // required
100733
                  Order _elem338; // required
99138
                  _elem330 = new Order();
100734
                  _elem338 = new Order();
99139
                  _elem330.read(iprot);
100735
                  _elem338.read(iprot);
99140
                  this.success.add(_elem330);
100736
                  this.success.add(_elem338);
99141
                }
100737
                }
99142
                iprot.readListEnd();
100738
                iprot.readListEnd();
99143
              }
100739
              }
99144
            } else { 
100740
            } else { 
99145
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
100741
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 99159... Line 100755...
99159
 
100755
 
99160
      if (this.isSetSuccess()) {
100756
      if (this.isSetSuccess()) {
99161
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
100757
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
99162
        {
100758
        {
99163
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
100759
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
99164
          for (Order _iter331 : this.success)
100760
          for (Order _iter339 : this.success)
99165
          {
100761
          {
99166
            _iter331.write(oprot);
100762
            _iter339.write(oprot);
99167
          }
100763
          }
99168
          oprot.writeListEnd();
100764
          oprot.writeListEnd();
99169
        }
100765
        }
99170
        oprot.writeFieldEnd();
100766
        oprot.writeFieldEnd();
99171
      }
100767
      }