Subversion Repositories SmartDukaan

Rev

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

Rev 4983 Rev 4999
Line 124... Line 124...
124
 
124
 
125
    public Order getOrder(long id) throws TransactionServiceException, org.apache.thrift.TException;
125
    public Order getOrder(long id) throws TransactionServiceException, org.apache.thrift.TException;
126
 
126
 
127
    public List<LineItem> getLineItemsForOrder(long orderId) throws TransactionServiceException, org.apache.thrift.TException;
127
    public List<LineItem> getLineItemsForOrder(long orderId) throws TransactionServiceException, org.apache.thrift.TException;
128
 
128
 
-
 
129
    public List<Order> getOrderList(List<Long> order_ids) throws org.apache.thrift.TException;
-
 
130
 
129
    /**
131
    /**
130
     * Returns an order for the order Id. Also checks if the order belongs to the customer whose Id is passed.
132
     * Returns an order for the order Id. Also checks if the order belongs to the customer whose Id is passed.
131
     * Throws exception if either order Id is invalid or order does not below to the customer whose Id is passed.
133
     * Throws exception if either order Id is invalid or order does not below to the customer whose Id is passed.
132
     * 
134
     * 
133
     * @param orderId
135
     * @param orderId
Line 811... Line 813...
811
 
813
 
812
    public void getOrder(long id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrder_call> resultHandler) throws org.apache.thrift.TException;
814
    public void getOrder(long id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrder_call> resultHandler) throws org.apache.thrift.TException;
813
 
815
 
814
    public void getLineItemsForOrder(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLineItemsForOrder_call> resultHandler) throws org.apache.thrift.TException;
816
    public void getLineItemsForOrder(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLineItemsForOrder_call> resultHandler) throws org.apache.thrift.TException;
815
 
817
 
-
 
818
    public void getOrderList(List<Long> order_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderList_call> resultHandler) throws org.apache.thrift.TException;
-
 
819
 
816
    public void getOrderForCustomer(long orderId, long customerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderForCustomer_call> resultHandler) throws org.apache.thrift.TException;
820
    public void getOrderForCustomer(long orderId, long customerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderForCustomer_call> resultHandler) throws org.apache.thrift.TException;
817
 
821
 
818
    public void getAlerts(long type, long warehouseId, long status, long timestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAlerts_call> resultHandler) throws org.apache.thrift.TException;
822
    public void getAlerts(long type, long warehouseId, long status, long timestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAlerts_call> resultHandler) throws org.apache.thrift.TException;
819
 
823
 
820
    public void addAlert(long type, long warehouseId, String description, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addAlert_call> resultHandler) throws org.apache.thrift.TException;
824
    public void addAlert(long type, long warehouseId, String description, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addAlert_call> resultHandler) throws org.apache.thrift.TException;
Line 1550... Line 1554...
1550
        throw result.ex;
1554
        throw result.ex;
1551
      }
1555
      }
1552
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getLineItemsForOrder failed: unknown result");
1556
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getLineItemsForOrder failed: unknown result");
1553
    }
1557
    }
1554
 
1558
 
-
 
1559
    public List<Order> getOrderList(List<Long> order_ids) throws org.apache.thrift.TException
-
 
1560
    {
-
 
1561
      send_getOrderList(order_ids);
-
 
1562
      return recv_getOrderList();
-
 
1563
    }
-
 
1564
 
-
 
1565
    public void send_getOrderList(List<Long> order_ids) throws org.apache.thrift.TException
-
 
1566
    {
-
 
1567
      getOrderList_args args = new getOrderList_args();
-
 
1568
      args.setOrder_ids(order_ids);
-
 
1569
      sendBase("getOrderList", args);
-
 
1570
    }
-
 
1571
 
-
 
1572
    public List<Order> recv_getOrderList() throws org.apache.thrift.TException
-
 
1573
    {
-
 
1574
      getOrderList_result result = new getOrderList_result();
-
 
1575
      receiveBase(result, "getOrderList");
-
 
1576
      if (result.isSetSuccess()) {
-
 
1577
        return result.success;
-
 
1578
      }
-
 
1579
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrderList failed: unknown result");
-
 
1580
    }
-
 
1581
 
1555
    public Order getOrderForCustomer(long orderId, long customerId) throws TransactionServiceException, org.apache.thrift.TException
1582
    public Order getOrderForCustomer(long orderId, long customerId) throws TransactionServiceException, org.apache.thrift.TException
1556
    {
1583
    {
1557
      send_getOrderForCustomer(orderId, customerId);
1584
      send_getOrderForCustomer(orderId, customerId);
1558
      return recv_getOrderForCustomer();
1585
      return recv_getOrderForCustomer();
1559
    }
1586
    }
Line 4425... Line 4452...
4425
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4452
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4426
        return (new Client(prot)).recv_getLineItemsForOrder();
4453
        return (new Client(prot)).recv_getLineItemsForOrder();
4427
      }
4454
      }
4428
    }
4455
    }
4429
 
4456
 
-
 
4457
    public void getOrderList(List<Long> order_ids, org.apache.thrift.async.AsyncMethodCallback<getOrderList_call> resultHandler) throws org.apache.thrift.TException {
-
 
4458
      checkReady();
-
 
4459
      getOrderList_call method_call = new getOrderList_call(order_ids, resultHandler, this, ___protocolFactory, ___transport);
-
 
4460
      this.___currentMethod = method_call;
-
 
4461
      ___manager.call(method_call);
-
 
4462
    }
-
 
4463
 
-
 
4464
    public static class getOrderList_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4465
      private List<Long> order_ids;
-
 
4466
      public getOrderList_call(List<Long> order_ids, org.apache.thrift.async.AsyncMethodCallback<getOrderList_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 {
-
 
4467
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4468
        this.order_ids = order_ids;
-
 
4469
      }
-
 
4470
 
-
 
4471
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4472
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOrderList", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4473
        getOrderList_args args = new getOrderList_args();
-
 
4474
        args.setOrder_ids(order_ids);
-
 
4475
        args.write(prot);
-
 
4476
        prot.writeMessageEnd();
-
 
4477
      }
-
 
4478
 
-
 
4479
      public List<Order> getResult() throws org.apache.thrift.TException {
-
 
4480
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4481
          throw new IllegalStateException("Method call not finished!");
-
 
4482
        }
-
 
4483
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4484
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4485
        return (new Client(prot)).recv_getOrderList();
-
 
4486
      }
-
 
4487
    }
-
 
4488
 
4430
    public void getOrderForCustomer(long orderId, long customerId, org.apache.thrift.async.AsyncMethodCallback<getOrderForCustomer_call> resultHandler) throws org.apache.thrift.TException {
4489
    public void getOrderForCustomer(long orderId, long customerId, org.apache.thrift.async.AsyncMethodCallback<getOrderForCustomer_call> resultHandler) throws org.apache.thrift.TException {
4431
      checkReady();
4490
      checkReady();
4432
      getOrderForCustomer_call method_call = new getOrderForCustomer_call(orderId, customerId, resultHandler, this, ___protocolFactory, ___transport);
4491
      getOrderForCustomer_call method_call = new getOrderForCustomer_call(orderId, customerId, resultHandler, this, ___protocolFactory, ___transport);
4433
      this.___currentMethod = method_call;
4492
      this.___currentMethod = method_call;
4434
      ___manager.call(method_call);
4493
      ___manager.call(method_call);
Line 7415... Line 7474...
7415
      processMap.put("getOrdersForTransaction", new getOrdersForTransaction());
7474
      processMap.put("getOrdersForTransaction", new getOrdersForTransaction());
7416
      processMap.put("getOrdersForCustomer", new getOrdersForCustomer());
7475
      processMap.put("getOrdersForCustomer", new getOrdersForCustomer());
7417
      processMap.put("createOrder", new createOrder());
7476
      processMap.put("createOrder", new createOrder());
7418
      processMap.put("getOrder", new getOrder());
7477
      processMap.put("getOrder", new getOrder());
7419
      processMap.put("getLineItemsForOrder", new getLineItemsForOrder());
7478
      processMap.put("getLineItemsForOrder", new getLineItemsForOrder());
-
 
7479
      processMap.put("getOrderList", new getOrderList());
7420
      processMap.put("getOrderForCustomer", new getOrderForCustomer());
7480
      processMap.put("getOrderForCustomer", new getOrderForCustomer());
7421
      processMap.put("getAlerts", new getAlerts());
7481
      processMap.put("getAlerts", new getAlerts());
7422
      processMap.put("addAlert", new addAlert());
7482
      processMap.put("addAlert", new addAlert());
7423
      processMap.put("markAlertsAsSeen", new markAlertsAsSeen());
7483
      processMap.put("markAlertsAsSeen", new markAlertsAsSeen());
7424
      processMap.put("getValidOrderCount", new getValidOrderCount());
7484
      processMap.put("getValidOrderCount", new getValidOrderCount());
Line 7909... Line 7969...
7909
        }
7969
        }
7910
        return result;
7970
        return result;
7911
      }
7971
      }
7912
    }
7972
    }
7913
 
7973
 
-
 
7974
    private static class getOrderList<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrderList_args> {
-
 
7975
      public getOrderList() {
-
 
7976
        super("getOrderList");
-
 
7977
      }
-
 
7978
 
-
 
7979
      protected getOrderList_args getEmptyArgsInstance() {
-
 
7980
        return new getOrderList_args();
-
 
7981
      }
-
 
7982
 
-
 
7983
      protected getOrderList_result getResult(I iface, getOrderList_args args) throws org.apache.thrift.TException {
-
 
7984
        getOrderList_result result = new getOrderList_result();
-
 
7985
        result.success = iface.getOrderList(args.order_ids);
-
 
7986
        return result;
-
 
7987
      }
-
 
7988
    }
-
 
7989
 
7914
    private static class getOrderForCustomer<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrderForCustomer_args> {
7990
    private static class getOrderForCustomer<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrderForCustomer_args> {
7915
      public getOrderForCustomer() {
7991
      public getOrderForCustomer() {
7916
        super("getOrderForCustomer");
7992
        super("getOrderForCustomer");
7917
      }
7993
      }
7918
 
7994
 
Line 25955... Line 26031...
25955
      }
26031
      }
25956
    }
26032
    }
25957
 
26033
 
25958
  }
26034
  }
25959
 
26035
 
-
 
26036
  public static class getOrderList_args implements org.apache.thrift.TBase<getOrderList_args, getOrderList_args._Fields>, java.io.Serializable, Cloneable   {
-
 
26037
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrderList_args");
-
 
26038
 
-
 
26039
    private static final org.apache.thrift.protocol.TField ORDER_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("order_ids", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
26040
 
-
 
26041
    private List<Long> order_ids; // required
-
 
26042
 
-
 
26043
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
26044
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
26045
      ORDER_IDS((short)1, "order_ids");
-
 
26046
 
-
 
26047
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
26048
 
-
 
26049
      static {
-
 
26050
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
26051
          byName.put(field.getFieldName(), field);
-
 
26052
        }
-
 
26053
      }
-
 
26054
 
-
 
26055
      /**
-
 
26056
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
26057
       */
-
 
26058
      public static _Fields findByThriftId(int fieldId) {
-
 
26059
        switch(fieldId) {
-
 
26060
          case 1: // ORDER_IDS
-
 
26061
            return ORDER_IDS;
-
 
26062
          default:
-
 
26063
            return null;
-
 
26064
        }
-
 
26065
      }
-
 
26066
 
-
 
26067
      /**
-
 
26068
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
26069
       * if it is not found.
-
 
26070
       */
-
 
26071
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
26072
        _Fields fields = findByThriftId(fieldId);
-
 
26073
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
26074
        return fields;
-
 
26075
      }
-
 
26076
 
-
 
26077
      /**
-
 
26078
       * Find the _Fields constant that matches name, or null if its not found.
-
 
26079
       */
-
 
26080
      public static _Fields findByName(String name) {
-
 
26081
        return byName.get(name);
-
 
26082
      }
-
 
26083
 
-
 
26084
      private final short _thriftId;
-
 
26085
      private final String _fieldName;
-
 
26086
 
-
 
26087
      _Fields(short thriftId, String fieldName) {
-
 
26088
        _thriftId = thriftId;
-
 
26089
        _fieldName = fieldName;
-
 
26090
      }
-
 
26091
 
-
 
26092
      public short getThriftFieldId() {
-
 
26093
        return _thriftId;
-
 
26094
      }
-
 
26095
 
-
 
26096
      public String getFieldName() {
-
 
26097
        return _fieldName;
-
 
26098
      }
-
 
26099
    }
-
 
26100
 
-
 
26101
    // isset id assignments
-
 
26102
 
-
 
26103
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
26104
    static {
-
 
26105
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
26106
      tmpMap.put(_Fields.ORDER_IDS, new org.apache.thrift.meta_data.FieldMetaData("order_ids", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
26107
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
26108
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
26109
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
26110
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrderList_args.class, metaDataMap);
-
 
26111
    }
-
 
26112
 
-
 
26113
    public getOrderList_args() {
-
 
26114
    }
-
 
26115
 
-
 
26116
    public getOrderList_args(
-
 
26117
      List<Long> order_ids)
-
 
26118
    {
-
 
26119
      this();
-
 
26120
      this.order_ids = order_ids;
-
 
26121
    }
-
 
26122
 
-
 
26123
    /**
-
 
26124
     * Performs a deep copy on <i>other</i>.
-
 
26125
     */
-
 
26126
    public getOrderList_args(getOrderList_args other) {
-
 
26127
      if (other.isSetOrder_ids()) {
-
 
26128
        List<Long> __this__order_ids = new ArrayList<Long>();
-
 
26129
        for (Long other_element : other.order_ids) {
-
 
26130
          __this__order_ids.add(other_element);
-
 
26131
        }
-
 
26132
        this.order_ids = __this__order_ids;
-
 
26133
      }
-
 
26134
    }
-
 
26135
 
-
 
26136
    public getOrderList_args deepCopy() {
-
 
26137
      return new getOrderList_args(this);
-
 
26138
    }
-
 
26139
 
-
 
26140
    @Override
-
 
26141
    public void clear() {
-
 
26142
      this.order_ids = null;
-
 
26143
    }
-
 
26144
 
-
 
26145
    public int getOrder_idsSize() {
-
 
26146
      return (this.order_ids == null) ? 0 : this.order_ids.size();
-
 
26147
    }
-
 
26148
 
-
 
26149
    public java.util.Iterator<Long> getOrder_idsIterator() {
-
 
26150
      return (this.order_ids == null) ? null : this.order_ids.iterator();
-
 
26151
    }
-
 
26152
 
-
 
26153
    public void addToOrder_ids(long elem) {
-
 
26154
      if (this.order_ids == null) {
-
 
26155
        this.order_ids = new ArrayList<Long>();
-
 
26156
      }
-
 
26157
      this.order_ids.add(elem);
-
 
26158
    }
-
 
26159
 
-
 
26160
    public List<Long> getOrder_ids() {
-
 
26161
      return this.order_ids;
-
 
26162
    }
-
 
26163
 
-
 
26164
    public void setOrder_ids(List<Long> order_ids) {
-
 
26165
      this.order_ids = order_ids;
-
 
26166
    }
-
 
26167
 
-
 
26168
    public void unsetOrder_ids() {
-
 
26169
      this.order_ids = null;
-
 
26170
    }
-
 
26171
 
-
 
26172
    /** Returns true if field order_ids is set (has been assigned a value) and false otherwise */
-
 
26173
    public boolean isSetOrder_ids() {
-
 
26174
      return this.order_ids != null;
-
 
26175
    }
-
 
26176
 
-
 
26177
    public void setOrder_idsIsSet(boolean value) {
-
 
26178
      if (!value) {
-
 
26179
        this.order_ids = null;
-
 
26180
      }
-
 
26181
    }
-
 
26182
 
-
 
26183
    public void setFieldValue(_Fields field, Object value) {
-
 
26184
      switch (field) {
-
 
26185
      case ORDER_IDS:
-
 
26186
        if (value == null) {
-
 
26187
          unsetOrder_ids();
-
 
26188
        } else {
-
 
26189
          setOrder_ids((List<Long>)value);
-
 
26190
        }
-
 
26191
        break;
-
 
26192
 
-
 
26193
      }
-
 
26194
    }
-
 
26195
 
-
 
26196
    public Object getFieldValue(_Fields field) {
-
 
26197
      switch (field) {
-
 
26198
      case ORDER_IDS:
-
 
26199
        return getOrder_ids();
-
 
26200
 
-
 
26201
      }
-
 
26202
      throw new IllegalStateException();
-
 
26203
    }
-
 
26204
 
-
 
26205
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
26206
    public boolean isSet(_Fields field) {
-
 
26207
      if (field == null) {
-
 
26208
        throw new IllegalArgumentException();
-
 
26209
      }
-
 
26210
 
-
 
26211
      switch (field) {
-
 
26212
      case ORDER_IDS:
-
 
26213
        return isSetOrder_ids();
-
 
26214
      }
-
 
26215
      throw new IllegalStateException();
-
 
26216
    }
-
 
26217
 
-
 
26218
    @Override
-
 
26219
    public boolean equals(Object that) {
-
 
26220
      if (that == null)
-
 
26221
        return false;
-
 
26222
      if (that instanceof getOrderList_args)
-
 
26223
        return this.equals((getOrderList_args)that);
-
 
26224
      return false;
-
 
26225
    }
-
 
26226
 
-
 
26227
    public boolean equals(getOrderList_args that) {
-
 
26228
      if (that == null)
-
 
26229
        return false;
-
 
26230
 
-
 
26231
      boolean this_present_order_ids = true && this.isSetOrder_ids();
-
 
26232
      boolean that_present_order_ids = true && that.isSetOrder_ids();
-
 
26233
      if (this_present_order_ids || that_present_order_ids) {
-
 
26234
        if (!(this_present_order_ids && that_present_order_ids))
-
 
26235
          return false;
-
 
26236
        if (!this.order_ids.equals(that.order_ids))
-
 
26237
          return false;
-
 
26238
      }
-
 
26239
 
-
 
26240
      return true;
-
 
26241
    }
-
 
26242
 
-
 
26243
    @Override
-
 
26244
    public int hashCode() {
-
 
26245
      return 0;
-
 
26246
    }
-
 
26247
 
-
 
26248
    public int compareTo(getOrderList_args other) {
-
 
26249
      if (!getClass().equals(other.getClass())) {
-
 
26250
        return getClass().getName().compareTo(other.getClass().getName());
-
 
26251
      }
-
 
26252
 
-
 
26253
      int lastComparison = 0;
-
 
26254
      getOrderList_args typedOther = (getOrderList_args)other;
-
 
26255
 
-
 
26256
      lastComparison = Boolean.valueOf(isSetOrder_ids()).compareTo(typedOther.isSetOrder_ids());
-
 
26257
      if (lastComparison != 0) {
-
 
26258
        return lastComparison;
-
 
26259
      }
-
 
26260
      if (isSetOrder_ids()) {
-
 
26261
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.order_ids, typedOther.order_ids);
-
 
26262
        if (lastComparison != 0) {
-
 
26263
          return lastComparison;
-
 
26264
        }
-
 
26265
      }
-
 
26266
      return 0;
-
 
26267
    }
-
 
26268
 
-
 
26269
    public _Fields fieldForId(int fieldId) {
-
 
26270
      return _Fields.findByThriftId(fieldId);
-
 
26271
    }
-
 
26272
 
-
 
26273
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
26274
      org.apache.thrift.protocol.TField field;
-
 
26275
      iprot.readStructBegin();
-
 
26276
      while (true)
-
 
26277
      {
-
 
26278
        field = iprot.readFieldBegin();
-
 
26279
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
26280
          break;
-
 
26281
        }
-
 
26282
        switch (field.id) {
-
 
26283
          case 1: // ORDER_IDS
-
 
26284
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
26285
              {
-
 
26286
                org.apache.thrift.protocol.TList _list92 = iprot.readListBegin();
-
 
26287
                this.order_ids = new ArrayList<Long>(_list92.size);
-
 
26288
                for (int _i93 = 0; _i93 < _list92.size; ++_i93)
-
 
26289
                {
-
 
26290
                  long _elem94; // required
-
 
26291
                  _elem94 = iprot.readI64();
-
 
26292
                  this.order_ids.add(_elem94);
-
 
26293
                }
-
 
26294
                iprot.readListEnd();
-
 
26295
              }
-
 
26296
            } else { 
-
 
26297
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
26298
            }
-
 
26299
            break;
-
 
26300
          default:
-
 
26301
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
26302
        }
-
 
26303
        iprot.readFieldEnd();
-
 
26304
      }
-
 
26305
      iprot.readStructEnd();
-
 
26306
      validate();
-
 
26307
    }
-
 
26308
 
-
 
26309
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
26310
      validate();
-
 
26311
 
-
 
26312
      oprot.writeStructBegin(STRUCT_DESC);
-
 
26313
      if (this.order_ids != null) {
-
 
26314
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
-
 
26315
        {
-
 
26316
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
-
 
26317
          for (long _iter95 : this.order_ids)
-
 
26318
          {
-
 
26319
            oprot.writeI64(_iter95);
-
 
26320
          }
-
 
26321
          oprot.writeListEnd();
-
 
26322
        }
-
 
26323
        oprot.writeFieldEnd();
-
 
26324
      }
-
 
26325
      oprot.writeFieldStop();
-
 
26326
      oprot.writeStructEnd();
-
 
26327
    }
-
 
26328
 
-
 
26329
    @Override
-
 
26330
    public String toString() {
-
 
26331
      StringBuilder sb = new StringBuilder("getOrderList_args(");
-
 
26332
      boolean first = true;
-
 
26333
 
-
 
26334
      sb.append("order_ids:");
-
 
26335
      if (this.order_ids == null) {
-
 
26336
        sb.append("null");
-
 
26337
      } else {
-
 
26338
        sb.append(this.order_ids);
-
 
26339
      }
-
 
26340
      first = false;
-
 
26341
      sb.append(")");
-
 
26342
      return sb.toString();
-
 
26343
    }
-
 
26344
 
-
 
26345
    public void validate() throws org.apache.thrift.TException {
-
 
26346
      // check for required fields
-
 
26347
    }
-
 
26348
 
-
 
26349
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
26350
      try {
-
 
26351
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
26352
      } catch (org.apache.thrift.TException te) {
-
 
26353
        throw new java.io.IOException(te);
-
 
26354
      }
-
 
26355
    }
-
 
26356
 
-
 
26357
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
26358
      try {
-
 
26359
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
26360
      } catch (org.apache.thrift.TException te) {
-
 
26361
        throw new java.io.IOException(te);
-
 
26362
      }
-
 
26363
    }
-
 
26364
 
-
 
26365
  }
-
 
26366
 
-
 
26367
  public static class getOrderList_result implements org.apache.thrift.TBase<getOrderList_result, getOrderList_result._Fields>, java.io.Serializable, Cloneable   {
-
 
26368
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrderList_result");
-
 
26369
 
-
 
26370
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
26371
 
-
 
26372
    private List<Order> success; // required
-
 
26373
 
-
 
26374
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
26375
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
26376
      SUCCESS((short)0, "success");
-
 
26377
 
-
 
26378
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
26379
 
-
 
26380
      static {
-
 
26381
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
26382
          byName.put(field.getFieldName(), field);
-
 
26383
        }
-
 
26384
      }
-
 
26385
 
-
 
26386
      /**
-
 
26387
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
26388
       */
-
 
26389
      public static _Fields findByThriftId(int fieldId) {
-
 
26390
        switch(fieldId) {
-
 
26391
          case 0: // SUCCESS
-
 
26392
            return SUCCESS;
-
 
26393
          default:
-
 
26394
            return null;
-
 
26395
        }
-
 
26396
      }
-
 
26397
 
-
 
26398
      /**
-
 
26399
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
26400
       * if it is not found.
-
 
26401
       */
-
 
26402
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
26403
        _Fields fields = findByThriftId(fieldId);
-
 
26404
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
26405
        return fields;
-
 
26406
      }
-
 
26407
 
-
 
26408
      /**
-
 
26409
       * Find the _Fields constant that matches name, or null if its not found.
-
 
26410
       */
-
 
26411
      public static _Fields findByName(String name) {
-
 
26412
        return byName.get(name);
-
 
26413
      }
-
 
26414
 
-
 
26415
      private final short _thriftId;
-
 
26416
      private final String _fieldName;
-
 
26417
 
-
 
26418
      _Fields(short thriftId, String fieldName) {
-
 
26419
        _thriftId = thriftId;
-
 
26420
        _fieldName = fieldName;
-
 
26421
      }
-
 
26422
 
-
 
26423
      public short getThriftFieldId() {
-
 
26424
        return _thriftId;
-
 
26425
      }
-
 
26426
 
-
 
26427
      public String getFieldName() {
-
 
26428
        return _fieldName;
-
 
26429
      }
-
 
26430
    }
-
 
26431
 
-
 
26432
    // isset id assignments
-
 
26433
 
-
 
26434
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
26435
    static {
-
 
26436
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
26437
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
26438
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
26439
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
-
 
26440
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
26441
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrderList_result.class, metaDataMap);
-
 
26442
    }
-
 
26443
 
-
 
26444
    public getOrderList_result() {
-
 
26445
    }
-
 
26446
 
-
 
26447
    public getOrderList_result(
-
 
26448
      List<Order> success)
-
 
26449
    {
-
 
26450
      this();
-
 
26451
      this.success = success;
-
 
26452
    }
-
 
26453
 
-
 
26454
    /**
-
 
26455
     * Performs a deep copy on <i>other</i>.
-
 
26456
     */
-
 
26457
    public getOrderList_result(getOrderList_result other) {
-
 
26458
      if (other.isSetSuccess()) {
-
 
26459
        List<Order> __this__success = new ArrayList<Order>();
-
 
26460
        for (Order other_element : other.success) {
-
 
26461
          __this__success.add(new Order(other_element));
-
 
26462
        }
-
 
26463
        this.success = __this__success;
-
 
26464
      }
-
 
26465
    }
-
 
26466
 
-
 
26467
    public getOrderList_result deepCopy() {
-
 
26468
      return new getOrderList_result(this);
-
 
26469
    }
-
 
26470
 
-
 
26471
    @Override
-
 
26472
    public void clear() {
-
 
26473
      this.success = null;
-
 
26474
    }
-
 
26475
 
-
 
26476
    public int getSuccessSize() {
-
 
26477
      return (this.success == null) ? 0 : this.success.size();
-
 
26478
    }
-
 
26479
 
-
 
26480
    public java.util.Iterator<Order> getSuccessIterator() {
-
 
26481
      return (this.success == null) ? null : this.success.iterator();
-
 
26482
    }
-
 
26483
 
-
 
26484
    public void addToSuccess(Order elem) {
-
 
26485
      if (this.success == null) {
-
 
26486
        this.success = new ArrayList<Order>();
-
 
26487
      }
-
 
26488
      this.success.add(elem);
-
 
26489
    }
-
 
26490
 
-
 
26491
    public List<Order> getSuccess() {
-
 
26492
      return this.success;
-
 
26493
    }
-
 
26494
 
-
 
26495
    public void setSuccess(List<Order> success) {
-
 
26496
      this.success = success;
-
 
26497
    }
-
 
26498
 
-
 
26499
    public void unsetSuccess() {
-
 
26500
      this.success = null;
-
 
26501
    }
-
 
26502
 
-
 
26503
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
26504
    public boolean isSetSuccess() {
-
 
26505
      return this.success != null;
-
 
26506
    }
-
 
26507
 
-
 
26508
    public void setSuccessIsSet(boolean value) {
-
 
26509
      if (!value) {
-
 
26510
        this.success = null;
-
 
26511
      }
-
 
26512
    }
-
 
26513
 
-
 
26514
    public void setFieldValue(_Fields field, Object value) {
-
 
26515
      switch (field) {
-
 
26516
      case SUCCESS:
-
 
26517
        if (value == null) {
-
 
26518
          unsetSuccess();
-
 
26519
        } else {
-
 
26520
          setSuccess((List<Order>)value);
-
 
26521
        }
-
 
26522
        break;
-
 
26523
 
-
 
26524
      }
-
 
26525
    }
-
 
26526
 
-
 
26527
    public Object getFieldValue(_Fields field) {
-
 
26528
      switch (field) {
-
 
26529
      case SUCCESS:
-
 
26530
        return getSuccess();
-
 
26531
 
-
 
26532
      }
-
 
26533
      throw new IllegalStateException();
-
 
26534
    }
-
 
26535
 
-
 
26536
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
26537
    public boolean isSet(_Fields field) {
-
 
26538
      if (field == null) {
-
 
26539
        throw new IllegalArgumentException();
-
 
26540
      }
-
 
26541
 
-
 
26542
      switch (field) {
-
 
26543
      case SUCCESS:
-
 
26544
        return isSetSuccess();
-
 
26545
      }
-
 
26546
      throw new IllegalStateException();
-
 
26547
    }
-
 
26548
 
-
 
26549
    @Override
-
 
26550
    public boolean equals(Object that) {
-
 
26551
      if (that == null)
-
 
26552
        return false;
-
 
26553
      if (that instanceof getOrderList_result)
-
 
26554
        return this.equals((getOrderList_result)that);
-
 
26555
      return false;
-
 
26556
    }
-
 
26557
 
-
 
26558
    public boolean equals(getOrderList_result that) {
-
 
26559
      if (that == null)
-
 
26560
        return false;
-
 
26561
 
-
 
26562
      boolean this_present_success = true && this.isSetSuccess();
-
 
26563
      boolean that_present_success = true && that.isSetSuccess();
-
 
26564
      if (this_present_success || that_present_success) {
-
 
26565
        if (!(this_present_success && that_present_success))
-
 
26566
          return false;
-
 
26567
        if (!this.success.equals(that.success))
-
 
26568
          return false;
-
 
26569
      }
-
 
26570
 
-
 
26571
      return true;
-
 
26572
    }
-
 
26573
 
-
 
26574
    @Override
-
 
26575
    public int hashCode() {
-
 
26576
      return 0;
-
 
26577
    }
-
 
26578
 
-
 
26579
    public int compareTo(getOrderList_result other) {
-
 
26580
      if (!getClass().equals(other.getClass())) {
-
 
26581
        return getClass().getName().compareTo(other.getClass().getName());
-
 
26582
      }
-
 
26583
 
-
 
26584
      int lastComparison = 0;
-
 
26585
      getOrderList_result typedOther = (getOrderList_result)other;
-
 
26586
 
-
 
26587
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
26588
      if (lastComparison != 0) {
-
 
26589
        return lastComparison;
-
 
26590
      }
-
 
26591
      if (isSetSuccess()) {
-
 
26592
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
26593
        if (lastComparison != 0) {
-
 
26594
          return lastComparison;
-
 
26595
        }
-
 
26596
      }
-
 
26597
      return 0;
-
 
26598
    }
-
 
26599
 
-
 
26600
    public _Fields fieldForId(int fieldId) {
-
 
26601
      return _Fields.findByThriftId(fieldId);
-
 
26602
    }
-
 
26603
 
-
 
26604
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
26605
      org.apache.thrift.protocol.TField field;
-
 
26606
      iprot.readStructBegin();
-
 
26607
      while (true)
-
 
26608
      {
-
 
26609
        field = iprot.readFieldBegin();
-
 
26610
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
26611
          break;
-
 
26612
        }
-
 
26613
        switch (field.id) {
-
 
26614
          case 0: // SUCCESS
-
 
26615
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
26616
              {
-
 
26617
                org.apache.thrift.protocol.TList _list96 = iprot.readListBegin();
-
 
26618
                this.success = new ArrayList<Order>(_list96.size);
-
 
26619
                for (int _i97 = 0; _i97 < _list96.size; ++_i97)
-
 
26620
                {
-
 
26621
                  Order _elem98; // required
-
 
26622
                  _elem98 = new Order();
-
 
26623
                  _elem98.read(iprot);
-
 
26624
                  this.success.add(_elem98);
-
 
26625
                }
-
 
26626
                iprot.readListEnd();
-
 
26627
              }
-
 
26628
            } else { 
-
 
26629
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
26630
            }
-
 
26631
            break;
-
 
26632
          default:
-
 
26633
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
26634
        }
-
 
26635
        iprot.readFieldEnd();
-
 
26636
      }
-
 
26637
      iprot.readStructEnd();
-
 
26638
      validate();
-
 
26639
    }
-
 
26640
 
-
 
26641
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
26642
      oprot.writeStructBegin(STRUCT_DESC);
-
 
26643
 
-
 
26644
      if (this.isSetSuccess()) {
-
 
26645
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
26646
        {
-
 
26647
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
26648
          for (Order _iter99 : this.success)
-
 
26649
          {
-
 
26650
            _iter99.write(oprot);
-
 
26651
          }
-
 
26652
          oprot.writeListEnd();
-
 
26653
        }
-
 
26654
        oprot.writeFieldEnd();
-
 
26655
      }
-
 
26656
      oprot.writeFieldStop();
-
 
26657
      oprot.writeStructEnd();
-
 
26658
    }
-
 
26659
 
-
 
26660
    @Override
-
 
26661
    public String toString() {
-
 
26662
      StringBuilder sb = new StringBuilder("getOrderList_result(");
-
 
26663
      boolean first = true;
-
 
26664
 
-
 
26665
      sb.append("success:");
-
 
26666
      if (this.success == null) {
-
 
26667
        sb.append("null");
-
 
26668
      } else {
-
 
26669
        sb.append(this.success);
-
 
26670
      }
-
 
26671
      first = false;
-
 
26672
      sb.append(")");
-
 
26673
      return sb.toString();
-
 
26674
    }
-
 
26675
 
-
 
26676
    public void validate() throws org.apache.thrift.TException {
-
 
26677
      // check for required fields
-
 
26678
    }
-
 
26679
 
-
 
26680
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
26681
      try {
-
 
26682
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
26683
      } catch (org.apache.thrift.TException te) {
-
 
26684
        throw new java.io.IOException(te);
-
 
26685
      }
-
 
26686
    }
-
 
26687
 
-
 
26688
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
26689
      try {
-
 
26690
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
26691
      } catch (org.apache.thrift.TException te) {
-
 
26692
        throw new java.io.IOException(te);
-
 
26693
      }
-
 
26694
    }
-
 
26695
 
-
 
26696
  }
-
 
26697
 
25960
  public static class getOrderForCustomer_args implements org.apache.thrift.TBase<getOrderForCustomer_args, getOrderForCustomer_args._Fields>, java.io.Serializable, Cloneable   {
26698
  public static class getOrderForCustomer_args implements org.apache.thrift.TBase<getOrderForCustomer_args, getOrderForCustomer_args._Fields>, java.io.Serializable, Cloneable   {
25961
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrderForCustomer_args");
26699
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrderForCustomer_args");
25962
 
26700
 
25963
    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);
26701
    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);
25964
    private static final org.apache.thrift.protocol.TField CUSTOMER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("customerId", org.apache.thrift.protocol.TType.I64, (short)2);
26702
    private static final org.apache.thrift.protocol.TField CUSTOMER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("customerId", org.apache.thrift.protocol.TType.I64, (short)2);
Line 27505... Line 28243...
27505
        }
28243
        }
27506
        switch (field.id) {
28244
        switch (field.id) {
27507
          case 0: // SUCCESS
28245
          case 0: // SUCCESS
27508
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28246
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
27509
              {
28247
              {
27510
                org.apache.thrift.protocol.TList _list92 = iprot.readListBegin();
28248
                org.apache.thrift.protocol.TList _list100 = iprot.readListBegin();
27511
                this.success = new ArrayList<Alert>(_list92.size);
28249
                this.success = new ArrayList<Alert>(_list100.size);
27512
                for (int _i93 = 0; _i93 < _list92.size; ++_i93)
28250
                for (int _i101 = 0; _i101 < _list100.size; ++_i101)
27513
                {
28251
                {
27514
                  Alert _elem94; // required
28252
                  Alert _elem102; // required
27515
                  _elem94 = new Alert();
28253
                  _elem102 = new Alert();
27516
                  _elem94.read(iprot);
28254
                  _elem102.read(iprot);
27517
                  this.success.add(_elem94);
28255
                  this.success.add(_elem102);
27518
                }
28256
                }
27519
                iprot.readListEnd();
28257
                iprot.readListEnd();
27520
              }
28258
              }
27521
            } else { 
28259
            } else { 
27522
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
28260
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 27536... Line 28274...
27536
 
28274
 
27537
      if (this.isSetSuccess()) {
28275
      if (this.isSetSuccess()) {
27538
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
28276
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
27539
        {
28277
        {
27540
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
28278
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
27541
          for (Alert _iter95 : this.success)
28279
          for (Alert _iter103 : this.success)
27542
          {
28280
          {
27543
            _iter95.write(oprot);
28281
            _iter103.write(oprot);
27544
          }
28282
          }
27545
          oprot.writeListEnd();
28283
          oprot.writeListEnd();
27546
        }
28284
        }
27547
        oprot.writeFieldEnd();
28285
        oprot.writeFieldEnd();
27548
      }
28286
      }
Line 30179... Line 30917...
30179
        }
30917
        }
30180
        switch (field.id) {
30918
        switch (field.id) {
30181
          case 0: // SUCCESS
30919
          case 0: // SUCCESS
30182
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
30920
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
30183
              {
30921
              {
30184
                org.apache.thrift.protocol.TList _list96 = iprot.readListBegin();
30922
                org.apache.thrift.protocol.TList _list104 = iprot.readListBegin();
30185
                this.success = new ArrayList<Double>(_list96.size);
30923
                this.success = new ArrayList<Double>(_list104.size);
30186
                for (int _i97 = 0; _i97 < _list96.size; ++_i97)
30924
                for (int _i105 = 0; _i105 < _list104.size; ++_i105)
30187
                {
30925
                {
30188
                  double _elem98; // required
30926
                  double _elem106; // required
30189
                  _elem98 = iprot.readDouble();
30927
                  _elem106 = iprot.readDouble();
30190
                  this.success.add(_elem98);
30928
                  this.success.add(_elem106);
30191
                }
30929
                }
30192
                iprot.readListEnd();
30930
                iprot.readListEnd();
30193
              }
30931
              }
30194
            } else { 
30932
            } else { 
30195
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
30933
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 30209... Line 30947...
30209
 
30947
 
30210
      if (this.isSetSuccess()) {
30948
      if (this.isSetSuccess()) {
30211
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
30949
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
30212
        {
30950
        {
30213
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.DOUBLE, this.success.size()));
30951
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.DOUBLE, this.success.size()));
30214
          for (double _iter99 : this.success)
30952
          for (double _iter107 : this.success)
30215
          {
30953
          {
30216
            oprot.writeDouble(_iter99);
30954
            oprot.writeDouble(_iter107);
30217
          }
30955
          }
30218
          oprot.writeListEnd();
30956
          oprot.writeListEnd();
30219
        }
30957
        }
30220
        oprot.writeFieldEnd();
30958
        oprot.writeFieldEnd();
30221
      }
30959
      }
Line 30801... Line 31539...
30801
        }
31539
        }
30802
        switch (field.id) {
31540
        switch (field.id) {
30803
          case 0: // SUCCESS
31541
          case 0: // SUCCESS
30804
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
31542
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
30805
              {
31543
              {
30806
                org.apache.thrift.protocol.TList _list100 = iprot.readListBegin();
31544
                org.apache.thrift.protocol.TList _list108 = iprot.readListBegin();
30807
                this.success = new ArrayList<Order>(_list100.size);
31545
                this.success = new ArrayList<Order>(_list108.size);
30808
                for (int _i101 = 0; _i101 < _list100.size; ++_i101)
31546
                for (int _i109 = 0; _i109 < _list108.size; ++_i109)
30809
                {
31547
                {
30810
                  Order _elem102; // required
31548
                  Order _elem110; // required
30811
                  _elem102 = new Order();
31549
                  _elem110 = new Order();
30812
                  _elem102.read(iprot);
31550
                  _elem110.read(iprot);
30813
                  this.success.add(_elem102);
31551
                  this.success.add(_elem110);
30814
                }
31552
                }
30815
                iprot.readListEnd();
31553
                iprot.readListEnd();
30816
              }
31554
              }
30817
            } else { 
31555
            } else { 
30818
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
31556
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 30832... Line 31570...
30832
 
31570
 
30833
      if (this.isSetSuccess()) {
31571
      if (this.isSetSuccess()) {
30834
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
31572
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
30835
        {
31573
        {
30836
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
31574
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
30837
          for (Order _iter103 : this.success)
31575
          for (Order _iter111 : this.success)
30838
          {
31576
          {
30839
            _iter103.write(oprot);
31577
            _iter111.write(oprot);
30840
          }
31578
          }
30841
          oprot.writeListEnd();
31579
          oprot.writeListEnd();
30842
        }
31580
        }
30843
        oprot.writeFieldEnd();
31581
        oprot.writeFieldEnd();
30844
      }
31582
      }
Line 31494... Line 32232...
31494
        }
32232
        }
31495
        switch (field.id) {
32233
        switch (field.id) {
31496
          case 0: // SUCCESS
32234
          case 0: // SUCCESS
31497
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
32235
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
31498
              {
32236
              {
31499
                org.apache.thrift.protocol.TList _list104 = iprot.readListBegin();
32237
                org.apache.thrift.protocol.TList _list112 = iprot.readListBegin();
31500
                this.success = new ArrayList<Order>(_list104.size);
32238
                this.success = new ArrayList<Order>(_list112.size);
31501
                for (int _i105 = 0; _i105 < _list104.size; ++_i105)
32239
                for (int _i113 = 0; _i113 < _list112.size; ++_i113)
31502
                {
32240
                {
31503
                  Order _elem106; // required
32241
                  Order _elem114; // required
31504
                  _elem106 = new Order();
32242
                  _elem114 = new Order();
31505
                  _elem106.read(iprot);
32243
                  _elem114.read(iprot);
31506
                  this.success.add(_elem106);
32244
                  this.success.add(_elem114);
31507
                }
32245
                }
31508
                iprot.readListEnd();
32246
                iprot.readListEnd();
31509
              }
32247
              }
31510
            } else { 
32248
            } else { 
31511
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
32249
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 31533... Line 32271...
31533
 
32271
 
31534
      if (this.isSetSuccess()) {
32272
      if (this.isSetSuccess()) {
31535
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32273
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
31536
        {
32274
        {
31537
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
32275
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
31538
          for (Order _iter107 : this.success)
32276
          for (Order _iter115 : this.success)
31539
          {
32277
          {
31540
            _iter107.write(oprot);
32278
            _iter115.write(oprot);
31541
          }
32279
          }
31542
          oprot.writeListEnd();
32280
          oprot.writeListEnd();
31543
        }
32281
        }
31544
        oprot.writeFieldEnd();
32282
        oprot.writeFieldEnd();
31545
      } else if (this.isSetEx()) {
32283
      } else if (this.isSetEx()) {
Line 36216... Line 36954...
36216
            }
36954
            }
36217
            break;
36955
            break;
36218
          case 4: // ORDER_IDS
36956
          case 4: // ORDER_IDS
36219
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
36957
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
36220
              {
36958
              {
36221
                org.apache.thrift.protocol.TList _list108 = iprot.readListBegin();
36959
                org.apache.thrift.protocol.TList _list116 = iprot.readListBegin();
36222
                this.orderIds = new ArrayList<Long>(_list108.size);
36960
                this.orderIds = new ArrayList<Long>(_list116.size);
36223
                for (int _i109 = 0; _i109 < _list108.size; ++_i109)
36961
                for (int _i117 = 0; _i117 < _list116.size; ++_i117)
36224
                {
36962
                {
36225
                  long _elem110; // required
36963
                  long _elem118; // required
36226
                  _elem110 = iprot.readI64();
36964
                  _elem118 = iprot.readI64();
36227
                  this.orderIds.add(_elem110);
36965
                  this.orderIds.add(_elem118);
36228
                }
36966
                }
36229
                iprot.readListEnd();
36967
                iprot.readListEnd();
36230
              }
36968
              }
36231
            } else { 
36969
            } else { 
36232
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
36970
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 36256... Line 36994...
36256
      oprot.writeFieldEnd();
36994
      oprot.writeFieldEnd();
36257
      if (this.orderIds != null) {
36995
      if (this.orderIds != null) {
36258
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
36996
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
36259
        {
36997
        {
36260
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
36998
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
36261
          for (long _iter111 : this.orderIds)
36999
          for (long _iter119 : this.orderIds)
36262
          {
37000
          {
36263
            oprot.writeI64(_iter111);
37001
            oprot.writeI64(_iter119);
36264
          }
37002
          }
36265
          oprot.writeListEnd();
37003
          oprot.writeListEnd();
36266
        }
37004
        }
36267
        oprot.writeFieldEnd();
37005
        oprot.writeFieldEnd();
36268
      }
37006
      }
Line 37033... Line 37771...
37033
            }
37771
            }
37034
            break;
37772
            break;
37035
          case 2: // PICKUP_DETAILS
37773
          case 2: // PICKUP_DETAILS
37036
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
37774
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
37037
              {
37775
              {
37038
                org.apache.thrift.protocol.TMap _map112 = iprot.readMapBegin();
37776
                org.apache.thrift.protocol.TMap _map120 = iprot.readMapBegin();
37039
                this.pickupDetails = new HashMap<String,String>(2*_map112.size);
37777
                this.pickupDetails = new HashMap<String,String>(2*_map120.size);
37040
                for (int _i113 = 0; _i113 < _map112.size; ++_i113)
37778
                for (int _i121 = 0; _i121 < _map120.size; ++_i121)
37041
                {
37779
                {
37042
                  String _key114; // required
37780
                  String _key122; // required
37043
                  String _val115; // required
37781
                  String _val123; // required
37044
                  _key114 = iprot.readString();
37782
                  _key122 = iprot.readString();
37045
                  _val115 = iprot.readString();
37783
                  _val123 = iprot.readString();
37046
                  this.pickupDetails.put(_key114, _val115);
37784
                  this.pickupDetails.put(_key122, _val123);
37047
                }
37785
                }
37048
                iprot.readMapEnd();
37786
                iprot.readMapEnd();
37049
              }
37787
              }
37050
            } else { 
37788
            } else { 
37051
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
37789
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 37069... Line 37807...
37069
      oprot.writeFieldEnd();
37807
      oprot.writeFieldEnd();
37070
      if (this.pickupDetails != null) {
37808
      if (this.pickupDetails != null) {
37071
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
37809
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
37072
        {
37810
        {
37073
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
37811
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
37074
          for (Map.Entry<String, String> _iter116 : this.pickupDetails.entrySet())
37812
          for (Map.Entry<String, String> _iter124 : this.pickupDetails.entrySet())
37075
          {
37813
          {
37076
            oprot.writeString(_iter116.getKey());
37814
            oprot.writeString(_iter124.getKey());
37077
            oprot.writeString(_iter116.getValue());
37815
            oprot.writeString(_iter124.getValue());
37078
          }
37816
          }
37079
          oprot.writeMapEnd();
37817
          oprot.writeMapEnd();
37080
        }
37818
        }
37081
        oprot.writeFieldEnd();
37819
        oprot.writeFieldEnd();
37082
      }
37820
      }
Line 37962... Line 38700...
37962
        }
38700
        }
37963
        switch (field.id) {
38701
        switch (field.id) {
37964
          case 0: // SUCCESS
38702
          case 0: // SUCCESS
37965
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38703
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37966
              {
38704
              {
37967
                org.apache.thrift.protocol.TList _list117 = iprot.readListBegin();
38705
                org.apache.thrift.protocol.TList _list125 = iprot.readListBegin();
37968
                this.success = new ArrayList<Order>(_list117.size);
38706
                this.success = new ArrayList<Order>(_list125.size);
37969
                for (int _i118 = 0; _i118 < _list117.size; ++_i118)
38707
                for (int _i126 = 0; _i126 < _list125.size; ++_i126)
37970
                {
38708
                {
37971
                  Order _elem119; // required
38709
                  Order _elem127; // required
37972
                  _elem119 = new Order();
38710
                  _elem127 = new Order();
37973
                  _elem119.read(iprot);
38711
                  _elem127.read(iprot);
37974
                  this.success.add(_elem119);
38712
                  this.success.add(_elem127);
37975
                }
38713
                }
37976
                iprot.readListEnd();
38714
                iprot.readListEnd();
37977
              }
38715
              }
37978
            } else { 
38716
            } else { 
37979
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
38717
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 37993... Line 38731...
37993
 
38731
 
37994
      if (this.isSetSuccess()) {
38732
      if (this.isSetSuccess()) {
37995
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
38733
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
37996
        {
38734
        {
37997
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
38735
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
37998
          for (Order _iter120 : this.success)
38736
          for (Order _iter128 : this.success)
37999
          {
38737
          {
38000
            _iter120.write(oprot);
38738
            _iter128.write(oprot);
38001
          }
38739
          }
38002
          oprot.writeListEnd();
38740
          oprot.writeListEnd();
38003
        }
38741
        }
38004
        oprot.writeFieldEnd();
38742
        oprot.writeFieldEnd();
38005
      }
38743
      }
Line 38377... Line 39115...
38377
            }
39115
            }
38378
            break;
39116
            break;
38379
          case 2: // DELIVERED_ORDERS
39117
          case 2: // DELIVERED_ORDERS
38380
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
39118
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
38381
              {
39119
              {
38382
                org.apache.thrift.protocol.TMap _map121 = iprot.readMapBegin();
39120
                org.apache.thrift.protocol.TMap _map129 = iprot.readMapBegin();
38383
                this.deliveredOrders = new HashMap<String,String>(2*_map121.size);
39121
                this.deliveredOrders = new HashMap<String,String>(2*_map129.size);
38384
                for (int _i122 = 0; _i122 < _map121.size; ++_i122)
39122
                for (int _i130 = 0; _i130 < _map129.size; ++_i130)
38385
                {
39123
                {
38386
                  String _key123; // required
39124
                  String _key131; // required
38387
                  String _val124; // required
39125
                  String _val132; // required
38388
                  _key123 = iprot.readString();
39126
                  _key131 = iprot.readString();
38389
                  _val124 = iprot.readString();
39127
                  _val132 = iprot.readString();
38390
                  this.deliveredOrders.put(_key123, _val124);
39128
                  this.deliveredOrders.put(_key131, _val132);
38391
                }
39129
                }
38392
                iprot.readMapEnd();
39130
                iprot.readMapEnd();
38393
              }
39131
              }
38394
            } else { 
39132
            } else { 
38395
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
39133
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 38413... Line 39151...
38413
      oprot.writeFieldEnd();
39151
      oprot.writeFieldEnd();
38414
      if (this.deliveredOrders != null) {
39152
      if (this.deliveredOrders != null) {
38415
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
39153
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
38416
        {
39154
        {
38417
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.deliveredOrders.size()));
39155
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.deliveredOrders.size()));
38418
          for (Map.Entry<String, String> _iter125 : this.deliveredOrders.entrySet())
39156
          for (Map.Entry<String, String> _iter133 : this.deliveredOrders.entrySet())
38419
          {
39157
          {
38420
            oprot.writeString(_iter125.getKey());
39158
            oprot.writeString(_iter133.getKey());
38421
            oprot.writeString(_iter125.getValue());
39159
            oprot.writeString(_iter133.getValue());
38422
          }
39160
          }
38423
          oprot.writeMapEnd();
39161
          oprot.writeMapEnd();
38424
        }
39162
        }
38425
        oprot.writeFieldEnd();
39163
        oprot.writeFieldEnd();
38426
      }
39164
      }
Line 39096... Line 39834...
39096
            }
39834
            }
39097
            break;
39835
            break;
39098
          case 2: // RETURNED_ORDERS
39836
          case 2: // RETURNED_ORDERS
39099
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
39837
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
39100
              {
39838
              {
39101
                org.apache.thrift.protocol.TMap _map126 = iprot.readMapBegin();
39839
                org.apache.thrift.protocol.TMap _map134 = iprot.readMapBegin();
39102
                this.returnedOrders = new HashMap<String,String>(2*_map126.size);
39840
                this.returnedOrders = new HashMap<String,String>(2*_map134.size);
39103
                for (int _i127 = 0; _i127 < _map126.size; ++_i127)
39841
                for (int _i135 = 0; _i135 < _map134.size; ++_i135)
39104
                {
39842
                {
39105
                  String _key128; // required
39843
                  String _key136; // required
39106
                  String _val129; // required
39844
                  String _val137; // required
39107
                  _key128 = iprot.readString();
39845
                  _key136 = iprot.readString();
39108
                  _val129 = iprot.readString();
39846
                  _val137 = iprot.readString();
39109
                  this.returnedOrders.put(_key128, _val129);
39847
                  this.returnedOrders.put(_key136, _val137);
39110
                }
39848
                }
39111
                iprot.readMapEnd();
39849
                iprot.readMapEnd();
39112
              }
39850
              }
39113
            } else { 
39851
            } else { 
39114
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
39852
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 39132... Line 39870...
39132
      oprot.writeFieldEnd();
39870
      oprot.writeFieldEnd();
39133
      if (this.returnedOrders != null) {
39871
      if (this.returnedOrders != null) {
39134
        oprot.writeFieldBegin(RETURNED_ORDERS_FIELD_DESC);
39872
        oprot.writeFieldBegin(RETURNED_ORDERS_FIELD_DESC);
39135
        {
39873
        {
39136
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.returnedOrders.size()));
39874
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.returnedOrders.size()));
39137
          for (Map.Entry<String, String> _iter130 : this.returnedOrders.entrySet())
39875
          for (Map.Entry<String, String> _iter138 : this.returnedOrders.entrySet())
39138
          {
39876
          {
39139
            oprot.writeString(_iter130.getKey());
39877
            oprot.writeString(_iter138.getKey());
39140
            oprot.writeString(_iter130.getValue());
39878
            oprot.writeString(_iter138.getValue());
39141
          }
39879
          }
39142
          oprot.writeMapEnd();
39880
          oprot.writeMapEnd();
39143
        }
39881
        }
39144
        oprot.writeFieldEnd();
39882
        oprot.writeFieldEnd();
39145
      }
39883
      }
Line 40025... Line 40763...
40025
        }
40763
        }
40026
        switch (field.id) {
40764
        switch (field.id) {
40027
          case 0: // SUCCESS
40765
          case 0: // SUCCESS
40028
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40766
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40029
              {
40767
              {
40030
                org.apache.thrift.protocol.TList _list131 = iprot.readListBegin();
40768
                org.apache.thrift.protocol.TList _list139 = iprot.readListBegin();
40031
                this.success = new ArrayList<Order>(_list131.size);
40769
                this.success = new ArrayList<Order>(_list139.size);
40032
                for (int _i132 = 0; _i132 < _list131.size; ++_i132)
40770
                for (int _i140 = 0; _i140 < _list139.size; ++_i140)
40033
                {
40771
                {
40034
                  Order _elem133; // required
40772
                  Order _elem141; // required
40035
                  _elem133 = new Order();
40773
                  _elem141 = new Order();
40036
                  _elem133.read(iprot);
40774
                  _elem141.read(iprot);
40037
                  this.success.add(_elem133);
40775
                  this.success.add(_elem141);
40038
                }
40776
                }
40039
                iprot.readListEnd();
40777
                iprot.readListEnd();
40040
              }
40778
              }
40041
            } else { 
40779
            } else { 
40042
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40780
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40056... Line 40794...
40056
 
40794
 
40057
      if (this.isSetSuccess()) {
40795
      if (this.isSetSuccess()) {
40058
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40796
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40059
        {
40797
        {
40060
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
40798
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
40061
          for (Order _iter134 : this.success)
40799
          for (Order _iter142 : this.success)
40062
          {
40800
          {
40063
            _iter134.write(oprot);
40801
            _iter142.write(oprot);
40064
          }
40802
          }
40065
          oprot.writeListEnd();
40803
          oprot.writeListEnd();
40066
        }
40804
        }
40067
        oprot.writeFieldEnd();
40805
        oprot.writeFieldEnd();
40068
      }
40806
      }
Line 40440... Line 41178...
40440
            }
41178
            }
40441
            break;
41179
            break;
40442
          case 2: // UNDELIVERED_ORDERS
41180
          case 2: // UNDELIVERED_ORDERS
40443
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
41181
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
40444
              {
41182
              {
40445
                org.apache.thrift.protocol.TMap _map135 = iprot.readMapBegin();
41183
                org.apache.thrift.protocol.TMap _map143 = iprot.readMapBegin();
40446
                this.undeliveredOrders = new HashMap<String,String>(2*_map135.size);
41184
                this.undeliveredOrders = new HashMap<String,String>(2*_map143.size);
40447
                for (int _i136 = 0; _i136 < _map135.size; ++_i136)
41185
                for (int _i144 = 0; _i144 < _map143.size; ++_i144)
40448
                {
41186
                {
40449
                  String _key137; // required
41187
                  String _key145; // required
40450
                  String _val138; // required
41188
                  String _val146; // required
40451
                  _key137 = iprot.readString();
41189
                  _key145 = iprot.readString();
40452
                  _val138 = iprot.readString();
41190
                  _val146 = iprot.readString();
40453
                  this.undeliveredOrders.put(_key137, _val138);
41191
                  this.undeliveredOrders.put(_key145, _val146);
40454
                }
41192
                }
40455
                iprot.readMapEnd();
41193
                iprot.readMapEnd();
40456
              }
41194
              }
40457
            } else { 
41195
            } else { 
40458
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41196
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40476... Line 41214...
40476
      oprot.writeFieldEnd();
41214
      oprot.writeFieldEnd();
40477
      if (this.undeliveredOrders != null) {
41215
      if (this.undeliveredOrders != null) {
40478
        oprot.writeFieldBegin(UNDELIVERED_ORDERS_FIELD_DESC);
41216
        oprot.writeFieldBegin(UNDELIVERED_ORDERS_FIELD_DESC);
40479
        {
41217
        {
40480
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.undeliveredOrders.size()));
41218
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.undeliveredOrders.size()));
40481
          for (Map.Entry<String, String> _iter139 : this.undeliveredOrders.entrySet())
41219
          for (Map.Entry<String, String> _iter147 : this.undeliveredOrders.entrySet())
40482
          {
41220
          {
40483
            oprot.writeString(_iter139.getKey());
41221
            oprot.writeString(_iter147.getKey());
40484
            oprot.writeString(_iter139.getValue());
41222
            oprot.writeString(_iter147.getValue());
40485
          }
41223
          }
40486
          oprot.writeMapEnd();
41224
          oprot.writeMapEnd();
40487
        }
41225
        }
40488
        oprot.writeFieldEnd();
41226
        oprot.writeFieldEnd();
40489
      }
41227
      }
Line 41369... Line 42107...
41369
        }
42107
        }
41370
        switch (field.id) {
42108
        switch (field.id) {
41371
          case 0: // SUCCESS
42109
          case 0: // SUCCESS
41372
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42110
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41373
              {
42111
              {
41374
                org.apache.thrift.protocol.TList _list140 = iprot.readListBegin();
42112
                org.apache.thrift.protocol.TList _list148 = iprot.readListBegin();
41375
                this.success = new ArrayList<Order>(_list140.size);
42113
                this.success = new ArrayList<Order>(_list148.size);
41376
                for (int _i141 = 0; _i141 < _list140.size; ++_i141)
42114
                for (int _i149 = 0; _i149 < _list148.size; ++_i149)
41377
                {
42115
                {
41378
                  Order _elem142; // required
42116
                  Order _elem150; // required
41379
                  _elem142 = new Order();
42117
                  _elem150 = new Order();
41380
                  _elem142.read(iprot);
42118
                  _elem150.read(iprot);
41381
                  this.success.add(_elem142);
42119
                  this.success.add(_elem150);
41382
                }
42120
                }
41383
                iprot.readListEnd();
42121
                iprot.readListEnd();
41384
              }
42122
              }
41385
            } else { 
42123
            } else { 
41386
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42124
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41400... Line 42138...
41400
 
42138
 
41401
      if (this.isSetSuccess()) {
42139
      if (this.isSetSuccess()) {
41402
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42140
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41403
        {
42141
        {
41404
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42142
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41405
          for (Order _iter143 : this.success)
42143
          for (Order _iter151 : this.success)
41406
          {
42144
          {
41407
            _iter143.write(oprot);
42145
            _iter151.write(oprot);
41408
          }
42146
          }
41409
          oprot.writeListEnd();
42147
          oprot.writeListEnd();
41410
        }
42148
        }
41411
        oprot.writeFieldEnd();
42149
        oprot.writeFieldEnd();
41412
      }
42150
      }
Line 41784... Line 42522...
41784
            }
42522
            }
41785
            break;
42523
            break;
41786
          case 2: // LOCAL_CONNECTED_ORDERS
42524
          case 2: // LOCAL_CONNECTED_ORDERS
41787
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
42525
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
41788
              {
42526
              {
41789
                org.apache.thrift.protocol.TMap _map144 = iprot.readMapBegin();
42527
                org.apache.thrift.protocol.TMap _map152 = iprot.readMapBegin();
41790
                this.local_connected_orders = new HashMap<String,String>(2*_map144.size);
42528
                this.local_connected_orders = new HashMap<String,String>(2*_map152.size);
41791
                for (int _i145 = 0; _i145 < _map144.size; ++_i145)
42529
                for (int _i153 = 0; _i153 < _map152.size; ++_i153)
41792
                {
42530
                {
41793
                  String _key146; // required
42531
                  String _key154; // required
41794
                  String _val147; // required
42532
                  String _val155; // required
41795
                  _key146 = iprot.readString();
42533
                  _key154 = iprot.readString();
41796
                  _val147 = iprot.readString();
42534
                  _val155 = iprot.readString();
41797
                  this.local_connected_orders.put(_key146, _val147);
42535
                  this.local_connected_orders.put(_key154, _val155);
41798
                }
42536
                }
41799
                iprot.readMapEnd();
42537
                iprot.readMapEnd();
41800
              }
42538
              }
41801
            } else { 
42539
            } else { 
41802
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42540
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41820... Line 42558...
41820
      oprot.writeFieldEnd();
42558
      oprot.writeFieldEnd();
41821
      if (this.local_connected_orders != null) {
42559
      if (this.local_connected_orders != null) {
41822
        oprot.writeFieldBegin(LOCAL_CONNECTED_ORDERS_FIELD_DESC);
42560
        oprot.writeFieldBegin(LOCAL_CONNECTED_ORDERS_FIELD_DESC);
41823
        {
42561
        {
41824
          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()));
42562
          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()));
41825
          for (Map.Entry<String, String> _iter148 : this.local_connected_orders.entrySet())
42563
          for (Map.Entry<String, String> _iter156 : this.local_connected_orders.entrySet())
41826
          {
42564
          {
41827
            oprot.writeString(_iter148.getKey());
42565
            oprot.writeString(_iter156.getKey());
41828
            oprot.writeString(_iter148.getValue());
42566
            oprot.writeString(_iter156.getValue());
41829
          }
42567
          }
41830
          oprot.writeMapEnd();
42568
          oprot.writeMapEnd();
41831
        }
42569
        }
41832
        oprot.writeFieldEnd();
42570
        oprot.writeFieldEnd();
41833
      }
42571
      }
Line 42713... Line 43451...
42713
        }
43451
        }
42714
        switch (field.id) {
43452
        switch (field.id) {
42715
          case 0: // SUCCESS
43453
          case 0: // SUCCESS
42716
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43454
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42717
              {
43455
              {
42718
                org.apache.thrift.protocol.TList _list149 = iprot.readListBegin();
43456
                org.apache.thrift.protocol.TList _list157 = iprot.readListBegin();
42719
                this.success = new ArrayList<Order>(_list149.size);
43457
                this.success = new ArrayList<Order>(_list157.size);
42720
                for (int _i150 = 0; _i150 < _list149.size; ++_i150)
43458
                for (int _i158 = 0; _i158 < _list157.size; ++_i158)
42721
                {
43459
                {
42722
                  Order _elem151; // required
43460
                  Order _elem159; // required
42723
                  _elem151 = new Order();
43461
                  _elem159 = new Order();
42724
                  _elem151.read(iprot);
43462
                  _elem159.read(iprot);
42725
                  this.success.add(_elem151);
43463
                  this.success.add(_elem159);
42726
                }
43464
                }
42727
                iprot.readListEnd();
43465
                iprot.readListEnd();
42728
              }
43466
              }
42729
            } else { 
43467
            } else { 
42730
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43468
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42744... Line 43482...
42744
 
43482
 
42745
      if (this.isSetSuccess()) {
43483
      if (this.isSetSuccess()) {
42746
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43484
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42747
        {
43485
        {
42748
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
43486
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42749
          for (Order _iter152 : this.success)
43487
          for (Order _iter160 : this.success)
42750
          {
43488
          {
42751
            _iter152.write(oprot);
43489
            _iter160.write(oprot);
42752
          }
43490
          }
42753
          oprot.writeListEnd();
43491
          oprot.writeListEnd();
42754
        }
43492
        }
42755
        oprot.writeFieldEnd();
43493
        oprot.writeFieldEnd();
42756
      }
43494
      }
Line 43128... Line 43866...
43128
            }
43866
            }
43129
            break;
43867
            break;
43130
          case 2: // DESTINATION_CITY_REACHED_ORDERS
43868
          case 2: // DESTINATION_CITY_REACHED_ORDERS
43131
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
43869
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
43132
              {
43870
              {
43133
                org.apache.thrift.protocol.TMap _map153 = iprot.readMapBegin();
43871
                org.apache.thrift.protocol.TMap _map161 = iprot.readMapBegin();
43134
                this.destination_city_reached_orders = new HashMap<String,String>(2*_map153.size);
43872
                this.destination_city_reached_orders = new HashMap<String,String>(2*_map161.size);
43135
                for (int _i154 = 0; _i154 < _map153.size; ++_i154)
43873
                for (int _i162 = 0; _i162 < _map161.size; ++_i162)
43136
                {
43874
                {
43137
                  String _key155; // required
43875
                  String _key163; // required
43138
                  String _val156; // required
43876
                  String _val164; // required
43139
                  _key155 = iprot.readString();
43877
                  _key163 = iprot.readString();
43140
                  _val156 = iprot.readString();
43878
                  _val164 = iprot.readString();
43141
                  this.destination_city_reached_orders.put(_key155, _val156);
43879
                  this.destination_city_reached_orders.put(_key163, _val164);
43142
                }
43880
                }
43143
                iprot.readMapEnd();
43881
                iprot.readMapEnd();
43144
              }
43882
              }
43145
            } else { 
43883
            } else { 
43146
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43884
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 43164... Line 43902...
43164
      oprot.writeFieldEnd();
43902
      oprot.writeFieldEnd();
43165
      if (this.destination_city_reached_orders != null) {
43903
      if (this.destination_city_reached_orders != null) {
43166
        oprot.writeFieldBegin(DESTINATION_CITY_REACHED_ORDERS_FIELD_DESC);
43904
        oprot.writeFieldBegin(DESTINATION_CITY_REACHED_ORDERS_FIELD_DESC);
43167
        {
43905
        {
43168
          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()));
43906
          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()));
43169
          for (Map.Entry<String, String> _iter157 : this.destination_city_reached_orders.entrySet())
43907
          for (Map.Entry<String, String> _iter165 : this.destination_city_reached_orders.entrySet())
43170
          {
43908
          {
43171
            oprot.writeString(_iter157.getKey());
43909
            oprot.writeString(_iter165.getKey());
43172
            oprot.writeString(_iter157.getValue());
43910
            oprot.writeString(_iter165.getValue());
43173
          }
43911
          }
43174
          oprot.writeMapEnd();
43912
          oprot.writeMapEnd();
43175
        }
43913
        }
43176
        oprot.writeFieldEnd();
43914
        oprot.writeFieldEnd();
43177
      }
43915
      }
Line 43847... Line 44585...
43847
            }
44585
            }
43848
            break;
44586
            break;
43849
          case 2: // FIRST_ATDL_ORDERS
44587
          case 2: // FIRST_ATDL_ORDERS
43850
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
44588
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
43851
              {
44589
              {
43852
                org.apache.thrift.protocol.TMap _map158 = iprot.readMapBegin();
44590
                org.apache.thrift.protocol.TMap _map166 = iprot.readMapBegin();
43853
                this.first_atdl_orders = new HashMap<String,String>(2*_map158.size);
44591
                this.first_atdl_orders = new HashMap<String,String>(2*_map166.size);
43854
                for (int _i159 = 0; _i159 < _map158.size; ++_i159)
44592
                for (int _i167 = 0; _i167 < _map166.size; ++_i167)
43855
                {
44593
                {
43856
                  String _key160; // required
44594
                  String _key168; // required
43857
                  String _val161; // required
44595
                  String _val169; // required
43858
                  _key160 = iprot.readString();
44596
                  _key168 = iprot.readString();
43859
                  _val161 = iprot.readString();
44597
                  _val169 = iprot.readString();
43860
                  this.first_atdl_orders.put(_key160, _val161);
44598
                  this.first_atdl_orders.put(_key168, _val169);
43861
                }
44599
                }
43862
                iprot.readMapEnd();
44600
                iprot.readMapEnd();
43863
              }
44601
              }
43864
            } else { 
44602
            } else { 
43865
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44603
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 43883... Line 44621...
43883
      oprot.writeFieldEnd();
44621
      oprot.writeFieldEnd();
43884
      if (this.first_atdl_orders != null) {
44622
      if (this.first_atdl_orders != null) {
43885
        oprot.writeFieldBegin(FIRST_ATDL_ORDERS_FIELD_DESC);
44623
        oprot.writeFieldBegin(FIRST_ATDL_ORDERS_FIELD_DESC);
43886
        {
44624
        {
43887
          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()));
44625
          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()));
43888
          for (Map.Entry<String, String> _iter162 : this.first_atdl_orders.entrySet())
44626
          for (Map.Entry<String, String> _iter170 : this.first_atdl_orders.entrySet())
43889
          {
44627
          {
43890
            oprot.writeString(_iter162.getKey());
44628
            oprot.writeString(_iter170.getKey());
43891
            oprot.writeString(_iter162.getValue());
44629
            oprot.writeString(_iter170.getValue());
43892
          }
44630
          }
43893
          oprot.writeMapEnd();
44631
          oprot.writeMapEnd();
43894
        }
44632
        }
43895
        oprot.writeFieldEnd();
44633
        oprot.writeFieldEnd();
43896
      }
44634
      }
Line 44857... Line 45595...
44857
        }
45595
        }
44858
        switch (field.id) {
45596
        switch (field.id) {
44859
          case 0: // SUCCESS
45597
          case 0: // SUCCESS
44860
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45598
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44861
              {
45599
              {
44862
                org.apache.thrift.protocol.TList _list163 = iprot.readListBegin();
45600
                org.apache.thrift.protocol.TList _list171 = iprot.readListBegin();
44863
                this.success = new ArrayList<Order>(_list163.size);
45601
                this.success = new ArrayList<Order>(_list171.size);
44864
                for (int _i164 = 0; _i164 < _list163.size; ++_i164)
45602
                for (int _i172 = 0; _i172 < _list171.size; ++_i172)
44865
                {
45603
                {
44866
                  Order _elem165; // required
45604
                  Order _elem173; // required
44867
                  _elem165 = new Order();
45605
                  _elem173 = new Order();
44868
                  _elem165.read(iprot);
45606
                  _elem173.read(iprot);
44869
                  this.success.add(_elem165);
45607
                  this.success.add(_elem173);
44870
                }
45608
                }
44871
                iprot.readListEnd();
45609
                iprot.readListEnd();
44872
              }
45610
              }
44873
            } else { 
45611
            } else { 
44874
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45612
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44888... Line 45626...
44888
 
45626
 
44889
      if (this.isSetSuccess()) {
45627
      if (this.isSetSuccess()) {
44890
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45628
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44891
        {
45629
        {
44892
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45630
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
44893
          for (Order _iter166 : this.success)
45631
          for (Order _iter174 : this.success)
44894
          {
45632
          {
44895
            _iter166.write(oprot);
45633
            _iter174.write(oprot);
44896
          }
45634
          }
44897
          oprot.writeListEnd();
45635
          oprot.writeListEnd();
44898
        }
45636
        }
44899
        oprot.writeFieldEnd();
45637
        oprot.writeFieldEnd();
44900
      }
45638
      }
Line 45388... Line 46126...
45388
        }
46126
        }
45389
        switch (field.id) {
46127
        switch (field.id) {
45390
          case 0: // SUCCESS
46128
          case 0: // SUCCESS
45391
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46129
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45392
              {
46130
              {
45393
                org.apache.thrift.protocol.TList _list167 = iprot.readListBegin();
46131
                org.apache.thrift.protocol.TList _list175 = iprot.readListBegin();
45394
                this.success = new ArrayList<Order>(_list167.size);
46132
                this.success = new ArrayList<Order>(_list175.size);
45395
                for (int _i168 = 0; _i168 < _list167.size; ++_i168)
46133
                for (int _i176 = 0; _i176 < _list175.size; ++_i176)
45396
                {
46134
                {
45397
                  Order _elem169; // required
46135
                  Order _elem177; // required
45398
                  _elem169 = new Order();
46136
                  _elem177 = new Order();
45399
                  _elem169.read(iprot);
46137
                  _elem177.read(iprot);
45400
                  this.success.add(_elem169);
46138
                  this.success.add(_elem177);
45401
                }
46139
                }
45402
                iprot.readListEnd();
46140
                iprot.readListEnd();
45403
              }
46141
              }
45404
            } else { 
46142
            } else { 
45405
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46143
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 45419... Line 46157...
45419
 
46157
 
45420
      if (this.isSetSuccess()) {
46158
      if (this.isSetSuccess()) {
45421
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46159
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45422
        {
46160
        {
45423
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46161
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45424
          for (Order _iter170 : this.success)
46162
          for (Order _iter178 : this.success)
45425
          {
46163
          {
45426
            _iter170.write(oprot);
46164
            _iter178.write(oprot);
45427
          }
46165
          }
45428
          oprot.writeListEnd();
46166
          oprot.writeListEnd();
45429
        }
46167
        }
45430
        oprot.writeFieldEnd();
46168
        oprot.writeFieldEnd();
45431
      }
46169
      }
Line 51697... Line 52435...
51697
            }
52435
            }
51698
            break;
52436
            break;
51699
          case 2: // PICKUP_DETAILS
52437
          case 2: // PICKUP_DETAILS
51700
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
52438
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
51701
              {
52439
              {
51702
                org.apache.thrift.protocol.TMap _map171 = iprot.readMapBegin();
52440
                org.apache.thrift.protocol.TMap _map179 = iprot.readMapBegin();
51703
                this.pickupDetails = new HashMap<String,String>(2*_map171.size);
52441
                this.pickupDetails = new HashMap<String,String>(2*_map179.size);
51704
                for (int _i172 = 0; _i172 < _map171.size; ++_i172)
52442
                for (int _i180 = 0; _i180 < _map179.size; ++_i180)
51705
                {
52443
                {
51706
                  String _key173; // required
52444
                  String _key181; // required
51707
                  String _val174; // required
52445
                  String _val182; // required
51708
                  _key173 = iprot.readString();
52446
                  _key181 = iprot.readString();
51709
                  _val174 = iprot.readString();
52447
                  _val182 = iprot.readString();
51710
                  this.pickupDetails.put(_key173, _val174);
52448
                  this.pickupDetails.put(_key181, _val182);
51711
                }
52449
                }
51712
                iprot.readMapEnd();
52450
                iprot.readMapEnd();
51713
              }
52451
              }
51714
            } else { 
52452
            } else { 
51715
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
52453
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 51733... Line 52471...
51733
      oprot.writeFieldEnd();
52471
      oprot.writeFieldEnd();
51734
      if (this.pickupDetails != null) {
52472
      if (this.pickupDetails != null) {
51735
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
52473
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
51736
        {
52474
        {
51737
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
52475
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
51738
          for (Map.Entry<String, String> _iter175 : this.pickupDetails.entrySet())
52476
          for (Map.Entry<String, String> _iter183 : this.pickupDetails.entrySet())
51739
          {
52477
          {
51740
            oprot.writeString(_iter175.getKey());
52478
            oprot.writeString(_iter183.getKey());
51741
            oprot.writeString(_iter175.getValue());
52479
            oprot.writeString(_iter183.getValue());
51742
          }
52480
          }
51743
          oprot.writeMapEnd();
52481
          oprot.writeMapEnd();
51744
        }
52482
        }
51745
        oprot.writeFieldEnd();
52483
        oprot.writeFieldEnd();
51746
      }
52484
      }
Line 52529... Line 53267...
52529
        }
53267
        }
52530
        switch (field.id) {
53268
        switch (field.id) {
52531
          case 0: // SUCCESS
53269
          case 0: // SUCCESS
52532
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53270
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52533
              {
53271
              {
52534
                org.apache.thrift.protocol.TList _list176 = iprot.readListBegin();
53272
                org.apache.thrift.protocol.TList _list184 = iprot.readListBegin();
52535
                this.success = new ArrayList<Order>(_list176.size);
53273
                this.success = new ArrayList<Order>(_list184.size);
52536
                for (int _i177 = 0; _i177 < _list176.size; ++_i177)
53274
                for (int _i185 = 0; _i185 < _list184.size; ++_i185)
52537
                {
53275
                {
52538
                  Order _elem178; // required
53276
                  Order _elem186; // required
52539
                  _elem178 = new Order();
53277
                  _elem186 = new Order();
52540
                  _elem178.read(iprot);
53278
                  _elem186.read(iprot);
52541
                  this.success.add(_elem178);
53279
                  this.success.add(_elem186);
52542
                }
53280
                }
52543
                iprot.readListEnd();
53281
                iprot.readListEnd();
52544
              }
53282
              }
52545
            } else { 
53283
            } else { 
52546
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
53284
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52560... Line 53298...
52560
 
53298
 
52561
      if (this.isSetSuccess()) {
53299
      if (this.isSetSuccess()) {
52562
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53300
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52563
        {
53301
        {
52564
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
53302
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
52565
          for (Order _iter179 : this.success)
53303
          for (Order _iter187 : this.success)
52566
          {
53304
          {
52567
            _iter179.write(oprot);
53305
            _iter187.write(oprot);
52568
          }
53306
          }
52569
          oprot.writeListEnd();
53307
          oprot.writeListEnd();
52570
        }
53308
        }
52571
        oprot.writeFieldEnd();
53309
        oprot.writeFieldEnd();
52572
      }
53310
      }
Line 52944... Line 53682...
52944
            }
53682
            }
52945
            break;
53683
            break;
52946
          case 2: // PICKUP_DETAILS
53684
          case 2: // PICKUP_DETAILS
52947
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
53685
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
52948
              {
53686
              {
52949
                org.apache.thrift.protocol.TMap _map180 = iprot.readMapBegin();
53687
                org.apache.thrift.protocol.TMap _map188 = iprot.readMapBegin();
52950
                this.pickupDetails = new HashMap<String,String>(2*_map180.size);
53688
                this.pickupDetails = new HashMap<String,String>(2*_map188.size);
52951
                for (int _i181 = 0; _i181 < _map180.size; ++_i181)
53689
                for (int _i189 = 0; _i189 < _map188.size; ++_i189)
52952
                {
53690
                {
52953
                  String _key182; // required
53691
                  String _key190; // required
52954
                  String _val183; // required
53692
                  String _val191; // required
52955
                  _key182 = iprot.readString();
53693
                  _key190 = iprot.readString();
52956
                  _val183 = iprot.readString();
53694
                  _val191 = iprot.readString();
52957
                  this.pickupDetails.put(_key182, _val183);
53695
                  this.pickupDetails.put(_key190, _val191);
52958
                }
53696
                }
52959
                iprot.readMapEnd();
53697
                iprot.readMapEnd();
52960
              }
53698
              }
52961
            } else { 
53699
            } else { 
52962
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
53700
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52980... Line 53718...
52980
      oprot.writeFieldEnd();
53718
      oprot.writeFieldEnd();
52981
      if (this.pickupDetails != null) {
53719
      if (this.pickupDetails != null) {
52982
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
53720
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
52983
        {
53721
        {
52984
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
53722
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
52985
          for (Map.Entry<String, String> _iter184 : this.pickupDetails.entrySet())
53723
          for (Map.Entry<String, String> _iter192 : this.pickupDetails.entrySet())
52986
          {
53724
          {
52987
            oprot.writeString(_iter184.getKey());
53725
            oprot.writeString(_iter192.getKey());
52988
            oprot.writeString(_iter184.getValue());
53726
            oprot.writeString(_iter192.getValue());
52989
          }
53727
          }
52990
          oprot.writeMapEnd();
53728
          oprot.writeMapEnd();
52991
        }
53729
        }
52992
        oprot.writeFieldEnd();
53730
        oprot.writeFieldEnd();
52993
      }
53731
      }
Line 53776... Line 54514...
53776
        }
54514
        }
53777
        switch (field.id) {
54515
        switch (field.id) {
53778
          case 0: // SUCCESS
54516
          case 0: // SUCCESS
53779
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54517
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53780
              {
54518
              {
53781
                org.apache.thrift.protocol.TList _list185 = iprot.readListBegin();
54519
                org.apache.thrift.protocol.TList _list193 = iprot.readListBegin();
53782
                this.success = new ArrayList<Order>(_list185.size);
54520
                this.success = new ArrayList<Order>(_list193.size);
53783
                for (int _i186 = 0; _i186 < _list185.size; ++_i186)
54521
                for (int _i194 = 0; _i194 < _list193.size; ++_i194)
53784
                {
54522
                {
53785
                  Order _elem187; // required
54523
                  Order _elem195; // required
53786
                  _elem187 = new Order();
54524
                  _elem195 = new Order();
53787
                  _elem187.read(iprot);
54525
                  _elem195.read(iprot);
53788
                  this.success.add(_elem187);
54526
                  this.success.add(_elem195);
53789
                }
54527
                }
53790
                iprot.readListEnd();
54528
                iprot.readListEnd();
53791
              }
54529
              }
53792
            } else { 
54530
            } else { 
53793
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54531
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 53807... Line 54545...
53807
 
54545
 
53808
      if (this.isSetSuccess()) {
54546
      if (this.isSetSuccess()) {
53809
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54547
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53810
        {
54548
        {
53811
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
54549
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
53812
          for (Order _iter188 : this.success)
54550
          for (Order _iter196 : this.success)
53813
          {
54551
          {
53814
            _iter188.write(oprot);
54552
            _iter196.write(oprot);
53815
          }
54553
          }
53816
          oprot.writeListEnd();
54554
          oprot.writeListEnd();
53817
        }
54555
        }
53818
        oprot.writeFieldEnd();
54556
        oprot.writeFieldEnd();
53819
      }
54557
      }
Line 58357... Line 59095...
58357
        }
59095
        }
58358
        switch (field.id) {
59096
        switch (field.id) {
58359
          case 0: // SUCCESS
59097
          case 0: // SUCCESS
58360
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59098
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58361
              {
59099
              {
58362
                org.apache.thrift.protocol.TList _list189 = iprot.readListBegin();
59100
                org.apache.thrift.protocol.TList _list197 = iprot.readListBegin();
58363
                this.success = new ArrayList<ReturnOrder>(_list189.size);
59101
                this.success = new ArrayList<ReturnOrder>(_list197.size);
58364
                for (int _i190 = 0; _i190 < _list189.size; ++_i190)
59102
                for (int _i198 = 0; _i198 < _list197.size; ++_i198)
58365
                {
59103
                {
58366
                  ReturnOrder _elem191; // required
59104
                  ReturnOrder _elem199; // required
58367
                  _elem191 = new ReturnOrder();
59105
                  _elem199 = new ReturnOrder();
58368
                  _elem191.read(iprot);
59106
                  _elem199.read(iprot);
58369
                  this.success.add(_elem191);
59107
                  this.success.add(_elem199);
58370
                }
59108
                }
58371
                iprot.readListEnd();
59109
                iprot.readListEnd();
58372
              }
59110
              }
58373
            } else { 
59111
            } else { 
58374
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
59112
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 58388... Line 59126...
58388
 
59126
 
58389
      if (this.isSetSuccess()) {
59127
      if (this.isSetSuccess()) {
58390
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59128
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58391
        {
59129
        {
58392
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
59130
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58393
          for (ReturnOrder _iter192 : this.success)
59131
          for (ReturnOrder _iter200 : this.success)
58394
          {
59132
          {
58395
            _iter192.write(oprot);
59133
            _iter200.write(oprot);
58396
          }
59134
          }
58397
          oprot.writeListEnd();
59135
          oprot.writeListEnd();
58398
        }
59136
        }
58399
        oprot.writeFieldEnd();
59137
        oprot.writeFieldEnd();
58400
      }
59138
      }
Line 63375... Line 64113...
63375
        }
64113
        }
63376
        switch (field.id) {
64114
        switch (field.id) {
63377
          case 1: // COLLECTED_AMOUNT_MAP
64115
          case 1: // COLLECTED_AMOUNT_MAP
63378
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
64116
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
63379
              {
64117
              {
63380
                org.apache.thrift.protocol.TMap _map193 = iprot.readMapBegin();
64118
                org.apache.thrift.protocol.TMap _map201 = iprot.readMapBegin();
63381
                this.collectedAmountMap = new HashMap<String,Double>(2*_map193.size);
64119
                this.collectedAmountMap = new HashMap<String,Double>(2*_map201.size);
63382
                for (int _i194 = 0; _i194 < _map193.size; ++_i194)
64120
                for (int _i202 = 0; _i202 < _map201.size; ++_i202)
63383
                {
64121
                {
63384
                  String _key195; // required
64122
                  String _key203; // required
63385
                  double _val196; // required
64123
                  double _val204; // required
63386
                  _key195 = iprot.readString();
64124
                  _key203 = iprot.readString();
63387
                  _val196 = iprot.readDouble();
64125
                  _val204 = iprot.readDouble();
63388
                  this.collectedAmountMap.put(_key195, _val196);
64126
                  this.collectedAmountMap.put(_key203, _val204);
63389
                }
64127
                }
63390
                iprot.readMapEnd();
64128
                iprot.readMapEnd();
63391
              }
64129
              }
63392
            } else { 
64130
            } else { 
63393
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
64131
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 63430... Line 64168...
63430
      oprot.writeStructBegin(STRUCT_DESC);
64168
      oprot.writeStructBegin(STRUCT_DESC);
63431
      if (this.collectedAmountMap != null) {
64169
      if (this.collectedAmountMap != null) {
63432
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
64170
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
63433
        {
64171
        {
63434
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
64172
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
63435
          for (Map.Entry<String, Double> _iter197 : this.collectedAmountMap.entrySet())
64173
          for (Map.Entry<String, Double> _iter205 : this.collectedAmountMap.entrySet())
63436
          {
64174
          {
63437
            oprot.writeString(_iter197.getKey());
64175
            oprot.writeString(_iter205.getKey());
63438
            oprot.writeDouble(_iter197.getValue());
64176
            oprot.writeDouble(_iter205.getValue());
63439
          }
64177
          }
63440
          oprot.writeMapEnd();
64178
          oprot.writeMapEnd();
63441
        }
64179
        }
63442
        oprot.writeFieldEnd();
64180
        oprot.writeFieldEnd();
63443
      }
64181
      }
Line 63837... Line 64575...
63837
        }
64575
        }
63838
        switch (field.id) {
64576
        switch (field.id) {
63839
          case 0: // SUCCESS
64577
          case 0: // SUCCESS
63840
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
64578
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
63841
              {
64579
              {
63842
                org.apache.thrift.protocol.TMap _map198 = iprot.readMapBegin();
64580
                org.apache.thrift.protocol.TMap _map206 = iprot.readMapBegin();
63843
                this.success = new HashMap<String,String>(2*_map198.size);
64581
                this.success = new HashMap<String,String>(2*_map206.size);
63844
                for (int _i199 = 0; _i199 < _map198.size; ++_i199)
64582
                for (int _i207 = 0; _i207 < _map206.size; ++_i207)
63845
                {
64583
                {
63846
                  String _key200; // required
64584
                  String _key208; // required
63847
                  String _val201; // required
64585
                  String _val209; // required
63848
                  _key200 = iprot.readString();
64586
                  _key208 = iprot.readString();
63849
                  _val201 = iprot.readString();
64587
                  _val209 = iprot.readString();
63850
                  this.success.put(_key200, _val201);
64588
                  this.success.put(_key208, _val209);
63851
                }
64589
                }
63852
                iprot.readMapEnd();
64590
                iprot.readMapEnd();
63853
              }
64591
              }
63854
            } else { 
64592
            } else { 
63855
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
64593
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 63877... Line 64615...
63877
 
64615
 
63878
      if (this.isSetSuccess()) {
64616
      if (this.isSetSuccess()) {
63879
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
64617
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
63880
        {
64618
        {
63881
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
64619
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
63882
          for (Map.Entry<String, String> _iter202 : this.success.entrySet())
64620
          for (Map.Entry<String, String> _iter210 : this.success.entrySet())
63883
          {
64621
          {
63884
            oprot.writeString(_iter202.getKey());
64622
            oprot.writeString(_iter210.getKey());
63885
            oprot.writeString(_iter202.getValue());
64623
            oprot.writeString(_iter210.getValue());
63886
          }
64624
          }
63887
          oprot.writeMapEnd();
64625
          oprot.writeMapEnd();
63888
        }
64626
        }
63889
        oprot.writeFieldEnd();
64627
        oprot.writeFieldEnd();
63890
      } else if (this.isSetEx()) {
64628
      } else if (this.isSetEx()) {
Line 64496... Line 65234...
64496
        }
65234
        }
64497
        switch (field.id) {
65235
        switch (field.id) {
64498
          case 0: // SUCCESS
65236
          case 0: // SUCCESS
64499
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
65237
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
64500
              {
65238
              {
64501
                org.apache.thrift.protocol.TList _list203 = iprot.readListBegin();
65239
                org.apache.thrift.protocol.TList _list211 = iprot.readListBegin();
64502
                this.success = new ArrayList<Long>(_list203.size);
65240
                this.success = new ArrayList<Long>(_list211.size);
64503
                for (int _i204 = 0; _i204 < _list203.size; ++_i204)
65241
                for (int _i212 = 0; _i212 < _list211.size; ++_i212)
64504
                {
65242
                {
64505
                  long _elem205; // required
65243
                  long _elem213; // required
64506
                  _elem205 = iprot.readI64();
65244
                  _elem213 = iprot.readI64();
64507
                  this.success.add(_elem205);
65245
                  this.success.add(_elem213);
64508
                }
65246
                }
64509
                iprot.readListEnd();
65247
                iprot.readListEnd();
64510
              }
65248
              }
64511
            } else { 
65249
            } else { 
64512
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
65250
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 64526... Line 65264...
64526
 
65264
 
64527
      if (this.isSetSuccess()) {
65265
      if (this.isSetSuccess()) {
64528
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
65266
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
64529
        {
65267
        {
64530
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
65268
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
64531
          for (long _iter206 : this.success)
65269
          for (long _iter214 : this.success)
64532
          {
65270
          {
64533
            oprot.writeI64(_iter206);
65271
            oprot.writeI64(_iter214);
64534
          }
65272
          }
64535
          oprot.writeListEnd();
65273
          oprot.writeListEnd();
64536
        }
65274
        }
64537
        oprot.writeFieldEnd();
65275
        oprot.writeFieldEnd();
64538
      }
65276
      }
Line 65622... Line 66360...
65622
        }
66360
        }
65623
        switch (field.id) {
66361
        switch (field.id) {
65624
          case 0: // SUCCESS
66362
          case 0: // SUCCESS
65625
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
66363
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
65626
              {
66364
              {
65627
                org.apache.thrift.protocol.TMap _map207 = iprot.readMapBegin();
66365
                org.apache.thrift.protocol.TMap _map215 = iprot.readMapBegin();
65628
                this.success = new HashMap<Long,Long>(2*_map207.size);
66366
                this.success = new HashMap<Long,Long>(2*_map215.size);
65629
                for (int _i208 = 0; _i208 < _map207.size; ++_i208)
66367
                for (int _i216 = 0; _i216 < _map215.size; ++_i216)
65630
                {
66368
                {
65631
                  long _key209; // required
66369
                  long _key217; // required
65632
                  long _val210; // required
66370
                  long _val218; // required
65633
                  _key209 = iprot.readI64();
66371
                  _key217 = iprot.readI64();
65634
                  _val210 = iprot.readI64();
66372
                  _val218 = iprot.readI64();
65635
                  this.success.put(_key209, _val210);
66373
                  this.success.put(_key217, _val218);
65636
                }
66374
                }
65637
                iprot.readMapEnd();
66375
                iprot.readMapEnd();
65638
              }
66376
              }
65639
            } else { 
66377
            } else { 
65640
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
66378
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 65654... Line 66392...
65654
 
66392
 
65655
      if (this.isSetSuccess()) {
66393
      if (this.isSetSuccess()) {
65656
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
66394
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
65657
        {
66395
        {
65658
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
66396
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
65659
          for (Map.Entry<Long, Long> _iter211 : this.success.entrySet())
66397
          for (Map.Entry<Long, Long> _iter219 : this.success.entrySet())
65660
          {
66398
          {
65661
            oprot.writeI64(_iter211.getKey());
66399
            oprot.writeI64(_iter219.getKey());
65662
            oprot.writeI64(_iter211.getValue());
66400
            oprot.writeI64(_iter219.getValue());
65663
          }
66401
          }
65664
          oprot.writeMapEnd();
66402
          oprot.writeMapEnd();
65665
        }
66403
        }
65666
        oprot.writeFieldEnd();
66404
        oprot.writeFieldEnd();
65667
      }
66405
      }
Line 65955... Line 66693...
65955
        }
66693
        }
65956
        switch (field.id) {
66694
        switch (field.id) {
65957
          case 1: // ITEM_IDS
66695
          case 1: // ITEM_IDS
65958
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
66696
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
65959
              {
66697
              {
65960
                org.apache.thrift.protocol.TList _list212 = iprot.readListBegin();
66698
                org.apache.thrift.protocol.TList _list220 = iprot.readListBegin();
65961
                this.itemIds = new ArrayList<Long>(_list212.size);
66699
                this.itemIds = new ArrayList<Long>(_list220.size);
65962
                for (int _i213 = 0; _i213 < _list212.size; ++_i213)
66700
                for (int _i221 = 0; _i221 < _list220.size; ++_i221)
65963
                {
66701
                {
65964
                  long _elem214; // required
66702
                  long _elem222; // required
65965
                  _elem214 = iprot.readI64();
66703
                  _elem222 = iprot.readI64();
65966
                  this.itemIds.add(_elem214);
66704
                  this.itemIds.add(_elem222);
65967
                }
66705
                }
65968
                iprot.readListEnd();
66706
                iprot.readListEnd();
65969
              }
66707
              }
65970
            } else { 
66708
            } else { 
65971
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
66709
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 65986... Line 66724...
65986
      oprot.writeStructBegin(STRUCT_DESC);
66724
      oprot.writeStructBegin(STRUCT_DESC);
65987
      if (this.itemIds != null) {
66725
      if (this.itemIds != null) {
65988
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
66726
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
65989
        {
66727
        {
65990
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
66728
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
65991
          for (long _iter215 : this.itemIds)
66729
          for (long _iter223 : this.itemIds)
65992
          {
66730
          {
65993
            oprot.writeI64(_iter215);
66731
            oprot.writeI64(_iter223);
65994
          }
66732
          }
65995
          oprot.writeListEnd();
66733
          oprot.writeListEnd();
65996
        }
66734
        }
65997
        oprot.writeFieldEnd();
66735
        oprot.writeFieldEnd();
65998
      }
66736
      }
Line 66286... Line 67024...
66286
        }
67024
        }
66287
        switch (field.id) {
67025
        switch (field.id) {
66288
          case 0: // SUCCESS
67026
          case 0: // SUCCESS
66289
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
67027
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
66290
              {
67028
              {
66291
                org.apache.thrift.protocol.TList _list216 = iprot.readListBegin();
67029
                org.apache.thrift.protocol.TList _list224 = iprot.readListBegin();
66292
                this.success = new ArrayList<Order>(_list216.size);
67030
                this.success = new ArrayList<Order>(_list224.size);
66293
                for (int _i217 = 0; _i217 < _list216.size; ++_i217)
67031
                for (int _i225 = 0; _i225 < _list224.size; ++_i225)
66294
                {
67032
                {
66295
                  Order _elem218; // required
67033
                  Order _elem226; // required
66296
                  _elem218 = new Order();
67034
                  _elem226 = new Order();
66297
                  _elem218.read(iprot);
67035
                  _elem226.read(iprot);
66298
                  this.success.add(_elem218);
67036
                  this.success.add(_elem226);
66299
                }
67037
                }
66300
                iprot.readListEnd();
67038
                iprot.readListEnd();
66301
              }
67039
              }
66302
            } else { 
67040
            } else { 
66303
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
67041
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 66317... Line 67055...
66317
 
67055
 
66318
      if (this.isSetSuccess()) {
67056
      if (this.isSetSuccess()) {
66319
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
67057
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
66320
        {
67058
        {
66321
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
67059
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
66322
          for (Order _iter219 : this.success)
67060
          for (Order _iter227 : this.success)
66323
          {
67061
          {
66324
            _iter219.write(oprot);
67062
            _iter227.write(oprot);
66325
          }
67063
          }
66326
          oprot.writeListEnd();
67064
          oprot.writeListEnd();
66327
        }
67065
        }
66328
        oprot.writeFieldEnd();
67066
        oprot.writeFieldEnd();
66329
      }
67067
      }
Line 74275... Line 75013...
74275
        }
75013
        }
74276
        switch (field.id) {
75014
        switch (field.id) {
74277
          case 0: // SUCCESS
75015
          case 0: // SUCCESS
74278
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
75016
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
74279
              {
75017
              {
74280
                org.apache.thrift.protocol.TMap _map220 = iprot.readMapBegin();
75018
                org.apache.thrift.protocol.TMap _map228 = iprot.readMapBegin();
74281
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map220.size);
75019
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map228.size);
74282
                for (int _i221 = 0; _i221 < _map220.size; ++_i221)
75020
                for (int _i229 = 0; _i229 < _map228.size; ++_i229)
74283
                {
75021
                {
74284
                  int _key222; // required
75022
                  int _key230; // required
74285
                  TimeoutSummary _val223; // required
75023
                  TimeoutSummary _val231; // required
74286
                  _key222 = iprot.readI32();
75024
                  _key230 = iprot.readI32();
74287
                  _val223 = new TimeoutSummary();
75025
                  _val231 = new TimeoutSummary();
74288
                  _val223.read(iprot);
75026
                  _val231.read(iprot);
74289
                  this.success.put(_key222, _val223);
75027
                  this.success.put(_key230, _val231);
74290
                }
75028
                }
74291
                iprot.readMapEnd();
75029
                iprot.readMapEnd();
74292
              }
75030
              }
74293
            } else { 
75031
            } else { 
74294
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
75032
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 74316... Line 75054...
74316
 
75054
 
74317
      if (this.isSetSuccess()) {
75055
      if (this.isSetSuccess()) {
74318
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
75056
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
74319
        {
75057
        {
74320
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
75058
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
74321
          for (Map.Entry<Integer, TimeoutSummary> _iter224 : this.success.entrySet())
75059
          for (Map.Entry<Integer, TimeoutSummary> _iter232 : this.success.entrySet())
74322
          {
75060
          {
74323
            oprot.writeI32(_iter224.getKey());
75061
            oprot.writeI32(_iter232.getKey());
74324
            _iter224.getValue().write(oprot);
75062
            _iter232.getValue().write(oprot);
74325
          }
75063
          }
74326
          oprot.writeMapEnd();
75064
          oprot.writeMapEnd();
74327
        }
75065
        }
74328
        oprot.writeFieldEnd();
75066
        oprot.writeFieldEnd();
74329
      } else if (this.isSetEx()) {
75067
      } else if (this.isSetEx()) {
Line 76059... Line 76797...
76059
            }
76797
            }
76060
            break;
76798
            break;
76061
          case 2: // ORDER_STATUS_LIST
76799
          case 2: // ORDER_STATUS_LIST
76062
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
76800
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
76063
              {
76801
              {
76064
                org.apache.thrift.protocol.TList _list225 = iprot.readListBegin();
76802
                org.apache.thrift.protocol.TList _list233 = iprot.readListBegin();
76065
                this.order_status_list = new ArrayList<OrderStatus>(_list225.size);
76803
                this.order_status_list = new ArrayList<OrderStatus>(_list233.size);
76066
                for (int _i226 = 0; _i226 < _list225.size; ++_i226)
76804
                for (int _i234 = 0; _i234 < _list233.size; ++_i234)
76067
                {
76805
                {
76068
                  OrderStatus _elem227; // required
76806
                  OrderStatus _elem235; // required
76069
                  _elem227 = OrderStatus.findByValue(iprot.readI32());
76807
                  _elem235 = OrderStatus.findByValue(iprot.readI32());
76070
                  this.order_status_list.add(_elem227);
76808
                  this.order_status_list.add(_elem235);
76071
                }
76809
                }
76072
                iprot.readListEnd();
76810
                iprot.readListEnd();
76073
              }
76811
              }
76074
            } else { 
76812
            } else { 
76075
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
76813
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 76093... Line 76831...
76093
      oprot.writeFieldEnd();
76831
      oprot.writeFieldEnd();
76094
      if (this.order_status_list != null) {
76832
      if (this.order_status_list != null) {
76095
        oprot.writeFieldBegin(ORDER_STATUS_LIST_FIELD_DESC);
76833
        oprot.writeFieldBegin(ORDER_STATUS_LIST_FIELD_DESC);
76096
        {
76834
        {
76097
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.order_status_list.size()));
76835
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.order_status_list.size()));
76098
          for (OrderStatus _iter228 : this.order_status_list)
76836
          for (OrderStatus _iter236 : this.order_status_list)
76099
          {
76837
          {
76100
            oprot.writeI32(_iter228.getValue());
76838
            oprot.writeI32(_iter236.getValue());
76101
          }
76839
          }
76102
          oprot.writeListEnd();
76840
          oprot.writeListEnd();
76103
        }
76841
        }
76104
        oprot.writeFieldEnd();
76842
        oprot.writeFieldEnd();
76105
      }
76843
      }
Line 76467... Line 77205...
76467
        }
77205
        }
76468
        switch (field.id) {
77206
        switch (field.id) {
76469
          case 0: // SUCCESS
77207
          case 0: // SUCCESS
76470
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
77208
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
76471
              {
77209
              {
76472
                org.apache.thrift.protocol.TList _list229 = iprot.readListBegin();
77210
                org.apache.thrift.protocol.TList _list237 = iprot.readListBegin();
76473
                this.success = new ArrayList<Order>(_list229.size);
77211
                this.success = new ArrayList<Order>(_list237.size);
76474
                for (int _i230 = 0; _i230 < _list229.size; ++_i230)
77212
                for (int _i238 = 0; _i238 < _list237.size; ++_i238)
76475
                {
77213
                {
76476
                  Order _elem231; // required
77214
                  Order _elem239; // required
76477
                  _elem231 = new Order();
77215
                  _elem239 = new Order();
76478
                  _elem231.read(iprot);
77216
                  _elem239.read(iprot);
76479
                  this.success.add(_elem231);
77217
                  this.success.add(_elem239);
76480
                }
77218
                }
76481
                iprot.readListEnd();
77219
                iprot.readListEnd();
76482
              }
77220
              }
76483
            } else { 
77221
            } else { 
76484
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
77222
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 76506... Line 77244...
76506
 
77244
 
76507
      if (this.isSetSuccess()) {
77245
      if (this.isSetSuccess()) {
76508
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
77246
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
76509
        {
77247
        {
76510
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
77248
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
76511
          for (Order _iter232 : this.success)
77249
          for (Order _iter240 : this.success)
76512
          {
77250
          {
76513
            _iter232.write(oprot);
77251
            _iter240.write(oprot);
76514
          }
77252
          }
76515
          oprot.writeListEnd();
77253
          oprot.writeListEnd();
76516
        }
77254
        }
76517
        oprot.writeFieldEnd();
77255
        oprot.writeFieldEnd();
76518
      } else if (this.isSetEx()) {
77256
      } else if (this.isSetEx()) {
Line 77346... Line 78084...
77346
        }
78084
        }
77347
        switch (field.id) {
78085
        switch (field.id) {
77348
          case 0: // SUCCESS
78086
          case 0: // SUCCESS
77349
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
78087
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
77350
              {
78088
              {
77351
                org.apache.thrift.protocol.TList _list233 = iprot.readListBegin();
78089
                org.apache.thrift.protocol.TList _list241 = iprot.readListBegin();
77352
                this.success = new ArrayList<Order>(_list233.size);
78090
                this.success = new ArrayList<Order>(_list241.size);
77353
                for (int _i234 = 0; _i234 < _list233.size; ++_i234)
78091
                for (int _i242 = 0; _i242 < _list241.size; ++_i242)
77354
                {
78092
                {
77355
                  Order _elem235; // required
78093
                  Order _elem243; // required
77356
                  _elem235 = new Order();
78094
                  _elem243 = new Order();
77357
                  _elem235.read(iprot);
78095
                  _elem243.read(iprot);
77358
                  this.success.add(_elem235);
78096
                  this.success.add(_elem243);
77359
                }
78097
                }
77360
                iprot.readListEnd();
78098
                iprot.readListEnd();
77361
              }
78099
              }
77362
            } else { 
78100
            } else { 
77363
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
78101
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 77385... Line 78123...
77385
 
78123
 
77386
      if (this.isSetSuccess()) {
78124
      if (this.isSetSuccess()) {
77387
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
78125
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
77388
        {
78126
        {
77389
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
78127
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
77390
          for (Order _iter236 : this.success)
78128
          for (Order _iter244 : this.success)
77391
          {
78129
          {
77392
            _iter236.write(oprot);
78130
            _iter244.write(oprot);
77393
          }
78131
          }
77394
          oprot.writeListEnd();
78132
          oprot.writeListEnd();
77395
        }
78133
        }
77396
        oprot.writeFieldEnd();
78134
        oprot.writeFieldEnd();
77397
      } else if (this.isSetEx()) {
78135
      } else if (this.isSetEx()) {
Line 77965... Line 78703...
77965
        }
78703
        }
77966
        switch (field.id) {
78704
        switch (field.id) {
77967
          case 0: // SUCCESS
78705
          case 0: // SUCCESS
77968
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
78706
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
77969
              {
78707
              {
77970
                org.apache.thrift.protocol.TList _list237 = iprot.readListBegin();
78708
                org.apache.thrift.protocol.TList _list245 = iprot.readListBegin();
77971
                this.success = new ArrayList<Order>(_list237.size);
78709
                this.success = new ArrayList<Order>(_list245.size);
77972
                for (int _i238 = 0; _i238 < _list237.size; ++_i238)
78710
                for (int _i246 = 0; _i246 < _list245.size; ++_i246)
77973
                {
78711
                {
77974
                  Order _elem239; // required
78712
                  Order _elem247; // required
77975
                  _elem239 = new Order();
78713
                  _elem247 = new Order();
77976
                  _elem239.read(iprot);
78714
                  _elem247.read(iprot);
77977
                  this.success.add(_elem239);
78715
                  this.success.add(_elem247);
77978
                }
78716
                }
77979
                iprot.readListEnd();
78717
                iprot.readListEnd();
77980
              }
78718
              }
77981
            } else { 
78719
            } else { 
77982
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
78720
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 78004... Line 78742...
78004
 
78742
 
78005
      if (this.isSetSuccess()) {
78743
      if (this.isSetSuccess()) {
78006
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
78744
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
78007
        {
78745
        {
78008
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
78746
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
78009
          for (Order _iter240 : this.success)
78747
          for (Order _iter248 : this.success)
78010
          {
78748
          {
78011
            _iter240.write(oprot);
78749
            _iter248.write(oprot);
78012
          }
78750
          }
78013
          oprot.writeListEnd();
78751
          oprot.writeListEnd();
78014
        }
78752
        }
78015
        oprot.writeFieldEnd();
78753
        oprot.writeFieldEnd();
78016
      } else if (this.isSetEx()) {
78754
      } else if (this.isSetEx()) {
Line 78761... Line 79499...
78761
        }
79499
        }
78762
        switch (field.id) {
79500
        switch (field.id) {
78763
          case 0: // SUCCESS
79501
          case 0: // SUCCESS
78764
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79502
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
78765
              {
79503
              {
78766
                org.apache.thrift.protocol.TList _list241 = iprot.readListBegin();
79504
                org.apache.thrift.protocol.TList _list249 = iprot.readListBegin();
78767
                this.success = new ArrayList<Order>(_list241.size);
79505
                this.success = new ArrayList<Order>(_list249.size);
78768
                for (int _i242 = 0; _i242 < _list241.size; ++_i242)
79506
                for (int _i250 = 0; _i250 < _list249.size; ++_i250)
78769
                {
79507
                {
78770
                  Order _elem243; // required
79508
                  Order _elem251; // required
78771
                  _elem243 = new Order();
79509
                  _elem251 = new Order();
78772
                  _elem243.read(iprot);
79510
                  _elem251.read(iprot);
78773
                  this.success.add(_elem243);
79511
                  this.success.add(_elem251);
78774
                }
79512
                }
78775
                iprot.readListEnd();
79513
                iprot.readListEnd();
78776
              }
79514
              }
78777
            } else { 
79515
            } else { 
78778
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
79516
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 78800... Line 79538...
78800
 
79538
 
78801
      if (this.isSetSuccess()) {
79539
      if (this.isSetSuccess()) {
78802
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79540
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
78803
        {
79541
        {
78804
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79542
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
78805
          for (Order _iter244 : this.success)
79543
          for (Order _iter252 : this.success)
78806
          {
79544
          {
78807
            _iter244.write(oprot);
79545
            _iter252.write(oprot);
78808
          }
79546
          }
78809
          oprot.writeListEnd();
79547
          oprot.writeListEnd();
78810
        }
79548
        }
78811
        oprot.writeFieldEnd();
79549
        oprot.writeFieldEnd();
78812
      } else if (this.isSetEx()) {
79550
      } else if (this.isSetEx()) {
Line 79117... Line 79855...
79117
        }
79855
        }
79118
        switch (field.id) {
79856
        switch (field.id) {
79119
          case 1: // MAP_AWBAND_AMOUNT
79857
          case 1: // MAP_AWBAND_AMOUNT
79120
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
79858
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
79121
              {
79859
              {
79122
                org.apache.thrift.protocol.TMap _map245 = iprot.readMapBegin();
79860
                org.apache.thrift.protocol.TMap _map253 = iprot.readMapBegin();
79123
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map245.size);
79861
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map253.size);
79124
                for (int _i246 = 0; _i246 < _map245.size; ++_i246)
79862
                for (int _i254 = 0; _i254 < _map253.size; ++_i254)
79125
                {
79863
                {
79126
                  long _key247; // required
79864
                  long _key255; // required
79127
                  double _val248; // required
79865
                  double _val256; // required
79128
                  _key247 = iprot.readI64();
79866
                  _key255 = iprot.readI64();
79129
                  _val248 = iprot.readDouble();
79867
                  _val256 = iprot.readDouble();
79130
                  this.mapAWBAndAmount.put(_key247, _val248);
79868
                  this.mapAWBAndAmount.put(_key255, _val256);
79131
                }
79869
                }
79132
                iprot.readMapEnd();
79870
                iprot.readMapEnd();
79133
              }
79871
              }
79134
            } else { 
79872
            } else { 
79135
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
79873
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 79150... Line 79888...
79150
      oprot.writeStructBegin(STRUCT_DESC);
79888
      oprot.writeStructBegin(STRUCT_DESC);
79151
      if (this.mapAWBAndAmount != null) {
79889
      if (this.mapAWBAndAmount != null) {
79152
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
79890
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
79153
        {
79891
        {
79154
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
79892
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
79155
          for (Map.Entry<Long, Double> _iter249 : this.mapAWBAndAmount.entrySet())
79893
          for (Map.Entry<Long, Double> _iter257 : this.mapAWBAndAmount.entrySet())
79156
          {
79894
          {
79157
            oprot.writeI64(_iter249.getKey());
79895
            oprot.writeI64(_iter257.getKey());
79158
            oprot.writeDouble(_iter249.getValue());
79896
            oprot.writeDouble(_iter257.getValue());
79159
          }
79897
          }
79160
          oprot.writeMapEnd();
79898
          oprot.writeMapEnd();
79161
        }
79899
        }
79162
        oprot.writeFieldEnd();
79900
        oprot.writeFieldEnd();
79163
      }
79901
      }
Line 82617... Line 83355...
82617
        }
83355
        }
82618
        switch (field.id) {
83356
        switch (field.id) {
82619
          case 0: // SUCCESS
83357
          case 0: // SUCCESS
82620
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
83358
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
82621
              {
83359
              {
82622
                org.apache.thrift.protocol.TMap _map250 = iprot.readMapBegin();
83360
                org.apache.thrift.protocol.TMap _map258 = iprot.readMapBegin();
82623
                this.success = new HashMap<Long,String>(2*_map250.size);
83361
                this.success = new HashMap<Long,String>(2*_map258.size);
82624
                for (int _i251 = 0; _i251 < _map250.size; ++_i251)
83362
                for (int _i259 = 0; _i259 < _map258.size; ++_i259)
82625
                {
83363
                {
82626
                  long _key252; // required
83364
                  long _key260; // required
82627
                  String _val253; // required
83365
                  String _val261; // required
82628
                  _key252 = iprot.readI64();
83366
                  _key260 = iprot.readI64();
82629
                  _val253 = iprot.readString();
83367
                  _val261 = iprot.readString();
82630
                  this.success.put(_key252, _val253);
83368
                  this.success.put(_key260, _val261);
82631
                }
83369
                }
82632
                iprot.readMapEnd();
83370
                iprot.readMapEnd();
82633
              }
83371
              }
82634
            } else { 
83372
            } else { 
82635
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
83373
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 82657... Line 83395...
82657
 
83395
 
82658
      if (this.isSetSuccess()) {
83396
      if (this.isSetSuccess()) {
82659
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
83397
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
82660
        {
83398
        {
82661
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
83399
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
82662
          for (Map.Entry<Long, String> _iter254 : this.success.entrySet())
83400
          for (Map.Entry<Long, String> _iter262 : this.success.entrySet())
82663
          {
83401
          {
82664
            oprot.writeI64(_iter254.getKey());
83402
            oprot.writeI64(_iter262.getKey());
82665
            oprot.writeString(_iter254.getValue());
83403
            oprot.writeString(_iter262.getValue());
82666
          }
83404
          }
82667
          oprot.writeMapEnd();
83405
          oprot.writeMapEnd();
82668
        }
83406
        }
82669
        oprot.writeFieldEnd();
83407
        oprot.writeFieldEnd();
82670
      } else if (this.isSetEx()) {
83408
      } else if (this.isSetEx()) {
Line 84761... Line 85499...
84761
        }
85499
        }
84762
        switch (field.id) {
85500
        switch (field.id) {
84763
          case 0: // SUCCESS
85501
          case 0: // SUCCESS
84764
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
85502
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
84765
              {
85503
              {
84766
                org.apache.thrift.protocol.TList _list255 = iprot.readListBegin();
85504
                org.apache.thrift.protocol.TList _list263 = iprot.readListBegin();
84767
                this.success = new ArrayList<PaymentSettlement>(_list255.size);
85505
                this.success = new ArrayList<PaymentSettlement>(_list263.size);
84768
                for (int _i256 = 0; _i256 < _list255.size; ++_i256)
85506
                for (int _i264 = 0; _i264 < _list263.size; ++_i264)
84769
                {
85507
                {
84770
                  PaymentSettlement _elem257; // required
85508
                  PaymentSettlement _elem265; // required
84771
                  _elem257 = new PaymentSettlement();
85509
                  _elem265 = new PaymentSettlement();
84772
                  _elem257.read(iprot);
85510
                  _elem265.read(iprot);
84773
                  this.success.add(_elem257);
85511
                  this.success.add(_elem265);
84774
                }
85512
                }
84775
                iprot.readListEnd();
85513
                iprot.readListEnd();
84776
              }
85514
              }
84777
            } else { 
85515
            } else { 
84778
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
85516
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 84800... Line 85538...
84800
 
85538
 
84801
      if (this.isSetSuccess()) {
85539
      if (this.isSetSuccess()) {
84802
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
85540
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
84803
        {
85541
        {
84804
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
85542
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
84805
          for (PaymentSettlement _iter258 : this.success)
85543
          for (PaymentSettlement _iter266 : this.success)
84806
          {
85544
          {
84807
            _iter258.write(oprot);
85545
            _iter266.write(oprot);
84808
          }
85546
          }
84809
          oprot.writeListEnd();
85547
          oprot.writeListEnd();
84810
        }
85548
        }
84811
        oprot.writeFieldEnd();
85549
        oprot.writeFieldEnd();
84812
      } else if (this.isSetEx()) {
85550
      } else if (this.isSetEx()) {
Line 85112... Line 85850...
85112
        }
85850
        }
85113
        switch (field.id) {
85851
        switch (field.id) {
85114
          case 1: // ORDER_IDS
85852
          case 1: // ORDER_IDS
85115
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
85853
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
85116
              {
85854
              {
85117
                org.apache.thrift.protocol.TList _list259 = iprot.readListBegin();
85855
                org.apache.thrift.protocol.TList _list267 = iprot.readListBegin();
85118
                this.orderIds = new ArrayList<Long>(_list259.size);
85856
                this.orderIds = new ArrayList<Long>(_list267.size);
85119
                for (int _i260 = 0; _i260 < _list259.size; ++_i260)
85857
                for (int _i268 = 0; _i268 < _list267.size; ++_i268)
85120
                {
85858
                {
85121
                  long _elem261; // required
85859
                  long _elem269; // required
85122
                  _elem261 = iprot.readI64();
85860
                  _elem269 = iprot.readI64();
85123
                  this.orderIds.add(_elem261);
85861
                  this.orderIds.add(_elem269);
85124
                }
85862
                }
85125
                iprot.readListEnd();
85863
                iprot.readListEnd();
85126
              }
85864
              }
85127
            } else { 
85865
            } else { 
85128
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
85866
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 85143... Line 85881...
85143
      oprot.writeStructBegin(STRUCT_DESC);
85881
      oprot.writeStructBegin(STRUCT_DESC);
85144
      if (this.orderIds != null) {
85882
      if (this.orderIds != null) {
85145
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
85883
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
85146
        {
85884
        {
85147
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
85885
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
85148
          for (long _iter262 : this.orderIds)
85886
          for (long _iter270 : this.orderIds)
85149
          {
85887
          {
85150
            oprot.writeI64(_iter262);
85888
            oprot.writeI64(_iter270);
85151
          }
85889
          }
85152
          oprot.writeListEnd();
85890
          oprot.writeListEnd();
85153
        }
85891
        }
85154
        oprot.writeFieldEnd();
85892
        oprot.writeFieldEnd();
85155
      }
85893
      }
Line 85511... Line 86249...
85511
        }
86249
        }
85512
        switch (field.id) {
86250
        switch (field.id) {
85513
          case 0: // SUCCESS
86251
          case 0: // SUCCESS
85514
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
86252
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
85515
              {
86253
              {
85516
                org.apache.thrift.protocol.TList _list263 = iprot.readListBegin();
86254
                org.apache.thrift.protocol.TList _list271 = iprot.readListBegin();
85517
                this.success = new ArrayList<Long>(_list263.size);
86255
                this.success = new ArrayList<Long>(_list271.size);
85518
                for (int _i264 = 0; _i264 < _list263.size; ++_i264)
86256
                for (int _i272 = 0; _i272 < _list271.size; ++_i272)
85519
                {
86257
                {
85520
                  long _elem265; // required
86258
                  long _elem273; // required
85521
                  _elem265 = iprot.readI64();
86259
                  _elem273 = iprot.readI64();
85522
                  this.success.add(_elem265);
86260
                  this.success.add(_elem273);
85523
                }
86261
                }
85524
                iprot.readListEnd();
86262
                iprot.readListEnd();
85525
              }
86263
              }
85526
            } else { 
86264
            } else { 
85527
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
86265
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 85549... Line 86287...
85549
 
86287
 
85550
      if (this.isSetSuccess()) {
86288
      if (this.isSetSuccess()) {
85551
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
86289
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
85552
        {
86290
        {
85553
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
86291
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
85554
          for (long _iter266 : this.success)
86292
          for (long _iter274 : this.success)
85555
          {
86293
          {
85556
            oprot.writeI64(_iter266);
86294
            oprot.writeI64(_iter274);
85557
          }
86295
          }
85558
          oprot.writeListEnd();
86296
          oprot.writeListEnd();
85559
        }
86297
        }
85560
        oprot.writeFieldEnd();
86298
        oprot.writeFieldEnd();
85561
      } else if (this.isSetEx()) {
86299
      } else if (this.isSetEx()) {
Line 86005... Line 86743...
86005
        }
86743
        }
86006
        switch (field.id) {
86744
        switch (field.id) {
86007
          case 1: // ITEM_ID_QUANTITY_MAP
86745
          case 1: // ITEM_ID_QUANTITY_MAP
86008
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
86746
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
86009
              {
86747
              {
86010
                org.apache.thrift.protocol.TMap _map267 = iprot.readMapBegin();
86748
                org.apache.thrift.protocol.TMap _map275 = iprot.readMapBegin();
86011
                this.itemIdQuantityMap = new HashMap<Long,Long>(2*_map267.size);
86749
                this.itemIdQuantityMap = new HashMap<Long,Long>(2*_map275.size);
86012
                for (int _i268 = 0; _i268 < _map267.size; ++_i268)
86750
                for (int _i276 = 0; _i276 < _map275.size; ++_i276)
86013
                {
86751
                {
86014
                  long _key269; // required
86752
                  long _key277; // required
86015
                  long _val270; // required
86753
                  long _val278; // required
86016
                  _key269 = iprot.readI64();
86754
                  _key277 = iprot.readI64();
86017
                  _val270 = iprot.readI64();
86755
                  _val278 = iprot.readI64();
86018
                  this.itemIdQuantityMap.put(_key269, _val270);
86756
                  this.itemIdQuantityMap.put(_key277, _val278);
86019
                }
86757
                }
86020
                iprot.readMapEnd();
86758
                iprot.readMapEnd();
86021
              }
86759
              }
86022
            } else { 
86760
            } else { 
86023
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
86761
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 86054... Line 86792...
86054
      oprot.writeStructBegin(STRUCT_DESC);
86792
      oprot.writeStructBegin(STRUCT_DESC);
86055
      if (this.itemIdQuantityMap != null) {
86793
      if (this.itemIdQuantityMap != null) {
86056
        oprot.writeFieldBegin(ITEM_ID_QUANTITY_MAP_FIELD_DESC);
86794
        oprot.writeFieldBegin(ITEM_ID_QUANTITY_MAP_FIELD_DESC);
86057
        {
86795
        {
86058
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.itemIdQuantityMap.size()));
86796
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.itemIdQuantityMap.size()));
86059
          for (Map.Entry<Long, Long> _iter271 : this.itemIdQuantityMap.entrySet())
86797
          for (Map.Entry<Long, Long> _iter279 : this.itemIdQuantityMap.entrySet())
86060
          {
86798
          {
86061
            oprot.writeI64(_iter271.getKey());
86799
            oprot.writeI64(_iter279.getKey());
86062
            oprot.writeI64(_iter271.getValue());
86800
            oprot.writeI64(_iter279.getValue());
86063
          }
86801
          }
86064
          oprot.writeMapEnd();
86802
          oprot.writeMapEnd();
86065
        }
86803
        }
86066
        oprot.writeFieldEnd();
86804
        oprot.writeFieldEnd();
86067
      }
86805
      }
Line 87027... Line 87765...
87027
        }
87765
        }
87028
        switch (field.id) {
87766
        switch (field.id) {
87029
          case 0: // SUCCESS
87767
          case 0: // SUCCESS
87030
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
87768
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
87031
              {
87769
              {
87032
                org.apache.thrift.protocol.TList _list272 = iprot.readListBegin();
87770
                org.apache.thrift.protocol.TList _list280 = iprot.readListBegin();
87033
                this.success = new ArrayList<Order>(_list272.size);
87771
                this.success = new ArrayList<Order>(_list280.size);
87034
                for (int _i273 = 0; _i273 < _list272.size; ++_i273)
87772
                for (int _i281 = 0; _i281 < _list280.size; ++_i281)
87035
                {
87773
                {
87036
                  Order _elem274; // required
87774
                  Order _elem282; // required
87037
                  _elem274 = new Order();
87775
                  _elem282 = new Order();
87038
                  _elem274.read(iprot);
87776
                  _elem282.read(iprot);
87039
                  this.success.add(_elem274);
87777
                  this.success.add(_elem282);
87040
                }
87778
                }
87041
                iprot.readListEnd();
87779
                iprot.readListEnd();
87042
              }
87780
              }
87043
            } else { 
87781
            } else { 
87044
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
87782
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 87066... Line 87804...
87066
 
87804
 
87067
      if (this.isSetSuccess()) {
87805
      if (this.isSetSuccess()) {
87068
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
87806
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
87069
        {
87807
        {
87070
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
87808
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
87071
          for (Order _iter275 : this.success)
87809
          for (Order _iter283 : this.success)
87072
          {
87810
          {
87073
            _iter275.write(oprot);
87811
            _iter283.write(oprot);
87074
          }
87812
          }
87075
          oprot.writeListEnd();
87813
          oprot.writeListEnd();
87076
        }
87814
        }
87077
        oprot.writeFieldEnd();
87815
        oprot.writeFieldEnd();
87078
      } else if (this.isSetEx()) {
87816
      } else if (this.isSetEx()) {