Subversion Repositories SmartDukaan

Rev

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

Rev 4715 Rev 4741
Line 374... Line 374...
374
     * @param pickupDetails
374
     * @param pickupDetails
375
     */
375
     */
376
    public List<Order> markDoasAsPickedUp(long providerId, Map<String,String> pickupDetails) throws org.apache.thrift.TException;
376
    public List<Order> markDoasAsPickedUp(long providerId, Map<String,String> pickupDetails) throws org.apache.thrift.TException;
377
 
377
 
378
    /**
378
    /**
-
 
379
     * Marks all RET_PICKUP_CONFIRMED orders of the previous day for a provider as RET_RETURN_IN_TRANSIT.
-
 
380
     * Returns a list of orders that were authorized for pickup but did not appear in the pick-up report.
-
 
381
     * 
-
 
382
     * @param providerId
-
 
383
     * @param pickupDetails
-
 
384
     */
-
 
385
    public List<Order> markReturnOrdersAsPickedUp(long providerId, Map<String,String> pickupDetails) throws org.apache.thrift.TException;
-
 
386
 
-
 
387
    /**
379
     * If the order status is DOA_PICKUP_CONFIRMED or DOA_RETURN_IN_TRANSIT, marks the order status as DOA_RECEIVED_PRESTINE and returns true.
388
     * If the order status is DOA_PICKUP_CONFIRMED or DOA_RETURN_IN_TRANSIT, marks the order status as DOA_RECEIVED_PRESTINE and returns true.
380
     * If the order status is RTO_IN_TRANSIT, marks the order status as RTO_RECEIVED_PRESTINE and returns true.
389
     * If the order status is RTO_IN_TRANSIT, marks the order status as RTO_RECEIVED_PRESTINE and returns true.
381
     * If the order is in any other state, it returns false.
390
     * If the order is in any other state, it returns false.
382
     * Throws an exception if the order with the given id couldn't be found.
391
     * Throws an exception if the order with the given id couldn't be found.
383
     * 
392
     * 
Line 797... Line 806...
797
 
806
 
798
    public void authorizePickup(long orderId, String pickupNumber, long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.authorizePickup_call> resultHandler) throws org.apache.thrift.TException;
807
    public void authorizePickup(long orderId, String pickupNumber, long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.authorizePickup_call> resultHandler) throws org.apache.thrift.TException;
799
 
808
 
800
    public void markDoasAsPickedUp(long providerId, Map<String,String> pickupDetails, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markDoasAsPickedUp_call> resultHandler) throws org.apache.thrift.TException;
809
    public void markDoasAsPickedUp(long providerId, Map<String,String> pickupDetails, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markDoasAsPickedUp_call> resultHandler) throws org.apache.thrift.TException;
801
 
810
 
-
 
811
    public void markReturnOrdersAsPickedUp(long providerId, Map<String,String> pickupDetails, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markReturnOrdersAsPickedUp_call> resultHandler) throws org.apache.thrift.TException;
-
 
812
 
802
    public void receiveReturn(long orderId, long receiveCondition, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.receiveReturn_call> resultHandler) throws org.apache.thrift.TException;
813
    public void receiveReturn(long orderId, long receiveCondition, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.receiveReturn_call> resultHandler) throws org.apache.thrift.TException;
803
 
814
 
804
    public void validateDoa(long orderId, boolean isValid, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateDoa_call> resultHandler) throws org.apache.thrift.TException;
815
    public void validateDoa(long orderId, boolean isValid, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateDoa_call> resultHandler) throws org.apache.thrift.TException;
805
 
816
 
806
    public void validateReturnProduct(long orderId, boolean isUsable, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateReturnProduct_call> resultHandler) throws org.apache.thrift.TException;
817
    public void validateReturnProduct(long orderId, boolean isUsable, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateReturnProduct_call> resultHandler) throws org.apache.thrift.TException;
Line 2217... Line 2228...
2217
        return result.success;
2228
        return result.success;
2218
      }
2229
      }
2219
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markDoasAsPickedUp failed: unknown result");
2230
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markDoasAsPickedUp failed: unknown result");
2220
    }
2231
    }
2221
 
2232
 
-
 
2233
    public List<Order> markReturnOrdersAsPickedUp(long providerId, Map<String,String> pickupDetails) throws org.apache.thrift.TException
-
 
2234
    {
-
 
2235
      send_markReturnOrdersAsPickedUp(providerId, pickupDetails);
-
 
2236
      return recv_markReturnOrdersAsPickedUp();
-
 
2237
    }
-
 
2238
 
-
 
2239
    public void send_markReturnOrdersAsPickedUp(long providerId, Map<String,String> pickupDetails) throws org.apache.thrift.TException
-
 
2240
    {
-
 
2241
      markReturnOrdersAsPickedUp_args args = new markReturnOrdersAsPickedUp_args();
-
 
2242
      args.setProviderId(providerId);
-
 
2243
      args.setPickupDetails(pickupDetails);
-
 
2244
      sendBase("markReturnOrdersAsPickedUp", args);
-
 
2245
    }
-
 
2246
 
-
 
2247
    public List<Order> recv_markReturnOrdersAsPickedUp() throws org.apache.thrift.TException
-
 
2248
    {
-
 
2249
      markReturnOrdersAsPickedUp_result result = new markReturnOrdersAsPickedUp_result();
-
 
2250
      receiveBase(result, "markReturnOrdersAsPickedUp");
-
 
2251
      if (result.isSetSuccess()) {
-
 
2252
        return result.success;
-
 
2253
      }
-
 
2254
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markReturnOrdersAsPickedUp failed: unknown result");
-
 
2255
    }
-
 
2256
 
2222
    public boolean receiveReturn(long orderId, long receiveCondition) throws TransactionServiceException, org.apache.thrift.TException
2257
    public boolean receiveReturn(long orderId, long receiveCondition) throws TransactionServiceException, org.apache.thrift.TException
2223
    {
2258
    {
2224
      send_receiveReturn(orderId, receiveCondition);
2259
      send_receiveReturn(orderId, receiveCondition);
2225
      return recv_receiveReturn();
2260
      return recv_receiveReturn();
2226
    }
2261
    }
Line 5129... Line 5164...
5129
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5164
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5130
        return (new Client(prot)).recv_markDoasAsPickedUp();
5165
        return (new Client(prot)).recv_markDoasAsPickedUp();
5131
      }
5166
      }
5132
    }
5167
    }
5133
 
5168
 
-
 
5169
    public void markReturnOrdersAsPickedUp(long providerId, Map<String,String> pickupDetails, org.apache.thrift.async.AsyncMethodCallback<markReturnOrdersAsPickedUp_call> resultHandler) throws org.apache.thrift.TException {
-
 
5170
      checkReady();
-
 
5171
      markReturnOrdersAsPickedUp_call method_call = new markReturnOrdersAsPickedUp_call(providerId, pickupDetails, resultHandler, this, ___protocolFactory, ___transport);
-
 
5172
      this.___currentMethod = method_call;
-
 
5173
      ___manager.call(method_call);
-
 
5174
    }
-
 
5175
 
-
 
5176
    public static class markReturnOrdersAsPickedUp_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5177
      private long providerId;
-
 
5178
      private Map<String,String> pickupDetails;
-
 
5179
      public markReturnOrdersAsPickedUp_call(long providerId, Map<String,String> pickupDetails, org.apache.thrift.async.AsyncMethodCallback<markReturnOrdersAsPickedUp_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 {
-
 
5180
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5181
        this.providerId = providerId;
-
 
5182
        this.pickupDetails = pickupDetails;
-
 
5183
      }
-
 
5184
 
-
 
5185
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5186
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markReturnOrdersAsPickedUp", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5187
        markReturnOrdersAsPickedUp_args args = new markReturnOrdersAsPickedUp_args();
-
 
5188
        args.setProviderId(providerId);
-
 
5189
        args.setPickupDetails(pickupDetails);
-
 
5190
        args.write(prot);
-
 
5191
        prot.writeMessageEnd();
-
 
5192
      }
-
 
5193
 
-
 
5194
      public List<Order> getResult() throws org.apache.thrift.TException {
-
 
5195
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5196
          throw new IllegalStateException("Method call not finished!");
-
 
5197
        }
-
 
5198
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5199
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5200
        return (new Client(prot)).recv_markReturnOrdersAsPickedUp();
-
 
5201
      }
-
 
5202
    }
-
 
5203
 
5134
    public void receiveReturn(long orderId, long receiveCondition, org.apache.thrift.async.AsyncMethodCallback<receiveReturn_call> resultHandler) throws org.apache.thrift.TException {
5204
    public void receiveReturn(long orderId, long receiveCondition, org.apache.thrift.async.AsyncMethodCallback<receiveReturn_call> resultHandler) throws org.apache.thrift.TException {
5135
      checkReady();
5205
      checkReady();
5136
      receiveReturn_call method_call = new receiveReturn_call(orderId, receiveCondition, resultHandler, this, ___protocolFactory, ___transport);
5206
      receiveReturn_call method_call = new receiveReturn_call(orderId, receiveCondition, resultHandler, this, ___protocolFactory, ___transport);
5137
      this.___currentMethod = method_call;
5207
      this.___currentMethod = method_call;
5138
      ___manager.call(method_call);
5208
      ___manager.call(method_call);
Line 6735... Line 6805...
6735
      processMap.put("markOrderReturnRequestReceived", new markOrderReturnRequestReceived());
6805
      processMap.put("markOrderReturnRequestReceived", new markOrderReturnRequestReceived());
6736
      processMap.put("markOrderReturnRequestAuthorized", new markOrderReturnRequestAuthorized());
6806
      processMap.put("markOrderReturnRequestAuthorized", new markOrderReturnRequestAuthorized());
6737
      processMap.put("requestPickupNumber", new requestPickupNumber());
6807
      processMap.put("requestPickupNumber", new requestPickupNumber());
6738
      processMap.put("authorizePickup", new authorizePickup());
6808
      processMap.put("authorizePickup", new authorizePickup());
6739
      processMap.put("markDoasAsPickedUp", new markDoasAsPickedUp());
6809
      processMap.put("markDoasAsPickedUp", new markDoasAsPickedUp());
-
 
6810
      processMap.put("markReturnOrdersAsPickedUp", new markReturnOrdersAsPickedUp());
6740
      processMap.put("receiveReturn", new receiveReturn());
6811
      processMap.put("receiveReturn", new receiveReturn());
6741
      processMap.put("validateDoa", new validateDoa());
6812
      processMap.put("validateDoa", new validateDoa());
6742
      processMap.put("validateReturnProduct", new validateReturnProduct());
6813
      processMap.put("validateReturnProduct", new validateReturnProduct());
6743
      processMap.put("reshipOrder", new reshipOrder());
6814
      processMap.put("reshipOrder", new reshipOrder());
6744
      processMap.put("refundOrder", new refundOrder());
6815
      processMap.put("refundOrder", new refundOrder());
Line 7767... Line 7838...
7767
        result.success = iface.markDoasAsPickedUp(args.providerId, args.pickupDetails);
7838
        result.success = iface.markDoasAsPickedUp(args.providerId, args.pickupDetails);
7768
        return result;
7839
        return result;
7769
      }
7840
      }
7770
    }
7841
    }
7771
 
7842
 
-
 
7843
    private static class markReturnOrdersAsPickedUp<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markReturnOrdersAsPickedUp_args> {
-
 
7844
      public markReturnOrdersAsPickedUp() {
-
 
7845
        super("markReturnOrdersAsPickedUp");
-
 
7846
      }
-
 
7847
 
-
 
7848
      protected markReturnOrdersAsPickedUp_args getEmptyArgsInstance() {
-
 
7849
        return new markReturnOrdersAsPickedUp_args();
-
 
7850
      }
-
 
7851
 
-
 
7852
      protected markReturnOrdersAsPickedUp_result getResult(I iface, markReturnOrdersAsPickedUp_args args) throws org.apache.thrift.TException {
-
 
7853
        markReturnOrdersAsPickedUp_result result = new markReturnOrdersAsPickedUp_result();
-
 
7854
        result.success = iface.markReturnOrdersAsPickedUp(args.providerId, args.pickupDetails);
-
 
7855
        return result;
-
 
7856
      }
-
 
7857
    }
-
 
7858
 
7772
    private static class receiveReturn<I extends Iface> extends org.apache.thrift.ProcessFunction<I, receiveReturn_args> {
7859
    private static class receiveReturn<I extends Iface> extends org.apache.thrift.ProcessFunction<I, receiveReturn_args> {
7773
      public receiveReturn() {
7860
      public receiveReturn() {
7774
        super("receiveReturn");
7861
        super("receiveReturn");
7775
      }
7862
      }
7776
 
7863
 
Line 46789... Line 46876...
46789
      }
46876
      }
46790
    }
46877
    }
46791
 
46878
 
46792
  }
46879
  }
46793
 
46880
 
-
 
46881
  public static class markReturnOrdersAsPickedUp_args implements org.apache.thrift.TBase<markReturnOrdersAsPickedUp_args, markReturnOrdersAsPickedUp_args._Fields>, java.io.Serializable, Cloneable   {
-
 
46882
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markReturnOrdersAsPickedUp_args");
-
 
46883
 
-
 
46884
    private static final org.apache.thrift.protocol.TField PROVIDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("providerId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
46885
    private static final org.apache.thrift.protocol.TField PICKUP_DETAILS_FIELD_DESC = new org.apache.thrift.protocol.TField("pickupDetails", org.apache.thrift.protocol.TType.MAP, (short)2);
-
 
46886
 
-
 
46887
    private long providerId; // required
-
 
46888
    private Map<String,String> pickupDetails; // required
-
 
46889
 
-
 
46890
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
46891
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
46892
      PROVIDER_ID((short)1, "providerId"),
-
 
46893
      PICKUP_DETAILS((short)2, "pickupDetails");
-
 
46894
 
-
 
46895
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
46896
 
-
 
46897
      static {
-
 
46898
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
46899
          byName.put(field.getFieldName(), field);
-
 
46900
        }
-
 
46901
      }
-
 
46902
 
-
 
46903
      /**
-
 
46904
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
46905
       */
-
 
46906
      public static _Fields findByThriftId(int fieldId) {
-
 
46907
        switch(fieldId) {
-
 
46908
          case 1: // PROVIDER_ID
-
 
46909
            return PROVIDER_ID;
-
 
46910
          case 2: // PICKUP_DETAILS
-
 
46911
            return PICKUP_DETAILS;
-
 
46912
          default:
-
 
46913
            return null;
-
 
46914
        }
-
 
46915
      }
-
 
46916
 
-
 
46917
      /**
-
 
46918
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
46919
       * if it is not found.
-
 
46920
       */
-
 
46921
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
46922
        _Fields fields = findByThriftId(fieldId);
-
 
46923
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
46924
        return fields;
-
 
46925
      }
-
 
46926
 
-
 
46927
      /**
-
 
46928
       * Find the _Fields constant that matches name, or null if its not found.
-
 
46929
       */
-
 
46930
      public static _Fields findByName(String name) {
-
 
46931
        return byName.get(name);
-
 
46932
      }
-
 
46933
 
-
 
46934
      private final short _thriftId;
-
 
46935
      private final String _fieldName;
-
 
46936
 
-
 
46937
      _Fields(short thriftId, String fieldName) {
-
 
46938
        _thriftId = thriftId;
-
 
46939
        _fieldName = fieldName;
-
 
46940
      }
-
 
46941
 
-
 
46942
      public short getThriftFieldId() {
-
 
46943
        return _thriftId;
-
 
46944
      }
-
 
46945
 
-
 
46946
      public String getFieldName() {
-
 
46947
        return _fieldName;
-
 
46948
      }
-
 
46949
    }
-
 
46950
 
-
 
46951
    // isset id assignments
-
 
46952
    private static final int __PROVIDERID_ISSET_ID = 0;
-
 
46953
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
46954
 
-
 
46955
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
46956
    static {
-
 
46957
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
46958
      tmpMap.put(_Fields.PROVIDER_ID, new org.apache.thrift.meta_data.FieldMetaData("providerId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
46959
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
46960
      tmpMap.put(_Fields.PICKUP_DETAILS, new org.apache.thrift.meta_data.FieldMetaData("pickupDetails", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
46961
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
46962
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
-
 
46963
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
-
 
46964
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
46965
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markReturnOrdersAsPickedUp_args.class, metaDataMap);
-
 
46966
    }
-
 
46967
 
-
 
46968
    public markReturnOrdersAsPickedUp_args() {
-
 
46969
    }
-
 
46970
 
-
 
46971
    public markReturnOrdersAsPickedUp_args(
-
 
46972
      long providerId,
-
 
46973
      Map<String,String> pickupDetails)
-
 
46974
    {
-
 
46975
      this();
-
 
46976
      this.providerId = providerId;
-
 
46977
      setProviderIdIsSet(true);
-
 
46978
      this.pickupDetails = pickupDetails;
-
 
46979
    }
-
 
46980
 
-
 
46981
    /**
-
 
46982
     * Performs a deep copy on <i>other</i>.
-
 
46983
     */
-
 
46984
    public markReturnOrdersAsPickedUp_args(markReturnOrdersAsPickedUp_args other) {
-
 
46985
      __isset_bit_vector.clear();
-
 
46986
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
46987
      this.providerId = other.providerId;
-
 
46988
      if (other.isSetPickupDetails()) {
-
 
46989
        Map<String,String> __this__pickupDetails = new HashMap<String,String>();
-
 
46990
        for (Map.Entry<String, String> other_element : other.pickupDetails.entrySet()) {
-
 
46991
 
-
 
46992
          String other_element_key = other_element.getKey();
-
 
46993
          String other_element_value = other_element.getValue();
-
 
46994
 
-
 
46995
          String __this__pickupDetails_copy_key = other_element_key;
-
 
46996
 
-
 
46997
          String __this__pickupDetails_copy_value = other_element_value;
-
 
46998
 
-
 
46999
          __this__pickupDetails.put(__this__pickupDetails_copy_key, __this__pickupDetails_copy_value);
-
 
47000
        }
-
 
47001
        this.pickupDetails = __this__pickupDetails;
-
 
47002
      }
-
 
47003
    }
-
 
47004
 
-
 
47005
    public markReturnOrdersAsPickedUp_args deepCopy() {
-
 
47006
      return new markReturnOrdersAsPickedUp_args(this);
-
 
47007
    }
-
 
47008
 
-
 
47009
    @Override
-
 
47010
    public void clear() {
-
 
47011
      setProviderIdIsSet(false);
-
 
47012
      this.providerId = 0;
-
 
47013
      this.pickupDetails = null;
-
 
47014
    }
-
 
47015
 
-
 
47016
    public long getProviderId() {
-
 
47017
      return this.providerId;
-
 
47018
    }
-
 
47019
 
-
 
47020
    public void setProviderId(long providerId) {
-
 
47021
      this.providerId = providerId;
-
 
47022
      setProviderIdIsSet(true);
-
 
47023
    }
-
 
47024
 
-
 
47025
    public void unsetProviderId() {
-
 
47026
      __isset_bit_vector.clear(__PROVIDERID_ISSET_ID);
-
 
47027
    }
-
 
47028
 
-
 
47029
    /** Returns true if field providerId is set (has been assigned a value) and false otherwise */
-
 
47030
    public boolean isSetProviderId() {
-
 
47031
      return __isset_bit_vector.get(__PROVIDERID_ISSET_ID);
-
 
47032
    }
-
 
47033
 
-
 
47034
    public void setProviderIdIsSet(boolean value) {
-
 
47035
      __isset_bit_vector.set(__PROVIDERID_ISSET_ID, value);
-
 
47036
    }
-
 
47037
 
-
 
47038
    public int getPickupDetailsSize() {
-
 
47039
      return (this.pickupDetails == null) ? 0 : this.pickupDetails.size();
-
 
47040
    }
-
 
47041
 
-
 
47042
    public void putToPickupDetails(String key, String val) {
-
 
47043
      if (this.pickupDetails == null) {
-
 
47044
        this.pickupDetails = new HashMap<String,String>();
-
 
47045
      }
-
 
47046
      this.pickupDetails.put(key, val);
-
 
47047
    }
-
 
47048
 
-
 
47049
    public Map<String,String> getPickupDetails() {
-
 
47050
      return this.pickupDetails;
-
 
47051
    }
-
 
47052
 
-
 
47053
    public void setPickupDetails(Map<String,String> pickupDetails) {
-
 
47054
      this.pickupDetails = pickupDetails;
-
 
47055
    }
-
 
47056
 
-
 
47057
    public void unsetPickupDetails() {
-
 
47058
      this.pickupDetails = null;
-
 
47059
    }
-
 
47060
 
-
 
47061
    /** Returns true if field pickupDetails is set (has been assigned a value) and false otherwise */
-
 
47062
    public boolean isSetPickupDetails() {
-
 
47063
      return this.pickupDetails != null;
-
 
47064
    }
-
 
47065
 
-
 
47066
    public void setPickupDetailsIsSet(boolean value) {
-
 
47067
      if (!value) {
-
 
47068
        this.pickupDetails = null;
-
 
47069
      }
-
 
47070
    }
-
 
47071
 
-
 
47072
    public void setFieldValue(_Fields field, Object value) {
-
 
47073
      switch (field) {
-
 
47074
      case PROVIDER_ID:
-
 
47075
        if (value == null) {
-
 
47076
          unsetProviderId();
-
 
47077
        } else {
-
 
47078
          setProviderId((Long)value);
-
 
47079
        }
-
 
47080
        break;
-
 
47081
 
-
 
47082
      case PICKUP_DETAILS:
-
 
47083
        if (value == null) {
-
 
47084
          unsetPickupDetails();
-
 
47085
        } else {
-
 
47086
          setPickupDetails((Map<String,String>)value);
-
 
47087
        }
-
 
47088
        break;
-
 
47089
 
-
 
47090
      }
-
 
47091
    }
-
 
47092
 
-
 
47093
    public Object getFieldValue(_Fields field) {
-
 
47094
      switch (field) {
-
 
47095
      case PROVIDER_ID:
-
 
47096
        return Long.valueOf(getProviderId());
-
 
47097
 
-
 
47098
      case PICKUP_DETAILS:
-
 
47099
        return getPickupDetails();
-
 
47100
 
-
 
47101
      }
-
 
47102
      throw new IllegalStateException();
-
 
47103
    }
-
 
47104
 
-
 
47105
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
47106
    public boolean isSet(_Fields field) {
-
 
47107
      if (field == null) {
-
 
47108
        throw new IllegalArgumentException();
-
 
47109
      }
-
 
47110
 
-
 
47111
      switch (field) {
-
 
47112
      case PROVIDER_ID:
-
 
47113
        return isSetProviderId();
-
 
47114
      case PICKUP_DETAILS:
-
 
47115
        return isSetPickupDetails();
-
 
47116
      }
-
 
47117
      throw new IllegalStateException();
-
 
47118
    }
-
 
47119
 
-
 
47120
    @Override
-
 
47121
    public boolean equals(Object that) {
-
 
47122
      if (that == null)
-
 
47123
        return false;
-
 
47124
      if (that instanceof markReturnOrdersAsPickedUp_args)
-
 
47125
        return this.equals((markReturnOrdersAsPickedUp_args)that);
-
 
47126
      return false;
-
 
47127
    }
-
 
47128
 
-
 
47129
    public boolean equals(markReturnOrdersAsPickedUp_args that) {
-
 
47130
      if (that == null)
-
 
47131
        return false;
-
 
47132
 
-
 
47133
      boolean this_present_providerId = true;
-
 
47134
      boolean that_present_providerId = true;
-
 
47135
      if (this_present_providerId || that_present_providerId) {
-
 
47136
        if (!(this_present_providerId && that_present_providerId))
-
 
47137
          return false;
-
 
47138
        if (this.providerId != that.providerId)
-
 
47139
          return false;
-
 
47140
      }
-
 
47141
 
-
 
47142
      boolean this_present_pickupDetails = true && this.isSetPickupDetails();
-
 
47143
      boolean that_present_pickupDetails = true && that.isSetPickupDetails();
-
 
47144
      if (this_present_pickupDetails || that_present_pickupDetails) {
-
 
47145
        if (!(this_present_pickupDetails && that_present_pickupDetails))
-
 
47146
          return false;
-
 
47147
        if (!this.pickupDetails.equals(that.pickupDetails))
-
 
47148
          return false;
-
 
47149
      }
-
 
47150
 
-
 
47151
      return true;
-
 
47152
    }
-
 
47153
 
-
 
47154
    @Override
-
 
47155
    public int hashCode() {
-
 
47156
      return 0;
-
 
47157
    }
-
 
47158
 
-
 
47159
    public int compareTo(markReturnOrdersAsPickedUp_args other) {
-
 
47160
      if (!getClass().equals(other.getClass())) {
-
 
47161
        return getClass().getName().compareTo(other.getClass().getName());
-
 
47162
      }
-
 
47163
 
-
 
47164
      int lastComparison = 0;
-
 
47165
      markReturnOrdersAsPickedUp_args typedOther = (markReturnOrdersAsPickedUp_args)other;
-
 
47166
 
-
 
47167
      lastComparison = Boolean.valueOf(isSetProviderId()).compareTo(typedOther.isSetProviderId());
-
 
47168
      if (lastComparison != 0) {
-
 
47169
        return lastComparison;
-
 
47170
      }
-
 
47171
      if (isSetProviderId()) {
-
 
47172
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.providerId, typedOther.providerId);
-
 
47173
        if (lastComparison != 0) {
-
 
47174
          return lastComparison;
-
 
47175
        }
-
 
47176
      }
-
 
47177
      lastComparison = Boolean.valueOf(isSetPickupDetails()).compareTo(typedOther.isSetPickupDetails());
-
 
47178
      if (lastComparison != 0) {
-
 
47179
        return lastComparison;
-
 
47180
      }
-
 
47181
      if (isSetPickupDetails()) {
-
 
47182
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pickupDetails, typedOther.pickupDetails);
-
 
47183
        if (lastComparison != 0) {
-
 
47184
          return lastComparison;
-
 
47185
        }
-
 
47186
      }
-
 
47187
      return 0;
-
 
47188
    }
-
 
47189
 
-
 
47190
    public _Fields fieldForId(int fieldId) {
-
 
47191
      return _Fields.findByThriftId(fieldId);
-
 
47192
    }
-
 
47193
 
-
 
47194
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
47195
      org.apache.thrift.protocol.TField field;
-
 
47196
      iprot.readStructBegin();
-
 
47197
      while (true)
-
 
47198
      {
-
 
47199
        field = iprot.readFieldBegin();
-
 
47200
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
47201
          break;
-
 
47202
        }
-
 
47203
        switch (field.id) {
-
 
47204
          case 1: // PROVIDER_ID
-
 
47205
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
47206
              this.providerId = iprot.readI64();
-
 
47207
              setProviderIdIsSet(true);
-
 
47208
            } else { 
-
 
47209
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
47210
            }
-
 
47211
            break;
-
 
47212
          case 2: // PICKUP_DETAILS
-
 
47213
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
47214
              {
-
 
47215
                org.apache.thrift.protocol.TMap _map121 = iprot.readMapBegin();
-
 
47216
                this.pickupDetails = new HashMap<String,String>(2*_map121.size);
-
 
47217
                for (int _i122 = 0; _i122 < _map121.size; ++_i122)
-
 
47218
                {
-
 
47219
                  String _key123; // required
-
 
47220
                  String _val124; // required
-
 
47221
                  _key123 = iprot.readString();
-
 
47222
                  _val124 = iprot.readString();
-
 
47223
                  this.pickupDetails.put(_key123, _val124);
-
 
47224
                }
-
 
47225
                iprot.readMapEnd();
-
 
47226
              }
-
 
47227
            } else { 
-
 
47228
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
47229
            }
-
 
47230
            break;
-
 
47231
          default:
-
 
47232
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
47233
        }
-
 
47234
        iprot.readFieldEnd();
-
 
47235
      }
-
 
47236
      iprot.readStructEnd();
-
 
47237
      validate();
-
 
47238
    }
-
 
47239
 
-
 
47240
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
47241
      validate();
-
 
47242
 
-
 
47243
      oprot.writeStructBegin(STRUCT_DESC);
-
 
47244
      oprot.writeFieldBegin(PROVIDER_ID_FIELD_DESC);
-
 
47245
      oprot.writeI64(this.providerId);
-
 
47246
      oprot.writeFieldEnd();
-
 
47247
      if (this.pickupDetails != null) {
-
 
47248
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
-
 
47249
        {
-
 
47250
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
-
 
47251
          for (Map.Entry<String, String> _iter125 : this.pickupDetails.entrySet())
-
 
47252
          {
-
 
47253
            oprot.writeString(_iter125.getKey());
-
 
47254
            oprot.writeString(_iter125.getValue());
-
 
47255
          }
-
 
47256
          oprot.writeMapEnd();
-
 
47257
        }
-
 
47258
        oprot.writeFieldEnd();
-
 
47259
      }
-
 
47260
      oprot.writeFieldStop();
-
 
47261
      oprot.writeStructEnd();
-
 
47262
    }
-
 
47263
 
-
 
47264
    @Override
-
 
47265
    public String toString() {
-
 
47266
      StringBuilder sb = new StringBuilder("markReturnOrdersAsPickedUp_args(");
-
 
47267
      boolean first = true;
-
 
47268
 
-
 
47269
      sb.append("providerId:");
-
 
47270
      sb.append(this.providerId);
-
 
47271
      first = false;
-
 
47272
      if (!first) sb.append(", ");
-
 
47273
      sb.append("pickupDetails:");
-
 
47274
      if (this.pickupDetails == null) {
-
 
47275
        sb.append("null");
-
 
47276
      } else {
-
 
47277
        sb.append(this.pickupDetails);
-
 
47278
      }
-
 
47279
      first = false;
-
 
47280
      sb.append(")");
-
 
47281
      return sb.toString();
-
 
47282
    }
-
 
47283
 
-
 
47284
    public void validate() throws org.apache.thrift.TException {
-
 
47285
      // check for required fields
-
 
47286
    }
-
 
47287
 
-
 
47288
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
47289
      try {
-
 
47290
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
47291
      } catch (org.apache.thrift.TException te) {
-
 
47292
        throw new java.io.IOException(te);
-
 
47293
      }
-
 
47294
    }
-
 
47295
 
-
 
47296
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
47297
      try {
-
 
47298
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
47299
      } catch (org.apache.thrift.TException te) {
-
 
47300
        throw new java.io.IOException(te);
-
 
47301
      }
-
 
47302
    }
-
 
47303
 
-
 
47304
  }
-
 
47305
 
-
 
47306
  public static class markReturnOrdersAsPickedUp_result implements org.apache.thrift.TBase<markReturnOrdersAsPickedUp_result, markReturnOrdersAsPickedUp_result._Fields>, java.io.Serializable, Cloneable   {
-
 
47307
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markReturnOrdersAsPickedUp_result");
-
 
47308
 
-
 
47309
    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);
-
 
47310
 
-
 
47311
    private List<Order> success; // required
-
 
47312
 
-
 
47313
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
47314
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
47315
      SUCCESS((short)0, "success");
-
 
47316
 
-
 
47317
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
47318
 
-
 
47319
      static {
-
 
47320
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
47321
          byName.put(field.getFieldName(), field);
-
 
47322
        }
-
 
47323
      }
-
 
47324
 
-
 
47325
      /**
-
 
47326
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
47327
       */
-
 
47328
      public static _Fields findByThriftId(int fieldId) {
-
 
47329
        switch(fieldId) {
-
 
47330
          case 0: // SUCCESS
-
 
47331
            return SUCCESS;
-
 
47332
          default:
-
 
47333
            return null;
-
 
47334
        }
-
 
47335
      }
-
 
47336
 
-
 
47337
      /**
-
 
47338
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
47339
       * if it is not found.
-
 
47340
       */
-
 
47341
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
47342
        _Fields fields = findByThriftId(fieldId);
-
 
47343
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
47344
        return fields;
-
 
47345
      }
-
 
47346
 
-
 
47347
      /**
-
 
47348
       * Find the _Fields constant that matches name, or null if its not found.
-
 
47349
       */
-
 
47350
      public static _Fields findByName(String name) {
-
 
47351
        return byName.get(name);
-
 
47352
      }
-
 
47353
 
-
 
47354
      private final short _thriftId;
-
 
47355
      private final String _fieldName;
-
 
47356
 
-
 
47357
      _Fields(short thriftId, String fieldName) {
-
 
47358
        _thriftId = thriftId;
-
 
47359
        _fieldName = fieldName;
-
 
47360
      }
-
 
47361
 
-
 
47362
      public short getThriftFieldId() {
-
 
47363
        return _thriftId;
-
 
47364
      }
-
 
47365
 
-
 
47366
      public String getFieldName() {
-
 
47367
        return _fieldName;
-
 
47368
      }
-
 
47369
    }
-
 
47370
 
-
 
47371
    // isset id assignments
-
 
47372
 
-
 
47373
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
47374
    static {
-
 
47375
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
47376
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
47377
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
47378
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
-
 
47379
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
47380
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markReturnOrdersAsPickedUp_result.class, metaDataMap);
-
 
47381
    }
-
 
47382
 
-
 
47383
    public markReturnOrdersAsPickedUp_result() {
-
 
47384
    }
-
 
47385
 
-
 
47386
    public markReturnOrdersAsPickedUp_result(
-
 
47387
      List<Order> success)
-
 
47388
    {
-
 
47389
      this();
-
 
47390
      this.success = success;
-
 
47391
    }
-
 
47392
 
-
 
47393
    /**
-
 
47394
     * Performs a deep copy on <i>other</i>.
-
 
47395
     */
-
 
47396
    public markReturnOrdersAsPickedUp_result(markReturnOrdersAsPickedUp_result other) {
-
 
47397
      if (other.isSetSuccess()) {
-
 
47398
        List<Order> __this__success = new ArrayList<Order>();
-
 
47399
        for (Order other_element : other.success) {
-
 
47400
          __this__success.add(new Order(other_element));
-
 
47401
        }
-
 
47402
        this.success = __this__success;
-
 
47403
      }
-
 
47404
    }
-
 
47405
 
-
 
47406
    public markReturnOrdersAsPickedUp_result deepCopy() {
-
 
47407
      return new markReturnOrdersAsPickedUp_result(this);
-
 
47408
    }
-
 
47409
 
-
 
47410
    @Override
-
 
47411
    public void clear() {
-
 
47412
      this.success = null;
-
 
47413
    }
-
 
47414
 
-
 
47415
    public int getSuccessSize() {
-
 
47416
      return (this.success == null) ? 0 : this.success.size();
-
 
47417
    }
-
 
47418
 
-
 
47419
    public java.util.Iterator<Order> getSuccessIterator() {
-
 
47420
      return (this.success == null) ? null : this.success.iterator();
-
 
47421
    }
-
 
47422
 
-
 
47423
    public void addToSuccess(Order elem) {
-
 
47424
      if (this.success == null) {
-
 
47425
        this.success = new ArrayList<Order>();
-
 
47426
      }
-
 
47427
      this.success.add(elem);
-
 
47428
    }
-
 
47429
 
-
 
47430
    public List<Order> getSuccess() {
-
 
47431
      return this.success;
-
 
47432
    }
-
 
47433
 
-
 
47434
    public void setSuccess(List<Order> success) {
-
 
47435
      this.success = success;
-
 
47436
    }
-
 
47437
 
-
 
47438
    public void unsetSuccess() {
-
 
47439
      this.success = null;
-
 
47440
    }
-
 
47441
 
-
 
47442
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
47443
    public boolean isSetSuccess() {
-
 
47444
      return this.success != null;
-
 
47445
    }
-
 
47446
 
-
 
47447
    public void setSuccessIsSet(boolean value) {
-
 
47448
      if (!value) {
-
 
47449
        this.success = null;
-
 
47450
      }
-
 
47451
    }
-
 
47452
 
-
 
47453
    public void setFieldValue(_Fields field, Object value) {
-
 
47454
      switch (field) {
-
 
47455
      case SUCCESS:
-
 
47456
        if (value == null) {
-
 
47457
          unsetSuccess();
-
 
47458
        } else {
-
 
47459
          setSuccess((List<Order>)value);
-
 
47460
        }
-
 
47461
        break;
-
 
47462
 
-
 
47463
      }
-
 
47464
    }
-
 
47465
 
-
 
47466
    public Object getFieldValue(_Fields field) {
-
 
47467
      switch (field) {
-
 
47468
      case SUCCESS:
-
 
47469
        return getSuccess();
-
 
47470
 
-
 
47471
      }
-
 
47472
      throw new IllegalStateException();
-
 
47473
    }
-
 
47474
 
-
 
47475
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
47476
    public boolean isSet(_Fields field) {
-
 
47477
      if (field == null) {
-
 
47478
        throw new IllegalArgumentException();
-
 
47479
      }
-
 
47480
 
-
 
47481
      switch (field) {
-
 
47482
      case SUCCESS:
-
 
47483
        return isSetSuccess();
-
 
47484
      }
-
 
47485
      throw new IllegalStateException();
-
 
47486
    }
-
 
47487
 
-
 
47488
    @Override
-
 
47489
    public boolean equals(Object that) {
-
 
47490
      if (that == null)
-
 
47491
        return false;
-
 
47492
      if (that instanceof markReturnOrdersAsPickedUp_result)
-
 
47493
        return this.equals((markReturnOrdersAsPickedUp_result)that);
-
 
47494
      return false;
-
 
47495
    }
-
 
47496
 
-
 
47497
    public boolean equals(markReturnOrdersAsPickedUp_result that) {
-
 
47498
      if (that == null)
-
 
47499
        return false;
-
 
47500
 
-
 
47501
      boolean this_present_success = true && this.isSetSuccess();
-
 
47502
      boolean that_present_success = true && that.isSetSuccess();
-
 
47503
      if (this_present_success || that_present_success) {
-
 
47504
        if (!(this_present_success && that_present_success))
-
 
47505
          return false;
-
 
47506
        if (!this.success.equals(that.success))
-
 
47507
          return false;
-
 
47508
      }
-
 
47509
 
-
 
47510
      return true;
-
 
47511
    }
-
 
47512
 
-
 
47513
    @Override
-
 
47514
    public int hashCode() {
-
 
47515
      return 0;
-
 
47516
    }
-
 
47517
 
-
 
47518
    public int compareTo(markReturnOrdersAsPickedUp_result other) {
-
 
47519
      if (!getClass().equals(other.getClass())) {
-
 
47520
        return getClass().getName().compareTo(other.getClass().getName());
-
 
47521
      }
-
 
47522
 
-
 
47523
      int lastComparison = 0;
-
 
47524
      markReturnOrdersAsPickedUp_result typedOther = (markReturnOrdersAsPickedUp_result)other;
-
 
47525
 
-
 
47526
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
47527
      if (lastComparison != 0) {
-
 
47528
        return lastComparison;
-
 
47529
      }
-
 
47530
      if (isSetSuccess()) {
-
 
47531
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
47532
        if (lastComparison != 0) {
-
 
47533
          return lastComparison;
-
 
47534
        }
-
 
47535
      }
-
 
47536
      return 0;
-
 
47537
    }
-
 
47538
 
-
 
47539
    public _Fields fieldForId(int fieldId) {
-
 
47540
      return _Fields.findByThriftId(fieldId);
-
 
47541
    }
-
 
47542
 
-
 
47543
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
47544
      org.apache.thrift.protocol.TField field;
-
 
47545
      iprot.readStructBegin();
-
 
47546
      while (true)
-
 
47547
      {
-
 
47548
        field = iprot.readFieldBegin();
-
 
47549
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
47550
          break;
-
 
47551
        }
-
 
47552
        switch (field.id) {
-
 
47553
          case 0: // SUCCESS
-
 
47554
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
47555
              {
-
 
47556
                org.apache.thrift.protocol.TList _list126 = iprot.readListBegin();
-
 
47557
                this.success = new ArrayList<Order>(_list126.size);
-
 
47558
                for (int _i127 = 0; _i127 < _list126.size; ++_i127)
-
 
47559
                {
-
 
47560
                  Order _elem128; // required
-
 
47561
                  _elem128 = new Order();
-
 
47562
                  _elem128.read(iprot);
-
 
47563
                  this.success.add(_elem128);
-
 
47564
                }
-
 
47565
                iprot.readListEnd();
-
 
47566
              }
-
 
47567
            } else { 
-
 
47568
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
47569
            }
-
 
47570
            break;
-
 
47571
          default:
-
 
47572
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
47573
        }
-
 
47574
        iprot.readFieldEnd();
-
 
47575
      }
-
 
47576
      iprot.readStructEnd();
-
 
47577
      validate();
-
 
47578
    }
-
 
47579
 
-
 
47580
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
47581
      oprot.writeStructBegin(STRUCT_DESC);
-
 
47582
 
-
 
47583
      if (this.isSetSuccess()) {
-
 
47584
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
47585
        {
-
 
47586
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
47587
          for (Order _iter129 : this.success)
-
 
47588
          {
-
 
47589
            _iter129.write(oprot);
-
 
47590
          }
-
 
47591
          oprot.writeListEnd();
-
 
47592
        }
-
 
47593
        oprot.writeFieldEnd();
-
 
47594
      }
-
 
47595
      oprot.writeFieldStop();
-
 
47596
      oprot.writeStructEnd();
-
 
47597
    }
-
 
47598
 
-
 
47599
    @Override
-
 
47600
    public String toString() {
-
 
47601
      StringBuilder sb = new StringBuilder("markReturnOrdersAsPickedUp_result(");
-
 
47602
      boolean first = true;
-
 
47603
 
-
 
47604
      sb.append("success:");
-
 
47605
      if (this.success == null) {
-
 
47606
        sb.append("null");
-
 
47607
      } else {
-
 
47608
        sb.append(this.success);
-
 
47609
      }
-
 
47610
      first = false;
-
 
47611
      sb.append(")");
-
 
47612
      return sb.toString();
-
 
47613
    }
-
 
47614
 
-
 
47615
    public void validate() throws org.apache.thrift.TException {
-
 
47616
      // check for required fields
-
 
47617
    }
-
 
47618
 
-
 
47619
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
47620
      try {
-
 
47621
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
47622
      } catch (org.apache.thrift.TException te) {
-
 
47623
        throw new java.io.IOException(te);
-
 
47624
      }
-
 
47625
    }
-
 
47626
 
-
 
47627
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
47628
      try {
-
 
47629
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
47630
      } catch (org.apache.thrift.TException te) {
-
 
47631
        throw new java.io.IOException(te);
-
 
47632
      }
-
 
47633
    }
-
 
47634
 
-
 
47635
  }
-
 
47636
 
46794
  public static class receiveReturn_args implements org.apache.thrift.TBase<receiveReturn_args, receiveReturn_args._Fields>, java.io.Serializable, Cloneable   {
47637
  public static class receiveReturn_args implements org.apache.thrift.TBase<receiveReturn_args, receiveReturn_args._Fields>, java.io.Serializable, Cloneable   {
46795
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("receiveReturn_args");
47638
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("receiveReturn_args");
46796
 
47639
 
46797
    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);
47640
    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);
46798
    private static final org.apache.thrift.protocol.TField RECEIVE_CONDITION_FIELD_DESC = new org.apache.thrift.protocol.TField("receiveCondition", org.apache.thrift.protocol.TType.I64, (short)2);
47641
    private static final org.apache.thrift.protocol.TField RECEIVE_CONDITION_FIELD_DESC = new org.apache.thrift.protocol.TField("receiveCondition", org.apache.thrift.protocol.TType.I64, (short)2);
Line 51291... Line 52134...
51291
        }
52134
        }
51292
        switch (field.id) {
52135
        switch (field.id) {
51293
          case 0: // SUCCESS
52136
          case 0: // SUCCESS
51294
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52137
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
51295
              {
52138
              {
51296
                org.apache.thrift.protocol.TList _list121 = iprot.readListBegin();
52139
                org.apache.thrift.protocol.TList _list130 = iprot.readListBegin();
51297
                this.success = new ArrayList<ReturnOrder>(_list121.size);
52140
                this.success = new ArrayList<ReturnOrder>(_list130.size);
51298
                for (int _i122 = 0; _i122 < _list121.size; ++_i122)
52141
                for (int _i131 = 0; _i131 < _list130.size; ++_i131)
51299
                {
52142
                {
51300
                  ReturnOrder _elem123; // required
52143
                  ReturnOrder _elem132; // required
51301
                  _elem123 = new ReturnOrder();
52144
                  _elem132 = new ReturnOrder();
51302
                  _elem123.read(iprot);
52145
                  _elem132.read(iprot);
51303
                  this.success.add(_elem123);
52146
                  this.success.add(_elem132);
51304
                }
52147
                }
51305
                iprot.readListEnd();
52148
                iprot.readListEnd();
51306
              }
52149
              }
51307
            } else { 
52150
            } else { 
51308
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
52151
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 51322... Line 52165...
51322
 
52165
 
51323
      if (this.isSetSuccess()) {
52166
      if (this.isSetSuccess()) {
51324
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52167
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
51325
        {
52168
        {
51326
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
52169
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
51327
          for (ReturnOrder _iter124 : this.success)
52170
          for (ReturnOrder _iter133 : this.success)
51328
          {
52171
          {
51329
            _iter124.write(oprot);
52172
            _iter133.write(oprot);
51330
          }
52173
          }
51331
          oprot.writeListEnd();
52174
          oprot.writeListEnd();
51332
        }
52175
        }
51333
        oprot.writeFieldEnd();
52176
        oprot.writeFieldEnd();
51334
      }
52177
      }
Line 53242... Line 54085...
53242
        }
54085
        }
53243
        switch (field.id) {
54086
        switch (field.id) {
53244
          case 0: // SUCCESS
54087
          case 0: // SUCCESS
53245
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54088
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53246
              {
54089
              {
53247
                org.apache.thrift.protocol.TList _list125 = iprot.readListBegin();
54090
                org.apache.thrift.protocol.TList _list134 = iprot.readListBegin();
53248
                this.success = new ArrayList<Long>(_list125.size);
54091
                this.success = new ArrayList<Long>(_list134.size);
53249
                for (int _i126 = 0; _i126 < _list125.size; ++_i126)
54092
                for (int _i135 = 0; _i135 < _list134.size; ++_i135)
53250
                {
54093
                {
53251
                  long _elem127; // required
54094
                  long _elem136; // required
53252
                  _elem127 = iprot.readI64();
54095
                  _elem136 = iprot.readI64();
53253
                  this.success.add(_elem127);
54096
                  this.success.add(_elem136);
53254
                }
54097
                }
53255
                iprot.readListEnd();
54098
                iprot.readListEnd();
53256
              }
54099
              }
53257
            } else { 
54100
            } else { 
53258
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54101
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 53280... Line 54123...
53280
 
54123
 
53281
      if (this.isSetSuccess()) {
54124
      if (this.isSetSuccess()) {
53282
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54125
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53283
        {
54126
        {
53284
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
54127
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
53285
          for (long _iter128 : this.success)
54128
          for (long _iter137 : this.success)
53286
          {
54129
          {
53287
            oprot.writeI64(_iter128);
54130
            oprot.writeI64(_iter137);
53288
          }
54131
          }
53289
          oprot.writeListEnd();
54132
          oprot.writeListEnd();
53290
        }
54133
        }
53291
        oprot.writeFieldEnd();
54134
        oprot.writeFieldEnd();
53292
      } else if (this.isSetEx()) {
54135
      } else if (this.isSetEx()) {
Line 57019... Line 57862...
57019
        }
57862
        }
57020
        switch (field.id) {
57863
        switch (field.id) {
57021
          case 1: // COLLECTED_AMOUNT_MAP
57864
          case 1: // COLLECTED_AMOUNT_MAP
57022
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
57865
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
57023
              {
57866
              {
57024
                org.apache.thrift.protocol.TMap _map129 = iprot.readMapBegin();
57867
                org.apache.thrift.protocol.TMap _map138 = iprot.readMapBegin();
57025
                this.collectedAmountMap = new HashMap<String,Double>(2*_map129.size);
57868
                this.collectedAmountMap = new HashMap<String,Double>(2*_map138.size);
57026
                for (int _i130 = 0; _i130 < _map129.size; ++_i130)
57869
                for (int _i139 = 0; _i139 < _map138.size; ++_i139)
57027
                {
57870
                {
57028
                  String _key131; // required
57871
                  String _key140; // required
57029
                  double _val132; // required
57872
                  double _val141; // required
57030
                  _key131 = iprot.readString();
57873
                  _key140 = iprot.readString();
57031
                  _val132 = iprot.readDouble();
57874
                  _val141 = iprot.readDouble();
57032
                  this.collectedAmountMap.put(_key131, _val132);
57875
                  this.collectedAmountMap.put(_key140, _val141);
57033
                }
57876
                }
57034
                iprot.readMapEnd();
57877
                iprot.readMapEnd();
57035
              }
57878
              }
57036
            } else { 
57879
            } else { 
57037
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57880
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 57074... Line 57917...
57074
      oprot.writeStructBegin(STRUCT_DESC);
57917
      oprot.writeStructBegin(STRUCT_DESC);
57075
      if (this.collectedAmountMap != null) {
57918
      if (this.collectedAmountMap != null) {
57076
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
57919
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
57077
        {
57920
        {
57078
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
57921
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
57079
          for (Map.Entry<String, Double> _iter133 : this.collectedAmountMap.entrySet())
57922
          for (Map.Entry<String, Double> _iter142 : this.collectedAmountMap.entrySet())
57080
          {
57923
          {
57081
            oprot.writeString(_iter133.getKey());
57924
            oprot.writeString(_iter142.getKey());
57082
            oprot.writeDouble(_iter133.getValue());
57925
            oprot.writeDouble(_iter142.getValue());
57083
          }
57926
          }
57084
          oprot.writeMapEnd();
57927
          oprot.writeMapEnd();
57085
        }
57928
        }
57086
        oprot.writeFieldEnd();
57929
        oprot.writeFieldEnd();
57087
      }
57930
      }
Line 57481... Line 58324...
57481
        }
58324
        }
57482
        switch (field.id) {
58325
        switch (field.id) {
57483
          case 0: // SUCCESS
58326
          case 0: // SUCCESS
57484
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
58327
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
57485
              {
58328
              {
57486
                org.apache.thrift.protocol.TMap _map134 = iprot.readMapBegin();
58329
                org.apache.thrift.protocol.TMap _map143 = iprot.readMapBegin();
57487
                this.success = new HashMap<String,String>(2*_map134.size);
58330
                this.success = new HashMap<String,String>(2*_map143.size);
57488
                for (int _i135 = 0; _i135 < _map134.size; ++_i135)
58331
                for (int _i144 = 0; _i144 < _map143.size; ++_i144)
57489
                {
58332
                {
57490
                  String _key136; // required
58333
                  String _key145; // required
57491
                  String _val137; // required
58334
                  String _val146; // required
57492
                  _key136 = iprot.readString();
58335
                  _key145 = iprot.readString();
57493
                  _val137 = iprot.readString();
58336
                  _val146 = iprot.readString();
57494
                  this.success.put(_key136, _val137);
58337
                  this.success.put(_key145, _val146);
57495
                }
58338
                }
57496
                iprot.readMapEnd();
58339
                iprot.readMapEnd();
57497
              }
58340
              }
57498
            } else { 
58341
            } else { 
57499
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58342
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 57521... Line 58364...
57521
 
58364
 
57522
      if (this.isSetSuccess()) {
58365
      if (this.isSetSuccess()) {
57523
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58366
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
57524
        {
58367
        {
57525
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
58368
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
57526
          for (Map.Entry<String, String> _iter138 : this.success.entrySet())
58369
          for (Map.Entry<String, String> _iter147 : this.success.entrySet())
57527
          {
58370
          {
57528
            oprot.writeString(_iter138.getKey());
58371
            oprot.writeString(_iter147.getKey());
57529
            oprot.writeString(_iter138.getValue());
58372
            oprot.writeString(_iter147.getValue());
57530
          }
58373
          }
57531
          oprot.writeMapEnd();
58374
          oprot.writeMapEnd();
57532
        }
58375
        }
57533
        oprot.writeFieldEnd();
58376
        oprot.writeFieldEnd();
57534
      } else if (this.isSetEx()) {
58377
      } else if (this.isSetEx()) {
Line 58140... Line 58983...
58140
        }
58983
        }
58141
        switch (field.id) {
58984
        switch (field.id) {
58142
          case 0: // SUCCESS
58985
          case 0: // SUCCESS
58143
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58986
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58144
              {
58987
              {
58145
                org.apache.thrift.protocol.TList _list139 = iprot.readListBegin();
58988
                org.apache.thrift.protocol.TList _list148 = iprot.readListBegin();
58146
                this.success = new ArrayList<Long>(_list139.size);
58989
                this.success = new ArrayList<Long>(_list148.size);
58147
                for (int _i140 = 0; _i140 < _list139.size; ++_i140)
58990
                for (int _i149 = 0; _i149 < _list148.size; ++_i149)
58148
                {
58991
                {
58149
                  long _elem141; // required
58992
                  long _elem150; // required
58150
                  _elem141 = iprot.readI64();
58993
                  _elem150 = iprot.readI64();
58151
                  this.success.add(_elem141);
58994
                  this.success.add(_elem150);
58152
                }
58995
                }
58153
                iprot.readListEnd();
58996
                iprot.readListEnd();
58154
              }
58997
              }
58155
            } else { 
58998
            } else { 
58156
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58999
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 58170... Line 59013...
58170
 
59013
 
58171
      if (this.isSetSuccess()) {
59014
      if (this.isSetSuccess()) {
58172
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59015
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58173
        {
59016
        {
58174
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
59017
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
58175
          for (long _iter142 : this.success)
59018
          for (long _iter151 : this.success)
58176
          {
59019
          {
58177
            oprot.writeI64(_iter142);
59020
            oprot.writeI64(_iter151);
58178
          }
59021
          }
58179
          oprot.writeListEnd();
59022
          oprot.writeListEnd();
58180
        }
59023
        }
58181
        oprot.writeFieldEnd();
59024
        oprot.writeFieldEnd();
58182
      }
59025
      }
Line 59266... Line 60109...
59266
        }
60109
        }
59267
        switch (field.id) {
60110
        switch (field.id) {
59268
          case 0: // SUCCESS
60111
          case 0: // SUCCESS
59269
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
60112
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
59270
              {
60113
              {
59271
                org.apache.thrift.protocol.TMap _map143 = iprot.readMapBegin();
60114
                org.apache.thrift.protocol.TMap _map152 = iprot.readMapBegin();
59272
                this.success = new HashMap<Long,Long>(2*_map143.size);
60115
                this.success = new HashMap<Long,Long>(2*_map152.size);
59273
                for (int _i144 = 0; _i144 < _map143.size; ++_i144)
60116
                for (int _i153 = 0; _i153 < _map152.size; ++_i153)
59274
                {
60117
                {
59275
                  long _key145; // required
60118
                  long _key154; // required
59276
                  long _val146; // required
60119
                  long _val155; // required
59277
                  _key145 = iprot.readI64();
60120
                  _key154 = iprot.readI64();
59278
                  _val146 = iprot.readI64();
60121
                  _val155 = iprot.readI64();
59279
                  this.success.put(_key145, _val146);
60122
                  this.success.put(_key154, _val155);
59280
                }
60123
                }
59281
                iprot.readMapEnd();
60124
                iprot.readMapEnd();
59282
              }
60125
              }
59283
            } else { 
60126
            } else { 
59284
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60127
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 59298... Line 60141...
59298
 
60141
 
59299
      if (this.isSetSuccess()) {
60142
      if (this.isSetSuccess()) {
59300
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
60143
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59301
        {
60144
        {
59302
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
60145
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
59303
          for (Map.Entry<Long, Long> _iter147 : this.success.entrySet())
60146
          for (Map.Entry<Long, Long> _iter156 : this.success.entrySet())
59304
          {
60147
          {
59305
            oprot.writeI64(_iter147.getKey());
60148
            oprot.writeI64(_iter156.getKey());
59306
            oprot.writeI64(_iter147.getValue());
60149
            oprot.writeI64(_iter156.getValue());
59307
          }
60150
          }
59308
          oprot.writeMapEnd();
60151
          oprot.writeMapEnd();
59309
        }
60152
        }
59310
        oprot.writeFieldEnd();
60153
        oprot.writeFieldEnd();
59311
      }
60154
      }
Line 59599... Line 60442...
59599
        }
60442
        }
59600
        switch (field.id) {
60443
        switch (field.id) {
59601
          case 1: // ITEM_IDS
60444
          case 1: // ITEM_IDS
59602
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60445
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59603
              {
60446
              {
59604
                org.apache.thrift.protocol.TList _list148 = iprot.readListBegin();
60447
                org.apache.thrift.protocol.TList _list157 = iprot.readListBegin();
59605
                this.itemIds = new ArrayList<Long>(_list148.size);
60448
                this.itemIds = new ArrayList<Long>(_list157.size);
59606
                for (int _i149 = 0; _i149 < _list148.size; ++_i149)
60449
                for (int _i158 = 0; _i158 < _list157.size; ++_i158)
59607
                {
60450
                {
59608
                  long _elem150; // required
60451
                  long _elem159; // required
59609
                  _elem150 = iprot.readI64();
60452
                  _elem159 = iprot.readI64();
59610
                  this.itemIds.add(_elem150);
60453
                  this.itemIds.add(_elem159);
59611
                }
60454
                }
59612
                iprot.readListEnd();
60455
                iprot.readListEnd();
59613
              }
60456
              }
59614
            } else { 
60457
            } else { 
59615
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60458
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 59630... Line 60473...
59630
      oprot.writeStructBegin(STRUCT_DESC);
60473
      oprot.writeStructBegin(STRUCT_DESC);
59631
      if (this.itemIds != null) {
60474
      if (this.itemIds != null) {
59632
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
60475
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
59633
        {
60476
        {
59634
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
60477
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
59635
          for (long _iter151 : this.itemIds)
60478
          for (long _iter160 : this.itemIds)
59636
          {
60479
          {
59637
            oprot.writeI64(_iter151);
60480
            oprot.writeI64(_iter160);
59638
          }
60481
          }
59639
          oprot.writeListEnd();
60482
          oprot.writeListEnd();
59640
        }
60483
        }
59641
        oprot.writeFieldEnd();
60484
        oprot.writeFieldEnd();
59642
      }
60485
      }
Line 59930... Line 60773...
59930
        }
60773
        }
59931
        switch (field.id) {
60774
        switch (field.id) {
59932
          case 0: // SUCCESS
60775
          case 0: // SUCCESS
59933
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60776
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59934
              {
60777
              {
59935
                org.apache.thrift.protocol.TList _list152 = iprot.readListBegin();
60778
                org.apache.thrift.protocol.TList _list161 = iprot.readListBegin();
59936
                this.success = new ArrayList<Order>(_list152.size);
60779
                this.success = new ArrayList<Order>(_list161.size);
59937
                for (int _i153 = 0; _i153 < _list152.size; ++_i153)
60780
                for (int _i162 = 0; _i162 < _list161.size; ++_i162)
59938
                {
60781
                {
59939
                  Order _elem154; // required
60782
                  Order _elem163; // required
59940
                  _elem154 = new Order();
60783
                  _elem163 = new Order();
59941
                  _elem154.read(iprot);
60784
                  _elem163.read(iprot);
59942
                  this.success.add(_elem154);
60785
                  this.success.add(_elem163);
59943
                }
60786
                }
59944
                iprot.readListEnd();
60787
                iprot.readListEnd();
59945
              }
60788
              }
59946
            } else { 
60789
            } else { 
59947
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60790
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 59961... Line 60804...
59961
 
60804
 
59962
      if (this.isSetSuccess()) {
60805
      if (this.isSetSuccess()) {
59963
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
60806
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59964
        {
60807
        {
59965
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
60808
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
59966
          for (Order _iter155 : this.success)
60809
          for (Order _iter164 : this.success)
59967
          {
60810
          {
59968
            _iter155.write(oprot);
60811
            _iter164.write(oprot);
59969
          }
60812
          }
59970
          oprot.writeListEnd();
60813
          oprot.writeListEnd();
59971
        }
60814
        }
59972
        oprot.writeFieldEnd();
60815
        oprot.writeFieldEnd();
59973
      }
60816
      }
Line 67919... Line 68762...
67919
        }
68762
        }
67920
        switch (field.id) {
68763
        switch (field.id) {
67921
          case 0: // SUCCESS
68764
          case 0: // SUCCESS
67922
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
68765
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
67923
              {
68766
              {
67924
                org.apache.thrift.protocol.TMap _map156 = iprot.readMapBegin();
68767
                org.apache.thrift.protocol.TMap _map165 = iprot.readMapBegin();
67925
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map156.size);
68768
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map165.size);
67926
                for (int _i157 = 0; _i157 < _map156.size; ++_i157)
68769
                for (int _i166 = 0; _i166 < _map165.size; ++_i166)
67927
                {
68770
                {
67928
                  int _key158; // required
68771
                  int _key167; // required
67929
                  TimeoutSummary _val159; // required
68772
                  TimeoutSummary _val168; // required
67930
                  _key158 = iprot.readI32();
68773
                  _key167 = iprot.readI32();
67931
                  _val159 = new TimeoutSummary();
68774
                  _val168 = new TimeoutSummary();
67932
                  _val159.read(iprot);
68775
                  _val168.read(iprot);
67933
                  this.success.put(_key158, _val159);
68776
                  this.success.put(_key167, _val168);
67934
                }
68777
                }
67935
                iprot.readMapEnd();
68778
                iprot.readMapEnd();
67936
              }
68779
              }
67937
            } else { 
68780
            } else { 
67938
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
68781
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 67960... Line 68803...
67960
 
68803
 
67961
      if (this.isSetSuccess()) {
68804
      if (this.isSetSuccess()) {
67962
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
68805
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
67963
        {
68806
        {
67964
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
68807
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
67965
          for (Map.Entry<Integer, TimeoutSummary> _iter160 : this.success.entrySet())
68808
          for (Map.Entry<Integer, TimeoutSummary> _iter169 : this.success.entrySet())
67966
          {
68809
          {
67967
            oprot.writeI32(_iter160.getKey());
68810
            oprot.writeI32(_iter169.getKey());
67968
            _iter160.getValue().write(oprot);
68811
            _iter169.getValue().write(oprot);
67969
          }
68812
          }
67970
          oprot.writeMapEnd();
68813
          oprot.writeMapEnd();
67971
        }
68814
        }
67972
        oprot.writeFieldEnd();
68815
        oprot.writeFieldEnd();
67973
      } else if (this.isSetEx()) {
68816
      } else if (this.isSetEx()) {
Line 70086... Line 70929...
70086
        }
70929
        }
70087
        switch (field.id) {
70930
        switch (field.id) {
70088
          case 0: // SUCCESS
70931
          case 0: // SUCCESS
70089
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
70932
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
70090
              {
70933
              {
70091
                org.apache.thrift.protocol.TList _list161 = iprot.readListBegin();
70934
                org.apache.thrift.protocol.TList _list170 = iprot.readListBegin();
70092
                this.success = new ArrayList<Order>(_list161.size);
70935
                this.success = new ArrayList<Order>(_list170.size);
70093
                for (int _i162 = 0; _i162 < _list161.size; ++_i162)
70936
                for (int _i171 = 0; _i171 < _list170.size; ++_i171)
70094
                {
70937
                {
70095
                  Order _elem163; // required
70938
                  Order _elem172; // required
70096
                  _elem163 = new Order();
70939
                  _elem172 = new Order();
70097
                  _elem163.read(iprot);
70940
                  _elem172.read(iprot);
70098
                  this.success.add(_elem163);
70941
                  this.success.add(_elem172);
70099
                }
70942
                }
70100
                iprot.readListEnd();
70943
                iprot.readListEnd();
70101
              }
70944
              }
70102
            } else { 
70945
            } else { 
70103
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
70946
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 70125... Line 70968...
70125
 
70968
 
70126
      if (this.isSetSuccess()) {
70969
      if (this.isSetSuccess()) {
70127
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70970
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70128
        {
70971
        {
70129
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
70972
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
70130
          for (Order _iter164 : this.success)
70973
          for (Order _iter173 : this.success)
70131
          {
70974
          {
70132
            _iter164.write(oprot);
70975
            _iter173.write(oprot);
70133
          }
70976
          }
70134
          oprot.writeListEnd();
70977
          oprot.writeListEnd();
70135
        }
70978
        }
70136
        oprot.writeFieldEnd();
70979
        oprot.writeFieldEnd();
70137
      } else if (this.isSetEx()) {
70980
      } else if (this.isSetEx()) {
Line 70965... Line 71808...
70965
        }
71808
        }
70966
        switch (field.id) {
71809
        switch (field.id) {
70967
          case 0: // SUCCESS
71810
          case 0: // SUCCESS
70968
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71811
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
70969
              {
71812
              {
70970
                org.apache.thrift.protocol.TList _list165 = iprot.readListBegin();
71813
                org.apache.thrift.protocol.TList _list174 = iprot.readListBegin();
70971
                this.success = new ArrayList<Order>(_list165.size);
71814
                this.success = new ArrayList<Order>(_list174.size);
70972
                for (int _i166 = 0; _i166 < _list165.size; ++_i166)
71815
                for (int _i175 = 0; _i175 < _list174.size; ++_i175)
70973
                {
71816
                {
70974
                  Order _elem167; // required
71817
                  Order _elem176; // required
70975
                  _elem167 = new Order();
71818
                  _elem176 = new Order();
70976
                  _elem167.read(iprot);
71819
                  _elem176.read(iprot);
70977
                  this.success.add(_elem167);
71820
                  this.success.add(_elem176);
70978
                }
71821
                }
70979
                iprot.readListEnd();
71822
                iprot.readListEnd();
70980
              }
71823
              }
70981
            } else { 
71824
            } else { 
70982
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
71825
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 71004... Line 71847...
71004
 
71847
 
71005
      if (this.isSetSuccess()) {
71848
      if (this.isSetSuccess()) {
71006
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71849
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71007
        {
71850
        {
71008
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
71851
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
71009
          for (Order _iter168 : this.success)
71852
          for (Order _iter177 : this.success)
71010
          {
71853
          {
71011
            _iter168.write(oprot);
71854
            _iter177.write(oprot);
71012
          }
71855
          }
71013
          oprot.writeListEnd();
71856
          oprot.writeListEnd();
71014
        }
71857
        }
71015
        oprot.writeFieldEnd();
71858
        oprot.writeFieldEnd();
71016
      } else if (this.isSetEx()) {
71859
      } else if (this.isSetEx()) {
Line 71584... Line 72427...
71584
        }
72427
        }
71585
        switch (field.id) {
72428
        switch (field.id) {
71586
          case 0: // SUCCESS
72429
          case 0: // SUCCESS
71587
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72430
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71588
              {
72431
              {
71589
                org.apache.thrift.protocol.TList _list169 = iprot.readListBegin();
72432
                org.apache.thrift.protocol.TList _list178 = iprot.readListBegin();
71590
                this.success = new ArrayList<Order>(_list169.size);
72433
                this.success = new ArrayList<Order>(_list178.size);
71591
                for (int _i170 = 0; _i170 < _list169.size; ++_i170)
72434
                for (int _i179 = 0; _i179 < _list178.size; ++_i179)
71592
                {
72435
                {
71593
                  Order _elem171; // required
72436
                  Order _elem180; // required
71594
                  _elem171 = new Order();
72437
                  _elem180 = new Order();
71595
                  _elem171.read(iprot);
72438
                  _elem180.read(iprot);
71596
                  this.success.add(_elem171);
72439
                  this.success.add(_elem180);
71597
                }
72440
                }
71598
                iprot.readListEnd();
72441
                iprot.readListEnd();
71599
              }
72442
              }
71600
            } else { 
72443
            } else { 
71601
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
72444
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 71623... Line 72466...
71623
 
72466
 
71624
      if (this.isSetSuccess()) {
72467
      if (this.isSetSuccess()) {
71625
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
72468
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71626
        {
72469
        {
71627
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
72470
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
71628
          for (Order _iter172 : this.success)
72471
          for (Order _iter181 : this.success)
71629
          {
72472
          {
71630
            _iter172.write(oprot);
72473
            _iter181.write(oprot);
71631
          }
72474
          }
71632
          oprot.writeListEnd();
72475
          oprot.writeListEnd();
71633
        }
72476
        }
71634
        oprot.writeFieldEnd();
72477
        oprot.writeFieldEnd();
71635
      } else if (this.isSetEx()) {
72478
      } else if (this.isSetEx()) {
Line 72380... Line 73223...
72380
        }
73223
        }
72381
        switch (field.id) {
73224
        switch (field.id) {
72382
          case 0: // SUCCESS
73225
          case 0: // SUCCESS
72383
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
73226
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72384
              {
73227
              {
72385
                org.apache.thrift.protocol.TList _list173 = iprot.readListBegin();
73228
                org.apache.thrift.protocol.TList _list182 = iprot.readListBegin();
72386
                this.success = new ArrayList<Order>(_list173.size);
73229
                this.success = new ArrayList<Order>(_list182.size);
72387
                for (int _i174 = 0; _i174 < _list173.size; ++_i174)
73230
                for (int _i183 = 0; _i183 < _list182.size; ++_i183)
72388
                {
73231
                {
72389
                  Order _elem175; // required
73232
                  Order _elem184; // required
72390
                  _elem175 = new Order();
73233
                  _elem184 = new Order();
72391
                  _elem175.read(iprot);
73234
                  _elem184.read(iprot);
72392
                  this.success.add(_elem175);
73235
                  this.success.add(_elem184);
72393
                }
73236
                }
72394
                iprot.readListEnd();
73237
                iprot.readListEnd();
72395
              }
73238
              }
72396
            } else { 
73239
            } else { 
72397
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
73240
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 72419... Line 73262...
72419
 
73262
 
72420
      if (this.isSetSuccess()) {
73263
      if (this.isSetSuccess()) {
72421
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
73264
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
72422
        {
73265
        {
72423
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
73266
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
72424
          for (Order _iter176 : this.success)
73267
          for (Order _iter185 : this.success)
72425
          {
73268
          {
72426
            _iter176.write(oprot);
73269
            _iter185.write(oprot);
72427
          }
73270
          }
72428
          oprot.writeListEnd();
73271
          oprot.writeListEnd();
72429
        }
73272
        }
72430
        oprot.writeFieldEnd();
73273
        oprot.writeFieldEnd();
72431
      } else if (this.isSetEx()) {
73274
      } else if (this.isSetEx()) {
Line 72736... Line 73579...
72736
        }
73579
        }
72737
        switch (field.id) {
73580
        switch (field.id) {
72738
          case 1: // MAP_AWBAND_AMOUNT
73581
          case 1: // MAP_AWBAND_AMOUNT
72739
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
73582
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
72740
              {
73583
              {
72741
                org.apache.thrift.protocol.TMap _map177 = iprot.readMapBegin();
73584
                org.apache.thrift.protocol.TMap _map186 = iprot.readMapBegin();
72742
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map177.size);
73585
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map186.size);
72743
                for (int _i178 = 0; _i178 < _map177.size; ++_i178)
73586
                for (int _i187 = 0; _i187 < _map186.size; ++_i187)
72744
                {
73587
                {
72745
                  long _key179; // required
73588
                  long _key188; // required
72746
                  double _val180; // required
73589
                  double _val189; // required
72747
                  _key179 = iprot.readI64();
73590
                  _key188 = iprot.readI64();
72748
                  _val180 = iprot.readDouble();
73591
                  _val189 = iprot.readDouble();
72749
                  this.mapAWBAndAmount.put(_key179, _val180);
73592
                  this.mapAWBAndAmount.put(_key188, _val189);
72750
                }
73593
                }
72751
                iprot.readMapEnd();
73594
                iprot.readMapEnd();
72752
              }
73595
              }
72753
            } else { 
73596
            } else { 
72754
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
73597
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 72769... Line 73612...
72769
      oprot.writeStructBegin(STRUCT_DESC);
73612
      oprot.writeStructBegin(STRUCT_DESC);
72770
      if (this.mapAWBAndAmount != null) {
73613
      if (this.mapAWBAndAmount != null) {
72771
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
73614
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
72772
        {
73615
        {
72773
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
73616
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
72774
          for (Map.Entry<Long, Double> _iter181 : this.mapAWBAndAmount.entrySet())
73617
          for (Map.Entry<Long, Double> _iter190 : this.mapAWBAndAmount.entrySet())
72775
          {
73618
          {
72776
            oprot.writeI64(_iter181.getKey());
73619
            oprot.writeI64(_iter190.getKey());
72777
            oprot.writeDouble(_iter181.getValue());
73620
            oprot.writeDouble(_iter190.getValue());
72778
          }
73621
          }
72779
          oprot.writeMapEnd();
73622
          oprot.writeMapEnd();
72780
        }
73623
        }
72781
        oprot.writeFieldEnd();
73624
        oprot.writeFieldEnd();
72782
      }
73625
      }
Line 76236... Line 77079...
76236
        }
77079
        }
76237
        switch (field.id) {
77080
        switch (field.id) {
76238
          case 0: // SUCCESS
77081
          case 0: // SUCCESS
76239
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
77082
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
76240
              {
77083
              {
76241
                org.apache.thrift.protocol.TMap _map182 = iprot.readMapBegin();
77084
                org.apache.thrift.protocol.TMap _map191 = iprot.readMapBegin();
76242
                this.success = new HashMap<Long,String>(2*_map182.size);
77085
                this.success = new HashMap<Long,String>(2*_map191.size);
76243
                for (int _i183 = 0; _i183 < _map182.size; ++_i183)
77086
                for (int _i192 = 0; _i192 < _map191.size; ++_i192)
76244
                {
77087
                {
76245
                  long _key184; // required
77088
                  long _key193; // required
76246
                  String _val185; // required
77089
                  String _val194; // required
76247
                  _key184 = iprot.readI64();
77090
                  _key193 = iprot.readI64();
76248
                  _val185 = iprot.readString();
77091
                  _val194 = iprot.readString();
76249
                  this.success.put(_key184, _val185);
77092
                  this.success.put(_key193, _val194);
76250
                }
77093
                }
76251
                iprot.readMapEnd();
77094
                iprot.readMapEnd();
76252
              }
77095
              }
76253
            } else { 
77096
            } else { 
76254
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
77097
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 76276... Line 77119...
76276
 
77119
 
76277
      if (this.isSetSuccess()) {
77120
      if (this.isSetSuccess()) {
76278
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
77121
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
76279
        {
77122
        {
76280
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
77123
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
76281
          for (Map.Entry<Long, String> _iter186 : this.success.entrySet())
77124
          for (Map.Entry<Long, String> _iter195 : this.success.entrySet())
76282
          {
77125
          {
76283
            oprot.writeI64(_iter186.getKey());
77126
            oprot.writeI64(_iter195.getKey());
76284
            oprot.writeString(_iter186.getValue());
77127
            oprot.writeString(_iter195.getValue());
76285
          }
77128
          }
76286
          oprot.writeMapEnd();
77129
          oprot.writeMapEnd();
76287
        }
77130
        }
76288
        oprot.writeFieldEnd();
77131
        oprot.writeFieldEnd();
76289
      } else if (this.isSetEx()) {
77132
      } else if (this.isSetEx()) {
Line 78380... Line 79223...
78380
        }
79223
        }
78381
        switch (field.id) {
79224
        switch (field.id) {
78382
          case 0: // SUCCESS
79225
          case 0: // SUCCESS
78383
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79226
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
78384
              {
79227
              {
78385
                org.apache.thrift.protocol.TList _list183 = iprot.readListBegin();
79228
                org.apache.thrift.protocol.TList _list196 = iprot.readListBegin();
78386
                this.success = new ArrayList<PaymentSettlement>(_list183.size);
79229
                this.success = new ArrayList<PaymentSettlement>(_list196.size);
78387
                for (int _i184 = 0; _i184 < _list183.size; ++_i184)
79230
                for (int _i197 = 0; _i197 < _list196.size; ++_i197)
78388
                {
79231
                {
78389
                  PaymentSettlement _elem185; // required
79232
                  PaymentSettlement _elem198; // required
78390
                  _elem185 = new PaymentSettlement();
79233
                  _elem198 = new PaymentSettlement();
78391
                  _elem185.read(iprot);
79234
                  _elem198.read(iprot);
78392
                  this.success.add(_elem185);
79235
                  this.success.add(_elem198);
78393
                }
79236
                }
78394
                iprot.readListEnd();
79237
                iprot.readListEnd();
78395
              }
79238
              }
78396
            } else { 
79239
            } else { 
78397
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
79240
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 78419... Line 79262...
78419
 
79262
 
78420
      if (this.isSetSuccess()) {
79263
      if (this.isSetSuccess()) {
78421
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79264
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
78422
        {
79265
        {
78423
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79266
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
78424
          for (PaymentSettlement _iter186 : this.success)
79267
          for (PaymentSettlement _iter199 : this.success)
78425
          {
79268
          {
78426
            _iter186.write(oprot);
79269
            _iter199.write(oprot);
78427
          }
79270
          }
78428
          oprot.writeListEnd();
79271
          oprot.writeListEnd();
78429
        }
79272
        }
78430
        oprot.writeFieldEnd();
79273
        oprot.writeFieldEnd();
78431
      } else if (this.isSetEx()) {
79274
      } else if (this.isSetEx()) {
Line 78731... Line 79574...
78731
        }
79574
        }
78732
        switch (field.id) {
79575
        switch (field.id) {
78733
          case 1: // ORDER_IDS
79576
          case 1: // ORDER_IDS
78734
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79577
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
78735
              {
79578
              {
78736
                org.apache.thrift.protocol.TList _list187 = iprot.readListBegin();
79579
                org.apache.thrift.protocol.TList _list200 = iprot.readListBegin();
78737
                this.orderIds = new ArrayList<Long>(_list187.size);
79580
                this.orderIds = new ArrayList<Long>(_list200.size);
78738
                for (int _i188 = 0; _i188 < _list187.size; ++_i188)
79581
                for (int _i201 = 0; _i201 < _list200.size; ++_i201)
78739
                {
79582
                {
78740
                  long _elem189; // required
79583
                  long _elem202; // required
78741
                  _elem189 = iprot.readI64();
79584
                  _elem202 = iprot.readI64();
78742
                  this.orderIds.add(_elem189);
79585
                  this.orderIds.add(_elem202);
78743
                }
79586
                }
78744
                iprot.readListEnd();
79587
                iprot.readListEnd();
78745
              }
79588
              }
78746
            } else { 
79589
            } else { 
78747
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
79590
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 78762... Line 79605...
78762
      oprot.writeStructBegin(STRUCT_DESC);
79605
      oprot.writeStructBegin(STRUCT_DESC);
78763
      if (this.orderIds != null) {
79606
      if (this.orderIds != null) {
78764
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
79607
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
78765
        {
79608
        {
78766
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
79609
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
78767
          for (long _iter190 : this.orderIds)
79610
          for (long _iter203 : this.orderIds)
78768
          {
79611
          {
78769
            oprot.writeI64(_iter190);
79612
            oprot.writeI64(_iter203);
78770
          }
79613
          }
78771
          oprot.writeListEnd();
79614
          oprot.writeListEnd();
78772
        }
79615
        }
78773
        oprot.writeFieldEnd();
79616
        oprot.writeFieldEnd();
78774
      }
79617
      }
Line 79130... Line 79973...
79130
        }
79973
        }
79131
        switch (field.id) {
79974
        switch (field.id) {
79132
          case 0: // SUCCESS
79975
          case 0: // SUCCESS
79133
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79976
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79134
              {
79977
              {
79135
                org.apache.thrift.protocol.TList _list191 = iprot.readListBegin();
79978
                org.apache.thrift.protocol.TList _list204 = iprot.readListBegin();
79136
                this.success = new ArrayList<Long>(_list191.size);
79979
                this.success = new ArrayList<Long>(_list204.size);
79137
                for (int _i192 = 0; _i192 < _list191.size; ++_i192)
79980
                for (int _i205 = 0; _i205 < _list204.size; ++_i205)
79138
                {
79981
                {
79139
                  long _elem193; // required
79982
                  long _elem206; // required
79140
                  _elem193 = iprot.readI64();
79983
                  _elem206 = iprot.readI64();
79141
                  this.success.add(_elem193);
79984
                  this.success.add(_elem206);
79142
                }
79985
                }
79143
                iprot.readListEnd();
79986
                iprot.readListEnd();
79144
              }
79987
              }
79145
            } else { 
79988
            } else { 
79146
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
79989
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 79168... Line 80011...
79168
 
80011
 
79169
      if (this.isSetSuccess()) {
80012
      if (this.isSetSuccess()) {
79170
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
80013
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79171
        {
80014
        {
79172
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
80015
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
79173
          for (long _iter194 : this.success)
80016
          for (long _iter207 : this.success)
79174
          {
80017
          {
79175
            oprot.writeI64(_iter194);
80018
            oprot.writeI64(_iter207);
79176
          }
80019
          }
79177
          oprot.writeListEnd();
80020
          oprot.writeListEnd();
79178
        }
80021
        }
79179
        oprot.writeFieldEnd();
80022
        oprot.writeFieldEnd();
79180
      } else if (this.isSetEx()) {
80023
      } else if (this.isSetEx()) {