Subversion Repositories SmartDukaan

Rev

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

Rev 8942 Rev 8961
Line 1041... Line 1041...
1041
 
1041
 
1042
    public boolean snapdealOrderExists(long subOrderId, String referenceCode) throws org.apache.thrift.TException;
1042
    public boolean snapdealOrderExists(long subOrderId, String referenceCode) throws org.apache.thrift.TException;
1043
 
1043
 
1044
    public void updateLatestFbaPricesForItem(FbaItemPrices fbaitemprices) throws org.apache.thrift.TException;
1044
    public void updateLatestFbaPricesForItem(FbaItemPrices fbaitemprices) throws org.apache.thrift.TException;
1045
 
1045
 
-
 
1046
    public boolean flipkartOrderExists(String flipkartOrderId, String flipkartSubOrderId) throws org.apache.thrift.TException;
-
 
1047
 
-
 
1048
    public void createFlipkartOrder(FlipkartOrder flipkartOrder) throws org.apache.thrift.TException;
-
 
1049
 
1046
  }
1050
  }
1047
 
1051
 
1048
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1052
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1049
 
1053
 
1050
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
1054
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1469... Line 1473...
1469
 
1473
 
1470
    public void snapdealOrderExists(long subOrderId, String referenceCode, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.snapdealOrderExists_call> resultHandler) throws org.apache.thrift.TException;
1474
    public void snapdealOrderExists(long subOrderId, String referenceCode, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.snapdealOrderExists_call> resultHandler) throws org.apache.thrift.TException;
1471
 
1475
 
1472
    public void updateLatestFbaPricesForItem(FbaItemPrices fbaitemprices, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateLatestFbaPricesForItem_call> resultHandler) throws org.apache.thrift.TException;
1476
    public void updateLatestFbaPricesForItem(FbaItemPrices fbaitemprices, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateLatestFbaPricesForItem_call> resultHandler) throws org.apache.thrift.TException;
1473
 
1477
 
-
 
1478
    public void flipkartOrderExists(String flipkartOrderId, String flipkartSubOrderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.flipkartOrderExists_call> resultHandler) throws org.apache.thrift.TException;
-
 
1479
 
-
 
1480
    public void createFlipkartOrder(FlipkartOrder flipkartOrder, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createFlipkartOrder_call> resultHandler) throws org.apache.thrift.TException;
-
 
1481
 
1474
  }
1482
  }
1475
 
1483
 
1476
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1484
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1477
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1485
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1478
      public Factory() {}
1486
      public Factory() {}
Line 6729... Line 6737...
6729
      updateLatestFbaPricesForItem_result result = new updateLatestFbaPricesForItem_result();
6737
      updateLatestFbaPricesForItem_result result = new updateLatestFbaPricesForItem_result();
6730
      receiveBase(result, "updateLatestFbaPricesForItem");
6738
      receiveBase(result, "updateLatestFbaPricesForItem");
6731
      return;
6739
      return;
6732
    }
6740
    }
6733
 
6741
 
-
 
6742
    public boolean flipkartOrderExists(String flipkartOrderId, String flipkartSubOrderId) throws org.apache.thrift.TException
-
 
6743
    {
-
 
6744
      send_flipkartOrderExists(flipkartOrderId, flipkartSubOrderId);
-
 
6745
      return recv_flipkartOrderExists();
-
 
6746
    }
-
 
6747
 
-
 
6748
    public void send_flipkartOrderExists(String flipkartOrderId, String flipkartSubOrderId) throws org.apache.thrift.TException
-
 
6749
    {
-
 
6750
      flipkartOrderExists_args args = new flipkartOrderExists_args();
-
 
6751
      args.setFlipkartOrderId(flipkartOrderId);
-
 
6752
      args.setFlipkartSubOrderId(flipkartSubOrderId);
-
 
6753
      sendBase("flipkartOrderExists", args);
-
 
6754
    }
-
 
6755
 
-
 
6756
    public boolean recv_flipkartOrderExists() throws org.apache.thrift.TException
-
 
6757
    {
-
 
6758
      flipkartOrderExists_result result = new flipkartOrderExists_result();
-
 
6759
      receiveBase(result, "flipkartOrderExists");
-
 
6760
      if (result.isSetSuccess()) {
-
 
6761
        return result.success;
-
 
6762
      }
-
 
6763
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "flipkartOrderExists failed: unknown result");
-
 
6764
    }
-
 
6765
 
-
 
6766
    public void createFlipkartOrder(FlipkartOrder flipkartOrder) throws org.apache.thrift.TException
-
 
6767
    {
-
 
6768
      send_createFlipkartOrder(flipkartOrder);
-
 
6769
      recv_createFlipkartOrder();
-
 
6770
    }
-
 
6771
 
-
 
6772
    public void send_createFlipkartOrder(FlipkartOrder flipkartOrder) throws org.apache.thrift.TException
-
 
6773
    {
-
 
6774
      createFlipkartOrder_args args = new createFlipkartOrder_args();
-
 
6775
      args.setFlipkartOrder(flipkartOrder);
-
 
6776
      sendBase("createFlipkartOrder", args);
-
 
6777
    }
-
 
6778
 
-
 
6779
    public void recv_createFlipkartOrder() throws org.apache.thrift.TException
-
 
6780
    {
-
 
6781
      createFlipkartOrder_result result = new createFlipkartOrder_result();
-
 
6782
      receiveBase(result, "createFlipkartOrder");
-
 
6783
      return;
-
 
6784
    }
-
 
6785
 
6734
  }
6786
  }
6735
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
6787
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
6736
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
6788
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
6737
      private org.apache.thrift.async.TAsyncClientManager clientManager;
6789
      private org.apache.thrift.async.TAsyncClientManager clientManager;
6738
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
6790
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 14122... Line 14174...
14122
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
14174
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
14123
        (new Client(prot)).recv_updateLatestFbaPricesForItem();
14175
        (new Client(prot)).recv_updateLatestFbaPricesForItem();
14124
      }
14176
      }
14125
    }
14177
    }
14126
 
14178
 
-
 
14179
    public void flipkartOrderExists(String flipkartOrderId, String flipkartSubOrderId, org.apache.thrift.async.AsyncMethodCallback<flipkartOrderExists_call> resultHandler) throws org.apache.thrift.TException {
-
 
14180
      checkReady();
-
 
14181
      flipkartOrderExists_call method_call = new flipkartOrderExists_call(flipkartOrderId, flipkartSubOrderId, resultHandler, this, ___protocolFactory, ___transport);
-
 
14182
      this.___currentMethod = method_call;
-
 
14183
      ___manager.call(method_call);
-
 
14184
    }
-
 
14185
 
-
 
14186
    public static class flipkartOrderExists_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
14187
      private String flipkartOrderId;
-
 
14188
      private String flipkartSubOrderId;
-
 
14189
      public flipkartOrderExists_call(String flipkartOrderId, String flipkartSubOrderId, org.apache.thrift.async.AsyncMethodCallback<flipkartOrderExists_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 {
-
 
14190
        super(client, protocolFactory, transport, resultHandler, false);
-
 
14191
        this.flipkartOrderId = flipkartOrderId;
-
 
14192
        this.flipkartSubOrderId = flipkartSubOrderId;
-
 
14193
      }
-
 
14194
 
-
 
14195
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
14196
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("flipkartOrderExists", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
14197
        flipkartOrderExists_args args = new flipkartOrderExists_args();
-
 
14198
        args.setFlipkartOrderId(flipkartOrderId);
-
 
14199
        args.setFlipkartSubOrderId(flipkartSubOrderId);
-
 
14200
        args.write(prot);
-
 
14201
        prot.writeMessageEnd();
-
 
14202
      }
-
 
14203
 
-
 
14204
      public boolean getResult() throws org.apache.thrift.TException {
-
 
14205
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
14206
          throw new IllegalStateException("Method call not finished!");
-
 
14207
        }
-
 
14208
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
14209
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
14210
        return (new Client(prot)).recv_flipkartOrderExists();
-
 
14211
      }
-
 
14212
    }
-
 
14213
 
-
 
14214
    public void createFlipkartOrder(FlipkartOrder flipkartOrder, org.apache.thrift.async.AsyncMethodCallback<createFlipkartOrder_call> resultHandler) throws org.apache.thrift.TException {
-
 
14215
      checkReady();
-
 
14216
      createFlipkartOrder_call method_call = new createFlipkartOrder_call(flipkartOrder, resultHandler, this, ___protocolFactory, ___transport);
-
 
14217
      this.___currentMethod = method_call;
-
 
14218
      ___manager.call(method_call);
-
 
14219
    }
-
 
14220
 
-
 
14221
    public static class createFlipkartOrder_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
14222
      private FlipkartOrder flipkartOrder;
-
 
14223
      public createFlipkartOrder_call(FlipkartOrder flipkartOrder, org.apache.thrift.async.AsyncMethodCallback<createFlipkartOrder_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 {
-
 
14224
        super(client, protocolFactory, transport, resultHandler, false);
-
 
14225
        this.flipkartOrder = flipkartOrder;
-
 
14226
      }
-
 
14227
 
-
 
14228
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
14229
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createFlipkartOrder", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
14230
        createFlipkartOrder_args args = new createFlipkartOrder_args();
-
 
14231
        args.setFlipkartOrder(flipkartOrder);
-
 
14232
        args.write(prot);
-
 
14233
        prot.writeMessageEnd();
-
 
14234
      }
-
 
14235
 
-
 
14236
      public void getResult() throws org.apache.thrift.TException {
-
 
14237
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
14238
          throw new IllegalStateException("Method call not finished!");
-
 
14239
        }
-
 
14240
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
14241
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
14242
        (new Client(prot)).recv_createFlipkartOrder();
-
 
14243
      }
-
 
14244
    }
-
 
14245
 
14127
  }
14246
  }
14128
 
14247
 
14129
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
14248
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
14130
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
14249
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
14131
    public Processor(I iface) {
14250
    public Processor(I iface) {
Line 14347... Line 14466...
14347
      processMap.put("getAmazonFbaSalesLatestSnapshotForItem", new getAmazonFbaSalesLatestSnapshotForItem());
14466
      processMap.put("getAmazonFbaSalesLatestSnapshotForItem", new getAmazonFbaSalesLatestSnapshotForItem());
14348
      processMap.put("createSnapdealOrder", new createSnapdealOrder());
14467
      processMap.put("createSnapdealOrder", new createSnapdealOrder());
14349
      processMap.put("getSnapdealOrder", new getSnapdealOrder());
14468
      processMap.put("getSnapdealOrder", new getSnapdealOrder());
14350
      processMap.put("snapdealOrderExists", new snapdealOrderExists());
14469
      processMap.put("snapdealOrderExists", new snapdealOrderExists());
14351
      processMap.put("updateLatestFbaPricesForItem", new updateLatestFbaPricesForItem());
14470
      processMap.put("updateLatestFbaPricesForItem", new updateLatestFbaPricesForItem());
-
 
14471
      processMap.put("flipkartOrderExists", new flipkartOrderExists());
-
 
14472
      processMap.put("createFlipkartOrder", new createFlipkartOrder());
14352
      return processMap;
14473
      return processMap;
14353
    }
14474
    }
14354
 
14475
 
14355
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
14476
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
14356
      public createTransaction() {
14477
      public createTransaction() {
Line 18192... Line 18313...
18192
        iface.updateLatestFbaPricesForItem(args.fbaitemprices);
18313
        iface.updateLatestFbaPricesForItem(args.fbaitemprices);
18193
        return result;
18314
        return result;
18194
      }
18315
      }
18195
    }
18316
    }
18196
 
18317
 
-
 
18318
    private static class flipkartOrderExists<I extends Iface> extends org.apache.thrift.ProcessFunction<I, flipkartOrderExists_args> {
-
 
18319
      public flipkartOrderExists() {
-
 
18320
        super("flipkartOrderExists");
-
 
18321
      }
-
 
18322
 
-
 
18323
      protected flipkartOrderExists_args getEmptyArgsInstance() {
-
 
18324
        return new flipkartOrderExists_args();
-
 
18325
      }
-
 
18326
 
-
 
18327
      protected flipkartOrderExists_result getResult(I iface, flipkartOrderExists_args args) throws org.apache.thrift.TException {
-
 
18328
        flipkartOrderExists_result result = new flipkartOrderExists_result();
-
 
18329
        result.success = iface.flipkartOrderExists(args.flipkartOrderId, args.flipkartSubOrderId);
-
 
18330
        result.setSuccessIsSet(true);
-
 
18331
        return result;
-
 
18332
      }
-
 
18333
    }
-
 
18334
 
-
 
18335
    private static class createFlipkartOrder<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createFlipkartOrder_args> {
-
 
18336
      public createFlipkartOrder() {
-
 
18337
        super("createFlipkartOrder");
-
 
18338
      }
-
 
18339
 
-
 
18340
      protected createFlipkartOrder_args getEmptyArgsInstance() {
-
 
18341
        return new createFlipkartOrder_args();
-
 
18342
      }
-
 
18343
 
-
 
18344
      protected createFlipkartOrder_result getResult(I iface, createFlipkartOrder_args args) throws org.apache.thrift.TException {
-
 
18345
        createFlipkartOrder_result result = new createFlipkartOrder_result();
-
 
18346
        iface.createFlipkartOrder(args.flipkartOrder);
-
 
18347
        return result;
-
 
18348
      }
-
 
18349
    }
-
 
18350
 
18197
  }
18351
  }
18198
 
18352
 
18199
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
18353
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
18200
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
18354
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
18201
 
18355
 
Line 62979... Line 63133...
62979
      }
63133
      }
62980
    }
63134
    }
62981
 
63135
 
62982
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
63136
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
62983
      try {
63137
      try {
62984
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
62985
        __isset_bit_vector = new BitSet(1);
-
 
62986
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
63138
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
62987
      } catch (org.apache.thrift.TException te) {
63139
      } catch (org.apache.thrift.TException te) {
62988
        throw new java.io.IOException(te);
63140
        throw new java.io.IOException(te);
62989
      }
63141
      }
62990
    }
63142
    }
Line 68587... Line 68739...
68587
      }
68739
      }
68588
    }
68740
    }
68589
 
68741
 
68590
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
68742
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
68591
      try {
68743
      try {
68592
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
68593
        __isset_bit_vector = new BitSet(1);
-
 
68594
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
68744
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
68595
      } catch (org.apache.thrift.TException te) {
68745
      } catch (org.apache.thrift.TException te) {
68596
        throw new java.io.IOException(te);
68746
        throw new java.io.IOException(te);
68597
      }
68747
      }
68598
    }
68748
    }
Line 79361... Line 79511...
79361
      }
79511
      }
79362
    }
79512
    }
79363
 
79513
 
79364
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
79514
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
79365
      try {
79515
      try {
-
 
79516
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
79517
        __isset_bit_vector = new BitSet(1);
79366
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
79518
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
79367
      } catch (org.apache.thrift.TException te) {
79519
      } catch (org.apache.thrift.TException te) {
79368
        throw new java.io.IOException(te);
79520
        throw new java.io.IOException(te);
79369
      }
79521
      }
79370
    }
79522
    }
Line 108293... Line 108445...
108293
      }
108445
      }
108294
    }
108446
    }
108295
 
108447
 
108296
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
108448
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
108297
      try {
108449
      try {
108298
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
108299
        __isset_bit_vector = new BitSet(1);
-
 
108300
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
108450
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
108301
      } catch (org.apache.thrift.TException te) {
108451
      } catch (org.apache.thrift.TException te) {
108302
        throw new java.io.IOException(te);
108452
        throw new java.io.IOException(te);
108303
      }
108453
      }
108304
    }
108454
    }
Line 168367... Line 168517...
168367
      boolean first = true;
168517
      boolean first = true;
168368
 
168518
 
168369
      sb.append(")");
168519
      sb.append(")");
168370
      return sb.toString();
168520
      return sb.toString();
168371
    }
168521
    }
-
 
168522
 
-
 
168523
    public void validate() throws org.apache.thrift.TException {
-
 
168524
      // check for required fields
-
 
168525
    }
-
 
168526
 
-
 
168527
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
168528
      try {
-
 
168529
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
168530
      } catch (org.apache.thrift.TException te) {
-
 
168531
        throw new java.io.IOException(te);
-
 
168532
      }
-
 
168533
    }
-
 
168534
 
-
 
168535
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
168536
      try {
-
 
168537
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
168538
      } catch (org.apache.thrift.TException te) {
-
 
168539
        throw new java.io.IOException(te);
-
 
168540
      }
-
 
168541
    }
-
 
168542
 
-
 
168543
  }
-
 
168544
 
-
 
168545
  public static class flipkartOrderExists_args implements org.apache.thrift.TBase<flipkartOrderExists_args, flipkartOrderExists_args._Fields>, java.io.Serializable, Cloneable   {
-
 
168546
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("flipkartOrderExists_args");
-
 
168547
 
-
 
168548
    private static final org.apache.thrift.protocol.TField FLIPKART_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("flipkartOrderId", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
168549
    private static final org.apache.thrift.protocol.TField FLIPKART_SUB_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("flipkartSubOrderId", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
168550
 
-
 
168551
    private String flipkartOrderId; // required
-
 
168552
    private String flipkartSubOrderId; // required
-
 
168553
 
-
 
168554
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
168555
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
168556
      FLIPKART_ORDER_ID((short)1, "flipkartOrderId"),
-
 
168557
      FLIPKART_SUB_ORDER_ID((short)2, "flipkartSubOrderId");
-
 
168558
 
-
 
168559
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
168560
 
-
 
168561
      static {
-
 
168562
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
168563
          byName.put(field.getFieldName(), field);
-
 
168564
        }
-
 
168565
      }
-
 
168566
 
-
 
168567
      /**
-
 
168568
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
168569
       */
-
 
168570
      public static _Fields findByThriftId(int fieldId) {
-
 
168571
        switch(fieldId) {
-
 
168572
          case 1: // FLIPKART_ORDER_ID
-
 
168573
            return FLIPKART_ORDER_ID;
-
 
168574
          case 2: // FLIPKART_SUB_ORDER_ID
-
 
168575
            return FLIPKART_SUB_ORDER_ID;
-
 
168576
          default:
-
 
168577
            return null;
-
 
168578
        }
-
 
168579
      }
-
 
168580
 
-
 
168581
      /**
-
 
168582
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
168583
       * if it is not found.
-
 
168584
       */
-
 
168585
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
168586
        _Fields fields = findByThriftId(fieldId);
-
 
168587
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
168588
        return fields;
-
 
168589
      }
-
 
168590
 
-
 
168591
      /**
-
 
168592
       * Find the _Fields constant that matches name, or null if its not found.
-
 
168593
       */
-
 
168594
      public static _Fields findByName(String name) {
-
 
168595
        return byName.get(name);
-
 
168596
      }
-
 
168597
 
-
 
168598
      private final short _thriftId;
-
 
168599
      private final String _fieldName;
-
 
168600
 
-
 
168601
      _Fields(short thriftId, String fieldName) {
-
 
168602
        _thriftId = thriftId;
-
 
168603
        _fieldName = fieldName;
-
 
168604
      }
-
 
168605
 
-
 
168606
      public short getThriftFieldId() {
-
 
168607
        return _thriftId;
-
 
168608
      }
-
 
168609
 
-
 
168610
      public String getFieldName() {
-
 
168611
        return _fieldName;
-
 
168612
      }
-
 
168613
    }
-
 
168614
 
-
 
168615
    // isset id assignments
-
 
168616
 
-
 
168617
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
168618
    static {
-
 
168619
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
168620
      tmpMap.put(_Fields.FLIPKART_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("flipkartOrderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
168621
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
168622
      tmpMap.put(_Fields.FLIPKART_SUB_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("flipkartSubOrderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
168623
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
168624
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
168625
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(flipkartOrderExists_args.class, metaDataMap);
-
 
168626
    }
-
 
168627
 
-
 
168628
    public flipkartOrderExists_args() {
-
 
168629
    }
-
 
168630
 
-
 
168631
    public flipkartOrderExists_args(
-
 
168632
      String flipkartOrderId,
-
 
168633
      String flipkartSubOrderId)
-
 
168634
    {
-
 
168635
      this();
-
 
168636
      this.flipkartOrderId = flipkartOrderId;
-
 
168637
      this.flipkartSubOrderId = flipkartSubOrderId;
-
 
168638
    }
-
 
168639
 
-
 
168640
    /**
-
 
168641
     * Performs a deep copy on <i>other</i>.
-
 
168642
     */
-
 
168643
    public flipkartOrderExists_args(flipkartOrderExists_args other) {
-
 
168644
      if (other.isSetFlipkartOrderId()) {
-
 
168645
        this.flipkartOrderId = other.flipkartOrderId;
-
 
168646
      }
-
 
168647
      if (other.isSetFlipkartSubOrderId()) {
-
 
168648
        this.flipkartSubOrderId = other.flipkartSubOrderId;
-
 
168649
      }
-
 
168650
    }
-
 
168651
 
-
 
168652
    public flipkartOrderExists_args deepCopy() {
-
 
168653
      return new flipkartOrderExists_args(this);
-
 
168654
    }
-
 
168655
 
-
 
168656
    @Override
-
 
168657
    public void clear() {
-
 
168658
      this.flipkartOrderId = null;
-
 
168659
      this.flipkartSubOrderId = null;
-
 
168660
    }
-
 
168661
 
-
 
168662
    public String getFlipkartOrderId() {
-
 
168663
      return this.flipkartOrderId;
-
 
168664
    }
-
 
168665
 
-
 
168666
    public void setFlipkartOrderId(String flipkartOrderId) {
-
 
168667
      this.flipkartOrderId = flipkartOrderId;
-
 
168668
    }
-
 
168669
 
-
 
168670
    public void unsetFlipkartOrderId() {
-
 
168671
      this.flipkartOrderId = null;
-
 
168672
    }
-
 
168673
 
-
 
168674
    /** Returns true if field flipkartOrderId is set (has been assigned a value) and false otherwise */
-
 
168675
    public boolean isSetFlipkartOrderId() {
-
 
168676
      return this.flipkartOrderId != null;
-
 
168677
    }
-
 
168678
 
-
 
168679
    public void setFlipkartOrderIdIsSet(boolean value) {
-
 
168680
      if (!value) {
-
 
168681
        this.flipkartOrderId = null;
-
 
168682
      }
-
 
168683
    }
-
 
168684
 
-
 
168685
    public String getFlipkartSubOrderId() {
-
 
168686
      return this.flipkartSubOrderId;
-
 
168687
    }
-
 
168688
 
-
 
168689
    public void setFlipkartSubOrderId(String flipkartSubOrderId) {
-
 
168690
      this.flipkartSubOrderId = flipkartSubOrderId;
-
 
168691
    }
-
 
168692
 
-
 
168693
    public void unsetFlipkartSubOrderId() {
-
 
168694
      this.flipkartSubOrderId = null;
-
 
168695
    }
-
 
168696
 
-
 
168697
    /** Returns true if field flipkartSubOrderId is set (has been assigned a value) and false otherwise */
-
 
168698
    public boolean isSetFlipkartSubOrderId() {
-
 
168699
      return this.flipkartSubOrderId != null;
-
 
168700
    }
-
 
168701
 
-
 
168702
    public void setFlipkartSubOrderIdIsSet(boolean value) {
-
 
168703
      if (!value) {
-
 
168704
        this.flipkartSubOrderId = null;
-
 
168705
      }
-
 
168706
    }
-
 
168707
 
-
 
168708
    public void setFieldValue(_Fields field, Object value) {
-
 
168709
      switch (field) {
-
 
168710
      case FLIPKART_ORDER_ID:
-
 
168711
        if (value == null) {
-
 
168712
          unsetFlipkartOrderId();
-
 
168713
        } else {
-
 
168714
          setFlipkartOrderId((String)value);
-
 
168715
        }
-
 
168716
        break;
-
 
168717
 
-
 
168718
      case FLIPKART_SUB_ORDER_ID:
-
 
168719
        if (value == null) {
-
 
168720
          unsetFlipkartSubOrderId();
-
 
168721
        } else {
-
 
168722
          setFlipkartSubOrderId((String)value);
-
 
168723
        }
-
 
168724
        break;
-
 
168725
 
-
 
168726
      }
-
 
168727
    }
-
 
168728
 
-
 
168729
    public Object getFieldValue(_Fields field) {
-
 
168730
      switch (field) {
-
 
168731
      case FLIPKART_ORDER_ID:
-
 
168732
        return getFlipkartOrderId();
-
 
168733
 
-
 
168734
      case FLIPKART_SUB_ORDER_ID:
-
 
168735
        return getFlipkartSubOrderId();
-
 
168736
 
-
 
168737
      }
-
 
168738
      throw new IllegalStateException();
-
 
168739
    }
-
 
168740
 
-
 
168741
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
168742
    public boolean isSet(_Fields field) {
-
 
168743
      if (field == null) {
-
 
168744
        throw new IllegalArgumentException();
-
 
168745
      }
-
 
168746
 
-
 
168747
      switch (field) {
-
 
168748
      case FLIPKART_ORDER_ID:
-
 
168749
        return isSetFlipkartOrderId();
-
 
168750
      case FLIPKART_SUB_ORDER_ID:
-
 
168751
        return isSetFlipkartSubOrderId();
-
 
168752
      }
-
 
168753
      throw new IllegalStateException();
-
 
168754
    }
-
 
168755
 
-
 
168756
    @Override
-
 
168757
    public boolean equals(Object that) {
-
 
168758
      if (that == null)
-
 
168759
        return false;
-
 
168760
      if (that instanceof flipkartOrderExists_args)
-
 
168761
        return this.equals((flipkartOrderExists_args)that);
-
 
168762
      return false;
-
 
168763
    }
-
 
168764
 
-
 
168765
    public boolean equals(flipkartOrderExists_args that) {
-
 
168766
      if (that == null)
-
 
168767
        return false;
-
 
168768
 
-
 
168769
      boolean this_present_flipkartOrderId = true && this.isSetFlipkartOrderId();
-
 
168770
      boolean that_present_flipkartOrderId = true && that.isSetFlipkartOrderId();
-
 
168771
      if (this_present_flipkartOrderId || that_present_flipkartOrderId) {
-
 
168772
        if (!(this_present_flipkartOrderId && that_present_flipkartOrderId))
-
 
168773
          return false;
-
 
168774
        if (!this.flipkartOrderId.equals(that.flipkartOrderId))
-
 
168775
          return false;
-
 
168776
      }
-
 
168777
 
-
 
168778
      boolean this_present_flipkartSubOrderId = true && this.isSetFlipkartSubOrderId();
-
 
168779
      boolean that_present_flipkartSubOrderId = true && that.isSetFlipkartSubOrderId();
-
 
168780
      if (this_present_flipkartSubOrderId || that_present_flipkartSubOrderId) {
-
 
168781
        if (!(this_present_flipkartSubOrderId && that_present_flipkartSubOrderId))
-
 
168782
          return false;
-
 
168783
        if (!this.flipkartSubOrderId.equals(that.flipkartSubOrderId))
-
 
168784
          return false;
-
 
168785
      }
-
 
168786
 
-
 
168787
      return true;
-
 
168788
    }
-
 
168789
 
-
 
168790
    @Override
-
 
168791
    public int hashCode() {
-
 
168792
      return 0;
-
 
168793
    }
-
 
168794
 
-
 
168795
    public int compareTo(flipkartOrderExists_args other) {
-
 
168796
      if (!getClass().equals(other.getClass())) {
-
 
168797
        return getClass().getName().compareTo(other.getClass().getName());
-
 
168798
      }
-
 
168799
 
-
 
168800
      int lastComparison = 0;
-
 
168801
      flipkartOrderExists_args typedOther = (flipkartOrderExists_args)other;
-
 
168802
 
-
 
168803
      lastComparison = Boolean.valueOf(isSetFlipkartOrderId()).compareTo(typedOther.isSetFlipkartOrderId());
-
 
168804
      if (lastComparison != 0) {
-
 
168805
        return lastComparison;
-
 
168806
      }
-
 
168807
      if (isSetFlipkartOrderId()) {
-
 
168808
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.flipkartOrderId, typedOther.flipkartOrderId);
-
 
168809
        if (lastComparison != 0) {
-
 
168810
          return lastComparison;
-
 
168811
        }
-
 
168812
      }
-
 
168813
      lastComparison = Boolean.valueOf(isSetFlipkartSubOrderId()).compareTo(typedOther.isSetFlipkartSubOrderId());
-
 
168814
      if (lastComparison != 0) {
-
 
168815
        return lastComparison;
-
 
168816
      }
-
 
168817
      if (isSetFlipkartSubOrderId()) {
-
 
168818
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.flipkartSubOrderId, typedOther.flipkartSubOrderId);
-
 
168819
        if (lastComparison != 0) {
-
 
168820
          return lastComparison;
-
 
168821
        }
-
 
168822
      }
-
 
168823
      return 0;
-
 
168824
    }
-
 
168825
 
-
 
168826
    public _Fields fieldForId(int fieldId) {
-
 
168827
      return _Fields.findByThriftId(fieldId);
-
 
168828
    }
-
 
168829
 
-
 
168830
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
168831
      org.apache.thrift.protocol.TField field;
-
 
168832
      iprot.readStructBegin();
-
 
168833
      while (true)
-
 
168834
      {
-
 
168835
        field = iprot.readFieldBegin();
-
 
168836
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
168837
          break;
-
 
168838
        }
-
 
168839
        switch (field.id) {
-
 
168840
          case 1: // FLIPKART_ORDER_ID
-
 
168841
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
168842
              this.flipkartOrderId = iprot.readString();
-
 
168843
            } else { 
-
 
168844
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
168845
            }
-
 
168846
            break;
-
 
168847
          case 2: // FLIPKART_SUB_ORDER_ID
-
 
168848
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
168849
              this.flipkartSubOrderId = iprot.readString();
-
 
168850
            } else { 
-
 
168851
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
168852
            }
-
 
168853
            break;
-
 
168854
          default:
-
 
168855
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
168856
        }
-
 
168857
        iprot.readFieldEnd();
-
 
168858
      }
-
 
168859
      iprot.readStructEnd();
-
 
168860
      validate();
-
 
168861
    }
-
 
168862
 
-
 
168863
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
168864
      validate();
-
 
168865
 
-
 
168866
      oprot.writeStructBegin(STRUCT_DESC);
-
 
168867
      if (this.flipkartOrderId != null) {
-
 
168868
        oprot.writeFieldBegin(FLIPKART_ORDER_ID_FIELD_DESC);
-
 
168869
        oprot.writeString(this.flipkartOrderId);
-
 
168870
        oprot.writeFieldEnd();
-
 
168871
      }
-
 
168872
      if (this.flipkartSubOrderId != null) {
-
 
168873
        oprot.writeFieldBegin(FLIPKART_SUB_ORDER_ID_FIELD_DESC);
-
 
168874
        oprot.writeString(this.flipkartSubOrderId);
-
 
168875
        oprot.writeFieldEnd();
-
 
168876
      }
-
 
168877
      oprot.writeFieldStop();
-
 
168878
      oprot.writeStructEnd();
-
 
168879
    }
-
 
168880
 
-
 
168881
    @Override
-
 
168882
    public String toString() {
-
 
168883
      StringBuilder sb = new StringBuilder("flipkartOrderExists_args(");
-
 
168884
      boolean first = true;
-
 
168885
 
-
 
168886
      sb.append("flipkartOrderId:");
-
 
168887
      if (this.flipkartOrderId == null) {
-
 
168888
        sb.append("null");
-
 
168889
      } else {
-
 
168890
        sb.append(this.flipkartOrderId);
-
 
168891
      }
-
 
168892
      first = false;
-
 
168893
      if (!first) sb.append(", ");
-
 
168894
      sb.append("flipkartSubOrderId:");
-
 
168895
      if (this.flipkartSubOrderId == null) {
-
 
168896
        sb.append("null");
-
 
168897
      } else {
-
 
168898
        sb.append(this.flipkartSubOrderId);
-
 
168899
      }
-
 
168900
      first = false;
-
 
168901
      sb.append(")");
-
 
168902
      return sb.toString();
-
 
168903
    }
-
 
168904
 
-
 
168905
    public void validate() throws org.apache.thrift.TException {
-
 
168906
      // check for required fields
-
 
168907
    }
-
 
168908
 
-
 
168909
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
168910
      try {
-
 
168911
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
168912
      } catch (org.apache.thrift.TException te) {
-
 
168913
        throw new java.io.IOException(te);
-
 
168914
      }
-
 
168915
    }
-
 
168916
 
-
 
168917
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
168918
      try {
-
 
168919
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
168920
      } catch (org.apache.thrift.TException te) {
-
 
168921
        throw new java.io.IOException(te);
-
 
168922
      }
-
 
168923
    }
-
 
168924
 
-
 
168925
  }
-
 
168926
 
-
 
168927
  public static class flipkartOrderExists_result implements org.apache.thrift.TBase<flipkartOrderExists_result, flipkartOrderExists_result._Fields>, java.io.Serializable, Cloneable   {
-
 
168928
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("flipkartOrderExists_result");
-
 
168929
 
-
 
168930
    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);
-
 
168931
 
-
 
168932
    private boolean success; // required
-
 
168933
 
-
 
168934
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
168935
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
168936
      SUCCESS((short)0, "success");
-
 
168937
 
-
 
168938
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
168939
 
-
 
168940
      static {
-
 
168941
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
168942
          byName.put(field.getFieldName(), field);
-
 
168943
        }
-
 
168944
      }
-
 
168945
 
-
 
168946
      /**
-
 
168947
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
168948
       */
-
 
168949
      public static _Fields findByThriftId(int fieldId) {
-
 
168950
        switch(fieldId) {
-
 
168951
          case 0: // SUCCESS
-
 
168952
            return SUCCESS;
-
 
168953
          default:
-
 
168954
            return null;
-
 
168955
        }
-
 
168956
      }
-
 
168957
 
-
 
168958
      /**
-
 
168959
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
168960
       * if it is not found.
-
 
168961
       */
-
 
168962
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
168963
        _Fields fields = findByThriftId(fieldId);
-
 
168964
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
168965
        return fields;
-
 
168966
      }
-
 
168967
 
-
 
168968
      /**
-
 
168969
       * Find the _Fields constant that matches name, or null if its not found.
-
 
168970
       */
-
 
168971
      public static _Fields findByName(String name) {
-
 
168972
        return byName.get(name);
-
 
168973
      }
-
 
168974
 
-
 
168975
      private final short _thriftId;
-
 
168976
      private final String _fieldName;
-
 
168977
 
-
 
168978
      _Fields(short thriftId, String fieldName) {
-
 
168979
        _thriftId = thriftId;
-
 
168980
        _fieldName = fieldName;
-
 
168981
      }
-
 
168982
 
-
 
168983
      public short getThriftFieldId() {
-
 
168984
        return _thriftId;
-
 
168985
      }
-
 
168986
 
-
 
168987
      public String getFieldName() {
-
 
168988
        return _fieldName;
-
 
168989
      }
-
 
168990
    }
-
 
168991
 
-
 
168992
    // isset id assignments
-
 
168993
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
168994
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
168995
 
-
 
168996
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
168997
    static {
-
 
168998
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
168999
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
169000
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
169001
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
169002
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(flipkartOrderExists_result.class, metaDataMap);
-
 
169003
    }
-
 
169004
 
-
 
169005
    public flipkartOrderExists_result() {
-
 
169006
    }
-
 
169007
 
-
 
169008
    public flipkartOrderExists_result(
-
 
169009
      boolean success)
-
 
169010
    {
-
 
169011
      this();
-
 
169012
      this.success = success;
-
 
169013
      setSuccessIsSet(true);
-
 
169014
    }
-
 
169015
 
-
 
169016
    /**
-
 
169017
     * Performs a deep copy on <i>other</i>.
-
 
169018
     */
-
 
169019
    public flipkartOrderExists_result(flipkartOrderExists_result other) {
-
 
169020
      __isset_bit_vector.clear();
-
 
169021
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
169022
      this.success = other.success;
-
 
169023
    }
-
 
169024
 
-
 
169025
    public flipkartOrderExists_result deepCopy() {
-
 
169026
      return new flipkartOrderExists_result(this);
-
 
169027
    }
-
 
169028
 
-
 
169029
    @Override
-
 
169030
    public void clear() {
-
 
169031
      setSuccessIsSet(false);
-
 
169032
      this.success = false;
-
 
169033
    }
-
 
169034
 
-
 
169035
    public boolean isSuccess() {
-
 
169036
      return this.success;
-
 
169037
    }
-
 
169038
 
-
 
169039
    public void setSuccess(boolean success) {
-
 
169040
      this.success = success;
-
 
169041
      setSuccessIsSet(true);
-
 
169042
    }
-
 
169043
 
-
 
169044
    public void unsetSuccess() {
-
 
169045
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
169046
    }
-
 
169047
 
-
 
169048
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
169049
    public boolean isSetSuccess() {
-
 
169050
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
169051
    }
-
 
169052
 
-
 
169053
    public void setSuccessIsSet(boolean value) {
-
 
169054
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
169055
    }
-
 
169056
 
-
 
169057
    public void setFieldValue(_Fields field, Object value) {
-
 
169058
      switch (field) {
-
 
169059
      case SUCCESS:
-
 
169060
        if (value == null) {
-
 
169061
          unsetSuccess();
-
 
169062
        } else {
-
 
169063
          setSuccess((Boolean)value);
-
 
169064
        }
-
 
169065
        break;
-
 
169066
 
-
 
169067
      }
-
 
169068
    }
-
 
169069
 
-
 
169070
    public Object getFieldValue(_Fields field) {
-
 
169071
      switch (field) {
-
 
169072
      case SUCCESS:
-
 
169073
        return Boolean.valueOf(isSuccess());
-
 
169074
 
-
 
169075
      }
-
 
169076
      throw new IllegalStateException();
-
 
169077
    }
-
 
169078
 
-
 
169079
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
169080
    public boolean isSet(_Fields field) {
-
 
169081
      if (field == null) {
-
 
169082
        throw new IllegalArgumentException();
-
 
169083
      }
-
 
169084
 
-
 
169085
      switch (field) {
-
 
169086
      case SUCCESS:
-
 
169087
        return isSetSuccess();
-
 
169088
      }
-
 
169089
      throw new IllegalStateException();
-
 
169090
    }
-
 
169091
 
-
 
169092
    @Override
-
 
169093
    public boolean equals(Object that) {
-
 
169094
      if (that == null)
-
 
169095
        return false;
-
 
169096
      if (that instanceof flipkartOrderExists_result)
-
 
169097
        return this.equals((flipkartOrderExists_result)that);
-
 
169098
      return false;
-
 
169099
    }
-
 
169100
 
-
 
169101
    public boolean equals(flipkartOrderExists_result that) {
-
 
169102
      if (that == null)
-
 
169103
        return false;
-
 
169104
 
-
 
169105
      boolean this_present_success = true;
-
 
169106
      boolean that_present_success = true;
-
 
169107
      if (this_present_success || that_present_success) {
-
 
169108
        if (!(this_present_success && that_present_success))
-
 
169109
          return false;
-
 
169110
        if (this.success != that.success)
-
 
169111
          return false;
-
 
169112
      }
-
 
169113
 
-
 
169114
      return true;
-
 
169115
    }
-
 
169116
 
-
 
169117
    @Override
-
 
169118
    public int hashCode() {
-
 
169119
      return 0;
-
 
169120
    }
-
 
169121
 
-
 
169122
    public int compareTo(flipkartOrderExists_result other) {
-
 
169123
      if (!getClass().equals(other.getClass())) {
-
 
169124
        return getClass().getName().compareTo(other.getClass().getName());
-
 
169125
      }
-
 
169126
 
-
 
169127
      int lastComparison = 0;
-
 
169128
      flipkartOrderExists_result typedOther = (flipkartOrderExists_result)other;
-
 
169129
 
-
 
169130
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
169131
      if (lastComparison != 0) {
-
 
169132
        return lastComparison;
-
 
169133
      }
-
 
169134
      if (isSetSuccess()) {
-
 
169135
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
169136
        if (lastComparison != 0) {
-
 
169137
          return lastComparison;
-
 
169138
        }
-
 
169139
      }
-
 
169140
      return 0;
-
 
169141
    }
-
 
169142
 
-
 
169143
    public _Fields fieldForId(int fieldId) {
-
 
169144
      return _Fields.findByThriftId(fieldId);
-
 
169145
    }
-
 
169146
 
-
 
169147
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
169148
      org.apache.thrift.protocol.TField field;
-
 
169149
      iprot.readStructBegin();
-
 
169150
      while (true)
-
 
169151
      {
-
 
169152
        field = iprot.readFieldBegin();
-
 
169153
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
169154
          break;
-
 
169155
        }
-
 
169156
        switch (field.id) {
-
 
169157
          case 0: // SUCCESS
-
 
169158
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
169159
              this.success = iprot.readBool();
-
 
169160
              setSuccessIsSet(true);
-
 
169161
            } else { 
-
 
169162
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
169163
            }
-
 
169164
            break;
-
 
169165
          default:
-
 
169166
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
169167
        }
-
 
169168
        iprot.readFieldEnd();
-
 
169169
      }
-
 
169170
      iprot.readStructEnd();
-
 
169171
      validate();
-
 
169172
    }
-
 
169173
 
-
 
169174
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
169175
      oprot.writeStructBegin(STRUCT_DESC);
-
 
169176
 
-
 
169177
      if (this.isSetSuccess()) {
-
 
169178
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
169179
        oprot.writeBool(this.success);
-
 
169180
        oprot.writeFieldEnd();
-
 
169181
      }
-
 
169182
      oprot.writeFieldStop();
-
 
169183
      oprot.writeStructEnd();
-
 
169184
    }
-
 
169185
 
-
 
169186
    @Override
-
 
169187
    public String toString() {
-
 
169188
      StringBuilder sb = new StringBuilder("flipkartOrderExists_result(");
-
 
169189
      boolean first = true;
-
 
169190
 
-
 
169191
      sb.append("success:");
-
 
169192
      sb.append(this.success);
-
 
169193
      first = false;
-
 
169194
      sb.append(")");
-
 
169195
      return sb.toString();
-
 
169196
    }
-
 
169197
 
-
 
169198
    public void validate() throws org.apache.thrift.TException {
-
 
169199
      // check for required fields
-
 
169200
    }
-
 
169201
 
-
 
169202
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
169203
      try {
-
 
169204
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
169205
      } catch (org.apache.thrift.TException te) {
-
 
169206
        throw new java.io.IOException(te);
-
 
169207
      }
-
 
169208
    }
-
 
169209
 
-
 
169210
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
169211
      try {
-
 
169212
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
169213
      } catch (org.apache.thrift.TException te) {
-
 
169214
        throw new java.io.IOException(te);
-
 
169215
      }
-
 
169216
    }
-
 
169217
 
-
 
169218
  }
-
 
169219
 
-
 
169220
  public static class createFlipkartOrder_args implements org.apache.thrift.TBase<createFlipkartOrder_args, createFlipkartOrder_args._Fields>, java.io.Serializable, Cloneable   {
-
 
169221
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createFlipkartOrder_args");
-
 
169222
 
-
 
169223
    private static final org.apache.thrift.protocol.TField FLIPKART_ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField("flipkartOrder", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
169224
 
-
 
169225
    private FlipkartOrder flipkartOrder; // required
-
 
169226
 
-
 
169227
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
169228
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
169229
      FLIPKART_ORDER((short)1, "flipkartOrder");
-
 
169230
 
-
 
169231
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
169232
 
-
 
169233
      static {
-
 
169234
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
169235
          byName.put(field.getFieldName(), field);
-
 
169236
        }
-
 
169237
      }
-
 
169238
 
-
 
169239
      /**
-
 
169240
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
169241
       */
-
 
169242
      public static _Fields findByThriftId(int fieldId) {
-
 
169243
        switch(fieldId) {
-
 
169244
          case 1: // FLIPKART_ORDER
-
 
169245
            return FLIPKART_ORDER;
-
 
169246
          default:
-
 
169247
            return null;
-
 
169248
        }
-
 
169249
      }
-
 
169250
 
-
 
169251
      /**
-
 
169252
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
169253
       * if it is not found.
-
 
169254
       */
-
 
169255
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
169256
        _Fields fields = findByThriftId(fieldId);
-
 
169257
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
169258
        return fields;
-
 
169259
      }
-
 
169260
 
-
 
169261
      /**
-
 
169262
       * Find the _Fields constant that matches name, or null if its not found.
-
 
169263
       */
-
 
169264
      public static _Fields findByName(String name) {
-
 
169265
        return byName.get(name);
-
 
169266
      }
-
 
169267
 
-
 
169268
      private final short _thriftId;
-
 
169269
      private final String _fieldName;
-
 
169270
 
-
 
169271
      _Fields(short thriftId, String fieldName) {
-
 
169272
        _thriftId = thriftId;
-
 
169273
        _fieldName = fieldName;
-
 
169274
      }
-
 
169275
 
-
 
169276
      public short getThriftFieldId() {
-
 
169277
        return _thriftId;
-
 
169278
      }
-
 
169279
 
-
 
169280
      public String getFieldName() {
-
 
169281
        return _fieldName;
-
 
169282
      }
-
 
169283
    }
-
 
169284
 
-
 
169285
    // isset id assignments
-
 
169286
 
-
 
169287
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
169288
    static {
-
 
169289
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
169290
      tmpMap.put(_Fields.FLIPKART_ORDER, new org.apache.thrift.meta_data.FieldMetaData("flipkartOrder", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
169291
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, FlipkartOrder.class)));
-
 
169292
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
169293
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createFlipkartOrder_args.class, metaDataMap);
-
 
169294
    }
-
 
169295
 
-
 
169296
    public createFlipkartOrder_args() {
-
 
169297
    }
-
 
169298
 
-
 
169299
    public createFlipkartOrder_args(
-
 
169300
      FlipkartOrder flipkartOrder)
-
 
169301
    {
-
 
169302
      this();
-
 
169303
      this.flipkartOrder = flipkartOrder;
-
 
169304
    }
-
 
169305
 
-
 
169306
    /**
-
 
169307
     * Performs a deep copy on <i>other</i>.
-
 
169308
     */
-
 
169309
    public createFlipkartOrder_args(createFlipkartOrder_args other) {
-
 
169310
      if (other.isSetFlipkartOrder()) {
-
 
169311
        this.flipkartOrder = new FlipkartOrder(other.flipkartOrder);
-
 
169312
      }
-
 
169313
    }
-
 
169314
 
-
 
169315
    public createFlipkartOrder_args deepCopy() {
-
 
169316
      return new createFlipkartOrder_args(this);
-
 
169317
    }
-
 
169318
 
-
 
169319
    @Override
-
 
169320
    public void clear() {
-
 
169321
      this.flipkartOrder = null;
-
 
169322
    }
-
 
169323
 
-
 
169324
    public FlipkartOrder getFlipkartOrder() {
-
 
169325
      return this.flipkartOrder;
-
 
169326
    }
-
 
169327
 
-
 
169328
    public void setFlipkartOrder(FlipkartOrder flipkartOrder) {
-
 
169329
      this.flipkartOrder = flipkartOrder;
-
 
169330
    }
-
 
169331
 
-
 
169332
    public void unsetFlipkartOrder() {
-
 
169333
      this.flipkartOrder = null;
-
 
169334
    }
-
 
169335
 
-
 
169336
    /** Returns true if field flipkartOrder is set (has been assigned a value) and false otherwise */
-
 
169337
    public boolean isSetFlipkartOrder() {
-
 
169338
      return this.flipkartOrder != null;
-
 
169339
    }
-
 
169340
 
-
 
169341
    public void setFlipkartOrderIsSet(boolean value) {
-
 
169342
      if (!value) {
-
 
169343
        this.flipkartOrder = null;
-
 
169344
      }
-
 
169345
    }
-
 
169346
 
-
 
169347
    public void setFieldValue(_Fields field, Object value) {
-
 
169348
      switch (field) {
-
 
169349
      case FLIPKART_ORDER:
-
 
169350
        if (value == null) {
-
 
169351
          unsetFlipkartOrder();
-
 
169352
        } else {
-
 
169353
          setFlipkartOrder((FlipkartOrder)value);
-
 
169354
        }
-
 
169355
        break;
-
 
169356
 
-
 
169357
      }
-
 
169358
    }
-
 
169359
 
-
 
169360
    public Object getFieldValue(_Fields field) {
-
 
169361
      switch (field) {
-
 
169362
      case FLIPKART_ORDER:
-
 
169363
        return getFlipkartOrder();
-
 
169364
 
-
 
169365
      }
-
 
169366
      throw new IllegalStateException();
-
 
169367
    }
-
 
169368
 
-
 
169369
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
169370
    public boolean isSet(_Fields field) {
-
 
169371
      if (field == null) {
-
 
169372
        throw new IllegalArgumentException();
-
 
169373
      }
-
 
169374
 
-
 
169375
      switch (field) {
-
 
169376
      case FLIPKART_ORDER:
-
 
169377
        return isSetFlipkartOrder();
-
 
169378
      }
-
 
169379
      throw new IllegalStateException();
-
 
169380
    }
-
 
169381
 
-
 
169382
    @Override
-
 
169383
    public boolean equals(Object that) {
-
 
169384
      if (that == null)
-
 
169385
        return false;
-
 
169386
      if (that instanceof createFlipkartOrder_args)
-
 
169387
        return this.equals((createFlipkartOrder_args)that);
-
 
169388
      return false;
-
 
169389
    }
-
 
169390
 
-
 
169391
    public boolean equals(createFlipkartOrder_args that) {
-
 
169392
      if (that == null)
-
 
169393
        return false;
-
 
169394
 
-
 
169395
      boolean this_present_flipkartOrder = true && this.isSetFlipkartOrder();
-
 
169396
      boolean that_present_flipkartOrder = true && that.isSetFlipkartOrder();
-
 
169397
      if (this_present_flipkartOrder || that_present_flipkartOrder) {
-
 
169398
        if (!(this_present_flipkartOrder && that_present_flipkartOrder))
-
 
169399
          return false;
-
 
169400
        if (!this.flipkartOrder.equals(that.flipkartOrder))
-
 
169401
          return false;
-
 
169402
      }
-
 
169403
 
-
 
169404
      return true;
-
 
169405
    }
-
 
169406
 
-
 
169407
    @Override
-
 
169408
    public int hashCode() {
-
 
169409
      return 0;
-
 
169410
    }
-
 
169411
 
-
 
169412
    public int compareTo(createFlipkartOrder_args other) {
-
 
169413
      if (!getClass().equals(other.getClass())) {
-
 
169414
        return getClass().getName().compareTo(other.getClass().getName());
-
 
169415
      }
-
 
169416
 
-
 
169417
      int lastComparison = 0;
-
 
169418
      createFlipkartOrder_args typedOther = (createFlipkartOrder_args)other;
-
 
169419
 
-
 
169420
      lastComparison = Boolean.valueOf(isSetFlipkartOrder()).compareTo(typedOther.isSetFlipkartOrder());
-
 
169421
      if (lastComparison != 0) {
-
 
169422
        return lastComparison;
-
 
169423
      }
-
 
169424
      if (isSetFlipkartOrder()) {
-
 
169425
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.flipkartOrder, typedOther.flipkartOrder);
-
 
169426
        if (lastComparison != 0) {
-
 
169427
          return lastComparison;
-
 
169428
        }
-
 
169429
      }
-
 
169430
      return 0;
-
 
169431
    }
-
 
169432
 
-
 
169433
    public _Fields fieldForId(int fieldId) {
-
 
169434
      return _Fields.findByThriftId(fieldId);
-
 
169435
    }
-
 
169436
 
-
 
169437
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
169438
      org.apache.thrift.protocol.TField field;
-
 
169439
      iprot.readStructBegin();
-
 
169440
      while (true)
-
 
169441
      {
-
 
169442
        field = iprot.readFieldBegin();
-
 
169443
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
169444
          break;
-
 
169445
        }
-
 
169446
        switch (field.id) {
-
 
169447
          case 1: // FLIPKART_ORDER
-
 
169448
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
169449
              this.flipkartOrder = new FlipkartOrder();
-
 
169450
              this.flipkartOrder.read(iprot);
-
 
169451
            } else { 
-
 
169452
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
169453
            }
-
 
169454
            break;
-
 
169455
          default:
-
 
169456
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
169457
        }
-
 
169458
        iprot.readFieldEnd();
-
 
169459
      }
-
 
169460
      iprot.readStructEnd();
-
 
169461
      validate();
-
 
169462
    }
-
 
169463
 
-
 
169464
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
169465
      validate();
-
 
169466
 
-
 
169467
      oprot.writeStructBegin(STRUCT_DESC);
-
 
169468
      if (this.flipkartOrder != null) {
-
 
169469
        oprot.writeFieldBegin(FLIPKART_ORDER_FIELD_DESC);
-
 
169470
        this.flipkartOrder.write(oprot);
-
 
169471
        oprot.writeFieldEnd();
-
 
169472
      }
-
 
169473
      oprot.writeFieldStop();
-
 
169474
      oprot.writeStructEnd();
-
 
169475
    }
-
 
169476
 
-
 
169477
    @Override
-
 
169478
    public String toString() {
-
 
169479
      StringBuilder sb = new StringBuilder("createFlipkartOrder_args(");
-
 
169480
      boolean first = true;
-
 
169481
 
-
 
169482
      sb.append("flipkartOrder:");
-
 
169483
      if (this.flipkartOrder == null) {
-
 
169484
        sb.append("null");
-
 
169485
      } else {
-
 
169486
        sb.append(this.flipkartOrder);
-
 
169487
      }
-
 
169488
      first = false;
-
 
169489
      sb.append(")");
-
 
169490
      return sb.toString();
-
 
169491
    }
-
 
169492
 
-
 
169493
    public void validate() throws org.apache.thrift.TException {
-
 
169494
      // check for required fields
-
 
169495
    }
-
 
169496
 
-
 
169497
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
169498
      try {
-
 
169499
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
169500
      } catch (org.apache.thrift.TException te) {
-
 
169501
        throw new java.io.IOException(te);
-
 
169502
      }
-
 
169503
    }
-
 
169504
 
-
 
169505
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
169506
      try {
-
 
169507
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
169508
      } catch (org.apache.thrift.TException te) {
-
 
169509
        throw new java.io.IOException(te);
-
 
169510
      }
-
 
169511
    }
-
 
169512
 
-
 
169513
  }
-
 
169514
 
-
 
169515
  public static class createFlipkartOrder_result implements org.apache.thrift.TBase<createFlipkartOrder_result, createFlipkartOrder_result._Fields>, java.io.Serializable, Cloneable   {
-
 
169516
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createFlipkartOrder_result");
-
 
169517
 
-
 
169518
 
-
 
169519
 
-
 
169520
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
169521
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
169522
;
-
 
169523
 
-
 
169524
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
169525
 
-
 
169526
      static {
-
 
169527
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
169528
          byName.put(field.getFieldName(), field);
-
 
169529
        }
-
 
169530
      }
-
 
169531
 
-
 
169532
      /**
-
 
169533
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
169534
       */
-
 
169535
      public static _Fields findByThriftId(int fieldId) {
-
 
169536
        switch(fieldId) {
-
 
169537
          default:
-
 
169538
            return null;
-
 
169539
        }
-
 
169540
      }
-
 
169541
 
-
 
169542
      /**
-
 
169543
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
169544
       * if it is not found.
-
 
169545
       */
-
 
169546
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
169547
        _Fields fields = findByThriftId(fieldId);
-
 
169548
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
169549
        return fields;
-
 
169550
      }
-
 
169551
 
-
 
169552
      /**
-
 
169553
       * Find the _Fields constant that matches name, or null if its not found.
-
 
169554
       */
-
 
169555
      public static _Fields findByName(String name) {
-
 
169556
        return byName.get(name);
-
 
169557
      }
-
 
169558
 
-
 
169559
      private final short _thriftId;
-
 
169560
      private final String _fieldName;
-
 
169561
 
-
 
169562
      _Fields(short thriftId, String fieldName) {
-
 
169563
        _thriftId = thriftId;
-
 
169564
        _fieldName = fieldName;
-
 
169565
      }
-
 
169566
 
-
 
169567
      public short getThriftFieldId() {
-
 
169568
        return _thriftId;
-
 
169569
      }
-
 
169570
 
-
 
169571
      public String getFieldName() {
-
 
169572
        return _fieldName;
-
 
169573
      }
-
 
169574
    }
-
 
169575
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
169576
    static {
-
 
169577
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
169578
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
169579
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createFlipkartOrder_result.class, metaDataMap);
-
 
169580
    }
-
 
169581
 
-
 
169582
    public createFlipkartOrder_result() {
-
 
169583
    }
-
 
169584
 
-
 
169585
    /**
-
 
169586
     * Performs a deep copy on <i>other</i>.
-
 
169587
     */
-
 
169588
    public createFlipkartOrder_result(createFlipkartOrder_result other) {
-
 
169589
    }
-
 
169590
 
-
 
169591
    public createFlipkartOrder_result deepCopy() {
-
 
169592
      return new createFlipkartOrder_result(this);
-
 
169593
    }
-
 
169594
 
-
 
169595
    @Override
-
 
169596
    public void clear() {
-
 
169597
    }
-
 
169598
 
-
 
169599
    public void setFieldValue(_Fields field, Object value) {
-
 
169600
      switch (field) {
-
 
169601
      }
-
 
169602
    }
-
 
169603
 
-
 
169604
    public Object getFieldValue(_Fields field) {
-
 
169605
      switch (field) {
-
 
169606
      }
-
 
169607
      throw new IllegalStateException();
-
 
169608
    }
-
 
169609
 
-
 
169610
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
169611
    public boolean isSet(_Fields field) {
-
 
169612
      if (field == null) {
-
 
169613
        throw new IllegalArgumentException();
-
 
169614
      }
-
 
169615
 
-
 
169616
      switch (field) {
-
 
169617
      }
-
 
169618
      throw new IllegalStateException();
-
 
169619
    }
-
 
169620
 
-
 
169621
    @Override
-
 
169622
    public boolean equals(Object that) {
-
 
169623
      if (that == null)
-
 
169624
        return false;
-
 
169625
      if (that instanceof createFlipkartOrder_result)
-
 
169626
        return this.equals((createFlipkartOrder_result)that);
-
 
169627
      return false;
-
 
169628
    }
-
 
169629
 
-
 
169630
    public boolean equals(createFlipkartOrder_result that) {
-
 
169631
      if (that == null)
-
 
169632
        return false;
-
 
169633
 
-
 
169634
      return true;
-
 
169635
    }
-
 
169636
 
-
 
169637
    @Override
-
 
169638
    public int hashCode() {
-
 
169639
      return 0;
-
 
169640
    }
-
 
169641
 
-
 
169642
    public int compareTo(createFlipkartOrder_result other) {
-
 
169643
      if (!getClass().equals(other.getClass())) {
-
 
169644
        return getClass().getName().compareTo(other.getClass().getName());
-
 
169645
      }
-
 
169646
 
-
 
169647
      int lastComparison = 0;
-
 
169648
      createFlipkartOrder_result typedOther = (createFlipkartOrder_result)other;
-
 
169649
 
-
 
169650
      return 0;
-
 
169651
    }
-
 
169652
 
-
 
169653
    public _Fields fieldForId(int fieldId) {
-
 
169654
      return _Fields.findByThriftId(fieldId);
-
 
169655
    }
-
 
169656
 
-
 
169657
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
169658
      org.apache.thrift.protocol.TField field;
-
 
169659
      iprot.readStructBegin();
-
 
169660
      while (true)
-
 
169661
      {
-
 
169662
        field = iprot.readFieldBegin();
-
 
169663
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
169664
          break;
-
 
169665
        }
-
 
169666
        switch (field.id) {
-
 
169667
          default:
-
 
169668
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
169669
        }
-
 
169670
        iprot.readFieldEnd();
-
 
169671
      }
-
 
169672
      iprot.readStructEnd();
-
 
169673
      validate();
-
 
169674
    }
-
 
169675
 
-
 
169676
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
169677
      oprot.writeStructBegin(STRUCT_DESC);
-
 
169678
 
-
 
169679
      oprot.writeFieldStop();
-
 
169680
      oprot.writeStructEnd();
-
 
169681
    }
-
 
169682
 
-
 
169683
    @Override
-
 
169684
    public String toString() {
-
 
169685
      StringBuilder sb = new StringBuilder("createFlipkartOrder_result(");
-
 
169686
      boolean first = true;
-
 
169687
 
-
 
169688
      sb.append(")");
-
 
169689
      return sb.toString();
-
 
169690
    }
168372
 
169691
 
168373
    public void validate() throws org.apache.thrift.TException {
169692
    public void validate() throws org.apache.thrift.TException {
168374
      // check for required fields
169693
      // check for required fields
168375
    }
169694
    }
168376
 
169695