Subversion Repositories SmartDukaan

Rev

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

Rev 7427 Rev 7442
Line 979... Line 979...
979
 
979
 
980
    public boolean saveRefundAmountsForStoreOrder(long orderId, long storeId, double cashRefundAmount, double cardRefundAmount) throws org.apache.thrift.TException;
980
    public boolean saveRefundAmountsForStoreOrder(long orderId, long storeId, double cashRefundAmount, double cardRefundAmount) throws org.apache.thrift.TException;
981
 
981
 
982
    public List<StoreOrderCollection> getCollectionsForStore(long storeId, long startDate, long endDate) throws org.apache.thrift.TException;
982
    public List<StoreOrderCollection> getCollectionsForStore(long storeId, long startDate, long endDate) throws org.apache.thrift.TException;
983
 
983
 
-
 
984
    public List<AmazonOrdersToAcknowledge> getAmazonOrdersToAcknowledge() throws org.apache.thrift.TException;
-
 
985
 
-
 
986
    public void changeAmazonOrderStatus(String amazonOrderCode, String status) throws org.apache.thrift.TException;
-
 
987
 
984
  }
988
  }
985
 
989
 
986
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
990
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
987
 
991
 
988
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
992
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1351... Line 1355...
1351
 
1355
 
1352
    public void saveRefundAmountsForStoreOrder(long orderId, long storeId, double cashRefundAmount, double cardRefundAmount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveRefundAmountsForStoreOrder_call> resultHandler) throws org.apache.thrift.TException;
1356
    public void saveRefundAmountsForStoreOrder(long orderId, long storeId, double cashRefundAmount, double cardRefundAmount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveRefundAmountsForStoreOrder_call> resultHandler) throws org.apache.thrift.TException;
1353
 
1357
 
1354
    public void getCollectionsForStore(long storeId, long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCollectionsForStore_call> resultHandler) throws org.apache.thrift.TException;
1358
    public void getCollectionsForStore(long storeId, long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCollectionsForStore_call> resultHandler) throws org.apache.thrift.TException;
1355
 
1359
 
-
 
1360
    public void getAmazonOrdersToAcknowledge(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonOrdersToAcknowledge_call> resultHandler) throws org.apache.thrift.TException;
-
 
1361
 
-
 
1362
    public void changeAmazonOrderStatus(String amazonOrderCode, String status, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.changeAmazonOrderStatus_call> resultHandler) throws org.apache.thrift.TException;
-
 
1363
 
1356
  }
1364
  }
1357
 
1365
 
1358
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1366
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1359
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1367
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1360
      public Factory() {}
1368
      public Factory() {}
Line 5964... Line 5972...
5964
        return result.success;
5972
        return result.success;
5965
      }
5973
      }
5966
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getCollectionsForStore failed: unknown result");
5974
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getCollectionsForStore failed: unknown result");
5967
    }
5975
    }
5968
 
5976
 
-
 
5977
    public List<AmazonOrdersToAcknowledge> getAmazonOrdersToAcknowledge() throws org.apache.thrift.TException
-
 
5978
    {
-
 
5979
      send_getAmazonOrdersToAcknowledge();
-
 
5980
      return recv_getAmazonOrdersToAcknowledge();
-
 
5981
    }
-
 
5982
 
-
 
5983
    public void send_getAmazonOrdersToAcknowledge() throws org.apache.thrift.TException
-
 
5984
    {
-
 
5985
      getAmazonOrdersToAcknowledge_args args = new getAmazonOrdersToAcknowledge_args();
-
 
5986
      sendBase("getAmazonOrdersToAcknowledge", args);
-
 
5987
    }
-
 
5988
 
-
 
5989
    public List<AmazonOrdersToAcknowledge> recv_getAmazonOrdersToAcknowledge() throws org.apache.thrift.TException
-
 
5990
    {
-
 
5991
      getAmazonOrdersToAcknowledge_result result = new getAmazonOrdersToAcknowledge_result();
-
 
5992
      receiveBase(result, "getAmazonOrdersToAcknowledge");
-
 
5993
      if (result.isSetSuccess()) {
-
 
5994
        return result.success;
-
 
5995
      }
-
 
5996
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAmazonOrdersToAcknowledge failed: unknown result");
-
 
5997
    }
-
 
5998
 
-
 
5999
    public void changeAmazonOrderStatus(String amazonOrderCode, String status) throws org.apache.thrift.TException
-
 
6000
    {
-
 
6001
      send_changeAmazonOrderStatus(amazonOrderCode, status);
-
 
6002
      recv_changeAmazonOrderStatus();
-
 
6003
    }
-
 
6004
 
-
 
6005
    public void send_changeAmazonOrderStatus(String amazonOrderCode, String status) throws org.apache.thrift.TException
-
 
6006
    {
-
 
6007
      changeAmazonOrderStatus_args args = new changeAmazonOrderStatus_args();
-
 
6008
      args.setAmazonOrderCode(amazonOrderCode);
-
 
6009
      args.setStatus(status);
-
 
6010
      sendBase("changeAmazonOrderStatus", args);
-
 
6011
    }
-
 
6012
 
-
 
6013
    public void recv_changeAmazonOrderStatus() throws org.apache.thrift.TException
-
 
6014
    {
-
 
6015
      changeAmazonOrderStatus_result result = new changeAmazonOrderStatus_result();
-
 
6016
      receiveBase(result, "changeAmazonOrderStatus");
-
 
6017
      return;
-
 
6018
    }
-
 
6019
 
5969
  }
6020
  }
5970
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
6021
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5971
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
6022
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5972
      private org.apache.thrift.async.TAsyncClientManager clientManager;
6023
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5973
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
6024
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 12407... Line 12458...
12407
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12458
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12408
        return (new Client(prot)).recv_getCollectionsForStore();
12459
        return (new Client(prot)).recv_getCollectionsForStore();
12409
      }
12460
      }
12410
    }
12461
    }
12411
 
12462
 
-
 
12463
    public void getAmazonOrdersToAcknowledge(org.apache.thrift.async.AsyncMethodCallback<getAmazonOrdersToAcknowledge_call> resultHandler) throws org.apache.thrift.TException {
-
 
12464
      checkReady();
-
 
12465
      getAmazonOrdersToAcknowledge_call method_call = new getAmazonOrdersToAcknowledge_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
12466
      this.___currentMethod = method_call;
-
 
12467
      ___manager.call(method_call);
-
 
12468
    }
-
 
12469
 
-
 
12470
    public static class getAmazonOrdersToAcknowledge_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
12471
      public getAmazonOrdersToAcknowledge_call(org.apache.thrift.async.AsyncMethodCallback<getAmazonOrdersToAcknowledge_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 {
-
 
12472
        super(client, protocolFactory, transport, resultHandler, false);
-
 
12473
      }
-
 
12474
 
-
 
12475
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
12476
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAmazonOrdersToAcknowledge", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
12477
        getAmazonOrdersToAcknowledge_args args = new getAmazonOrdersToAcknowledge_args();
-
 
12478
        args.write(prot);
-
 
12479
        prot.writeMessageEnd();
-
 
12480
      }
-
 
12481
 
-
 
12482
      public List<AmazonOrdersToAcknowledge> getResult() throws org.apache.thrift.TException {
-
 
12483
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
12484
          throw new IllegalStateException("Method call not finished!");
-
 
12485
        }
-
 
12486
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
12487
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
12488
        return (new Client(prot)).recv_getAmazonOrdersToAcknowledge();
-
 
12489
      }
-
 
12490
    }
-
 
12491
 
-
 
12492
    public void changeAmazonOrderStatus(String amazonOrderCode, String status, org.apache.thrift.async.AsyncMethodCallback<changeAmazonOrderStatus_call> resultHandler) throws org.apache.thrift.TException {
-
 
12493
      checkReady();
-
 
12494
      changeAmazonOrderStatus_call method_call = new changeAmazonOrderStatus_call(amazonOrderCode, status, resultHandler, this, ___protocolFactory, ___transport);
-
 
12495
      this.___currentMethod = method_call;
-
 
12496
      ___manager.call(method_call);
-
 
12497
    }
-
 
12498
 
-
 
12499
    public static class changeAmazonOrderStatus_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
12500
      private String amazonOrderCode;
-
 
12501
      private String status;
-
 
12502
      public changeAmazonOrderStatus_call(String amazonOrderCode, String status, org.apache.thrift.async.AsyncMethodCallback<changeAmazonOrderStatus_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 {
-
 
12503
        super(client, protocolFactory, transport, resultHandler, false);
-
 
12504
        this.amazonOrderCode = amazonOrderCode;
-
 
12505
        this.status = status;
-
 
12506
      }
-
 
12507
 
-
 
12508
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
12509
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("changeAmazonOrderStatus", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
12510
        changeAmazonOrderStatus_args args = new changeAmazonOrderStatus_args();
-
 
12511
        args.setAmazonOrderCode(amazonOrderCode);
-
 
12512
        args.setStatus(status);
-
 
12513
        args.write(prot);
-
 
12514
        prot.writeMessageEnd();
-
 
12515
      }
-
 
12516
 
-
 
12517
      public void getResult() throws org.apache.thrift.TException {
-
 
12518
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
12519
          throw new IllegalStateException("Method call not finished!");
-
 
12520
        }
-
 
12521
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
12522
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
12523
        (new Client(prot)).recv_changeAmazonOrderStatus();
-
 
12524
      }
-
 
12525
    }
-
 
12526
 
12412
  }
12527
  }
12413
 
12528
 
12414
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
12529
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
12415
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
12530
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
12416
    public Processor(I iface) {
12531
    public Processor(I iface) {
Line 12604... Line 12719...
12604
      processMap.put("saveStoreOrderDetail", new saveStoreOrderDetail());
12719
      processMap.put("saveStoreOrderDetail", new saveStoreOrderDetail());
12605
      processMap.put("getStoreOrderDetail", new getStoreOrderDetail());
12720
      processMap.put("getStoreOrderDetail", new getStoreOrderDetail());
12606
      processMap.put("getAllEdcBanks", new getAllEdcBanks());
12721
      processMap.put("getAllEdcBanks", new getAllEdcBanks());
12607
      processMap.put("saveRefundAmountsForStoreOrder", new saveRefundAmountsForStoreOrder());
12722
      processMap.put("saveRefundAmountsForStoreOrder", new saveRefundAmountsForStoreOrder());
12608
      processMap.put("getCollectionsForStore", new getCollectionsForStore());
12723
      processMap.put("getCollectionsForStore", new getCollectionsForStore());
-
 
12724
      processMap.put("getAmazonOrdersToAcknowledge", new getAmazonOrdersToAcknowledge());
-
 
12725
      processMap.put("changeAmazonOrderStatus", new changeAmazonOrderStatus());
12609
      return processMap;
12726
      return processMap;
12610
    }
12727
    }
12611
 
12728
 
12612
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
12729
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
12613
      public createTransaction() {
12730
      public createTransaction() {
Line 15988... Line 16105...
15988
        result.success = iface.getCollectionsForStore(args.storeId, args.startDate, args.endDate);
16105
        result.success = iface.getCollectionsForStore(args.storeId, args.startDate, args.endDate);
15989
        return result;
16106
        return result;
15990
      }
16107
      }
15991
    }
16108
    }
15992
 
16109
 
-
 
16110
    private static class getAmazonOrdersToAcknowledge<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAmazonOrdersToAcknowledge_args> {
-
 
16111
      public getAmazonOrdersToAcknowledge() {
-
 
16112
        super("getAmazonOrdersToAcknowledge");
-
 
16113
      }
-
 
16114
 
-
 
16115
      protected getAmazonOrdersToAcknowledge_args getEmptyArgsInstance() {
-
 
16116
        return new getAmazonOrdersToAcknowledge_args();
-
 
16117
      }
-
 
16118
 
-
 
16119
      protected getAmazonOrdersToAcknowledge_result getResult(I iface, getAmazonOrdersToAcknowledge_args args) throws org.apache.thrift.TException {
-
 
16120
        getAmazonOrdersToAcknowledge_result result = new getAmazonOrdersToAcknowledge_result();
-
 
16121
        result.success = iface.getAmazonOrdersToAcknowledge();
-
 
16122
        return result;
-
 
16123
      }
-
 
16124
    }
-
 
16125
 
-
 
16126
    private static class changeAmazonOrderStatus<I extends Iface> extends org.apache.thrift.ProcessFunction<I, changeAmazonOrderStatus_args> {
-
 
16127
      public changeAmazonOrderStatus() {
-
 
16128
        super("changeAmazonOrderStatus");
-
 
16129
      }
-
 
16130
 
-
 
16131
      protected changeAmazonOrderStatus_args getEmptyArgsInstance() {
-
 
16132
        return new changeAmazonOrderStatus_args();
-
 
16133
      }
-
 
16134
 
-
 
16135
      protected changeAmazonOrderStatus_result getResult(I iface, changeAmazonOrderStatus_args args) throws org.apache.thrift.TException {
-
 
16136
        changeAmazonOrderStatus_result result = new changeAmazonOrderStatus_result();
-
 
16137
        iface.changeAmazonOrderStatus(args.amazonOrderCode, args.status);
-
 
16138
        return result;
-
 
16139
      }
-
 
16140
    }
-
 
16141
 
15993
  }
16142
  }
15994
 
16143
 
15995
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
16144
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
15996
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
16145
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
15997
 
16146
 
Line 60277... Line 60426...
60277
      }
60426
      }
60278
    }
60427
    }
60279
 
60428
 
60280
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
60429
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
60281
      try {
60430
      try {
-
 
60431
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
60432
        __isset_bit_vector = new BitSet(1);
60282
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
60433
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
60283
      } catch (org.apache.thrift.TException te) {
60434
      } catch (org.apache.thrift.TException te) {
60284
        throw new java.io.IOException(te);
60435
        throw new java.io.IOException(te);
60285
      }
60436
      }
60286
    }
60437
    }
Line 65127... Line 65278...
65127
      }
65278
      }
65128
    }
65279
    }
65129
 
65280
 
65130
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
65281
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
65131
      try {
65282
      try {
-
 
65283
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
65284
        __isset_bit_vector = new BitSet(1);
65132
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
65285
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
65133
      } catch (org.apache.thrift.TException te) {
65286
      } catch (org.apache.thrift.TException te) {
65134
        throw new java.io.IOException(te);
65287
        throw new java.io.IOException(te);
65135
      }
65288
      }
65136
    }
65289
    }
Line 66558... Line 66711...
66558
      }
66711
      }
66559
    }
66712
    }
66560
 
66713
 
66561
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
66714
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
66562
      try {
66715
      try {
-
 
66716
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
66717
        __isset_bit_vector = new BitSet(1);
66563
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
66718
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
66564
      } catch (org.apache.thrift.TException te) {
66719
      } catch (org.apache.thrift.TException te) {
66565
        throw new java.io.IOException(te);
66720
        throw new java.io.IOException(te);
66566
      }
66721
      }
66567
    }
66722
    }
Line 148238... Line 148393...
148238
      sb.append(")");
148393
      sb.append(")");
148239
      return sb.toString();
148394
      return sb.toString();
148240
    }
148395
    }
148241
 
148396
 
148242
    public void validate() throws org.apache.thrift.TException {
148397
    public void validate() throws org.apache.thrift.TException {
-
 
148398
      // check for required fields
-
 
148399
    }
-
 
148400
 
-
 
148401
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
148402
      try {
-
 
148403
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
148404
      } catch (org.apache.thrift.TException te) {
-
 
148405
        throw new java.io.IOException(te);
-
 
148406
      }
-
 
148407
    }
-
 
148408
 
-
 
148409
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
148410
      try {
-
 
148411
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
148412
      } catch (org.apache.thrift.TException te) {
-
 
148413
        throw new java.io.IOException(te);
-
 
148414
      }
-
 
148415
    }
-
 
148416
 
-
 
148417
  }
-
 
148418
 
-
 
148419
  public static class getAmazonOrdersToAcknowledge_args implements org.apache.thrift.TBase<getAmazonOrdersToAcknowledge_args, getAmazonOrdersToAcknowledge_args._Fields>, java.io.Serializable, Cloneable   {
-
 
148420
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAmazonOrdersToAcknowledge_args");
-
 
148421
 
-
 
148422
 
-
 
148423
 
-
 
148424
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
148425
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
148426
;
-
 
148427
 
-
 
148428
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
148429
 
-
 
148430
      static {
-
 
148431
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
148432
          byName.put(field.getFieldName(), field);
-
 
148433
        }
-
 
148434
      }
-
 
148435
 
-
 
148436
      /**
-
 
148437
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
148438
       */
-
 
148439
      public static _Fields findByThriftId(int fieldId) {
-
 
148440
        switch(fieldId) {
-
 
148441
          default:
-
 
148442
            return null;
-
 
148443
        }
-
 
148444
      }
-
 
148445
 
-
 
148446
      /**
-
 
148447
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
148448
       * if it is not found.
-
 
148449
       */
-
 
148450
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
148451
        _Fields fields = findByThriftId(fieldId);
-
 
148452
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
148453
        return fields;
-
 
148454
      }
-
 
148455
 
-
 
148456
      /**
-
 
148457
       * Find the _Fields constant that matches name, or null if its not found.
-
 
148458
       */
-
 
148459
      public static _Fields findByName(String name) {
-
 
148460
        return byName.get(name);
-
 
148461
      }
-
 
148462
 
-
 
148463
      private final short _thriftId;
-
 
148464
      private final String _fieldName;
-
 
148465
 
-
 
148466
      _Fields(short thriftId, String fieldName) {
-
 
148467
        _thriftId = thriftId;
-
 
148468
        _fieldName = fieldName;
-
 
148469
      }
-
 
148470
 
-
 
148471
      public short getThriftFieldId() {
-
 
148472
        return _thriftId;
-
 
148473
      }
-
 
148474
 
-
 
148475
      public String getFieldName() {
-
 
148476
        return _fieldName;
-
 
148477
      }
-
 
148478
    }
-
 
148479
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
148480
    static {
-
 
148481
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
148482
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
148483
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAmazonOrdersToAcknowledge_args.class, metaDataMap);
-
 
148484
    }
-
 
148485
 
-
 
148486
    public getAmazonOrdersToAcknowledge_args() {
-
 
148487
    }
-
 
148488
 
-
 
148489
    /**
-
 
148490
     * Performs a deep copy on <i>other</i>.
-
 
148491
     */
-
 
148492
    public getAmazonOrdersToAcknowledge_args(getAmazonOrdersToAcknowledge_args other) {
-
 
148493
    }
-
 
148494
 
-
 
148495
    public getAmazonOrdersToAcknowledge_args deepCopy() {
-
 
148496
      return new getAmazonOrdersToAcknowledge_args(this);
-
 
148497
    }
-
 
148498
 
-
 
148499
    @Override
-
 
148500
    public void clear() {
-
 
148501
    }
-
 
148502
 
-
 
148503
    public void setFieldValue(_Fields field, Object value) {
-
 
148504
      switch (field) {
-
 
148505
      }
-
 
148506
    }
-
 
148507
 
-
 
148508
    public Object getFieldValue(_Fields field) {
-
 
148509
      switch (field) {
-
 
148510
      }
-
 
148511
      throw new IllegalStateException();
-
 
148512
    }
-
 
148513
 
-
 
148514
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
148515
    public boolean isSet(_Fields field) {
-
 
148516
      if (field == null) {
-
 
148517
        throw new IllegalArgumentException();
-
 
148518
      }
-
 
148519
 
-
 
148520
      switch (field) {
-
 
148521
      }
-
 
148522
      throw new IllegalStateException();
-
 
148523
    }
-
 
148524
 
-
 
148525
    @Override
-
 
148526
    public boolean equals(Object that) {
-
 
148527
      if (that == null)
-
 
148528
        return false;
-
 
148529
      if (that instanceof getAmazonOrdersToAcknowledge_args)
-
 
148530
        return this.equals((getAmazonOrdersToAcknowledge_args)that);
-
 
148531
      return false;
-
 
148532
    }
-
 
148533
 
-
 
148534
    public boolean equals(getAmazonOrdersToAcknowledge_args that) {
-
 
148535
      if (that == null)
-
 
148536
        return false;
-
 
148537
 
-
 
148538
      return true;
-
 
148539
    }
-
 
148540
 
-
 
148541
    @Override
-
 
148542
    public int hashCode() {
-
 
148543
      return 0;
-
 
148544
    }
-
 
148545
 
-
 
148546
    public int compareTo(getAmazonOrdersToAcknowledge_args other) {
-
 
148547
      if (!getClass().equals(other.getClass())) {
-
 
148548
        return getClass().getName().compareTo(other.getClass().getName());
-
 
148549
      }
-
 
148550
 
-
 
148551
      int lastComparison = 0;
-
 
148552
      getAmazonOrdersToAcknowledge_args typedOther = (getAmazonOrdersToAcknowledge_args)other;
-
 
148553
 
-
 
148554
      return 0;
-
 
148555
    }
-
 
148556
 
-
 
148557
    public _Fields fieldForId(int fieldId) {
-
 
148558
      return _Fields.findByThriftId(fieldId);
-
 
148559
    }
-
 
148560
 
-
 
148561
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
148562
      org.apache.thrift.protocol.TField field;
-
 
148563
      iprot.readStructBegin();
-
 
148564
      while (true)
-
 
148565
      {
-
 
148566
        field = iprot.readFieldBegin();
-
 
148567
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
148568
          break;
-
 
148569
        }
-
 
148570
        switch (field.id) {
-
 
148571
          default:
-
 
148572
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
148573
        }
-
 
148574
        iprot.readFieldEnd();
-
 
148575
      }
-
 
148576
      iprot.readStructEnd();
-
 
148577
      validate();
-
 
148578
    }
-
 
148579
 
-
 
148580
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
148581
      validate();
-
 
148582
 
-
 
148583
      oprot.writeStructBegin(STRUCT_DESC);
-
 
148584
      oprot.writeFieldStop();
-
 
148585
      oprot.writeStructEnd();
-
 
148586
    }
-
 
148587
 
-
 
148588
    @Override
-
 
148589
    public String toString() {
-
 
148590
      StringBuilder sb = new StringBuilder("getAmazonOrdersToAcknowledge_args(");
-
 
148591
      boolean first = true;
-
 
148592
 
-
 
148593
      sb.append(")");
-
 
148594
      return sb.toString();
-
 
148595
    }
-
 
148596
 
-
 
148597
    public void validate() throws org.apache.thrift.TException {
-
 
148598
      // check for required fields
-
 
148599
    }
-
 
148600
 
-
 
148601
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
148602
      try {
-
 
148603
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
148604
      } catch (org.apache.thrift.TException te) {
-
 
148605
        throw new java.io.IOException(te);
-
 
148606
      }
-
 
148607
    }
-
 
148608
 
-
 
148609
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
148610
      try {
-
 
148611
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
148612
      } catch (org.apache.thrift.TException te) {
-
 
148613
        throw new java.io.IOException(te);
-
 
148614
      }
-
 
148615
    }
-
 
148616
 
-
 
148617
  }
-
 
148618
 
-
 
148619
  public static class getAmazonOrdersToAcknowledge_result implements org.apache.thrift.TBase<getAmazonOrdersToAcknowledge_result, getAmazonOrdersToAcknowledge_result._Fields>, java.io.Serializable, Cloneable   {
-
 
148620
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAmazonOrdersToAcknowledge_result");
-
 
148621
 
-
 
148622
    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);
-
 
148623
 
-
 
148624
    private List<AmazonOrdersToAcknowledge> success; // required
-
 
148625
 
-
 
148626
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
148627
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
148628
      SUCCESS((short)0, "success");
-
 
148629
 
-
 
148630
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
148631
 
-
 
148632
      static {
-
 
148633
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
148634
          byName.put(field.getFieldName(), field);
-
 
148635
        }
-
 
148636
      }
-
 
148637
 
-
 
148638
      /**
-
 
148639
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
148640
       */
-
 
148641
      public static _Fields findByThriftId(int fieldId) {
-
 
148642
        switch(fieldId) {
-
 
148643
          case 0: // SUCCESS
-
 
148644
            return SUCCESS;
-
 
148645
          default:
-
 
148646
            return null;
-
 
148647
        }
-
 
148648
      }
-
 
148649
 
-
 
148650
      /**
-
 
148651
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
148652
       * if it is not found.
-
 
148653
       */
-
 
148654
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
148655
        _Fields fields = findByThriftId(fieldId);
-
 
148656
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
148657
        return fields;
-
 
148658
      }
-
 
148659
 
-
 
148660
      /**
-
 
148661
       * Find the _Fields constant that matches name, or null if its not found.
-
 
148662
       */
-
 
148663
      public static _Fields findByName(String name) {
-
 
148664
        return byName.get(name);
-
 
148665
      }
-
 
148666
 
-
 
148667
      private final short _thriftId;
-
 
148668
      private final String _fieldName;
-
 
148669
 
-
 
148670
      _Fields(short thriftId, String fieldName) {
-
 
148671
        _thriftId = thriftId;
-
 
148672
        _fieldName = fieldName;
-
 
148673
      }
-
 
148674
 
-
 
148675
      public short getThriftFieldId() {
-
 
148676
        return _thriftId;
-
 
148677
      }
-
 
148678
 
-
 
148679
      public String getFieldName() {
-
 
148680
        return _fieldName;
-
 
148681
      }
-
 
148682
    }
-
 
148683
 
-
 
148684
    // isset id assignments
-
 
148685
 
-
 
148686
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
148687
    static {
-
 
148688
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
148689
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
148690
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
148691
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AmazonOrdersToAcknowledge.class))));
-
 
148692
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
148693
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAmazonOrdersToAcknowledge_result.class, metaDataMap);
-
 
148694
    }
-
 
148695
 
-
 
148696
    public getAmazonOrdersToAcknowledge_result() {
-
 
148697
    }
-
 
148698
 
-
 
148699
    public getAmazonOrdersToAcknowledge_result(
-
 
148700
      List<AmazonOrdersToAcknowledge> success)
-
 
148701
    {
-
 
148702
      this();
-
 
148703
      this.success = success;
-
 
148704
    }
-
 
148705
 
-
 
148706
    /**
-
 
148707
     * Performs a deep copy on <i>other</i>.
-
 
148708
     */
-
 
148709
    public getAmazonOrdersToAcknowledge_result(getAmazonOrdersToAcknowledge_result other) {
-
 
148710
      if (other.isSetSuccess()) {
-
 
148711
        List<AmazonOrdersToAcknowledge> __this__success = new ArrayList<AmazonOrdersToAcknowledge>();
-
 
148712
        for (AmazonOrdersToAcknowledge other_element : other.success) {
-
 
148713
          __this__success.add(new AmazonOrdersToAcknowledge(other_element));
-
 
148714
        }
-
 
148715
        this.success = __this__success;
-
 
148716
      }
-
 
148717
    }
-
 
148718
 
-
 
148719
    public getAmazonOrdersToAcknowledge_result deepCopy() {
-
 
148720
      return new getAmazonOrdersToAcknowledge_result(this);
-
 
148721
    }
-
 
148722
 
-
 
148723
    @Override
-
 
148724
    public void clear() {
-
 
148725
      this.success = null;
-
 
148726
    }
-
 
148727
 
-
 
148728
    public int getSuccessSize() {
-
 
148729
      return (this.success == null) ? 0 : this.success.size();
-
 
148730
    }
-
 
148731
 
-
 
148732
    public java.util.Iterator<AmazonOrdersToAcknowledge> getSuccessIterator() {
-
 
148733
      return (this.success == null) ? null : this.success.iterator();
-
 
148734
    }
-
 
148735
 
-
 
148736
    public void addToSuccess(AmazonOrdersToAcknowledge elem) {
-
 
148737
      if (this.success == null) {
-
 
148738
        this.success = new ArrayList<AmazonOrdersToAcknowledge>();
-
 
148739
      }
-
 
148740
      this.success.add(elem);
-
 
148741
    }
-
 
148742
 
-
 
148743
    public List<AmazonOrdersToAcknowledge> getSuccess() {
-
 
148744
      return this.success;
-
 
148745
    }
-
 
148746
 
-
 
148747
    public void setSuccess(List<AmazonOrdersToAcknowledge> success) {
-
 
148748
      this.success = success;
-
 
148749
    }
-
 
148750
 
-
 
148751
    public void unsetSuccess() {
-
 
148752
      this.success = null;
-
 
148753
    }
-
 
148754
 
-
 
148755
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
148756
    public boolean isSetSuccess() {
-
 
148757
      return this.success != null;
-
 
148758
    }
-
 
148759
 
-
 
148760
    public void setSuccessIsSet(boolean value) {
-
 
148761
      if (!value) {
-
 
148762
        this.success = null;
-
 
148763
      }
-
 
148764
    }
-
 
148765
 
-
 
148766
    public void setFieldValue(_Fields field, Object value) {
-
 
148767
      switch (field) {
-
 
148768
      case SUCCESS:
-
 
148769
        if (value == null) {
-
 
148770
          unsetSuccess();
-
 
148771
        } else {
-
 
148772
          setSuccess((List<AmazonOrdersToAcknowledge>)value);
-
 
148773
        }
-
 
148774
        break;
-
 
148775
 
-
 
148776
      }
-
 
148777
    }
-
 
148778
 
-
 
148779
    public Object getFieldValue(_Fields field) {
-
 
148780
      switch (field) {
-
 
148781
      case SUCCESS:
-
 
148782
        return getSuccess();
-
 
148783
 
-
 
148784
      }
-
 
148785
      throw new IllegalStateException();
-
 
148786
    }
-
 
148787
 
-
 
148788
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
148789
    public boolean isSet(_Fields field) {
-
 
148790
      if (field == null) {
-
 
148791
        throw new IllegalArgumentException();
-
 
148792
      }
-
 
148793
 
-
 
148794
      switch (field) {
-
 
148795
      case SUCCESS:
-
 
148796
        return isSetSuccess();
-
 
148797
      }
-
 
148798
      throw new IllegalStateException();
-
 
148799
    }
-
 
148800
 
-
 
148801
    @Override
-
 
148802
    public boolean equals(Object that) {
-
 
148803
      if (that == null)
-
 
148804
        return false;
-
 
148805
      if (that instanceof getAmazonOrdersToAcknowledge_result)
-
 
148806
        return this.equals((getAmazonOrdersToAcknowledge_result)that);
-
 
148807
      return false;
-
 
148808
    }
-
 
148809
 
-
 
148810
    public boolean equals(getAmazonOrdersToAcknowledge_result that) {
-
 
148811
      if (that == null)
-
 
148812
        return false;
-
 
148813
 
-
 
148814
      boolean this_present_success = true && this.isSetSuccess();
-
 
148815
      boolean that_present_success = true && that.isSetSuccess();
-
 
148816
      if (this_present_success || that_present_success) {
-
 
148817
        if (!(this_present_success && that_present_success))
-
 
148818
          return false;
-
 
148819
        if (!this.success.equals(that.success))
-
 
148820
          return false;
-
 
148821
      }
-
 
148822
 
-
 
148823
      return true;
-
 
148824
    }
-
 
148825
 
-
 
148826
    @Override
-
 
148827
    public int hashCode() {
-
 
148828
      return 0;
-
 
148829
    }
-
 
148830
 
-
 
148831
    public int compareTo(getAmazonOrdersToAcknowledge_result other) {
-
 
148832
      if (!getClass().equals(other.getClass())) {
-
 
148833
        return getClass().getName().compareTo(other.getClass().getName());
-
 
148834
      }
-
 
148835
 
-
 
148836
      int lastComparison = 0;
-
 
148837
      getAmazonOrdersToAcknowledge_result typedOther = (getAmazonOrdersToAcknowledge_result)other;
-
 
148838
 
-
 
148839
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
148840
      if (lastComparison != 0) {
-
 
148841
        return lastComparison;
-
 
148842
      }
-
 
148843
      if (isSetSuccess()) {
-
 
148844
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
148845
        if (lastComparison != 0) {
-
 
148846
          return lastComparison;
-
 
148847
        }
-
 
148848
      }
-
 
148849
      return 0;
-
 
148850
    }
-
 
148851
 
-
 
148852
    public _Fields fieldForId(int fieldId) {
-
 
148853
      return _Fields.findByThriftId(fieldId);
-
 
148854
    }
-
 
148855
 
-
 
148856
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
148857
      org.apache.thrift.protocol.TField field;
-
 
148858
      iprot.readStructBegin();
-
 
148859
      while (true)
-
 
148860
      {
-
 
148861
        field = iprot.readFieldBegin();
-
 
148862
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
148863
          break;
-
 
148864
        }
-
 
148865
        switch (field.id) {
-
 
148866
          case 0: // SUCCESS
-
 
148867
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
148868
              {
-
 
148869
                org.apache.thrift.protocol.TList _list466 = iprot.readListBegin();
-
 
148870
                this.success = new ArrayList<AmazonOrdersToAcknowledge>(_list466.size);
-
 
148871
                for (int _i467 = 0; _i467 < _list466.size; ++_i467)
-
 
148872
                {
-
 
148873
                  AmazonOrdersToAcknowledge _elem468; // required
-
 
148874
                  _elem468 = new AmazonOrdersToAcknowledge();
-
 
148875
                  _elem468.read(iprot);
-
 
148876
                  this.success.add(_elem468);
-
 
148877
                }
-
 
148878
                iprot.readListEnd();
-
 
148879
              }
-
 
148880
            } else { 
-
 
148881
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
148882
            }
-
 
148883
            break;
-
 
148884
          default:
-
 
148885
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
148886
        }
-
 
148887
        iprot.readFieldEnd();
-
 
148888
      }
-
 
148889
      iprot.readStructEnd();
-
 
148890
      validate();
-
 
148891
    }
-
 
148892
 
-
 
148893
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
148894
      oprot.writeStructBegin(STRUCT_DESC);
-
 
148895
 
-
 
148896
      if (this.isSetSuccess()) {
-
 
148897
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
148898
        {
-
 
148899
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
148900
          for (AmazonOrdersToAcknowledge _iter469 : this.success)
-
 
148901
          {
-
 
148902
            _iter469.write(oprot);
-
 
148903
          }
-
 
148904
          oprot.writeListEnd();
-
 
148905
        }
-
 
148906
        oprot.writeFieldEnd();
-
 
148907
      }
-
 
148908
      oprot.writeFieldStop();
-
 
148909
      oprot.writeStructEnd();
-
 
148910
    }
-
 
148911
 
-
 
148912
    @Override
-
 
148913
    public String toString() {
-
 
148914
      StringBuilder sb = new StringBuilder("getAmazonOrdersToAcknowledge_result(");
-
 
148915
      boolean first = true;
-
 
148916
 
-
 
148917
      sb.append("success:");
-
 
148918
      if (this.success == null) {
-
 
148919
        sb.append("null");
-
 
148920
      } else {
-
 
148921
        sb.append(this.success);
-
 
148922
      }
-
 
148923
      first = false;
-
 
148924
      sb.append(")");
-
 
148925
      return sb.toString();
-
 
148926
    }
-
 
148927
 
-
 
148928
    public void validate() throws org.apache.thrift.TException {
-
 
148929
      // check for required fields
-
 
148930
    }
-
 
148931
 
-
 
148932
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
148933
      try {
-
 
148934
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
148935
      } catch (org.apache.thrift.TException te) {
-
 
148936
        throw new java.io.IOException(te);
-
 
148937
      }
-
 
148938
    }
-
 
148939
 
-
 
148940
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
148941
      try {
-
 
148942
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
148943
      } catch (org.apache.thrift.TException te) {
-
 
148944
        throw new java.io.IOException(te);
-
 
148945
      }
-
 
148946
    }
-
 
148947
 
-
 
148948
  }
-
 
148949
 
-
 
148950
  public static class changeAmazonOrderStatus_args implements org.apache.thrift.TBase<changeAmazonOrderStatus_args, changeAmazonOrderStatus_args._Fields>, java.io.Serializable, Cloneable   {
-
 
148951
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("changeAmazonOrderStatus_args");
-
 
148952
 
-
 
148953
    private static final org.apache.thrift.protocol.TField AMAZON_ORDER_CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("amazonOrderCode", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
148954
    private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
148955
 
-
 
148956
    private String amazonOrderCode; // required
-
 
148957
    private String status; // required
-
 
148958
 
-
 
148959
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
148960
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
148961
      AMAZON_ORDER_CODE((short)1, "amazonOrderCode"),
-
 
148962
      STATUS((short)2, "status");
-
 
148963
 
-
 
148964
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
148965
 
-
 
148966
      static {
-
 
148967
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
148968
          byName.put(field.getFieldName(), field);
-
 
148969
        }
-
 
148970
      }
-
 
148971
 
-
 
148972
      /**
-
 
148973
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
148974
       */
-
 
148975
      public static _Fields findByThriftId(int fieldId) {
-
 
148976
        switch(fieldId) {
-
 
148977
          case 1: // AMAZON_ORDER_CODE
-
 
148978
            return AMAZON_ORDER_CODE;
-
 
148979
          case 2: // STATUS
-
 
148980
            return STATUS;
-
 
148981
          default:
-
 
148982
            return null;
-
 
148983
        }
-
 
148984
      }
-
 
148985
 
-
 
148986
      /**
-
 
148987
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
148988
       * if it is not found.
-
 
148989
       */
-
 
148990
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
148991
        _Fields fields = findByThriftId(fieldId);
-
 
148992
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
148993
        return fields;
-
 
148994
      }
-
 
148995
 
-
 
148996
      /**
-
 
148997
       * Find the _Fields constant that matches name, or null if its not found.
-
 
148998
       */
-
 
148999
      public static _Fields findByName(String name) {
-
 
149000
        return byName.get(name);
-
 
149001
      }
-
 
149002
 
-
 
149003
      private final short _thriftId;
-
 
149004
      private final String _fieldName;
-
 
149005
 
-
 
149006
      _Fields(short thriftId, String fieldName) {
-
 
149007
        _thriftId = thriftId;
-
 
149008
        _fieldName = fieldName;
-
 
149009
      }
-
 
149010
 
-
 
149011
      public short getThriftFieldId() {
-
 
149012
        return _thriftId;
-
 
149013
      }
-
 
149014
 
-
 
149015
      public String getFieldName() {
-
 
149016
        return _fieldName;
-
 
149017
      }
-
 
149018
    }
-
 
149019
 
-
 
149020
    // isset id assignments
-
 
149021
 
-
 
149022
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
149023
    static {
-
 
149024
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
149025
      tmpMap.put(_Fields.AMAZON_ORDER_CODE, new org.apache.thrift.meta_data.FieldMetaData("amazonOrderCode", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
149026
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
149027
      tmpMap.put(_Fields.STATUS, new org.apache.thrift.meta_data.FieldMetaData("status", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
149028
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
149029
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
149030
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(changeAmazonOrderStatus_args.class, metaDataMap);
-
 
149031
    }
-
 
149032
 
-
 
149033
    public changeAmazonOrderStatus_args() {
-
 
149034
    }
-
 
149035
 
-
 
149036
    public changeAmazonOrderStatus_args(
-
 
149037
      String amazonOrderCode,
-
 
149038
      String status)
-
 
149039
    {
-
 
149040
      this();
-
 
149041
      this.amazonOrderCode = amazonOrderCode;
-
 
149042
      this.status = status;
-
 
149043
    }
-
 
149044
 
-
 
149045
    /**
-
 
149046
     * Performs a deep copy on <i>other</i>.
-
 
149047
     */
-
 
149048
    public changeAmazonOrderStatus_args(changeAmazonOrderStatus_args other) {
-
 
149049
      if (other.isSetAmazonOrderCode()) {
-
 
149050
        this.amazonOrderCode = other.amazonOrderCode;
-
 
149051
      }
-
 
149052
      if (other.isSetStatus()) {
-
 
149053
        this.status = other.status;
-
 
149054
      }
-
 
149055
    }
-
 
149056
 
-
 
149057
    public changeAmazonOrderStatus_args deepCopy() {
-
 
149058
      return new changeAmazonOrderStatus_args(this);
-
 
149059
    }
-
 
149060
 
-
 
149061
    @Override
-
 
149062
    public void clear() {
-
 
149063
      this.amazonOrderCode = null;
-
 
149064
      this.status = null;
-
 
149065
    }
-
 
149066
 
-
 
149067
    public String getAmazonOrderCode() {
-
 
149068
      return this.amazonOrderCode;
-
 
149069
    }
-
 
149070
 
-
 
149071
    public void setAmazonOrderCode(String amazonOrderCode) {
-
 
149072
      this.amazonOrderCode = amazonOrderCode;
-
 
149073
    }
-
 
149074
 
-
 
149075
    public void unsetAmazonOrderCode() {
-
 
149076
      this.amazonOrderCode = null;
-
 
149077
    }
-
 
149078
 
-
 
149079
    /** Returns true if field amazonOrderCode is set (has been assigned a value) and false otherwise */
-
 
149080
    public boolean isSetAmazonOrderCode() {
-
 
149081
      return this.amazonOrderCode != null;
-
 
149082
    }
-
 
149083
 
-
 
149084
    public void setAmazonOrderCodeIsSet(boolean value) {
-
 
149085
      if (!value) {
-
 
149086
        this.amazonOrderCode = null;
-
 
149087
      }
-
 
149088
    }
-
 
149089
 
-
 
149090
    public String getStatus() {
-
 
149091
      return this.status;
-
 
149092
    }
-
 
149093
 
-
 
149094
    public void setStatus(String status) {
-
 
149095
      this.status = status;
-
 
149096
    }
-
 
149097
 
-
 
149098
    public void unsetStatus() {
-
 
149099
      this.status = null;
-
 
149100
    }
-
 
149101
 
-
 
149102
    /** Returns true if field status is set (has been assigned a value) and false otherwise */
-
 
149103
    public boolean isSetStatus() {
-
 
149104
      return this.status != null;
-
 
149105
    }
-
 
149106
 
-
 
149107
    public void setStatusIsSet(boolean value) {
-
 
149108
      if (!value) {
-
 
149109
        this.status = null;
-
 
149110
      }
-
 
149111
    }
-
 
149112
 
-
 
149113
    public void setFieldValue(_Fields field, Object value) {
-
 
149114
      switch (field) {
-
 
149115
      case AMAZON_ORDER_CODE:
-
 
149116
        if (value == null) {
-
 
149117
          unsetAmazonOrderCode();
-
 
149118
        } else {
-
 
149119
          setAmazonOrderCode((String)value);
-
 
149120
        }
-
 
149121
        break;
-
 
149122
 
-
 
149123
      case STATUS:
-
 
149124
        if (value == null) {
-
 
149125
          unsetStatus();
-
 
149126
        } else {
-
 
149127
          setStatus((String)value);
-
 
149128
        }
-
 
149129
        break;
-
 
149130
 
-
 
149131
      }
-
 
149132
    }
-
 
149133
 
-
 
149134
    public Object getFieldValue(_Fields field) {
-
 
149135
      switch (field) {
-
 
149136
      case AMAZON_ORDER_CODE:
-
 
149137
        return getAmazonOrderCode();
-
 
149138
 
-
 
149139
      case STATUS:
-
 
149140
        return getStatus();
-
 
149141
 
-
 
149142
      }
-
 
149143
      throw new IllegalStateException();
-
 
149144
    }
-
 
149145
 
-
 
149146
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
149147
    public boolean isSet(_Fields field) {
-
 
149148
      if (field == null) {
-
 
149149
        throw new IllegalArgumentException();
-
 
149150
      }
-
 
149151
 
-
 
149152
      switch (field) {
-
 
149153
      case AMAZON_ORDER_CODE:
-
 
149154
        return isSetAmazonOrderCode();
-
 
149155
      case STATUS:
-
 
149156
        return isSetStatus();
-
 
149157
      }
-
 
149158
      throw new IllegalStateException();
-
 
149159
    }
-
 
149160
 
-
 
149161
    @Override
-
 
149162
    public boolean equals(Object that) {
-
 
149163
      if (that == null)
-
 
149164
        return false;
-
 
149165
      if (that instanceof changeAmazonOrderStatus_args)
-
 
149166
        return this.equals((changeAmazonOrderStatus_args)that);
-
 
149167
      return false;
-
 
149168
    }
-
 
149169
 
-
 
149170
    public boolean equals(changeAmazonOrderStatus_args that) {
-
 
149171
      if (that == null)
-
 
149172
        return false;
-
 
149173
 
-
 
149174
      boolean this_present_amazonOrderCode = true && this.isSetAmazonOrderCode();
-
 
149175
      boolean that_present_amazonOrderCode = true && that.isSetAmazonOrderCode();
-
 
149176
      if (this_present_amazonOrderCode || that_present_amazonOrderCode) {
-
 
149177
        if (!(this_present_amazonOrderCode && that_present_amazonOrderCode))
-
 
149178
          return false;
-
 
149179
        if (!this.amazonOrderCode.equals(that.amazonOrderCode))
-
 
149180
          return false;
-
 
149181
      }
-
 
149182
 
-
 
149183
      boolean this_present_status = true && this.isSetStatus();
-
 
149184
      boolean that_present_status = true && that.isSetStatus();
-
 
149185
      if (this_present_status || that_present_status) {
-
 
149186
        if (!(this_present_status && that_present_status))
-
 
149187
          return false;
-
 
149188
        if (!this.status.equals(that.status))
-
 
149189
          return false;
-
 
149190
      }
-
 
149191
 
-
 
149192
      return true;
-
 
149193
    }
-
 
149194
 
-
 
149195
    @Override
-
 
149196
    public int hashCode() {
-
 
149197
      return 0;
-
 
149198
    }
-
 
149199
 
-
 
149200
    public int compareTo(changeAmazonOrderStatus_args other) {
-
 
149201
      if (!getClass().equals(other.getClass())) {
-
 
149202
        return getClass().getName().compareTo(other.getClass().getName());
-
 
149203
      }
-
 
149204
 
-
 
149205
      int lastComparison = 0;
-
 
149206
      changeAmazonOrderStatus_args typedOther = (changeAmazonOrderStatus_args)other;
-
 
149207
 
-
 
149208
      lastComparison = Boolean.valueOf(isSetAmazonOrderCode()).compareTo(typedOther.isSetAmazonOrderCode());
-
 
149209
      if (lastComparison != 0) {
-
 
149210
        return lastComparison;
-
 
149211
      }
-
 
149212
      if (isSetAmazonOrderCode()) {
-
 
149213
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.amazonOrderCode, typedOther.amazonOrderCode);
-
 
149214
        if (lastComparison != 0) {
-
 
149215
          return lastComparison;
-
 
149216
        }
-
 
149217
      }
-
 
149218
      lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
-
 
149219
      if (lastComparison != 0) {
-
 
149220
        return lastComparison;
-
 
149221
      }
-
 
149222
      if (isSetStatus()) {
-
 
149223
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
-
 
149224
        if (lastComparison != 0) {
-
 
149225
          return lastComparison;
-
 
149226
        }
-
 
149227
      }
-
 
149228
      return 0;
-
 
149229
    }
-
 
149230
 
-
 
149231
    public _Fields fieldForId(int fieldId) {
-
 
149232
      return _Fields.findByThriftId(fieldId);
-
 
149233
    }
-
 
149234
 
-
 
149235
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
149236
      org.apache.thrift.protocol.TField field;
-
 
149237
      iprot.readStructBegin();
-
 
149238
      while (true)
-
 
149239
      {
-
 
149240
        field = iprot.readFieldBegin();
-
 
149241
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
149242
          break;
-
 
149243
        }
-
 
149244
        switch (field.id) {
-
 
149245
          case 1: // AMAZON_ORDER_CODE
-
 
149246
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
149247
              this.amazonOrderCode = iprot.readString();
-
 
149248
            } else { 
-
 
149249
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
149250
            }
-
 
149251
            break;
-
 
149252
          case 2: // STATUS
-
 
149253
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
149254
              this.status = iprot.readString();
-
 
149255
            } else { 
-
 
149256
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
149257
            }
-
 
149258
            break;
-
 
149259
          default:
-
 
149260
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
149261
        }
-
 
149262
        iprot.readFieldEnd();
-
 
149263
      }
-
 
149264
      iprot.readStructEnd();
-
 
149265
      validate();
-
 
149266
    }
-
 
149267
 
-
 
149268
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
149269
      validate();
-
 
149270
 
-
 
149271
      oprot.writeStructBegin(STRUCT_DESC);
-
 
149272
      if (this.amazonOrderCode != null) {
-
 
149273
        oprot.writeFieldBegin(AMAZON_ORDER_CODE_FIELD_DESC);
-
 
149274
        oprot.writeString(this.amazonOrderCode);
-
 
149275
        oprot.writeFieldEnd();
-
 
149276
      }
-
 
149277
      if (this.status != null) {
-
 
149278
        oprot.writeFieldBegin(STATUS_FIELD_DESC);
-
 
149279
        oprot.writeString(this.status);
-
 
149280
        oprot.writeFieldEnd();
-
 
149281
      }
-
 
149282
      oprot.writeFieldStop();
-
 
149283
      oprot.writeStructEnd();
-
 
149284
    }
-
 
149285
 
-
 
149286
    @Override
-
 
149287
    public String toString() {
-
 
149288
      StringBuilder sb = new StringBuilder("changeAmazonOrderStatus_args(");
-
 
149289
      boolean first = true;
-
 
149290
 
-
 
149291
      sb.append("amazonOrderCode:");
-
 
149292
      if (this.amazonOrderCode == null) {
-
 
149293
        sb.append("null");
-
 
149294
      } else {
-
 
149295
        sb.append(this.amazonOrderCode);
-
 
149296
      }
-
 
149297
      first = false;
-
 
149298
      if (!first) sb.append(", ");
-
 
149299
      sb.append("status:");
-
 
149300
      if (this.status == null) {
-
 
149301
        sb.append("null");
-
 
149302
      } else {
-
 
149303
        sb.append(this.status);
-
 
149304
      }
-
 
149305
      first = false;
-
 
149306
      sb.append(")");
-
 
149307
      return sb.toString();
-
 
149308
    }
-
 
149309
 
-
 
149310
    public void validate() throws org.apache.thrift.TException {
-
 
149311
      // check for required fields
-
 
149312
    }
-
 
149313
 
-
 
149314
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
149315
      try {
-
 
149316
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
149317
      } catch (org.apache.thrift.TException te) {
-
 
149318
        throw new java.io.IOException(te);
-
 
149319
      }
-
 
149320
    }
-
 
149321
 
-
 
149322
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
149323
      try {
-
 
149324
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
149325
      } catch (org.apache.thrift.TException te) {
-
 
149326
        throw new java.io.IOException(te);
-
 
149327
      }
-
 
149328
    }
-
 
149329
 
-
 
149330
  }
-
 
149331
 
-
 
149332
  public static class changeAmazonOrderStatus_result implements org.apache.thrift.TBase<changeAmazonOrderStatus_result, changeAmazonOrderStatus_result._Fields>, java.io.Serializable, Cloneable   {
-
 
149333
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("changeAmazonOrderStatus_result");
-
 
149334
 
-
 
149335
 
-
 
149336
 
-
 
149337
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
149338
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
149339
;
-
 
149340
 
-
 
149341
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
149342
 
-
 
149343
      static {
-
 
149344
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
149345
          byName.put(field.getFieldName(), field);
-
 
149346
        }
-
 
149347
      }
-
 
149348
 
-
 
149349
      /**
-
 
149350
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
149351
       */
-
 
149352
      public static _Fields findByThriftId(int fieldId) {
-
 
149353
        switch(fieldId) {
-
 
149354
          default:
-
 
149355
            return null;
-
 
149356
        }
-
 
149357
      }
-
 
149358
 
-
 
149359
      /**
-
 
149360
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
149361
       * if it is not found.
-
 
149362
       */
-
 
149363
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
149364
        _Fields fields = findByThriftId(fieldId);
-
 
149365
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
149366
        return fields;
-
 
149367
      }
-
 
149368
 
-
 
149369
      /**
-
 
149370
       * Find the _Fields constant that matches name, or null if its not found.
-
 
149371
       */
-
 
149372
      public static _Fields findByName(String name) {
-
 
149373
        return byName.get(name);
-
 
149374
      }
-
 
149375
 
-
 
149376
      private final short _thriftId;
-
 
149377
      private final String _fieldName;
-
 
149378
 
-
 
149379
      _Fields(short thriftId, String fieldName) {
-
 
149380
        _thriftId = thriftId;
-
 
149381
        _fieldName = fieldName;
-
 
149382
      }
-
 
149383
 
-
 
149384
      public short getThriftFieldId() {
-
 
149385
        return _thriftId;
-
 
149386
      }
-
 
149387
 
-
 
149388
      public String getFieldName() {
-
 
149389
        return _fieldName;
-
 
149390
      }
-
 
149391
    }
-
 
149392
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
149393
    static {
-
 
149394
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
149395
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
149396
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(changeAmazonOrderStatus_result.class, metaDataMap);
-
 
149397
    }
-
 
149398
 
-
 
149399
    public changeAmazonOrderStatus_result() {
-
 
149400
    }
-
 
149401
 
-
 
149402
    /**
-
 
149403
     * Performs a deep copy on <i>other</i>.
-
 
149404
     */
-
 
149405
    public changeAmazonOrderStatus_result(changeAmazonOrderStatus_result other) {
-
 
149406
    }
-
 
149407
 
-
 
149408
    public changeAmazonOrderStatus_result deepCopy() {
-
 
149409
      return new changeAmazonOrderStatus_result(this);
-
 
149410
    }
-
 
149411
 
-
 
149412
    @Override
-
 
149413
    public void clear() {
-
 
149414
    }
-
 
149415
 
-
 
149416
    public void setFieldValue(_Fields field, Object value) {
-
 
149417
      switch (field) {
-
 
149418
      }
-
 
149419
    }
-
 
149420
 
-
 
149421
    public Object getFieldValue(_Fields field) {
-
 
149422
      switch (field) {
-
 
149423
      }
-
 
149424
      throw new IllegalStateException();
-
 
149425
    }
-
 
149426
 
-
 
149427
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
149428
    public boolean isSet(_Fields field) {
-
 
149429
      if (field == null) {
-
 
149430
        throw new IllegalArgumentException();
-
 
149431
      }
-
 
149432
 
-
 
149433
      switch (field) {
-
 
149434
      }
-
 
149435
      throw new IllegalStateException();
-
 
149436
    }
-
 
149437
 
-
 
149438
    @Override
-
 
149439
    public boolean equals(Object that) {
-
 
149440
      if (that == null)
-
 
149441
        return false;
-
 
149442
      if (that instanceof changeAmazonOrderStatus_result)
-
 
149443
        return this.equals((changeAmazonOrderStatus_result)that);
-
 
149444
      return false;
-
 
149445
    }
-
 
149446
 
-
 
149447
    public boolean equals(changeAmazonOrderStatus_result that) {
-
 
149448
      if (that == null)
-
 
149449
        return false;
-
 
149450
 
-
 
149451
      return true;
-
 
149452
    }
-
 
149453
 
-
 
149454
    @Override
-
 
149455
    public int hashCode() {
-
 
149456
      return 0;
-
 
149457
    }
-
 
149458
 
-
 
149459
    public int compareTo(changeAmazonOrderStatus_result other) {
-
 
149460
      if (!getClass().equals(other.getClass())) {
-
 
149461
        return getClass().getName().compareTo(other.getClass().getName());
-
 
149462
      }
-
 
149463
 
-
 
149464
      int lastComparison = 0;
-
 
149465
      changeAmazonOrderStatus_result typedOther = (changeAmazonOrderStatus_result)other;
-
 
149466
 
-
 
149467
      return 0;
-
 
149468
    }
-
 
149469
 
-
 
149470
    public _Fields fieldForId(int fieldId) {
-
 
149471
      return _Fields.findByThriftId(fieldId);
-
 
149472
    }
-
 
149473
 
-
 
149474
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
149475
      org.apache.thrift.protocol.TField field;
-
 
149476
      iprot.readStructBegin();
-
 
149477
      while (true)
-
 
149478
      {
-
 
149479
        field = iprot.readFieldBegin();
-
 
149480
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
149481
          break;
-
 
149482
        }
-
 
149483
        switch (field.id) {
-
 
149484
          default:
-
 
149485
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
149486
        }
-
 
149487
        iprot.readFieldEnd();
-
 
149488
      }
-
 
149489
      iprot.readStructEnd();
-
 
149490
      validate();
-
 
149491
    }
-
 
149492
 
-
 
149493
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
149494
      oprot.writeStructBegin(STRUCT_DESC);
-
 
149495
 
-
 
149496
      oprot.writeFieldStop();
-
 
149497
      oprot.writeStructEnd();
-
 
149498
    }
-
 
149499
 
-
 
149500
    @Override
-
 
149501
    public String toString() {
-
 
149502
      StringBuilder sb = new StringBuilder("changeAmazonOrderStatus_result(");
-
 
149503
      boolean first = true;
-
 
149504
 
-
 
149505
      sb.append(")");
-
 
149506
      return sb.toString();
-
 
149507
    }
-
 
149508
 
-
 
149509
    public void validate() throws org.apache.thrift.TException {
148243
      // check for required fields
149510
      // check for required fields
148244
    }
149511
    }
148245
 
149512
 
148246
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
149513
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
148247
      try {
149514
      try {