Subversion Repositories SmartDukaan

Rev

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

Rev 7572 Rev 7645
Line 381... Line 381...
381
     * CRM person can authorize or deny the request reised by customer. If he authorizes order will change from DOA_REQUEST_RECEIVED
381
     * CRM person can authorize or deny the request reised by customer. If he authorizes order will change from DOA_REQUEST_RECEIVED
382
     * to DOA_REQUEST_AUTHORIZED. If he denies, status will be changed back to DELVIERY_SUCCESS.
382
     * to DOA_REQUEST_AUTHORIZED. If he denies, status will be changed back to DELVIERY_SUCCESS.
383
     * 
383
     * 
384
     * @param orderId
384
     * @param orderId
385
     * @param isAuthorized
385
     * @param isAuthorized
-
 
386
     * @param fromStore
-
 
387
     * @param isReship
386
     */
388
     */
387
    public boolean markOrderDoaRequestAuthorized(long orderId, boolean isAuthorized) throws TransactionServiceException, org.apache.thrift.TException;
389
    public boolean markOrderDoaRequestAuthorized(long orderId, boolean isAuthorized, boolean fromStore, boolean isReship) throws TransactionServiceException, org.apache.thrift.TException;
388
 
390
 
389
    /**
391
    /**
390
     * Once user raise the request for a RET, order status will be changed from DELVIERY_SUCCESS to RET_REQUEST_RECEIVED
392
     * Once user raise the request for a RET, order status will be changed from DELVIERY_SUCCESS to RET_REQUEST_RECEIVED
391
     * 
393
     * 
392
     * @param orderId
394
     * @param orderId
Line 397... Line 399...
397
     * CRM person can authorize or deny the request reised by customer. If he authorizes order will change from RET_REQUEST_RECEIVED
399
     * CRM person can authorize or deny the request reised by customer. If he authorizes order will change from RET_REQUEST_RECEIVED
398
     * to RET_REQUEST_AUTHORIZED. If he denies, status will be changed back to DELVIERY_SUCCESS.
400
     * to RET_REQUEST_AUTHORIZED. If he denies, status will be changed back to DELVIERY_SUCCESS.
399
     * 
401
     * 
400
     * @param orderId
402
     * @param orderId
401
     * @param isAuthorized
403
     * @param isAuthorized
-
 
404
     * @param fromStore
-
 
405
     * @param isReship
402
     */
406
     */
403
    public boolean markOrderReturnRequestAuthorized(long orderId, boolean isAuthorized) throws TransactionServiceException, org.apache.thrift.TException;
407
    public boolean markOrderReturnRequestAuthorized(long orderId, boolean isAuthorized, boolean fromStore, boolean isReship) throws TransactionServiceException, org.apache.thrift.TException;
404
 
408
 
405
    /**
409
    /**
406
     * Sends out an email to the account manager of the original courier provider used to ship the order.
410
     * Sends out an email to the account manager of the original courier provider used to ship the order.
407
     * If the order status was DELIVERY_SUCCESS, it is changed to be DOA_PICKUP_REQUEST_RAISED.
411
     * If the order status was DELIVERY_SUCCESS, it is changed to be DOA_PICKUP_REQUEST_RAISED.
408
     * If the order status was DOA_PICKUP_REQUEST_RAISED, it is left unchanged.
412
     * If the order status was DOA_PICKUP_REQUEST_RAISED, it is left unchanged.
Line 993... Line 997...
993
 
997
 
994
    public boolean updateSourceDetailTimestamp(long id, long lastUpdatedOn) throws org.apache.thrift.TException;
998
    public boolean updateSourceDetailTimestamp(long id, long lastUpdatedOn) throws org.apache.thrift.TException;
995
 
999
 
996
    public List<Order> getOrdersByMobileNumber(String mobileNumber) throws org.apache.thrift.TException;
1000
    public List<Order> getOrdersByMobileNumber(String mobileNumber) throws org.apache.thrift.TException;
997
 
1001
 
998
    public List<Order> getOrdersByAmazonOrderItemCode(String amazonId) throws org.apache.thrift.TException;
1002
    public List<Order> getOrdersByAmazonOrderCode(String amazonId) throws org.apache.thrift.TException;
999
 
1003
 
1000
  }
1004
  }
1001
 
1005
 
1002
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1006
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1003
 
1007
 
Line 1109... Line 1113...
1109
 
1113
 
1110
    public void markOrderAsReceivedAtStore(long orderId, long deliveryTimestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderAsReceivedAtStore_call> resultHandler) throws org.apache.thrift.TException;
1114
    public void markOrderAsReceivedAtStore(long orderId, long deliveryTimestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderAsReceivedAtStore_call> resultHandler) throws org.apache.thrift.TException;
1111
 
1115
 
1112
    public void markOrderDoaRequestReceived(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderDoaRequestReceived_call> resultHandler) throws org.apache.thrift.TException;
1116
    public void markOrderDoaRequestReceived(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderDoaRequestReceived_call> resultHandler) throws org.apache.thrift.TException;
1113
 
1117
 
1114
    public void markOrderDoaRequestAuthorized(long orderId, boolean isAuthorized, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderDoaRequestAuthorized_call> resultHandler) throws org.apache.thrift.TException;
1118
    public void markOrderDoaRequestAuthorized(long orderId, boolean isAuthorized, boolean fromStore, boolean isReship, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderDoaRequestAuthorized_call> resultHandler) throws org.apache.thrift.TException;
1115
 
1119
 
1116
    public void markOrderReturnRequestReceived(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderReturnRequestReceived_call> resultHandler) throws org.apache.thrift.TException;
1120
    public void markOrderReturnRequestReceived(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderReturnRequestReceived_call> resultHandler) throws org.apache.thrift.TException;
1117
 
1121
 
1118
    public void markOrderReturnRequestAuthorized(long orderId, boolean isAuthorized, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderReturnRequestAuthorized_call> resultHandler) throws org.apache.thrift.TException;
1122
    public void markOrderReturnRequestAuthorized(long orderId, boolean isAuthorized, boolean fromStore, boolean isReship, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderReturnRequestAuthorized_call> resultHandler) throws org.apache.thrift.TException;
1119
 
1123
 
1120
    public void requestPickupNumber(long orderId, long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.requestPickupNumber_call> resultHandler) throws org.apache.thrift.TException;
1124
    public void requestPickupNumber(long orderId, long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.requestPickupNumber_call> resultHandler) throws org.apache.thrift.TException;
1121
 
1125
 
1122
    public void authorizePickup(long orderId, String pickupNumber, long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.authorizePickup_call> resultHandler) throws org.apache.thrift.TException;
1126
    public void authorizePickup(long orderId, String pickupNumber, long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.authorizePickup_call> resultHandler) throws org.apache.thrift.TException;
1123
 
1127
 
Line 1381... Line 1385...
1381
 
1385
 
1382
    public void updateSourceDetailTimestamp(long id, long lastUpdatedOn, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateSourceDetailTimestamp_call> resultHandler) throws org.apache.thrift.TException;
1386
    public void updateSourceDetailTimestamp(long id, long lastUpdatedOn, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateSourceDetailTimestamp_call> resultHandler) throws org.apache.thrift.TException;
1383
 
1387
 
1384
    public void getOrdersByMobileNumber(String mobileNumber, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersByMobileNumber_call> resultHandler) throws org.apache.thrift.TException;
1388
    public void getOrdersByMobileNumber(String mobileNumber, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersByMobileNumber_call> resultHandler) throws org.apache.thrift.TException;
1385
 
1389
 
1386
    public void getOrdersByAmazonOrderItemCode(String amazonId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersByAmazonOrderItemCode_call> resultHandler) throws org.apache.thrift.TException;
1390
    public void getOrdersByAmazonOrderCode(String amazonId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersByAmazonOrderCode_call> resultHandler) throws org.apache.thrift.TException;
1387
 
1391
 
1388
  }
1392
  }
1389
 
1393
 
1390
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1394
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1391
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1395
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
Line 2817... Line 2821...
2817
        throw result.ex;
2821
        throw result.ex;
2818
      }
2822
      }
2819
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markOrderDoaRequestReceived failed: unknown result");
2823
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markOrderDoaRequestReceived failed: unknown result");
2820
    }
2824
    }
2821
 
2825
 
2822
    public boolean markOrderDoaRequestAuthorized(long orderId, boolean isAuthorized) throws TransactionServiceException, org.apache.thrift.TException
2826
    public boolean markOrderDoaRequestAuthorized(long orderId, boolean isAuthorized, boolean fromStore, boolean isReship) throws TransactionServiceException, org.apache.thrift.TException
2823
    {
2827
    {
2824
      send_markOrderDoaRequestAuthorized(orderId, isAuthorized);
2828
      send_markOrderDoaRequestAuthorized(orderId, isAuthorized, fromStore, isReship);
2825
      return recv_markOrderDoaRequestAuthorized();
2829
      return recv_markOrderDoaRequestAuthorized();
2826
    }
2830
    }
2827
 
2831
 
2828
    public void send_markOrderDoaRequestAuthorized(long orderId, boolean isAuthorized) throws org.apache.thrift.TException
2832
    public void send_markOrderDoaRequestAuthorized(long orderId, boolean isAuthorized, boolean fromStore, boolean isReship) throws org.apache.thrift.TException
2829
    {
2833
    {
2830
      markOrderDoaRequestAuthorized_args args = new markOrderDoaRequestAuthorized_args();
2834
      markOrderDoaRequestAuthorized_args args = new markOrderDoaRequestAuthorized_args();
2831
      args.setOrderId(orderId);
2835
      args.setOrderId(orderId);
2832
      args.setIsAuthorized(isAuthorized);
2836
      args.setIsAuthorized(isAuthorized);
-
 
2837
      args.setFromStore(fromStore);
-
 
2838
      args.setIsReship(isReship);
2833
      sendBase("markOrderDoaRequestAuthorized", args);
2839
      sendBase("markOrderDoaRequestAuthorized", args);
2834
    }
2840
    }
2835
 
2841
 
2836
    public boolean recv_markOrderDoaRequestAuthorized() throws TransactionServiceException, org.apache.thrift.TException
2842
    public boolean recv_markOrderDoaRequestAuthorized() throws TransactionServiceException, org.apache.thrift.TException
2837
    {
2843
    {
Line 2870... Line 2876...
2870
        throw result.ex;
2876
        throw result.ex;
2871
      }
2877
      }
2872
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markOrderReturnRequestReceived failed: unknown result");
2878
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markOrderReturnRequestReceived failed: unknown result");
2873
    }
2879
    }
2874
 
2880
 
2875
    public boolean markOrderReturnRequestAuthorized(long orderId, boolean isAuthorized) throws TransactionServiceException, org.apache.thrift.TException
2881
    public boolean markOrderReturnRequestAuthorized(long orderId, boolean isAuthorized, boolean fromStore, boolean isReship) throws TransactionServiceException, org.apache.thrift.TException
2876
    {
2882
    {
2877
      send_markOrderReturnRequestAuthorized(orderId, isAuthorized);
2883
      send_markOrderReturnRequestAuthorized(orderId, isAuthorized, fromStore, isReship);
2878
      return recv_markOrderReturnRequestAuthorized();
2884
      return recv_markOrderReturnRequestAuthorized();
2879
    }
2885
    }
2880
 
2886
 
2881
    public void send_markOrderReturnRequestAuthorized(long orderId, boolean isAuthorized) throws org.apache.thrift.TException
2887
    public void send_markOrderReturnRequestAuthorized(long orderId, boolean isAuthorized, boolean fromStore, boolean isReship) throws org.apache.thrift.TException
2882
    {
2888
    {
2883
      markOrderReturnRequestAuthorized_args args = new markOrderReturnRequestAuthorized_args();
2889
      markOrderReturnRequestAuthorized_args args = new markOrderReturnRequestAuthorized_args();
2884
      args.setOrderId(orderId);
2890
      args.setOrderId(orderId);
2885
      args.setIsAuthorized(isAuthorized);
2891
      args.setIsAuthorized(isAuthorized);
-
 
2892
      args.setFromStore(fromStore);
-
 
2893
      args.setIsReship(isReship);
2886
      sendBase("markOrderReturnRequestAuthorized", args);
2894
      sendBase("markOrderReturnRequestAuthorized", args);
2887
    }
2895
    }
2888
 
2896
 
2889
    public boolean recv_markOrderReturnRequestAuthorized() throws TransactionServiceException, org.apache.thrift.TException
2897
    public boolean recv_markOrderReturnRequestAuthorized() throws TransactionServiceException, org.apache.thrift.TException
2890
    {
2898
    {
Line 6163... Line 6171...
6163
        return result.success;
6171
        return result.success;
6164
      }
6172
      }
6165
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrdersByMobileNumber failed: unknown result");
6173
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrdersByMobileNumber failed: unknown result");
6166
    }
6174
    }
6167
 
6175
 
6168
    public List<Order> getOrdersByAmazonOrderItemCode(String amazonId) throws org.apache.thrift.TException
6176
    public List<Order> getOrdersByAmazonOrderCode(String amazonId) throws org.apache.thrift.TException
6169
    {
6177
    {
6170
      send_getOrdersByAmazonOrderItemCode(amazonId);
6178
      send_getOrdersByAmazonOrderCode(amazonId);
6171
      return recv_getOrdersByAmazonOrderItemCode();
6179
      return recv_getOrdersByAmazonOrderCode();
6172
    }
6180
    }
6173
 
6181
 
6174
    public void send_getOrdersByAmazonOrderItemCode(String amazonId) throws org.apache.thrift.TException
6182
    public void send_getOrdersByAmazonOrderCode(String amazonId) throws org.apache.thrift.TException
6175
    {
6183
    {
6176
      getOrdersByAmazonOrderItemCode_args args = new getOrdersByAmazonOrderItemCode_args();
6184
      getOrdersByAmazonOrderCode_args args = new getOrdersByAmazonOrderCode_args();
6177
      args.setAmazonId(amazonId);
6185
      args.setAmazonId(amazonId);
6178
      sendBase("getOrdersByAmazonOrderItemCode", args);
6186
      sendBase("getOrdersByAmazonOrderCode", args);
6179
    }
6187
    }
6180
 
6188
 
6181
    public List<Order> recv_getOrdersByAmazonOrderItemCode() throws org.apache.thrift.TException
6189
    public List<Order> recv_getOrdersByAmazonOrderCode() throws org.apache.thrift.TException
6182
    {
6190
    {
6183
      getOrdersByAmazonOrderItemCode_result result = new getOrdersByAmazonOrderItemCode_result();
6191
      getOrdersByAmazonOrderCode_result result = new getOrdersByAmazonOrderCode_result();
6184
      receiveBase(result, "getOrdersByAmazonOrderItemCode");
6192
      receiveBase(result, "getOrdersByAmazonOrderCode");
6185
      if (result.isSetSuccess()) {
6193
      if (result.isSetSuccess()) {
6186
        return result.success;
6194
        return result.success;
6187
      }
6195
      }
6188
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrdersByAmazonOrderItemCode failed: unknown result");
6196
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrdersByAmazonOrderCode failed: unknown result");
6189
    }
6197
    }
6190
 
6198
 
6191
  }
6199
  }
6192
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
6200
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
6193
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
6201
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
Line 8153... Line 8161...
8153
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8161
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8154
        return (new Client(prot)).recv_markOrderDoaRequestReceived();
8162
        return (new Client(prot)).recv_markOrderDoaRequestReceived();
8155
      }
8163
      }
8156
    }
8164
    }
8157
 
8165
 
8158
    public void markOrderDoaRequestAuthorized(long orderId, boolean isAuthorized, org.apache.thrift.async.AsyncMethodCallback<markOrderDoaRequestAuthorized_call> resultHandler) throws org.apache.thrift.TException {
8166
    public void markOrderDoaRequestAuthorized(long orderId, boolean isAuthorized, boolean fromStore, boolean isReship, org.apache.thrift.async.AsyncMethodCallback<markOrderDoaRequestAuthorized_call> resultHandler) throws org.apache.thrift.TException {
8159
      checkReady();
8167
      checkReady();
8160
      markOrderDoaRequestAuthorized_call method_call = new markOrderDoaRequestAuthorized_call(orderId, isAuthorized, resultHandler, this, ___protocolFactory, ___transport);
8168
      markOrderDoaRequestAuthorized_call method_call = new markOrderDoaRequestAuthorized_call(orderId, isAuthorized, fromStore, isReship, resultHandler, this, ___protocolFactory, ___transport);
8161
      this.___currentMethod = method_call;
8169
      this.___currentMethod = method_call;
8162
      ___manager.call(method_call);
8170
      ___manager.call(method_call);
8163
    }
8171
    }
8164
 
8172
 
8165
    public static class markOrderDoaRequestAuthorized_call extends org.apache.thrift.async.TAsyncMethodCall {
8173
    public static class markOrderDoaRequestAuthorized_call extends org.apache.thrift.async.TAsyncMethodCall {
8166
      private long orderId;
8174
      private long orderId;
8167
      private boolean isAuthorized;
8175
      private boolean isAuthorized;
-
 
8176
      private boolean fromStore;
-
 
8177
      private boolean isReship;
8168
      public markOrderDoaRequestAuthorized_call(long orderId, boolean isAuthorized, org.apache.thrift.async.AsyncMethodCallback<markOrderDoaRequestAuthorized_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 {
8178
      public markOrderDoaRequestAuthorized_call(long orderId, boolean isAuthorized, boolean fromStore, boolean isReship, org.apache.thrift.async.AsyncMethodCallback<markOrderDoaRequestAuthorized_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 {
8169
        super(client, protocolFactory, transport, resultHandler, false);
8179
        super(client, protocolFactory, transport, resultHandler, false);
8170
        this.orderId = orderId;
8180
        this.orderId = orderId;
8171
        this.isAuthorized = isAuthorized;
8181
        this.isAuthorized = isAuthorized;
-
 
8182
        this.fromStore = fromStore;
-
 
8183
        this.isReship = isReship;
8172
      }
8184
      }
8173
 
8185
 
8174
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
8186
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
8175
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markOrderDoaRequestAuthorized", org.apache.thrift.protocol.TMessageType.CALL, 0));
8187
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markOrderDoaRequestAuthorized", org.apache.thrift.protocol.TMessageType.CALL, 0));
8176
        markOrderDoaRequestAuthorized_args args = new markOrderDoaRequestAuthorized_args();
8188
        markOrderDoaRequestAuthorized_args args = new markOrderDoaRequestAuthorized_args();
8177
        args.setOrderId(orderId);
8189
        args.setOrderId(orderId);
8178
        args.setIsAuthorized(isAuthorized);
8190
        args.setIsAuthorized(isAuthorized);
-
 
8191
        args.setFromStore(fromStore);
-
 
8192
        args.setIsReship(isReship);
8179
        args.write(prot);
8193
        args.write(prot);
8180
        prot.writeMessageEnd();
8194
        prot.writeMessageEnd();
8181
      }
8195
      }
8182
 
8196
 
8183
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
8197
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
Line 8220... Line 8234...
8220
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8234
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8221
        return (new Client(prot)).recv_markOrderReturnRequestReceived();
8235
        return (new Client(prot)).recv_markOrderReturnRequestReceived();
8222
      }
8236
      }
8223
    }
8237
    }
8224
 
8238
 
8225
    public void markOrderReturnRequestAuthorized(long orderId, boolean isAuthorized, org.apache.thrift.async.AsyncMethodCallback<markOrderReturnRequestAuthorized_call> resultHandler) throws org.apache.thrift.TException {
8239
    public void markOrderReturnRequestAuthorized(long orderId, boolean isAuthorized, boolean fromStore, boolean isReship, org.apache.thrift.async.AsyncMethodCallback<markOrderReturnRequestAuthorized_call> resultHandler) throws org.apache.thrift.TException {
8226
      checkReady();
8240
      checkReady();
8227
      markOrderReturnRequestAuthorized_call method_call = new markOrderReturnRequestAuthorized_call(orderId, isAuthorized, resultHandler, this, ___protocolFactory, ___transport);
8241
      markOrderReturnRequestAuthorized_call method_call = new markOrderReturnRequestAuthorized_call(orderId, isAuthorized, fromStore, isReship, resultHandler, this, ___protocolFactory, ___transport);
8228
      this.___currentMethod = method_call;
8242
      this.___currentMethod = method_call;
8229
      ___manager.call(method_call);
8243
      ___manager.call(method_call);
8230
    }
8244
    }
8231
 
8245
 
8232
    public static class markOrderReturnRequestAuthorized_call extends org.apache.thrift.async.TAsyncMethodCall {
8246
    public static class markOrderReturnRequestAuthorized_call extends org.apache.thrift.async.TAsyncMethodCall {
8233
      private long orderId;
8247
      private long orderId;
8234
      private boolean isAuthorized;
8248
      private boolean isAuthorized;
-
 
8249
      private boolean fromStore;
-
 
8250
      private boolean isReship;
8235
      public markOrderReturnRequestAuthorized_call(long orderId, boolean isAuthorized, org.apache.thrift.async.AsyncMethodCallback<markOrderReturnRequestAuthorized_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 {
8251
      public markOrderReturnRequestAuthorized_call(long orderId, boolean isAuthorized, boolean fromStore, boolean isReship, org.apache.thrift.async.AsyncMethodCallback<markOrderReturnRequestAuthorized_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 {
8236
        super(client, protocolFactory, transport, resultHandler, false);
8252
        super(client, protocolFactory, transport, resultHandler, false);
8237
        this.orderId = orderId;
8253
        this.orderId = orderId;
8238
        this.isAuthorized = isAuthorized;
8254
        this.isAuthorized = isAuthorized;
-
 
8255
        this.fromStore = fromStore;
-
 
8256
        this.isReship = isReship;
8239
      }
8257
      }
8240
 
8258
 
8241
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
8259
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
8242
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markOrderReturnRequestAuthorized", org.apache.thrift.protocol.TMessageType.CALL, 0));
8260
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markOrderReturnRequestAuthorized", org.apache.thrift.protocol.TMessageType.CALL, 0));
8243
        markOrderReturnRequestAuthorized_args args = new markOrderReturnRequestAuthorized_args();
8261
        markOrderReturnRequestAuthorized_args args = new markOrderReturnRequestAuthorized_args();
8244
        args.setOrderId(orderId);
8262
        args.setOrderId(orderId);
8245
        args.setIsAuthorized(isAuthorized);
8263
        args.setIsAuthorized(isAuthorized);
-
 
8264
        args.setFromStore(fromStore);
-
 
8265
        args.setIsReship(isReship);
8246
        args.write(prot);
8266
        args.write(prot);
8247
        prot.writeMessageEnd();
8267
        prot.writeMessageEnd();
8248
      }
8268
      }
8249
 
8269
 
8250
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
8270
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
Line 12871... Line 12891...
12871
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12891
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12872
        return (new Client(prot)).recv_getOrdersByMobileNumber();
12892
        return (new Client(prot)).recv_getOrdersByMobileNumber();
12873
      }
12893
      }
12874
    }
12894
    }
12875
 
12895
 
12876
    public void getOrdersByAmazonOrderItemCode(String amazonId, org.apache.thrift.async.AsyncMethodCallback<getOrdersByAmazonOrderItemCode_call> resultHandler) throws org.apache.thrift.TException {
12896
    public void getOrdersByAmazonOrderCode(String amazonId, org.apache.thrift.async.AsyncMethodCallback<getOrdersByAmazonOrderCode_call> resultHandler) throws org.apache.thrift.TException {
12877
      checkReady();
12897
      checkReady();
12878
      getOrdersByAmazonOrderItemCode_call method_call = new getOrdersByAmazonOrderItemCode_call(amazonId, resultHandler, this, ___protocolFactory, ___transport);
12898
      getOrdersByAmazonOrderCode_call method_call = new getOrdersByAmazonOrderCode_call(amazonId, resultHandler, this, ___protocolFactory, ___transport);
12879
      this.___currentMethod = method_call;
12899
      this.___currentMethod = method_call;
12880
      ___manager.call(method_call);
12900
      ___manager.call(method_call);
12881
    }
12901
    }
12882
 
12902
 
12883
    public static class getOrdersByAmazonOrderItemCode_call extends org.apache.thrift.async.TAsyncMethodCall {
12903
    public static class getOrdersByAmazonOrderCode_call extends org.apache.thrift.async.TAsyncMethodCall {
12884
      private String amazonId;
12904
      private String amazonId;
12885
      public getOrdersByAmazonOrderItemCode_call(String amazonId, org.apache.thrift.async.AsyncMethodCallback<getOrdersByAmazonOrderItemCode_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 {
12905
      public getOrdersByAmazonOrderCode_call(String amazonId, org.apache.thrift.async.AsyncMethodCallback<getOrdersByAmazonOrderCode_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 {
12886
        super(client, protocolFactory, transport, resultHandler, false);
12906
        super(client, protocolFactory, transport, resultHandler, false);
12887
        this.amazonId = amazonId;
12907
        this.amazonId = amazonId;
12888
      }
12908
      }
12889
 
12909
 
12890
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
12910
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
12891
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOrdersByAmazonOrderItemCode", org.apache.thrift.protocol.TMessageType.CALL, 0));
12911
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOrdersByAmazonOrderCode", org.apache.thrift.protocol.TMessageType.CALL, 0));
12892
        getOrdersByAmazonOrderItemCode_args args = new getOrdersByAmazonOrderItemCode_args();
12912
        getOrdersByAmazonOrderCode_args args = new getOrdersByAmazonOrderCode_args();
12893
        args.setAmazonId(amazonId);
12913
        args.setAmazonId(amazonId);
12894
        args.write(prot);
12914
        args.write(prot);
12895
        prot.writeMessageEnd();
12915
        prot.writeMessageEnd();
12896
      }
12916
      }
12897
 
12917
 
Line 12899... Line 12919...
12899
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
12919
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
12900
          throw new IllegalStateException("Method call not finished!");
12920
          throw new IllegalStateException("Method call not finished!");
12901
        }
12921
        }
12902
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
12922
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
12903
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12923
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12904
        return (new Client(prot)).recv_getOrdersByAmazonOrderItemCode();
12924
        return (new Client(prot)).recv_getOrdersByAmazonOrderCode();
12905
      }
12925
      }
12906
    }
12926
    }
12907
 
12927
 
12908
  }
12928
  }
12909
 
12929
 
Line 13107... Line 13127...
13107
      processMap.put("getAmazonOrdersToAcknowledge", new getAmazonOrdersToAcknowledge());
13127
      processMap.put("getAmazonOrdersToAcknowledge", new getAmazonOrdersToAcknowledge());
13108
      processMap.put("changeAmazonOrderStatus", new changeAmazonOrderStatus());
13128
      processMap.put("changeAmazonOrderStatus", new changeAmazonOrderStatus());
13109
      processMap.put("updateTimestampForAmazonOrder", new updateTimestampForAmazonOrder());
13129
      processMap.put("updateTimestampForAmazonOrder", new updateTimestampForAmazonOrder());
13110
      processMap.put("updateSourceDetailTimestamp", new updateSourceDetailTimestamp());
13130
      processMap.put("updateSourceDetailTimestamp", new updateSourceDetailTimestamp());
13111
      processMap.put("getOrdersByMobileNumber", new getOrdersByMobileNumber());
13131
      processMap.put("getOrdersByMobileNumber", new getOrdersByMobileNumber());
13112
      processMap.put("getOrdersByAmazonOrderItemCode", new getOrdersByAmazonOrderItemCode());
13132
      processMap.put("getOrdersByAmazonOrderCode", new getOrdersByAmazonOrderCode());
13113
      return processMap;
13133
      return processMap;
13114
    }
13134
    }
13115
 
13135
 
13116
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
13136
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
13117
      public createTransaction() {
13137
      public createTransaction() {
Line 14179... Line 14199...
14179
      }
14199
      }
14180
 
14200
 
14181
      protected markOrderDoaRequestAuthorized_result getResult(I iface, markOrderDoaRequestAuthorized_args args) throws org.apache.thrift.TException {
14201
      protected markOrderDoaRequestAuthorized_result getResult(I iface, markOrderDoaRequestAuthorized_args args) throws org.apache.thrift.TException {
14182
        markOrderDoaRequestAuthorized_result result = new markOrderDoaRequestAuthorized_result();
14202
        markOrderDoaRequestAuthorized_result result = new markOrderDoaRequestAuthorized_result();
14183
        try {
14203
        try {
14184
          result.success = iface.markOrderDoaRequestAuthorized(args.orderId, args.isAuthorized);
14204
          result.success = iface.markOrderDoaRequestAuthorized(args.orderId, args.isAuthorized, args.fromStore, args.isReship);
14185
          result.setSuccessIsSet(true);
14205
          result.setSuccessIsSet(true);
14186
        } catch (TransactionServiceException ex) {
14206
        } catch (TransactionServiceException ex) {
14187
          result.ex = ex;
14207
          result.ex = ex;
14188
        }
14208
        }
14189
        return result;
14209
        return result;
Line 14221... Line 14241...
14221
      }
14241
      }
14222
 
14242
 
14223
      protected markOrderReturnRequestAuthorized_result getResult(I iface, markOrderReturnRequestAuthorized_args args) throws org.apache.thrift.TException {
14243
      protected markOrderReturnRequestAuthorized_result getResult(I iface, markOrderReturnRequestAuthorized_args args) throws org.apache.thrift.TException {
14224
        markOrderReturnRequestAuthorized_result result = new markOrderReturnRequestAuthorized_result();
14244
        markOrderReturnRequestAuthorized_result result = new markOrderReturnRequestAuthorized_result();
14225
        try {
14245
        try {
14226
          result.success = iface.markOrderReturnRequestAuthorized(args.orderId, args.isAuthorized);
14246
          result.success = iface.markOrderReturnRequestAuthorized(args.orderId, args.isAuthorized, args.fromStore, args.isReship);
14227
          result.setSuccessIsSet(true);
14247
          result.setSuccessIsSet(true);
14228
        } catch (TransactionServiceException ex) {
14248
        } catch (TransactionServiceException ex) {
14229
          result.ex = ex;
14249
          result.ex = ex;
14230
        }
14250
        }
14231
        return result;
14251
        return result;
Line 16610... Line 16630...
16610
        result.success = iface.getOrdersByMobileNumber(args.mobileNumber);
16630
        result.success = iface.getOrdersByMobileNumber(args.mobileNumber);
16611
        return result;
16631
        return result;
16612
      }
16632
      }
16613
    }
16633
    }
16614
 
16634
 
16615
    private static class getOrdersByAmazonOrderItemCode<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrdersByAmazonOrderItemCode_args> {
16635
    private static class getOrdersByAmazonOrderCode<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrdersByAmazonOrderCode_args> {
16616
      public getOrdersByAmazonOrderItemCode() {
16636
      public getOrdersByAmazonOrderCode() {
16617
        super("getOrdersByAmazonOrderItemCode");
16637
        super("getOrdersByAmazonOrderCode");
16618
      }
16638
      }
16619
 
16639
 
16620
      protected getOrdersByAmazonOrderItemCode_args getEmptyArgsInstance() {
16640
      protected getOrdersByAmazonOrderCode_args getEmptyArgsInstance() {
16621
        return new getOrdersByAmazonOrderItemCode_args();
16641
        return new getOrdersByAmazonOrderCode_args();
16622
      }
16642
      }
16623
 
16643
 
16624
      protected getOrdersByAmazonOrderItemCode_result getResult(I iface, getOrdersByAmazonOrderItemCode_args args) throws org.apache.thrift.TException {
16644
      protected getOrdersByAmazonOrderCode_result getResult(I iface, getOrdersByAmazonOrderCode_args args) throws org.apache.thrift.TException {
16625
        getOrdersByAmazonOrderItemCode_result result = new getOrdersByAmazonOrderItemCode_result();
16645
        getOrdersByAmazonOrderCode_result result = new getOrdersByAmazonOrderCode_result();
16626
        result.success = iface.getOrdersByAmazonOrderItemCode(args.amazonId);
16646
        result.success = iface.getOrdersByAmazonOrderCode(args.amazonId);
16627
        return result;
16647
        return result;
16628
      }
16648
      }
16629
    }
16649
    }
16630
 
16650
 
16631
  }
16651
  }
Line 58366... Line 58386...
58366
  public static class markOrderDoaRequestAuthorized_args implements org.apache.thrift.TBase<markOrderDoaRequestAuthorized_args, markOrderDoaRequestAuthorized_args._Fields>, java.io.Serializable, Cloneable   {
58386
  public static class markOrderDoaRequestAuthorized_args implements org.apache.thrift.TBase<markOrderDoaRequestAuthorized_args, markOrderDoaRequestAuthorized_args._Fields>, java.io.Serializable, Cloneable   {
58367
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrderDoaRequestAuthorized_args");
58387
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrderDoaRequestAuthorized_args");
58368
 
58388
 
58369
    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);
58389
    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);
58370
    private static final org.apache.thrift.protocol.TField IS_AUTHORIZED_FIELD_DESC = new org.apache.thrift.protocol.TField("isAuthorized", org.apache.thrift.protocol.TType.BOOL, (short)2);
58390
    private static final org.apache.thrift.protocol.TField IS_AUTHORIZED_FIELD_DESC = new org.apache.thrift.protocol.TField("isAuthorized", org.apache.thrift.protocol.TType.BOOL, (short)2);
-
 
58391
    private static final org.apache.thrift.protocol.TField FROM_STORE_FIELD_DESC = new org.apache.thrift.protocol.TField("fromStore", org.apache.thrift.protocol.TType.BOOL, (short)3);
-
 
58392
    private static final org.apache.thrift.protocol.TField IS_RESHIP_FIELD_DESC = new org.apache.thrift.protocol.TField("isReship", org.apache.thrift.protocol.TType.BOOL, (short)4);
58371
 
58393
 
58372
    private long orderId; // required
58394
    private long orderId; // required
58373
    private boolean isAuthorized; // required
58395
    private boolean isAuthorized; // required
-
 
58396
    private boolean fromStore; // required
-
 
58397
    private boolean isReship; // required
58374
 
58398
 
58375
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
58399
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
58376
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
58400
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
58377
      ORDER_ID((short)1, "orderId"),
58401
      ORDER_ID((short)1, "orderId"),
58378
      IS_AUTHORIZED((short)2, "isAuthorized");
58402
      IS_AUTHORIZED((short)2, "isAuthorized"),
-
 
58403
      FROM_STORE((short)3, "fromStore"),
-
 
58404
      IS_RESHIP((short)4, "isReship");
58379
 
58405
 
58380
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
58406
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
58381
 
58407
 
58382
      static {
58408
      static {
58383
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
58409
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 58392... Line 58418...
58392
        switch(fieldId) {
58418
        switch(fieldId) {
58393
          case 1: // ORDER_ID
58419
          case 1: // ORDER_ID
58394
            return ORDER_ID;
58420
            return ORDER_ID;
58395
          case 2: // IS_AUTHORIZED
58421
          case 2: // IS_AUTHORIZED
58396
            return IS_AUTHORIZED;
58422
            return IS_AUTHORIZED;
-
 
58423
          case 3: // FROM_STORE
-
 
58424
            return FROM_STORE;
-
 
58425
          case 4: // IS_RESHIP
-
 
58426
            return IS_RESHIP;
58397
          default:
58427
          default:
58398
            return null;
58428
            return null;
58399
        }
58429
        }
58400
      }
58430
      }
58401
 
58431
 
Line 58434... Line 58464...
58434
    }
58464
    }
58435
 
58465
 
58436
    // isset id assignments
58466
    // isset id assignments
58437
    private static final int __ORDERID_ISSET_ID = 0;
58467
    private static final int __ORDERID_ISSET_ID = 0;
58438
    private static final int __ISAUTHORIZED_ISSET_ID = 1;
58468
    private static final int __ISAUTHORIZED_ISSET_ID = 1;
-
 
58469
    private static final int __FROMSTORE_ISSET_ID = 2;
-
 
58470
    private static final int __ISRESHIP_ISSET_ID = 3;
58439
    private BitSet __isset_bit_vector = new BitSet(2);
58471
    private BitSet __isset_bit_vector = new BitSet(4);
58440
 
58472
 
58441
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
58473
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
58442
    static {
58474
    static {
58443
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
58475
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
58444
      tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
58476
      tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
58445
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
58477
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
58446
      tmpMap.put(_Fields.IS_AUTHORIZED, new org.apache.thrift.meta_data.FieldMetaData("isAuthorized", org.apache.thrift.TFieldRequirementType.DEFAULT, 
58478
      tmpMap.put(_Fields.IS_AUTHORIZED, new org.apache.thrift.meta_data.FieldMetaData("isAuthorized", org.apache.thrift.TFieldRequirementType.DEFAULT, 
58447
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
58479
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
58480
      tmpMap.put(_Fields.FROM_STORE, new org.apache.thrift.meta_data.FieldMetaData("fromStore", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
58481
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
58482
      tmpMap.put(_Fields.IS_RESHIP, new org.apache.thrift.meta_data.FieldMetaData("isReship", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
58483
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
58448
      metaDataMap = Collections.unmodifiableMap(tmpMap);
58484
      metaDataMap = Collections.unmodifiableMap(tmpMap);
58449
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrderDoaRequestAuthorized_args.class, metaDataMap);
58485
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrderDoaRequestAuthorized_args.class, metaDataMap);
58450
    }
58486
    }
58451
 
58487
 
58452
    public markOrderDoaRequestAuthorized_args() {
58488
    public markOrderDoaRequestAuthorized_args() {
58453
    }
58489
    }
58454
 
58490
 
58455
    public markOrderDoaRequestAuthorized_args(
58491
    public markOrderDoaRequestAuthorized_args(
58456
      long orderId,
58492
      long orderId,
58457
      boolean isAuthorized)
58493
      boolean isAuthorized,
-
 
58494
      boolean fromStore,
-
 
58495
      boolean isReship)
58458
    {
58496
    {
58459
      this();
58497
      this();
58460
      this.orderId = orderId;
58498
      this.orderId = orderId;
58461
      setOrderIdIsSet(true);
58499
      setOrderIdIsSet(true);
58462
      this.isAuthorized = isAuthorized;
58500
      this.isAuthorized = isAuthorized;
58463
      setIsAuthorizedIsSet(true);
58501
      setIsAuthorizedIsSet(true);
-
 
58502
      this.fromStore = fromStore;
-
 
58503
      setFromStoreIsSet(true);
-
 
58504
      this.isReship = isReship;
-
 
58505
      setIsReshipIsSet(true);
58464
    }
58506
    }
58465
 
58507
 
58466
    /**
58508
    /**
58467
     * Performs a deep copy on <i>other</i>.
58509
     * Performs a deep copy on <i>other</i>.
58468
     */
58510
     */
58469
    public markOrderDoaRequestAuthorized_args(markOrderDoaRequestAuthorized_args other) {
58511
    public markOrderDoaRequestAuthorized_args(markOrderDoaRequestAuthorized_args other) {
58470
      __isset_bit_vector.clear();
58512
      __isset_bit_vector.clear();
58471
      __isset_bit_vector.or(other.__isset_bit_vector);
58513
      __isset_bit_vector.or(other.__isset_bit_vector);
58472
      this.orderId = other.orderId;
58514
      this.orderId = other.orderId;
58473
      this.isAuthorized = other.isAuthorized;
58515
      this.isAuthorized = other.isAuthorized;
-
 
58516
      this.fromStore = other.fromStore;
-
 
58517
      this.isReship = other.isReship;
58474
    }
58518
    }
58475
 
58519
 
58476
    public markOrderDoaRequestAuthorized_args deepCopy() {
58520
    public markOrderDoaRequestAuthorized_args deepCopy() {
58477
      return new markOrderDoaRequestAuthorized_args(this);
58521
      return new markOrderDoaRequestAuthorized_args(this);
58478
    }
58522
    }
Line 58481... Line 58525...
58481
    public void clear() {
58525
    public void clear() {
58482
      setOrderIdIsSet(false);
58526
      setOrderIdIsSet(false);
58483
      this.orderId = 0;
58527
      this.orderId = 0;
58484
      setIsAuthorizedIsSet(false);
58528
      setIsAuthorizedIsSet(false);
58485
      this.isAuthorized = false;
58529
      this.isAuthorized = false;
-
 
58530
      setFromStoreIsSet(false);
-
 
58531
      this.fromStore = false;
-
 
58532
      setIsReshipIsSet(false);
-
 
58533
      this.isReship = false;
58486
    }
58534
    }
58487
 
58535
 
58488
    public long getOrderId() {
58536
    public long getOrderId() {
58489
      return this.orderId;
58537
      return this.orderId;
58490
    }
58538
    }
Line 58527... Line 58575...
58527
 
58575
 
58528
    public void setIsAuthorizedIsSet(boolean value) {
58576
    public void setIsAuthorizedIsSet(boolean value) {
58529
      __isset_bit_vector.set(__ISAUTHORIZED_ISSET_ID, value);
58577
      __isset_bit_vector.set(__ISAUTHORIZED_ISSET_ID, value);
58530
    }
58578
    }
58531
 
58579
 
-
 
58580
    public boolean isFromStore() {
-
 
58581
      return this.fromStore;
-
 
58582
    }
-
 
58583
 
-
 
58584
    public void setFromStore(boolean fromStore) {
-
 
58585
      this.fromStore = fromStore;
-
 
58586
      setFromStoreIsSet(true);
-
 
58587
    }
-
 
58588
 
-
 
58589
    public void unsetFromStore() {
-
 
58590
      __isset_bit_vector.clear(__FROMSTORE_ISSET_ID);
-
 
58591
    }
-
 
58592
 
-
 
58593
    /** Returns true if field fromStore is set (has been assigned a value) and false otherwise */
-
 
58594
    public boolean isSetFromStore() {
-
 
58595
      return __isset_bit_vector.get(__FROMSTORE_ISSET_ID);
-
 
58596
    }
-
 
58597
 
-
 
58598
    public void setFromStoreIsSet(boolean value) {
-
 
58599
      __isset_bit_vector.set(__FROMSTORE_ISSET_ID, value);
-
 
58600
    }
-
 
58601
 
-
 
58602
    public boolean isIsReship() {
-
 
58603
      return this.isReship;
-
 
58604
    }
-
 
58605
 
-
 
58606
    public void setIsReship(boolean isReship) {
-
 
58607
      this.isReship = isReship;
-
 
58608
      setIsReshipIsSet(true);
-
 
58609
    }
-
 
58610
 
-
 
58611
    public void unsetIsReship() {
-
 
58612
      __isset_bit_vector.clear(__ISRESHIP_ISSET_ID);
-
 
58613
    }
-
 
58614
 
-
 
58615
    /** Returns true if field isReship is set (has been assigned a value) and false otherwise */
-
 
58616
    public boolean isSetIsReship() {
-
 
58617
      return __isset_bit_vector.get(__ISRESHIP_ISSET_ID);
-
 
58618
    }
-
 
58619
 
-
 
58620
    public void setIsReshipIsSet(boolean value) {
-
 
58621
      __isset_bit_vector.set(__ISRESHIP_ISSET_ID, value);
-
 
58622
    }
-
 
58623
 
58532
    public void setFieldValue(_Fields field, Object value) {
58624
    public void setFieldValue(_Fields field, Object value) {
58533
      switch (field) {
58625
      switch (field) {
58534
      case ORDER_ID:
58626
      case ORDER_ID:
58535
        if (value == null) {
58627
        if (value == null) {
58536
          unsetOrderId();
58628
          unsetOrderId();
Line 58545... Line 58637...
58545
        } else {
58637
        } else {
58546
          setIsAuthorized((Boolean)value);
58638
          setIsAuthorized((Boolean)value);
58547
        }
58639
        }
58548
        break;
58640
        break;
58549
 
58641
 
-
 
58642
      case FROM_STORE:
-
 
58643
        if (value == null) {
-
 
58644
          unsetFromStore();
-
 
58645
        } else {
-
 
58646
          setFromStore((Boolean)value);
-
 
58647
        }
-
 
58648
        break;
-
 
58649
 
-
 
58650
      case IS_RESHIP:
-
 
58651
        if (value == null) {
-
 
58652
          unsetIsReship();
-
 
58653
        } else {
-
 
58654
          setIsReship((Boolean)value);
-
 
58655
        }
-
 
58656
        break;
-
 
58657
 
58550
      }
58658
      }
58551
    }
58659
    }
58552
 
58660
 
58553
    public Object getFieldValue(_Fields field) {
58661
    public Object getFieldValue(_Fields field) {
58554
      switch (field) {
58662
      switch (field) {
Line 58556... Line 58664...
58556
        return Long.valueOf(getOrderId());
58664
        return Long.valueOf(getOrderId());
58557
 
58665
 
58558
      case IS_AUTHORIZED:
58666
      case IS_AUTHORIZED:
58559
        return Boolean.valueOf(isIsAuthorized());
58667
        return Boolean.valueOf(isIsAuthorized());
58560
 
58668
 
-
 
58669
      case FROM_STORE:
-
 
58670
        return Boolean.valueOf(isFromStore());
-
 
58671
 
-
 
58672
      case IS_RESHIP:
-
 
58673
        return Boolean.valueOf(isIsReship());
-
 
58674
 
58561
      }
58675
      }
58562
      throw new IllegalStateException();
58676
      throw new IllegalStateException();
58563
    }
58677
    }
58564
 
58678
 
58565
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
58679
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 58571... Line 58685...
58571
      switch (field) {
58685
      switch (field) {
58572
      case ORDER_ID:
58686
      case ORDER_ID:
58573
        return isSetOrderId();
58687
        return isSetOrderId();
58574
      case IS_AUTHORIZED:
58688
      case IS_AUTHORIZED:
58575
        return isSetIsAuthorized();
58689
        return isSetIsAuthorized();
-
 
58690
      case FROM_STORE:
-
 
58691
        return isSetFromStore();
-
 
58692
      case IS_RESHIP:
-
 
58693
        return isSetIsReship();
58576
      }
58694
      }
58577
      throw new IllegalStateException();
58695
      throw new IllegalStateException();
58578
    }
58696
    }
58579
 
58697
 
58580
    @Override
58698
    @Override
Line 58606... Line 58724...
58606
          return false;
58724
          return false;
58607
        if (this.isAuthorized != that.isAuthorized)
58725
        if (this.isAuthorized != that.isAuthorized)
58608
          return false;
58726
          return false;
58609
      }
58727
      }
58610
 
58728
 
-
 
58729
      boolean this_present_fromStore = true;
-
 
58730
      boolean that_present_fromStore = true;
-
 
58731
      if (this_present_fromStore || that_present_fromStore) {
-
 
58732
        if (!(this_present_fromStore && that_present_fromStore))
-
 
58733
          return false;
-
 
58734
        if (this.fromStore != that.fromStore)
-
 
58735
          return false;
-
 
58736
      }
-
 
58737
 
-
 
58738
      boolean this_present_isReship = true;
-
 
58739
      boolean that_present_isReship = true;
-
 
58740
      if (this_present_isReship || that_present_isReship) {
-
 
58741
        if (!(this_present_isReship && that_present_isReship))
-
 
58742
          return false;
-
 
58743
        if (this.isReship != that.isReship)
-
 
58744
          return false;
-
 
58745
      }
-
 
58746
 
58611
      return true;
58747
      return true;
58612
    }
58748
    }
58613
 
58749
 
58614
    @Override
58750
    @Override
58615
    public int hashCode() {
58751
    public int hashCode() {
Line 58642... Line 58778...
58642
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isAuthorized, typedOther.isAuthorized);
58778
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isAuthorized, typedOther.isAuthorized);
58643
        if (lastComparison != 0) {
58779
        if (lastComparison != 0) {
58644
          return lastComparison;
58780
          return lastComparison;
58645
        }
58781
        }
58646
      }
58782
      }
-
 
58783
      lastComparison = Boolean.valueOf(isSetFromStore()).compareTo(typedOther.isSetFromStore());
-
 
58784
      if (lastComparison != 0) {
-
 
58785
        return lastComparison;
-
 
58786
      }
-
 
58787
      if (isSetFromStore()) {
-
 
58788
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fromStore, typedOther.fromStore);
-
 
58789
        if (lastComparison != 0) {
-
 
58790
          return lastComparison;
-
 
58791
        }
-
 
58792
      }
-
 
58793
      lastComparison = Boolean.valueOf(isSetIsReship()).compareTo(typedOther.isSetIsReship());
-
 
58794
      if (lastComparison != 0) {
-
 
58795
        return lastComparison;
-
 
58796
      }
-
 
58797
      if (isSetIsReship()) {
-
 
58798
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isReship, typedOther.isReship);
-
 
58799
        if (lastComparison != 0) {
-
 
58800
          return lastComparison;
-
 
58801
        }
-
 
58802
      }
58647
      return 0;
58803
      return 0;
58648
    }
58804
    }
58649
 
58805
 
58650
    public _Fields fieldForId(int fieldId) {
58806
    public _Fields fieldForId(int fieldId) {
58651
      return _Fields.findByThriftId(fieldId);
58807
      return _Fields.findByThriftId(fieldId);
Line 58675... Line 58831...
58675
              setIsAuthorizedIsSet(true);
58831
              setIsAuthorizedIsSet(true);
58676
            } else { 
58832
            } else { 
58677
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58833
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58678
            }
58834
            }
58679
            break;
58835
            break;
-
 
58836
          case 3: // FROM_STORE
-
 
58837
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
58838
              this.fromStore = iprot.readBool();
-
 
58839
              setFromStoreIsSet(true);
-
 
58840
            } else { 
-
 
58841
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
58842
            }
-
 
58843
            break;
-
 
58844
          case 4: // IS_RESHIP
-
 
58845
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
58846
              this.isReship = iprot.readBool();
-
 
58847
              setIsReshipIsSet(true);
-
 
58848
            } else { 
-
 
58849
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
58850
            }
-
 
58851
            break;
58680
          default:
58852
          default:
58681
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58853
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58682
        }
58854
        }
58683
        iprot.readFieldEnd();
58855
        iprot.readFieldEnd();
58684
      }
58856
      }
Line 58694... Line 58866...
58694
      oprot.writeI64(this.orderId);
58866
      oprot.writeI64(this.orderId);
58695
      oprot.writeFieldEnd();
58867
      oprot.writeFieldEnd();
58696
      oprot.writeFieldBegin(IS_AUTHORIZED_FIELD_DESC);
58868
      oprot.writeFieldBegin(IS_AUTHORIZED_FIELD_DESC);
58697
      oprot.writeBool(this.isAuthorized);
58869
      oprot.writeBool(this.isAuthorized);
58698
      oprot.writeFieldEnd();
58870
      oprot.writeFieldEnd();
-
 
58871
      oprot.writeFieldBegin(FROM_STORE_FIELD_DESC);
-
 
58872
      oprot.writeBool(this.fromStore);
-
 
58873
      oprot.writeFieldEnd();
-
 
58874
      oprot.writeFieldBegin(IS_RESHIP_FIELD_DESC);
-
 
58875
      oprot.writeBool(this.isReship);
-
 
58876
      oprot.writeFieldEnd();
58699
      oprot.writeFieldStop();
58877
      oprot.writeFieldStop();
58700
      oprot.writeStructEnd();
58878
      oprot.writeStructEnd();
58701
    }
58879
    }
58702
 
58880
 
58703
    @Override
58881
    @Override
Line 58710... Line 58888...
58710
      first = false;
58888
      first = false;
58711
      if (!first) sb.append(", ");
58889
      if (!first) sb.append(", ");
58712
      sb.append("isAuthorized:");
58890
      sb.append("isAuthorized:");
58713
      sb.append(this.isAuthorized);
58891
      sb.append(this.isAuthorized);
58714
      first = false;
58892
      first = false;
-
 
58893
      if (!first) sb.append(", ");
-
 
58894
      sb.append("fromStore:");
-
 
58895
      sb.append(this.fromStore);
-
 
58896
      first = false;
-
 
58897
      if (!first) sb.append(", ");
-
 
58898
      sb.append("isReship:");
-
 
58899
      sb.append(this.isReship);
-
 
58900
      first = false;
58715
      sb.append(")");
58901
      sb.append(")");
58716
      return sb.toString();
58902
      return sb.toString();
58717
    }
58903
    }
58718
 
58904
 
58719
    public void validate() throws org.apache.thrift.TException {
58905
    public void validate() throws org.apache.thrift.TException {
Line 59797... Line 59983...
59797
  public static class markOrderReturnRequestAuthorized_args implements org.apache.thrift.TBase<markOrderReturnRequestAuthorized_args, markOrderReturnRequestAuthorized_args._Fields>, java.io.Serializable, Cloneable   {
59983
  public static class markOrderReturnRequestAuthorized_args implements org.apache.thrift.TBase<markOrderReturnRequestAuthorized_args, markOrderReturnRequestAuthorized_args._Fields>, java.io.Serializable, Cloneable   {
59798
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrderReturnRequestAuthorized_args");
59984
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrderReturnRequestAuthorized_args");
59799
 
59985
 
59800
    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);
59986
    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);
59801
    private static final org.apache.thrift.protocol.TField IS_AUTHORIZED_FIELD_DESC = new org.apache.thrift.protocol.TField("isAuthorized", org.apache.thrift.protocol.TType.BOOL, (short)2);
59987
    private static final org.apache.thrift.protocol.TField IS_AUTHORIZED_FIELD_DESC = new org.apache.thrift.protocol.TField("isAuthorized", org.apache.thrift.protocol.TType.BOOL, (short)2);
-
 
59988
    private static final org.apache.thrift.protocol.TField FROM_STORE_FIELD_DESC = new org.apache.thrift.protocol.TField("fromStore", org.apache.thrift.protocol.TType.BOOL, (short)3);
-
 
59989
    private static final org.apache.thrift.protocol.TField IS_RESHIP_FIELD_DESC = new org.apache.thrift.protocol.TField("isReship", org.apache.thrift.protocol.TType.BOOL, (short)4);
59802
 
59990
 
59803
    private long orderId; // required
59991
    private long orderId; // required
59804
    private boolean isAuthorized; // required
59992
    private boolean isAuthorized; // required
-
 
59993
    private boolean fromStore; // required
-
 
59994
    private boolean isReship; // required
59805
 
59995
 
59806
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
59996
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
59807
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
59997
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
59808
      ORDER_ID((short)1, "orderId"),
59998
      ORDER_ID((short)1, "orderId"),
59809
      IS_AUTHORIZED((short)2, "isAuthorized");
59999
      IS_AUTHORIZED((short)2, "isAuthorized"),
-
 
60000
      FROM_STORE((short)3, "fromStore"),
-
 
60001
      IS_RESHIP((short)4, "isReship");
59810
 
60002
 
59811
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
60003
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
59812
 
60004
 
59813
      static {
60005
      static {
59814
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
60006
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 59823... Line 60015...
59823
        switch(fieldId) {
60015
        switch(fieldId) {
59824
          case 1: // ORDER_ID
60016
          case 1: // ORDER_ID
59825
            return ORDER_ID;
60017
            return ORDER_ID;
59826
          case 2: // IS_AUTHORIZED
60018
          case 2: // IS_AUTHORIZED
59827
            return IS_AUTHORIZED;
60019
            return IS_AUTHORIZED;
-
 
60020
          case 3: // FROM_STORE
-
 
60021
            return FROM_STORE;
-
 
60022
          case 4: // IS_RESHIP
-
 
60023
            return IS_RESHIP;
59828
          default:
60024
          default:
59829
            return null;
60025
            return null;
59830
        }
60026
        }
59831
      }
60027
      }
59832
 
60028
 
Line 59865... Line 60061...
59865
    }
60061
    }
59866
 
60062
 
59867
    // isset id assignments
60063
    // isset id assignments
59868
    private static final int __ORDERID_ISSET_ID = 0;
60064
    private static final int __ORDERID_ISSET_ID = 0;
59869
    private static final int __ISAUTHORIZED_ISSET_ID = 1;
60065
    private static final int __ISAUTHORIZED_ISSET_ID = 1;
-
 
60066
    private static final int __FROMSTORE_ISSET_ID = 2;
-
 
60067
    private static final int __ISRESHIP_ISSET_ID = 3;
59870
    private BitSet __isset_bit_vector = new BitSet(2);
60068
    private BitSet __isset_bit_vector = new BitSet(4);
59871
 
60069
 
59872
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
60070
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
59873
    static {
60071
    static {
59874
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
60072
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
59875
      tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
60073
      tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
59876
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
60074
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
59877
      tmpMap.put(_Fields.IS_AUTHORIZED, new org.apache.thrift.meta_data.FieldMetaData("isAuthorized", org.apache.thrift.TFieldRequirementType.DEFAULT, 
60075
      tmpMap.put(_Fields.IS_AUTHORIZED, new org.apache.thrift.meta_data.FieldMetaData("isAuthorized", org.apache.thrift.TFieldRequirementType.DEFAULT, 
59878
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
60076
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
60077
      tmpMap.put(_Fields.FROM_STORE, new org.apache.thrift.meta_data.FieldMetaData("fromStore", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
60078
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
60079
      tmpMap.put(_Fields.IS_RESHIP, new org.apache.thrift.meta_data.FieldMetaData("isReship", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
60080
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
59879
      metaDataMap = Collections.unmodifiableMap(tmpMap);
60081
      metaDataMap = Collections.unmodifiableMap(tmpMap);
59880
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrderReturnRequestAuthorized_args.class, metaDataMap);
60082
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrderReturnRequestAuthorized_args.class, metaDataMap);
59881
    }
60083
    }
59882
 
60084
 
59883
    public markOrderReturnRequestAuthorized_args() {
60085
    public markOrderReturnRequestAuthorized_args() {
59884
    }
60086
    }
59885
 
60087
 
59886
    public markOrderReturnRequestAuthorized_args(
60088
    public markOrderReturnRequestAuthorized_args(
59887
      long orderId,
60089
      long orderId,
59888
      boolean isAuthorized)
60090
      boolean isAuthorized,
-
 
60091
      boolean fromStore,
-
 
60092
      boolean isReship)
59889
    {
60093
    {
59890
      this();
60094
      this();
59891
      this.orderId = orderId;
60095
      this.orderId = orderId;
59892
      setOrderIdIsSet(true);
60096
      setOrderIdIsSet(true);
59893
      this.isAuthorized = isAuthorized;
60097
      this.isAuthorized = isAuthorized;
59894
      setIsAuthorizedIsSet(true);
60098
      setIsAuthorizedIsSet(true);
-
 
60099
      this.fromStore = fromStore;
-
 
60100
      setFromStoreIsSet(true);
-
 
60101
      this.isReship = isReship;
-
 
60102
      setIsReshipIsSet(true);
59895
    }
60103
    }
59896
 
60104
 
59897
    /**
60105
    /**
59898
     * Performs a deep copy on <i>other</i>.
60106
     * Performs a deep copy on <i>other</i>.
59899
     */
60107
     */
59900
    public markOrderReturnRequestAuthorized_args(markOrderReturnRequestAuthorized_args other) {
60108
    public markOrderReturnRequestAuthorized_args(markOrderReturnRequestAuthorized_args other) {
59901
      __isset_bit_vector.clear();
60109
      __isset_bit_vector.clear();
59902
      __isset_bit_vector.or(other.__isset_bit_vector);
60110
      __isset_bit_vector.or(other.__isset_bit_vector);
59903
      this.orderId = other.orderId;
60111
      this.orderId = other.orderId;
59904
      this.isAuthorized = other.isAuthorized;
60112
      this.isAuthorized = other.isAuthorized;
-
 
60113
      this.fromStore = other.fromStore;
-
 
60114
      this.isReship = other.isReship;
59905
    }
60115
    }
59906
 
60116
 
59907
    public markOrderReturnRequestAuthorized_args deepCopy() {
60117
    public markOrderReturnRequestAuthorized_args deepCopy() {
59908
      return new markOrderReturnRequestAuthorized_args(this);
60118
      return new markOrderReturnRequestAuthorized_args(this);
59909
    }
60119
    }
Line 59912... Line 60122...
59912
    public void clear() {
60122
    public void clear() {
59913
      setOrderIdIsSet(false);
60123
      setOrderIdIsSet(false);
59914
      this.orderId = 0;
60124
      this.orderId = 0;
59915
      setIsAuthorizedIsSet(false);
60125
      setIsAuthorizedIsSet(false);
59916
      this.isAuthorized = false;
60126
      this.isAuthorized = false;
-
 
60127
      setFromStoreIsSet(false);
-
 
60128
      this.fromStore = false;
-
 
60129
      setIsReshipIsSet(false);
-
 
60130
      this.isReship = false;
59917
    }
60131
    }
59918
 
60132
 
59919
    public long getOrderId() {
60133
    public long getOrderId() {
59920
      return this.orderId;
60134
      return this.orderId;
59921
    }
60135
    }
Line 59958... Line 60172...
59958
 
60172
 
59959
    public void setIsAuthorizedIsSet(boolean value) {
60173
    public void setIsAuthorizedIsSet(boolean value) {
59960
      __isset_bit_vector.set(__ISAUTHORIZED_ISSET_ID, value);
60174
      __isset_bit_vector.set(__ISAUTHORIZED_ISSET_ID, value);
59961
    }
60175
    }
59962
 
60176
 
-
 
60177
    public boolean isFromStore() {
-
 
60178
      return this.fromStore;
-
 
60179
    }
-
 
60180
 
-
 
60181
    public void setFromStore(boolean fromStore) {
-
 
60182
      this.fromStore = fromStore;
-
 
60183
      setFromStoreIsSet(true);
-
 
60184
    }
-
 
60185
 
-
 
60186
    public void unsetFromStore() {
-
 
60187
      __isset_bit_vector.clear(__FROMSTORE_ISSET_ID);
-
 
60188
    }
-
 
60189
 
-
 
60190
    /** Returns true if field fromStore is set (has been assigned a value) and false otherwise */
-
 
60191
    public boolean isSetFromStore() {
-
 
60192
      return __isset_bit_vector.get(__FROMSTORE_ISSET_ID);
-
 
60193
    }
-
 
60194
 
-
 
60195
    public void setFromStoreIsSet(boolean value) {
-
 
60196
      __isset_bit_vector.set(__FROMSTORE_ISSET_ID, value);
-
 
60197
    }
-
 
60198
 
-
 
60199
    public boolean isIsReship() {
-
 
60200
      return this.isReship;
-
 
60201
    }
-
 
60202
 
-
 
60203
    public void setIsReship(boolean isReship) {
-
 
60204
      this.isReship = isReship;
-
 
60205
      setIsReshipIsSet(true);
-
 
60206
    }
-
 
60207
 
-
 
60208
    public void unsetIsReship() {
-
 
60209
      __isset_bit_vector.clear(__ISRESHIP_ISSET_ID);
-
 
60210
    }
-
 
60211
 
-
 
60212
    /** Returns true if field isReship is set (has been assigned a value) and false otherwise */
-
 
60213
    public boolean isSetIsReship() {
-
 
60214
      return __isset_bit_vector.get(__ISRESHIP_ISSET_ID);
-
 
60215
    }
-
 
60216
 
-
 
60217
    public void setIsReshipIsSet(boolean value) {
-
 
60218
      __isset_bit_vector.set(__ISRESHIP_ISSET_ID, value);
-
 
60219
    }
-
 
60220
 
59963
    public void setFieldValue(_Fields field, Object value) {
60221
    public void setFieldValue(_Fields field, Object value) {
59964
      switch (field) {
60222
      switch (field) {
59965
      case ORDER_ID:
60223
      case ORDER_ID:
59966
        if (value == null) {
60224
        if (value == null) {
59967
          unsetOrderId();
60225
          unsetOrderId();
Line 59976... Line 60234...
59976
        } else {
60234
        } else {
59977
          setIsAuthorized((Boolean)value);
60235
          setIsAuthorized((Boolean)value);
59978
        }
60236
        }
59979
        break;
60237
        break;
59980
 
60238
 
-
 
60239
      case FROM_STORE:
-
 
60240
        if (value == null) {
-
 
60241
          unsetFromStore();
-
 
60242
        } else {
-
 
60243
          setFromStore((Boolean)value);
-
 
60244
        }
-
 
60245
        break;
-
 
60246
 
-
 
60247
      case IS_RESHIP:
-
 
60248
        if (value == null) {
-
 
60249
          unsetIsReship();
-
 
60250
        } else {
-
 
60251
          setIsReship((Boolean)value);
-
 
60252
        }
-
 
60253
        break;
-
 
60254
 
59981
      }
60255
      }
59982
    }
60256
    }
59983
 
60257
 
59984
    public Object getFieldValue(_Fields field) {
60258
    public Object getFieldValue(_Fields field) {
59985
      switch (field) {
60259
      switch (field) {
Line 59987... Line 60261...
59987
        return Long.valueOf(getOrderId());
60261
        return Long.valueOf(getOrderId());
59988
 
60262
 
59989
      case IS_AUTHORIZED:
60263
      case IS_AUTHORIZED:
59990
        return Boolean.valueOf(isIsAuthorized());
60264
        return Boolean.valueOf(isIsAuthorized());
59991
 
60265
 
-
 
60266
      case FROM_STORE:
-
 
60267
        return Boolean.valueOf(isFromStore());
-
 
60268
 
-
 
60269
      case IS_RESHIP:
-
 
60270
        return Boolean.valueOf(isIsReship());
-
 
60271
 
59992
      }
60272
      }
59993
      throw new IllegalStateException();
60273
      throw new IllegalStateException();
59994
    }
60274
    }
59995
 
60275
 
59996
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
60276
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 60002... Line 60282...
60002
      switch (field) {
60282
      switch (field) {
60003
      case ORDER_ID:
60283
      case ORDER_ID:
60004
        return isSetOrderId();
60284
        return isSetOrderId();
60005
      case IS_AUTHORIZED:
60285
      case IS_AUTHORIZED:
60006
        return isSetIsAuthorized();
60286
        return isSetIsAuthorized();
-
 
60287
      case FROM_STORE:
-
 
60288
        return isSetFromStore();
-
 
60289
      case IS_RESHIP:
-
 
60290
        return isSetIsReship();
60007
      }
60291
      }
60008
      throw new IllegalStateException();
60292
      throw new IllegalStateException();
60009
    }
60293
    }
60010
 
60294
 
60011
    @Override
60295
    @Override
Line 60037... Line 60321...
60037
          return false;
60321
          return false;
60038
        if (this.isAuthorized != that.isAuthorized)
60322
        if (this.isAuthorized != that.isAuthorized)
60039
          return false;
60323
          return false;
60040
      }
60324
      }
60041
 
60325
 
-
 
60326
      boolean this_present_fromStore = true;
-
 
60327
      boolean that_present_fromStore = true;
-
 
60328
      if (this_present_fromStore || that_present_fromStore) {
-
 
60329
        if (!(this_present_fromStore && that_present_fromStore))
-
 
60330
          return false;
-
 
60331
        if (this.fromStore != that.fromStore)
-
 
60332
          return false;
-
 
60333
      }
-
 
60334
 
-
 
60335
      boolean this_present_isReship = true;
-
 
60336
      boolean that_present_isReship = true;
-
 
60337
      if (this_present_isReship || that_present_isReship) {
-
 
60338
        if (!(this_present_isReship && that_present_isReship))
-
 
60339
          return false;
-
 
60340
        if (this.isReship != that.isReship)
-
 
60341
          return false;
-
 
60342
      }
-
 
60343
 
60042
      return true;
60344
      return true;
60043
    }
60345
    }
60044
 
60346
 
60045
    @Override
60347
    @Override
60046
    public int hashCode() {
60348
    public int hashCode() {
Line 60073... Line 60375...
60073
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isAuthorized, typedOther.isAuthorized);
60375
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isAuthorized, typedOther.isAuthorized);
60074
        if (lastComparison != 0) {
60376
        if (lastComparison != 0) {
60075
          return lastComparison;
60377
          return lastComparison;
60076
        }
60378
        }
60077
      }
60379
      }
-
 
60380
      lastComparison = Boolean.valueOf(isSetFromStore()).compareTo(typedOther.isSetFromStore());
-
 
60381
      if (lastComparison != 0) {
-
 
60382
        return lastComparison;
-
 
60383
      }
-
 
60384
      if (isSetFromStore()) {
-
 
60385
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fromStore, typedOther.fromStore);
-
 
60386
        if (lastComparison != 0) {
-
 
60387
          return lastComparison;
-
 
60388
        }
-
 
60389
      }
-
 
60390
      lastComparison = Boolean.valueOf(isSetIsReship()).compareTo(typedOther.isSetIsReship());
-
 
60391
      if (lastComparison != 0) {
-
 
60392
        return lastComparison;
-
 
60393
      }
-
 
60394
      if (isSetIsReship()) {
-
 
60395
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isReship, typedOther.isReship);
-
 
60396
        if (lastComparison != 0) {
-
 
60397
          return lastComparison;
-
 
60398
        }
-
 
60399
      }
60078
      return 0;
60400
      return 0;
60079
    }
60401
    }
60080
 
60402
 
60081
    public _Fields fieldForId(int fieldId) {
60403
    public _Fields fieldForId(int fieldId) {
60082
      return _Fields.findByThriftId(fieldId);
60404
      return _Fields.findByThriftId(fieldId);
Line 60106... Line 60428...
60106
              setIsAuthorizedIsSet(true);
60428
              setIsAuthorizedIsSet(true);
60107
            } else { 
60429
            } else { 
60108
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60430
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60109
            }
60431
            }
60110
            break;
60432
            break;
-
 
60433
          case 3: // FROM_STORE
-
 
60434
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
60435
              this.fromStore = iprot.readBool();
-
 
60436
              setFromStoreIsSet(true);
-
 
60437
            } else { 
-
 
60438
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
60439
            }
-
 
60440
            break;
-
 
60441
          case 4: // IS_RESHIP
-
 
60442
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
60443
              this.isReship = iprot.readBool();
-
 
60444
              setIsReshipIsSet(true);
-
 
60445
            } else { 
-
 
60446
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
60447
            }
-
 
60448
            break;
60111
          default:
60449
          default:
60112
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60450
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60113
        }
60451
        }
60114
        iprot.readFieldEnd();
60452
        iprot.readFieldEnd();
60115
      }
60453
      }
Line 60125... Line 60463...
60125
      oprot.writeI64(this.orderId);
60463
      oprot.writeI64(this.orderId);
60126
      oprot.writeFieldEnd();
60464
      oprot.writeFieldEnd();
60127
      oprot.writeFieldBegin(IS_AUTHORIZED_FIELD_DESC);
60465
      oprot.writeFieldBegin(IS_AUTHORIZED_FIELD_DESC);
60128
      oprot.writeBool(this.isAuthorized);
60466
      oprot.writeBool(this.isAuthorized);
60129
      oprot.writeFieldEnd();
60467
      oprot.writeFieldEnd();
-
 
60468
      oprot.writeFieldBegin(FROM_STORE_FIELD_DESC);
-
 
60469
      oprot.writeBool(this.fromStore);
-
 
60470
      oprot.writeFieldEnd();
-
 
60471
      oprot.writeFieldBegin(IS_RESHIP_FIELD_DESC);
-
 
60472
      oprot.writeBool(this.isReship);
-
 
60473
      oprot.writeFieldEnd();
60130
      oprot.writeFieldStop();
60474
      oprot.writeFieldStop();
60131
      oprot.writeStructEnd();
60475
      oprot.writeStructEnd();
60132
    }
60476
    }
60133
 
60477
 
60134
    @Override
60478
    @Override
Line 60141... Line 60485...
60141
      first = false;
60485
      first = false;
60142
      if (!first) sb.append(", ");
60486
      if (!first) sb.append(", ");
60143
      sb.append("isAuthorized:");
60487
      sb.append("isAuthorized:");
60144
      sb.append(this.isAuthorized);
60488
      sb.append(this.isAuthorized);
60145
      first = false;
60489
      first = false;
-
 
60490
      if (!first) sb.append(", ");
-
 
60491
      sb.append("fromStore:");
-
 
60492
      sb.append(this.fromStore);
-
 
60493
      first = false;
-
 
60494
      if (!first) sb.append(", ");
-
 
60495
      sb.append("isReship:");
-
 
60496
      sb.append(this.isReship);
-
 
60497
      first = false;
60146
      sb.append(")");
60498
      sb.append(")");
60147
      return sb.toString();
60499
      return sb.toString();
60148
    }
60500
    }
60149
 
60501
 
60150
    public void validate() throws org.apache.thrift.TException {
60502
    public void validate() throws org.apache.thrift.TException {
Line 153607... Line 153959...
153607
      }
153959
      }
153608
    }
153960
    }
153609
 
153961
 
153610
  }
153962
  }
153611
 
153963
 
153612
  public static class getOrdersByAmazonOrderItemCode_args implements org.apache.thrift.TBase<getOrdersByAmazonOrderItemCode_args, getOrdersByAmazonOrderItemCode_args._Fields>, java.io.Serializable, Cloneable   {
153964
  public static class getOrdersByAmazonOrderCode_args implements org.apache.thrift.TBase<getOrdersByAmazonOrderCode_args, getOrdersByAmazonOrderCode_args._Fields>, java.io.Serializable, Cloneable   {
153613
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrdersByAmazonOrderItemCode_args");
153965
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrdersByAmazonOrderCode_args");
153614
 
153966
 
153615
    private static final org.apache.thrift.protocol.TField AMAZON_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("amazonId", org.apache.thrift.protocol.TType.STRING, (short)1);
153967
    private static final org.apache.thrift.protocol.TField AMAZON_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("amazonId", org.apache.thrift.protocol.TType.STRING, (short)1);
153616
 
153968
 
153617
    private String amazonId; // required
153969
    private String amazonId; // required
153618
 
153970
 
Line 153680... Line 154032...
153680
    static {
154032
    static {
153681
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
154033
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
153682
      tmpMap.put(_Fields.AMAZON_ID, new org.apache.thrift.meta_data.FieldMetaData("amazonId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
154034
      tmpMap.put(_Fields.AMAZON_ID, new org.apache.thrift.meta_data.FieldMetaData("amazonId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
153683
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
154035
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
153684
      metaDataMap = Collections.unmodifiableMap(tmpMap);
154036
      metaDataMap = Collections.unmodifiableMap(tmpMap);
153685
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrdersByAmazonOrderItemCode_args.class, metaDataMap);
154037
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrdersByAmazonOrderCode_args.class, metaDataMap);
153686
    }
154038
    }
153687
 
154039
 
153688
    public getOrdersByAmazonOrderItemCode_args() {
154040
    public getOrdersByAmazonOrderCode_args() {
153689
    }
154041
    }
153690
 
154042
 
153691
    public getOrdersByAmazonOrderItemCode_args(
154043
    public getOrdersByAmazonOrderCode_args(
153692
      String amazonId)
154044
      String amazonId)
153693
    {
154045
    {
153694
      this();
154046
      this();
153695
      this.amazonId = amazonId;
154047
      this.amazonId = amazonId;
153696
    }
154048
    }
153697
 
154049
 
153698
    /**
154050
    /**
153699
     * Performs a deep copy on <i>other</i>.
154051
     * Performs a deep copy on <i>other</i>.
153700
     */
154052
     */
153701
    public getOrdersByAmazonOrderItemCode_args(getOrdersByAmazonOrderItemCode_args other) {
154053
    public getOrdersByAmazonOrderCode_args(getOrdersByAmazonOrderCode_args other) {
153702
      if (other.isSetAmazonId()) {
154054
      if (other.isSetAmazonId()) {
153703
        this.amazonId = other.amazonId;
154055
        this.amazonId = other.amazonId;
153704
      }
154056
      }
153705
    }
154057
    }
153706
 
154058
 
153707
    public getOrdersByAmazonOrderItemCode_args deepCopy() {
154059
    public getOrdersByAmazonOrderCode_args deepCopy() {
153708
      return new getOrdersByAmazonOrderItemCode_args(this);
154060
      return new getOrdersByAmazonOrderCode_args(this);
153709
    }
154061
    }
153710
 
154062
 
153711
    @Override
154063
    @Override
153712
    public void clear() {
154064
    public void clear() {
153713
      this.amazonId = null;
154065
      this.amazonId = null;
Line 153773... Line 154125...
153773
 
154125
 
153774
    @Override
154126
    @Override
153775
    public boolean equals(Object that) {
154127
    public boolean equals(Object that) {
153776
      if (that == null)
154128
      if (that == null)
153777
        return false;
154129
        return false;
153778
      if (that instanceof getOrdersByAmazonOrderItemCode_args)
154130
      if (that instanceof getOrdersByAmazonOrderCode_args)
153779
        return this.equals((getOrdersByAmazonOrderItemCode_args)that);
154131
        return this.equals((getOrdersByAmazonOrderCode_args)that);
153780
      return false;
154132
      return false;
153781
    }
154133
    }
153782
 
154134
 
153783
    public boolean equals(getOrdersByAmazonOrderItemCode_args that) {
154135
    public boolean equals(getOrdersByAmazonOrderCode_args that) {
153784
      if (that == null)
154136
      if (that == null)
153785
        return false;
154137
        return false;
153786
 
154138
 
153787
      boolean this_present_amazonId = true && this.isSetAmazonId();
154139
      boolean this_present_amazonId = true && this.isSetAmazonId();
153788
      boolean that_present_amazonId = true && that.isSetAmazonId();
154140
      boolean that_present_amazonId = true && that.isSetAmazonId();
Line 153799... Line 154151...
153799
    @Override
154151
    @Override
153800
    public int hashCode() {
154152
    public int hashCode() {
153801
      return 0;
154153
      return 0;
153802
    }
154154
    }
153803
 
154155
 
153804
    public int compareTo(getOrdersByAmazonOrderItemCode_args other) {
154156
    public int compareTo(getOrdersByAmazonOrderCode_args other) {
153805
      if (!getClass().equals(other.getClass())) {
154157
      if (!getClass().equals(other.getClass())) {
153806
        return getClass().getName().compareTo(other.getClass().getName());
154158
        return getClass().getName().compareTo(other.getClass().getName());
153807
      }
154159
      }
153808
 
154160
 
153809
      int lastComparison = 0;
154161
      int lastComparison = 0;
153810
      getOrdersByAmazonOrderItemCode_args typedOther = (getOrdersByAmazonOrderItemCode_args)other;
154162
      getOrdersByAmazonOrderCode_args typedOther = (getOrdersByAmazonOrderCode_args)other;
153811
 
154163
 
153812
      lastComparison = Boolean.valueOf(isSetAmazonId()).compareTo(typedOther.isSetAmazonId());
154164
      lastComparison = Boolean.valueOf(isSetAmazonId()).compareTo(typedOther.isSetAmazonId());
153813
      if (lastComparison != 0) {
154165
      if (lastComparison != 0) {
153814
        return lastComparison;
154166
        return lastComparison;
153815
      }
154167
      }
Line 153865... Line 154217...
153865
      oprot.writeStructEnd();
154217
      oprot.writeStructEnd();
153866
    }
154218
    }
153867
 
154219
 
153868
    @Override
154220
    @Override
153869
    public String toString() {
154221
    public String toString() {
153870
      StringBuilder sb = new StringBuilder("getOrdersByAmazonOrderItemCode_args(");
154222
      StringBuilder sb = new StringBuilder("getOrdersByAmazonOrderCode_args(");
153871
      boolean first = true;
154223
      boolean first = true;
153872
 
154224
 
153873
      sb.append("amazonId:");
154225
      sb.append("amazonId:");
153874
      if (this.amazonId == null) {
154226
      if (this.amazonId == null) {
153875
        sb.append("null");
154227
        sb.append("null");
Line 153901... Line 154253...
153901
      }
154253
      }
153902
    }
154254
    }
153903
 
154255
 
153904
  }
154256
  }
153905
 
154257
 
153906
  public static class getOrdersByAmazonOrderItemCode_result implements org.apache.thrift.TBase<getOrdersByAmazonOrderItemCode_result, getOrdersByAmazonOrderItemCode_result._Fields>, java.io.Serializable, Cloneable   {
154258
  public static class getOrdersByAmazonOrderCode_result implements org.apache.thrift.TBase<getOrdersByAmazonOrderCode_result, getOrdersByAmazonOrderCode_result._Fields>, java.io.Serializable, Cloneable   {
153907
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrdersByAmazonOrderItemCode_result");
154259
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrdersByAmazonOrderCode_result");
153908
 
154260
 
153909
    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);
154261
    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);
153910
 
154262
 
153911
    private List<Order> success; // required
154263
    private List<Order> success; // required
153912
 
154264
 
Line 153975... Line 154327...
153975
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
154327
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
153976
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
154328
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
153977
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
154329
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
153978
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
154330
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
153979
      metaDataMap = Collections.unmodifiableMap(tmpMap);
154331
      metaDataMap = Collections.unmodifiableMap(tmpMap);
153980
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrdersByAmazonOrderItemCode_result.class, metaDataMap);
154332
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrdersByAmazonOrderCode_result.class, metaDataMap);
153981
    }
154333
    }
153982
 
154334
 
153983
    public getOrdersByAmazonOrderItemCode_result() {
154335
    public getOrdersByAmazonOrderCode_result() {
153984
    }
154336
    }
153985
 
154337
 
153986
    public getOrdersByAmazonOrderItemCode_result(
154338
    public getOrdersByAmazonOrderCode_result(
153987
      List<Order> success)
154339
      List<Order> success)
153988
    {
154340
    {
153989
      this();
154341
      this();
153990
      this.success = success;
154342
      this.success = success;
153991
    }
154343
    }
153992
 
154344
 
153993
    /**
154345
    /**
153994
     * Performs a deep copy on <i>other</i>.
154346
     * Performs a deep copy on <i>other</i>.
153995
     */
154347
     */
153996
    public getOrdersByAmazonOrderItemCode_result(getOrdersByAmazonOrderItemCode_result other) {
154348
    public getOrdersByAmazonOrderCode_result(getOrdersByAmazonOrderCode_result other) {
153997
      if (other.isSetSuccess()) {
154349
      if (other.isSetSuccess()) {
153998
        List<Order> __this__success = new ArrayList<Order>();
154350
        List<Order> __this__success = new ArrayList<Order>();
153999
        for (Order other_element : other.success) {
154351
        for (Order other_element : other.success) {
154000
          __this__success.add(new Order(other_element));
154352
          __this__success.add(new Order(other_element));
154001
        }
154353
        }
154002
        this.success = __this__success;
154354
        this.success = __this__success;
154003
      }
154355
      }
154004
    }
154356
    }
154005
 
154357
 
154006
    public getOrdersByAmazonOrderItemCode_result deepCopy() {
154358
    public getOrdersByAmazonOrderCode_result deepCopy() {
154007
      return new getOrdersByAmazonOrderItemCode_result(this);
154359
      return new getOrdersByAmazonOrderCode_result(this);
154008
    }
154360
    }
154009
 
154361
 
154010
    @Override
154362
    @Override
154011
    public void clear() {
154363
    public void clear() {
154012
      this.success = null;
154364
      this.success = null;
Line 154087... Line 154439...
154087
 
154439
 
154088
    @Override
154440
    @Override
154089
    public boolean equals(Object that) {
154441
    public boolean equals(Object that) {
154090
      if (that == null)
154442
      if (that == null)
154091
        return false;
154443
        return false;
154092
      if (that instanceof getOrdersByAmazonOrderItemCode_result)
154444
      if (that instanceof getOrdersByAmazonOrderCode_result)
154093
        return this.equals((getOrdersByAmazonOrderItemCode_result)that);
154445
        return this.equals((getOrdersByAmazonOrderCode_result)that);
154094
      return false;
154446
      return false;
154095
    }
154447
    }
154096
 
154448
 
154097
    public boolean equals(getOrdersByAmazonOrderItemCode_result that) {
154449
    public boolean equals(getOrdersByAmazonOrderCode_result that) {
154098
      if (that == null)
154450
      if (that == null)
154099
        return false;
154451
        return false;
154100
 
154452
 
154101
      boolean this_present_success = true && this.isSetSuccess();
154453
      boolean this_present_success = true && this.isSetSuccess();
154102
      boolean that_present_success = true && that.isSetSuccess();
154454
      boolean that_present_success = true && that.isSetSuccess();
Line 154113... Line 154465...
154113
    @Override
154465
    @Override
154114
    public int hashCode() {
154466
    public int hashCode() {
154115
      return 0;
154467
      return 0;
154116
    }
154468
    }
154117
 
154469
 
154118
    public int compareTo(getOrdersByAmazonOrderItemCode_result other) {
154470
    public int compareTo(getOrdersByAmazonOrderCode_result other) {
154119
      if (!getClass().equals(other.getClass())) {
154471
      if (!getClass().equals(other.getClass())) {
154120
        return getClass().getName().compareTo(other.getClass().getName());
154472
        return getClass().getName().compareTo(other.getClass().getName());
154121
      }
154473
      }
154122
 
154474
 
154123
      int lastComparison = 0;
154475
      int lastComparison = 0;
154124
      getOrdersByAmazonOrderItemCode_result typedOther = (getOrdersByAmazonOrderItemCode_result)other;
154476
      getOrdersByAmazonOrderCode_result typedOther = (getOrdersByAmazonOrderCode_result)other;
154125
 
154477
 
154126
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
154478
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
154127
      if (lastComparison != 0) {
154479
      if (lastComparison != 0) {
154128
        return lastComparison;
154480
        return lastComparison;
154129
      }
154481
      }
Line 154196... Line 154548...
154196
      oprot.writeStructEnd();
154548
      oprot.writeStructEnd();
154197
    }
154549
    }
154198
 
154550
 
154199
    @Override
154551
    @Override
154200
    public String toString() {
154552
    public String toString() {
154201
      StringBuilder sb = new StringBuilder("getOrdersByAmazonOrderItemCode_result(");
154553
      StringBuilder sb = new StringBuilder("getOrdersByAmazonOrderCode_result(");
154202
      boolean first = true;
154554
      boolean first = true;
154203
 
154555
 
154204
      sb.append("success:");
154556
      sb.append("success:");
154205
      if (this.success == null) {
154557
      if (this.success == null) {
154206
        sb.append("null");
154558
        sb.append("null");