Subversion Repositories SmartDukaan

Rev

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

Rev 11896 Rev 12103
Line 1068... Line 1068...
1068
 
1068
 
1069
    public Map<Long,Long> getCreatedOrdersForFlipkart(List<String> flipkartorderids) throws org.apache.thrift.TException;
1069
    public Map<Long,Long> getCreatedOrdersForFlipkart(List<String> flipkartorderids) throws org.apache.thrift.TException;
1070
 
1070
 
1071
    public boolean isPrivateDealTransaction(long transactionId) throws org.apache.thrift.TException;
1071
    public boolean isPrivateDealTransaction(long transactionId) throws org.apache.thrift.TException;
1072
 
1072
 
-
 
1073
    public boolean changeEasyshipMfnOrderTxnStatus(long transactionId, TransactionStatus status, String description, long pickUp, OrderType orderType, OrderSource source, long shipTimestamp, long deliveryTimeStamp) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1074
 
-
 
1075
    public void updateAmazonFbaOrdersReturns(List<AmazonFbaOrderReturns> fbaOrderReturns) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1076
 
-
 
1077
    public List<AmazonFbaOrderReturns> getAllAmazonFbaOrderReturnsByCurrentTime(long insertionTimestamp) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1078
 
-
 
1079
    public Map<Long,Map<String,Long>> getTotalSaleReturnsFbaSkusCurentTime(long insertionTimestamp) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1080
 
1073
  }
1081
  }
1074
 
1082
 
1075
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1083
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1076
 
1084
 
1077
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
1085
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1522... Line 1530...
1522
 
1530
 
1523
    public void getCreatedOrdersForFlipkart(List<String> flipkartorderids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCreatedOrdersForFlipkart_call> resultHandler) throws org.apache.thrift.TException;
1531
    public void getCreatedOrdersForFlipkart(List<String> flipkartorderids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCreatedOrdersForFlipkart_call> resultHandler) throws org.apache.thrift.TException;
1524
 
1532
 
1525
    public void isPrivateDealTransaction(long transactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isPrivateDealTransaction_call> resultHandler) throws org.apache.thrift.TException;
1533
    public void isPrivateDealTransaction(long transactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isPrivateDealTransaction_call> resultHandler) throws org.apache.thrift.TException;
1526
 
1534
 
-
 
1535
    public void changeEasyshipMfnOrderTxnStatus(long transactionId, TransactionStatus status, String description, long pickUp, OrderType orderType, OrderSource source, long shipTimestamp, long deliveryTimeStamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.changeEasyshipMfnOrderTxnStatus_call> resultHandler) throws org.apache.thrift.TException;
-
 
1536
 
-
 
1537
    public void updateAmazonFbaOrdersReturns(List<AmazonFbaOrderReturns> fbaOrderReturns, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAmazonFbaOrdersReturns_call> resultHandler) throws org.apache.thrift.TException;
-
 
1538
 
-
 
1539
    public void getAllAmazonFbaOrderReturnsByCurrentTime(long insertionTimestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllAmazonFbaOrderReturnsByCurrentTime_call> resultHandler) throws org.apache.thrift.TException;
-
 
1540
 
-
 
1541
    public void getTotalSaleReturnsFbaSkusCurentTime(long insertionTimestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTotalSaleReturnsFbaSkusCurentTime_call> resultHandler) throws org.apache.thrift.TException;
-
 
1542
 
1527
  }
1543
  }
1528
 
1544
 
1529
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1545
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1530
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1546
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1531
      public Factory() {}
1547
      public Factory() {}
Line 7081... Line 7097...
7081
        return result.success;
7097
        return result.success;
7082
      }
7098
      }
7083
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "isPrivateDealTransaction failed: unknown result");
7099
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "isPrivateDealTransaction failed: unknown result");
7084
    }
7100
    }
7085
 
7101
 
-
 
7102
    public boolean changeEasyshipMfnOrderTxnStatus(long transactionId, TransactionStatus status, String description, long pickUp, OrderType orderType, OrderSource source, long shipTimestamp, long deliveryTimeStamp) throws TransactionServiceException, org.apache.thrift.TException
-
 
7103
    {
-
 
7104
      send_changeEasyshipMfnOrderTxnStatus(transactionId, status, description, pickUp, orderType, source, shipTimestamp, deliveryTimeStamp);
-
 
7105
      return recv_changeEasyshipMfnOrderTxnStatus();
-
 
7106
    }
-
 
7107
 
-
 
7108
    public void send_changeEasyshipMfnOrderTxnStatus(long transactionId, TransactionStatus status, String description, long pickUp, OrderType orderType, OrderSource source, long shipTimestamp, long deliveryTimeStamp) throws org.apache.thrift.TException
-
 
7109
    {
-
 
7110
      changeEasyshipMfnOrderTxnStatus_args args = new changeEasyshipMfnOrderTxnStatus_args();
-
 
7111
      args.setTransactionId(transactionId);
-
 
7112
      args.setStatus(status);
-
 
7113
      args.setDescription(description);
-
 
7114
      args.setPickUp(pickUp);
-
 
7115
      args.setOrderType(orderType);
-
 
7116
      args.setSource(source);
-
 
7117
      args.setShipTimestamp(shipTimestamp);
-
 
7118
      args.setDeliveryTimeStamp(deliveryTimeStamp);
-
 
7119
      sendBase("changeEasyshipMfnOrderTxnStatus", args);
-
 
7120
    }
-
 
7121
 
-
 
7122
    public boolean recv_changeEasyshipMfnOrderTxnStatus() throws TransactionServiceException, org.apache.thrift.TException
-
 
7123
    {
-
 
7124
      changeEasyshipMfnOrderTxnStatus_result result = new changeEasyshipMfnOrderTxnStatus_result();
-
 
7125
      receiveBase(result, "changeEasyshipMfnOrderTxnStatus");
-
 
7126
      if (result.isSetSuccess()) {
-
 
7127
        return result.success;
-
 
7128
      }
-
 
7129
      if (result.ex != null) {
-
 
7130
        throw result.ex;
-
 
7131
      }
-
 
7132
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "changeEasyshipMfnOrderTxnStatus failed: unknown result");
-
 
7133
    }
-
 
7134
 
-
 
7135
    public void updateAmazonFbaOrdersReturns(List<AmazonFbaOrderReturns> fbaOrderReturns) throws TransactionServiceException, org.apache.thrift.TException
-
 
7136
    {
-
 
7137
      send_updateAmazonFbaOrdersReturns(fbaOrderReturns);
-
 
7138
      recv_updateAmazonFbaOrdersReturns();
-
 
7139
    }
-
 
7140
 
-
 
7141
    public void send_updateAmazonFbaOrdersReturns(List<AmazonFbaOrderReturns> fbaOrderReturns) throws org.apache.thrift.TException
-
 
7142
    {
-
 
7143
      updateAmazonFbaOrdersReturns_args args = new updateAmazonFbaOrdersReturns_args();
-
 
7144
      args.setFbaOrderReturns(fbaOrderReturns);
-
 
7145
      sendBase("updateAmazonFbaOrdersReturns", args);
-
 
7146
    }
-
 
7147
 
-
 
7148
    public void recv_updateAmazonFbaOrdersReturns() throws TransactionServiceException, org.apache.thrift.TException
-
 
7149
    {
-
 
7150
      updateAmazonFbaOrdersReturns_result result = new updateAmazonFbaOrdersReturns_result();
-
 
7151
      receiveBase(result, "updateAmazonFbaOrdersReturns");
-
 
7152
      if (result.ex != null) {
-
 
7153
        throw result.ex;
-
 
7154
      }
-
 
7155
      return;
-
 
7156
    }
-
 
7157
 
-
 
7158
    public List<AmazonFbaOrderReturns> getAllAmazonFbaOrderReturnsByCurrentTime(long insertionTimestamp) throws TransactionServiceException, org.apache.thrift.TException
-
 
7159
    {
-
 
7160
      send_getAllAmazonFbaOrderReturnsByCurrentTime(insertionTimestamp);
-
 
7161
      return recv_getAllAmazonFbaOrderReturnsByCurrentTime();
-
 
7162
    }
-
 
7163
 
-
 
7164
    public void send_getAllAmazonFbaOrderReturnsByCurrentTime(long insertionTimestamp) throws org.apache.thrift.TException
-
 
7165
    {
-
 
7166
      getAllAmazonFbaOrderReturnsByCurrentTime_args args = new getAllAmazonFbaOrderReturnsByCurrentTime_args();
-
 
7167
      args.setInsertionTimestamp(insertionTimestamp);
-
 
7168
      sendBase("getAllAmazonFbaOrderReturnsByCurrentTime", args);
-
 
7169
    }
-
 
7170
 
-
 
7171
    public List<AmazonFbaOrderReturns> recv_getAllAmazonFbaOrderReturnsByCurrentTime() throws TransactionServiceException, org.apache.thrift.TException
-
 
7172
    {
-
 
7173
      getAllAmazonFbaOrderReturnsByCurrentTime_result result = new getAllAmazonFbaOrderReturnsByCurrentTime_result();
-
 
7174
      receiveBase(result, "getAllAmazonFbaOrderReturnsByCurrentTime");
-
 
7175
      if (result.isSetSuccess()) {
-
 
7176
        return result.success;
-
 
7177
      }
-
 
7178
      if (result.ex != null) {
-
 
7179
        throw result.ex;
-
 
7180
      }
-
 
7181
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllAmazonFbaOrderReturnsByCurrentTime failed: unknown result");
-
 
7182
    }
-
 
7183
 
-
 
7184
    public Map<Long,Map<String,Long>> getTotalSaleReturnsFbaSkusCurentTime(long insertionTimestamp) throws TransactionServiceException, org.apache.thrift.TException
-
 
7185
    {
-
 
7186
      send_getTotalSaleReturnsFbaSkusCurentTime(insertionTimestamp);
-
 
7187
      return recv_getTotalSaleReturnsFbaSkusCurentTime();
-
 
7188
    }
-
 
7189
 
-
 
7190
    public void send_getTotalSaleReturnsFbaSkusCurentTime(long insertionTimestamp) throws org.apache.thrift.TException
-
 
7191
    {
-
 
7192
      getTotalSaleReturnsFbaSkusCurentTime_args args = new getTotalSaleReturnsFbaSkusCurentTime_args();
-
 
7193
      args.setInsertionTimestamp(insertionTimestamp);
-
 
7194
      sendBase("getTotalSaleReturnsFbaSkusCurentTime", args);
-
 
7195
    }
-
 
7196
 
-
 
7197
    public Map<Long,Map<String,Long>> recv_getTotalSaleReturnsFbaSkusCurentTime() throws TransactionServiceException, org.apache.thrift.TException
-
 
7198
    {
-
 
7199
      getTotalSaleReturnsFbaSkusCurentTime_result result = new getTotalSaleReturnsFbaSkusCurentTime_result();
-
 
7200
      receiveBase(result, "getTotalSaleReturnsFbaSkusCurentTime");
-
 
7201
      if (result.isSetSuccess()) {
-
 
7202
        return result.success;
-
 
7203
      }
-
 
7204
      if (result.ex != null) {
-
 
7205
        throw result.ex;
-
 
7206
      }
-
 
7207
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTotalSaleReturnsFbaSkusCurentTime failed: unknown result");
-
 
7208
    }
-
 
7209
 
7086
  }
7210
  }
7087
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
7211
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
7088
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
7212
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
7089
      private org.apache.thrift.async.TAsyncClientManager clientManager;
7213
      private org.apache.thrift.async.TAsyncClientManager clientManager;
7090
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
7214
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 14908... Line 15032...
14908
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
15032
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
14909
        return (new Client(prot)).recv_isPrivateDealTransaction();
15033
        return (new Client(prot)).recv_isPrivateDealTransaction();
14910
      }
15034
      }
14911
    }
15035
    }
14912
 
15036
 
-
 
15037
    public void changeEasyshipMfnOrderTxnStatus(long transactionId, TransactionStatus status, String description, long pickUp, OrderType orderType, OrderSource source, long shipTimestamp, long deliveryTimeStamp, org.apache.thrift.async.AsyncMethodCallback<changeEasyshipMfnOrderTxnStatus_call> resultHandler) throws org.apache.thrift.TException {
-
 
15038
      checkReady();
-
 
15039
      changeEasyshipMfnOrderTxnStatus_call method_call = new changeEasyshipMfnOrderTxnStatus_call(transactionId, status, description, pickUp, orderType, source, shipTimestamp, deliveryTimeStamp, resultHandler, this, ___protocolFactory, ___transport);
-
 
15040
      this.___currentMethod = method_call;
-
 
15041
      ___manager.call(method_call);
-
 
15042
    }
-
 
15043
 
-
 
15044
    public static class changeEasyshipMfnOrderTxnStatus_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
15045
      private long transactionId;
-
 
15046
      private TransactionStatus status;
-
 
15047
      private String description;
-
 
15048
      private long pickUp;
-
 
15049
      private OrderType orderType;
-
 
15050
      private OrderSource source;
-
 
15051
      private long shipTimestamp;
-
 
15052
      private long deliveryTimeStamp;
-
 
15053
      public changeEasyshipMfnOrderTxnStatus_call(long transactionId, TransactionStatus status, String description, long pickUp, OrderType orderType, OrderSource source, long shipTimestamp, long deliveryTimeStamp, org.apache.thrift.async.AsyncMethodCallback<changeEasyshipMfnOrderTxnStatus_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 {
-
 
15054
        super(client, protocolFactory, transport, resultHandler, false);
-
 
15055
        this.transactionId = transactionId;
-
 
15056
        this.status = status;
-
 
15057
        this.description = description;
-
 
15058
        this.pickUp = pickUp;
-
 
15059
        this.orderType = orderType;
-
 
15060
        this.source = source;
-
 
15061
        this.shipTimestamp = shipTimestamp;
-
 
15062
        this.deliveryTimeStamp = deliveryTimeStamp;
-
 
15063
      }
-
 
15064
 
-
 
15065
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
15066
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("changeEasyshipMfnOrderTxnStatus", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
15067
        changeEasyshipMfnOrderTxnStatus_args args = new changeEasyshipMfnOrderTxnStatus_args();
-
 
15068
        args.setTransactionId(transactionId);
-
 
15069
        args.setStatus(status);
-
 
15070
        args.setDescription(description);
-
 
15071
        args.setPickUp(pickUp);
-
 
15072
        args.setOrderType(orderType);
-
 
15073
        args.setSource(source);
-
 
15074
        args.setShipTimestamp(shipTimestamp);
-
 
15075
        args.setDeliveryTimeStamp(deliveryTimeStamp);
-
 
15076
        args.write(prot);
-
 
15077
        prot.writeMessageEnd();
-
 
15078
      }
-
 
15079
 
-
 
15080
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
15081
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
15082
          throw new IllegalStateException("Method call not finished!");
-
 
15083
        }
-
 
15084
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
15085
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
15086
        return (new Client(prot)).recv_changeEasyshipMfnOrderTxnStatus();
-
 
15087
      }
-
 
15088
    }
-
 
15089
 
-
 
15090
    public void updateAmazonFbaOrdersReturns(List<AmazonFbaOrderReturns> fbaOrderReturns, org.apache.thrift.async.AsyncMethodCallback<updateAmazonFbaOrdersReturns_call> resultHandler) throws org.apache.thrift.TException {
-
 
15091
      checkReady();
-
 
15092
      updateAmazonFbaOrdersReturns_call method_call = new updateAmazonFbaOrdersReturns_call(fbaOrderReturns, resultHandler, this, ___protocolFactory, ___transport);
-
 
15093
      this.___currentMethod = method_call;
-
 
15094
      ___manager.call(method_call);
-
 
15095
    }
-
 
15096
 
-
 
15097
    public static class updateAmazonFbaOrdersReturns_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
15098
      private List<AmazonFbaOrderReturns> fbaOrderReturns;
-
 
15099
      public updateAmazonFbaOrdersReturns_call(List<AmazonFbaOrderReturns> fbaOrderReturns, org.apache.thrift.async.AsyncMethodCallback<updateAmazonFbaOrdersReturns_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 {
-
 
15100
        super(client, protocolFactory, transport, resultHandler, false);
-
 
15101
        this.fbaOrderReturns = fbaOrderReturns;
-
 
15102
      }
-
 
15103
 
-
 
15104
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
15105
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateAmazonFbaOrdersReturns", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
15106
        updateAmazonFbaOrdersReturns_args args = new updateAmazonFbaOrdersReturns_args();
-
 
15107
        args.setFbaOrderReturns(fbaOrderReturns);
-
 
15108
        args.write(prot);
-
 
15109
        prot.writeMessageEnd();
-
 
15110
      }
-
 
15111
 
-
 
15112
      public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
15113
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
15114
          throw new IllegalStateException("Method call not finished!");
-
 
15115
        }
-
 
15116
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
15117
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
15118
        (new Client(prot)).recv_updateAmazonFbaOrdersReturns();
-
 
15119
      }
-
 
15120
    }
-
 
15121
 
-
 
15122
    public void getAllAmazonFbaOrderReturnsByCurrentTime(long insertionTimestamp, org.apache.thrift.async.AsyncMethodCallback<getAllAmazonFbaOrderReturnsByCurrentTime_call> resultHandler) throws org.apache.thrift.TException {
-
 
15123
      checkReady();
-
 
15124
      getAllAmazonFbaOrderReturnsByCurrentTime_call method_call = new getAllAmazonFbaOrderReturnsByCurrentTime_call(insertionTimestamp, resultHandler, this, ___protocolFactory, ___transport);
-
 
15125
      this.___currentMethod = method_call;
-
 
15126
      ___manager.call(method_call);
-
 
15127
    }
-
 
15128
 
-
 
15129
    public static class getAllAmazonFbaOrderReturnsByCurrentTime_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
15130
      private long insertionTimestamp;
-
 
15131
      public getAllAmazonFbaOrderReturnsByCurrentTime_call(long insertionTimestamp, org.apache.thrift.async.AsyncMethodCallback<getAllAmazonFbaOrderReturnsByCurrentTime_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 {
-
 
15132
        super(client, protocolFactory, transport, resultHandler, false);
-
 
15133
        this.insertionTimestamp = insertionTimestamp;
-
 
15134
      }
-
 
15135
 
-
 
15136
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
15137
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllAmazonFbaOrderReturnsByCurrentTime", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
15138
        getAllAmazonFbaOrderReturnsByCurrentTime_args args = new getAllAmazonFbaOrderReturnsByCurrentTime_args();
-
 
15139
        args.setInsertionTimestamp(insertionTimestamp);
-
 
15140
        args.write(prot);
-
 
15141
        prot.writeMessageEnd();
-
 
15142
      }
-
 
15143
 
-
 
15144
      public List<AmazonFbaOrderReturns> getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
15145
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
15146
          throw new IllegalStateException("Method call not finished!");
-
 
15147
        }
-
 
15148
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
15149
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
15150
        return (new Client(prot)).recv_getAllAmazonFbaOrderReturnsByCurrentTime();
-
 
15151
      }
-
 
15152
    }
-
 
15153
 
-
 
15154
    public void getTotalSaleReturnsFbaSkusCurentTime(long insertionTimestamp, org.apache.thrift.async.AsyncMethodCallback<getTotalSaleReturnsFbaSkusCurentTime_call> resultHandler) throws org.apache.thrift.TException {
-
 
15155
      checkReady();
-
 
15156
      getTotalSaleReturnsFbaSkusCurentTime_call method_call = new getTotalSaleReturnsFbaSkusCurentTime_call(insertionTimestamp, resultHandler, this, ___protocolFactory, ___transport);
-
 
15157
      this.___currentMethod = method_call;
-
 
15158
      ___manager.call(method_call);
-
 
15159
    }
-
 
15160
 
-
 
15161
    public static class getTotalSaleReturnsFbaSkusCurentTime_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
15162
      private long insertionTimestamp;
-
 
15163
      public getTotalSaleReturnsFbaSkusCurentTime_call(long insertionTimestamp, org.apache.thrift.async.AsyncMethodCallback<getTotalSaleReturnsFbaSkusCurentTime_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 {
-
 
15164
        super(client, protocolFactory, transport, resultHandler, false);
-
 
15165
        this.insertionTimestamp = insertionTimestamp;
-
 
15166
      }
-
 
15167
 
-
 
15168
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
15169
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTotalSaleReturnsFbaSkusCurentTime", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
15170
        getTotalSaleReturnsFbaSkusCurentTime_args args = new getTotalSaleReturnsFbaSkusCurentTime_args();
-
 
15171
        args.setInsertionTimestamp(insertionTimestamp);
-
 
15172
        args.write(prot);
-
 
15173
        prot.writeMessageEnd();
-
 
15174
      }
-
 
15175
 
-
 
15176
      public Map<Long,Map<String,Long>> getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
15177
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
15178
          throw new IllegalStateException("Method call not finished!");
-
 
15179
        }
-
 
15180
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
15181
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
15182
        return (new Client(prot)).recv_getTotalSaleReturnsFbaSkusCurentTime();
-
 
15183
      }
-
 
15184
    }
-
 
15185
 
14913
  }
15186
  }
14914
 
15187
 
14915
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
15188
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
14916
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
15189
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
14917
    public Processor(I iface) {
15190
    public Processor(I iface) {
Line 15146... Line 15419...
15146
      processMap.put("updateSnapdealOrdersStatus", new updateSnapdealOrdersStatus());
15419
      processMap.put("updateSnapdealOrdersStatus", new updateSnapdealOrdersStatus());
15147
      processMap.put("updateFlipkartOrdersStatus", new updateFlipkartOrdersStatus());
15420
      processMap.put("updateFlipkartOrdersStatus", new updateFlipkartOrdersStatus());
15148
      processMap.put("bulkAddOrUpdateAmazonFbaSalesSnapshot", new bulkAddOrUpdateAmazonFbaSalesSnapshot());
15421
      processMap.put("bulkAddOrUpdateAmazonFbaSalesSnapshot", new bulkAddOrUpdateAmazonFbaSalesSnapshot());
15149
      processMap.put("getCreatedOrdersForFlipkart", new getCreatedOrdersForFlipkart());
15422
      processMap.put("getCreatedOrdersForFlipkart", new getCreatedOrdersForFlipkart());
15150
      processMap.put("isPrivateDealTransaction", new isPrivateDealTransaction());
15423
      processMap.put("isPrivateDealTransaction", new isPrivateDealTransaction());
-
 
15424
      processMap.put("changeEasyshipMfnOrderTxnStatus", new changeEasyshipMfnOrderTxnStatus());
-
 
15425
      processMap.put("updateAmazonFbaOrdersReturns", new updateAmazonFbaOrdersReturns());
-
 
15426
      processMap.put("getAllAmazonFbaOrderReturnsByCurrentTime", new getAllAmazonFbaOrderReturnsByCurrentTime());
-
 
15427
      processMap.put("getTotalSaleReturnsFbaSkusCurentTime", new getTotalSaleReturnsFbaSkusCurentTime());
15151
      return processMap;
15428
      return processMap;
15152
    }
15429
    }
15153
 
15430
 
15154
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
15431
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
15155
      public createTransaction() {
15432
      public createTransaction() {
Line 19214... Line 19491...
19214
        result.setSuccessIsSet(true);
19491
        result.setSuccessIsSet(true);
19215
        return result;
19492
        return result;
19216
      }
19493
      }
19217
    }
19494
    }
19218
 
19495
 
-
 
19496
    private static class changeEasyshipMfnOrderTxnStatus<I extends Iface> extends org.apache.thrift.ProcessFunction<I, changeEasyshipMfnOrderTxnStatus_args> {
-
 
19497
      public changeEasyshipMfnOrderTxnStatus() {
-
 
19498
        super("changeEasyshipMfnOrderTxnStatus");
-
 
19499
      }
-
 
19500
 
-
 
19501
      protected changeEasyshipMfnOrderTxnStatus_args getEmptyArgsInstance() {
-
 
19502
        return new changeEasyshipMfnOrderTxnStatus_args();
-
 
19503
      }
-
 
19504
 
-
 
19505
      protected changeEasyshipMfnOrderTxnStatus_result getResult(I iface, changeEasyshipMfnOrderTxnStatus_args args) throws org.apache.thrift.TException {
-
 
19506
        changeEasyshipMfnOrderTxnStatus_result result = new changeEasyshipMfnOrderTxnStatus_result();
-
 
19507
        try {
-
 
19508
          result.success = iface.changeEasyshipMfnOrderTxnStatus(args.transactionId, args.status, args.description, args.pickUp, args.orderType, args.source, args.shipTimestamp, args.deliveryTimeStamp);
-
 
19509
          result.setSuccessIsSet(true);
-
 
19510
        } catch (TransactionServiceException ex) {
-
 
19511
          result.ex = ex;
-
 
19512
        }
-
 
19513
        return result;
-
 
19514
      }
-
 
19515
    }
-
 
19516
 
-
 
19517
    private static class updateAmazonFbaOrdersReturns<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateAmazonFbaOrdersReturns_args> {
-
 
19518
      public updateAmazonFbaOrdersReturns() {
-
 
19519
        super("updateAmazonFbaOrdersReturns");
-
 
19520
      }
-
 
19521
 
-
 
19522
      protected updateAmazonFbaOrdersReturns_args getEmptyArgsInstance() {
-
 
19523
        return new updateAmazonFbaOrdersReturns_args();
-
 
19524
      }
-
 
19525
 
-
 
19526
      protected updateAmazonFbaOrdersReturns_result getResult(I iface, updateAmazonFbaOrdersReturns_args args) throws org.apache.thrift.TException {
-
 
19527
        updateAmazonFbaOrdersReturns_result result = new updateAmazonFbaOrdersReturns_result();
-
 
19528
        try {
-
 
19529
          iface.updateAmazonFbaOrdersReturns(args.fbaOrderReturns);
-
 
19530
        } catch (TransactionServiceException ex) {
-
 
19531
          result.ex = ex;
-
 
19532
        }
-
 
19533
        return result;
-
 
19534
      }
-
 
19535
    }
-
 
19536
 
-
 
19537
    private static class getAllAmazonFbaOrderReturnsByCurrentTime<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllAmazonFbaOrderReturnsByCurrentTime_args> {
-
 
19538
      public getAllAmazonFbaOrderReturnsByCurrentTime() {
-
 
19539
        super("getAllAmazonFbaOrderReturnsByCurrentTime");
-
 
19540
      }
-
 
19541
 
-
 
19542
      protected getAllAmazonFbaOrderReturnsByCurrentTime_args getEmptyArgsInstance() {
-
 
19543
        return new getAllAmazonFbaOrderReturnsByCurrentTime_args();
-
 
19544
      }
-
 
19545
 
-
 
19546
      protected getAllAmazonFbaOrderReturnsByCurrentTime_result getResult(I iface, getAllAmazonFbaOrderReturnsByCurrentTime_args args) throws org.apache.thrift.TException {
-
 
19547
        getAllAmazonFbaOrderReturnsByCurrentTime_result result = new getAllAmazonFbaOrderReturnsByCurrentTime_result();
-
 
19548
        try {
-
 
19549
          result.success = iface.getAllAmazonFbaOrderReturnsByCurrentTime(args.insertionTimestamp);
-
 
19550
        } catch (TransactionServiceException ex) {
-
 
19551
          result.ex = ex;
-
 
19552
        }
-
 
19553
        return result;
-
 
19554
      }
-
 
19555
    }
-
 
19556
 
-
 
19557
    private static class getTotalSaleReturnsFbaSkusCurentTime<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getTotalSaleReturnsFbaSkusCurentTime_args> {
-
 
19558
      public getTotalSaleReturnsFbaSkusCurentTime() {
-
 
19559
        super("getTotalSaleReturnsFbaSkusCurentTime");
-
 
19560
      }
-
 
19561
 
-
 
19562
      protected getTotalSaleReturnsFbaSkusCurentTime_args getEmptyArgsInstance() {
-
 
19563
        return new getTotalSaleReturnsFbaSkusCurentTime_args();
-
 
19564
      }
-
 
19565
 
-
 
19566
      protected getTotalSaleReturnsFbaSkusCurentTime_result getResult(I iface, getTotalSaleReturnsFbaSkusCurentTime_args args) throws org.apache.thrift.TException {
-
 
19567
        getTotalSaleReturnsFbaSkusCurentTime_result result = new getTotalSaleReturnsFbaSkusCurentTime_result();
-
 
19568
        try {
-
 
19569
          result.success = iface.getTotalSaleReturnsFbaSkusCurentTime(args.insertionTimestamp);
-
 
19570
        } catch (TransactionServiceException ex) {
-
 
19571
          result.ex = ex;
-
 
19572
        }
-
 
19573
        return result;
-
 
19574
      }
-
 
19575
    }
-
 
19576
 
19219
  }
19577
  }
19220
 
19578
 
19221
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
19579
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
19222
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
19580
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
19223
 
19581
 
Line 177703... Line 178061...
177703
      first = false;
178061
      first = false;
177704
      sb.append(")");
178062
      sb.append(")");
177705
      return sb.toString();
178063
      return sb.toString();
177706
    }
178064
    }
177707
 
178065
 
-
 
178066
    public void validate() throws org.apache.thrift.TException {
-
 
178067
      // check for required fields
-
 
178068
    }
-
 
178069
 
-
 
178070
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
178071
      try {
-
 
178072
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
178073
      } catch (org.apache.thrift.TException te) {
-
 
178074
        throw new java.io.IOException(te);
-
 
178075
      }
-
 
178076
    }
-
 
178077
 
-
 
178078
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
178079
      try {
-
 
178080
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
178081
      } catch (org.apache.thrift.TException te) {
-
 
178082
        throw new java.io.IOException(te);
-
 
178083
      }
-
 
178084
    }
-
 
178085
 
-
 
178086
  }
-
 
178087
 
-
 
178088
  public static class changeEasyshipMfnOrderTxnStatus_args implements org.apache.thrift.TBase<changeEasyshipMfnOrderTxnStatus_args, changeEasyshipMfnOrderTxnStatus_args._Fields>, java.io.Serializable, Cloneable   {
-
 
178089
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("changeEasyshipMfnOrderTxnStatus_args");
-
 
178090
 
-
 
178091
    private static final org.apache.thrift.protocol.TField TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
178092
    private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.I32, (short)2);
-
 
178093
    private static final org.apache.thrift.protocol.TField DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("description", org.apache.thrift.protocol.TType.STRING, (short)3);
-
 
178094
    private static final org.apache.thrift.protocol.TField PICK_UP_FIELD_DESC = new org.apache.thrift.protocol.TField("pickUp", org.apache.thrift.protocol.TType.I64, (short)4);
-
 
178095
    private static final org.apache.thrift.protocol.TField ORDER_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("orderType", org.apache.thrift.protocol.TType.I32, (short)5);
-
 
178096
    private static final org.apache.thrift.protocol.TField SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("source", org.apache.thrift.protocol.TType.I32, (short)6);
-
 
178097
    private static final org.apache.thrift.protocol.TField SHIP_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("shipTimestamp", org.apache.thrift.protocol.TType.I64, (short)7);
-
 
178098
    private static final org.apache.thrift.protocol.TField DELIVERY_TIME_STAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("deliveryTimeStamp", org.apache.thrift.protocol.TType.I64, (short)8);
-
 
178099
 
-
 
178100
    private long transactionId; // required
-
 
178101
    private TransactionStatus status; // required
-
 
178102
    private String description; // required
-
 
178103
    private long pickUp; // required
-
 
178104
    private OrderType orderType; // required
-
 
178105
    private OrderSource source; // required
-
 
178106
    private long shipTimestamp; // required
-
 
178107
    private long deliveryTimeStamp; // required
-
 
178108
 
-
 
178109
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
178110
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
178111
      TRANSACTION_ID((short)1, "transactionId"),
-
 
178112
      /**
-
 
178113
       * 
-
 
178114
       * @see TransactionStatus
-
 
178115
       */
-
 
178116
      STATUS((short)2, "status"),
-
 
178117
      DESCRIPTION((short)3, "description"),
-
 
178118
      PICK_UP((short)4, "pickUp"),
-
 
178119
      /**
-
 
178120
       * 
-
 
178121
       * @see OrderType
-
 
178122
       */
-
 
178123
      ORDER_TYPE((short)5, "orderType"),
-
 
178124
      /**
-
 
178125
       * 
-
 
178126
       * @see OrderSource
-
 
178127
       */
-
 
178128
      SOURCE((short)6, "source"),
-
 
178129
      SHIP_TIMESTAMP((short)7, "shipTimestamp"),
-
 
178130
      DELIVERY_TIME_STAMP((short)8, "deliveryTimeStamp");
-
 
178131
 
-
 
178132
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
178133
 
-
 
178134
      static {
-
 
178135
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
178136
          byName.put(field.getFieldName(), field);
-
 
178137
        }
-
 
178138
      }
-
 
178139
 
-
 
178140
      /**
-
 
178141
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
178142
       */
-
 
178143
      public static _Fields findByThriftId(int fieldId) {
-
 
178144
        switch(fieldId) {
-
 
178145
          case 1: // TRANSACTION_ID
-
 
178146
            return TRANSACTION_ID;
-
 
178147
          case 2: // STATUS
-
 
178148
            return STATUS;
-
 
178149
          case 3: // DESCRIPTION
-
 
178150
            return DESCRIPTION;
-
 
178151
          case 4: // PICK_UP
-
 
178152
            return PICK_UP;
-
 
178153
          case 5: // ORDER_TYPE
-
 
178154
            return ORDER_TYPE;
-
 
178155
          case 6: // SOURCE
-
 
178156
            return SOURCE;
-
 
178157
          case 7: // SHIP_TIMESTAMP
-
 
178158
            return SHIP_TIMESTAMP;
-
 
178159
          case 8: // DELIVERY_TIME_STAMP
-
 
178160
            return DELIVERY_TIME_STAMP;
-
 
178161
          default:
-
 
178162
            return null;
-
 
178163
        }
-
 
178164
      }
-
 
178165
 
-
 
178166
      /**
-
 
178167
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
178168
       * if it is not found.
-
 
178169
       */
-
 
178170
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
178171
        _Fields fields = findByThriftId(fieldId);
-
 
178172
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
178173
        return fields;
-
 
178174
      }
-
 
178175
 
-
 
178176
      /**
-
 
178177
       * Find the _Fields constant that matches name, or null if its not found.
-
 
178178
       */
-
 
178179
      public static _Fields findByName(String name) {
-
 
178180
        return byName.get(name);
-
 
178181
      }
-
 
178182
 
-
 
178183
      private final short _thriftId;
-
 
178184
      private final String _fieldName;
-
 
178185
 
-
 
178186
      _Fields(short thriftId, String fieldName) {
-
 
178187
        _thriftId = thriftId;
-
 
178188
        _fieldName = fieldName;
-
 
178189
      }
-
 
178190
 
-
 
178191
      public short getThriftFieldId() {
-
 
178192
        return _thriftId;
-
 
178193
      }
-
 
178194
 
-
 
178195
      public String getFieldName() {
-
 
178196
        return _fieldName;
-
 
178197
      }
-
 
178198
    }
-
 
178199
 
-
 
178200
    // isset id assignments
-
 
178201
    private static final int __TRANSACTIONID_ISSET_ID = 0;
-
 
178202
    private static final int __PICKUP_ISSET_ID = 1;
-
 
178203
    private static final int __SHIPTIMESTAMP_ISSET_ID = 2;
-
 
178204
    private static final int __DELIVERYTIMESTAMP_ISSET_ID = 3;
-
 
178205
    private BitSet __isset_bit_vector = new BitSet(4);
-
 
178206
 
-
 
178207
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
178208
    static {
-
 
178209
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
178210
      tmpMap.put(_Fields.TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("transactionId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
178211
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
178212
      tmpMap.put(_Fields.STATUS, new org.apache.thrift.meta_data.FieldMetaData("status", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
178213
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TransactionStatus.class)));
-
 
178214
      tmpMap.put(_Fields.DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("description", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
178215
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
178216
      tmpMap.put(_Fields.PICK_UP, new org.apache.thrift.meta_data.FieldMetaData("pickUp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
178217
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
178218
      tmpMap.put(_Fields.ORDER_TYPE, new org.apache.thrift.meta_data.FieldMetaData("orderType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
178219
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, OrderType.class)));
-
 
178220
      tmpMap.put(_Fields.SOURCE, new org.apache.thrift.meta_data.FieldMetaData("source", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
178221
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, OrderSource.class)));
-
 
178222
      tmpMap.put(_Fields.SHIP_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("shipTimestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
178223
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
178224
      tmpMap.put(_Fields.DELIVERY_TIME_STAMP, new org.apache.thrift.meta_data.FieldMetaData("deliveryTimeStamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
178225
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
178226
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
178227
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(changeEasyshipMfnOrderTxnStatus_args.class, metaDataMap);
-
 
178228
    }
-
 
178229
 
-
 
178230
    public changeEasyshipMfnOrderTxnStatus_args() {
-
 
178231
    }
-
 
178232
 
-
 
178233
    public changeEasyshipMfnOrderTxnStatus_args(
-
 
178234
      long transactionId,
-
 
178235
      TransactionStatus status,
-
 
178236
      String description,
-
 
178237
      long pickUp,
-
 
178238
      OrderType orderType,
-
 
178239
      OrderSource source,
-
 
178240
      long shipTimestamp,
-
 
178241
      long deliveryTimeStamp)
-
 
178242
    {
-
 
178243
      this();
-
 
178244
      this.transactionId = transactionId;
-
 
178245
      setTransactionIdIsSet(true);
-
 
178246
      this.status = status;
-
 
178247
      this.description = description;
-
 
178248
      this.pickUp = pickUp;
-
 
178249
      setPickUpIsSet(true);
-
 
178250
      this.orderType = orderType;
-
 
178251
      this.source = source;
-
 
178252
      this.shipTimestamp = shipTimestamp;
-
 
178253
      setShipTimestampIsSet(true);
-
 
178254
      this.deliveryTimeStamp = deliveryTimeStamp;
-
 
178255
      setDeliveryTimeStampIsSet(true);
-
 
178256
    }
-
 
178257
 
-
 
178258
    /**
-
 
178259
     * Performs a deep copy on <i>other</i>.
-
 
178260
     */
-
 
178261
    public changeEasyshipMfnOrderTxnStatus_args(changeEasyshipMfnOrderTxnStatus_args other) {
-
 
178262
      __isset_bit_vector.clear();
-
 
178263
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
178264
      this.transactionId = other.transactionId;
-
 
178265
      if (other.isSetStatus()) {
-
 
178266
        this.status = other.status;
-
 
178267
      }
-
 
178268
      if (other.isSetDescription()) {
-
 
178269
        this.description = other.description;
-
 
178270
      }
-
 
178271
      this.pickUp = other.pickUp;
-
 
178272
      if (other.isSetOrderType()) {
-
 
178273
        this.orderType = other.orderType;
-
 
178274
      }
-
 
178275
      if (other.isSetSource()) {
-
 
178276
        this.source = other.source;
-
 
178277
      }
-
 
178278
      this.shipTimestamp = other.shipTimestamp;
-
 
178279
      this.deliveryTimeStamp = other.deliveryTimeStamp;
-
 
178280
    }
-
 
178281
 
-
 
178282
    public changeEasyshipMfnOrderTxnStatus_args deepCopy() {
-
 
178283
      return new changeEasyshipMfnOrderTxnStatus_args(this);
-
 
178284
    }
-
 
178285
 
-
 
178286
    @Override
-
 
178287
    public void clear() {
-
 
178288
      setTransactionIdIsSet(false);
-
 
178289
      this.transactionId = 0;
-
 
178290
      this.status = null;
-
 
178291
      this.description = null;
-
 
178292
      setPickUpIsSet(false);
-
 
178293
      this.pickUp = 0;
-
 
178294
      this.orderType = null;
-
 
178295
      this.source = null;
-
 
178296
      setShipTimestampIsSet(false);
-
 
178297
      this.shipTimestamp = 0;
-
 
178298
      setDeliveryTimeStampIsSet(false);
-
 
178299
      this.deliveryTimeStamp = 0;
-
 
178300
    }
-
 
178301
 
-
 
178302
    public long getTransactionId() {
-
 
178303
      return this.transactionId;
-
 
178304
    }
-
 
178305
 
-
 
178306
    public void setTransactionId(long transactionId) {
-
 
178307
      this.transactionId = transactionId;
-
 
178308
      setTransactionIdIsSet(true);
-
 
178309
    }
-
 
178310
 
-
 
178311
    public void unsetTransactionId() {
-
 
178312
      __isset_bit_vector.clear(__TRANSACTIONID_ISSET_ID);
-
 
178313
    }
-
 
178314
 
-
 
178315
    /** Returns true if field transactionId is set (has been assigned a value) and false otherwise */
-
 
178316
    public boolean isSetTransactionId() {
-
 
178317
      return __isset_bit_vector.get(__TRANSACTIONID_ISSET_ID);
-
 
178318
    }
-
 
178319
 
-
 
178320
    public void setTransactionIdIsSet(boolean value) {
-
 
178321
      __isset_bit_vector.set(__TRANSACTIONID_ISSET_ID, value);
-
 
178322
    }
-
 
178323
 
-
 
178324
    /**
-
 
178325
     * 
-
 
178326
     * @see TransactionStatus
-
 
178327
     */
-
 
178328
    public TransactionStatus getStatus() {
-
 
178329
      return this.status;
-
 
178330
    }
-
 
178331
 
-
 
178332
    /**
-
 
178333
     * 
-
 
178334
     * @see TransactionStatus
-
 
178335
     */
-
 
178336
    public void setStatus(TransactionStatus status) {
-
 
178337
      this.status = status;
-
 
178338
    }
-
 
178339
 
-
 
178340
    public void unsetStatus() {
-
 
178341
      this.status = null;
-
 
178342
    }
-
 
178343
 
-
 
178344
    /** Returns true if field status is set (has been assigned a value) and false otherwise */
-
 
178345
    public boolean isSetStatus() {
-
 
178346
      return this.status != null;
-
 
178347
    }
-
 
178348
 
-
 
178349
    public void setStatusIsSet(boolean value) {
-
 
178350
      if (!value) {
-
 
178351
        this.status = null;
-
 
178352
      }
-
 
178353
    }
-
 
178354
 
-
 
178355
    public String getDescription() {
-
 
178356
      return this.description;
-
 
178357
    }
-
 
178358
 
-
 
178359
    public void setDescription(String description) {
-
 
178360
      this.description = description;
-
 
178361
    }
-
 
178362
 
-
 
178363
    public void unsetDescription() {
-
 
178364
      this.description = null;
-
 
178365
    }
-
 
178366
 
-
 
178367
    /** Returns true if field description is set (has been assigned a value) and false otherwise */
-
 
178368
    public boolean isSetDescription() {
-
 
178369
      return this.description != null;
-
 
178370
    }
-
 
178371
 
-
 
178372
    public void setDescriptionIsSet(boolean value) {
-
 
178373
      if (!value) {
-
 
178374
        this.description = null;
-
 
178375
      }
-
 
178376
    }
-
 
178377
 
-
 
178378
    public long getPickUp() {
-
 
178379
      return this.pickUp;
-
 
178380
    }
-
 
178381
 
-
 
178382
    public void setPickUp(long pickUp) {
-
 
178383
      this.pickUp = pickUp;
-
 
178384
      setPickUpIsSet(true);
-
 
178385
    }
-
 
178386
 
-
 
178387
    public void unsetPickUp() {
-
 
178388
      __isset_bit_vector.clear(__PICKUP_ISSET_ID);
-
 
178389
    }
-
 
178390
 
-
 
178391
    /** Returns true if field pickUp is set (has been assigned a value) and false otherwise */
-
 
178392
    public boolean isSetPickUp() {
-
 
178393
      return __isset_bit_vector.get(__PICKUP_ISSET_ID);
-
 
178394
    }
-
 
178395
 
-
 
178396
    public void setPickUpIsSet(boolean value) {
-
 
178397
      __isset_bit_vector.set(__PICKUP_ISSET_ID, value);
-
 
178398
    }
-
 
178399
 
-
 
178400
    /**
-
 
178401
     * 
-
 
178402
     * @see OrderType
-
 
178403
     */
-
 
178404
    public OrderType getOrderType() {
-
 
178405
      return this.orderType;
-
 
178406
    }
-
 
178407
 
-
 
178408
    /**
-
 
178409
     * 
-
 
178410
     * @see OrderType
-
 
178411
     */
-
 
178412
    public void setOrderType(OrderType orderType) {
-
 
178413
      this.orderType = orderType;
-
 
178414
    }
-
 
178415
 
-
 
178416
    public void unsetOrderType() {
-
 
178417
      this.orderType = null;
-
 
178418
    }
-
 
178419
 
-
 
178420
    /** Returns true if field orderType is set (has been assigned a value) and false otherwise */
-
 
178421
    public boolean isSetOrderType() {
-
 
178422
      return this.orderType != null;
-
 
178423
    }
-
 
178424
 
-
 
178425
    public void setOrderTypeIsSet(boolean value) {
-
 
178426
      if (!value) {
-
 
178427
        this.orderType = null;
-
 
178428
      }
-
 
178429
    }
-
 
178430
 
-
 
178431
    /**
-
 
178432
     * 
-
 
178433
     * @see OrderSource
-
 
178434
     */
-
 
178435
    public OrderSource getSource() {
-
 
178436
      return this.source;
-
 
178437
    }
-
 
178438
 
-
 
178439
    /**
-
 
178440
     * 
-
 
178441
     * @see OrderSource
-
 
178442
     */
-
 
178443
    public void setSource(OrderSource source) {
-
 
178444
      this.source = source;
-
 
178445
    }
-
 
178446
 
-
 
178447
    public void unsetSource() {
-
 
178448
      this.source = null;
-
 
178449
    }
-
 
178450
 
-
 
178451
    /** Returns true if field source is set (has been assigned a value) and false otherwise */
-
 
178452
    public boolean isSetSource() {
-
 
178453
      return this.source != null;
-
 
178454
    }
-
 
178455
 
-
 
178456
    public void setSourceIsSet(boolean value) {
-
 
178457
      if (!value) {
-
 
178458
        this.source = null;
-
 
178459
      }
-
 
178460
    }
-
 
178461
 
-
 
178462
    public long getShipTimestamp() {
-
 
178463
      return this.shipTimestamp;
-
 
178464
    }
-
 
178465
 
-
 
178466
    public void setShipTimestamp(long shipTimestamp) {
-
 
178467
      this.shipTimestamp = shipTimestamp;
-
 
178468
      setShipTimestampIsSet(true);
-
 
178469
    }
-
 
178470
 
-
 
178471
    public void unsetShipTimestamp() {
-
 
178472
      __isset_bit_vector.clear(__SHIPTIMESTAMP_ISSET_ID);
-
 
178473
    }
-
 
178474
 
-
 
178475
    /** Returns true if field shipTimestamp is set (has been assigned a value) and false otherwise */
-
 
178476
    public boolean isSetShipTimestamp() {
-
 
178477
      return __isset_bit_vector.get(__SHIPTIMESTAMP_ISSET_ID);
-
 
178478
    }
-
 
178479
 
-
 
178480
    public void setShipTimestampIsSet(boolean value) {
-
 
178481
      __isset_bit_vector.set(__SHIPTIMESTAMP_ISSET_ID, value);
-
 
178482
    }
-
 
178483
 
-
 
178484
    public long getDeliveryTimeStamp() {
-
 
178485
      return this.deliveryTimeStamp;
-
 
178486
    }
-
 
178487
 
-
 
178488
    public void setDeliveryTimeStamp(long deliveryTimeStamp) {
-
 
178489
      this.deliveryTimeStamp = deliveryTimeStamp;
-
 
178490
      setDeliveryTimeStampIsSet(true);
-
 
178491
    }
-
 
178492
 
-
 
178493
    public void unsetDeliveryTimeStamp() {
-
 
178494
      __isset_bit_vector.clear(__DELIVERYTIMESTAMP_ISSET_ID);
-
 
178495
    }
-
 
178496
 
-
 
178497
    /** Returns true if field deliveryTimeStamp is set (has been assigned a value) and false otherwise */
-
 
178498
    public boolean isSetDeliveryTimeStamp() {
-
 
178499
      return __isset_bit_vector.get(__DELIVERYTIMESTAMP_ISSET_ID);
-
 
178500
    }
-
 
178501
 
-
 
178502
    public void setDeliveryTimeStampIsSet(boolean value) {
-
 
178503
      __isset_bit_vector.set(__DELIVERYTIMESTAMP_ISSET_ID, value);
-
 
178504
    }
-
 
178505
 
-
 
178506
    public void setFieldValue(_Fields field, Object value) {
-
 
178507
      switch (field) {
-
 
178508
      case TRANSACTION_ID:
-
 
178509
        if (value == null) {
-
 
178510
          unsetTransactionId();
-
 
178511
        } else {
-
 
178512
          setTransactionId((Long)value);
-
 
178513
        }
-
 
178514
        break;
-
 
178515
 
-
 
178516
      case STATUS:
-
 
178517
        if (value == null) {
-
 
178518
          unsetStatus();
-
 
178519
        } else {
-
 
178520
          setStatus((TransactionStatus)value);
-
 
178521
        }
-
 
178522
        break;
-
 
178523
 
-
 
178524
      case DESCRIPTION:
-
 
178525
        if (value == null) {
-
 
178526
          unsetDescription();
-
 
178527
        } else {
-
 
178528
          setDescription((String)value);
-
 
178529
        }
-
 
178530
        break;
-
 
178531
 
-
 
178532
      case PICK_UP:
-
 
178533
        if (value == null) {
-
 
178534
          unsetPickUp();
-
 
178535
        } else {
-
 
178536
          setPickUp((Long)value);
-
 
178537
        }
-
 
178538
        break;
-
 
178539
 
-
 
178540
      case ORDER_TYPE:
-
 
178541
        if (value == null) {
-
 
178542
          unsetOrderType();
-
 
178543
        } else {
-
 
178544
          setOrderType((OrderType)value);
-
 
178545
        }
-
 
178546
        break;
-
 
178547
 
-
 
178548
      case SOURCE:
-
 
178549
        if (value == null) {
-
 
178550
          unsetSource();
-
 
178551
        } else {
-
 
178552
          setSource((OrderSource)value);
-
 
178553
        }
-
 
178554
        break;
-
 
178555
 
-
 
178556
      case SHIP_TIMESTAMP:
-
 
178557
        if (value == null) {
-
 
178558
          unsetShipTimestamp();
-
 
178559
        } else {
-
 
178560
          setShipTimestamp((Long)value);
-
 
178561
        }
-
 
178562
        break;
-
 
178563
 
-
 
178564
      case DELIVERY_TIME_STAMP:
-
 
178565
        if (value == null) {
-
 
178566
          unsetDeliveryTimeStamp();
-
 
178567
        } else {
-
 
178568
          setDeliveryTimeStamp((Long)value);
-
 
178569
        }
-
 
178570
        break;
-
 
178571
 
-
 
178572
      }
-
 
178573
    }
-
 
178574
 
-
 
178575
    public Object getFieldValue(_Fields field) {
-
 
178576
      switch (field) {
-
 
178577
      case TRANSACTION_ID:
-
 
178578
        return Long.valueOf(getTransactionId());
-
 
178579
 
-
 
178580
      case STATUS:
-
 
178581
        return getStatus();
-
 
178582
 
-
 
178583
      case DESCRIPTION:
-
 
178584
        return getDescription();
-
 
178585
 
-
 
178586
      case PICK_UP:
-
 
178587
        return Long.valueOf(getPickUp());
-
 
178588
 
-
 
178589
      case ORDER_TYPE:
-
 
178590
        return getOrderType();
-
 
178591
 
-
 
178592
      case SOURCE:
-
 
178593
        return getSource();
-
 
178594
 
-
 
178595
      case SHIP_TIMESTAMP:
-
 
178596
        return Long.valueOf(getShipTimestamp());
-
 
178597
 
-
 
178598
      case DELIVERY_TIME_STAMP:
-
 
178599
        return Long.valueOf(getDeliveryTimeStamp());
-
 
178600
 
-
 
178601
      }
-
 
178602
      throw new IllegalStateException();
-
 
178603
    }
-
 
178604
 
-
 
178605
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
178606
    public boolean isSet(_Fields field) {
-
 
178607
      if (field == null) {
-
 
178608
        throw new IllegalArgumentException();
-
 
178609
      }
-
 
178610
 
-
 
178611
      switch (field) {
-
 
178612
      case TRANSACTION_ID:
-
 
178613
        return isSetTransactionId();
-
 
178614
      case STATUS:
-
 
178615
        return isSetStatus();
-
 
178616
      case DESCRIPTION:
-
 
178617
        return isSetDescription();
-
 
178618
      case PICK_UP:
-
 
178619
        return isSetPickUp();
-
 
178620
      case ORDER_TYPE:
-
 
178621
        return isSetOrderType();
-
 
178622
      case SOURCE:
-
 
178623
        return isSetSource();
-
 
178624
      case SHIP_TIMESTAMP:
-
 
178625
        return isSetShipTimestamp();
-
 
178626
      case DELIVERY_TIME_STAMP:
-
 
178627
        return isSetDeliveryTimeStamp();
-
 
178628
      }
-
 
178629
      throw new IllegalStateException();
-
 
178630
    }
-
 
178631
 
-
 
178632
    @Override
-
 
178633
    public boolean equals(Object that) {
-
 
178634
      if (that == null)
-
 
178635
        return false;
-
 
178636
      if (that instanceof changeEasyshipMfnOrderTxnStatus_args)
-
 
178637
        return this.equals((changeEasyshipMfnOrderTxnStatus_args)that);
-
 
178638
      return false;
-
 
178639
    }
-
 
178640
 
-
 
178641
    public boolean equals(changeEasyshipMfnOrderTxnStatus_args that) {
-
 
178642
      if (that == null)
-
 
178643
        return false;
-
 
178644
 
-
 
178645
      boolean this_present_transactionId = true;
-
 
178646
      boolean that_present_transactionId = true;
-
 
178647
      if (this_present_transactionId || that_present_transactionId) {
-
 
178648
        if (!(this_present_transactionId && that_present_transactionId))
-
 
178649
          return false;
-
 
178650
        if (this.transactionId != that.transactionId)
-
 
178651
          return false;
-
 
178652
      }
-
 
178653
 
-
 
178654
      boolean this_present_status = true && this.isSetStatus();
-
 
178655
      boolean that_present_status = true && that.isSetStatus();
-
 
178656
      if (this_present_status || that_present_status) {
-
 
178657
        if (!(this_present_status && that_present_status))
-
 
178658
          return false;
-
 
178659
        if (!this.status.equals(that.status))
-
 
178660
          return false;
-
 
178661
      }
-
 
178662
 
-
 
178663
      boolean this_present_description = true && this.isSetDescription();
-
 
178664
      boolean that_present_description = true && that.isSetDescription();
-
 
178665
      if (this_present_description || that_present_description) {
-
 
178666
        if (!(this_present_description && that_present_description))
-
 
178667
          return false;
-
 
178668
        if (!this.description.equals(that.description))
-
 
178669
          return false;
-
 
178670
      }
-
 
178671
 
-
 
178672
      boolean this_present_pickUp = true;
-
 
178673
      boolean that_present_pickUp = true;
-
 
178674
      if (this_present_pickUp || that_present_pickUp) {
-
 
178675
        if (!(this_present_pickUp && that_present_pickUp))
-
 
178676
          return false;
-
 
178677
        if (this.pickUp != that.pickUp)
-
 
178678
          return false;
-
 
178679
      }
-
 
178680
 
-
 
178681
      boolean this_present_orderType = true && this.isSetOrderType();
-
 
178682
      boolean that_present_orderType = true && that.isSetOrderType();
-
 
178683
      if (this_present_orderType || that_present_orderType) {
-
 
178684
        if (!(this_present_orderType && that_present_orderType))
-
 
178685
          return false;
-
 
178686
        if (!this.orderType.equals(that.orderType))
-
 
178687
          return false;
-
 
178688
      }
-
 
178689
 
-
 
178690
      boolean this_present_source = true && this.isSetSource();
-
 
178691
      boolean that_present_source = true && that.isSetSource();
-
 
178692
      if (this_present_source || that_present_source) {
-
 
178693
        if (!(this_present_source && that_present_source))
-
 
178694
          return false;
-
 
178695
        if (!this.source.equals(that.source))
-
 
178696
          return false;
-
 
178697
      }
-
 
178698
 
-
 
178699
      boolean this_present_shipTimestamp = true;
-
 
178700
      boolean that_present_shipTimestamp = true;
-
 
178701
      if (this_present_shipTimestamp || that_present_shipTimestamp) {
-
 
178702
        if (!(this_present_shipTimestamp && that_present_shipTimestamp))
-
 
178703
          return false;
-
 
178704
        if (this.shipTimestamp != that.shipTimestamp)
-
 
178705
          return false;
-
 
178706
      }
-
 
178707
 
-
 
178708
      boolean this_present_deliveryTimeStamp = true;
-
 
178709
      boolean that_present_deliveryTimeStamp = true;
-
 
178710
      if (this_present_deliveryTimeStamp || that_present_deliveryTimeStamp) {
-
 
178711
        if (!(this_present_deliveryTimeStamp && that_present_deliveryTimeStamp))
-
 
178712
          return false;
-
 
178713
        if (this.deliveryTimeStamp != that.deliveryTimeStamp)
-
 
178714
          return false;
-
 
178715
      }
-
 
178716
 
-
 
178717
      return true;
-
 
178718
    }
-
 
178719
 
-
 
178720
    @Override
-
 
178721
    public int hashCode() {
-
 
178722
      return 0;
-
 
178723
    }
-
 
178724
 
-
 
178725
    public int compareTo(changeEasyshipMfnOrderTxnStatus_args other) {
-
 
178726
      if (!getClass().equals(other.getClass())) {
-
 
178727
        return getClass().getName().compareTo(other.getClass().getName());
-
 
178728
      }
-
 
178729
 
-
 
178730
      int lastComparison = 0;
-
 
178731
      changeEasyshipMfnOrderTxnStatus_args typedOther = (changeEasyshipMfnOrderTxnStatus_args)other;
-
 
178732
 
-
 
178733
      lastComparison = Boolean.valueOf(isSetTransactionId()).compareTo(typedOther.isSetTransactionId());
-
 
178734
      if (lastComparison != 0) {
-
 
178735
        return lastComparison;
-
 
178736
      }
-
 
178737
      if (isSetTransactionId()) {
-
 
178738
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transactionId, typedOther.transactionId);
-
 
178739
        if (lastComparison != 0) {
-
 
178740
          return lastComparison;
-
 
178741
        }
-
 
178742
      }
-
 
178743
      lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
-
 
178744
      if (lastComparison != 0) {
-
 
178745
        return lastComparison;
-
 
178746
      }
-
 
178747
      if (isSetStatus()) {
-
 
178748
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
-
 
178749
        if (lastComparison != 0) {
-
 
178750
          return lastComparison;
-
 
178751
        }
-
 
178752
      }
-
 
178753
      lastComparison = Boolean.valueOf(isSetDescription()).compareTo(typedOther.isSetDescription());
-
 
178754
      if (lastComparison != 0) {
-
 
178755
        return lastComparison;
-
 
178756
      }
-
 
178757
      if (isSetDescription()) {
-
 
178758
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.description, typedOther.description);
-
 
178759
        if (lastComparison != 0) {
-
 
178760
          return lastComparison;
-
 
178761
        }
-
 
178762
      }
-
 
178763
      lastComparison = Boolean.valueOf(isSetPickUp()).compareTo(typedOther.isSetPickUp());
-
 
178764
      if (lastComparison != 0) {
-
 
178765
        return lastComparison;
-
 
178766
      }
-
 
178767
      if (isSetPickUp()) {
-
 
178768
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pickUp, typedOther.pickUp);
-
 
178769
        if (lastComparison != 0) {
-
 
178770
          return lastComparison;
-
 
178771
        }
-
 
178772
      }
-
 
178773
      lastComparison = Boolean.valueOf(isSetOrderType()).compareTo(typedOther.isSetOrderType());
-
 
178774
      if (lastComparison != 0) {
-
 
178775
        return lastComparison;
-
 
178776
      }
-
 
178777
      if (isSetOrderType()) {
-
 
178778
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderType, typedOther.orderType);
-
 
178779
        if (lastComparison != 0) {
-
 
178780
          return lastComparison;
-
 
178781
        }
-
 
178782
      }
-
 
178783
      lastComparison = Boolean.valueOf(isSetSource()).compareTo(typedOther.isSetSource());
-
 
178784
      if (lastComparison != 0) {
-
 
178785
        return lastComparison;
-
 
178786
      }
-
 
178787
      if (isSetSource()) {
-
 
178788
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.source, typedOther.source);
-
 
178789
        if (lastComparison != 0) {
-
 
178790
          return lastComparison;
-
 
178791
        }
-
 
178792
      }
-
 
178793
      lastComparison = Boolean.valueOf(isSetShipTimestamp()).compareTo(typedOther.isSetShipTimestamp());
-
 
178794
      if (lastComparison != 0) {
-
 
178795
        return lastComparison;
-
 
178796
      }
-
 
178797
      if (isSetShipTimestamp()) {
-
 
178798
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shipTimestamp, typedOther.shipTimestamp);
-
 
178799
        if (lastComparison != 0) {
-
 
178800
          return lastComparison;
-
 
178801
        }
-
 
178802
      }
-
 
178803
      lastComparison = Boolean.valueOf(isSetDeliveryTimeStamp()).compareTo(typedOther.isSetDeliveryTimeStamp());
-
 
178804
      if (lastComparison != 0) {
-
 
178805
        return lastComparison;
-
 
178806
      }
-
 
178807
      if (isSetDeliveryTimeStamp()) {
-
 
178808
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deliveryTimeStamp, typedOther.deliveryTimeStamp);
-
 
178809
        if (lastComparison != 0) {
-
 
178810
          return lastComparison;
-
 
178811
        }
-
 
178812
      }
-
 
178813
      return 0;
-
 
178814
    }
-
 
178815
 
-
 
178816
    public _Fields fieldForId(int fieldId) {
-
 
178817
      return _Fields.findByThriftId(fieldId);
-
 
178818
    }
-
 
178819
 
-
 
178820
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
178821
      org.apache.thrift.protocol.TField field;
-
 
178822
      iprot.readStructBegin();
-
 
178823
      while (true)
-
 
178824
      {
-
 
178825
        field = iprot.readFieldBegin();
-
 
178826
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
178827
          break;
-
 
178828
        }
-
 
178829
        switch (field.id) {
-
 
178830
          case 1: // TRANSACTION_ID
-
 
178831
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
178832
              this.transactionId = iprot.readI64();
-
 
178833
              setTransactionIdIsSet(true);
-
 
178834
            } else { 
-
 
178835
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
178836
            }
-
 
178837
            break;
-
 
178838
          case 2: // STATUS
-
 
178839
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
178840
              this.status = TransactionStatus.findByValue(iprot.readI32());
-
 
178841
            } else { 
-
 
178842
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
178843
            }
-
 
178844
            break;
-
 
178845
          case 3: // DESCRIPTION
-
 
178846
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
178847
              this.description = iprot.readString();
-
 
178848
            } else { 
-
 
178849
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
178850
            }
-
 
178851
            break;
-
 
178852
          case 4: // PICK_UP
-
 
178853
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
178854
              this.pickUp = iprot.readI64();
-
 
178855
              setPickUpIsSet(true);
-
 
178856
            } else { 
-
 
178857
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
178858
            }
-
 
178859
            break;
-
 
178860
          case 5: // ORDER_TYPE
-
 
178861
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
178862
              this.orderType = OrderType.findByValue(iprot.readI32());
-
 
178863
            } else { 
-
 
178864
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
178865
            }
-
 
178866
            break;
-
 
178867
          case 6: // SOURCE
-
 
178868
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
178869
              this.source = OrderSource.findByValue(iprot.readI32());
-
 
178870
            } else { 
-
 
178871
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
178872
            }
-
 
178873
            break;
-
 
178874
          case 7: // SHIP_TIMESTAMP
-
 
178875
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
178876
              this.shipTimestamp = iprot.readI64();
-
 
178877
              setShipTimestampIsSet(true);
-
 
178878
            } else { 
-
 
178879
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
178880
            }
-
 
178881
            break;
-
 
178882
          case 8: // DELIVERY_TIME_STAMP
-
 
178883
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
178884
              this.deliveryTimeStamp = iprot.readI64();
-
 
178885
              setDeliveryTimeStampIsSet(true);
-
 
178886
            } else { 
-
 
178887
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
178888
            }
-
 
178889
            break;
-
 
178890
          default:
-
 
178891
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
178892
        }
-
 
178893
        iprot.readFieldEnd();
-
 
178894
      }
-
 
178895
      iprot.readStructEnd();
-
 
178896
      validate();
-
 
178897
    }
-
 
178898
 
-
 
178899
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
178900
      validate();
-
 
178901
 
-
 
178902
      oprot.writeStructBegin(STRUCT_DESC);
-
 
178903
      oprot.writeFieldBegin(TRANSACTION_ID_FIELD_DESC);
-
 
178904
      oprot.writeI64(this.transactionId);
-
 
178905
      oprot.writeFieldEnd();
-
 
178906
      if (this.status != null) {
-
 
178907
        oprot.writeFieldBegin(STATUS_FIELD_DESC);
-
 
178908
        oprot.writeI32(this.status.getValue());
-
 
178909
        oprot.writeFieldEnd();
-
 
178910
      }
-
 
178911
      if (this.description != null) {
-
 
178912
        oprot.writeFieldBegin(DESCRIPTION_FIELD_DESC);
-
 
178913
        oprot.writeString(this.description);
-
 
178914
        oprot.writeFieldEnd();
-
 
178915
      }
-
 
178916
      oprot.writeFieldBegin(PICK_UP_FIELD_DESC);
-
 
178917
      oprot.writeI64(this.pickUp);
-
 
178918
      oprot.writeFieldEnd();
-
 
178919
      if (this.orderType != null) {
-
 
178920
        oprot.writeFieldBegin(ORDER_TYPE_FIELD_DESC);
-
 
178921
        oprot.writeI32(this.orderType.getValue());
-
 
178922
        oprot.writeFieldEnd();
-
 
178923
      }
-
 
178924
      if (this.source != null) {
-
 
178925
        oprot.writeFieldBegin(SOURCE_FIELD_DESC);
-
 
178926
        oprot.writeI32(this.source.getValue());
-
 
178927
        oprot.writeFieldEnd();
-
 
178928
      }
-
 
178929
      oprot.writeFieldBegin(SHIP_TIMESTAMP_FIELD_DESC);
-
 
178930
      oprot.writeI64(this.shipTimestamp);
-
 
178931
      oprot.writeFieldEnd();
-
 
178932
      oprot.writeFieldBegin(DELIVERY_TIME_STAMP_FIELD_DESC);
-
 
178933
      oprot.writeI64(this.deliveryTimeStamp);
-
 
178934
      oprot.writeFieldEnd();
-
 
178935
      oprot.writeFieldStop();
-
 
178936
      oprot.writeStructEnd();
-
 
178937
    }
-
 
178938
 
-
 
178939
    @Override
-
 
178940
    public String toString() {
-
 
178941
      StringBuilder sb = new StringBuilder("changeEasyshipMfnOrderTxnStatus_args(");
-
 
178942
      boolean first = true;
-
 
178943
 
-
 
178944
      sb.append("transactionId:");
-
 
178945
      sb.append(this.transactionId);
-
 
178946
      first = false;
-
 
178947
      if (!first) sb.append(", ");
-
 
178948
      sb.append("status:");
-
 
178949
      if (this.status == null) {
-
 
178950
        sb.append("null");
-
 
178951
      } else {
-
 
178952
        sb.append(this.status);
-
 
178953
      }
-
 
178954
      first = false;
-
 
178955
      if (!first) sb.append(", ");
-
 
178956
      sb.append("description:");
-
 
178957
      if (this.description == null) {
-
 
178958
        sb.append("null");
-
 
178959
      } else {
-
 
178960
        sb.append(this.description);
-
 
178961
      }
-
 
178962
      first = false;
-
 
178963
      if (!first) sb.append(", ");
-
 
178964
      sb.append("pickUp:");
-
 
178965
      sb.append(this.pickUp);
-
 
178966
      first = false;
-
 
178967
      if (!first) sb.append(", ");
-
 
178968
      sb.append("orderType:");
-
 
178969
      if (this.orderType == null) {
-
 
178970
        sb.append("null");
-
 
178971
      } else {
-
 
178972
        sb.append(this.orderType);
-
 
178973
      }
-
 
178974
      first = false;
-
 
178975
      if (!first) sb.append(", ");
-
 
178976
      sb.append("source:");
-
 
178977
      if (this.source == null) {
-
 
178978
        sb.append("null");
-
 
178979
      } else {
-
 
178980
        sb.append(this.source);
-
 
178981
      }
-
 
178982
      first = false;
-
 
178983
      if (!first) sb.append(", ");
-
 
178984
      sb.append("shipTimestamp:");
-
 
178985
      sb.append(this.shipTimestamp);
-
 
178986
      first = false;
-
 
178987
      if (!first) sb.append(", ");
-
 
178988
      sb.append("deliveryTimeStamp:");
-
 
178989
      sb.append(this.deliveryTimeStamp);
-
 
178990
      first = false;
-
 
178991
      sb.append(")");
-
 
178992
      return sb.toString();
-
 
178993
    }
-
 
178994
 
-
 
178995
    public void validate() throws org.apache.thrift.TException {
-
 
178996
      // check for required fields
-
 
178997
    }
-
 
178998
 
-
 
178999
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
179000
      try {
-
 
179001
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
179002
      } catch (org.apache.thrift.TException te) {
-
 
179003
        throw new java.io.IOException(te);
-
 
179004
      }
-
 
179005
    }
-
 
179006
 
-
 
179007
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
179008
      try {
-
 
179009
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
179010
        __isset_bit_vector = new BitSet(1);
-
 
179011
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
179012
      } catch (org.apache.thrift.TException te) {
-
 
179013
        throw new java.io.IOException(te);
-
 
179014
      }
-
 
179015
    }
-
 
179016
 
-
 
179017
  }
-
 
179018
 
-
 
179019
  public static class changeEasyshipMfnOrderTxnStatus_result implements org.apache.thrift.TBase<changeEasyshipMfnOrderTxnStatus_result, changeEasyshipMfnOrderTxnStatus_result._Fields>, java.io.Serializable, Cloneable   {
-
 
179020
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("changeEasyshipMfnOrderTxnStatus_result");
-
 
179021
 
-
 
179022
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
179023
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
179024
 
-
 
179025
    private boolean success; // required
-
 
179026
    private TransactionServiceException ex; // required
-
 
179027
 
-
 
179028
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
179029
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
179030
      SUCCESS((short)0, "success"),
-
 
179031
      EX((short)1, "ex");
-
 
179032
 
-
 
179033
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
179034
 
-
 
179035
      static {
-
 
179036
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
179037
          byName.put(field.getFieldName(), field);
-
 
179038
        }
-
 
179039
      }
-
 
179040
 
-
 
179041
      /**
-
 
179042
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
179043
       */
-
 
179044
      public static _Fields findByThriftId(int fieldId) {
-
 
179045
        switch(fieldId) {
-
 
179046
          case 0: // SUCCESS
-
 
179047
            return SUCCESS;
-
 
179048
          case 1: // EX
-
 
179049
            return EX;
-
 
179050
          default:
-
 
179051
            return null;
-
 
179052
        }
-
 
179053
      }
-
 
179054
 
-
 
179055
      /**
-
 
179056
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
179057
       * if it is not found.
-
 
179058
       */
-
 
179059
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
179060
        _Fields fields = findByThriftId(fieldId);
-
 
179061
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
179062
        return fields;
-
 
179063
      }
-
 
179064
 
-
 
179065
      /**
-
 
179066
       * Find the _Fields constant that matches name, or null if its not found.
-
 
179067
       */
-
 
179068
      public static _Fields findByName(String name) {
-
 
179069
        return byName.get(name);
-
 
179070
      }
-
 
179071
 
-
 
179072
      private final short _thriftId;
-
 
179073
      private final String _fieldName;
-
 
179074
 
-
 
179075
      _Fields(short thriftId, String fieldName) {
-
 
179076
        _thriftId = thriftId;
-
 
179077
        _fieldName = fieldName;
-
 
179078
      }
-
 
179079
 
-
 
179080
      public short getThriftFieldId() {
-
 
179081
        return _thriftId;
-
 
179082
      }
-
 
179083
 
-
 
179084
      public String getFieldName() {
-
 
179085
        return _fieldName;
-
 
179086
      }
-
 
179087
    }
-
 
179088
 
-
 
179089
    // isset id assignments
-
 
179090
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
179091
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
179092
 
-
 
179093
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
179094
    static {
-
 
179095
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
179096
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
179097
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
179098
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
179099
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
179100
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
179101
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(changeEasyshipMfnOrderTxnStatus_result.class, metaDataMap);
-
 
179102
    }
-
 
179103
 
-
 
179104
    public changeEasyshipMfnOrderTxnStatus_result() {
-
 
179105
    }
-
 
179106
 
-
 
179107
    public changeEasyshipMfnOrderTxnStatus_result(
-
 
179108
      boolean success,
-
 
179109
      TransactionServiceException ex)
-
 
179110
    {
-
 
179111
      this();
-
 
179112
      this.success = success;
-
 
179113
      setSuccessIsSet(true);
-
 
179114
      this.ex = ex;
-
 
179115
    }
-
 
179116
 
-
 
179117
    /**
-
 
179118
     * Performs a deep copy on <i>other</i>.
-
 
179119
     */
-
 
179120
    public changeEasyshipMfnOrderTxnStatus_result(changeEasyshipMfnOrderTxnStatus_result other) {
-
 
179121
      __isset_bit_vector.clear();
-
 
179122
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
179123
      this.success = other.success;
-
 
179124
      if (other.isSetEx()) {
-
 
179125
        this.ex = new TransactionServiceException(other.ex);
-
 
179126
      }
-
 
179127
    }
-
 
179128
 
-
 
179129
    public changeEasyshipMfnOrderTxnStatus_result deepCopy() {
-
 
179130
      return new changeEasyshipMfnOrderTxnStatus_result(this);
-
 
179131
    }
-
 
179132
 
-
 
179133
    @Override
-
 
179134
    public void clear() {
-
 
179135
      setSuccessIsSet(false);
-
 
179136
      this.success = false;
-
 
179137
      this.ex = null;
-
 
179138
    }
-
 
179139
 
-
 
179140
    public boolean isSuccess() {
-
 
179141
      return this.success;
-
 
179142
    }
-
 
179143
 
-
 
179144
    public void setSuccess(boolean success) {
-
 
179145
      this.success = success;
-
 
179146
      setSuccessIsSet(true);
-
 
179147
    }
-
 
179148
 
-
 
179149
    public void unsetSuccess() {
-
 
179150
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
179151
    }
-
 
179152
 
-
 
179153
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
179154
    public boolean isSetSuccess() {
-
 
179155
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
179156
    }
-
 
179157
 
-
 
179158
    public void setSuccessIsSet(boolean value) {
-
 
179159
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
179160
    }
-
 
179161
 
-
 
179162
    public TransactionServiceException getEx() {
-
 
179163
      return this.ex;
-
 
179164
    }
-
 
179165
 
-
 
179166
    public void setEx(TransactionServiceException ex) {
-
 
179167
      this.ex = ex;
-
 
179168
    }
-
 
179169
 
-
 
179170
    public void unsetEx() {
-
 
179171
      this.ex = null;
-
 
179172
    }
-
 
179173
 
-
 
179174
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
179175
    public boolean isSetEx() {
-
 
179176
      return this.ex != null;
-
 
179177
    }
-
 
179178
 
-
 
179179
    public void setExIsSet(boolean value) {
-
 
179180
      if (!value) {
-
 
179181
        this.ex = null;
-
 
179182
      }
-
 
179183
    }
-
 
179184
 
-
 
179185
    public void setFieldValue(_Fields field, Object value) {
-
 
179186
      switch (field) {
-
 
179187
      case SUCCESS:
-
 
179188
        if (value == null) {
-
 
179189
          unsetSuccess();
-
 
179190
        } else {
-
 
179191
          setSuccess((Boolean)value);
-
 
179192
        }
-
 
179193
        break;
-
 
179194
 
-
 
179195
      case EX:
-
 
179196
        if (value == null) {
-
 
179197
          unsetEx();
-
 
179198
        } else {
-
 
179199
          setEx((TransactionServiceException)value);
-
 
179200
        }
-
 
179201
        break;
-
 
179202
 
-
 
179203
      }
-
 
179204
    }
-
 
179205
 
-
 
179206
    public Object getFieldValue(_Fields field) {
-
 
179207
      switch (field) {
-
 
179208
      case SUCCESS:
-
 
179209
        return Boolean.valueOf(isSuccess());
-
 
179210
 
-
 
179211
      case EX:
-
 
179212
        return getEx();
-
 
179213
 
-
 
179214
      }
-
 
179215
      throw new IllegalStateException();
-
 
179216
    }
-
 
179217
 
-
 
179218
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
179219
    public boolean isSet(_Fields field) {
-
 
179220
      if (field == null) {
-
 
179221
        throw new IllegalArgumentException();
-
 
179222
      }
-
 
179223
 
-
 
179224
      switch (field) {
-
 
179225
      case SUCCESS:
-
 
179226
        return isSetSuccess();
-
 
179227
      case EX:
-
 
179228
        return isSetEx();
-
 
179229
      }
-
 
179230
      throw new IllegalStateException();
-
 
179231
    }
-
 
179232
 
-
 
179233
    @Override
-
 
179234
    public boolean equals(Object that) {
-
 
179235
      if (that == null)
-
 
179236
        return false;
-
 
179237
      if (that instanceof changeEasyshipMfnOrderTxnStatus_result)
-
 
179238
        return this.equals((changeEasyshipMfnOrderTxnStatus_result)that);
-
 
179239
      return false;
-
 
179240
    }
-
 
179241
 
-
 
179242
    public boolean equals(changeEasyshipMfnOrderTxnStatus_result that) {
-
 
179243
      if (that == null)
-
 
179244
        return false;
-
 
179245
 
-
 
179246
      boolean this_present_success = true;
-
 
179247
      boolean that_present_success = true;
-
 
179248
      if (this_present_success || that_present_success) {
-
 
179249
        if (!(this_present_success && that_present_success))
-
 
179250
          return false;
-
 
179251
        if (this.success != that.success)
-
 
179252
          return false;
-
 
179253
      }
-
 
179254
 
-
 
179255
      boolean this_present_ex = true && this.isSetEx();
-
 
179256
      boolean that_present_ex = true && that.isSetEx();
-
 
179257
      if (this_present_ex || that_present_ex) {
-
 
179258
        if (!(this_present_ex && that_present_ex))
-
 
179259
          return false;
-
 
179260
        if (!this.ex.equals(that.ex))
-
 
179261
          return false;
-
 
179262
      }
-
 
179263
 
-
 
179264
      return true;
-
 
179265
    }
-
 
179266
 
-
 
179267
    @Override
-
 
179268
    public int hashCode() {
-
 
179269
      return 0;
-
 
179270
    }
-
 
179271
 
-
 
179272
    public int compareTo(changeEasyshipMfnOrderTxnStatus_result other) {
-
 
179273
      if (!getClass().equals(other.getClass())) {
-
 
179274
        return getClass().getName().compareTo(other.getClass().getName());
-
 
179275
      }
-
 
179276
 
-
 
179277
      int lastComparison = 0;
-
 
179278
      changeEasyshipMfnOrderTxnStatus_result typedOther = (changeEasyshipMfnOrderTxnStatus_result)other;
-
 
179279
 
-
 
179280
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
179281
      if (lastComparison != 0) {
-
 
179282
        return lastComparison;
-
 
179283
      }
-
 
179284
      if (isSetSuccess()) {
-
 
179285
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
179286
        if (lastComparison != 0) {
-
 
179287
          return lastComparison;
-
 
179288
        }
-
 
179289
      }
-
 
179290
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
179291
      if (lastComparison != 0) {
-
 
179292
        return lastComparison;
-
 
179293
      }
-
 
179294
      if (isSetEx()) {
-
 
179295
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
179296
        if (lastComparison != 0) {
-
 
179297
          return lastComparison;
-
 
179298
        }
-
 
179299
      }
-
 
179300
      return 0;
-
 
179301
    }
-
 
179302
 
-
 
179303
    public _Fields fieldForId(int fieldId) {
-
 
179304
      return _Fields.findByThriftId(fieldId);
-
 
179305
    }
-
 
179306
 
-
 
179307
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
179308
      org.apache.thrift.protocol.TField field;
-
 
179309
      iprot.readStructBegin();
-
 
179310
      while (true)
-
 
179311
      {
-
 
179312
        field = iprot.readFieldBegin();
-
 
179313
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
179314
          break;
-
 
179315
        }
-
 
179316
        switch (field.id) {
-
 
179317
          case 0: // SUCCESS
-
 
179318
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
179319
              this.success = iprot.readBool();
-
 
179320
              setSuccessIsSet(true);
-
 
179321
            } else { 
-
 
179322
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
179323
            }
-
 
179324
            break;
-
 
179325
          case 1: // EX
-
 
179326
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
179327
              this.ex = new TransactionServiceException();
-
 
179328
              this.ex.read(iprot);
-
 
179329
            } else { 
-
 
179330
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
179331
            }
-
 
179332
            break;
-
 
179333
          default:
-
 
179334
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
179335
        }
-
 
179336
        iprot.readFieldEnd();
-
 
179337
      }
-
 
179338
      iprot.readStructEnd();
-
 
179339
      validate();
-
 
179340
    }
-
 
179341
 
-
 
179342
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
179343
      oprot.writeStructBegin(STRUCT_DESC);
-
 
179344
 
-
 
179345
      if (this.isSetSuccess()) {
-
 
179346
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
179347
        oprot.writeBool(this.success);
-
 
179348
        oprot.writeFieldEnd();
-
 
179349
      } else if (this.isSetEx()) {
-
 
179350
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
179351
        this.ex.write(oprot);
-
 
179352
        oprot.writeFieldEnd();
-
 
179353
      }
-
 
179354
      oprot.writeFieldStop();
-
 
179355
      oprot.writeStructEnd();
-
 
179356
    }
-
 
179357
 
-
 
179358
    @Override
-
 
179359
    public String toString() {
-
 
179360
      StringBuilder sb = new StringBuilder("changeEasyshipMfnOrderTxnStatus_result(");
-
 
179361
      boolean first = true;
-
 
179362
 
-
 
179363
      sb.append("success:");
-
 
179364
      sb.append(this.success);
-
 
179365
      first = false;
-
 
179366
      if (!first) sb.append(", ");
-
 
179367
      sb.append("ex:");
-
 
179368
      if (this.ex == null) {
-
 
179369
        sb.append("null");
-
 
179370
      } else {
-
 
179371
        sb.append(this.ex);
-
 
179372
      }
-
 
179373
      first = false;
-
 
179374
      sb.append(")");
-
 
179375
      return sb.toString();
-
 
179376
    }
-
 
179377
 
-
 
179378
    public void validate() throws org.apache.thrift.TException {
-
 
179379
      // check for required fields
-
 
179380
    }
-
 
179381
 
-
 
179382
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
179383
      try {
-
 
179384
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
179385
      } catch (org.apache.thrift.TException te) {
-
 
179386
        throw new java.io.IOException(te);
-
 
179387
      }
-
 
179388
    }
-
 
179389
 
-
 
179390
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
179391
      try {
-
 
179392
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
179393
      } catch (org.apache.thrift.TException te) {
-
 
179394
        throw new java.io.IOException(te);
-
 
179395
      }
-
 
179396
    }
-
 
179397
 
-
 
179398
  }
-
 
179399
 
-
 
179400
  public static class updateAmazonFbaOrdersReturns_args implements org.apache.thrift.TBase<updateAmazonFbaOrdersReturns_args, updateAmazonFbaOrdersReturns_args._Fields>, java.io.Serializable, Cloneable   {
-
 
179401
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateAmazonFbaOrdersReturns_args");
-
 
179402
 
-
 
179403
    private static final org.apache.thrift.protocol.TField FBA_ORDER_RETURNS_FIELD_DESC = new org.apache.thrift.protocol.TField("fbaOrderReturns", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
179404
 
-
 
179405
    private List<AmazonFbaOrderReturns> fbaOrderReturns; // required
-
 
179406
 
-
 
179407
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
179408
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
179409
      FBA_ORDER_RETURNS((short)1, "fbaOrderReturns");
-
 
179410
 
-
 
179411
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
179412
 
-
 
179413
      static {
-
 
179414
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
179415
          byName.put(field.getFieldName(), field);
-
 
179416
        }
-
 
179417
      }
-
 
179418
 
-
 
179419
      /**
-
 
179420
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
179421
       */
-
 
179422
      public static _Fields findByThriftId(int fieldId) {
-
 
179423
        switch(fieldId) {
-
 
179424
          case 1: // FBA_ORDER_RETURNS
-
 
179425
            return FBA_ORDER_RETURNS;
-
 
179426
          default:
-
 
179427
            return null;
-
 
179428
        }
-
 
179429
      }
-
 
179430
 
-
 
179431
      /**
-
 
179432
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
179433
       * if it is not found.
-
 
179434
       */
-
 
179435
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
179436
        _Fields fields = findByThriftId(fieldId);
-
 
179437
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
179438
        return fields;
-
 
179439
      }
-
 
179440
 
-
 
179441
      /**
-
 
179442
       * Find the _Fields constant that matches name, or null if its not found.
-
 
179443
       */
-
 
179444
      public static _Fields findByName(String name) {
-
 
179445
        return byName.get(name);
-
 
179446
      }
-
 
179447
 
-
 
179448
      private final short _thriftId;
-
 
179449
      private final String _fieldName;
-
 
179450
 
-
 
179451
      _Fields(short thriftId, String fieldName) {
-
 
179452
        _thriftId = thriftId;
-
 
179453
        _fieldName = fieldName;
-
 
179454
      }
-
 
179455
 
-
 
179456
      public short getThriftFieldId() {
-
 
179457
        return _thriftId;
-
 
179458
      }
-
 
179459
 
-
 
179460
      public String getFieldName() {
-
 
179461
        return _fieldName;
-
 
179462
      }
-
 
179463
    }
-
 
179464
 
-
 
179465
    // isset id assignments
-
 
179466
 
-
 
179467
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
179468
    static {
-
 
179469
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
179470
      tmpMap.put(_Fields.FBA_ORDER_RETURNS, new org.apache.thrift.meta_data.FieldMetaData("fbaOrderReturns", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
179471
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
179472
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AmazonFbaOrderReturns.class))));
-
 
179473
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
179474
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateAmazonFbaOrdersReturns_args.class, metaDataMap);
-
 
179475
    }
-
 
179476
 
-
 
179477
    public updateAmazonFbaOrdersReturns_args() {
-
 
179478
    }
-
 
179479
 
-
 
179480
    public updateAmazonFbaOrdersReturns_args(
-
 
179481
      List<AmazonFbaOrderReturns> fbaOrderReturns)
-
 
179482
    {
-
 
179483
      this();
-
 
179484
      this.fbaOrderReturns = fbaOrderReturns;
-
 
179485
    }
-
 
179486
 
-
 
179487
    /**
-
 
179488
     * Performs a deep copy on <i>other</i>.
-
 
179489
     */
-
 
179490
    public updateAmazonFbaOrdersReturns_args(updateAmazonFbaOrdersReturns_args other) {
-
 
179491
      if (other.isSetFbaOrderReturns()) {
-
 
179492
        List<AmazonFbaOrderReturns> __this__fbaOrderReturns = new ArrayList<AmazonFbaOrderReturns>();
-
 
179493
        for (AmazonFbaOrderReturns other_element : other.fbaOrderReturns) {
-
 
179494
          __this__fbaOrderReturns.add(new AmazonFbaOrderReturns(other_element));
-
 
179495
        }
-
 
179496
        this.fbaOrderReturns = __this__fbaOrderReturns;
-
 
179497
      }
-
 
179498
    }
-
 
179499
 
-
 
179500
    public updateAmazonFbaOrdersReturns_args deepCopy() {
-
 
179501
      return new updateAmazonFbaOrdersReturns_args(this);
-
 
179502
    }
-
 
179503
 
-
 
179504
    @Override
-
 
179505
    public void clear() {
-
 
179506
      this.fbaOrderReturns = null;
-
 
179507
    }
-
 
179508
 
-
 
179509
    public int getFbaOrderReturnsSize() {
-
 
179510
      return (this.fbaOrderReturns == null) ? 0 : this.fbaOrderReturns.size();
-
 
179511
    }
-
 
179512
 
-
 
179513
    public java.util.Iterator<AmazonFbaOrderReturns> getFbaOrderReturnsIterator() {
-
 
179514
      return (this.fbaOrderReturns == null) ? null : this.fbaOrderReturns.iterator();
-
 
179515
    }
-
 
179516
 
-
 
179517
    public void addToFbaOrderReturns(AmazonFbaOrderReturns elem) {
-
 
179518
      if (this.fbaOrderReturns == null) {
-
 
179519
        this.fbaOrderReturns = new ArrayList<AmazonFbaOrderReturns>();
-
 
179520
      }
-
 
179521
      this.fbaOrderReturns.add(elem);
-
 
179522
    }
-
 
179523
 
-
 
179524
    public List<AmazonFbaOrderReturns> getFbaOrderReturns() {
-
 
179525
      return this.fbaOrderReturns;
-
 
179526
    }
-
 
179527
 
-
 
179528
    public void setFbaOrderReturns(List<AmazonFbaOrderReturns> fbaOrderReturns) {
-
 
179529
      this.fbaOrderReturns = fbaOrderReturns;
-
 
179530
    }
-
 
179531
 
-
 
179532
    public void unsetFbaOrderReturns() {
-
 
179533
      this.fbaOrderReturns = null;
-
 
179534
    }
-
 
179535
 
-
 
179536
    /** Returns true if field fbaOrderReturns is set (has been assigned a value) and false otherwise */
-
 
179537
    public boolean isSetFbaOrderReturns() {
-
 
179538
      return this.fbaOrderReturns != null;
-
 
179539
    }
-
 
179540
 
-
 
179541
    public void setFbaOrderReturnsIsSet(boolean value) {
-
 
179542
      if (!value) {
-
 
179543
        this.fbaOrderReturns = null;
-
 
179544
      }
-
 
179545
    }
-
 
179546
 
-
 
179547
    public void setFieldValue(_Fields field, Object value) {
-
 
179548
      switch (field) {
-
 
179549
      case FBA_ORDER_RETURNS:
-
 
179550
        if (value == null) {
-
 
179551
          unsetFbaOrderReturns();
-
 
179552
        } else {
-
 
179553
          setFbaOrderReturns((List<AmazonFbaOrderReturns>)value);
-
 
179554
        }
-
 
179555
        break;
-
 
179556
 
-
 
179557
      }
-
 
179558
    }
-
 
179559
 
-
 
179560
    public Object getFieldValue(_Fields field) {
-
 
179561
      switch (field) {
-
 
179562
      case FBA_ORDER_RETURNS:
-
 
179563
        return getFbaOrderReturns();
-
 
179564
 
-
 
179565
      }
-
 
179566
      throw new IllegalStateException();
-
 
179567
    }
-
 
179568
 
-
 
179569
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
179570
    public boolean isSet(_Fields field) {
-
 
179571
      if (field == null) {
-
 
179572
        throw new IllegalArgumentException();
-
 
179573
      }
-
 
179574
 
-
 
179575
      switch (field) {
-
 
179576
      case FBA_ORDER_RETURNS:
-
 
179577
        return isSetFbaOrderReturns();
-
 
179578
      }
-
 
179579
      throw new IllegalStateException();
-
 
179580
    }
-
 
179581
 
-
 
179582
    @Override
-
 
179583
    public boolean equals(Object that) {
-
 
179584
      if (that == null)
-
 
179585
        return false;
-
 
179586
      if (that instanceof updateAmazonFbaOrdersReturns_args)
-
 
179587
        return this.equals((updateAmazonFbaOrdersReturns_args)that);
-
 
179588
      return false;
-
 
179589
    }
-
 
179590
 
-
 
179591
    public boolean equals(updateAmazonFbaOrdersReturns_args that) {
-
 
179592
      if (that == null)
-
 
179593
        return false;
-
 
179594
 
-
 
179595
      boolean this_present_fbaOrderReturns = true && this.isSetFbaOrderReturns();
-
 
179596
      boolean that_present_fbaOrderReturns = true && that.isSetFbaOrderReturns();
-
 
179597
      if (this_present_fbaOrderReturns || that_present_fbaOrderReturns) {
-
 
179598
        if (!(this_present_fbaOrderReturns && that_present_fbaOrderReturns))
-
 
179599
          return false;
-
 
179600
        if (!this.fbaOrderReturns.equals(that.fbaOrderReturns))
-
 
179601
          return false;
-
 
179602
      }
-
 
179603
 
-
 
179604
      return true;
-
 
179605
    }
-
 
179606
 
-
 
179607
    @Override
-
 
179608
    public int hashCode() {
-
 
179609
      return 0;
-
 
179610
    }
-
 
179611
 
-
 
179612
    public int compareTo(updateAmazonFbaOrdersReturns_args other) {
-
 
179613
      if (!getClass().equals(other.getClass())) {
-
 
179614
        return getClass().getName().compareTo(other.getClass().getName());
-
 
179615
      }
-
 
179616
 
-
 
179617
      int lastComparison = 0;
-
 
179618
      updateAmazonFbaOrdersReturns_args typedOther = (updateAmazonFbaOrdersReturns_args)other;
-
 
179619
 
-
 
179620
      lastComparison = Boolean.valueOf(isSetFbaOrderReturns()).compareTo(typedOther.isSetFbaOrderReturns());
-
 
179621
      if (lastComparison != 0) {
-
 
179622
        return lastComparison;
-
 
179623
      }
-
 
179624
      if (isSetFbaOrderReturns()) {
-
 
179625
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fbaOrderReturns, typedOther.fbaOrderReturns);
-
 
179626
        if (lastComparison != 0) {
-
 
179627
          return lastComparison;
-
 
179628
        }
-
 
179629
      }
-
 
179630
      return 0;
-
 
179631
    }
-
 
179632
 
-
 
179633
    public _Fields fieldForId(int fieldId) {
-
 
179634
      return _Fields.findByThriftId(fieldId);
-
 
179635
    }
-
 
179636
 
-
 
179637
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
179638
      org.apache.thrift.protocol.TField field;
-
 
179639
      iprot.readStructBegin();
-
 
179640
      while (true)
-
 
179641
      {
-
 
179642
        field = iprot.readFieldBegin();
-
 
179643
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
179644
          break;
-
 
179645
        }
-
 
179646
        switch (field.id) {
-
 
179647
          case 1: // FBA_ORDER_RETURNS
-
 
179648
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
179649
              {
-
 
179650
                org.apache.thrift.protocol.TList _list559 = iprot.readListBegin();
-
 
179651
                this.fbaOrderReturns = new ArrayList<AmazonFbaOrderReturns>(_list559.size);
-
 
179652
                for (int _i560 = 0; _i560 < _list559.size; ++_i560)
-
 
179653
                {
-
 
179654
                  AmazonFbaOrderReturns _elem561; // required
-
 
179655
                  _elem561 = new AmazonFbaOrderReturns();
-
 
179656
                  _elem561.read(iprot);
-
 
179657
                  this.fbaOrderReturns.add(_elem561);
-
 
179658
                }
-
 
179659
                iprot.readListEnd();
-
 
179660
              }
-
 
179661
            } else { 
-
 
179662
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
179663
            }
-
 
179664
            break;
-
 
179665
          default:
-
 
179666
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
179667
        }
-
 
179668
        iprot.readFieldEnd();
-
 
179669
      }
-
 
179670
      iprot.readStructEnd();
-
 
179671
      validate();
-
 
179672
    }
-
 
179673
 
-
 
179674
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
179675
      validate();
-
 
179676
 
-
 
179677
      oprot.writeStructBegin(STRUCT_DESC);
-
 
179678
      if (this.fbaOrderReturns != null) {
-
 
179679
        oprot.writeFieldBegin(FBA_ORDER_RETURNS_FIELD_DESC);
-
 
179680
        {
-
 
179681
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.fbaOrderReturns.size()));
-
 
179682
          for (AmazonFbaOrderReturns _iter562 : this.fbaOrderReturns)
-
 
179683
          {
-
 
179684
            _iter562.write(oprot);
-
 
179685
          }
-
 
179686
          oprot.writeListEnd();
-
 
179687
        }
-
 
179688
        oprot.writeFieldEnd();
-
 
179689
      }
-
 
179690
      oprot.writeFieldStop();
-
 
179691
      oprot.writeStructEnd();
-
 
179692
    }
-
 
179693
 
-
 
179694
    @Override
-
 
179695
    public String toString() {
-
 
179696
      StringBuilder sb = new StringBuilder("updateAmazonFbaOrdersReturns_args(");
-
 
179697
      boolean first = true;
-
 
179698
 
-
 
179699
      sb.append("fbaOrderReturns:");
-
 
179700
      if (this.fbaOrderReturns == null) {
-
 
179701
        sb.append("null");
-
 
179702
      } else {
-
 
179703
        sb.append(this.fbaOrderReturns);
-
 
179704
      }
-
 
179705
      first = false;
-
 
179706
      sb.append(")");
-
 
179707
      return sb.toString();
-
 
179708
    }
-
 
179709
 
-
 
179710
    public void validate() throws org.apache.thrift.TException {
-
 
179711
      // check for required fields
-
 
179712
    }
-
 
179713
 
-
 
179714
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
179715
      try {
-
 
179716
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
179717
      } catch (org.apache.thrift.TException te) {
-
 
179718
        throw new java.io.IOException(te);
-
 
179719
      }
-
 
179720
    }
-
 
179721
 
-
 
179722
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
179723
      try {
-
 
179724
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
179725
      } catch (org.apache.thrift.TException te) {
-
 
179726
        throw new java.io.IOException(te);
-
 
179727
      }
-
 
179728
    }
-
 
179729
 
-
 
179730
  }
-
 
179731
 
-
 
179732
  public static class updateAmazonFbaOrdersReturns_result implements org.apache.thrift.TBase<updateAmazonFbaOrdersReturns_result, updateAmazonFbaOrdersReturns_result._Fields>, java.io.Serializable, Cloneable   {
-
 
179733
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateAmazonFbaOrdersReturns_result");
-
 
179734
 
-
 
179735
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
179736
 
-
 
179737
    private TransactionServiceException ex; // required
-
 
179738
 
-
 
179739
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
179740
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
179741
      EX((short)1, "ex");
-
 
179742
 
-
 
179743
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
179744
 
-
 
179745
      static {
-
 
179746
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
179747
          byName.put(field.getFieldName(), field);
-
 
179748
        }
-
 
179749
      }
-
 
179750
 
-
 
179751
      /**
-
 
179752
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
179753
       */
-
 
179754
      public static _Fields findByThriftId(int fieldId) {
-
 
179755
        switch(fieldId) {
-
 
179756
          case 1: // EX
-
 
179757
            return EX;
-
 
179758
          default:
-
 
179759
            return null;
-
 
179760
        }
-
 
179761
      }
-
 
179762
 
-
 
179763
      /**
-
 
179764
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
179765
       * if it is not found.
-
 
179766
       */
-
 
179767
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
179768
        _Fields fields = findByThriftId(fieldId);
-
 
179769
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
179770
        return fields;
-
 
179771
      }
-
 
179772
 
-
 
179773
      /**
-
 
179774
       * Find the _Fields constant that matches name, or null if its not found.
-
 
179775
       */
-
 
179776
      public static _Fields findByName(String name) {
-
 
179777
        return byName.get(name);
-
 
179778
      }
-
 
179779
 
-
 
179780
      private final short _thriftId;
-
 
179781
      private final String _fieldName;
-
 
179782
 
-
 
179783
      _Fields(short thriftId, String fieldName) {
-
 
179784
        _thriftId = thriftId;
-
 
179785
        _fieldName = fieldName;
-
 
179786
      }
-
 
179787
 
-
 
179788
      public short getThriftFieldId() {
-
 
179789
        return _thriftId;
-
 
179790
      }
-
 
179791
 
-
 
179792
      public String getFieldName() {
-
 
179793
        return _fieldName;
-
 
179794
      }
-
 
179795
    }
-
 
179796
 
-
 
179797
    // isset id assignments
-
 
179798
 
-
 
179799
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
179800
    static {
-
 
179801
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
179802
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
179803
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
179804
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
179805
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateAmazonFbaOrdersReturns_result.class, metaDataMap);
-
 
179806
    }
-
 
179807
 
-
 
179808
    public updateAmazonFbaOrdersReturns_result() {
-
 
179809
    }
-
 
179810
 
-
 
179811
    public updateAmazonFbaOrdersReturns_result(
-
 
179812
      TransactionServiceException ex)
-
 
179813
    {
-
 
179814
      this();
-
 
179815
      this.ex = ex;
-
 
179816
    }
-
 
179817
 
-
 
179818
    /**
-
 
179819
     * Performs a deep copy on <i>other</i>.
-
 
179820
     */
-
 
179821
    public updateAmazonFbaOrdersReturns_result(updateAmazonFbaOrdersReturns_result other) {
-
 
179822
      if (other.isSetEx()) {
-
 
179823
        this.ex = new TransactionServiceException(other.ex);
-
 
179824
      }
-
 
179825
    }
-
 
179826
 
-
 
179827
    public updateAmazonFbaOrdersReturns_result deepCopy() {
-
 
179828
      return new updateAmazonFbaOrdersReturns_result(this);
-
 
179829
    }
-
 
179830
 
-
 
179831
    @Override
-
 
179832
    public void clear() {
-
 
179833
      this.ex = null;
-
 
179834
    }
-
 
179835
 
-
 
179836
    public TransactionServiceException getEx() {
-
 
179837
      return this.ex;
-
 
179838
    }
-
 
179839
 
-
 
179840
    public void setEx(TransactionServiceException ex) {
-
 
179841
      this.ex = ex;
-
 
179842
    }
-
 
179843
 
-
 
179844
    public void unsetEx() {
-
 
179845
      this.ex = null;
-
 
179846
    }
-
 
179847
 
-
 
179848
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
179849
    public boolean isSetEx() {
-
 
179850
      return this.ex != null;
-
 
179851
    }
-
 
179852
 
-
 
179853
    public void setExIsSet(boolean value) {
-
 
179854
      if (!value) {
-
 
179855
        this.ex = null;
-
 
179856
      }
-
 
179857
    }
-
 
179858
 
-
 
179859
    public void setFieldValue(_Fields field, Object value) {
-
 
179860
      switch (field) {
-
 
179861
      case EX:
-
 
179862
        if (value == null) {
-
 
179863
          unsetEx();
-
 
179864
        } else {
-
 
179865
          setEx((TransactionServiceException)value);
-
 
179866
        }
-
 
179867
        break;
-
 
179868
 
-
 
179869
      }
-
 
179870
    }
-
 
179871
 
-
 
179872
    public Object getFieldValue(_Fields field) {
-
 
179873
      switch (field) {
-
 
179874
      case EX:
-
 
179875
        return getEx();
-
 
179876
 
-
 
179877
      }
-
 
179878
      throw new IllegalStateException();
-
 
179879
    }
-
 
179880
 
-
 
179881
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
179882
    public boolean isSet(_Fields field) {
-
 
179883
      if (field == null) {
-
 
179884
        throw new IllegalArgumentException();
-
 
179885
      }
-
 
179886
 
-
 
179887
      switch (field) {
-
 
179888
      case EX:
-
 
179889
        return isSetEx();
-
 
179890
      }
-
 
179891
      throw new IllegalStateException();
-
 
179892
    }
-
 
179893
 
-
 
179894
    @Override
-
 
179895
    public boolean equals(Object that) {
-
 
179896
      if (that == null)
-
 
179897
        return false;
-
 
179898
      if (that instanceof updateAmazonFbaOrdersReturns_result)
-
 
179899
        return this.equals((updateAmazonFbaOrdersReturns_result)that);
-
 
179900
      return false;
-
 
179901
    }
-
 
179902
 
-
 
179903
    public boolean equals(updateAmazonFbaOrdersReturns_result that) {
-
 
179904
      if (that == null)
-
 
179905
        return false;
-
 
179906
 
-
 
179907
      boolean this_present_ex = true && this.isSetEx();
-
 
179908
      boolean that_present_ex = true && that.isSetEx();
-
 
179909
      if (this_present_ex || that_present_ex) {
-
 
179910
        if (!(this_present_ex && that_present_ex))
-
 
179911
          return false;
-
 
179912
        if (!this.ex.equals(that.ex))
-
 
179913
          return false;
-
 
179914
      }
-
 
179915
 
-
 
179916
      return true;
-
 
179917
    }
-
 
179918
 
-
 
179919
    @Override
-
 
179920
    public int hashCode() {
-
 
179921
      return 0;
-
 
179922
    }
-
 
179923
 
-
 
179924
    public int compareTo(updateAmazonFbaOrdersReturns_result other) {
-
 
179925
      if (!getClass().equals(other.getClass())) {
-
 
179926
        return getClass().getName().compareTo(other.getClass().getName());
-
 
179927
      }
-
 
179928
 
-
 
179929
      int lastComparison = 0;
-
 
179930
      updateAmazonFbaOrdersReturns_result typedOther = (updateAmazonFbaOrdersReturns_result)other;
-
 
179931
 
-
 
179932
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
179933
      if (lastComparison != 0) {
-
 
179934
        return lastComparison;
-
 
179935
      }
-
 
179936
      if (isSetEx()) {
-
 
179937
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
179938
        if (lastComparison != 0) {
-
 
179939
          return lastComparison;
-
 
179940
        }
-
 
179941
      }
-
 
179942
      return 0;
-
 
179943
    }
-
 
179944
 
-
 
179945
    public _Fields fieldForId(int fieldId) {
-
 
179946
      return _Fields.findByThriftId(fieldId);
-
 
179947
    }
-
 
179948
 
-
 
179949
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
179950
      org.apache.thrift.protocol.TField field;
-
 
179951
      iprot.readStructBegin();
-
 
179952
      while (true)
-
 
179953
      {
-
 
179954
        field = iprot.readFieldBegin();
-
 
179955
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
179956
          break;
-
 
179957
        }
-
 
179958
        switch (field.id) {
-
 
179959
          case 1: // EX
-
 
179960
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
179961
              this.ex = new TransactionServiceException();
-
 
179962
              this.ex.read(iprot);
-
 
179963
            } else { 
-
 
179964
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
179965
            }
-
 
179966
            break;
-
 
179967
          default:
-
 
179968
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
179969
        }
-
 
179970
        iprot.readFieldEnd();
-
 
179971
      }
-
 
179972
      iprot.readStructEnd();
-
 
179973
      validate();
-
 
179974
    }
-
 
179975
 
-
 
179976
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
179977
      oprot.writeStructBegin(STRUCT_DESC);
-
 
179978
 
-
 
179979
      if (this.isSetEx()) {
-
 
179980
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
179981
        this.ex.write(oprot);
-
 
179982
        oprot.writeFieldEnd();
-
 
179983
      }
-
 
179984
      oprot.writeFieldStop();
-
 
179985
      oprot.writeStructEnd();
-
 
179986
    }
-
 
179987
 
-
 
179988
    @Override
-
 
179989
    public String toString() {
-
 
179990
      StringBuilder sb = new StringBuilder("updateAmazonFbaOrdersReturns_result(");
-
 
179991
      boolean first = true;
-
 
179992
 
-
 
179993
      sb.append("ex:");
-
 
179994
      if (this.ex == null) {
-
 
179995
        sb.append("null");
-
 
179996
      } else {
-
 
179997
        sb.append(this.ex);
-
 
179998
      }
-
 
179999
      first = false;
-
 
180000
      sb.append(")");
-
 
180001
      return sb.toString();
-
 
180002
    }
-
 
180003
 
-
 
180004
    public void validate() throws org.apache.thrift.TException {
-
 
180005
      // check for required fields
-
 
180006
    }
-
 
180007
 
-
 
180008
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
180009
      try {
-
 
180010
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
180011
      } catch (org.apache.thrift.TException te) {
-
 
180012
        throw new java.io.IOException(te);
-
 
180013
      }
-
 
180014
    }
-
 
180015
 
-
 
180016
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
180017
      try {
-
 
180018
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
180019
      } catch (org.apache.thrift.TException te) {
-
 
180020
        throw new java.io.IOException(te);
-
 
180021
      }
-
 
180022
    }
-
 
180023
 
-
 
180024
  }
-
 
180025
 
-
 
180026
  public static class getAllAmazonFbaOrderReturnsByCurrentTime_args implements org.apache.thrift.TBase<getAllAmazonFbaOrderReturnsByCurrentTime_args, getAllAmazonFbaOrderReturnsByCurrentTime_args._Fields>, java.io.Serializable, Cloneable   {
-
 
180027
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllAmazonFbaOrderReturnsByCurrentTime_args");
-
 
180028
 
-
 
180029
    private static final org.apache.thrift.protocol.TField INSERTION_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("insertionTimestamp", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
180030
 
-
 
180031
    private long insertionTimestamp; // required
-
 
180032
 
-
 
180033
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
180034
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
180035
      INSERTION_TIMESTAMP((short)1, "insertionTimestamp");
-
 
180036
 
-
 
180037
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
180038
 
-
 
180039
      static {
-
 
180040
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
180041
          byName.put(field.getFieldName(), field);
-
 
180042
        }
-
 
180043
      }
-
 
180044
 
-
 
180045
      /**
-
 
180046
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
180047
       */
-
 
180048
      public static _Fields findByThriftId(int fieldId) {
-
 
180049
        switch(fieldId) {
-
 
180050
          case 1: // INSERTION_TIMESTAMP
-
 
180051
            return INSERTION_TIMESTAMP;
-
 
180052
          default:
-
 
180053
            return null;
-
 
180054
        }
-
 
180055
      }
-
 
180056
 
-
 
180057
      /**
-
 
180058
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
180059
       * if it is not found.
-
 
180060
       */
-
 
180061
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
180062
        _Fields fields = findByThriftId(fieldId);
-
 
180063
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
180064
        return fields;
-
 
180065
      }
-
 
180066
 
-
 
180067
      /**
-
 
180068
       * Find the _Fields constant that matches name, or null if its not found.
-
 
180069
       */
-
 
180070
      public static _Fields findByName(String name) {
-
 
180071
        return byName.get(name);
-
 
180072
      }
-
 
180073
 
-
 
180074
      private final short _thriftId;
-
 
180075
      private final String _fieldName;
-
 
180076
 
-
 
180077
      _Fields(short thriftId, String fieldName) {
-
 
180078
        _thriftId = thriftId;
-
 
180079
        _fieldName = fieldName;
-
 
180080
      }
-
 
180081
 
-
 
180082
      public short getThriftFieldId() {
-
 
180083
        return _thriftId;
-
 
180084
      }
-
 
180085
 
-
 
180086
      public String getFieldName() {
-
 
180087
        return _fieldName;
-
 
180088
      }
-
 
180089
    }
-
 
180090
 
-
 
180091
    // isset id assignments
-
 
180092
    private static final int __INSERTIONTIMESTAMP_ISSET_ID = 0;
-
 
180093
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
180094
 
-
 
180095
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
180096
    static {
-
 
180097
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
180098
      tmpMap.put(_Fields.INSERTION_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("insertionTimestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
180099
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
180100
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
180101
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllAmazonFbaOrderReturnsByCurrentTime_args.class, metaDataMap);
-
 
180102
    }
-
 
180103
 
-
 
180104
    public getAllAmazonFbaOrderReturnsByCurrentTime_args() {
-
 
180105
    }
-
 
180106
 
-
 
180107
    public getAllAmazonFbaOrderReturnsByCurrentTime_args(
-
 
180108
      long insertionTimestamp)
-
 
180109
    {
-
 
180110
      this();
-
 
180111
      this.insertionTimestamp = insertionTimestamp;
-
 
180112
      setInsertionTimestampIsSet(true);
-
 
180113
    }
-
 
180114
 
-
 
180115
    /**
-
 
180116
     * Performs a deep copy on <i>other</i>.
-
 
180117
     */
-
 
180118
    public getAllAmazonFbaOrderReturnsByCurrentTime_args(getAllAmazonFbaOrderReturnsByCurrentTime_args other) {
-
 
180119
      __isset_bit_vector.clear();
-
 
180120
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
180121
      this.insertionTimestamp = other.insertionTimestamp;
-
 
180122
    }
-
 
180123
 
-
 
180124
    public getAllAmazonFbaOrderReturnsByCurrentTime_args deepCopy() {
-
 
180125
      return new getAllAmazonFbaOrderReturnsByCurrentTime_args(this);
-
 
180126
    }
-
 
180127
 
-
 
180128
    @Override
-
 
180129
    public void clear() {
-
 
180130
      setInsertionTimestampIsSet(false);
-
 
180131
      this.insertionTimestamp = 0;
-
 
180132
    }
-
 
180133
 
-
 
180134
    public long getInsertionTimestamp() {
-
 
180135
      return this.insertionTimestamp;
-
 
180136
    }
-
 
180137
 
-
 
180138
    public void setInsertionTimestamp(long insertionTimestamp) {
-
 
180139
      this.insertionTimestamp = insertionTimestamp;
-
 
180140
      setInsertionTimestampIsSet(true);
-
 
180141
    }
-
 
180142
 
-
 
180143
    public void unsetInsertionTimestamp() {
-
 
180144
      __isset_bit_vector.clear(__INSERTIONTIMESTAMP_ISSET_ID);
-
 
180145
    }
-
 
180146
 
-
 
180147
    /** Returns true if field insertionTimestamp is set (has been assigned a value) and false otherwise */
-
 
180148
    public boolean isSetInsertionTimestamp() {
-
 
180149
      return __isset_bit_vector.get(__INSERTIONTIMESTAMP_ISSET_ID);
-
 
180150
    }
-
 
180151
 
-
 
180152
    public void setInsertionTimestampIsSet(boolean value) {
-
 
180153
      __isset_bit_vector.set(__INSERTIONTIMESTAMP_ISSET_ID, value);
-
 
180154
    }
-
 
180155
 
-
 
180156
    public void setFieldValue(_Fields field, Object value) {
-
 
180157
      switch (field) {
-
 
180158
      case INSERTION_TIMESTAMP:
-
 
180159
        if (value == null) {
-
 
180160
          unsetInsertionTimestamp();
-
 
180161
        } else {
-
 
180162
          setInsertionTimestamp((Long)value);
-
 
180163
        }
-
 
180164
        break;
-
 
180165
 
-
 
180166
      }
-
 
180167
    }
-
 
180168
 
-
 
180169
    public Object getFieldValue(_Fields field) {
-
 
180170
      switch (field) {
-
 
180171
      case INSERTION_TIMESTAMP:
-
 
180172
        return Long.valueOf(getInsertionTimestamp());
-
 
180173
 
-
 
180174
      }
-
 
180175
      throw new IllegalStateException();
-
 
180176
    }
-
 
180177
 
-
 
180178
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
180179
    public boolean isSet(_Fields field) {
-
 
180180
      if (field == null) {
-
 
180181
        throw new IllegalArgumentException();
-
 
180182
      }
-
 
180183
 
-
 
180184
      switch (field) {
-
 
180185
      case INSERTION_TIMESTAMP:
-
 
180186
        return isSetInsertionTimestamp();
-
 
180187
      }
-
 
180188
      throw new IllegalStateException();
-
 
180189
    }
-
 
180190
 
-
 
180191
    @Override
-
 
180192
    public boolean equals(Object that) {
-
 
180193
      if (that == null)
-
 
180194
        return false;
-
 
180195
      if (that instanceof getAllAmazonFbaOrderReturnsByCurrentTime_args)
-
 
180196
        return this.equals((getAllAmazonFbaOrderReturnsByCurrentTime_args)that);
-
 
180197
      return false;
-
 
180198
    }
-
 
180199
 
-
 
180200
    public boolean equals(getAllAmazonFbaOrderReturnsByCurrentTime_args that) {
-
 
180201
      if (that == null)
-
 
180202
        return false;
-
 
180203
 
-
 
180204
      boolean this_present_insertionTimestamp = true;
-
 
180205
      boolean that_present_insertionTimestamp = true;
-
 
180206
      if (this_present_insertionTimestamp || that_present_insertionTimestamp) {
-
 
180207
        if (!(this_present_insertionTimestamp && that_present_insertionTimestamp))
-
 
180208
          return false;
-
 
180209
        if (this.insertionTimestamp != that.insertionTimestamp)
-
 
180210
          return false;
-
 
180211
      }
-
 
180212
 
-
 
180213
      return true;
-
 
180214
    }
-
 
180215
 
-
 
180216
    @Override
-
 
180217
    public int hashCode() {
-
 
180218
      return 0;
-
 
180219
    }
-
 
180220
 
-
 
180221
    public int compareTo(getAllAmazonFbaOrderReturnsByCurrentTime_args other) {
-
 
180222
      if (!getClass().equals(other.getClass())) {
-
 
180223
        return getClass().getName().compareTo(other.getClass().getName());
-
 
180224
      }
-
 
180225
 
-
 
180226
      int lastComparison = 0;
-
 
180227
      getAllAmazonFbaOrderReturnsByCurrentTime_args typedOther = (getAllAmazonFbaOrderReturnsByCurrentTime_args)other;
-
 
180228
 
-
 
180229
      lastComparison = Boolean.valueOf(isSetInsertionTimestamp()).compareTo(typedOther.isSetInsertionTimestamp());
-
 
180230
      if (lastComparison != 0) {
-
 
180231
        return lastComparison;
-
 
180232
      }
-
 
180233
      if (isSetInsertionTimestamp()) {
-
 
180234
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.insertionTimestamp, typedOther.insertionTimestamp);
-
 
180235
        if (lastComparison != 0) {
-
 
180236
          return lastComparison;
-
 
180237
        }
-
 
180238
      }
-
 
180239
      return 0;
-
 
180240
    }
-
 
180241
 
-
 
180242
    public _Fields fieldForId(int fieldId) {
-
 
180243
      return _Fields.findByThriftId(fieldId);
-
 
180244
    }
-
 
180245
 
-
 
180246
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
180247
      org.apache.thrift.protocol.TField field;
-
 
180248
      iprot.readStructBegin();
-
 
180249
      while (true)
-
 
180250
      {
-
 
180251
        field = iprot.readFieldBegin();
-
 
180252
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
180253
          break;
-
 
180254
        }
-
 
180255
        switch (field.id) {
-
 
180256
          case 1: // INSERTION_TIMESTAMP
-
 
180257
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
180258
              this.insertionTimestamp = iprot.readI64();
-
 
180259
              setInsertionTimestampIsSet(true);
-
 
180260
            } else { 
-
 
180261
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
180262
            }
-
 
180263
            break;
-
 
180264
          default:
-
 
180265
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
180266
        }
-
 
180267
        iprot.readFieldEnd();
-
 
180268
      }
-
 
180269
      iprot.readStructEnd();
-
 
180270
      validate();
-
 
180271
    }
-
 
180272
 
-
 
180273
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
180274
      validate();
-
 
180275
 
-
 
180276
      oprot.writeStructBegin(STRUCT_DESC);
-
 
180277
      oprot.writeFieldBegin(INSERTION_TIMESTAMP_FIELD_DESC);
-
 
180278
      oprot.writeI64(this.insertionTimestamp);
-
 
180279
      oprot.writeFieldEnd();
-
 
180280
      oprot.writeFieldStop();
-
 
180281
      oprot.writeStructEnd();
-
 
180282
    }
-
 
180283
 
-
 
180284
    @Override
-
 
180285
    public String toString() {
-
 
180286
      StringBuilder sb = new StringBuilder("getAllAmazonFbaOrderReturnsByCurrentTime_args(");
-
 
180287
      boolean first = true;
-
 
180288
 
-
 
180289
      sb.append("insertionTimestamp:");
-
 
180290
      sb.append(this.insertionTimestamp);
-
 
180291
      first = false;
-
 
180292
      sb.append(")");
-
 
180293
      return sb.toString();
-
 
180294
    }
-
 
180295
 
-
 
180296
    public void validate() throws org.apache.thrift.TException {
-
 
180297
      // check for required fields
-
 
180298
    }
-
 
180299
 
-
 
180300
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
180301
      try {
-
 
180302
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
180303
      } catch (org.apache.thrift.TException te) {
-
 
180304
        throw new java.io.IOException(te);
-
 
180305
      }
-
 
180306
    }
-
 
180307
 
-
 
180308
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
180309
      try {
-
 
180310
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
180311
        __isset_bit_vector = new BitSet(1);
-
 
180312
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
180313
      } catch (org.apache.thrift.TException te) {
-
 
180314
        throw new java.io.IOException(te);
-
 
180315
      }
-
 
180316
    }
-
 
180317
 
-
 
180318
  }
-
 
180319
 
-
 
180320
  public static class getAllAmazonFbaOrderReturnsByCurrentTime_result implements org.apache.thrift.TBase<getAllAmazonFbaOrderReturnsByCurrentTime_result, getAllAmazonFbaOrderReturnsByCurrentTime_result._Fields>, java.io.Serializable, Cloneable   {
-
 
180321
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllAmazonFbaOrderReturnsByCurrentTime_result");
-
 
180322
 
-
 
180323
    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);
-
 
180324
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
180325
 
-
 
180326
    private List<AmazonFbaOrderReturns> success; // required
-
 
180327
    private TransactionServiceException ex; // required
-
 
180328
 
-
 
180329
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
180330
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
180331
      SUCCESS((short)0, "success"),
-
 
180332
      EX((short)1, "ex");
-
 
180333
 
-
 
180334
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
180335
 
-
 
180336
      static {
-
 
180337
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
180338
          byName.put(field.getFieldName(), field);
-
 
180339
        }
-
 
180340
      }
-
 
180341
 
-
 
180342
      /**
-
 
180343
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
180344
       */
-
 
180345
      public static _Fields findByThriftId(int fieldId) {
-
 
180346
        switch(fieldId) {
-
 
180347
          case 0: // SUCCESS
-
 
180348
            return SUCCESS;
-
 
180349
          case 1: // EX
-
 
180350
            return EX;
-
 
180351
          default:
-
 
180352
            return null;
-
 
180353
        }
-
 
180354
      }
-
 
180355
 
-
 
180356
      /**
-
 
180357
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
180358
       * if it is not found.
-
 
180359
       */
-
 
180360
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
180361
        _Fields fields = findByThriftId(fieldId);
-
 
180362
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
180363
        return fields;
-
 
180364
      }
-
 
180365
 
-
 
180366
      /**
-
 
180367
       * Find the _Fields constant that matches name, or null if its not found.
-
 
180368
       */
-
 
180369
      public static _Fields findByName(String name) {
-
 
180370
        return byName.get(name);
-
 
180371
      }
-
 
180372
 
-
 
180373
      private final short _thriftId;
-
 
180374
      private final String _fieldName;
-
 
180375
 
-
 
180376
      _Fields(short thriftId, String fieldName) {
-
 
180377
        _thriftId = thriftId;
-
 
180378
        _fieldName = fieldName;
-
 
180379
      }
-
 
180380
 
-
 
180381
      public short getThriftFieldId() {
-
 
180382
        return _thriftId;
-
 
180383
      }
-
 
180384
 
-
 
180385
      public String getFieldName() {
-
 
180386
        return _fieldName;
-
 
180387
      }
-
 
180388
    }
-
 
180389
 
-
 
180390
    // isset id assignments
-
 
180391
 
-
 
180392
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
180393
    static {
-
 
180394
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
180395
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
180396
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
180397
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AmazonFbaOrderReturns.class))));
-
 
180398
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
180399
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
180400
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
180401
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllAmazonFbaOrderReturnsByCurrentTime_result.class, metaDataMap);
-
 
180402
    }
-
 
180403
 
-
 
180404
    public getAllAmazonFbaOrderReturnsByCurrentTime_result() {
-
 
180405
    }
-
 
180406
 
-
 
180407
    public getAllAmazonFbaOrderReturnsByCurrentTime_result(
-
 
180408
      List<AmazonFbaOrderReturns> success,
-
 
180409
      TransactionServiceException ex)
-
 
180410
    {
-
 
180411
      this();
-
 
180412
      this.success = success;
-
 
180413
      this.ex = ex;
-
 
180414
    }
-
 
180415
 
-
 
180416
    /**
-
 
180417
     * Performs a deep copy on <i>other</i>.
-
 
180418
     */
-
 
180419
    public getAllAmazonFbaOrderReturnsByCurrentTime_result(getAllAmazonFbaOrderReturnsByCurrentTime_result other) {
-
 
180420
      if (other.isSetSuccess()) {
-
 
180421
        List<AmazonFbaOrderReturns> __this__success = new ArrayList<AmazonFbaOrderReturns>();
-
 
180422
        for (AmazonFbaOrderReturns other_element : other.success) {
-
 
180423
          __this__success.add(new AmazonFbaOrderReturns(other_element));
-
 
180424
        }
-
 
180425
        this.success = __this__success;
-
 
180426
      }
-
 
180427
      if (other.isSetEx()) {
-
 
180428
        this.ex = new TransactionServiceException(other.ex);
-
 
180429
      }
-
 
180430
    }
-
 
180431
 
-
 
180432
    public getAllAmazonFbaOrderReturnsByCurrentTime_result deepCopy() {
-
 
180433
      return new getAllAmazonFbaOrderReturnsByCurrentTime_result(this);
-
 
180434
    }
-
 
180435
 
-
 
180436
    @Override
-
 
180437
    public void clear() {
-
 
180438
      this.success = null;
-
 
180439
      this.ex = null;
-
 
180440
    }
-
 
180441
 
-
 
180442
    public int getSuccessSize() {
-
 
180443
      return (this.success == null) ? 0 : this.success.size();
-
 
180444
    }
-
 
180445
 
-
 
180446
    public java.util.Iterator<AmazonFbaOrderReturns> getSuccessIterator() {
-
 
180447
      return (this.success == null) ? null : this.success.iterator();
-
 
180448
    }
-
 
180449
 
-
 
180450
    public void addToSuccess(AmazonFbaOrderReturns elem) {
-
 
180451
      if (this.success == null) {
-
 
180452
        this.success = new ArrayList<AmazonFbaOrderReturns>();
-
 
180453
      }
-
 
180454
      this.success.add(elem);
-
 
180455
    }
-
 
180456
 
-
 
180457
    public List<AmazonFbaOrderReturns> getSuccess() {
-
 
180458
      return this.success;
-
 
180459
    }
-
 
180460
 
-
 
180461
    public void setSuccess(List<AmazonFbaOrderReturns> success) {
-
 
180462
      this.success = success;
-
 
180463
    }
-
 
180464
 
-
 
180465
    public void unsetSuccess() {
-
 
180466
      this.success = null;
-
 
180467
    }
-
 
180468
 
-
 
180469
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
180470
    public boolean isSetSuccess() {
-
 
180471
      return this.success != null;
-
 
180472
    }
-
 
180473
 
-
 
180474
    public void setSuccessIsSet(boolean value) {
-
 
180475
      if (!value) {
-
 
180476
        this.success = null;
-
 
180477
      }
-
 
180478
    }
-
 
180479
 
-
 
180480
    public TransactionServiceException getEx() {
-
 
180481
      return this.ex;
-
 
180482
    }
-
 
180483
 
-
 
180484
    public void setEx(TransactionServiceException ex) {
-
 
180485
      this.ex = ex;
-
 
180486
    }
-
 
180487
 
-
 
180488
    public void unsetEx() {
-
 
180489
      this.ex = null;
-
 
180490
    }
-
 
180491
 
-
 
180492
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
180493
    public boolean isSetEx() {
-
 
180494
      return this.ex != null;
-
 
180495
    }
-
 
180496
 
-
 
180497
    public void setExIsSet(boolean value) {
-
 
180498
      if (!value) {
-
 
180499
        this.ex = null;
-
 
180500
      }
-
 
180501
    }
-
 
180502
 
-
 
180503
    public void setFieldValue(_Fields field, Object value) {
-
 
180504
      switch (field) {
-
 
180505
      case SUCCESS:
-
 
180506
        if (value == null) {
-
 
180507
          unsetSuccess();
-
 
180508
        } else {
-
 
180509
          setSuccess((List<AmazonFbaOrderReturns>)value);
-
 
180510
        }
-
 
180511
        break;
-
 
180512
 
-
 
180513
      case EX:
-
 
180514
        if (value == null) {
-
 
180515
          unsetEx();
-
 
180516
        } else {
-
 
180517
          setEx((TransactionServiceException)value);
-
 
180518
        }
-
 
180519
        break;
-
 
180520
 
-
 
180521
      }
-
 
180522
    }
-
 
180523
 
-
 
180524
    public Object getFieldValue(_Fields field) {
-
 
180525
      switch (field) {
-
 
180526
      case SUCCESS:
-
 
180527
        return getSuccess();
-
 
180528
 
-
 
180529
      case EX:
-
 
180530
        return getEx();
-
 
180531
 
-
 
180532
      }
-
 
180533
      throw new IllegalStateException();
-
 
180534
    }
-
 
180535
 
-
 
180536
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
180537
    public boolean isSet(_Fields field) {
-
 
180538
      if (field == null) {
-
 
180539
        throw new IllegalArgumentException();
-
 
180540
      }
-
 
180541
 
-
 
180542
      switch (field) {
-
 
180543
      case SUCCESS:
-
 
180544
        return isSetSuccess();
-
 
180545
      case EX:
-
 
180546
        return isSetEx();
-
 
180547
      }
-
 
180548
      throw new IllegalStateException();
-
 
180549
    }
-
 
180550
 
-
 
180551
    @Override
-
 
180552
    public boolean equals(Object that) {
-
 
180553
      if (that == null)
-
 
180554
        return false;
-
 
180555
      if (that instanceof getAllAmazonFbaOrderReturnsByCurrentTime_result)
-
 
180556
        return this.equals((getAllAmazonFbaOrderReturnsByCurrentTime_result)that);
-
 
180557
      return false;
-
 
180558
    }
-
 
180559
 
-
 
180560
    public boolean equals(getAllAmazonFbaOrderReturnsByCurrentTime_result that) {
-
 
180561
      if (that == null)
-
 
180562
        return false;
-
 
180563
 
-
 
180564
      boolean this_present_success = true && this.isSetSuccess();
-
 
180565
      boolean that_present_success = true && that.isSetSuccess();
-
 
180566
      if (this_present_success || that_present_success) {
-
 
180567
        if (!(this_present_success && that_present_success))
-
 
180568
          return false;
-
 
180569
        if (!this.success.equals(that.success))
-
 
180570
          return false;
-
 
180571
      }
-
 
180572
 
-
 
180573
      boolean this_present_ex = true && this.isSetEx();
-
 
180574
      boolean that_present_ex = true && that.isSetEx();
-
 
180575
      if (this_present_ex || that_present_ex) {
-
 
180576
        if (!(this_present_ex && that_present_ex))
-
 
180577
          return false;
-
 
180578
        if (!this.ex.equals(that.ex))
-
 
180579
          return false;
-
 
180580
      }
-
 
180581
 
-
 
180582
      return true;
-
 
180583
    }
-
 
180584
 
-
 
180585
    @Override
-
 
180586
    public int hashCode() {
-
 
180587
      return 0;
-
 
180588
    }
-
 
180589
 
-
 
180590
    public int compareTo(getAllAmazonFbaOrderReturnsByCurrentTime_result other) {
-
 
180591
      if (!getClass().equals(other.getClass())) {
-
 
180592
        return getClass().getName().compareTo(other.getClass().getName());
-
 
180593
      }
-
 
180594
 
-
 
180595
      int lastComparison = 0;
-
 
180596
      getAllAmazonFbaOrderReturnsByCurrentTime_result typedOther = (getAllAmazonFbaOrderReturnsByCurrentTime_result)other;
-
 
180597
 
-
 
180598
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
180599
      if (lastComparison != 0) {
-
 
180600
        return lastComparison;
-
 
180601
      }
-
 
180602
      if (isSetSuccess()) {
-
 
180603
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
180604
        if (lastComparison != 0) {
-
 
180605
          return lastComparison;
-
 
180606
        }
-
 
180607
      }
-
 
180608
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
180609
      if (lastComparison != 0) {
-
 
180610
        return lastComparison;
-
 
180611
      }
-
 
180612
      if (isSetEx()) {
-
 
180613
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
180614
        if (lastComparison != 0) {
-
 
180615
          return lastComparison;
-
 
180616
        }
-
 
180617
      }
-
 
180618
      return 0;
-
 
180619
    }
-
 
180620
 
-
 
180621
    public _Fields fieldForId(int fieldId) {
-
 
180622
      return _Fields.findByThriftId(fieldId);
-
 
180623
    }
-
 
180624
 
-
 
180625
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
180626
      org.apache.thrift.protocol.TField field;
-
 
180627
      iprot.readStructBegin();
-
 
180628
      while (true)
-
 
180629
      {
-
 
180630
        field = iprot.readFieldBegin();
-
 
180631
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
180632
          break;
-
 
180633
        }
-
 
180634
        switch (field.id) {
-
 
180635
          case 0: // SUCCESS
-
 
180636
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
180637
              {
-
 
180638
                org.apache.thrift.protocol.TList _list563 = iprot.readListBegin();
-
 
180639
                this.success = new ArrayList<AmazonFbaOrderReturns>(_list563.size);
-
 
180640
                for (int _i564 = 0; _i564 < _list563.size; ++_i564)
-
 
180641
                {
-
 
180642
                  AmazonFbaOrderReturns _elem565; // required
-
 
180643
                  _elem565 = new AmazonFbaOrderReturns();
-
 
180644
                  _elem565.read(iprot);
-
 
180645
                  this.success.add(_elem565);
-
 
180646
                }
-
 
180647
                iprot.readListEnd();
-
 
180648
              }
-
 
180649
            } else { 
-
 
180650
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
180651
            }
-
 
180652
            break;
-
 
180653
          case 1: // EX
-
 
180654
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
180655
              this.ex = new TransactionServiceException();
-
 
180656
              this.ex.read(iprot);
-
 
180657
            } else { 
-
 
180658
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
180659
            }
-
 
180660
            break;
-
 
180661
          default:
-
 
180662
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
180663
        }
-
 
180664
        iprot.readFieldEnd();
-
 
180665
      }
-
 
180666
      iprot.readStructEnd();
-
 
180667
      validate();
-
 
180668
    }
-
 
180669
 
-
 
180670
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
180671
      oprot.writeStructBegin(STRUCT_DESC);
-
 
180672
 
-
 
180673
      if (this.isSetSuccess()) {
-
 
180674
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
180675
        {
-
 
180676
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
180677
          for (AmazonFbaOrderReturns _iter566 : this.success)
-
 
180678
          {
-
 
180679
            _iter566.write(oprot);
-
 
180680
          }
-
 
180681
          oprot.writeListEnd();
-
 
180682
        }
-
 
180683
        oprot.writeFieldEnd();
-
 
180684
      } else if (this.isSetEx()) {
-
 
180685
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
180686
        this.ex.write(oprot);
-
 
180687
        oprot.writeFieldEnd();
-
 
180688
      }
-
 
180689
      oprot.writeFieldStop();
-
 
180690
      oprot.writeStructEnd();
-
 
180691
    }
-
 
180692
 
-
 
180693
    @Override
-
 
180694
    public String toString() {
-
 
180695
      StringBuilder sb = new StringBuilder("getAllAmazonFbaOrderReturnsByCurrentTime_result(");
-
 
180696
      boolean first = true;
-
 
180697
 
-
 
180698
      sb.append("success:");
-
 
180699
      if (this.success == null) {
-
 
180700
        sb.append("null");
-
 
180701
      } else {
-
 
180702
        sb.append(this.success);
-
 
180703
      }
-
 
180704
      first = false;
-
 
180705
      if (!first) sb.append(", ");
-
 
180706
      sb.append("ex:");
-
 
180707
      if (this.ex == null) {
-
 
180708
        sb.append("null");
-
 
180709
      } else {
-
 
180710
        sb.append(this.ex);
-
 
180711
      }
-
 
180712
      first = false;
-
 
180713
      sb.append(")");
-
 
180714
      return sb.toString();
-
 
180715
    }
-
 
180716
 
-
 
180717
    public void validate() throws org.apache.thrift.TException {
-
 
180718
      // check for required fields
-
 
180719
    }
-
 
180720
 
-
 
180721
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
180722
      try {
-
 
180723
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
180724
      } catch (org.apache.thrift.TException te) {
-
 
180725
        throw new java.io.IOException(te);
-
 
180726
      }
-
 
180727
    }
-
 
180728
 
-
 
180729
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
180730
      try {
-
 
180731
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
180732
      } catch (org.apache.thrift.TException te) {
-
 
180733
        throw new java.io.IOException(te);
-
 
180734
      }
-
 
180735
    }
-
 
180736
 
-
 
180737
  }
-
 
180738
 
-
 
180739
  public static class getTotalSaleReturnsFbaSkusCurentTime_args implements org.apache.thrift.TBase<getTotalSaleReturnsFbaSkusCurentTime_args, getTotalSaleReturnsFbaSkusCurentTime_args._Fields>, java.io.Serializable, Cloneable   {
-
 
180740
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTotalSaleReturnsFbaSkusCurentTime_args");
-
 
180741
 
-
 
180742
    private static final org.apache.thrift.protocol.TField INSERTION_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("insertionTimestamp", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
180743
 
-
 
180744
    private long insertionTimestamp; // required
-
 
180745
 
-
 
180746
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
180747
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
180748
      INSERTION_TIMESTAMP((short)1, "insertionTimestamp");
-
 
180749
 
-
 
180750
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
180751
 
-
 
180752
      static {
-
 
180753
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
180754
          byName.put(field.getFieldName(), field);
-
 
180755
        }
-
 
180756
      }
-
 
180757
 
-
 
180758
      /**
-
 
180759
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
180760
       */
-
 
180761
      public static _Fields findByThriftId(int fieldId) {
-
 
180762
        switch(fieldId) {
-
 
180763
          case 1: // INSERTION_TIMESTAMP
-
 
180764
            return INSERTION_TIMESTAMP;
-
 
180765
          default:
-
 
180766
            return null;
-
 
180767
        }
-
 
180768
      }
-
 
180769
 
-
 
180770
      /**
-
 
180771
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
180772
       * if it is not found.
-
 
180773
       */
-
 
180774
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
180775
        _Fields fields = findByThriftId(fieldId);
-
 
180776
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
180777
        return fields;
-
 
180778
      }
-
 
180779
 
-
 
180780
      /**
-
 
180781
       * Find the _Fields constant that matches name, or null if its not found.
-
 
180782
       */
-
 
180783
      public static _Fields findByName(String name) {
-
 
180784
        return byName.get(name);
-
 
180785
      }
-
 
180786
 
-
 
180787
      private final short _thriftId;
-
 
180788
      private final String _fieldName;
-
 
180789
 
-
 
180790
      _Fields(short thriftId, String fieldName) {
-
 
180791
        _thriftId = thriftId;
-
 
180792
        _fieldName = fieldName;
-
 
180793
      }
-
 
180794
 
-
 
180795
      public short getThriftFieldId() {
-
 
180796
        return _thriftId;
-
 
180797
      }
-
 
180798
 
-
 
180799
      public String getFieldName() {
-
 
180800
        return _fieldName;
-
 
180801
      }
-
 
180802
    }
-
 
180803
 
-
 
180804
    // isset id assignments
-
 
180805
    private static final int __INSERTIONTIMESTAMP_ISSET_ID = 0;
-
 
180806
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
180807
 
-
 
180808
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
180809
    static {
-
 
180810
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
180811
      tmpMap.put(_Fields.INSERTION_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("insertionTimestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
180812
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
180813
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
180814
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTotalSaleReturnsFbaSkusCurentTime_args.class, metaDataMap);
-
 
180815
    }
-
 
180816
 
-
 
180817
    public getTotalSaleReturnsFbaSkusCurentTime_args() {
-
 
180818
    }
-
 
180819
 
-
 
180820
    public getTotalSaleReturnsFbaSkusCurentTime_args(
-
 
180821
      long insertionTimestamp)
-
 
180822
    {
-
 
180823
      this();
-
 
180824
      this.insertionTimestamp = insertionTimestamp;
-
 
180825
      setInsertionTimestampIsSet(true);
-
 
180826
    }
-
 
180827
 
-
 
180828
    /**
-
 
180829
     * Performs a deep copy on <i>other</i>.
-
 
180830
     */
-
 
180831
    public getTotalSaleReturnsFbaSkusCurentTime_args(getTotalSaleReturnsFbaSkusCurentTime_args other) {
-
 
180832
      __isset_bit_vector.clear();
-
 
180833
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
180834
      this.insertionTimestamp = other.insertionTimestamp;
-
 
180835
    }
-
 
180836
 
-
 
180837
    public getTotalSaleReturnsFbaSkusCurentTime_args deepCopy() {
-
 
180838
      return new getTotalSaleReturnsFbaSkusCurentTime_args(this);
-
 
180839
    }
-
 
180840
 
-
 
180841
    @Override
-
 
180842
    public void clear() {
-
 
180843
      setInsertionTimestampIsSet(false);
-
 
180844
      this.insertionTimestamp = 0;
-
 
180845
    }
-
 
180846
 
-
 
180847
    public long getInsertionTimestamp() {
-
 
180848
      return this.insertionTimestamp;
-
 
180849
    }
-
 
180850
 
-
 
180851
    public void setInsertionTimestamp(long insertionTimestamp) {
-
 
180852
      this.insertionTimestamp = insertionTimestamp;
-
 
180853
      setInsertionTimestampIsSet(true);
-
 
180854
    }
-
 
180855
 
-
 
180856
    public void unsetInsertionTimestamp() {
-
 
180857
      __isset_bit_vector.clear(__INSERTIONTIMESTAMP_ISSET_ID);
-
 
180858
    }
-
 
180859
 
-
 
180860
    /** Returns true if field insertionTimestamp is set (has been assigned a value) and false otherwise */
-
 
180861
    public boolean isSetInsertionTimestamp() {
-
 
180862
      return __isset_bit_vector.get(__INSERTIONTIMESTAMP_ISSET_ID);
-
 
180863
    }
-
 
180864
 
-
 
180865
    public void setInsertionTimestampIsSet(boolean value) {
-
 
180866
      __isset_bit_vector.set(__INSERTIONTIMESTAMP_ISSET_ID, value);
-
 
180867
    }
-
 
180868
 
-
 
180869
    public void setFieldValue(_Fields field, Object value) {
-
 
180870
      switch (field) {
-
 
180871
      case INSERTION_TIMESTAMP:
-
 
180872
        if (value == null) {
-
 
180873
          unsetInsertionTimestamp();
-
 
180874
        } else {
-
 
180875
          setInsertionTimestamp((Long)value);
-
 
180876
        }
-
 
180877
        break;
-
 
180878
 
-
 
180879
      }
-
 
180880
    }
-
 
180881
 
-
 
180882
    public Object getFieldValue(_Fields field) {
-
 
180883
      switch (field) {
-
 
180884
      case INSERTION_TIMESTAMP:
-
 
180885
        return Long.valueOf(getInsertionTimestamp());
-
 
180886
 
-
 
180887
      }
-
 
180888
      throw new IllegalStateException();
-
 
180889
    }
-
 
180890
 
-
 
180891
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
180892
    public boolean isSet(_Fields field) {
-
 
180893
      if (field == null) {
-
 
180894
        throw new IllegalArgumentException();
-
 
180895
      }
-
 
180896
 
-
 
180897
      switch (field) {
-
 
180898
      case INSERTION_TIMESTAMP:
-
 
180899
        return isSetInsertionTimestamp();
-
 
180900
      }
-
 
180901
      throw new IllegalStateException();
-
 
180902
    }
-
 
180903
 
-
 
180904
    @Override
-
 
180905
    public boolean equals(Object that) {
-
 
180906
      if (that == null)
-
 
180907
        return false;
-
 
180908
      if (that instanceof getTotalSaleReturnsFbaSkusCurentTime_args)
-
 
180909
        return this.equals((getTotalSaleReturnsFbaSkusCurentTime_args)that);
-
 
180910
      return false;
-
 
180911
    }
-
 
180912
 
-
 
180913
    public boolean equals(getTotalSaleReturnsFbaSkusCurentTime_args that) {
-
 
180914
      if (that == null)
-
 
180915
        return false;
-
 
180916
 
-
 
180917
      boolean this_present_insertionTimestamp = true;
-
 
180918
      boolean that_present_insertionTimestamp = true;
-
 
180919
      if (this_present_insertionTimestamp || that_present_insertionTimestamp) {
-
 
180920
        if (!(this_present_insertionTimestamp && that_present_insertionTimestamp))
-
 
180921
          return false;
-
 
180922
        if (this.insertionTimestamp != that.insertionTimestamp)
-
 
180923
          return false;
-
 
180924
      }
-
 
180925
 
-
 
180926
      return true;
-
 
180927
    }
-
 
180928
 
-
 
180929
    @Override
-
 
180930
    public int hashCode() {
-
 
180931
      return 0;
-
 
180932
    }
-
 
180933
 
-
 
180934
    public int compareTo(getTotalSaleReturnsFbaSkusCurentTime_args other) {
-
 
180935
      if (!getClass().equals(other.getClass())) {
-
 
180936
        return getClass().getName().compareTo(other.getClass().getName());
-
 
180937
      }
-
 
180938
 
-
 
180939
      int lastComparison = 0;
-
 
180940
      getTotalSaleReturnsFbaSkusCurentTime_args typedOther = (getTotalSaleReturnsFbaSkusCurentTime_args)other;
-
 
180941
 
-
 
180942
      lastComparison = Boolean.valueOf(isSetInsertionTimestamp()).compareTo(typedOther.isSetInsertionTimestamp());
-
 
180943
      if (lastComparison != 0) {
-
 
180944
        return lastComparison;
-
 
180945
      }
-
 
180946
      if (isSetInsertionTimestamp()) {
-
 
180947
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.insertionTimestamp, typedOther.insertionTimestamp);
-
 
180948
        if (lastComparison != 0) {
-
 
180949
          return lastComparison;
-
 
180950
        }
-
 
180951
      }
-
 
180952
      return 0;
-
 
180953
    }
-
 
180954
 
-
 
180955
    public _Fields fieldForId(int fieldId) {
-
 
180956
      return _Fields.findByThriftId(fieldId);
-
 
180957
    }
-
 
180958
 
-
 
180959
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
180960
      org.apache.thrift.protocol.TField field;
-
 
180961
      iprot.readStructBegin();
-
 
180962
      while (true)
-
 
180963
      {
-
 
180964
        field = iprot.readFieldBegin();
-
 
180965
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
180966
          break;
-
 
180967
        }
-
 
180968
        switch (field.id) {
-
 
180969
          case 1: // INSERTION_TIMESTAMP
-
 
180970
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
180971
              this.insertionTimestamp = iprot.readI64();
-
 
180972
              setInsertionTimestampIsSet(true);
-
 
180973
            } else { 
-
 
180974
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
180975
            }
-
 
180976
            break;
-
 
180977
          default:
-
 
180978
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
180979
        }
-
 
180980
        iprot.readFieldEnd();
-
 
180981
      }
-
 
180982
      iprot.readStructEnd();
-
 
180983
      validate();
-
 
180984
    }
-
 
180985
 
-
 
180986
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
180987
      validate();
-
 
180988
 
-
 
180989
      oprot.writeStructBegin(STRUCT_DESC);
-
 
180990
      oprot.writeFieldBegin(INSERTION_TIMESTAMP_FIELD_DESC);
-
 
180991
      oprot.writeI64(this.insertionTimestamp);
-
 
180992
      oprot.writeFieldEnd();
-
 
180993
      oprot.writeFieldStop();
-
 
180994
      oprot.writeStructEnd();
-
 
180995
    }
-
 
180996
 
-
 
180997
    @Override
-
 
180998
    public String toString() {
-
 
180999
      StringBuilder sb = new StringBuilder("getTotalSaleReturnsFbaSkusCurentTime_args(");
-
 
181000
      boolean first = true;
-
 
181001
 
-
 
181002
      sb.append("insertionTimestamp:");
-
 
181003
      sb.append(this.insertionTimestamp);
-
 
181004
      first = false;
-
 
181005
      sb.append(")");
-
 
181006
      return sb.toString();
-
 
181007
    }
-
 
181008
 
-
 
181009
    public void validate() throws org.apache.thrift.TException {
-
 
181010
      // check for required fields
-
 
181011
    }
-
 
181012
 
-
 
181013
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
181014
      try {
-
 
181015
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
181016
      } catch (org.apache.thrift.TException te) {
-
 
181017
        throw new java.io.IOException(te);
-
 
181018
      }
-
 
181019
    }
-
 
181020
 
-
 
181021
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
181022
      try {
-
 
181023
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
181024
        __isset_bit_vector = new BitSet(1);
-
 
181025
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
181026
      } catch (org.apache.thrift.TException te) {
-
 
181027
        throw new java.io.IOException(te);
-
 
181028
      }
-
 
181029
    }
-
 
181030
 
-
 
181031
  }
-
 
181032
 
-
 
181033
  public static class getTotalSaleReturnsFbaSkusCurentTime_result implements org.apache.thrift.TBase<getTotalSaleReturnsFbaSkusCurentTime_result, getTotalSaleReturnsFbaSkusCurentTime_result._Fields>, java.io.Serializable, Cloneable   {
-
 
181034
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTotalSaleReturnsFbaSkusCurentTime_result");
-
 
181035
 
-
 
181036
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0);
-
 
181037
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
181038
 
-
 
181039
    private Map<Long,Map<String,Long>> success; // required
-
 
181040
    private TransactionServiceException ex; // required
-
 
181041
 
-
 
181042
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
181043
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
181044
      SUCCESS((short)0, "success"),
-
 
181045
      EX((short)1, "ex");
-
 
181046
 
-
 
181047
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
181048
 
-
 
181049
      static {
-
 
181050
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
181051
          byName.put(field.getFieldName(), field);
-
 
181052
        }
-
 
181053
      }
-
 
181054
 
-
 
181055
      /**
-
 
181056
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
181057
       */
-
 
181058
      public static _Fields findByThriftId(int fieldId) {
-
 
181059
        switch(fieldId) {
-
 
181060
          case 0: // SUCCESS
-
 
181061
            return SUCCESS;
-
 
181062
          case 1: // EX
-
 
181063
            return EX;
-
 
181064
          default:
-
 
181065
            return null;
-
 
181066
        }
-
 
181067
      }
-
 
181068
 
-
 
181069
      /**
-
 
181070
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
181071
       * if it is not found.
-
 
181072
       */
-
 
181073
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
181074
        _Fields fields = findByThriftId(fieldId);
-
 
181075
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
181076
        return fields;
-
 
181077
      }
-
 
181078
 
-
 
181079
      /**
-
 
181080
       * Find the _Fields constant that matches name, or null if its not found.
-
 
181081
       */
-
 
181082
      public static _Fields findByName(String name) {
-
 
181083
        return byName.get(name);
-
 
181084
      }
-
 
181085
 
-
 
181086
      private final short _thriftId;
-
 
181087
      private final String _fieldName;
-
 
181088
 
-
 
181089
      _Fields(short thriftId, String fieldName) {
-
 
181090
        _thriftId = thriftId;
-
 
181091
        _fieldName = fieldName;
-
 
181092
      }
-
 
181093
 
-
 
181094
      public short getThriftFieldId() {
-
 
181095
        return _thriftId;
-
 
181096
      }
-
 
181097
 
-
 
181098
      public String getFieldName() {
-
 
181099
        return _fieldName;
-
 
181100
      }
-
 
181101
    }
-
 
181102
 
-
 
181103
    // isset id assignments
-
 
181104
 
-
 
181105
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
181106
    static {
-
 
181107
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
181108
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
181109
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
181110
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
181111
              new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
181112
                  new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
-
 
181113
                  new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)))));
-
 
181114
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
181115
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
181116
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
181117
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTotalSaleReturnsFbaSkusCurentTime_result.class, metaDataMap);
-
 
181118
    }
-
 
181119
 
-
 
181120
    public getTotalSaleReturnsFbaSkusCurentTime_result() {
-
 
181121
    }
-
 
181122
 
-
 
181123
    public getTotalSaleReturnsFbaSkusCurentTime_result(
-
 
181124
      Map<Long,Map<String,Long>> success,
-
 
181125
      TransactionServiceException ex)
-
 
181126
    {
-
 
181127
      this();
-
 
181128
      this.success = success;
-
 
181129
      this.ex = ex;
-
 
181130
    }
-
 
181131
 
-
 
181132
    /**
-
 
181133
     * Performs a deep copy on <i>other</i>.
-
 
181134
     */
-
 
181135
    public getTotalSaleReturnsFbaSkusCurentTime_result(getTotalSaleReturnsFbaSkusCurentTime_result other) {
-
 
181136
      if (other.isSetSuccess()) {
-
 
181137
        Map<Long,Map<String,Long>> __this__success = new HashMap<Long,Map<String,Long>>();
-
 
181138
        for (Map.Entry<Long, Map<String,Long>> other_element : other.success.entrySet()) {
-
 
181139
 
-
 
181140
          Long other_element_key = other_element.getKey();
-
 
181141
          Map<String,Long> other_element_value = other_element.getValue();
-
 
181142
 
-
 
181143
          Long __this__success_copy_key = other_element_key;
-
 
181144
 
-
 
181145
          Map<String,Long> __this__success_copy_value = new HashMap<String,Long>();
-
 
181146
          for (Map.Entry<String, Long> other_element_value_element : other_element_value.entrySet()) {
-
 
181147
 
-
 
181148
            String other_element_value_element_key = other_element_value_element.getKey();
-
 
181149
            Long other_element_value_element_value = other_element_value_element.getValue();
-
 
181150
 
-
 
181151
            String __this__success_copy_value_copy_key = other_element_value_element_key;
-
 
181152
 
-
 
181153
            Long __this__success_copy_value_copy_value = other_element_value_element_value;
-
 
181154
 
-
 
181155
            __this__success_copy_value.put(__this__success_copy_value_copy_key, __this__success_copy_value_copy_value);
-
 
181156
          }
-
 
181157
 
-
 
181158
          __this__success.put(__this__success_copy_key, __this__success_copy_value);
-
 
181159
        }
-
 
181160
        this.success = __this__success;
-
 
181161
      }
-
 
181162
      if (other.isSetEx()) {
-
 
181163
        this.ex = new TransactionServiceException(other.ex);
-
 
181164
      }
-
 
181165
    }
-
 
181166
 
-
 
181167
    public getTotalSaleReturnsFbaSkusCurentTime_result deepCopy() {
-
 
181168
      return new getTotalSaleReturnsFbaSkusCurentTime_result(this);
-
 
181169
    }
-
 
181170
 
-
 
181171
    @Override
-
 
181172
    public void clear() {
-
 
181173
      this.success = null;
-
 
181174
      this.ex = null;
-
 
181175
    }
-
 
181176
 
-
 
181177
    public int getSuccessSize() {
-
 
181178
      return (this.success == null) ? 0 : this.success.size();
-
 
181179
    }
-
 
181180
 
-
 
181181
    public void putToSuccess(long key, Map<String,Long> val) {
-
 
181182
      if (this.success == null) {
-
 
181183
        this.success = new HashMap<Long,Map<String,Long>>();
-
 
181184
      }
-
 
181185
      this.success.put(key, val);
-
 
181186
    }
-
 
181187
 
-
 
181188
    public Map<Long,Map<String,Long>> getSuccess() {
-
 
181189
      return this.success;
-
 
181190
    }
-
 
181191
 
-
 
181192
    public void setSuccess(Map<Long,Map<String,Long>> success) {
-
 
181193
      this.success = success;
-
 
181194
    }
-
 
181195
 
-
 
181196
    public void unsetSuccess() {
-
 
181197
      this.success = null;
-
 
181198
    }
-
 
181199
 
-
 
181200
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
181201
    public boolean isSetSuccess() {
-
 
181202
      return this.success != null;
-
 
181203
    }
-
 
181204
 
-
 
181205
    public void setSuccessIsSet(boolean value) {
-
 
181206
      if (!value) {
-
 
181207
        this.success = null;
-
 
181208
      }
-
 
181209
    }
-
 
181210
 
-
 
181211
    public TransactionServiceException getEx() {
-
 
181212
      return this.ex;
-
 
181213
    }
-
 
181214
 
-
 
181215
    public void setEx(TransactionServiceException ex) {
-
 
181216
      this.ex = ex;
-
 
181217
    }
-
 
181218
 
-
 
181219
    public void unsetEx() {
-
 
181220
      this.ex = null;
-
 
181221
    }
-
 
181222
 
-
 
181223
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
181224
    public boolean isSetEx() {
-
 
181225
      return this.ex != null;
-
 
181226
    }
-
 
181227
 
-
 
181228
    public void setExIsSet(boolean value) {
-
 
181229
      if (!value) {
-
 
181230
        this.ex = null;
-
 
181231
      }
-
 
181232
    }
-
 
181233
 
-
 
181234
    public void setFieldValue(_Fields field, Object value) {
-
 
181235
      switch (field) {
-
 
181236
      case SUCCESS:
-
 
181237
        if (value == null) {
-
 
181238
          unsetSuccess();
-
 
181239
        } else {
-
 
181240
          setSuccess((Map<Long,Map<String,Long>>)value);
-
 
181241
        }
-
 
181242
        break;
-
 
181243
 
-
 
181244
      case EX:
-
 
181245
        if (value == null) {
-
 
181246
          unsetEx();
-
 
181247
        } else {
-
 
181248
          setEx((TransactionServiceException)value);
-
 
181249
        }
-
 
181250
        break;
-
 
181251
 
-
 
181252
      }
-
 
181253
    }
-
 
181254
 
-
 
181255
    public Object getFieldValue(_Fields field) {
-
 
181256
      switch (field) {
-
 
181257
      case SUCCESS:
-
 
181258
        return getSuccess();
-
 
181259
 
-
 
181260
      case EX:
-
 
181261
        return getEx();
-
 
181262
 
-
 
181263
      }
-
 
181264
      throw new IllegalStateException();
-
 
181265
    }
-
 
181266
 
-
 
181267
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
181268
    public boolean isSet(_Fields field) {
-
 
181269
      if (field == null) {
-
 
181270
        throw new IllegalArgumentException();
-
 
181271
      }
-
 
181272
 
-
 
181273
      switch (field) {
-
 
181274
      case SUCCESS:
-
 
181275
        return isSetSuccess();
-
 
181276
      case EX:
-
 
181277
        return isSetEx();
-
 
181278
      }
-
 
181279
      throw new IllegalStateException();
-
 
181280
    }
-
 
181281
 
-
 
181282
    @Override
-
 
181283
    public boolean equals(Object that) {
-
 
181284
      if (that == null)
-
 
181285
        return false;
-
 
181286
      if (that instanceof getTotalSaleReturnsFbaSkusCurentTime_result)
-
 
181287
        return this.equals((getTotalSaleReturnsFbaSkusCurentTime_result)that);
-
 
181288
      return false;
-
 
181289
    }
-
 
181290
 
-
 
181291
    public boolean equals(getTotalSaleReturnsFbaSkusCurentTime_result that) {
-
 
181292
      if (that == null)
-
 
181293
        return false;
-
 
181294
 
-
 
181295
      boolean this_present_success = true && this.isSetSuccess();
-
 
181296
      boolean that_present_success = true && that.isSetSuccess();
-
 
181297
      if (this_present_success || that_present_success) {
-
 
181298
        if (!(this_present_success && that_present_success))
-
 
181299
          return false;
-
 
181300
        if (!this.success.equals(that.success))
-
 
181301
          return false;
-
 
181302
      }
-
 
181303
 
-
 
181304
      boolean this_present_ex = true && this.isSetEx();
-
 
181305
      boolean that_present_ex = true && that.isSetEx();
-
 
181306
      if (this_present_ex || that_present_ex) {
-
 
181307
        if (!(this_present_ex && that_present_ex))
-
 
181308
          return false;
-
 
181309
        if (!this.ex.equals(that.ex))
-
 
181310
          return false;
-
 
181311
      }
-
 
181312
 
-
 
181313
      return true;
-
 
181314
    }
-
 
181315
 
-
 
181316
    @Override
-
 
181317
    public int hashCode() {
-
 
181318
      return 0;
-
 
181319
    }
-
 
181320
 
-
 
181321
    public int compareTo(getTotalSaleReturnsFbaSkusCurentTime_result other) {
-
 
181322
      if (!getClass().equals(other.getClass())) {
-
 
181323
        return getClass().getName().compareTo(other.getClass().getName());
-
 
181324
      }
-
 
181325
 
-
 
181326
      int lastComparison = 0;
-
 
181327
      getTotalSaleReturnsFbaSkusCurentTime_result typedOther = (getTotalSaleReturnsFbaSkusCurentTime_result)other;
-
 
181328
 
-
 
181329
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
181330
      if (lastComparison != 0) {
-
 
181331
        return lastComparison;
-
 
181332
      }
-
 
181333
      if (isSetSuccess()) {
-
 
181334
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
181335
        if (lastComparison != 0) {
-
 
181336
          return lastComparison;
-
 
181337
        }
-
 
181338
      }
-
 
181339
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
181340
      if (lastComparison != 0) {
-
 
181341
        return lastComparison;
-
 
181342
      }
-
 
181343
      if (isSetEx()) {
-
 
181344
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
181345
        if (lastComparison != 0) {
-
 
181346
          return lastComparison;
-
 
181347
        }
-
 
181348
      }
-
 
181349
      return 0;
-
 
181350
    }
-
 
181351
 
-
 
181352
    public _Fields fieldForId(int fieldId) {
-
 
181353
      return _Fields.findByThriftId(fieldId);
-
 
181354
    }
-
 
181355
 
-
 
181356
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
181357
      org.apache.thrift.protocol.TField field;
-
 
181358
      iprot.readStructBegin();
-
 
181359
      while (true)
-
 
181360
      {
-
 
181361
        field = iprot.readFieldBegin();
-
 
181362
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
181363
          break;
-
 
181364
        }
-
 
181365
        switch (field.id) {
-
 
181366
          case 0: // SUCCESS
-
 
181367
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
181368
              {
-
 
181369
                org.apache.thrift.protocol.TMap _map567 = iprot.readMapBegin();
-
 
181370
                this.success = new HashMap<Long,Map<String,Long>>(2*_map567.size);
-
 
181371
                for (int _i568 = 0; _i568 < _map567.size; ++_i568)
-
 
181372
                {
-
 
181373
                  long _key569; // required
-
 
181374
                  Map<String,Long> _val570; // required
-
 
181375
                  _key569 = iprot.readI64();
-
 
181376
                  {
-
 
181377
                    org.apache.thrift.protocol.TMap _map571 = iprot.readMapBegin();
-
 
181378
                    _val570 = new HashMap<String,Long>(2*_map571.size);
-
 
181379
                    for (int _i572 = 0; _i572 < _map571.size; ++_i572)
-
 
181380
                    {
-
 
181381
                      String _key573; // required
-
 
181382
                      long _val574; // required
-
 
181383
                      _key573 = iprot.readString();
-
 
181384
                      _val574 = iprot.readI64();
-
 
181385
                      _val570.put(_key573, _val574);
-
 
181386
                    }
-
 
181387
                    iprot.readMapEnd();
-
 
181388
                  }
-
 
181389
                  this.success.put(_key569, _val570);
-
 
181390
                }
-
 
181391
                iprot.readMapEnd();
-
 
181392
              }
-
 
181393
            } else { 
-
 
181394
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
181395
            }
-
 
181396
            break;
-
 
181397
          case 1: // EX
-
 
181398
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
181399
              this.ex = new TransactionServiceException();
-
 
181400
              this.ex.read(iprot);
-
 
181401
            } else { 
-
 
181402
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
181403
            }
-
 
181404
            break;
-
 
181405
          default:
-
 
181406
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
181407
        }
-
 
181408
        iprot.readFieldEnd();
-
 
181409
      }
-
 
181410
      iprot.readStructEnd();
-
 
181411
      validate();
-
 
181412
    }
-
 
181413
 
-
 
181414
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
181415
      oprot.writeStructBegin(STRUCT_DESC);
-
 
181416
 
-
 
181417
      if (this.isSetSuccess()) {
-
 
181418
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
181419
        {
-
 
181420
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.success.size()));
-
 
181421
          for (Map.Entry<Long, Map<String,Long>> _iter575 : this.success.entrySet())
-
 
181422
          {
-
 
181423
            oprot.writeI64(_iter575.getKey());
-
 
181424
            {
-
 
181425
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, _iter575.getValue().size()));
-
 
181426
              for (Map.Entry<String, Long> _iter576 : _iter575.getValue().entrySet())
-
 
181427
              {
-
 
181428
                oprot.writeString(_iter576.getKey());
-
 
181429
                oprot.writeI64(_iter576.getValue());
-
 
181430
              }
-
 
181431
              oprot.writeMapEnd();
-
 
181432
            }
-
 
181433
          }
-
 
181434
          oprot.writeMapEnd();
-
 
181435
        }
-
 
181436
        oprot.writeFieldEnd();
-
 
181437
      } else if (this.isSetEx()) {
-
 
181438
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
181439
        this.ex.write(oprot);
-
 
181440
        oprot.writeFieldEnd();
-
 
181441
      }
-
 
181442
      oprot.writeFieldStop();
-
 
181443
      oprot.writeStructEnd();
-
 
181444
    }
-
 
181445
 
-
 
181446
    @Override
-
 
181447
    public String toString() {
-
 
181448
      StringBuilder sb = new StringBuilder("getTotalSaleReturnsFbaSkusCurentTime_result(");
-
 
181449
      boolean first = true;
-
 
181450
 
-
 
181451
      sb.append("success:");
-
 
181452
      if (this.success == null) {
-
 
181453
        sb.append("null");
-
 
181454
      } else {
-
 
181455
        sb.append(this.success);
-
 
181456
      }
-
 
181457
      first = false;
-
 
181458
      if (!first) sb.append(", ");
-
 
181459
      sb.append("ex:");
-
 
181460
      if (this.ex == null) {
-
 
181461
        sb.append("null");
-
 
181462
      } else {
-
 
181463
        sb.append(this.ex);
-
 
181464
      }
-
 
181465
      first = false;
-
 
181466
      sb.append(")");
-
 
181467
      return sb.toString();
-
 
181468
    }
-
 
181469
 
177708
    public void validate() throws org.apache.thrift.TException {
181470
    public void validate() throws org.apache.thrift.TException {
177709
      // check for required fields
181471
      // check for required fields
177710
    }
181472
    }
177711
 
181473
 
177712
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
181474
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {