Subversion Repositories SmartDukaan

Rev

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

Rev 4763 Rev 4783
Line 298... Line 298...
298
     * @param warehouseId
298
     * @param warehouseId
299
     */
299
     */
300
    public List<Order> getUndeliveredOrders(long providerId, long warehouseId) throws org.apache.thrift.TException;
300
    public List<Order> getUndeliveredOrders(long providerId, long warehouseId) throws org.apache.thrift.TException;
301
 
301
 
302
    /**
302
    /**
-
 
303
     * Returns the list of orders whose expected delivery date has passed but have not been
-
 
304
     * delivered yet.
-
 
305
     * Returns an empty list if no such orders exist.
-
 
306
     */
-
 
307
    public List<Order> getUndeliveredOrdersExpectedDeliveryDateNotMet() throws org.apache.thrift.TException;
-
 
308
 
-
 
309
    /**
303
     * Toggle the DOA flag of an order. This should be used to flag an order for follow-up and unflag it when the follow-up is complete.
310
     * Toggle the DOA flag of an order. This should be used to flag an order for follow-up and unflag it when the follow-up is complete.
304
     * Returns the final flag status.
311
     * Returns the final flag status.
305
     * Throws an exception if the order with the given id couldn't be found or if the order status is not DELVIERY_SUCCESS.
312
     * Throws an exception if the order with the given id couldn't be found or if the order status is not DELVIERY_SUCCESS.
306
     * 
313
     * 
307
     * @param orderId
314
     * @param orderId
Line 791... Line 798...
791
 
798
 
792
    public void updateNonDeliveryReason(long providerId, Map<String,String> undeliveredOrders, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateNonDeliveryReason_call> resultHandler) throws org.apache.thrift.TException;
799
    public void updateNonDeliveryReason(long providerId, Map<String,String> undeliveredOrders, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateNonDeliveryReason_call> resultHandler) throws org.apache.thrift.TException;
793
 
800
 
794
    public void getUndeliveredOrders(long providerId, long warehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUndeliveredOrders_call> resultHandler) throws org.apache.thrift.TException;
801
    public void getUndeliveredOrders(long providerId, long warehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUndeliveredOrders_call> resultHandler) throws org.apache.thrift.TException;
795
 
802
 
-
 
803
    public void getUndeliveredOrdersExpectedDeliveryDateNotMet(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUndeliveredOrdersExpectedDeliveryDateNotMet_call> resultHandler) throws org.apache.thrift.TException;
-
 
804
 
796
    public void toggleDOAFlag(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.toggleDOAFlag_call> resultHandler) throws org.apache.thrift.TException;
805
    public void toggleDOAFlag(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.toggleDOAFlag_call> resultHandler) throws org.apache.thrift.TException;
797
 
806
 
798
    public void markOrderAsDelivered(long orderId, long deliveryTimestamp, String receiver, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderAsDelivered_call> resultHandler) throws org.apache.thrift.TException;
807
    public void markOrderAsDelivered(long orderId, long deliveryTimestamp, String receiver, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderAsDelivered_call> resultHandler) throws org.apache.thrift.TException;
799
 
808
 
800
    public void markOrderDoaRequestReceived(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderDoaRequestReceived_call> resultHandler) throws org.apache.thrift.TException;
809
    public void markOrderDoaRequestReceived(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderDoaRequestReceived_call> resultHandler) throws org.apache.thrift.TException;
Line 1997... Line 2006...
1997
        return result.success;
2006
        return result.success;
1998
      }
2007
      }
1999
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUndeliveredOrders failed: unknown result");
2008
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUndeliveredOrders failed: unknown result");
2000
    }
2009
    }
2001
 
2010
 
-
 
2011
    public List<Order> getUndeliveredOrdersExpectedDeliveryDateNotMet() throws org.apache.thrift.TException
-
 
2012
    {
-
 
2013
      send_getUndeliveredOrdersExpectedDeliveryDateNotMet();
-
 
2014
      return recv_getUndeliveredOrdersExpectedDeliveryDateNotMet();
-
 
2015
    }
-
 
2016
 
-
 
2017
    public void send_getUndeliveredOrdersExpectedDeliveryDateNotMet() throws org.apache.thrift.TException
-
 
2018
    {
-
 
2019
      getUndeliveredOrdersExpectedDeliveryDateNotMet_args args = new getUndeliveredOrdersExpectedDeliveryDateNotMet_args();
-
 
2020
      sendBase("getUndeliveredOrdersExpectedDeliveryDateNotMet", args);
-
 
2021
    }
-
 
2022
 
-
 
2023
    public List<Order> recv_getUndeliveredOrdersExpectedDeliveryDateNotMet() throws org.apache.thrift.TException
-
 
2024
    {
-
 
2025
      getUndeliveredOrdersExpectedDeliveryDateNotMet_result result = new getUndeliveredOrdersExpectedDeliveryDateNotMet_result();
-
 
2026
      receiveBase(result, "getUndeliveredOrdersExpectedDeliveryDateNotMet");
-
 
2027
      if (result.isSetSuccess()) {
-
 
2028
        return result.success;
-
 
2029
      }
-
 
2030
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUndeliveredOrdersExpectedDeliveryDateNotMet failed: unknown result");
-
 
2031
    }
-
 
2032
 
2002
    public boolean toggleDOAFlag(long orderId) throws TransactionServiceException, org.apache.thrift.TException
2033
    public boolean toggleDOAFlag(long orderId) throws TransactionServiceException, org.apache.thrift.TException
2003
    {
2034
    {
2004
      send_toggleDOAFlag(orderId);
2035
      send_toggleDOAFlag(orderId);
2005
      return recv_toggleDOAFlag();
2036
      return recv_toggleDOAFlag();
2006
    }
2037
    }
Line 4862... Line 4893...
4862
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4893
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4863
        return (new Client(prot)).recv_getUndeliveredOrders();
4894
        return (new Client(prot)).recv_getUndeliveredOrders();
4864
      }
4895
      }
4865
    }
4896
    }
4866
 
4897
 
-
 
4898
    public void getUndeliveredOrdersExpectedDeliveryDateNotMet(org.apache.thrift.async.AsyncMethodCallback<getUndeliveredOrdersExpectedDeliveryDateNotMet_call> resultHandler) throws org.apache.thrift.TException {
-
 
4899
      checkReady();
-
 
4900
      getUndeliveredOrdersExpectedDeliveryDateNotMet_call method_call = new getUndeliveredOrdersExpectedDeliveryDateNotMet_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
4901
      this.___currentMethod = method_call;
-
 
4902
      ___manager.call(method_call);
-
 
4903
    }
-
 
4904
 
-
 
4905
    public static class getUndeliveredOrdersExpectedDeliveryDateNotMet_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4906
      public getUndeliveredOrdersExpectedDeliveryDateNotMet_call(org.apache.thrift.async.AsyncMethodCallback<getUndeliveredOrdersExpectedDeliveryDateNotMet_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 {
-
 
4907
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4908
      }
-
 
4909
 
-
 
4910
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4911
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getUndeliveredOrdersExpectedDeliveryDateNotMet", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4912
        getUndeliveredOrdersExpectedDeliveryDateNotMet_args args = new getUndeliveredOrdersExpectedDeliveryDateNotMet_args();
-
 
4913
        args.write(prot);
-
 
4914
        prot.writeMessageEnd();
-
 
4915
      }
-
 
4916
 
-
 
4917
      public List<Order> getResult() throws org.apache.thrift.TException {
-
 
4918
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4919
          throw new IllegalStateException("Method call not finished!");
-
 
4920
        }
-
 
4921
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4922
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4923
        return (new Client(prot)).recv_getUndeliveredOrdersExpectedDeliveryDateNotMet();
-
 
4924
      }
-
 
4925
    }
-
 
4926
 
4867
    public void toggleDOAFlag(long orderId, org.apache.thrift.async.AsyncMethodCallback<toggleDOAFlag_call> resultHandler) throws org.apache.thrift.TException {
4927
    public void toggleDOAFlag(long orderId, org.apache.thrift.async.AsyncMethodCallback<toggleDOAFlag_call> resultHandler) throws org.apache.thrift.TException {
4868
      checkReady();
4928
      checkReady();
4869
      toggleDOAFlag_call method_call = new toggleDOAFlag_call(orderId, resultHandler, this, ___protocolFactory, ___transport);
4929
      toggleDOAFlag_call method_call = new toggleDOAFlag_call(orderId, resultHandler, this, ___protocolFactory, ___transport);
4870
      this.___currentMethod = method_call;
4930
      this.___currentMethod = method_call;
4871
      ___manager.call(method_call);
4931
      ___manager.call(method_call);
Line 6812... Line 6872...
6812
      processMap.put("markOrdersAsPickedUp", new markOrdersAsPickedUp());
6872
      processMap.put("markOrdersAsPickedUp", new markOrdersAsPickedUp());
6813
      processMap.put("markOrdersAsDelivered", new markOrdersAsDelivered());
6873
      processMap.put("markOrdersAsDelivered", new markOrdersAsDelivered());
6814
      processMap.put("markOrdersAsFailed", new markOrdersAsFailed());
6874
      processMap.put("markOrdersAsFailed", new markOrdersAsFailed());
6815
      processMap.put("updateNonDeliveryReason", new updateNonDeliveryReason());
6875
      processMap.put("updateNonDeliveryReason", new updateNonDeliveryReason());
6816
      processMap.put("getUndeliveredOrders", new getUndeliveredOrders());
6876
      processMap.put("getUndeliveredOrders", new getUndeliveredOrders());
-
 
6877
      processMap.put("getUndeliveredOrdersExpectedDeliveryDateNotMet", new getUndeliveredOrdersExpectedDeliveryDateNotMet());
6817
      processMap.put("toggleDOAFlag", new toggleDOAFlag());
6878
      processMap.put("toggleDOAFlag", new toggleDOAFlag());
6818
      processMap.put("markOrderAsDelivered", new markOrderAsDelivered());
6879
      processMap.put("markOrderAsDelivered", new markOrderAsDelivered());
6819
      processMap.put("markOrderDoaRequestReceived", new markOrderDoaRequestReceived());
6880
      processMap.put("markOrderDoaRequestReceived", new markOrderDoaRequestReceived());
6820
      processMap.put("markOrderDoaRequestAuthorized", new markOrderDoaRequestAuthorized());
6881
      processMap.put("markOrderDoaRequestAuthorized", new markOrderDoaRequestAuthorized());
6821
      processMap.put("markOrderReturnRequestReceived", new markOrderReturnRequestReceived());
6882
      processMap.put("markOrderReturnRequestReceived", new markOrderReturnRequestReceived());
Line 7671... Line 7732...
7671
        result.success = iface.getUndeliveredOrders(args.providerId, args.warehouseId);
7732
        result.success = iface.getUndeliveredOrders(args.providerId, args.warehouseId);
7672
        return result;
7733
        return result;
7673
      }
7734
      }
7674
    }
7735
    }
7675
 
7736
 
-
 
7737
    private static class getUndeliveredOrdersExpectedDeliveryDateNotMet<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getUndeliveredOrdersExpectedDeliveryDateNotMet_args> {
-
 
7738
      public getUndeliveredOrdersExpectedDeliveryDateNotMet() {
-
 
7739
        super("getUndeliveredOrdersExpectedDeliveryDateNotMet");
-
 
7740
      }
-
 
7741
 
-
 
7742
      protected getUndeliveredOrdersExpectedDeliveryDateNotMet_args getEmptyArgsInstance() {
-
 
7743
        return new getUndeliveredOrdersExpectedDeliveryDateNotMet_args();
-
 
7744
      }
-
 
7745
 
-
 
7746
      protected getUndeliveredOrdersExpectedDeliveryDateNotMet_result getResult(I iface, getUndeliveredOrdersExpectedDeliveryDateNotMet_args args) throws org.apache.thrift.TException {
-
 
7747
        getUndeliveredOrdersExpectedDeliveryDateNotMet_result result = new getUndeliveredOrdersExpectedDeliveryDateNotMet_result();
-
 
7748
        result.success = iface.getUndeliveredOrdersExpectedDeliveryDateNotMet();
-
 
7749
        return result;
-
 
7750
      }
-
 
7751
    }
-
 
7752
 
7676
    private static class toggleDOAFlag<I extends Iface> extends org.apache.thrift.ProcessFunction<I, toggleDOAFlag_args> {
7753
    private static class toggleDOAFlag<I extends Iface> extends org.apache.thrift.ProcessFunction<I, toggleDOAFlag_args> {
7677
      public toggleDOAFlag() {
7754
      public toggleDOAFlag() {
7678
        super("toggleDOAFlag");
7755
        super("toggleDOAFlag");
7679
      }
7756
      }
7680
 
7757
 
Line 40415... Line 40492...
40415
      }
40492
      }
40416
    }
40493
    }
40417
 
40494
 
40418
  }
40495
  }
40419
 
40496
 
-
 
40497
  public static class getUndeliveredOrdersExpectedDeliveryDateNotMet_args implements org.apache.thrift.TBase<getUndeliveredOrdersExpectedDeliveryDateNotMet_args, getUndeliveredOrdersExpectedDeliveryDateNotMet_args._Fields>, java.io.Serializable, Cloneable   {
-
 
40498
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUndeliveredOrdersExpectedDeliveryDateNotMet_args");
-
 
40499
 
-
 
40500
 
-
 
40501
 
-
 
40502
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
40503
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
40504
;
-
 
40505
 
-
 
40506
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
40507
 
-
 
40508
      static {
-
 
40509
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
40510
          byName.put(field.getFieldName(), field);
-
 
40511
        }
-
 
40512
      }
-
 
40513
 
-
 
40514
      /**
-
 
40515
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
40516
       */
-
 
40517
      public static _Fields findByThriftId(int fieldId) {
-
 
40518
        switch(fieldId) {
-
 
40519
          default:
-
 
40520
            return null;
-
 
40521
        }
-
 
40522
      }
-
 
40523
 
-
 
40524
      /**
-
 
40525
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
40526
       * if it is not found.
-
 
40527
       */
-
 
40528
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
40529
        _Fields fields = findByThriftId(fieldId);
-
 
40530
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
40531
        return fields;
-
 
40532
      }
-
 
40533
 
-
 
40534
      /**
-
 
40535
       * Find the _Fields constant that matches name, or null if its not found.
-
 
40536
       */
-
 
40537
      public static _Fields findByName(String name) {
-
 
40538
        return byName.get(name);
-
 
40539
      }
-
 
40540
 
-
 
40541
      private final short _thriftId;
-
 
40542
      private final String _fieldName;
-
 
40543
 
-
 
40544
      _Fields(short thriftId, String fieldName) {
-
 
40545
        _thriftId = thriftId;
-
 
40546
        _fieldName = fieldName;
-
 
40547
      }
-
 
40548
 
-
 
40549
      public short getThriftFieldId() {
-
 
40550
        return _thriftId;
-
 
40551
      }
-
 
40552
 
-
 
40553
      public String getFieldName() {
-
 
40554
        return _fieldName;
-
 
40555
      }
-
 
40556
    }
-
 
40557
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
40558
    static {
-
 
40559
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
40560
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
40561
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUndeliveredOrdersExpectedDeliveryDateNotMet_args.class, metaDataMap);
-
 
40562
    }
-
 
40563
 
-
 
40564
    public getUndeliveredOrdersExpectedDeliveryDateNotMet_args() {
-
 
40565
    }
-
 
40566
 
-
 
40567
    /**
-
 
40568
     * Performs a deep copy on <i>other</i>.
-
 
40569
     */
-
 
40570
    public getUndeliveredOrdersExpectedDeliveryDateNotMet_args(getUndeliveredOrdersExpectedDeliveryDateNotMet_args other) {
-
 
40571
    }
-
 
40572
 
-
 
40573
    public getUndeliveredOrdersExpectedDeliveryDateNotMet_args deepCopy() {
-
 
40574
      return new getUndeliveredOrdersExpectedDeliveryDateNotMet_args(this);
-
 
40575
    }
-
 
40576
 
-
 
40577
    @Override
-
 
40578
    public void clear() {
-
 
40579
    }
-
 
40580
 
-
 
40581
    public void setFieldValue(_Fields field, Object value) {
-
 
40582
      switch (field) {
-
 
40583
      }
-
 
40584
    }
-
 
40585
 
-
 
40586
    public Object getFieldValue(_Fields field) {
-
 
40587
      switch (field) {
-
 
40588
      }
-
 
40589
      throw new IllegalStateException();
-
 
40590
    }
-
 
40591
 
-
 
40592
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
40593
    public boolean isSet(_Fields field) {
-
 
40594
      if (field == null) {
-
 
40595
        throw new IllegalArgumentException();
-
 
40596
      }
-
 
40597
 
-
 
40598
      switch (field) {
-
 
40599
      }
-
 
40600
      throw new IllegalStateException();
-
 
40601
    }
-
 
40602
 
-
 
40603
    @Override
-
 
40604
    public boolean equals(Object that) {
-
 
40605
      if (that == null)
-
 
40606
        return false;
-
 
40607
      if (that instanceof getUndeliveredOrdersExpectedDeliveryDateNotMet_args)
-
 
40608
        return this.equals((getUndeliveredOrdersExpectedDeliveryDateNotMet_args)that);
-
 
40609
      return false;
-
 
40610
    }
-
 
40611
 
-
 
40612
    public boolean equals(getUndeliveredOrdersExpectedDeliveryDateNotMet_args that) {
-
 
40613
      if (that == null)
-
 
40614
        return false;
-
 
40615
 
-
 
40616
      return true;
-
 
40617
    }
-
 
40618
 
-
 
40619
    @Override
-
 
40620
    public int hashCode() {
-
 
40621
      return 0;
-
 
40622
    }
-
 
40623
 
-
 
40624
    public int compareTo(getUndeliveredOrdersExpectedDeliveryDateNotMet_args other) {
-
 
40625
      if (!getClass().equals(other.getClass())) {
-
 
40626
        return getClass().getName().compareTo(other.getClass().getName());
-
 
40627
      }
-
 
40628
 
-
 
40629
      int lastComparison = 0;
-
 
40630
      getUndeliveredOrdersExpectedDeliveryDateNotMet_args typedOther = (getUndeliveredOrdersExpectedDeliveryDateNotMet_args)other;
-
 
40631
 
-
 
40632
      return 0;
-
 
40633
    }
-
 
40634
 
-
 
40635
    public _Fields fieldForId(int fieldId) {
-
 
40636
      return _Fields.findByThriftId(fieldId);
-
 
40637
    }
-
 
40638
 
-
 
40639
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
40640
      org.apache.thrift.protocol.TField field;
-
 
40641
      iprot.readStructBegin();
-
 
40642
      while (true)
-
 
40643
      {
-
 
40644
        field = iprot.readFieldBegin();
-
 
40645
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
40646
          break;
-
 
40647
        }
-
 
40648
        switch (field.id) {
-
 
40649
          default:
-
 
40650
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
40651
        }
-
 
40652
        iprot.readFieldEnd();
-
 
40653
      }
-
 
40654
      iprot.readStructEnd();
-
 
40655
      validate();
-
 
40656
    }
-
 
40657
 
-
 
40658
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
40659
      validate();
-
 
40660
 
-
 
40661
      oprot.writeStructBegin(STRUCT_DESC);
-
 
40662
      oprot.writeFieldStop();
-
 
40663
      oprot.writeStructEnd();
-
 
40664
    }
-
 
40665
 
-
 
40666
    @Override
-
 
40667
    public String toString() {
-
 
40668
      StringBuilder sb = new StringBuilder("getUndeliveredOrdersExpectedDeliveryDateNotMet_args(");
-
 
40669
      boolean first = true;
-
 
40670
 
-
 
40671
      sb.append(")");
-
 
40672
      return sb.toString();
-
 
40673
    }
-
 
40674
 
-
 
40675
    public void validate() throws org.apache.thrift.TException {
-
 
40676
      // check for required fields
-
 
40677
    }
-
 
40678
 
-
 
40679
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
40680
      try {
-
 
40681
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
40682
      } catch (org.apache.thrift.TException te) {
-
 
40683
        throw new java.io.IOException(te);
-
 
40684
      }
-
 
40685
    }
-
 
40686
 
-
 
40687
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
40688
      try {
-
 
40689
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
40690
      } catch (org.apache.thrift.TException te) {
-
 
40691
        throw new java.io.IOException(te);
-
 
40692
      }
-
 
40693
    }
-
 
40694
 
-
 
40695
  }
-
 
40696
 
-
 
40697
  public static class getUndeliveredOrdersExpectedDeliveryDateNotMet_result implements org.apache.thrift.TBase<getUndeliveredOrdersExpectedDeliveryDateNotMet_result, getUndeliveredOrdersExpectedDeliveryDateNotMet_result._Fields>, java.io.Serializable, Cloneable   {
-
 
40698
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUndeliveredOrdersExpectedDeliveryDateNotMet_result");
-
 
40699
 
-
 
40700
    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);
-
 
40701
 
-
 
40702
    private List<Order> success; // required
-
 
40703
 
-
 
40704
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
40705
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
40706
      SUCCESS((short)0, "success");
-
 
40707
 
-
 
40708
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
40709
 
-
 
40710
      static {
-
 
40711
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
40712
          byName.put(field.getFieldName(), field);
-
 
40713
        }
-
 
40714
      }
-
 
40715
 
-
 
40716
      /**
-
 
40717
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
40718
       */
-
 
40719
      public static _Fields findByThriftId(int fieldId) {
-
 
40720
        switch(fieldId) {
-
 
40721
          case 0: // SUCCESS
-
 
40722
            return SUCCESS;
-
 
40723
          default:
-
 
40724
            return null;
-
 
40725
        }
-
 
40726
      }
-
 
40727
 
-
 
40728
      /**
-
 
40729
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
40730
       * if it is not found.
-
 
40731
       */
-
 
40732
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
40733
        _Fields fields = findByThriftId(fieldId);
-
 
40734
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
40735
        return fields;
-
 
40736
      }
-
 
40737
 
-
 
40738
      /**
-
 
40739
       * Find the _Fields constant that matches name, or null if its not found.
-
 
40740
       */
-
 
40741
      public static _Fields findByName(String name) {
-
 
40742
        return byName.get(name);
-
 
40743
      }
-
 
40744
 
-
 
40745
      private final short _thriftId;
-
 
40746
      private final String _fieldName;
-
 
40747
 
-
 
40748
      _Fields(short thriftId, String fieldName) {
-
 
40749
        _thriftId = thriftId;
-
 
40750
        _fieldName = fieldName;
-
 
40751
      }
-
 
40752
 
-
 
40753
      public short getThriftFieldId() {
-
 
40754
        return _thriftId;
-
 
40755
      }
-
 
40756
 
-
 
40757
      public String getFieldName() {
-
 
40758
        return _fieldName;
-
 
40759
      }
-
 
40760
    }
-
 
40761
 
-
 
40762
    // isset id assignments
-
 
40763
 
-
 
40764
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
40765
    static {
-
 
40766
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
40767
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
40768
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
40769
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
-
 
40770
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
40771
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUndeliveredOrdersExpectedDeliveryDateNotMet_result.class, metaDataMap);
-
 
40772
    }
-
 
40773
 
-
 
40774
    public getUndeliveredOrdersExpectedDeliveryDateNotMet_result() {
-
 
40775
    }
-
 
40776
 
-
 
40777
    public getUndeliveredOrdersExpectedDeliveryDateNotMet_result(
-
 
40778
      List<Order> success)
-
 
40779
    {
-
 
40780
      this();
-
 
40781
      this.success = success;
-
 
40782
    }
-
 
40783
 
-
 
40784
    /**
-
 
40785
     * Performs a deep copy on <i>other</i>.
-
 
40786
     */
-
 
40787
    public getUndeliveredOrdersExpectedDeliveryDateNotMet_result(getUndeliveredOrdersExpectedDeliveryDateNotMet_result other) {
-
 
40788
      if (other.isSetSuccess()) {
-
 
40789
        List<Order> __this__success = new ArrayList<Order>();
-
 
40790
        for (Order other_element : other.success) {
-
 
40791
          __this__success.add(new Order(other_element));
-
 
40792
        }
-
 
40793
        this.success = __this__success;
-
 
40794
      }
-
 
40795
    }
-
 
40796
 
-
 
40797
    public getUndeliveredOrdersExpectedDeliveryDateNotMet_result deepCopy() {
-
 
40798
      return new getUndeliveredOrdersExpectedDeliveryDateNotMet_result(this);
-
 
40799
    }
-
 
40800
 
-
 
40801
    @Override
-
 
40802
    public void clear() {
-
 
40803
      this.success = null;
-
 
40804
    }
-
 
40805
 
-
 
40806
    public int getSuccessSize() {
-
 
40807
      return (this.success == null) ? 0 : this.success.size();
-
 
40808
    }
-
 
40809
 
-
 
40810
    public java.util.Iterator<Order> getSuccessIterator() {
-
 
40811
      return (this.success == null) ? null : this.success.iterator();
-
 
40812
    }
-
 
40813
 
-
 
40814
    public void addToSuccess(Order elem) {
-
 
40815
      if (this.success == null) {
-
 
40816
        this.success = new ArrayList<Order>();
-
 
40817
      }
-
 
40818
      this.success.add(elem);
-
 
40819
    }
-
 
40820
 
-
 
40821
    public List<Order> getSuccess() {
-
 
40822
      return this.success;
-
 
40823
    }
-
 
40824
 
-
 
40825
    public void setSuccess(List<Order> success) {
-
 
40826
      this.success = success;
-
 
40827
    }
-
 
40828
 
-
 
40829
    public void unsetSuccess() {
-
 
40830
      this.success = null;
-
 
40831
    }
-
 
40832
 
-
 
40833
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
40834
    public boolean isSetSuccess() {
-
 
40835
      return this.success != null;
-
 
40836
    }
-
 
40837
 
-
 
40838
    public void setSuccessIsSet(boolean value) {
-
 
40839
      if (!value) {
-
 
40840
        this.success = null;
-
 
40841
      }
-
 
40842
    }
-
 
40843
 
-
 
40844
    public void setFieldValue(_Fields field, Object value) {
-
 
40845
      switch (field) {
-
 
40846
      case SUCCESS:
-
 
40847
        if (value == null) {
-
 
40848
          unsetSuccess();
-
 
40849
        } else {
-
 
40850
          setSuccess((List<Order>)value);
-
 
40851
        }
-
 
40852
        break;
-
 
40853
 
-
 
40854
      }
-
 
40855
    }
-
 
40856
 
-
 
40857
    public Object getFieldValue(_Fields field) {
-
 
40858
      switch (field) {
-
 
40859
      case SUCCESS:
-
 
40860
        return getSuccess();
-
 
40861
 
-
 
40862
      }
-
 
40863
      throw new IllegalStateException();
-
 
40864
    }
-
 
40865
 
-
 
40866
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
40867
    public boolean isSet(_Fields field) {
-
 
40868
      if (field == null) {
-
 
40869
        throw new IllegalArgumentException();
-
 
40870
      }
-
 
40871
 
-
 
40872
      switch (field) {
-
 
40873
      case SUCCESS:
-
 
40874
        return isSetSuccess();
-
 
40875
      }
-
 
40876
      throw new IllegalStateException();
-
 
40877
    }
-
 
40878
 
-
 
40879
    @Override
-
 
40880
    public boolean equals(Object that) {
-
 
40881
      if (that == null)
-
 
40882
        return false;
-
 
40883
      if (that instanceof getUndeliveredOrdersExpectedDeliveryDateNotMet_result)
-
 
40884
        return this.equals((getUndeliveredOrdersExpectedDeliveryDateNotMet_result)that);
-
 
40885
      return false;
-
 
40886
    }
-
 
40887
 
-
 
40888
    public boolean equals(getUndeliveredOrdersExpectedDeliveryDateNotMet_result that) {
-
 
40889
      if (that == null)
-
 
40890
        return false;
-
 
40891
 
-
 
40892
      boolean this_present_success = true && this.isSetSuccess();
-
 
40893
      boolean that_present_success = true && that.isSetSuccess();
-
 
40894
      if (this_present_success || that_present_success) {
-
 
40895
        if (!(this_present_success && that_present_success))
-
 
40896
          return false;
-
 
40897
        if (!this.success.equals(that.success))
-
 
40898
          return false;
-
 
40899
      }
-
 
40900
 
-
 
40901
      return true;
-
 
40902
    }
-
 
40903
 
-
 
40904
    @Override
-
 
40905
    public int hashCode() {
-
 
40906
      return 0;
-
 
40907
    }
-
 
40908
 
-
 
40909
    public int compareTo(getUndeliveredOrdersExpectedDeliveryDateNotMet_result other) {
-
 
40910
      if (!getClass().equals(other.getClass())) {
-
 
40911
        return getClass().getName().compareTo(other.getClass().getName());
-
 
40912
      }
-
 
40913
 
-
 
40914
      int lastComparison = 0;
-
 
40915
      getUndeliveredOrdersExpectedDeliveryDateNotMet_result typedOther = (getUndeliveredOrdersExpectedDeliveryDateNotMet_result)other;
-
 
40916
 
-
 
40917
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
40918
      if (lastComparison != 0) {
-
 
40919
        return lastComparison;
-
 
40920
      }
-
 
40921
      if (isSetSuccess()) {
-
 
40922
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
40923
        if (lastComparison != 0) {
-
 
40924
          return lastComparison;
-
 
40925
        }
-
 
40926
      }
-
 
40927
      return 0;
-
 
40928
    }
-
 
40929
 
-
 
40930
    public _Fields fieldForId(int fieldId) {
-
 
40931
      return _Fields.findByThriftId(fieldId);
-
 
40932
    }
-
 
40933
 
-
 
40934
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
40935
      org.apache.thrift.protocol.TField field;
-
 
40936
      iprot.readStructBegin();
-
 
40937
      while (true)
-
 
40938
      {
-
 
40939
        field = iprot.readFieldBegin();
-
 
40940
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
40941
          break;
-
 
40942
        }
-
 
40943
        switch (field.id) {
-
 
40944
          case 0: // SUCCESS
-
 
40945
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
40946
              {
-
 
40947
                org.apache.thrift.protocol.TList _list112 = iprot.readListBegin();
-
 
40948
                this.success = new ArrayList<Order>(_list112.size);
-
 
40949
                for (int _i113 = 0; _i113 < _list112.size; ++_i113)
-
 
40950
                {
-
 
40951
                  Order _elem114; // required
-
 
40952
                  _elem114 = new Order();
-
 
40953
                  _elem114.read(iprot);
-
 
40954
                  this.success.add(_elem114);
-
 
40955
                }
-
 
40956
                iprot.readListEnd();
-
 
40957
              }
-
 
40958
            } else { 
-
 
40959
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
40960
            }
-
 
40961
            break;
-
 
40962
          default:
-
 
40963
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
40964
        }
-
 
40965
        iprot.readFieldEnd();
-
 
40966
      }
-
 
40967
      iprot.readStructEnd();
-
 
40968
      validate();
-
 
40969
    }
-
 
40970
 
-
 
40971
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
40972
      oprot.writeStructBegin(STRUCT_DESC);
-
 
40973
 
-
 
40974
      if (this.isSetSuccess()) {
-
 
40975
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
40976
        {
-
 
40977
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
40978
          for (Order _iter115 : this.success)
-
 
40979
          {
-
 
40980
            _iter115.write(oprot);
-
 
40981
          }
-
 
40982
          oprot.writeListEnd();
-
 
40983
        }
-
 
40984
        oprot.writeFieldEnd();
-
 
40985
      }
-
 
40986
      oprot.writeFieldStop();
-
 
40987
      oprot.writeStructEnd();
-
 
40988
    }
-
 
40989
 
-
 
40990
    @Override
-
 
40991
    public String toString() {
-
 
40992
      StringBuilder sb = new StringBuilder("getUndeliveredOrdersExpectedDeliveryDateNotMet_result(");
-
 
40993
      boolean first = true;
-
 
40994
 
-
 
40995
      sb.append("success:");
-
 
40996
      if (this.success == null) {
-
 
40997
        sb.append("null");
-
 
40998
      } else {
-
 
40999
        sb.append(this.success);
-
 
41000
      }
-
 
41001
      first = false;
-
 
41002
      sb.append(")");
-
 
41003
      return sb.toString();
-
 
41004
    }
-
 
41005
 
-
 
41006
    public void validate() throws org.apache.thrift.TException {
-
 
41007
      // check for required fields
-
 
41008
    }
-
 
41009
 
-
 
41010
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
41011
      try {
-
 
41012
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
41013
      } catch (org.apache.thrift.TException te) {
-
 
41014
        throw new java.io.IOException(te);
-
 
41015
      }
-
 
41016
    }
-
 
41017
 
-
 
41018
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
41019
      try {
-
 
41020
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
41021
      } catch (org.apache.thrift.TException te) {
-
 
41022
        throw new java.io.IOException(te);
-
 
41023
      }
-
 
41024
    }
-
 
41025
 
-
 
41026
  }
-
 
41027
 
40420
  public static class toggleDOAFlag_args implements org.apache.thrift.TBase<toggleDOAFlag_args, toggleDOAFlag_args._Fields>, java.io.Serializable, Cloneable   {
41028
  public static class toggleDOAFlag_args implements org.apache.thrift.TBase<toggleDOAFlag_args, toggleDOAFlag_args._Fields>, java.io.Serializable, Cloneable   {
40421
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("toggleDOAFlag_args");
41029
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("toggleDOAFlag_args");
40422
 
41030
 
40423
    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);
41031
    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);
40424
 
41032
 
Line 46641... Line 47249...
46641
            }
47249
            }
46642
            break;
47250
            break;
46643
          case 2: // PICKUP_DETAILS
47251
          case 2: // PICKUP_DETAILS
46644
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
47252
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
46645
              {
47253
              {
46646
                org.apache.thrift.protocol.TMap _map112 = iprot.readMapBegin();
47254
                org.apache.thrift.protocol.TMap _map116 = iprot.readMapBegin();
46647
                this.pickupDetails = new HashMap<String,String>(2*_map112.size);
47255
                this.pickupDetails = new HashMap<String,String>(2*_map116.size);
46648
                for (int _i113 = 0; _i113 < _map112.size; ++_i113)
47256
                for (int _i117 = 0; _i117 < _map116.size; ++_i117)
46649
                {
47257
                {
46650
                  String _key114; // required
47258
                  String _key118; // required
46651
                  String _val115; // required
47259
                  String _val119; // required
46652
                  _key114 = iprot.readString();
47260
                  _key118 = iprot.readString();
46653
                  _val115 = iprot.readString();
47261
                  _val119 = iprot.readString();
46654
                  this.pickupDetails.put(_key114, _val115);
47262
                  this.pickupDetails.put(_key118, _val119);
46655
                }
47263
                }
46656
                iprot.readMapEnd();
47264
                iprot.readMapEnd();
46657
              }
47265
              }
46658
            } else { 
47266
            } else { 
46659
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47267
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46677... Line 47285...
46677
      oprot.writeFieldEnd();
47285
      oprot.writeFieldEnd();
46678
      if (this.pickupDetails != null) {
47286
      if (this.pickupDetails != null) {
46679
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
47287
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
46680
        {
47288
        {
46681
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
47289
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
46682
          for (Map.Entry<String, String> _iter116 : this.pickupDetails.entrySet())
47290
          for (Map.Entry<String, String> _iter120 : this.pickupDetails.entrySet())
46683
          {
47291
          {
46684
            oprot.writeString(_iter116.getKey());
47292
            oprot.writeString(_iter120.getKey());
46685
            oprot.writeString(_iter116.getValue());
47293
            oprot.writeString(_iter120.getValue());
46686
          }
47294
          }
46687
          oprot.writeMapEnd();
47295
          oprot.writeMapEnd();
46688
        }
47296
        }
46689
        oprot.writeFieldEnd();
47297
        oprot.writeFieldEnd();
46690
      }
47298
      }
Line 46982... Line 47590...
46982
        }
47590
        }
46983
        switch (field.id) {
47591
        switch (field.id) {
46984
          case 0: // SUCCESS
47592
          case 0: // SUCCESS
46985
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47593
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46986
              {
47594
              {
46987
                org.apache.thrift.protocol.TList _list117 = iprot.readListBegin();
47595
                org.apache.thrift.protocol.TList _list121 = iprot.readListBegin();
46988
                this.success = new ArrayList<Order>(_list117.size);
47596
                this.success = new ArrayList<Order>(_list121.size);
46989
                for (int _i118 = 0; _i118 < _list117.size; ++_i118)
47597
                for (int _i122 = 0; _i122 < _list121.size; ++_i122)
46990
                {
47598
                {
46991
                  Order _elem119; // required
47599
                  Order _elem123; // required
46992
                  _elem119 = new Order();
47600
                  _elem123 = new Order();
46993
                  _elem119.read(iprot);
47601
                  _elem123.read(iprot);
46994
                  this.success.add(_elem119);
47602
                  this.success.add(_elem123);
46995
                }
47603
                }
46996
                iprot.readListEnd();
47604
                iprot.readListEnd();
46997
              }
47605
              }
46998
            } else { 
47606
            } else { 
46999
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47607
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47013... Line 47621...
47013
 
47621
 
47014
      if (this.isSetSuccess()) {
47622
      if (this.isSetSuccess()) {
47015
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47623
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47016
        {
47624
        {
47017
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47625
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47018
          for (Order _iter120 : this.success)
47626
          for (Order _iter124 : this.success)
47019
          {
47627
          {
47020
            _iter120.write(oprot);
47628
            _iter124.write(oprot);
47021
          }
47629
          }
47022
          oprot.writeListEnd();
47630
          oprot.writeListEnd();
47023
        }
47631
        }
47024
        oprot.writeFieldEnd();
47632
        oprot.writeFieldEnd();
47025
      }
47633
      }
Line 47397... Line 48005...
47397
            }
48005
            }
47398
            break;
48006
            break;
47399
          case 2: // PICKUP_DETAILS
48007
          case 2: // PICKUP_DETAILS
47400
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
48008
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
47401
              {
48009
              {
47402
                org.apache.thrift.protocol.TMap _map121 = iprot.readMapBegin();
48010
                org.apache.thrift.protocol.TMap _map125 = iprot.readMapBegin();
47403
                this.pickupDetails = new HashMap<String,String>(2*_map121.size);
48011
                this.pickupDetails = new HashMap<String,String>(2*_map125.size);
47404
                for (int _i122 = 0; _i122 < _map121.size; ++_i122)
48012
                for (int _i126 = 0; _i126 < _map125.size; ++_i126)
47405
                {
48013
                {
47406
                  String _key123; // required
48014
                  String _key127; // required
47407
                  String _val124; // required
48015
                  String _val128; // required
47408
                  _key123 = iprot.readString();
48016
                  _key127 = iprot.readString();
47409
                  _val124 = iprot.readString();
48017
                  _val128 = iprot.readString();
47410
                  this.pickupDetails.put(_key123, _val124);
48018
                  this.pickupDetails.put(_key127, _val128);
47411
                }
48019
                }
47412
                iprot.readMapEnd();
48020
                iprot.readMapEnd();
47413
              }
48021
              }
47414
            } else { 
48022
            } else { 
47415
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48023
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47433... Line 48041...
47433
      oprot.writeFieldEnd();
48041
      oprot.writeFieldEnd();
47434
      if (this.pickupDetails != null) {
48042
      if (this.pickupDetails != null) {
47435
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
48043
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
47436
        {
48044
        {
47437
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
48045
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
47438
          for (Map.Entry<String, String> _iter125 : this.pickupDetails.entrySet())
48046
          for (Map.Entry<String, String> _iter129 : this.pickupDetails.entrySet())
47439
          {
48047
          {
47440
            oprot.writeString(_iter125.getKey());
48048
            oprot.writeString(_iter129.getKey());
47441
            oprot.writeString(_iter125.getValue());
48049
            oprot.writeString(_iter129.getValue());
47442
          }
48050
          }
47443
          oprot.writeMapEnd();
48051
          oprot.writeMapEnd();
47444
        }
48052
        }
47445
        oprot.writeFieldEnd();
48053
        oprot.writeFieldEnd();
47446
      }
48054
      }
Line 47738... Line 48346...
47738
        }
48346
        }
47739
        switch (field.id) {
48347
        switch (field.id) {
47740
          case 0: // SUCCESS
48348
          case 0: // SUCCESS
47741
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48349
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47742
              {
48350
              {
47743
                org.apache.thrift.protocol.TList _list126 = iprot.readListBegin();
48351
                org.apache.thrift.protocol.TList _list130 = iprot.readListBegin();
47744
                this.success = new ArrayList<Order>(_list126.size);
48352
                this.success = new ArrayList<Order>(_list130.size);
47745
                for (int _i127 = 0; _i127 < _list126.size; ++_i127)
48353
                for (int _i131 = 0; _i131 < _list130.size; ++_i131)
47746
                {
48354
                {
47747
                  Order _elem128; // required
48355
                  Order _elem132; // required
47748
                  _elem128 = new Order();
48356
                  _elem132 = new Order();
47749
                  _elem128.read(iprot);
48357
                  _elem132.read(iprot);
47750
                  this.success.add(_elem128);
48358
                  this.success.add(_elem132);
47751
                }
48359
                }
47752
                iprot.readListEnd();
48360
                iprot.readListEnd();
47753
              }
48361
              }
47754
            } else { 
48362
            } else { 
47755
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48363
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47769... Line 48377...
47769
 
48377
 
47770
      if (this.isSetSuccess()) {
48378
      if (this.isSetSuccess()) {
47771
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48379
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47772
        {
48380
        {
47773
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
48381
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47774
          for (Order _iter129 : this.success)
48382
          for (Order _iter133 : this.success)
47775
          {
48383
          {
47776
            _iter129.write(oprot);
48384
            _iter133.write(oprot);
47777
          }
48385
          }
47778
          oprot.writeListEnd();
48386
          oprot.writeListEnd();
47779
        }
48387
        }
47780
        oprot.writeFieldEnd();
48388
        oprot.writeFieldEnd();
47781
      }
48389
      }
Line 52321... Line 52929...
52321
        }
52929
        }
52322
        switch (field.id) {
52930
        switch (field.id) {
52323
          case 0: // SUCCESS
52931
          case 0: // SUCCESS
52324
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52932
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52325
              {
52933
              {
52326
                org.apache.thrift.protocol.TList _list130 = iprot.readListBegin();
52934
                org.apache.thrift.protocol.TList _list134 = iprot.readListBegin();
52327
                this.success = new ArrayList<ReturnOrder>(_list130.size);
52935
                this.success = new ArrayList<ReturnOrder>(_list134.size);
52328
                for (int _i131 = 0; _i131 < _list130.size; ++_i131)
52936
                for (int _i135 = 0; _i135 < _list134.size; ++_i135)
52329
                {
52937
                {
52330
                  ReturnOrder _elem132; // required
52938
                  ReturnOrder _elem136; // required
52331
                  _elem132 = new ReturnOrder();
52939
                  _elem136 = new ReturnOrder();
52332
                  _elem132.read(iprot);
52940
                  _elem136.read(iprot);
52333
                  this.success.add(_elem132);
52941
                  this.success.add(_elem136);
52334
                }
52942
                }
52335
                iprot.readListEnd();
52943
                iprot.readListEnd();
52336
              }
52944
              }
52337
            } else { 
52945
            } else { 
52338
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
52946
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52352... Line 52960...
52352
 
52960
 
52353
      if (this.isSetSuccess()) {
52961
      if (this.isSetSuccess()) {
52354
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52962
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52355
        {
52963
        {
52356
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
52964
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
52357
          for (ReturnOrder _iter133 : this.success)
52965
          for (ReturnOrder _iter137 : this.success)
52358
          {
52966
          {
52359
            _iter133.write(oprot);
52967
            _iter137.write(oprot);
52360
          }
52968
          }
52361
          oprot.writeListEnd();
52969
          oprot.writeListEnd();
52362
        }
52970
        }
52363
        oprot.writeFieldEnd();
52971
        oprot.writeFieldEnd();
52364
      }
52972
      }
Line 57339... Line 57947...
57339
        }
57947
        }
57340
        switch (field.id) {
57948
        switch (field.id) {
57341
          case 1: // COLLECTED_AMOUNT_MAP
57949
          case 1: // COLLECTED_AMOUNT_MAP
57342
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
57950
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
57343
              {
57951
              {
57344
                org.apache.thrift.protocol.TMap _map134 = iprot.readMapBegin();
57952
                org.apache.thrift.protocol.TMap _map138 = iprot.readMapBegin();
57345
                this.collectedAmountMap = new HashMap<String,Double>(2*_map134.size);
57953
                this.collectedAmountMap = new HashMap<String,Double>(2*_map138.size);
57346
                for (int _i135 = 0; _i135 < _map134.size; ++_i135)
57954
                for (int _i139 = 0; _i139 < _map138.size; ++_i139)
57347
                {
57955
                {
57348
                  String _key136; // required
57956
                  String _key140; // required
57349
                  double _val137; // required
57957
                  double _val141; // required
57350
                  _key136 = iprot.readString();
57958
                  _key140 = iprot.readString();
57351
                  _val137 = iprot.readDouble();
57959
                  _val141 = iprot.readDouble();
57352
                  this.collectedAmountMap.put(_key136, _val137);
57960
                  this.collectedAmountMap.put(_key140, _val141);
57353
                }
57961
                }
57354
                iprot.readMapEnd();
57962
                iprot.readMapEnd();
57355
              }
57963
              }
57356
            } else { 
57964
            } else { 
57357
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57965
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 57394... Line 58002...
57394
      oprot.writeStructBegin(STRUCT_DESC);
58002
      oprot.writeStructBegin(STRUCT_DESC);
57395
      if (this.collectedAmountMap != null) {
58003
      if (this.collectedAmountMap != null) {
57396
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
58004
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
57397
        {
58005
        {
57398
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
58006
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
57399
          for (Map.Entry<String, Double> _iter138 : this.collectedAmountMap.entrySet())
58007
          for (Map.Entry<String, Double> _iter142 : this.collectedAmountMap.entrySet())
57400
          {
58008
          {
57401
            oprot.writeString(_iter138.getKey());
58009
            oprot.writeString(_iter142.getKey());
57402
            oprot.writeDouble(_iter138.getValue());
58010
            oprot.writeDouble(_iter142.getValue());
57403
          }
58011
          }
57404
          oprot.writeMapEnd();
58012
          oprot.writeMapEnd();
57405
        }
58013
        }
57406
        oprot.writeFieldEnd();
58014
        oprot.writeFieldEnd();
57407
      }
58015
      }
Line 57801... Line 58409...
57801
        }
58409
        }
57802
        switch (field.id) {
58410
        switch (field.id) {
57803
          case 0: // SUCCESS
58411
          case 0: // SUCCESS
57804
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
58412
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
57805
              {
58413
              {
57806
                org.apache.thrift.protocol.TMap _map139 = iprot.readMapBegin();
58414
                org.apache.thrift.protocol.TMap _map143 = iprot.readMapBegin();
57807
                this.success = new HashMap<String,String>(2*_map139.size);
58415
                this.success = new HashMap<String,String>(2*_map143.size);
57808
                for (int _i140 = 0; _i140 < _map139.size; ++_i140)
58416
                for (int _i144 = 0; _i144 < _map143.size; ++_i144)
57809
                {
58417
                {
57810
                  String _key141; // required
58418
                  String _key145; // required
57811
                  String _val142; // required
58419
                  String _val146; // required
57812
                  _key141 = iprot.readString();
58420
                  _key145 = iprot.readString();
57813
                  _val142 = iprot.readString();
58421
                  _val146 = iprot.readString();
57814
                  this.success.put(_key141, _val142);
58422
                  this.success.put(_key145, _val146);
57815
                }
58423
                }
57816
                iprot.readMapEnd();
58424
                iprot.readMapEnd();
57817
              }
58425
              }
57818
            } else { 
58426
            } else { 
57819
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58427
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 57841... Line 58449...
57841
 
58449
 
57842
      if (this.isSetSuccess()) {
58450
      if (this.isSetSuccess()) {
57843
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58451
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
57844
        {
58452
        {
57845
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
58453
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
57846
          for (Map.Entry<String, String> _iter143 : this.success.entrySet())
58454
          for (Map.Entry<String, String> _iter147 : this.success.entrySet())
57847
          {
58455
          {
57848
            oprot.writeString(_iter143.getKey());
58456
            oprot.writeString(_iter147.getKey());
57849
            oprot.writeString(_iter143.getValue());
58457
            oprot.writeString(_iter147.getValue());
57850
          }
58458
          }
57851
          oprot.writeMapEnd();
58459
          oprot.writeMapEnd();
57852
        }
58460
        }
57853
        oprot.writeFieldEnd();
58461
        oprot.writeFieldEnd();
57854
      } else if (this.isSetEx()) {
58462
      } else if (this.isSetEx()) {
Line 58460... Line 59068...
58460
        }
59068
        }
58461
        switch (field.id) {
59069
        switch (field.id) {
58462
          case 0: // SUCCESS
59070
          case 0: // SUCCESS
58463
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59071
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58464
              {
59072
              {
58465
                org.apache.thrift.protocol.TList _list144 = iprot.readListBegin();
59073
                org.apache.thrift.protocol.TList _list148 = iprot.readListBegin();
58466
                this.success = new ArrayList<Long>(_list144.size);
59074
                this.success = new ArrayList<Long>(_list148.size);
58467
                for (int _i145 = 0; _i145 < _list144.size; ++_i145)
59075
                for (int _i149 = 0; _i149 < _list148.size; ++_i149)
58468
                {
59076
                {
58469
                  long _elem146; // required
59077
                  long _elem150; // required
58470
                  _elem146 = iprot.readI64();
59078
                  _elem150 = iprot.readI64();
58471
                  this.success.add(_elem146);
59079
                  this.success.add(_elem150);
58472
                }
59080
                }
58473
                iprot.readListEnd();
59081
                iprot.readListEnd();
58474
              }
59082
              }
58475
            } else { 
59083
            } else { 
58476
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
59084
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 58490... Line 59098...
58490
 
59098
 
58491
      if (this.isSetSuccess()) {
59099
      if (this.isSetSuccess()) {
58492
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59100
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58493
        {
59101
        {
58494
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
59102
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
58495
          for (long _iter147 : this.success)
59103
          for (long _iter151 : this.success)
58496
          {
59104
          {
58497
            oprot.writeI64(_iter147);
59105
            oprot.writeI64(_iter151);
58498
          }
59106
          }
58499
          oprot.writeListEnd();
59107
          oprot.writeListEnd();
58500
        }
59108
        }
58501
        oprot.writeFieldEnd();
59109
        oprot.writeFieldEnd();
58502
      }
59110
      }
Line 59586... Line 60194...
59586
        }
60194
        }
59587
        switch (field.id) {
60195
        switch (field.id) {
59588
          case 0: // SUCCESS
60196
          case 0: // SUCCESS
59589
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
60197
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
59590
              {
60198
              {
59591
                org.apache.thrift.protocol.TMap _map148 = iprot.readMapBegin();
60199
                org.apache.thrift.protocol.TMap _map152 = iprot.readMapBegin();
59592
                this.success = new HashMap<Long,Long>(2*_map148.size);
60200
                this.success = new HashMap<Long,Long>(2*_map152.size);
59593
                for (int _i149 = 0; _i149 < _map148.size; ++_i149)
60201
                for (int _i153 = 0; _i153 < _map152.size; ++_i153)
59594
                {
60202
                {
59595
                  long _key150; // required
60203
                  long _key154; // required
59596
                  long _val151; // required
60204
                  long _val155; // required
59597
                  _key150 = iprot.readI64();
60205
                  _key154 = iprot.readI64();
59598
                  _val151 = iprot.readI64();
60206
                  _val155 = iprot.readI64();
59599
                  this.success.put(_key150, _val151);
60207
                  this.success.put(_key154, _val155);
59600
                }
60208
                }
59601
                iprot.readMapEnd();
60209
                iprot.readMapEnd();
59602
              }
60210
              }
59603
            } else { 
60211
            } else { 
59604
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60212
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 59618... Line 60226...
59618
 
60226
 
59619
      if (this.isSetSuccess()) {
60227
      if (this.isSetSuccess()) {
59620
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
60228
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59621
        {
60229
        {
59622
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
60230
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
59623
          for (Map.Entry<Long, Long> _iter152 : this.success.entrySet())
60231
          for (Map.Entry<Long, Long> _iter156 : this.success.entrySet())
59624
          {
60232
          {
59625
            oprot.writeI64(_iter152.getKey());
60233
            oprot.writeI64(_iter156.getKey());
59626
            oprot.writeI64(_iter152.getValue());
60234
            oprot.writeI64(_iter156.getValue());
59627
          }
60235
          }
59628
          oprot.writeMapEnd();
60236
          oprot.writeMapEnd();
59629
        }
60237
        }
59630
        oprot.writeFieldEnd();
60238
        oprot.writeFieldEnd();
59631
      }
60239
      }
Line 59919... Line 60527...
59919
        }
60527
        }
59920
        switch (field.id) {
60528
        switch (field.id) {
59921
          case 1: // ITEM_IDS
60529
          case 1: // ITEM_IDS
59922
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60530
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59923
              {
60531
              {
59924
                org.apache.thrift.protocol.TList _list153 = iprot.readListBegin();
60532
                org.apache.thrift.protocol.TList _list157 = iprot.readListBegin();
59925
                this.itemIds = new ArrayList<Long>(_list153.size);
60533
                this.itemIds = new ArrayList<Long>(_list157.size);
59926
                for (int _i154 = 0; _i154 < _list153.size; ++_i154)
60534
                for (int _i158 = 0; _i158 < _list157.size; ++_i158)
59927
                {
60535
                {
59928
                  long _elem155; // required
60536
                  long _elem159; // required
59929
                  _elem155 = iprot.readI64();
60537
                  _elem159 = iprot.readI64();
59930
                  this.itemIds.add(_elem155);
60538
                  this.itemIds.add(_elem159);
59931
                }
60539
                }
59932
                iprot.readListEnd();
60540
                iprot.readListEnd();
59933
              }
60541
              }
59934
            } else { 
60542
            } else { 
59935
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60543
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 59950... Line 60558...
59950
      oprot.writeStructBegin(STRUCT_DESC);
60558
      oprot.writeStructBegin(STRUCT_DESC);
59951
      if (this.itemIds != null) {
60559
      if (this.itemIds != null) {
59952
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
60560
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
59953
        {
60561
        {
59954
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
60562
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
59955
          for (long _iter156 : this.itemIds)
60563
          for (long _iter160 : this.itemIds)
59956
          {
60564
          {
59957
            oprot.writeI64(_iter156);
60565
            oprot.writeI64(_iter160);
59958
          }
60566
          }
59959
          oprot.writeListEnd();
60567
          oprot.writeListEnd();
59960
        }
60568
        }
59961
        oprot.writeFieldEnd();
60569
        oprot.writeFieldEnd();
59962
      }
60570
      }
Line 60250... Line 60858...
60250
        }
60858
        }
60251
        switch (field.id) {
60859
        switch (field.id) {
60252
          case 0: // SUCCESS
60860
          case 0: // SUCCESS
60253
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60861
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60254
              {
60862
              {
60255
                org.apache.thrift.protocol.TList _list157 = iprot.readListBegin();
60863
                org.apache.thrift.protocol.TList _list161 = iprot.readListBegin();
60256
                this.success = new ArrayList<Order>(_list157.size);
60864
                this.success = new ArrayList<Order>(_list161.size);
60257
                for (int _i158 = 0; _i158 < _list157.size; ++_i158)
60865
                for (int _i162 = 0; _i162 < _list161.size; ++_i162)
60258
                {
60866
                {
60259
                  Order _elem159; // required
60867
                  Order _elem163; // required
60260
                  _elem159 = new Order();
60868
                  _elem163 = new Order();
60261
                  _elem159.read(iprot);
60869
                  _elem163.read(iprot);
60262
                  this.success.add(_elem159);
60870
                  this.success.add(_elem163);
60263
                }
60871
                }
60264
                iprot.readListEnd();
60872
                iprot.readListEnd();
60265
              }
60873
              }
60266
            } else { 
60874
            } else { 
60267
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60875
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 60281... Line 60889...
60281
 
60889
 
60282
      if (this.isSetSuccess()) {
60890
      if (this.isSetSuccess()) {
60283
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
60891
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
60284
        {
60892
        {
60285
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
60893
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
60286
          for (Order _iter160 : this.success)
60894
          for (Order _iter164 : this.success)
60287
          {
60895
          {
60288
            _iter160.write(oprot);
60896
            _iter164.write(oprot);
60289
          }
60897
          }
60290
          oprot.writeListEnd();
60898
          oprot.writeListEnd();
60291
        }
60899
        }
60292
        oprot.writeFieldEnd();
60900
        oprot.writeFieldEnd();
60293
      }
60901
      }
Line 68239... Line 68847...
68239
        }
68847
        }
68240
        switch (field.id) {
68848
        switch (field.id) {
68241
          case 0: // SUCCESS
68849
          case 0: // SUCCESS
68242
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
68850
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
68243
              {
68851
              {
68244
                org.apache.thrift.protocol.TMap _map161 = iprot.readMapBegin();
68852
                org.apache.thrift.protocol.TMap _map165 = iprot.readMapBegin();
68245
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map161.size);
68853
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map165.size);
68246
                for (int _i162 = 0; _i162 < _map161.size; ++_i162)
68854
                for (int _i166 = 0; _i166 < _map165.size; ++_i166)
68247
                {
68855
                {
68248
                  int _key163; // required
68856
                  int _key167; // required
68249
                  TimeoutSummary _val164; // required
68857
                  TimeoutSummary _val168; // required
68250
                  _key163 = iprot.readI32();
68858
                  _key167 = iprot.readI32();
68251
                  _val164 = new TimeoutSummary();
68859
                  _val168 = new TimeoutSummary();
68252
                  _val164.read(iprot);
68860
                  _val168.read(iprot);
68253
                  this.success.put(_key163, _val164);
68861
                  this.success.put(_key167, _val168);
68254
                }
68862
                }
68255
                iprot.readMapEnd();
68863
                iprot.readMapEnd();
68256
              }
68864
              }
68257
            } else { 
68865
            } else { 
68258
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
68866
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 68280... Line 68888...
68280
 
68888
 
68281
      if (this.isSetSuccess()) {
68889
      if (this.isSetSuccess()) {
68282
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
68890
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
68283
        {
68891
        {
68284
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
68892
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
68285
          for (Map.Entry<Integer, TimeoutSummary> _iter165 : this.success.entrySet())
68893
          for (Map.Entry<Integer, TimeoutSummary> _iter169 : this.success.entrySet())
68286
          {
68894
          {
68287
            oprot.writeI32(_iter165.getKey());
68895
            oprot.writeI32(_iter169.getKey());
68288
            _iter165.getValue().write(oprot);
68896
            _iter169.getValue().write(oprot);
68289
          }
68897
          }
68290
          oprot.writeMapEnd();
68898
          oprot.writeMapEnd();
68291
        }
68899
        }
68292
        oprot.writeFieldEnd();
68900
        oprot.writeFieldEnd();
68293
      } else if (this.isSetEx()) {
68901
      } else if (this.isSetEx()) {
Line 70406... Line 71014...
70406
        }
71014
        }
70407
        switch (field.id) {
71015
        switch (field.id) {
70408
          case 0: // SUCCESS
71016
          case 0: // SUCCESS
70409
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71017
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
70410
              {
71018
              {
70411
                org.apache.thrift.protocol.TList _list166 = iprot.readListBegin();
71019
                org.apache.thrift.protocol.TList _list170 = iprot.readListBegin();
70412
                this.success = new ArrayList<Order>(_list166.size);
71020
                this.success = new ArrayList<Order>(_list170.size);
70413
                for (int _i167 = 0; _i167 < _list166.size; ++_i167)
71021
                for (int _i171 = 0; _i171 < _list170.size; ++_i171)
70414
                {
71022
                {
70415
                  Order _elem168; // required
71023
                  Order _elem172; // required
70416
                  _elem168 = new Order();
71024
                  _elem172 = new Order();
70417
                  _elem168.read(iprot);
71025
                  _elem172.read(iprot);
70418
                  this.success.add(_elem168);
71026
                  this.success.add(_elem172);
70419
                }
71027
                }
70420
                iprot.readListEnd();
71028
                iprot.readListEnd();
70421
              }
71029
              }
70422
            } else { 
71030
            } else { 
70423
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
71031
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 70445... Line 71053...
70445
 
71053
 
70446
      if (this.isSetSuccess()) {
71054
      if (this.isSetSuccess()) {
70447
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71055
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70448
        {
71056
        {
70449
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
71057
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
70450
          for (Order _iter169 : this.success)
71058
          for (Order _iter173 : this.success)
70451
          {
71059
          {
70452
            _iter169.write(oprot);
71060
            _iter173.write(oprot);
70453
          }
71061
          }
70454
          oprot.writeListEnd();
71062
          oprot.writeListEnd();
70455
        }
71063
        }
70456
        oprot.writeFieldEnd();
71064
        oprot.writeFieldEnd();
70457
      } else if (this.isSetEx()) {
71065
      } else if (this.isSetEx()) {
Line 71285... Line 71893...
71285
        }
71893
        }
71286
        switch (field.id) {
71894
        switch (field.id) {
71287
          case 0: // SUCCESS
71895
          case 0: // SUCCESS
71288
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71896
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71289
              {
71897
              {
71290
                org.apache.thrift.protocol.TList _list170 = iprot.readListBegin();
71898
                org.apache.thrift.protocol.TList _list174 = iprot.readListBegin();
71291
                this.success = new ArrayList<Order>(_list170.size);
71899
                this.success = new ArrayList<Order>(_list174.size);
71292
                for (int _i171 = 0; _i171 < _list170.size; ++_i171)
71900
                for (int _i175 = 0; _i175 < _list174.size; ++_i175)
71293
                {
71901
                {
71294
                  Order _elem172; // required
71902
                  Order _elem176; // required
71295
                  _elem172 = new Order();
71903
                  _elem176 = new Order();
71296
                  _elem172.read(iprot);
71904
                  _elem176.read(iprot);
71297
                  this.success.add(_elem172);
71905
                  this.success.add(_elem176);
71298
                }
71906
                }
71299
                iprot.readListEnd();
71907
                iprot.readListEnd();
71300
              }
71908
              }
71301
            } else { 
71909
            } else { 
71302
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
71910
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 71324... Line 71932...
71324
 
71932
 
71325
      if (this.isSetSuccess()) {
71933
      if (this.isSetSuccess()) {
71326
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71934
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71327
        {
71935
        {
71328
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
71936
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
71329
          for (Order _iter173 : this.success)
71937
          for (Order _iter177 : this.success)
71330
          {
71938
          {
71331
            _iter173.write(oprot);
71939
            _iter177.write(oprot);
71332
          }
71940
          }
71333
          oprot.writeListEnd();
71941
          oprot.writeListEnd();
71334
        }
71942
        }
71335
        oprot.writeFieldEnd();
71943
        oprot.writeFieldEnd();
71336
      } else if (this.isSetEx()) {
71944
      } else if (this.isSetEx()) {
Line 71904... Line 72512...
71904
        }
72512
        }
71905
        switch (field.id) {
72513
        switch (field.id) {
71906
          case 0: // SUCCESS
72514
          case 0: // SUCCESS
71907
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72515
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71908
              {
72516
              {
71909
                org.apache.thrift.protocol.TList _list174 = iprot.readListBegin();
72517
                org.apache.thrift.protocol.TList _list178 = iprot.readListBegin();
71910
                this.success = new ArrayList<Order>(_list174.size);
72518
                this.success = new ArrayList<Order>(_list178.size);
71911
                for (int _i175 = 0; _i175 < _list174.size; ++_i175)
72519
                for (int _i179 = 0; _i179 < _list178.size; ++_i179)
71912
                {
72520
                {
71913
                  Order _elem176; // required
72521
                  Order _elem180; // required
71914
                  _elem176 = new Order();
72522
                  _elem180 = new Order();
71915
                  _elem176.read(iprot);
72523
                  _elem180.read(iprot);
71916
                  this.success.add(_elem176);
72524
                  this.success.add(_elem180);
71917
                }
72525
                }
71918
                iprot.readListEnd();
72526
                iprot.readListEnd();
71919
              }
72527
              }
71920
            } else { 
72528
            } else { 
71921
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
72529
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 71943... Line 72551...
71943
 
72551
 
71944
      if (this.isSetSuccess()) {
72552
      if (this.isSetSuccess()) {
71945
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
72553
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71946
        {
72554
        {
71947
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
72555
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
71948
          for (Order _iter177 : this.success)
72556
          for (Order _iter181 : this.success)
71949
          {
72557
          {
71950
            _iter177.write(oprot);
72558
            _iter181.write(oprot);
71951
          }
72559
          }
71952
          oprot.writeListEnd();
72560
          oprot.writeListEnd();
71953
        }
72561
        }
71954
        oprot.writeFieldEnd();
72562
        oprot.writeFieldEnd();
71955
      } else if (this.isSetEx()) {
72563
      } else if (this.isSetEx()) {
Line 72700... Line 73308...
72700
        }
73308
        }
72701
        switch (field.id) {
73309
        switch (field.id) {
72702
          case 0: // SUCCESS
73310
          case 0: // SUCCESS
72703
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
73311
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72704
              {
73312
              {
72705
                org.apache.thrift.protocol.TList _list178 = iprot.readListBegin();
73313
                org.apache.thrift.protocol.TList _list182 = iprot.readListBegin();
72706
                this.success = new ArrayList<Order>(_list178.size);
73314
                this.success = new ArrayList<Order>(_list182.size);
72707
                for (int _i179 = 0; _i179 < _list178.size; ++_i179)
73315
                for (int _i183 = 0; _i183 < _list182.size; ++_i183)
72708
                {
73316
                {
72709
                  Order _elem180; // required
73317
                  Order _elem184; // required
72710
                  _elem180 = new Order();
73318
                  _elem184 = new Order();
72711
                  _elem180.read(iprot);
73319
                  _elem184.read(iprot);
72712
                  this.success.add(_elem180);
73320
                  this.success.add(_elem184);
72713
                }
73321
                }
72714
                iprot.readListEnd();
73322
                iprot.readListEnd();
72715
              }
73323
              }
72716
            } else { 
73324
            } else { 
72717
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
73325
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 72739... Line 73347...
72739
 
73347
 
72740
      if (this.isSetSuccess()) {
73348
      if (this.isSetSuccess()) {
72741
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
73349
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
72742
        {
73350
        {
72743
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
73351
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
72744
          for (Order _iter181 : this.success)
73352
          for (Order _iter185 : this.success)
72745
          {
73353
          {
72746
            _iter181.write(oprot);
73354
            _iter185.write(oprot);
72747
          }
73355
          }
72748
          oprot.writeListEnd();
73356
          oprot.writeListEnd();
72749
        }
73357
        }
72750
        oprot.writeFieldEnd();
73358
        oprot.writeFieldEnd();
72751
      } else if (this.isSetEx()) {
73359
      } else if (this.isSetEx()) {
Line 73056... Line 73664...
73056
        }
73664
        }
73057
        switch (field.id) {
73665
        switch (field.id) {
73058
          case 1: // MAP_AWBAND_AMOUNT
73666
          case 1: // MAP_AWBAND_AMOUNT
73059
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
73667
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
73060
              {
73668
              {
73061
                org.apache.thrift.protocol.TMap _map182 = iprot.readMapBegin();
73669
                org.apache.thrift.protocol.TMap _map186 = iprot.readMapBegin();
73062
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map182.size);
73670
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map186.size);
73063
                for (int _i183 = 0; _i183 < _map182.size; ++_i183)
73671
                for (int _i187 = 0; _i187 < _map186.size; ++_i187)
73064
                {
73672
                {
73065
                  long _key184; // required
73673
                  long _key188; // required
73066
                  double _val185; // required
73674
                  double _val189; // required
73067
                  _key184 = iprot.readI64();
73675
                  _key188 = iprot.readI64();
73068
                  _val185 = iprot.readDouble();
73676
                  _val189 = iprot.readDouble();
73069
                  this.mapAWBAndAmount.put(_key184, _val185);
73677
                  this.mapAWBAndAmount.put(_key188, _val189);
73070
                }
73678
                }
73071
                iprot.readMapEnd();
73679
                iprot.readMapEnd();
73072
              }
73680
              }
73073
            } else { 
73681
            } else { 
73074
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
73682
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 73089... Line 73697...
73089
      oprot.writeStructBegin(STRUCT_DESC);
73697
      oprot.writeStructBegin(STRUCT_DESC);
73090
      if (this.mapAWBAndAmount != null) {
73698
      if (this.mapAWBAndAmount != null) {
73091
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
73699
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
73092
        {
73700
        {
73093
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
73701
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
73094
          for (Map.Entry<Long, Double> _iter186 : this.mapAWBAndAmount.entrySet())
73702
          for (Map.Entry<Long, Double> _iter190 : this.mapAWBAndAmount.entrySet())
73095
          {
73703
          {
73096
            oprot.writeI64(_iter186.getKey());
73704
            oprot.writeI64(_iter190.getKey());
73097
            oprot.writeDouble(_iter186.getValue());
73705
            oprot.writeDouble(_iter190.getValue());
73098
          }
73706
          }
73099
          oprot.writeMapEnd();
73707
          oprot.writeMapEnd();
73100
        }
73708
        }
73101
        oprot.writeFieldEnd();
73709
        oprot.writeFieldEnd();
73102
      }
73710
      }
Line 76556... Line 77164...
76556
        }
77164
        }
76557
        switch (field.id) {
77165
        switch (field.id) {
76558
          case 0: // SUCCESS
77166
          case 0: // SUCCESS
76559
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
77167
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
76560
              {
77168
              {
76561
                org.apache.thrift.protocol.TMap _map187 = iprot.readMapBegin();
77169
                org.apache.thrift.protocol.TMap _map191 = iprot.readMapBegin();
76562
                this.success = new HashMap<Long,String>(2*_map187.size);
77170
                this.success = new HashMap<Long,String>(2*_map191.size);
76563
                for (int _i188 = 0; _i188 < _map187.size; ++_i188)
77171
                for (int _i192 = 0; _i192 < _map191.size; ++_i192)
76564
                {
77172
                {
76565
                  long _key189; // required
77173
                  long _key193; // required
76566
                  String _val190; // required
77174
                  String _val194; // required
76567
                  _key189 = iprot.readI64();
77175
                  _key193 = iprot.readI64();
76568
                  _val190 = iprot.readString();
77176
                  _val194 = iprot.readString();
76569
                  this.success.put(_key189, _val190);
77177
                  this.success.put(_key193, _val194);
76570
                }
77178
                }
76571
                iprot.readMapEnd();
77179
                iprot.readMapEnd();
76572
              }
77180
              }
76573
            } else { 
77181
            } else { 
76574
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
77182
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 76596... Line 77204...
76596
 
77204
 
76597
      if (this.isSetSuccess()) {
77205
      if (this.isSetSuccess()) {
76598
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
77206
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
76599
        {
77207
        {
76600
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
77208
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
76601
          for (Map.Entry<Long, String> _iter191 : this.success.entrySet())
77209
          for (Map.Entry<Long, String> _iter195 : this.success.entrySet())
76602
          {
77210
          {
76603
            oprot.writeI64(_iter191.getKey());
77211
            oprot.writeI64(_iter195.getKey());
76604
            oprot.writeString(_iter191.getValue());
77212
            oprot.writeString(_iter195.getValue());
76605
          }
77213
          }
76606
          oprot.writeMapEnd();
77214
          oprot.writeMapEnd();
76607
        }
77215
        }
76608
        oprot.writeFieldEnd();
77216
        oprot.writeFieldEnd();
76609
      } else if (this.isSetEx()) {
77217
      } else if (this.isSetEx()) {
Line 78700... Line 79308...
78700
        }
79308
        }
78701
        switch (field.id) {
79309
        switch (field.id) {
78702
          case 0: // SUCCESS
79310
          case 0: // SUCCESS
78703
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79311
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
78704
              {
79312
              {
78705
                org.apache.thrift.protocol.TList _list192 = iprot.readListBegin();
79313
                org.apache.thrift.protocol.TList _list196 = iprot.readListBegin();
78706
                this.success = new ArrayList<PaymentSettlement>(_list192.size);
79314
                this.success = new ArrayList<PaymentSettlement>(_list196.size);
78707
                for (int _i193 = 0; _i193 < _list192.size; ++_i193)
79315
                for (int _i197 = 0; _i197 < _list196.size; ++_i197)
78708
                {
79316
                {
78709
                  PaymentSettlement _elem194; // required
79317
                  PaymentSettlement _elem198; // required
78710
                  _elem194 = new PaymentSettlement();
79318
                  _elem198 = new PaymentSettlement();
78711
                  _elem194.read(iprot);
79319
                  _elem198.read(iprot);
78712
                  this.success.add(_elem194);
79320
                  this.success.add(_elem198);
78713
                }
79321
                }
78714
                iprot.readListEnd();
79322
                iprot.readListEnd();
78715
              }
79323
              }
78716
            } else { 
79324
            } else { 
78717
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
79325
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 78739... Line 79347...
78739
 
79347
 
78740
      if (this.isSetSuccess()) {
79348
      if (this.isSetSuccess()) {
78741
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79349
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
78742
        {
79350
        {
78743
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79351
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
78744
          for (PaymentSettlement _iter195 : this.success)
79352
          for (PaymentSettlement _iter199 : this.success)
78745
          {
79353
          {
78746
            _iter195.write(oprot);
79354
            _iter199.write(oprot);
78747
          }
79355
          }
78748
          oprot.writeListEnd();
79356
          oprot.writeListEnd();
78749
        }
79357
        }
78750
        oprot.writeFieldEnd();
79358
        oprot.writeFieldEnd();
78751
      } else if (this.isSetEx()) {
79359
      } else if (this.isSetEx()) {
Line 79051... Line 79659...
79051
        }
79659
        }
79052
        switch (field.id) {
79660
        switch (field.id) {
79053
          case 1: // ORDER_IDS
79661
          case 1: // ORDER_IDS
79054
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79662
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79055
              {
79663
              {
79056
                org.apache.thrift.protocol.TList _list196 = iprot.readListBegin();
79664
                org.apache.thrift.protocol.TList _list200 = iprot.readListBegin();
79057
                this.orderIds = new ArrayList<Long>(_list196.size);
79665
                this.orderIds = new ArrayList<Long>(_list200.size);
79058
                for (int _i197 = 0; _i197 < _list196.size; ++_i197)
79666
                for (int _i201 = 0; _i201 < _list200.size; ++_i201)
79059
                {
79667
                {
79060
                  long _elem198; // required
79668
                  long _elem202; // required
79061
                  _elem198 = iprot.readI64();
79669
                  _elem202 = iprot.readI64();
79062
                  this.orderIds.add(_elem198);
79670
                  this.orderIds.add(_elem202);
79063
                }
79671
                }
79064
                iprot.readListEnd();
79672
                iprot.readListEnd();
79065
              }
79673
              }
79066
            } else { 
79674
            } else { 
79067
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
79675
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 79082... Line 79690...
79082
      oprot.writeStructBegin(STRUCT_DESC);
79690
      oprot.writeStructBegin(STRUCT_DESC);
79083
      if (this.orderIds != null) {
79691
      if (this.orderIds != null) {
79084
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
79692
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
79085
        {
79693
        {
79086
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
79694
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
79087
          for (long _iter199 : this.orderIds)
79695
          for (long _iter203 : this.orderIds)
79088
          {
79696
          {
79089
            oprot.writeI64(_iter199);
79697
            oprot.writeI64(_iter203);
79090
          }
79698
          }
79091
          oprot.writeListEnd();
79699
          oprot.writeListEnd();
79092
        }
79700
        }
79093
        oprot.writeFieldEnd();
79701
        oprot.writeFieldEnd();
79094
      }
79702
      }
Line 79450... Line 80058...
79450
        }
80058
        }
79451
        switch (field.id) {
80059
        switch (field.id) {
79452
          case 0: // SUCCESS
80060
          case 0: // SUCCESS
79453
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
80061
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79454
              {
80062
              {
79455
                org.apache.thrift.protocol.TList _list200 = iprot.readListBegin();
80063
                org.apache.thrift.protocol.TList _list204 = iprot.readListBegin();
79456
                this.success = new ArrayList<Long>(_list200.size);
80064
                this.success = new ArrayList<Long>(_list204.size);
79457
                for (int _i201 = 0; _i201 < _list200.size; ++_i201)
80065
                for (int _i205 = 0; _i205 < _list204.size; ++_i205)
79458
                {
80066
                {
79459
                  long _elem202; // required
80067
                  long _elem206; // required
79460
                  _elem202 = iprot.readI64();
80068
                  _elem206 = iprot.readI64();
79461
                  this.success.add(_elem202);
80069
                  this.success.add(_elem206);
79462
                }
80070
                }
79463
                iprot.readListEnd();
80071
                iprot.readListEnd();
79464
              }
80072
              }
79465
            } else { 
80073
            } else { 
79466
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
80074
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 79488... Line 80096...
79488
 
80096
 
79489
      if (this.isSetSuccess()) {
80097
      if (this.isSetSuccess()) {
79490
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
80098
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79491
        {
80099
        {
79492
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
80100
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
79493
          for (long _iter203 : this.success)
80101
          for (long _iter207 : this.success)
79494
          {
80102
          {
79495
            oprot.writeI64(_iter203);
80103
            oprot.writeI64(_iter207);
79496
          }
80104
          }
79497
          oprot.writeListEnd();
80105
          oprot.writeListEnd();
79498
        }
80106
        }
79499
        oprot.writeFieldEnd();
80107
        oprot.writeFieldEnd();
79500
      } else if (this.isSetEx()) {
80108
      } else if (this.isSetEx()) {
Line 79944... Line 80552...
79944
        }
80552
        }
79945
        switch (field.id) {
80553
        switch (field.id) {
79946
          case 1: // ITEM_ID_QUANTITY_MAP
80554
          case 1: // ITEM_ID_QUANTITY_MAP
79947
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
80555
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
79948
              {
80556
              {
79949
                org.apache.thrift.protocol.TMap _map204 = iprot.readMapBegin();
80557
                org.apache.thrift.protocol.TMap _map208 = iprot.readMapBegin();
79950
                this.itemIdQuantityMap = new HashMap<Long,Long>(2*_map204.size);
80558
                this.itemIdQuantityMap = new HashMap<Long,Long>(2*_map208.size);
79951
                for (int _i205 = 0; _i205 < _map204.size; ++_i205)
80559
                for (int _i209 = 0; _i209 < _map208.size; ++_i209)
79952
                {
80560
                {
79953
                  long _key206; // required
80561
                  long _key210; // required
79954
                  long _val207; // required
80562
                  long _val211; // required
79955
                  _key206 = iprot.readI64();
80563
                  _key210 = iprot.readI64();
79956
                  _val207 = iprot.readI64();
80564
                  _val211 = iprot.readI64();
79957
                  this.itemIdQuantityMap.put(_key206, _val207);
80565
                  this.itemIdQuantityMap.put(_key210, _val211);
79958
                }
80566
                }
79959
                iprot.readMapEnd();
80567
                iprot.readMapEnd();
79960
              }
80568
              }
79961
            } else { 
80569
            } else { 
79962
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
80570
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 79993... Line 80601...
79993
      oprot.writeStructBegin(STRUCT_DESC);
80601
      oprot.writeStructBegin(STRUCT_DESC);
79994
      if (this.itemIdQuantityMap != null) {
80602
      if (this.itemIdQuantityMap != null) {
79995
        oprot.writeFieldBegin(ITEM_ID_QUANTITY_MAP_FIELD_DESC);
80603
        oprot.writeFieldBegin(ITEM_ID_QUANTITY_MAP_FIELD_DESC);
79996
        {
80604
        {
79997
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.itemIdQuantityMap.size()));
80605
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.itemIdQuantityMap.size()));
79998
          for (Map.Entry<Long, Long> _iter208 : this.itemIdQuantityMap.entrySet())
80606
          for (Map.Entry<Long, Long> _iter212 : this.itemIdQuantityMap.entrySet())
79999
          {
80607
          {
80000
            oprot.writeI64(_iter208.getKey());
80608
            oprot.writeI64(_iter212.getKey());
80001
            oprot.writeI64(_iter208.getValue());
80609
            oprot.writeI64(_iter212.getValue());
80002
          }
80610
          }
80003
          oprot.writeMapEnd();
80611
          oprot.writeMapEnd();
80004
        }
80612
        }
80005
        oprot.writeFieldEnd();
80613
        oprot.writeFieldEnd();
80006
      }
80614
      }