Subversion Repositories SmartDukaan

Rev

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

Rev 12979 Rev 12980
Line 1080... Line 1080...
1080
 
1080
 
1081
    public Map<Long,Map<String,Long>> getTotalSaleReturnsFbaSkusCurentTime(long insertionTimestamp) throws TransactionServiceException, org.apache.thrift.TException;
1081
    public Map<Long,Map<String,Long>> getTotalSaleReturnsFbaSkusCurentTime(long insertionTimestamp) throws TransactionServiceException, org.apache.thrift.TException;
1082
 
1082
 
1083
    public List<FlipkartOrder> getVerificationPendingOrdersFK() throws TransactionServiceException, org.apache.thrift.TException;
1083
    public List<FlipkartOrder> getVerificationPendingOrdersFK() throws TransactionServiceException, org.apache.thrift.TException;
1084
 
1084
 
1085
    public FlipkartAdvantageOrder getFAOrderByFkOrderId(String fkOrderId) throws TransactionServiceException, org.apache.thrift.TException;
1085
    public FlipkartAdvantageOrder getFAOrderByFkOrderId(String fkOrderId, String fkOrderItemId) throws TransactionServiceException, org.apache.thrift.TException;
1086
 
1086
 
1087
    public List<FlipkartAdvantageOrder> getAllFAOrdersList() throws TransactionServiceException, org.apache.thrift.TException;
1087
    public List<FlipkartAdvantageOrder> getAllFAOrdersList(String status) throws TransactionServiceException, org.apache.thrift.TException;
1088
 
1088
 
1089
    public void addUpdateFaOrdersBulk(List<FlipkartAdvantageOrder> faOrdersList) throws TransactionServiceException, org.apache.thrift.TException;
1089
    public void addUpdateFaOrdersBulk(List<FlipkartAdvantageOrder> faOrdersList) throws TransactionServiceException, org.apache.thrift.TException;
1090
 
1090
 
-
 
1091
    public void addInvoiceDetailsToOrders(long transactionId, long customerId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1092
 
-
 
1093
    public boolean flipkartFaOrderExists(String fkOrderId, String fkOrderItemId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1094
 
1091
    public RechargeOrder getRcgOrderStatus(long rechargeOrderId, boolean isFinal) throws org.apache.thrift.TException;
1095
    public RechargeOrder getRcgOrderStatus(long rechargeOrderId, boolean isFinal) throws org.apache.thrift.TException;
1092
 
1096
 
1093
    public RechargeTransaction getRcgTransactionStatus(long rechargeTransactionId, boolean isFinal) throws org.apache.thrift.TException;
1097
    public RechargeTransaction getRcgTransactionStatus(long rechargeTransactionId, boolean isFinal) throws org.apache.thrift.TException;
1094
 
1098
 
1095
  }
1099
  }
Line 1556... Line 1560...
1556
 
1560
 
1557
    public void getTotalSaleReturnsFbaSkusCurentTime(long insertionTimestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTotalSaleReturnsFbaSkusCurentTime_call> resultHandler) throws org.apache.thrift.TException;
1561
    public void getTotalSaleReturnsFbaSkusCurentTime(long insertionTimestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTotalSaleReturnsFbaSkusCurentTime_call> resultHandler) throws org.apache.thrift.TException;
1558
 
1562
 
1559
    public void getVerificationPendingOrdersFK(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getVerificationPendingOrdersFK_call> resultHandler) throws org.apache.thrift.TException;
1563
    public void getVerificationPendingOrdersFK(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getVerificationPendingOrdersFK_call> resultHandler) throws org.apache.thrift.TException;
1560
 
1564
 
1561
    public void getFAOrderByFkOrderId(String fkOrderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getFAOrderByFkOrderId_call> resultHandler) throws org.apache.thrift.TException;
1565
    public void getFAOrderByFkOrderId(String fkOrderId, String fkOrderItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getFAOrderByFkOrderId_call> resultHandler) throws org.apache.thrift.TException;
1562
 
1566
 
1563
    public void getAllFAOrdersList(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllFAOrdersList_call> resultHandler) throws org.apache.thrift.TException;
1567
    public void getAllFAOrdersList(String status, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllFAOrdersList_call> resultHandler) throws org.apache.thrift.TException;
1564
 
1568
 
1565
    public void addUpdateFaOrdersBulk(List<FlipkartAdvantageOrder> faOrdersList, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addUpdateFaOrdersBulk_call> resultHandler) throws org.apache.thrift.TException;
1569
    public void addUpdateFaOrdersBulk(List<FlipkartAdvantageOrder> faOrdersList, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addUpdateFaOrdersBulk_call> resultHandler) throws org.apache.thrift.TException;
1566
 
1570
 
-
 
1571
    public void addInvoiceDetailsToOrders(long transactionId, long customerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addInvoiceDetailsToOrders_call> resultHandler) throws org.apache.thrift.TException;
-
 
1572
 
-
 
1573
    public void flipkartFaOrderExists(String fkOrderId, String fkOrderItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.flipkartFaOrderExists_call> resultHandler) throws org.apache.thrift.TException;
-
 
1574
 
1567
    public void getRcgOrderStatus(long rechargeOrderId, boolean isFinal, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRcgOrderStatus_call> resultHandler) throws org.apache.thrift.TException;
1575
    public void getRcgOrderStatus(long rechargeOrderId, boolean isFinal, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRcgOrderStatus_call> resultHandler) throws org.apache.thrift.TException;
1568
 
1576
 
1569
    public void getRcgTransactionStatus(long rechargeTransactionId, boolean isFinal, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRcgTransactionStatus_call> resultHandler) throws org.apache.thrift.TException;
1577
    public void getRcgTransactionStatus(long rechargeTransactionId, boolean isFinal, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRcgTransactionStatus_call> resultHandler) throws org.apache.thrift.TException;
1570
 
1578
 
1571
  }
1579
  }
Line 7283... Line 7291...
7283
        throw result.ex;
7291
        throw result.ex;
7284
      }
7292
      }
7285
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getVerificationPendingOrdersFK failed: unknown result");
7293
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getVerificationPendingOrdersFK failed: unknown result");
7286
    }
7294
    }
7287
 
7295
 
7288
    public FlipkartAdvantageOrder getFAOrderByFkOrderId(String fkOrderId) throws TransactionServiceException, org.apache.thrift.TException
7296
    public FlipkartAdvantageOrder getFAOrderByFkOrderId(String fkOrderId, String fkOrderItemId) throws TransactionServiceException, org.apache.thrift.TException
7289
    {
7297
    {
7290
      send_getFAOrderByFkOrderId(fkOrderId);
7298
      send_getFAOrderByFkOrderId(fkOrderId, fkOrderItemId);
7291
      return recv_getFAOrderByFkOrderId();
7299
      return recv_getFAOrderByFkOrderId();
7292
    }
7300
    }
7293
 
7301
 
7294
    public void send_getFAOrderByFkOrderId(String fkOrderId) throws org.apache.thrift.TException
7302
    public void send_getFAOrderByFkOrderId(String fkOrderId, String fkOrderItemId) throws org.apache.thrift.TException
7295
    {
7303
    {
7296
      getFAOrderByFkOrderId_args args = new getFAOrderByFkOrderId_args();
7304
      getFAOrderByFkOrderId_args args = new getFAOrderByFkOrderId_args();
7297
      args.setFkOrderId(fkOrderId);
7305
      args.setFkOrderId(fkOrderId);
-
 
7306
      args.setFkOrderItemId(fkOrderItemId);
7298
      sendBase("getFAOrderByFkOrderId", args);
7307
      sendBase("getFAOrderByFkOrderId", args);
7299
    }
7308
    }
7300
 
7309
 
7301
    public FlipkartAdvantageOrder recv_getFAOrderByFkOrderId() throws TransactionServiceException, org.apache.thrift.TException
7310
    public FlipkartAdvantageOrder recv_getFAOrderByFkOrderId() throws TransactionServiceException, org.apache.thrift.TException
7302
    {
7311
    {
Line 7309... Line 7318...
7309
        throw result.ex;
7318
        throw result.ex;
7310
      }
7319
      }
7311
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getFAOrderByFkOrderId failed: unknown result");
7320
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getFAOrderByFkOrderId failed: unknown result");
7312
    }
7321
    }
7313
 
7322
 
7314
    public List<FlipkartAdvantageOrder> getAllFAOrdersList() throws TransactionServiceException, org.apache.thrift.TException
7323
    public List<FlipkartAdvantageOrder> getAllFAOrdersList(String status) throws TransactionServiceException, org.apache.thrift.TException
7315
    {
7324
    {
7316
      send_getAllFAOrdersList();
7325
      send_getAllFAOrdersList(status);
7317
      return recv_getAllFAOrdersList();
7326
      return recv_getAllFAOrdersList();
7318
    }
7327
    }
7319
 
7328
 
7320
    public void send_getAllFAOrdersList() throws org.apache.thrift.TException
7329
    public void send_getAllFAOrdersList(String status) throws org.apache.thrift.TException
7321
    {
7330
    {
7322
      getAllFAOrdersList_args args = new getAllFAOrdersList_args();
7331
      getAllFAOrdersList_args args = new getAllFAOrdersList_args();
-
 
7332
      args.setStatus(status);
7323
      sendBase("getAllFAOrdersList", args);
7333
      sendBase("getAllFAOrdersList", args);
7324
    }
7334
    }
7325
 
7335
 
7326
    public List<FlipkartAdvantageOrder> recv_getAllFAOrdersList() throws TransactionServiceException, org.apache.thrift.TException
7336
    public List<FlipkartAdvantageOrder> recv_getAllFAOrdersList() throws TransactionServiceException, org.apache.thrift.TException
7327
    {
7337
    {
Line 7357... Line 7367...
7357
        throw result.ex;
7367
        throw result.ex;
7358
      }
7368
      }
7359
      return;
7369
      return;
7360
    }
7370
    }
7361
 
7371
 
-
 
7372
    public void addInvoiceDetailsToOrders(long transactionId, long customerId) throws TransactionServiceException, org.apache.thrift.TException
-
 
7373
    {
-
 
7374
      send_addInvoiceDetailsToOrders(transactionId, customerId);
-
 
7375
      recv_addInvoiceDetailsToOrders();
-
 
7376
    }
-
 
7377
 
-
 
7378
    public void send_addInvoiceDetailsToOrders(long transactionId, long customerId) throws org.apache.thrift.TException
-
 
7379
    {
-
 
7380
      addInvoiceDetailsToOrders_args args = new addInvoiceDetailsToOrders_args();
-
 
7381
      args.setTransactionId(transactionId);
-
 
7382
      args.setCustomerId(customerId);
-
 
7383
      sendBase("addInvoiceDetailsToOrders", args);
-
 
7384
    }
-
 
7385
 
-
 
7386
    public void recv_addInvoiceDetailsToOrders() throws TransactionServiceException, org.apache.thrift.TException
-
 
7387
    {
-
 
7388
      addInvoiceDetailsToOrders_result result = new addInvoiceDetailsToOrders_result();
-
 
7389
      receiveBase(result, "addInvoiceDetailsToOrders");
-
 
7390
      if (result.ex != null) {
-
 
7391
        throw result.ex;
-
 
7392
      }
-
 
7393
      return;
-
 
7394
    }
-
 
7395
 
-
 
7396
    public boolean flipkartFaOrderExists(String fkOrderId, String fkOrderItemId) throws TransactionServiceException, org.apache.thrift.TException
-
 
7397
    {
-
 
7398
      send_flipkartFaOrderExists(fkOrderId, fkOrderItemId);
-
 
7399
      return recv_flipkartFaOrderExists();
-
 
7400
    }
-
 
7401
 
-
 
7402
    public void send_flipkartFaOrderExists(String fkOrderId, String fkOrderItemId) throws org.apache.thrift.TException
-
 
7403
    {
-
 
7404
      flipkartFaOrderExists_args args = new flipkartFaOrderExists_args();
-
 
7405
      args.setFkOrderId(fkOrderId);
-
 
7406
      args.setFkOrderItemId(fkOrderItemId);
-
 
7407
      sendBase("flipkartFaOrderExists", args);
-
 
7408
    }
-
 
7409
 
-
 
7410
    public boolean recv_flipkartFaOrderExists() throws TransactionServiceException, org.apache.thrift.TException
-
 
7411
    {
-
 
7412
      flipkartFaOrderExists_result result = new flipkartFaOrderExists_result();
-
 
7413
      receiveBase(result, "flipkartFaOrderExists");
-
 
7414
      if (result.isSetSuccess()) {
-
 
7415
        return result.success;
-
 
7416
      }
-
 
7417
      if (result.ex != null) {
-
 
7418
        throw result.ex;
-
 
7419
      }
-
 
7420
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "flipkartFaOrderExists failed: unknown result");
-
 
7421
    }
-
 
7422
 
7362
    public RechargeOrder getRcgOrderStatus(long rechargeOrderId, boolean isFinal) throws org.apache.thrift.TException
7423
    public RechargeOrder getRcgOrderStatus(long rechargeOrderId, boolean isFinal) throws org.apache.thrift.TException
7363
    {
7424
    {
7364
      send_getRcgOrderStatus(rechargeOrderId, isFinal);
7425
      send_getRcgOrderStatus(rechargeOrderId, isFinal);
7365
      return recv_getRcgOrderStatus();
7426
      return recv_getRcgOrderStatus();
7366
    }
7427
    }
Line 15448... Line 15509...
15448
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
15509
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
15449
        return (new Client(prot)).recv_getVerificationPendingOrdersFK();
15510
        return (new Client(prot)).recv_getVerificationPendingOrdersFK();
15450
      }
15511
      }
15451
    }
15512
    }
15452
 
15513
 
15453
    public void getFAOrderByFkOrderId(String fkOrderId, org.apache.thrift.async.AsyncMethodCallback<getFAOrderByFkOrderId_call> resultHandler) throws org.apache.thrift.TException {
15514
    public void getFAOrderByFkOrderId(String fkOrderId, String fkOrderItemId, org.apache.thrift.async.AsyncMethodCallback<getFAOrderByFkOrderId_call> resultHandler) throws org.apache.thrift.TException {
15454
      checkReady();
15515
      checkReady();
15455
      getFAOrderByFkOrderId_call method_call = new getFAOrderByFkOrderId_call(fkOrderId, resultHandler, this, ___protocolFactory, ___transport);
15516
      getFAOrderByFkOrderId_call method_call = new getFAOrderByFkOrderId_call(fkOrderId, fkOrderItemId, resultHandler, this, ___protocolFactory, ___transport);
15456
      this.___currentMethod = method_call;
15517
      this.___currentMethod = method_call;
15457
      ___manager.call(method_call);
15518
      ___manager.call(method_call);
15458
    }
15519
    }
15459
 
15520
 
15460
    public static class getFAOrderByFkOrderId_call extends org.apache.thrift.async.TAsyncMethodCall {
15521
    public static class getFAOrderByFkOrderId_call extends org.apache.thrift.async.TAsyncMethodCall {
15461
      private String fkOrderId;
15522
      private String fkOrderId;
-
 
15523
      private String fkOrderItemId;
15462
      public getFAOrderByFkOrderId_call(String fkOrderId, org.apache.thrift.async.AsyncMethodCallback<getFAOrderByFkOrderId_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 {
15524
      public getFAOrderByFkOrderId_call(String fkOrderId, String fkOrderItemId, org.apache.thrift.async.AsyncMethodCallback<getFAOrderByFkOrderId_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 {
15463
        super(client, protocolFactory, transport, resultHandler, false);
15525
        super(client, protocolFactory, transport, resultHandler, false);
15464
        this.fkOrderId = fkOrderId;
15526
        this.fkOrderId = fkOrderId;
-
 
15527
        this.fkOrderItemId = fkOrderItemId;
15465
      }
15528
      }
15466
 
15529
 
15467
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
15530
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
15468
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getFAOrderByFkOrderId", org.apache.thrift.protocol.TMessageType.CALL, 0));
15531
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getFAOrderByFkOrderId", org.apache.thrift.protocol.TMessageType.CALL, 0));
15469
        getFAOrderByFkOrderId_args args = new getFAOrderByFkOrderId_args();
15532
        getFAOrderByFkOrderId_args args = new getFAOrderByFkOrderId_args();
15470
        args.setFkOrderId(fkOrderId);
15533
        args.setFkOrderId(fkOrderId);
-
 
15534
        args.setFkOrderItemId(fkOrderItemId);
15471
        args.write(prot);
15535
        args.write(prot);
15472
        prot.writeMessageEnd();
15536
        prot.writeMessageEnd();
15473
      }
15537
      }
15474
 
15538
 
15475
      public FlipkartAdvantageOrder getResult() throws TransactionServiceException, org.apache.thrift.TException {
15539
      public FlipkartAdvantageOrder getResult() throws TransactionServiceException, org.apache.thrift.TException {
Line 15480... Line 15544...
15480
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
15544
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
15481
        return (new Client(prot)).recv_getFAOrderByFkOrderId();
15545
        return (new Client(prot)).recv_getFAOrderByFkOrderId();
15482
      }
15546
      }
15483
    }
15547
    }
15484
 
15548
 
15485
    public void getAllFAOrdersList(org.apache.thrift.async.AsyncMethodCallback<getAllFAOrdersList_call> resultHandler) throws org.apache.thrift.TException {
15549
    public void getAllFAOrdersList(String status, org.apache.thrift.async.AsyncMethodCallback<getAllFAOrdersList_call> resultHandler) throws org.apache.thrift.TException {
15486
      checkReady();
15550
      checkReady();
15487
      getAllFAOrdersList_call method_call = new getAllFAOrdersList_call(resultHandler, this, ___protocolFactory, ___transport);
15551
      getAllFAOrdersList_call method_call = new getAllFAOrdersList_call(status, resultHandler, this, ___protocolFactory, ___transport);
15488
      this.___currentMethod = method_call;
15552
      this.___currentMethod = method_call;
15489
      ___manager.call(method_call);
15553
      ___manager.call(method_call);
15490
    }
15554
    }
15491
 
15555
 
15492
    public static class getAllFAOrdersList_call extends org.apache.thrift.async.TAsyncMethodCall {
15556
    public static class getAllFAOrdersList_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
15557
      private String status;
15493
      public getAllFAOrdersList_call(org.apache.thrift.async.AsyncMethodCallback<getAllFAOrdersList_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 {
15558
      public getAllFAOrdersList_call(String status, org.apache.thrift.async.AsyncMethodCallback<getAllFAOrdersList_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 {
15494
        super(client, protocolFactory, transport, resultHandler, false);
15559
        super(client, protocolFactory, transport, resultHandler, false);
-
 
15560
        this.status = status;
15495
      }
15561
      }
15496
 
15562
 
15497
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
15563
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
15498
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllFAOrdersList", org.apache.thrift.protocol.TMessageType.CALL, 0));
15564
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllFAOrdersList", org.apache.thrift.protocol.TMessageType.CALL, 0));
15499
        getAllFAOrdersList_args args = new getAllFAOrdersList_args();
15565
        getAllFAOrdersList_args args = new getAllFAOrdersList_args();
-
 
15566
        args.setStatus(status);
15500
        args.write(prot);
15567
        args.write(prot);
15501
        prot.writeMessageEnd();
15568
        prot.writeMessageEnd();
15502
      }
15569
      }
15503
 
15570
 
15504
      public List<FlipkartAdvantageOrder> getResult() throws TransactionServiceException, org.apache.thrift.TException {
15571
      public List<FlipkartAdvantageOrder> getResult() throws TransactionServiceException, org.apache.thrift.TException {
Line 15541... Line 15608...
15541
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
15608
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
15542
        (new Client(prot)).recv_addUpdateFaOrdersBulk();
15609
        (new Client(prot)).recv_addUpdateFaOrdersBulk();
15543
      }
15610
      }
15544
    }
15611
    }
15545
 
15612
 
-
 
15613
    public void addInvoiceDetailsToOrders(long transactionId, long customerId, org.apache.thrift.async.AsyncMethodCallback<addInvoiceDetailsToOrders_call> resultHandler) throws org.apache.thrift.TException {
-
 
15614
      checkReady();
-
 
15615
      addInvoiceDetailsToOrders_call method_call = new addInvoiceDetailsToOrders_call(transactionId, customerId, resultHandler, this, ___protocolFactory, ___transport);
-
 
15616
      this.___currentMethod = method_call;
-
 
15617
      ___manager.call(method_call);
-
 
15618
    }
-
 
15619
 
-
 
15620
    public static class addInvoiceDetailsToOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
15621
      private long transactionId;
-
 
15622
      private long customerId;
-
 
15623
      public addInvoiceDetailsToOrders_call(long transactionId, long customerId, org.apache.thrift.async.AsyncMethodCallback<addInvoiceDetailsToOrders_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 {
-
 
15624
        super(client, protocolFactory, transport, resultHandler, false);
-
 
15625
        this.transactionId = transactionId;
-
 
15626
        this.customerId = customerId;
-
 
15627
      }
-
 
15628
 
-
 
15629
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
15630
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addInvoiceDetailsToOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
15631
        addInvoiceDetailsToOrders_args args = new addInvoiceDetailsToOrders_args();
-
 
15632
        args.setTransactionId(transactionId);
-
 
15633
        args.setCustomerId(customerId);
-
 
15634
        args.write(prot);
-
 
15635
        prot.writeMessageEnd();
-
 
15636
      }
-
 
15637
 
-
 
15638
      public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
15639
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
15640
          throw new IllegalStateException("Method call not finished!");
-
 
15641
        }
-
 
15642
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
15643
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
15644
        (new Client(prot)).recv_addInvoiceDetailsToOrders();
-
 
15645
      }
-
 
15646
    }
-
 
15647
 
-
 
15648
    public void flipkartFaOrderExists(String fkOrderId, String fkOrderItemId, org.apache.thrift.async.AsyncMethodCallback<flipkartFaOrderExists_call> resultHandler) throws org.apache.thrift.TException {
-
 
15649
      checkReady();
-
 
15650
      flipkartFaOrderExists_call method_call = new flipkartFaOrderExists_call(fkOrderId, fkOrderItemId, resultHandler, this, ___protocolFactory, ___transport);
-
 
15651
      this.___currentMethod = method_call;
-
 
15652
      ___manager.call(method_call);
-
 
15653
    }
-
 
15654
 
-
 
15655
    public static class flipkartFaOrderExists_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
15656
      private String fkOrderId;
-
 
15657
      private String fkOrderItemId;
-
 
15658
      public flipkartFaOrderExists_call(String fkOrderId, String fkOrderItemId, org.apache.thrift.async.AsyncMethodCallback<flipkartFaOrderExists_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 {
-
 
15659
        super(client, protocolFactory, transport, resultHandler, false);
-
 
15660
        this.fkOrderId = fkOrderId;
-
 
15661
        this.fkOrderItemId = fkOrderItemId;
-
 
15662
      }
-
 
15663
 
-
 
15664
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
15665
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("flipkartFaOrderExists", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
15666
        flipkartFaOrderExists_args args = new flipkartFaOrderExists_args();
-
 
15667
        args.setFkOrderId(fkOrderId);
-
 
15668
        args.setFkOrderItemId(fkOrderItemId);
-
 
15669
        args.write(prot);
-
 
15670
        prot.writeMessageEnd();
-
 
15671
      }
-
 
15672
 
-
 
15673
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
15674
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
15675
          throw new IllegalStateException("Method call not finished!");
-
 
15676
        }
-
 
15677
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
15678
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
15679
        return (new Client(prot)).recv_flipkartFaOrderExists();
-
 
15680
      }
-
 
15681
    }
-
 
15682
 
15546
    public void getRcgOrderStatus(long rechargeOrderId, boolean isFinal, org.apache.thrift.async.AsyncMethodCallback<getRcgOrderStatus_call> resultHandler) throws org.apache.thrift.TException {
15683
    public void getRcgOrderStatus(long rechargeOrderId, boolean isFinal, org.apache.thrift.async.AsyncMethodCallback<getRcgOrderStatus_call> resultHandler) throws org.apache.thrift.TException {
15547
      checkReady();
15684
      checkReady();
15548
      getRcgOrderStatus_call method_call = new getRcgOrderStatus_call(rechargeOrderId, isFinal, resultHandler, this, ___protocolFactory, ___transport);
15685
      getRcgOrderStatus_call method_call = new getRcgOrderStatus_call(rechargeOrderId, isFinal, resultHandler, this, ___protocolFactory, ___transport);
15549
      this.___currentMethod = method_call;
15686
      this.___currentMethod = method_call;
15550
      ___manager.call(method_call);
15687
      ___manager.call(method_call);
Line 15858... Line 15995...
15858
      processMap.put("getTotalSaleReturnsFbaSkusCurentTime", new getTotalSaleReturnsFbaSkusCurentTime());
15995
      processMap.put("getTotalSaleReturnsFbaSkusCurentTime", new getTotalSaleReturnsFbaSkusCurentTime());
15859
      processMap.put("getVerificationPendingOrdersFK", new getVerificationPendingOrdersFK());
15996
      processMap.put("getVerificationPendingOrdersFK", new getVerificationPendingOrdersFK());
15860
      processMap.put("getFAOrderByFkOrderId", new getFAOrderByFkOrderId());
15997
      processMap.put("getFAOrderByFkOrderId", new getFAOrderByFkOrderId());
15861
      processMap.put("getAllFAOrdersList", new getAllFAOrdersList());
15998
      processMap.put("getAllFAOrdersList", new getAllFAOrdersList());
15862
      processMap.put("addUpdateFaOrdersBulk", new addUpdateFaOrdersBulk());
15999
      processMap.put("addUpdateFaOrdersBulk", new addUpdateFaOrdersBulk());
-
 
16000
      processMap.put("addInvoiceDetailsToOrders", new addInvoiceDetailsToOrders());
-
 
16001
      processMap.put("flipkartFaOrderExists", new flipkartFaOrderExists());
15863
      processMap.put("getRcgOrderStatus", new getRcgOrderStatus());
16002
      processMap.put("getRcgOrderStatus", new getRcgOrderStatus());
15864
      processMap.put("getRcgTransactionStatus", new getRcgTransactionStatus());
16003
      processMap.put("getRcgTransactionStatus", new getRcgTransactionStatus());
15865
      return processMap;
16004
      return processMap;
15866
    }
16005
    }
15867
 
16006
 
Line 20057... Line 20196...
20057
      }
20196
      }
20058
 
20197
 
20059
      protected getFAOrderByFkOrderId_result getResult(I iface, getFAOrderByFkOrderId_args args) throws org.apache.thrift.TException {
20198
      protected getFAOrderByFkOrderId_result getResult(I iface, getFAOrderByFkOrderId_args args) throws org.apache.thrift.TException {
20060
        getFAOrderByFkOrderId_result result = new getFAOrderByFkOrderId_result();
20199
        getFAOrderByFkOrderId_result result = new getFAOrderByFkOrderId_result();
20061
        try {
20200
        try {
20062
          result.success = iface.getFAOrderByFkOrderId(args.fkOrderId);
20201
          result.success = iface.getFAOrderByFkOrderId(args.fkOrderId, args.fkOrderItemId);
20063
        } catch (TransactionServiceException ex) {
20202
        } catch (TransactionServiceException ex) {
20064
          result.ex = ex;
20203
          result.ex = ex;
20065
        }
20204
        }
20066
        return result;
20205
        return result;
20067
      }
20206
      }
Line 20077... Line 20216...
20077
      }
20216
      }
20078
 
20217
 
20079
      protected getAllFAOrdersList_result getResult(I iface, getAllFAOrdersList_args args) throws org.apache.thrift.TException {
20218
      protected getAllFAOrdersList_result getResult(I iface, getAllFAOrdersList_args args) throws org.apache.thrift.TException {
20080
        getAllFAOrdersList_result result = new getAllFAOrdersList_result();
20219
        getAllFAOrdersList_result result = new getAllFAOrdersList_result();
20081
        try {
20220
        try {
20082
          result.success = iface.getAllFAOrdersList();
20221
          result.success = iface.getAllFAOrdersList(args.status);
20083
        } catch (TransactionServiceException ex) {
20222
        } catch (TransactionServiceException ex) {
20084
          result.ex = ex;
20223
          result.ex = ex;
20085
        }
20224
        }
20086
        return result;
20225
        return result;
20087
      }
20226
      }
Line 20105... Line 20244...
20105
        }
20244
        }
20106
        return result;
20245
        return result;
20107
      }
20246
      }
20108
    }
20247
    }
20109
 
20248
 
-
 
20249
    private static class addInvoiceDetailsToOrders<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addInvoiceDetailsToOrders_args> {
-
 
20250
      public addInvoiceDetailsToOrders() {
-
 
20251
        super("addInvoiceDetailsToOrders");
-
 
20252
      }
-
 
20253
 
-
 
20254
      protected addInvoiceDetailsToOrders_args getEmptyArgsInstance() {
-
 
20255
        return new addInvoiceDetailsToOrders_args();
-
 
20256
      }
-
 
20257
 
-
 
20258
      protected addInvoiceDetailsToOrders_result getResult(I iface, addInvoiceDetailsToOrders_args args) throws org.apache.thrift.TException {
-
 
20259
        addInvoiceDetailsToOrders_result result = new addInvoiceDetailsToOrders_result();
-
 
20260
        try {
-
 
20261
          iface.addInvoiceDetailsToOrders(args.transactionId, args.customerId);
-
 
20262
        } catch (TransactionServiceException ex) {
-
 
20263
          result.ex = ex;
-
 
20264
        }
-
 
20265
        return result;
-
 
20266
      }
-
 
20267
    }
-
 
20268
 
-
 
20269
    private static class flipkartFaOrderExists<I extends Iface> extends org.apache.thrift.ProcessFunction<I, flipkartFaOrderExists_args> {
-
 
20270
      public flipkartFaOrderExists() {
-
 
20271
        super("flipkartFaOrderExists");
-
 
20272
      }
-
 
20273
 
-
 
20274
      protected flipkartFaOrderExists_args getEmptyArgsInstance() {
-
 
20275
        return new flipkartFaOrderExists_args();
-
 
20276
      }
-
 
20277
 
-
 
20278
      protected flipkartFaOrderExists_result getResult(I iface, flipkartFaOrderExists_args args) throws org.apache.thrift.TException {
-
 
20279
        flipkartFaOrderExists_result result = new flipkartFaOrderExists_result();
-
 
20280
        try {
-
 
20281
          result.success = iface.flipkartFaOrderExists(args.fkOrderId, args.fkOrderItemId);
-
 
20282
          result.setSuccessIsSet(true);
-
 
20283
        } catch (TransactionServiceException ex) {
-
 
20284
          result.ex = ex;
-
 
20285
        }
-
 
20286
        return result;
-
 
20287
      }
-
 
20288
    }
-
 
20289
 
20110
    private static class getRcgOrderStatus<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRcgOrderStatus_args> {
20290
    private static class getRcgOrderStatus<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRcgOrderStatus_args> {
20111
      public getRcgOrderStatus() {
20291
      public getRcgOrderStatus() {
20112
        super("getRcgOrderStatus");
20292
        super("getRcgOrderStatus");
20113
      }
20293
      }
20114
 
20294
 
Line 183458... Line 183638...
183458
 
183638
 
183459
  public static class getFAOrderByFkOrderId_args implements org.apache.thrift.TBase<getFAOrderByFkOrderId_args, getFAOrderByFkOrderId_args._Fields>, java.io.Serializable, Cloneable   {
183639
  public static class getFAOrderByFkOrderId_args implements org.apache.thrift.TBase<getFAOrderByFkOrderId_args, getFAOrderByFkOrderId_args._Fields>, java.io.Serializable, Cloneable   {
183460
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getFAOrderByFkOrderId_args");
183640
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getFAOrderByFkOrderId_args");
183461
 
183641
 
183462
    private static final org.apache.thrift.protocol.TField FK_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("fkOrderId", org.apache.thrift.protocol.TType.STRING, (short)1);
183642
    private static final org.apache.thrift.protocol.TField FK_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("fkOrderId", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
183643
    private static final org.apache.thrift.protocol.TField FK_ORDER_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("fkOrderItemId", org.apache.thrift.protocol.TType.STRING, (short)2);
183463
 
183644
 
183464
    private String fkOrderId; // required
183645
    private String fkOrderId; // required
-
 
183646
    private String fkOrderItemId; // required
183465
 
183647
 
183466
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
183648
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
183467
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
183649
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
183468
      FK_ORDER_ID((short)1, "fkOrderId");
183650
      FK_ORDER_ID((short)1, "fkOrderId"),
-
 
183651
      FK_ORDER_ITEM_ID((short)2, "fkOrderItemId");
183469
 
183652
 
183470
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
183653
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
183471
 
183654
 
183472
      static {
183655
      static {
183473
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
183656
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 183480... Line 183663...
183480
       */
183663
       */
183481
      public static _Fields findByThriftId(int fieldId) {
183664
      public static _Fields findByThriftId(int fieldId) {
183482
        switch(fieldId) {
183665
        switch(fieldId) {
183483
          case 1: // FK_ORDER_ID
183666
          case 1: // FK_ORDER_ID
183484
            return FK_ORDER_ID;
183667
            return FK_ORDER_ID;
-
 
183668
          case 2: // FK_ORDER_ITEM_ID
-
 
183669
            return FK_ORDER_ITEM_ID;
183485
          default:
183670
          default:
183486
            return null;
183671
            return null;
183487
        }
183672
        }
183488
      }
183673
      }
183489
 
183674
 
Line 183526... Line 183711...
183526
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
183711
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
183527
    static {
183712
    static {
183528
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
183713
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
183529
      tmpMap.put(_Fields.FK_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("fkOrderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
183714
      tmpMap.put(_Fields.FK_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("fkOrderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
183530
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
183715
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
183716
      tmpMap.put(_Fields.FK_ORDER_ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("fkOrderItemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
183717
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
183531
      metaDataMap = Collections.unmodifiableMap(tmpMap);
183718
      metaDataMap = Collections.unmodifiableMap(tmpMap);
183532
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getFAOrderByFkOrderId_args.class, metaDataMap);
183719
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getFAOrderByFkOrderId_args.class, metaDataMap);
183533
    }
183720
    }
183534
 
183721
 
183535
    public getFAOrderByFkOrderId_args() {
183722
    public getFAOrderByFkOrderId_args() {
183536
    }
183723
    }
183537
 
183724
 
183538
    public getFAOrderByFkOrderId_args(
183725
    public getFAOrderByFkOrderId_args(
183539
      String fkOrderId)
183726
      String fkOrderId,
-
 
183727
      String fkOrderItemId)
183540
    {
183728
    {
183541
      this();
183729
      this();
183542
      this.fkOrderId = fkOrderId;
183730
      this.fkOrderId = fkOrderId;
-
 
183731
      this.fkOrderItemId = fkOrderItemId;
183543
    }
183732
    }
183544
 
183733
 
183545
    /**
183734
    /**
183546
     * Performs a deep copy on <i>other</i>.
183735
     * Performs a deep copy on <i>other</i>.
183547
     */
183736
     */
183548
    public getFAOrderByFkOrderId_args(getFAOrderByFkOrderId_args other) {
183737
    public getFAOrderByFkOrderId_args(getFAOrderByFkOrderId_args other) {
183549
      if (other.isSetFkOrderId()) {
183738
      if (other.isSetFkOrderId()) {
183550
        this.fkOrderId = other.fkOrderId;
183739
        this.fkOrderId = other.fkOrderId;
183551
      }
183740
      }
-
 
183741
      if (other.isSetFkOrderItemId()) {
-
 
183742
        this.fkOrderItemId = other.fkOrderItemId;
-
 
183743
      }
183552
    }
183744
    }
183553
 
183745
 
183554
    public getFAOrderByFkOrderId_args deepCopy() {
183746
    public getFAOrderByFkOrderId_args deepCopy() {
183555
      return new getFAOrderByFkOrderId_args(this);
183747
      return new getFAOrderByFkOrderId_args(this);
183556
    }
183748
    }
183557
 
183749
 
183558
    @Override
183750
    @Override
183559
    public void clear() {
183751
    public void clear() {
183560
      this.fkOrderId = null;
183752
      this.fkOrderId = null;
-
 
183753
      this.fkOrderItemId = null;
183561
    }
183754
    }
183562
 
183755
 
183563
    public String getFkOrderId() {
183756
    public String getFkOrderId() {
183564
      return this.fkOrderId;
183757
      return this.fkOrderId;
183565
    }
183758
    }
Line 183581... Line 183774...
183581
      if (!value) {
183774
      if (!value) {
183582
        this.fkOrderId = null;
183775
        this.fkOrderId = null;
183583
      }
183776
      }
183584
    }
183777
    }
183585
 
183778
 
-
 
183779
    public String getFkOrderItemId() {
-
 
183780
      return this.fkOrderItemId;
-
 
183781
    }
-
 
183782
 
-
 
183783
    public void setFkOrderItemId(String fkOrderItemId) {
-
 
183784
      this.fkOrderItemId = fkOrderItemId;
-
 
183785
    }
-
 
183786
 
-
 
183787
    public void unsetFkOrderItemId() {
-
 
183788
      this.fkOrderItemId = null;
-
 
183789
    }
-
 
183790
 
-
 
183791
    /** Returns true if field fkOrderItemId is set (has been assigned a value) and false otherwise */
-
 
183792
    public boolean isSetFkOrderItemId() {
-
 
183793
      return this.fkOrderItemId != null;
-
 
183794
    }
-
 
183795
 
-
 
183796
    public void setFkOrderItemIdIsSet(boolean value) {
-
 
183797
      if (!value) {
-
 
183798
        this.fkOrderItemId = null;
-
 
183799
      }
-
 
183800
    }
-
 
183801
 
183586
    public void setFieldValue(_Fields field, Object value) {
183802
    public void setFieldValue(_Fields field, Object value) {
183587
      switch (field) {
183803
      switch (field) {
183588
      case FK_ORDER_ID:
183804
      case FK_ORDER_ID:
183589
        if (value == null) {
183805
        if (value == null) {
183590
          unsetFkOrderId();
183806
          unsetFkOrderId();
183591
        } else {
183807
        } else {
183592
          setFkOrderId((String)value);
183808
          setFkOrderId((String)value);
183593
        }
183809
        }
183594
        break;
183810
        break;
183595
 
183811
 
-
 
183812
      case FK_ORDER_ITEM_ID:
-
 
183813
        if (value == null) {
-
 
183814
          unsetFkOrderItemId();
-
 
183815
        } else {
-
 
183816
          setFkOrderItemId((String)value);
-
 
183817
        }
-
 
183818
        break;
-
 
183819
 
183596
      }
183820
      }
183597
    }
183821
    }
183598
 
183822
 
183599
    public Object getFieldValue(_Fields field) {
183823
    public Object getFieldValue(_Fields field) {
183600
      switch (field) {
183824
      switch (field) {
183601
      case FK_ORDER_ID:
183825
      case FK_ORDER_ID:
183602
        return getFkOrderId();
183826
        return getFkOrderId();
183603
 
183827
 
-
 
183828
      case FK_ORDER_ITEM_ID:
-
 
183829
        return getFkOrderItemId();
-
 
183830
 
183604
      }
183831
      }
183605
      throw new IllegalStateException();
183832
      throw new IllegalStateException();
183606
    }
183833
    }
183607
 
183834
 
183608
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
183835
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 183612... Line 183839...
183612
      }
183839
      }
183613
 
183840
 
183614
      switch (field) {
183841
      switch (field) {
183615
      case FK_ORDER_ID:
183842
      case FK_ORDER_ID:
183616
        return isSetFkOrderId();
183843
        return isSetFkOrderId();
-
 
183844
      case FK_ORDER_ITEM_ID:
-
 
183845
        return isSetFkOrderItemId();
183617
      }
183846
      }
183618
      throw new IllegalStateException();
183847
      throw new IllegalStateException();
183619
    }
183848
    }
183620
 
183849
 
183621
    @Override
183850
    @Override
Line 183638... Line 183867...
183638
          return false;
183867
          return false;
183639
        if (!this.fkOrderId.equals(that.fkOrderId))
183868
        if (!this.fkOrderId.equals(that.fkOrderId))
183640
          return false;
183869
          return false;
183641
      }
183870
      }
183642
 
183871
 
-
 
183872
      boolean this_present_fkOrderItemId = true && this.isSetFkOrderItemId();
-
 
183873
      boolean that_present_fkOrderItemId = true && that.isSetFkOrderItemId();
-
 
183874
      if (this_present_fkOrderItemId || that_present_fkOrderItemId) {
-
 
183875
        if (!(this_present_fkOrderItemId && that_present_fkOrderItemId))
-
 
183876
          return false;
-
 
183877
        if (!this.fkOrderItemId.equals(that.fkOrderItemId))
-
 
183878
          return false;
-
 
183879
      }
-
 
183880
 
183643
      return true;
183881
      return true;
183644
    }
183882
    }
183645
 
183883
 
183646
    @Override
183884
    @Override
183647
    public int hashCode() {
183885
    public int hashCode() {
Line 183664... Line 183902...
183664
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fkOrderId, typedOther.fkOrderId);
183902
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fkOrderId, typedOther.fkOrderId);
183665
        if (lastComparison != 0) {
183903
        if (lastComparison != 0) {
183666
          return lastComparison;
183904
          return lastComparison;
183667
        }
183905
        }
183668
      }
183906
      }
-
 
183907
      lastComparison = Boolean.valueOf(isSetFkOrderItemId()).compareTo(typedOther.isSetFkOrderItemId());
-
 
183908
      if (lastComparison != 0) {
-
 
183909
        return lastComparison;
-
 
183910
      }
-
 
183911
      if (isSetFkOrderItemId()) {
-
 
183912
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fkOrderItemId, typedOther.fkOrderItemId);
-
 
183913
        if (lastComparison != 0) {
-
 
183914
          return lastComparison;
-
 
183915
        }
-
 
183916
      }
183669
      return 0;
183917
      return 0;
183670
    }
183918
    }
183671
 
183919
 
183672
    public _Fields fieldForId(int fieldId) {
183920
    public _Fields fieldForId(int fieldId) {
183673
      return _Fields.findByThriftId(fieldId);
183921
      return _Fields.findByThriftId(fieldId);
Line 183688... Line 183936...
183688
              this.fkOrderId = iprot.readString();
183936
              this.fkOrderId = iprot.readString();
183689
            } else { 
183937
            } else { 
183690
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
183938
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
183691
            }
183939
            }
183692
            break;
183940
            break;
-
 
183941
          case 2: // FK_ORDER_ITEM_ID
-
 
183942
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
183943
              this.fkOrderItemId = iprot.readString();
-
 
183944
            } else { 
-
 
183945
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
183946
            }
-
 
183947
            break;
183693
          default:
183948
          default:
183694
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
183949
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
183695
        }
183950
        }
183696
        iprot.readFieldEnd();
183951
        iprot.readFieldEnd();
183697
      }
183952
      }
Line 183706... Line 183961...
183706
      if (this.fkOrderId != null) {
183961
      if (this.fkOrderId != null) {
183707
        oprot.writeFieldBegin(FK_ORDER_ID_FIELD_DESC);
183962
        oprot.writeFieldBegin(FK_ORDER_ID_FIELD_DESC);
183708
        oprot.writeString(this.fkOrderId);
183963
        oprot.writeString(this.fkOrderId);
183709
        oprot.writeFieldEnd();
183964
        oprot.writeFieldEnd();
183710
      }
183965
      }
-
 
183966
      if (this.fkOrderItemId != null) {
-
 
183967
        oprot.writeFieldBegin(FK_ORDER_ITEM_ID_FIELD_DESC);
-
 
183968
        oprot.writeString(this.fkOrderItemId);
-
 
183969
        oprot.writeFieldEnd();
-
 
183970
      }
183711
      oprot.writeFieldStop();
183971
      oprot.writeFieldStop();
183712
      oprot.writeStructEnd();
183972
      oprot.writeStructEnd();
183713
    }
183973
    }
183714
 
183974
 
183715
    @Override
183975
    @Override
Line 183722... Line 183982...
183722
        sb.append("null");
183982
        sb.append("null");
183723
      } else {
183983
      } else {
183724
        sb.append(this.fkOrderId);
183984
        sb.append(this.fkOrderId);
183725
      }
183985
      }
183726
      first = false;
183986
      first = false;
-
 
183987
      if (!first) sb.append(", ");
-
 
183988
      sb.append("fkOrderItemId:");
-
 
183989
      if (this.fkOrderItemId == null) {
-
 
183990
        sb.append("null");
-
 
183991
      } else {
-
 
183992
        sb.append(this.fkOrderItemId);
-
 
183993
      }
-
 
183994
      first = false;
183727
      sb.append(")");
183995
      sb.append(")");
183728
      return sb.toString();
183996
      return sb.toString();
183729
    }
183997
    }
183730
 
183998
 
183731
    public void validate() throws org.apache.thrift.TException {
183999
    public void validate() throws org.apache.thrift.TException {
Line 184133... Line 184401...
184133
  }
184401
  }
184134
 
184402
 
184135
  public static class getAllFAOrdersList_args implements org.apache.thrift.TBase<getAllFAOrdersList_args, getAllFAOrdersList_args._Fields>, java.io.Serializable, Cloneable   {
184403
  public static class getAllFAOrdersList_args implements org.apache.thrift.TBase<getAllFAOrdersList_args, getAllFAOrdersList_args._Fields>, java.io.Serializable, Cloneable   {
184136
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllFAOrdersList_args");
184404
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllFAOrdersList_args");
184137
 
184405
 
-
 
184406
    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)1);
184138
 
184407
 
-
 
184408
    private String status; // required
184139
 
184409
 
184140
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
184410
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
184141
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
184411
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
184142
;
-
 
-
 
184412
      STATUS((short)1, "status");
184143
 
184413
 
184144
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
184414
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
184145
 
184415
 
184146
      static {
184416
      static {
184147
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
184417
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 184152... Line 184422...
184152
      /**
184422
      /**
184153
       * Find the _Fields constant that matches fieldId, or null if its not found.
184423
       * Find the _Fields constant that matches fieldId, or null if its not found.
184154
       */
184424
       */
184155
      public static _Fields findByThriftId(int fieldId) {
184425
      public static _Fields findByThriftId(int fieldId) {
184156
        switch(fieldId) {
184426
        switch(fieldId) {
-
 
184427
          case 1: // STATUS
-
 
184428
            return STATUS;
184157
          default:
184429
          default:
184158
            return null;
184430
            return null;
184159
        }
184431
        }
184160
      }
184432
      }
184161
 
184433
 
Line 184190... Line 184462...
184190
 
184462
 
184191
      public String getFieldName() {
184463
      public String getFieldName() {
184192
        return _fieldName;
184464
        return _fieldName;
184193
      }
184465
      }
184194
    }
184466
    }
-
 
184467
 
-
 
184468
    // isset id assignments
-
 
184469
 
184195
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
184470
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
184196
    static {
184471
    static {
184197
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
184472
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
184473
      tmpMap.put(_Fields.STATUS, new org.apache.thrift.meta_data.FieldMetaData("status", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
184474
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
184198
      metaDataMap = Collections.unmodifiableMap(tmpMap);
184475
      metaDataMap = Collections.unmodifiableMap(tmpMap);
184199
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllFAOrdersList_args.class, metaDataMap);
184476
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllFAOrdersList_args.class, metaDataMap);
184200
    }
184477
    }
184201
 
184478
 
184202
    public getAllFAOrdersList_args() {
184479
    public getAllFAOrdersList_args() {
184203
    }
184480
    }
184204
 
184481
 
-
 
184482
    public getAllFAOrdersList_args(
-
 
184483
      String status)
-
 
184484
    {
-
 
184485
      this();
-
 
184486
      this.status = status;
-
 
184487
    }
-
 
184488
 
184205
    /**
184489
    /**
184206
     * Performs a deep copy on <i>other</i>.
184490
     * Performs a deep copy on <i>other</i>.
184207
     */
184491
     */
184208
    public getAllFAOrdersList_args(getAllFAOrdersList_args other) {
184492
    public getAllFAOrdersList_args(getAllFAOrdersList_args other) {
-
 
184493
      if (other.isSetStatus()) {
-
 
184494
        this.status = other.status;
-
 
184495
      }
184209
    }
184496
    }
184210
 
184497
 
184211
    public getAllFAOrdersList_args deepCopy() {
184498
    public getAllFAOrdersList_args deepCopy() {
184212
      return new getAllFAOrdersList_args(this);
184499
      return new getAllFAOrdersList_args(this);
184213
    }
184500
    }
184214
 
184501
 
184215
    @Override
184502
    @Override
184216
    public void clear() {
184503
    public void clear() {
-
 
184504
      this.status = null;
-
 
184505
    }
-
 
184506
 
-
 
184507
    public String getStatus() {
-
 
184508
      return this.status;
-
 
184509
    }
-
 
184510
 
-
 
184511
    public void setStatus(String status) {
-
 
184512
      this.status = status;
-
 
184513
    }
-
 
184514
 
-
 
184515
    public void unsetStatus() {
-
 
184516
      this.status = null;
-
 
184517
    }
-
 
184518
 
-
 
184519
    /** Returns true if field status is set (has been assigned a value) and false otherwise */
-
 
184520
    public boolean isSetStatus() {
-
 
184521
      return this.status != null;
-
 
184522
    }
-
 
184523
 
-
 
184524
    public void setStatusIsSet(boolean value) {
-
 
184525
      if (!value) {
-
 
184526
        this.status = null;
-
 
184527
      }
184217
    }
184528
    }
184218
 
184529
 
184219
    public void setFieldValue(_Fields field, Object value) {
184530
    public void setFieldValue(_Fields field, Object value) {
184220
      switch (field) {
184531
      switch (field) {
-
 
184532
      case STATUS:
-
 
184533
        if (value == null) {
-
 
184534
          unsetStatus();
-
 
184535
        } else {
-
 
184536
          setStatus((String)value);
-
 
184537
        }
-
 
184538
        break;
-
 
184539
 
184221
      }
184540
      }
184222
    }
184541
    }
184223
 
184542
 
184224
    public Object getFieldValue(_Fields field) {
184543
    public Object getFieldValue(_Fields field) {
184225
      switch (field) {
184544
      switch (field) {
-
 
184545
      case STATUS:
-
 
184546
        return getStatus();
-
 
184547
 
184226
      }
184548
      }
184227
      throw new IllegalStateException();
184549
      throw new IllegalStateException();
184228
    }
184550
    }
184229
 
184551
 
184230
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
184552
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 184232... Line 184554...
184232
      if (field == null) {
184554
      if (field == null) {
184233
        throw new IllegalArgumentException();
184555
        throw new IllegalArgumentException();
184234
      }
184556
      }
184235
 
184557
 
184236
      switch (field) {
184558
      switch (field) {
-
 
184559
      case STATUS:
-
 
184560
        return isSetStatus();
184237
      }
184561
      }
184238
      throw new IllegalStateException();
184562
      throw new IllegalStateException();
184239
    }
184563
    }
184240
 
184564
 
184241
    @Override
184565
    @Override
Line 184249... Line 184573...
184249
 
184573
 
184250
    public boolean equals(getAllFAOrdersList_args that) {
184574
    public boolean equals(getAllFAOrdersList_args that) {
184251
      if (that == null)
184575
      if (that == null)
184252
        return false;
184576
        return false;
184253
 
184577
 
-
 
184578
      boolean this_present_status = true && this.isSetStatus();
-
 
184579
      boolean that_present_status = true && that.isSetStatus();
-
 
184580
      if (this_present_status || that_present_status) {
-
 
184581
        if (!(this_present_status && that_present_status))
-
 
184582
          return false;
-
 
184583
        if (!this.status.equals(that.status))
-
 
184584
          return false;
-
 
184585
      }
-
 
184586
 
184254
      return true;
184587
      return true;
184255
    }
184588
    }
184256
 
184589
 
184257
    @Override
184590
    @Override
184258
    public int hashCode() {
184591
    public int hashCode() {
Line 184265... Line 184598...
184265
      }
184598
      }
184266
 
184599
 
184267
      int lastComparison = 0;
184600
      int lastComparison = 0;
184268
      getAllFAOrdersList_args typedOther = (getAllFAOrdersList_args)other;
184601
      getAllFAOrdersList_args typedOther = (getAllFAOrdersList_args)other;
184269
 
184602
 
-
 
184603
      lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
-
 
184604
      if (lastComparison != 0) {
-
 
184605
        return lastComparison;
-
 
184606
      }
-
 
184607
      if (isSetStatus()) {
-
 
184608
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
-
 
184609
        if (lastComparison != 0) {
-
 
184610
          return lastComparison;
-
 
184611
        }
-
 
184612
      }
184270
      return 0;
184613
      return 0;
184271
    }
184614
    }
184272
 
184615
 
184273
    public _Fields fieldForId(int fieldId) {
184616
    public _Fields fieldForId(int fieldId) {
184274
      return _Fields.findByThriftId(fieldId);
184617
      return _Fields.findByThriftId(fieldId);
Line 184282... Line 184625...
184282
        field = iprot.readFieldBegin();
184625
        field = iprot.readFieldBegin();
184283
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
184626
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
184284
          break;
184627
          break;
184285
        }
184628
        }
184286
        switch (field.id) {
184629
        switch (field.id) {
-
 
184630
          case 1: // STATUS
-
 
184631
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
184632
              this.status = iprot.readString();
-
 
184633
            } else { 
-
 
184634
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
184635
            }
-
 
184636
            break;
184287
          default:
184637
          default:
184288
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
184638
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
184289
        }
184639
        }
184290
        iprot.readFieldEnd();
184640
        iprot.readFieldEnd();
184291
      }
184641
      }
Line 184295... Line 184645...
184295
 
184645
 
184296
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
184646
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
184297
      validate();
184647
      validate();
184298
 
184648
 
184299
      oprot.writeStructBegin(STRUCT_DESC);
184649
      oprot.writeStructBegin(STRUCT_DESC);
-
 
184650
      if (this.status != null) {
-
 
184651
        oprot.writeFieldBegin(STATUS_FIELD_DESC);
-
 
184652
        oprot.writeString(this.status);
-
 
184653
        oprot.writeFieldEnd();
-
 
184654
      }
184300
      oprot.writeFieldStop();
184655
      oprot.writeFieldStop();
184301
      oprot.writeStructEnd();
184656
      oprot.writeStructEnd();
184302
    }
184657
    }
184303
 
184658
 
184304
    @Override
184659
    @Override
184305
    public String toString() {
184660
    public String toString() {
184306
      StringBuilder sb = new StringBuilder("getAllFAOrdersList_args(");
184661
      StringBuilder sb = new StringBuilder("getAllFAOrdersList_args(");
184307
      boolean first = true;
184662
      boolean first = true;
184308
 
184663
 
-
 
184664
      sb.append("status:");
-
 
184665
      if (this.status == null) {
-
 
184666
        sb.append("null");
-
 
184667
      } else {
-
 
184668
        sb.append(this.status);
-
 
184669
      }
-
 
184670
      first = false;
184309
      sb.append(")");
184671
      sb.append(")");
184310
      return sb.toString();
184672
      return sb.toString();
184311
    }
184673
    }
184312
 
184674
 
184313
    public void validate() throws org.apache.thrift.TException {
184675
    public void validate() throws org.apache.thrift.TException {
Line 184752... Line 185114...
184752
  }
185114
  }
184753
 
185115
 
184754
  public static class addUpdateFaOrdersBulk_args implements org.apache.thrift.TBase<addUpdateFaOrdersBulk_args, addUpdateFaOrdersBulk_args._Fields>, java.io.Serializable, Cloneable   {
185116
  public static class addUpdateFaOrdersBulk_args implements org.apache.thrift.TBase<addUpdateFaOrdersBulk_args, addUpdateFaOrdersBulk_args._Fields>, java.io.Serializable, Cloneable   {
184755
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addUpdateFaOrdersBulk_args");
185117
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addUpdateFaOrdersBulk_args");
184756
 
185118
 
184757
    private static final org.apache.thrift.protocol.TField FA_ORDERS_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("faOrdersList", org.apache.thrift.protocol.TType.LIST, (short)-1);
185119
    private static final org.apache.thrift.protocol.TField FA_ORDERS_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("faOrdersList", org.apache.thrift.protocol.TType.LIST, (short)1);
184758
 
185120
 
184759
    private List<FlipkartAdvantageOrder> faOrdersList; // required
185121
    private List<FlipkartAdvantageOrder> faOrdersList; // required
184760
 
185122
 
184761
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
185123
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
184762
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
185124
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
184763
      FA_ORDERS_LIST((short)-1, "faOrdersList");
185125
      FA_ORDERS_LIST((short)1, "faOrdersList");
184764
 
185126
 
184765
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
185127
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
184766
 
185128
 
184767
      static {
185129
      static {
184768
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
185130
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 184773... Line 185135...
184773
      /**
185135
      /**
184774
       * Find the _Fields constant that matches fieldId, or null if its not found.
185136
       * Find the _Fields constant that matches fieldId, or null if its not found.
184775
       */
185137
       */
184776
      public static _Fields findByThriftId(int fieldId) {
185138
      public static _Fields findByThriftId(int fieldId) {
184777
        switch(fieldId) {
185139
        switch(fieldId) {
184778
          case -1: // FA_ORDERS_LIST
185140
          case 1: // FA_ORDERS_LIST
184779
            return FA_ORDERS_LIST;
185141
            return FA_ORDERS_LIST;
184780
          default:
185142
          default:
184781
            return null;
185143
            return null;
184782
        }
185144
        }
184783
      }
185145
      }
Line 184996... Line 185358...
184996
        field = iprot.readFieldBegin();
185358
        field = iprot.readFieldBegin();
184997
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
185359
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
184998
          break;
185360
          break;
184999
        }
185361
        }
185000
        switch (field.id) {
185362
        switch (field.id) {
185001
          case -1: // FA_ORDERS_LIST
185363
          case 1: // FA_ORDERS_LIST
185002
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
185364
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
185003
              {
185365
              {
185004
                org.apache.thrift.protocol.TList _list585 = iprot.readListBegin();
185366
                org.apache.thrift.protocol.TList _list585 = iprot.readListBegin();
185005
                this.faOrdersList = new ArrayList<FlipkartAdvantageOrder>(_list585.size);
185367
                this.faOrdersList = new ArrayList<FlipkartAdvantageOrder>(_list585.size);
185006
                for (int _i586 = 0; _i586 < _list585.size; ++_i586)
185368
                for (int _i586 = 0; _i586 < _list585.size; ++_i586)
Line 185347... Line 185709...
185347
      sb.append("ex:");
185709
      sb.append("ex:");
185348
      if (this.ex == null) {
185710
      if (this.ex == null) {
185349
        sb.append("null");
185711
        sb.append("null");
185350
      } else {
185712
      } else {
185351
        sb.append(this.ex);
185713
        sb.append(this.ex);
-
 
185714
      }
-
 
185715
      first = false;
-
 
185716
      sb.append(")");
-
 
185717
      return sb.toString();
-
 
185718
    }
-
 
185719
 
-
 
185720
    public void validate() throws org.apache.thrift.TException {
-
 
185721
      // check for required fields
-
 
185722
    }
-
 
185723
 
-
 
185724
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
185725
      try {
-
 
185726
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
185727
      } catch (org.apache.thrift.TException te) {
-
 
185728
        throw new java.io.IOException(te);
-
 
185729
      }
-
 
185730
    }
-
 
185731
 
-
 
185732
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
185733
      try {
-
 
185734
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
185735
      } catch (org.apache.thrift.TException te) {
-
 
185736
        throw new java.io.IOException(te);
-
 
185737
      }
-
 
185738
    }
-
 
185739
 
-
 
185740
  }
-
 
185741
 
-
 
185742
  public static class addInvoiceDetailsToOrders_args implements org.apache.thrift.TBase<addInvoiceDetailsToOrders_args, addInvoiceDetailsToOrders_args._Fields>, java.io.Serializable, Cloneable   {
-
 
185743
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addInvoiceDetailsToOrders_args");
-
 
185744
 
-
 
185745
    private static final org.apache.thrift.protocol.TField TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
185746
    private static final org.apache.thrift.protocol.TField CUSTOMER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("customerId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
185747
 
-
 
185748
    private long transactionId; // required
-
 
185749
    private long customerId; // required
-
 
185750
 
-
 
185751
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
185752
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
185753
      TRANSACTION_ID((short)1, "transactionId"),
-
 
185754
      CUSTOMER_ID((short)2, "customerId");
-
 
185755
 
-
 
185756
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
185757
 
-
 
185758
      static {
-
 
185759
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
185760
          byName.put(field.getFieldName(), field);
-
 
185761
        }
-
 
185762
      }
-
 
185763
 
-
 
185764
      /**
-
 
185765
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
185766
       */
-
 
185767
      public static _Fields findByThriftId(int fieldId) {
-
 
185768
        switch(fieldId) {
-
 
185769
          case 1: // TRANSACTION_ID
-
 
185770
            return TRANSACTION_ID;
-
 
185771
          case 2: // CUSTOMER_ID
-
 
185772
            return CUSTOMER_ID;
-
 
185773
          default:
-
 
185774
            return null;
-
 
185775
        }
-
 
185776
      }
-
 
185777
 
-
 
185778
      /**
-
 
185779
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
185780
       * if it is not found.
-
 
185781
       */
-
 
185782
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
185783
        _Fields fields = findByThriftId(fieldId);
-
 
185784
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
185785
        return fields;
-
 
185786
      }
-
 
185787
 
-
 
185788
      /**
-
 
185789
       * Find the _Fields constant that matches name, or null if its not found.
-
 
185790
       */
-
 
185791
      public static _Fields findByName(String name) {
-
 
185792
        return byName.get(name);
-
 
185793
      }
-
 
185794
 
-
 
185795
      private final short _thriftId;
-
 
185796
      private final String _fieldName;
-
 
185797
 
-
 
185798
      _Fields(short thriftId, String fieldName) {
-
 
185799
        _thriftId = thriftId;
-
 
185800
        _fieldName = fieldName;
-
 
185801
      }
-
 
185802
 
-
 
185803
      public short getThriftFieldId() {
-
 
185804
        return _thriftId;
-
 
185805
      }
-
 
185806
 
-
 
185807
      public String getFieldName() {
-
 
185808
        return _fieldName;
-
 
185809
      }
-
 
185810
    }
-
 
185811
 
-
 
185812
    // isset id assignments
-
 
185813
    private static final int __TRANSACTIONID_ISSET_ID = 0;
-
 
185814
    private static final int __CUSTOMERID_ISSET_ID = 1;
-
 
185815
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
185816
 
-
 
185817
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
185818
    static {
-
 
185819
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
185820
      tmpMap.put(_Fields.TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("transactionId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
185821
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
185822
      tmpMap.put(_Fields.CUSTOMER_ID, new org.apache.thrift.meta_data.FieldMetaData("customerId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
185823
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
185824
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
185825
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addInvoiceDetailsToOrders_args.class, metaDataMap);
-
 
185826
    }
-
 
185827
 
-
 
185828
    public addInvoiceDetailsToOrders_args() {
-
 
185829
    }
-
 
185830
 
-
 
185831
    public addInvoiceDetailsToOrders_args(
-
 
185832
      long transactionId,
-
 
185833
      long customerId)
-
 
185834
    {
-
 
185835
      this();
-
 
185836
      this.transactionId = transactionId;
-
 
185837
      setTransactionIdIsSet(true);
-
 
185838
      this.customerId = customerId;
-
 
185839
      setCustomerIdIsSet(true);
-
 
185840
    }
-
 
185841
 
-
 
185842
    /**
-
 
185843
     * Performs a deep copy on <i>other</i>.
-
 
185844
     */
-
 
185845
    public addInvoiceDetailsToOrders_args(addInvoiceDetailsToOrders_args other) {
-
 
185846
      __isset_bit_vector.clear();
-
 
185847
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
185848
      this.transactionId = other.transactionId;
-
 
185849
      this.customerId = other.customerId;
-
 
185850
    }
-
 
185851
 
-
 
185852
    public addInvoiceDetailsToOrders_args deepCopy() {
-
 
185853
      return new addInvoiceDetailsToOrders_args(this);
-
 
185854
    }
-
 
185855
 
-
 
185856
    @Override
-
 
185857
    public void clear() {
-
 
185858
      setTransactionIdIsSet(false);
-
 
185859
      this.transactionId = 0;
-
 
185860
      setCustomerIdIsSet(false);
-
 
185861
      this.customerId = 0;
-
 
185862
    }
-
 
185863
 
-
 
185864
    public long getTransactionId() {
-
 
185865
      return this.transactionId;
-
 
185866
    }
-
 
185867
 
-
 
185868
    public void setTransactionId(long transactionId) {
-
 
185869
      this.transactionId = transactionId;
-
 
185870
      setTransactionIdIsSet(true);
-
 
185871
    }
-
 
185872
 
-
 
185873
    public void unsetTransactionId() {
-
 
185874
      __isset_bit_vector.clear(__TRANSACTIONID_ISSET_ID);
-
 
185875
    }
-
 
185876
 
-
 
185877
    /** Returns true if field transactionId is set (has been assigned a value) and false otherwise */
-
 
185878
    public boolean isSetTransactionId() {
-
 
185879
      return __isset_bit_vector.get(__TRANSACTIONID_ISSET_ID);
-
 
185880
    }
-
 
185881
 
-
 
185882
    public void setTransactionIdIsSet(boolean value) {
-
 
185883
      __isset_bit_vector.set(__TRANSACTIONID_ISSET_ID, value);
-
 
185884
    }
-
 
185885
 
-
 
185886
    public long getCustomerId() {
-
 
185887
      return this.customerId;
-
 
185888
    }
-
 
185889
 
-
 
185890
    public void setCustomerId(long customerId) {
-
 
185891
      this.customerId = customerId;
-
 
185892
      setCustomerIdIsSet(true);
-
 
185893
    }
-
 
185894
 
-
 
185895
    public void unsetCustomerId() {
-
 
185896
      __isset_bit_vector.clear(__CUSTOMERID_ISSET_ID);
-
 
185897
    }
-
 
185898
 
-
 
185899
    /** Returns true if field customerId is set (has been assigned a value) and false otherwise */
-
 
185900
    public boolean isSetCustomerId() {
-
 
185901
      return __isset_bit_vector.get(__CUSTOMERID_ISSET_ID);
-
 
185902
    }
-
 
185903
 
-
 
185904
    public void setCustomerIdIsSet(boolean value) {
-
 
185905
      __isset_bit_vector.set(__CUSTOMERID_ISSET_ID, value);
-
 
185906
    }
-
 
185907
 
-
 
185908
    public void setFieldValue(_Fields field, Object value) {
-
 
185909
      switch (field) {
-
 
185910
      case TRANSACTION_ID:
-
 
185911
        if (value == null) {
-
 
185912
          unsetTransactionId();
-
 
185913
        } else {
-
 
185914
          setTransactionId((Long)value);
-
 
185915
        }
-
 
185916
        break;
-
 
185917
 
-
 
185918
      case CUSTOMER_ID:
-
 
185919
        if (value == null) {
-
 
185920
          unsetCustomerId();
-
 
185921
        } else {
-
 
185922
          setCustomerId((Long)value);
-
 
185923
        }
-
 
185924
        break;
-
 
185925
 
-
 
185926
      }
-
 
185927
    }
-
 
185928
 
-
 
185929
    public Object getFieldValue(_Fields field) {
-
 
185930
      switch (field) {
-
 
185931
      case TRANSACTION_ID:
-
 
185932
        return Long.valueOf(getTransactionId());
-
 
185933
 
-
 
185934
      case CUSTOMER_ID:
-
 
185935
        return Long.valueOf(getCustomerId());
-
 
185936
 
-
 
185937
      }
-
 
185938
      throw new IllegalStateException();
-
 
185939
    }
-
 
185940
 
-
 
185941
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
185942
    public boolean isSet(_Fields field) {
-
 
185943
      if (field == null) {
-
 
185944
        throw new IllegalArgumentException();
-
 
185945
      }
-
 
185946
 
-
 
185947
      switch (field) {
-
 
185948
      case TRANSACTION_ID:
-
 
185949
        return isSetTransactionId();
-
 
185950
      case CUSTOMER_ID:
-
 
185951
        return isSetCustomerId();
-
 
185952
      }
-
 
185953
      throw new IllegalStateException();
-
 
185954
    }
-
 
185955
 
-
 
185956
    @Override
-
 
185957
    public boolean equals(Object that) {
-
 
185958
      if (that == null)
-
 
185959
        return false;
-
 
185960
      if (that instanceof addInvoiceDetailsToOrders_args)
-
 
185961
        return this.equals((addInvoiceDetailsToOrders_args)that);
-
 
185962
      return false;
-
 
185963
    }
-
 
185964
 
-
 
185965
    public boolean equals(addInvoiceDetailsToOrders_args that) {
-
 
185966
      if (that == null)
-
 
185967
        return false;
-
 
185968
 
-
 
185969
      boolean this_present_transactionId = true;
-
 
185970
      boolean that_present_transactionId = true;
-
 
185971
      if (this_present_transactionId || that_present_transactionId) {
-
 
185972
        if (!(this_present_transactionId && that_present_transactionId))
-
 
185973
          return false;
-
 
185974
        if (this.transactionId != that.transactionId)
-
 
185975
          return false;
-
 
185976
      }
-
 
185977
 
-
 
185978
      boolean this_present_customerId = true;
-
 
185979
      boolean that_present_customerId = true;
-
 
185980
      if (this_present_customerId || that_present_customerId) {
-
 
185981
        if (!(this_present_customerId && that_present_customerId))
-
 
185982
          return false;
-
 
185983
        if (this.customerId != that.customerId)
-
 
185984
          return false;
-
 
185985
      }
-
 
185986
 
-
 
185987
      return true;
-
 
185988
    }
-
 
185989
 
-
 
185990
    @Override
-
 
185991
    public int hashCode() {
-
 
185992
      return 0;
-
 
185993
    }
-
 
185994
 
-
 
185995
    public int compareTo(addInvoiceDetailsToOrders_args other) {
-
 
185996
      if (!getClass().equals(other.getClass())) {
-
 
185997
        return getClass().getName().compareTo(other.getClass().getName());
-
 
185998
      }
-
 
185999
 
-
 
186000
      int lastComparison = 0;
-
 
186001
      addInvoiceDetailsToOrders_args typedOther = (addInvoiceDetailsToOrders_args)other;
-
 
186002
 
-
 
186003
      lastComparison = Boolean.valueOf(isSetTransactionId()).compareTo(typedOther.isSetTransactionId());
-
 
186004
      if (lastComparison != 0) {
-
 
186005
        return lastComparison;
-
 
186006
      }
-
 
186007
      if (isSetTransactionId()) {
-
 
186008
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transactionId, typedOther.transactionId);
-
 
186009
        if (lastComparison != 0) {
-
 
186010
          return lastComparison;
-
 
186011
        }
-
 
186012
      }
-
 
186013
      lastComparison = Boolean.valueOf(isSetCustomerId()).compareTo(typedOther.isSetCustomerId());
-
 
186014
      if (lastComparison != 0) {
-
 
186015
        return lastComparison;
-
 
186016
      }
-
 
186017
      if (isSetCustomerId()) {
-
 
186018
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerId, typedOther.customerId);
-
 
186019
        if (lastComparison != 0) {
-
 
186020
          return lastComparison;
-
 
186021
        }
-
 
186022
      }
-
 
186023
      return 0;
-
 
186024
    }
-
 
186025
 
-
 
186026
    public _Fields fieldForId(int fieldId) {
-
 
186027
      return _Fields.findByThriftId(fieldId);
-
 
186028
    }
-
 
186029
 
-
 
186030
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
186031
      org.apache.thrift.protocol.TField field;
-
 
186032
      iprot.readStructBegin();
-
 
186033
      while (true)
-
 
186034
      {
-
 
186035
        field = iprot.readFieldBegin();
-
 
186036
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
186037
          break;
-
 
186038
        }
-
 
186039
        switch (field.id) {
-
 
186040
          case 1: // TRANSACTION_ID
-
 
186041
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
186042
              this.transactionId = iprot.readI64();
-
 
186043
              setTransactionIdIsSet(true);
-
 
186044
            } else { 
-
 
186045
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
186046
            }
-
 
186047
            break;
-
 
186048
          case 2: // CUSTOMER_ID
-
 
186049
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
186050
              this.customerId = iprot.readI64();
-
 
186051
              setCustomerIdIsSet(true);
-
 
186052
            } else { 
-
 
186053
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
186054
            }
-
 
186055
            break;
-
 
186056
          default:
-
 
186057
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
186058
        }
-
 
186059
        iprot.readFieldEnd();
-
 
186060
      }
-
 
186061
      iprot.readStructEnd();
-
 
186062
      validate();
-
 
186063
    }
-
 
186064
 
-
 
186065
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
186066
      validate();
-
 
186067
 
-
 
186068
      oprot.writeStructBegin(STRUCT_DESC);
-
 
186069
      oprot.writeFieldBegin(TRANSACTION_ID_FIELD_DESC);
-
 
186070
      oprot.writeI64(this.transactionId);
-
 
186071
      oprot.writeFieldEnd();
-
 
186072
      oprot.writeFieldBegin(CUSTOMER_ID_FIELD_DESC);
-
 
186073
      oprot.writeI64(this.customerId);
-
 
186074
      oprot.writeFieldEnd();
-
 
186075
      oprot.writeFieldStop();
-
 
186076
      oprot.writeStructEnd();
-
 
186077
    }
-
 
186078
 
-
 
186079
    @Override
-
 
186080
    public String toString() {
-
 
186081
      StringBuilder sb = new StringBuilder("addInvoiceDetailsToOrders_args(");
-
 
186082
      boolean first = true;
-
 
186083
 
-
 
186084
      sb.append("transactionId:");
-
 
186085
      sb.append(this.transactionId);
-
 
186086
      first = false;
-
 
186087
      if (!first) sb.append(", ");
-
 
186088
      sb.append("customerId:");
-
 
186089
      sb.append(this.customerId);
-
 
186090
      first = false;
-
 
186091
      sb.append(")");
-
 
186092
      return sb.toString();
-
 
186093
    }
-
 
186094
 
-
 
186095
    public void validate() throws org.apache.thrift.TException {
-
 
186096
      // check for required fields
-
 
186097
    }
-
 
186098
 
-
 
186099
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
186100
      try {
-
 
186101
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
186102
      } catch (org.apache.thrift.TException te) {
-
 
186103
        throw new java.io.IOException(te);
-
 
186104
      }
-
 
186105
    }
-
 
186106
 
-
 
186107
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
186108
      try {
-
 
186109
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
186110
        __isset_bit_vector = new BitSet(1);
-
 
186111
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
186112
      } catch (org.apache.thrift.TException te) {
-
 
186113
        throw new java.io.IOException(te);
-
 
186114
      }
-
 
186115
    }
-
 
186116
 
-
 
186117
  }
-
 
186118
 
-
 
186119
  public static class addInvoiceDetailsToOrders_result implements org.apache.thrift.TBase<addInvoiceDetailsToOrders_result, addInvoiceDetailsToOrders_result._Fields>, java.io.Serializable, Cloneable   {
-
 
186120
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addInvoiceDetailsToOrders_result");
-
 
186121
 
-
 
186122
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
186123
 
-
 
186124
    private TransactionServiceException ex; // required
-
 
186125
 
-
 
186126
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
186127
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
186128
      EX((short)1, "ex");
-
 
186129
 
-
 
186130
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
186131
 
-
 
186132
      static {
-
 
186133
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
186134
          byName.put(field.getFieldName(), field);
-
 
186135
        }
-
 
186136
      }
-
 
186137
 
-
 
186138
      /**
-
 
186139
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
186140
       */
-
 
186141
      public static _Fields findByThriftId(int fieldId) {
-
 
186142
        switch(fieldId) {
-
 
186143
          case 1: // EX
-
 
186144
            return EX;
-
 
186145
          default:
-
 
186146
            return null;
-
 
186147
        }
-
 
186148
      }
-
 
186149
 
-
 
186150
      /**
-
 
186151
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
186152
       * if it is not found.
-
 
186153
       */
-
 
186154
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
186155
        _Fields fields = findByThriftId(fieldId);
-
 
186156
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
186157
        return fields;
-
 
186158
      }
-
 
186159
 
-
 
186160
      /**
-
 
186161
       * Find the _Fields constant that matches name, or null if its not found.
-
 
186162
       */
-
 
186163
      public static _Fields findByName(String name) {
-
 
186164
        return byName.get(name);
-
 
186165
      }
-
 
186166
 
-
 
186167
      private final short _thriftId;
-
 
186168
      private final String _fieldName;
-
 
186169
 
-
 
186170
      _Fields(short thriftId, String fieldName) {
-
 
186171
        _thriftId = thriftId;
-
 
186172
        _fieldName = fieldName;
-
 
186173
      }
-
 
186174
 
-
 
186175
      public short getThriftFieldId() {
-
 
186176
        return _thriftId;
-
 
186177
      }
-
 
186178
 
-
 
186179
      public String getFieldName() {
-
 
186180
        return _fieldName;
-
 
186181
      }
-
 
186182
    }
-
 
186183
 
-
 
186184
    // isset id assignments
-
 
186185
 
-
 
186186
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
186187
    static {
-
 
186188
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
186189
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
186190
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
186191
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
186192
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addInvoiceDetailsToOrders_result.class, metaDataMap);
-
 
186193
    }
-
 
186194
 
-
 
186195
    public addInvoiceDetailsToOrders_result() {
-
 
186196
    }
-
 
186197
 
-
 
186198
    public addInvoiceDetailsToOrders_result(
-
 
186199
      TransactionServiceException ex)
-
 
186200
    {
-
 
186201
      this();
-
 
186202
      this.ex = ex;
-
 
186203
    }
-
 
186204
 
-
 
186205
    /**
-
 
186206
     * Performs a deep copy on <i>other</i>.
-
 
186207
     */
-
 
186208
    public addInvoiceDetailsToOrders_result(addInvoiceDetailsToOrders_result other) {
-
 
186209
      if (other.isSetEx()) {
-
 
186210
        this.ex = new TransactionServiceException(other.ex);
-
 
186211
      }
-
 
186212
    }
-
 
186213
 
-
 
186214
    public addInvoiceDetailsToOrders_result deepCopy() {
-
 
186215
      return new addInvoiceDetailsToOrders_result(this);
-
 
186216
    }
-
 
186217
 
-
 
186218
    @Override
-
 
186219
    public void clear() {
-
 
186220
      this.ex = null;
-
 
186221
    }
-
 
186222
 
-
 
186223
    public TransactionServiceException getEx() {
-
 
186224
      return this.ex;
-
 
186225
    }
-
 
186226
 
-
 
186227
    public void setEx(TransactionServiceException ex) {
-
 
186228
      this.ex = ex;
-
 
186229
    }
-
 
186230
 
-
 
186231
    public void unsetEx() {
-
 
186232
      this.ex = null;
-
 
186233
    }
-
 
186234
 
-
 
186235
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
186236
    public boolean isSetEx() {
-
 
186237
      return this.ex != null;
-
 
186238
    }
-
 
186239
 
-
 
186240
    public void setExIsSet(boolean value) {
-
 
186241
      if (!value) {
-
 
186242
        this.ex = null;
-
 
186243
      }
-
 
186244
    }
-
 
186245
 
-
 
186246
    public void setFieldValue(_Fields field, Object value) {
-
 
186247
      switch (field) {
-
 
186248
      case EX:
-
 
186249
        if (value == null) {
-
 
186250
          unsetEx();
-
 
186251
        } else {
-
 
186252
          setEx((TransactionServiceException)value);
-
 
186253
        }
-
 
186254
        break;
-
 
186255
 
-
 
186256
      }
-
 
186257
    }
-
 
186258
 
-
 
186259
    public Object getFieldValue(_Fields field) {
-
 
186260
      switch (field) {
-
 
186261
      case EX:
-
 
186262
        return getEx();
-
 
186263
 
-
 
186264
      }
-
 
186265
      throw new IllegalStateException();
-
 
186266
    }
-
 
186267
 
-
 
186268
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
186269
    public boolean isSet(_Fields field) {
-
 
186270
      if (field == null) {
-
 
186271
        throw new IllegalArgumentException();
-
 
186272
      }
-
 
186273
 
-
 
186274
      switch (field) {
-
 
186275
      case EX:
-
 
186276
        return isSetEx();
-
 
186277
      }
-
 
186278
      throw new IllegalStateException();
-
 
186279
    }
-
 
186280
 
-
 
186281
    @Override
-
 
186282
    public boolean equals(Object that) {
-
 
186283
      if (that == null)
-
 
186284
        return false;
-
 
186285
      if (that instanceof addInvoiceDetailsToOrders_result)
-
 
186286
        return this.equals((addInvoiceDetailsToOrders_result)that);
-
 
186287
      return false;
-
 
186288
    }
-
 
186289
 
-
 
186290
    public boolean equals(addInvoiceDetailsToOrders_result that) {
-
 
186291
      if (that == null)
-
 
186292
        return false;
-
 
186293
 
-
 
186294
      boolean this_present_ex = true && this.isSetEx();
-
 
186295
      boolean that_present_ex = true && that.isSetEx();
-
 
186296
      if (this_present_ex || that_present_ex) {
-
 
186297
        if (!(this_present_ex && that_present_ex))
-
 
186298
          return false;
-
 
186299
        if (!this.ex.equals(that.ex))
-
 
186300
          return false;
-
 
186301
      }
-
 
186302
 
-
 
186303
      return true;
-
 
186304
    }
-
 
186305
 
-
 
186306
    @Override
-
 
186307
    public int hashCode() {
-
 
186308
      return 0;
-
 
186309
    }
-
 
186310
 
-
 
186311
    public int compareTo(addInvoiceDetailsToOrders_result other) {
-
 
186312
      if (!getClass().equals(other.getClass())) {
-
 
186313
        return getClass().getName().compareTo(other.getClass().getName());
-
 
186314
      }
-
 
186315
 
-
 
186316
      int lastComparison = 0;
-
 
186317
      addInvoiceDetailsToOrders_result typedOther = (addInvoiceDetailsToOrders_result)other;
-
 
186318
 
-
 
186319
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
186320
      if (lastComparison != 0) {
-
 
186321
        return lastComparison;
-
 
186322
      }
-
 
186323
      if (isSetEx()) {
-
 
186324
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
186325
        if (lastComparison != 0) {
-
 
186326
          return lastComparison;
-
 
186327
        }
-
 
186328
      }
-
 
186329
      return 0;
-
 
186330
    }
-
 
186331
 
-
 
186332
    public _Fields fieldForId(int fieldId) {
-
 
186333
      return _Fields.findByThriftId(fieldId);
-
 
186334
    }
-
 
186335
 
-
 
186336
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
186337
      org.apache.thrift.protocol.TField field;
-
 
186338
      iprot.readStructBegin();
-
 
186339
      while (true)
-
 
186340
      {
-
 
186341
        field = iprot.readFieldBegin();
-
 
186342
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
186343
          break;
-
 
186344
        }
-
 
186345
        switch (field.id) {
-
 
186346
          case 1: // EX
-
 
186347
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
186348
              this.ex = new TransactionServiceException();
-
 
186349
              this.ex.read(iprot);
-
 
186350
            } else { 
-
 
186351
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
186352
            }
-
 
186353
            break;
-
 
186354
          default:
-
 
186355
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
186356
        }
-
 
186357
        iprot.readFieldEnd();
-
 
186358
      }
-
 
186359
      iprot.readStructEnd();
-
 
186360
      validate();
-
 
186361
    }
-
 
186362
 
-
 
186363
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
186364
      oprot.writeStructBegin(STRUCT_DESC);
-
 
186365
 
-
 
186366
      if (this.isSetEx()) {
-
 
186367
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
186368
        this.ex.write(oprot);
-
 
186369
        oprot.writeFieldEnd();
-
 
186370
      }
-
 
186371
      oprot.writeFieldStop();
-
 
186372
      oprot.writeStructEnd();
-
 
186373
    }
-
 
186374
 
-
 
186375
    @Override
-
 
186376
    public String toString() {
-
 
186377
      StringBuilder sb = new StringBuilder("addInvoiceDetailsToOrders_result(");
-
 
186378
      boolean first = true;
-
 
186379
 
-
 
186380
      sb.append("ex:");
-
 
186381
      if (this.ex == null) {
-
 
186382
        sb.append("null");
-
 
186383
      } else {
-
 
186384
        sb.append(this.ex);
-
 
186385
      }
-
 
186386
      first = false;
-
 
186387
      sb.append(")");
-
 
186388
      return sb.toString();
-
 
186389
    }
-
 
186390
 
-
 
186391
    public void validate() throws org.apache.thrift.TException {
-
 
186392
      // check for required fields
-
 
186393
    }
-
 
186394
 
-
 
186395
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
186396
      try {
-
 
186397
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
186398
      } catch (org.apache.thrift.TException te) {
-
 
186399
        throw new java.io.IOException(te);
-
 
186400
      }
-
 
186401
    }
-
 
186402
 
-
 
186403
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
186404
      try {
-
 
186405
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
186406
      } catch (org.apache.thrift.TException te) {
-
 
186407
        throw new java.io.IOException(te);
-
 
186408
      }
-
 
186409
    }
-
 
186410
 
-
 
186411
  }
-
 
186412
 
-
 
186413
  public static class flipkartFaOrderExists_args implements org.apache.thrift.TBase<flipkartFaOrderExists_args, flipkartFaOrderExists_args._Fields>, java.io.Serializable, Cloneable   {
-
 
186414
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("flipkartFaOrderExists_args");
-
 
186415
 
-
 
186416
    private static final org.apache.thrift.protocol.TField FK_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("fkOrderId", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
186417
    private static final org.apache.thrift.protocol.TField FK_ORDER_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("fkOrderItemId", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
186418
 
-
 
186419
    private String fkOrderId; // required
-
 
186420
    private String fkOrderItemId; // required
-
 
186421
 
-
 
186422
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
186423
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
186424
      FK_ORDER_ID((short)1, "fkOrderId"),
-
 
186425
      FK_ORDER_ITEM_ID((short)2, "fkOrderItemId");
-
 
186426
 
-
 
186427
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
186428
 
-
 
186429
      static {
-
 
186430
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
186431
          byName.put(field.getFieldName(), field);
-
 
186432
        }
-
 
186433
      }
-
 
186434
 
-
 
186435
      /**
-
 
186436
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
186437
       */
-
 
186438
      public static _Fields findByThriftId(int fieldId) {
-
 
186439
        switch(fieldId) {
-
 
186440
          case 1: // FK_ORDER_ID
-
 
186441
            return FK_ORDER_ID;
-
 
186442
          case 2: // FK_ORDER_ITEM_ID
-
 
186443
            return FK_ORDER_ITEM_ID;
-
 
186444
          default:
-
 
186445
            return null;
-
 
186446
        }
-
 
186447
      }
-
 
186448
 
-
 
186449
      /**
-
 
186450
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
186451
       * if it is not found.
-
 
186452
       */
-
 
186453
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
186454
        _Fields fields = findByThriftId(fieldId);
-
 
186455
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
186456
        return fields;
-
 
186457
      }
-
 
186458
 
-
 
186459
      /**
-
 
186460
       * Find the _Fields constant that matches name, or null if its not found.
-
 
186461
       */
-
 
186462
      public static _Fields findByName(String name) {
-
 
186463
        return byName.get(name);
-
 
186464
      }
-
 
186465
 
-
 
186466
      private final short _thriftId;
-
 
186467
      private final String _fieldName;
-
 
186468
 
-
 
186469
      _Fields(short thriftId, String fieldName) {
-
 
186470
        _thriftId = thriftId;
-
 
186471
        _fieldName = fieldName;
-
 
186472
      }
-
 
186473
 
-
 
186474
      public short getThriftFieldId() {
-
 
186475
        return _thriftId;
-
 
186476
      }
-
 
186477
 
-
 
186478
      public String getFieldName() {
-
 
186479
        return _fieldName;
-
 
186480
      }
-
 
186481
    }
-
 
186482
 
-
 
186483
    // isset id assignments
-
 
186484
 
-
 
186485
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
186486
    static {
-
 
186487
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
186488
      tmpMap.put(_Fields.FK_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("fkOrderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
186489
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
186490
      tmpMap.put(_Fields.FK_ORDER_ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("fkOrderItemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
186491
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
186492
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
186493
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(flipkartFaOrderExists_args.class, metaDataMap);
-
 
186494
    }
-
 
186495
 
-
 
186496
    public flipkartFaOrderExists_args() {
-
 
186497
    }
-
 
186498
 
-
 
186499
    public flipkartFaOrderExists_args(
-
 
186500
      String fkOrderId,
-
 
186501
      String fkOrderItemId)
-
 
186502
    {
-
 
186503
      this();
-
 
186504
      this.fkOrderId = fkOrderId;
-
 
186505
      this.fkOrderItemId = fkOrderItemId;
-
 
186506
    }
-
 
186507
 
-
 
186508
    /**
-
 
186509
     * Performs a deep copy on <i>other</i>.
-
 
186510
     */
-
 
186511
    public flipkartFaOrderExists_args(flipkartFaOrderExists_args other) {
-
 
186512
      if (other.isSetFkOrderId()) {
-
 
186513
        this.fkOrderId = other.fkOrderId;
-
 
186514
      }
-
 
186515
      if (other.isSetFkOrderItemId()) {
-
 
186516
        this.fkOrderItemId = other.fkOrderItemId;
-
 
186517
      }
-
 
186518
    }
-
 
186519
 
-
 
186520
    public flipkartFaOrderExists_args deepCopy() {
-
 
186521
      return new flipkartFaOrderExists_args(this);
-
 
186522
    }
-
 
186523
 
-
 
186524
    @Override
-
 
186525
    public void clear() {
-
 
186526
      this.fkOrderId = null;
-
 
186527
      this.fkOrderItemId = null;
-
 
186528
    }
-
 
186529
 
-
 
186530
    public String getFkOrderId() {
-
 
186531
      return this.fkOrderId;
-
 
186532
    }
-
 
186533
 
-
 
186534
    public void setFkOrderId(String fkOrderId) {
-
 
186535
      this.fkOrderId = fkOrderId;
-
 
186536
    }
-
 
186537
 
-
 
186538
    public void unsetFkOrderId() {
-
 
186539
      this.fkOrderId = null;
-
 
186540
    }
-
 
186541
 
-
 
186542
    /** Returns true if field fkOrderId is set (has been assigned a value) and false otherwise */
-
 
186543
    public boolean isSetFkOrderId() {
-
 
186544
      return this.fkOrderId != null;
-
 
186545
    }
-
 
186546
 
-
 
186547
    public void setFkOrderIdIsSet(boolean value) {
-
 
186548
      if (!value) {
-
 
186549
        this.fkOrderId = null;
-
 
186550
      }
-
 
186551
    }
-
 
186552
 
-
 
186553
    public String getFkOrderItemId() {
-
 
186554
      return this.fkOrderItemId;
-
 
186555
    }
-
 
186556
 
-
 
186557
    public void setFkOrderItemId(String fkOrderItemId) {
-
 
186558
      this.fkOrderItemId = fkOrderItemId;
-
 
186559
    }
-
 
186560
 
-
 
186561
    public void unsetFkOrderItemId() {
-
 
186562
      this.fkOrderItemId = null;
-
 
186563
    }
-
 
186564
 
-
 
186565
    /** Returns true if field fkOrderItemId is set (has been assigned a value) and false otherwise */
-
 
186566
    public boolean isSetFkOrderItemId() {
-
 
186567
      return this.fkOrderItemId != null;
-
 
186568
    }
-
 
186569
 
-
 
186570
    public void setFkOrderItemIdIsSet(boolean value) {
-
 
186571
      if (!value) {
-
 
186572
        this.fkOrderItemId = null;
-
 
186573
      }
-
 
186574
    }
-
 
186575
 
-
 
186576
    public void setFieldValue(_Fields field, Object value) {
-
 
186577
      switch (field) {
-
 
186578
      case FK_ORDER_ID:
-
 
186579
        if (value == null) {
-
 
186580
          unsetFkOrderId();
-
 
186581
        } else {
-
 
186582
          setFkOrderId((String)value);
-
 
186583
        }
-
 
186584
        break;
-
 
186585
 
-
 
186586
      case FK_ORDER_ITEM_ID:
-
 
186587
        if (value == null) {
-
 
186588
          unsetFkOrderItemId();
-
 
186589
        } else {
-
 
186590
          setFkOrderItemId((String)value);
-
 
186591
        }
-
 
186592
        break;
-
 
186593
 
-
 
186594
      }
-
 
186595
    }
-
 
186596
 
-
 
186597
    public Object getFieldValue(_Fields field) {
-
 
186598
      switch (field) {
-
 
186599
      case FK_ORDER_ID:
-
 
186600
        return getFkOrderId();
-
 
186601
 
-
 
186602
      case FK_ORDER_ITEM_ID:
-
 
186603
        return getFkOrderItemId();
-
 
186604
 
-
 
186605
      }
-
 
186606
      throw new IllegalStateException();
-
 
186607
    }
-
 
186608
 
-
 
186609
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
186610
    public boolean isSet(_Fields field) {
-
 
186611
      if (field == null) {
-
 
186612
        throw new IllegalArgumentException();
-
 
186613
      }
-
 
186614
 
-
 
186615
      switch (field) {
-
 
186616
      case FK_ORDER_ID:
-
 
186617
        return isSetFkOrderId();
-
 
186618
      case FK_ORDER_ITEM_ID:
-
 
186619
        return isSetFkOrderItemId();
-
 
186620
      }
-
 
186621
      throw new IllegalStateException();
-
 
186622
    }
-
 
186623
 
-
 
186624
    @Override
-
 
186625
    public boolean equals(Object that) {
-
 
186626
      if (that == null)
-
 
186627
        return false;
-
 
186628
      if (that instanceof flipkartFaOrderExists_args)
-
 
186629
        return this.equals((flipkartFaOrderExists_args)that);
-
 
186630
      return false;
-
 
186631
    }
-
 
186632
 
-
 
186633
    public boolean equals(flipkartFaOrderExists_args that) {
-
 
186634
      if (that == null)
-
 
186635
        return false;
-
 
186636
 
-
 
186637
      boolean this_present_fkOrderId = true && this.isSetFkOrderId();
-
 
186638
      boolean that_present_fkOrderId = true && that.isSetFkOrderId();
-
 
186639
      if (this_present_fkOrderId || that_present_fkOrderId) {
-
 
186640
        if (!(this_present_fkOrderId && that_present_fkOrderId))
-
 
186641
          return false;
-
 
186642
        if (!this.fkOrderId.equals(that.fkOrderId))
-
 
186643
          return false;
-
 
186644
      }
-
 
186645
 
-
 
186646
      boolean this_present_fkOrderItemId = true && this.isSetFkOrderItemId();
-
 
186647
      boolean that_present_fkOrderItemId = true && that.isSetFkOrderItemId();
-
 
186648
      if (this_present_fkOrderItemId || that_present_fkOrderItemId) {
-
 
186649
        if (!(this_present_fkOrderItemId && that_present_fkOrderItemId))
-
 
186650
          return false;
-
 
186651
        if (!this.fkOrderItemId.equals(that.fkOrderItemId))
-
 
186652
          return false;
-
 
186653
      }
-
 
186654
 
-
 
186655
      return true;
-
 
186656
    }
-
 
186657
 
-
 
186658
    @Override
-
 
186659
    public int hashCode() {
-
 
186660
      return 0;
-
 
186661
    }
-
 
186662
 
-
 
186663
    public int compareTo(flipkartFaOrderExists_args other) {
-
 
186664
      if (!getClass().equals(other.getClass())) {
-
 
186665
        return getClass().getName().compareTo(other.getClass().getName());
-
 
186666
      }
-
 
186667
 
-
 
186668
      int lastComparison = 0;
-
 
186669
      flipkartFaOrderExists_args typedOther = (flipkartFaOrderExists_args)other;
-
 
186670
 
-
 
186671
      lastComparison = Boolean.valueOf(isSetFkOrderId()).compareTo(typedOther.isSetFkOrderId());
-
 
186672
      if (lastComparison != 0) {
-
 
186673
        return lastComparison;
-
 
186674
      }
-
 
186675
      if (isSetFkOrderId()) {
-
 
186676
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fkOrderId, typedOther.fkOrderId);
-
 
186677
        if (lastComparison != 0) {
-
 
186678
          return lastComparison;
-
 
186679
        }
-
 
186680
      }
-
 
186681
      lastComparison = Boolean.valueOf(isSetFkOrderItemId()).compareTo(typedOther.isSetFkOrderItemId());
-
 
186682
      if (lastComparison != 0) {
-
 
186683
        return lastComparison;
-
 
186684
      }
-
 
186685
      if (isSetFkOrderItemId()) {
-
 
186686
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fkOrderItemId, typedOther.fkOrderItemId);
-
 
186687
        if (lastComparison != 0) {
-
 
186688
          return lastComparison;
-
 
186689
        }
-
 
186690
      }
-
 
186691
      return 0;
-
 
186692
    }
-
 
186693
 
-
 
186694
    public _Fields fieldForId(int fieldId) {
-
 
186695
      return _Fields.findByThriftId(fieldId);
-
 
186696
    }
-
 
186697
 
-
 
186698
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
186699
      org.apache.thrift.protocol.TField field;
-
 
186700
      iprot.readStructBegin();
-
 
186701
      while (true)
-
 
186702
      {
-
 
186703
        field = iprot.readFieldBegin();
-
 
186704
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
186705
          break;
-
 
186706
        }
-
 
186707
        switch (field.id) {
-
 
186708
          case 1: // FK_ORDER_ID
-
 
186709
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
186710
              this.fkOrderId = iprot.readString();
-
 
186711
            } else { 
-
 
186712
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
186713
            }
-
 
186714
            break;
-
 
186715
          case 2: // FK_ORDER_ITEM_ID
-
 
186716
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
186717
              this.fkOrderItemId = iprot.readString();
-
 
186718
            } else { 
-
 
186719
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
186720
            }
-
 
186721
            break;
-
 
186722
          default:
-
 
186723
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
186724
        }
-
 
186725
        iprot.readFieldEnd();
-
 
186726
      }
-
 
186727
      iprot.readStructEnd();
-
 
186728
      validate();
-
 
186729
    }
-
 
186730
 
-
 
186731
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
186732
      validate();
-
 
186733
 
-
 
186734
      oprot.writeStructBegin(STRUCT_DESC);
-
 
186735
      if (this.fkOrderId != null) {
-
 
186736
        oprot.writeFieldBegin(FK_ORDER_ID_FIELD_DESC);
-
 
186737
        oprot.writeString(this.fkOrderId);
-
 
186738
        oprot.writeFieldEnd();
-
 
186739
      }
-
 
186740
      if (this.fkOrderItemId != null) {
-
 
186741
        oprot.writeFieldBegin(FK_ORDER_ITEM_ID_FIELD_DESC);
-
 
186742
        oprot.writeString(this.fkOrderItemId);
-
 
186743
        oprot.writeFieldEnd();
-
 
186744
      }
-
 
186745
      oprot.writeFieldStop();
-
 
186746
      oprot.writeStructEnd();
-
 
186747
    }
-
 
186748
 
-
 
186749
    @Override
-
 
186750
    public String toString() {
-
 
186751
      StringBuilder sb = new StringBuilder("flipkartFaOrderExists_args(");
-
 
186752
      boolean first = true;
-
 
186753
 
-
 
186754
      sb.append("fkOrderId:");
-
 
186755
      if (this.fkOrderId == null) {
-
 
186756
        sb.append("null");
-
 
186757
      } else {
-
 
186758
        sb.append(this.fkOrderId);
-
 
186759
      }
-
 
186760
      first = false;
-
 
186761
      if (!first) sb.append(", ");
-
 
186762
      sb.append("fkOrderItemId:");
-
 
186763
      if (this.fkOrderItemId == null) {
-
 
186764
        sb.append("null");
-
 
186765
      } else {
-
 
186766
        sb.append(this.fkOrderItemId);
-
 
186767
      }
-
 
186768
      first = false;
-
 
186769
      sb.append(")");
-
 
186770
      return sb.toString();
-
 
186771
    }
-
 
186772
 
-
 
186773
    public void validate() throws org.apache.thrift.TException {
-
 
186774
      // check for required fields
-
 
186775
    }
-
 
186776
 
-
 
186777
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
186778
      try {
-
 
186779
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
186780
      } catch (org.apache.thrift.TException te) {
-
 
186781
        throw new java.io.IOException(te);
-
 
186782
      }
-
 
186783
    }
-
 
186784
 
-
 
186785
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
186786
      try {
-
 
186787
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
186788
      } catch (org.apache.thrift.TException te) {
-
 
186789
        throw new java.io.IOException(te);
-
 
186790
      }
-
 
186791
    }
-
 
186792
 
-
 
186793
  }
-
 
186794
 
-
 
186795
  public static class flipkartFaOrderExists_result implements org.apache.thrift.TBase<flipkartFaOrderExists_result, flipkartFaOrderExists_result._Fields>, java.io.Serializable, Cloneable   {
-
 
186796
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("flipkartFaOrderExists_result");
-
 
186797
 
-
 
186798
    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);
-
 
186799
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
186800
 
-
 
186801
    private boolean success; // required
-
 
186802
    private TransactionServiceException ex; // required
-
 
186803
 
-
 
186804
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
186805
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
186806
      SUCCESS((short)0, "success"),
-
 
186807
      EX((short)1, "ex");
-
 
186808
 
-
 
186809
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
186810
 
-
 
186811
      static {
-
 
186812
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
186813
          byName.put(field.getFieldName(), field);
-
 
186814
        }
-
 
186815
      }
-
 
186816
 
-
 
186817
      /**
-
 
186818
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
186819
       */
-
 
186820
      public static _Fields findByThriftId(int fieldId) {
-
 
186821
        switch(fieldId) {
-
 
186822
          case 0: // SUCCESS
-
 
186823
            return SUCCESS;
-
 
186824
          case 1: // EX
-
 
186825
            return EX;
-
 
186826
          default:
-
 
186827
            return null;
-
 
186828
        }
-
 
186829
      }
-
 
186830
 
-
 
186831
      /**
-
 
186832
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
186833
       * if it is not found.
-
 
186834
       */
-
 
186835
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
186836
        _Fields fields = findByThriftId(fieldId);
-
 
186837
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
186838
        return fields;
-
 
186839
      }
-
 
186840
 
-
 
186841
      /**
-
 
186842
       * Find the _Fields constant that matches name, or null if its not found.
-
 
186843
       */
-
 
186844
      public static _Fields findByName(String name) {
-
 
186845
        return byName.get(name);
-
 
186846
      }
-
 
186847
 
-
 
186848
      private final short _thriftId;
-
 
186849
      private final String _fieldName;
-
 
186850
 
-
 
186851
      _Fields(short thriftId, String fieldName) {
-
 
186852
        _thriftId = thriftId;
-
 
186853
        _fieldName = fieldName;
-
 
186854
      }
-
 
186855
 
-
 
186856
      public short getThriftFieldId() {
-
 
186857
        return _thriftId;
-
 
186858
      }
-
 
186859
 
-
 
186860
      public String getFieldName() {
-
 
186861
        return _fieldName;
-
 
186862
      }
-
 
186863
    }
-
 
186864
 
-
 
186865
    // isset id assignments
-
 
186866
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
186867
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
186868
 
-
 
186869
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
186870
    static {
-
 
186871
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
186872
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
186873
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
186874
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
186875
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
186876
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
186877
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(flipkartFaOrderExists_result.class, metaDataMap);
-
 
186878
    }
-
 
186879
 
-
 
186880
    public flipkartFaOrderExists_result() {
-
 
186881
    }
-
 
186882
 
-
 
186883
    public flipkartFaOrderExists_result(
-
 
186884
      boolean success,
-
 
186885
      TransactionServiceException ex)
-
 
186886
    {
-
 
186887
      this();
-
 
186888
      this.success = success;
-
 
186889
      setSuccessIsSet(true);
-
 
186890
      this.ex = ex;
-
 
186891
    }
-
 
186892
 
-
 
186893
    /**
-
 
186894
     * Performs a deep copy on <i>other</i>.
-
 
186895
     */
-
 
186896
    public flipkartFaOrderExists_result(flipkartFaOrderExists_result other) {
-
 
186897
      __isset_bit_vector.clear();
-
 
186898
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
186899
      this.success = other.success;
-
 
186900
      if (other.isSetEx()) {
-
 
186901
        this.ex = new TransactionServiceException(other.ex);
-
 
186902
      }
-
 
186903
    }
-
 
186904
 
-
 
186905
    public flipkartFaOrderExists_result deepCopy() {
-
 
186906
      return new flipkartFaOrderExists_result(this);
-
 
186907
    }
-
 
186908
 
-
 
186909
    @Override
-
 
186910
    public void clear() {
-
 
186911
      setSuccessIsSet(false);
-
 
186912
      this.success = false;
-
 
186913
      this.ex = null;
-
 
186914
    }
-
 
186915
 
-
 
186916
    public boolean isSuccess() {
-
 
186917
      return this.success;
-
 
186918
    }
-
 
186919
 
-
 
186920
    public void setSuccess(boolean success) {
-
 
186921
      this.success = success;
-
 
186922
      setSuccessIsSet(true);
-
 
186923
    }
-
 
186924
 
-
 
186925
    public void unsetSuccess() {
-
 
186926
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
186927
    }
-
 
186928
 
-
 
186929
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
186930
    public boolean isSetSuccess() {
-
 
186931
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
186932
    }
-
 
186933
 
-
 
186934
    public void setSuccessIsSet(boolean value) {
-
 
186935
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
186936
    }
-
 
186937
 
-
 
186938
    public TransactionServiceException getEx() {
-
 
186939
      return this.ex;
-
 
186940
    }
-
 
186941
 
-
 
186942
    public void setEx(TransactionServiceException ex) {
-
 
186943
      this.ex = ex;
-
 
186944
    }
-
 
186945
 
-
 
186946
    public void unsetEx() {
-
 
186947
      this.ex = null;
-
 
186948
    }
-
 
186949
 
-
 
186950
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
186951
    public boolean isSetEx() {
-
 
186952
      return this.ex != null;
-
 
186953
    }
-
 
186954
 
-
 
186955
    public void setExIsSet(boolean value) {
-
 
186956
      if (!value) {
-
 
186957
        this.ex = null;
-
 
186958
      }
-
 
186959
    }
-
 
186960
 
-
 
186961
    public void setFieldValue(_Fields field, Object value) {
-
 
186962
      switch (field) {
-
 
186963
      case SUCCESS:
-
 
186964
        if (value == null) {
-
 
186965
          unsetSuccess();
-
 
186966
        } else {
-
 
186967
          setSuccess((Boolean)value);
-
 
186968
        }
-
 
186969
        break;
-
 
186970
 
-
 
186971
      case EX:
-
 
186972
        if (value == null) {
-
 
186973
          unsetEx();
-
 
186974
        } else {
-
 
186975
          setEx((TransactionServiceException)value);
-
 
186976
        }
-
 
186977
        break;
-
 
186978
 
-
 
186979
      }
-
 
186980
    }
-
 
186981
 
-
 
186982
    public Object getFieldValue(_Fields field) {
-
 
186983
      switch (field) {
-
 
186984
      case SUCCESS:
-
 
186985
        return Boolean.valueOf(isSuccess());
-
 
186986
 
-
 
186987
      case EX:
-
 
186988
        return getEx();
-
 
186989
 
-
 
186990
      }
-
 
186991
      throw new IllegalStateException();
-
 
186992
    }
-
 
186993
 
-
 
186994
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
186995
    public boolean isSet(_Fields field) {
-
 
186996
      if (field == null) {
-
 
186997
        throw new IllegalArgumentException();
-
 
186998
      }
-
 
186999
 
-
 
187000
      switch (field) {
-
 
187001
      case SUCCESS:
-
 
187002
        return isSetSuccess();
-
 
187003
      case EX:
-
 
187004
        return isSetEx();
-
 
187005
      }
-
 
187006
      throw new IllegalStateException();
-
 
187007
    }
-
 
187008
 
-
 
187009
    @Override
-
 
187010
    public boolean equals(Object that) {
-
 
187011
      if (that == null)
-
 
187012
        return false;
-
 
187013
      if (that instanceof flipkartFaOrderExists_result)
-
 
187014
        return this.equals((flipkartFaOrderExists_result)that);
-
 
187015
      return false;
-
 
187016
    }
-
 
187017
 
-
 
187018
    public boolean equals(flipkartFaOrderExists_result that) {
-
 
187019
      if (that == null)
-
 
187020
        return false;
-
 
187021
 
-
 
187022
      boolean this_present_success = true;
-
 
187023
      boolean that_present_success = true;
-
 
187024
      if (this_present_success || that_present_success) {
-
 
187025
        if (!(this_present_success && that_present_success))
-
 
187026
          return false;
-
 
187027
        if (this.success != that.success)
-
 
187028
          return false;
-
 
187029
      }
-
 
187030
 
-
 
187031
      boolean this_present_ex = true && this.isSetEx();
-
 
187032
      boolean that_present_ex = true && that.isSetEx();
-
 
187033
      if (this_present_ex || that_present_ex) {
-
 
187034
        if (!(this_present_ex && that_present_ex))
-
 
187035
          return false;
-
 
187036
        if (!this.ex.equals(that.ex))
-
 
187037
          return false;
-
 
187038
      }
-
 
187039
 
-
 
187040
      return true;
-
 
187041
    }
-
 
187042
 
-
 
187043
    @Override
-
 
187044
    public int hashCode() {
-
 
187045
      return 0;
-
 
187046
    }
-
 
187047
 
-
 
187048
    public int compareTo(flipkartFaOrderExists_result other) {
-
 
187049
      if (!getClass().equals(other.getClass())) {
-
 
187050
        return getClass().getName().compareTo(other.getClass().getName());
-
 
187051
      }
-
 
187052
 
-
 
187053
      int lastComparison = 0;
-
 
187054
      flipkartFaOrderExists_result typedOther = (flipkartFaOrderExists_result)other;
-
 
187055
 
-
 
187056
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
187057
      if (lastComparison != 0) {
-
 
187058
        return lastComparison;
-
 
187059
      }
-
 
187060
      if (isSetSuccess()) {
-
 
187061
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
187062
        if (lastComparison != 0) {
-
 
187063
          return lastComparison;
-
 
187064
        }
-
 
187065
      }
-
 
187066
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
187067
      if (lastComparison != 0) {
-
 
187068
        return lastComparison;
-
 
187069
      }
-
 
187070
      if (isSetEx()) {
-
 
187071
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
187072
        if (lastComparison != 0) {
-
 
187073
          return lastComparison;
-
 
187074
        }
-
 
187075
      }
-
 
187076
      return 0;
-
 
187077
    }
-
 
187078
 
-
 
187079
    public _Fields fieldForId(int fieldId) {
-
 
187080
      return _Fields.findByThriftId(fieldId);
-
 
187081
    }
-
 
187082
 
-
 
187083
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
187084
      org.apache.thrift.protocol.TField field;
-
 
187085
      iprot.readStructBegin();
-
 
187086
      while (true)
-
 
187087
      {
-
 
187088
        field = iprot.readFieldBegin();
-
 
187089
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
187090
          break;
-
 
187091
        }
-
 
187092
        switch (field.id) {
-
 
187093
          case 0: // SUCCESS
-
 
187094
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
187095
              this.success = iprot.readBool();
-
 
187096
              setSuccessIsSet(true);
-
 
187097
            } else { 
-
 
187098
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
187099
            }
-
 
187100
            break;
-
 
187101
          case 1: // EX
-
 
187102
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
187103
              this.ex = new TransactionServiceException();
-
 
187104
              this.ex.read(iprot);
-
 
187105
            } else { 
-
 
187106
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
187107
            }
-
 
187108
            break;
-
 
187109
          default:
-
 
187110
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
187111
        }
-
 
187112
        iprot.readFieldEnd();
-
 
187113
      }
-
 
187114
      iprot.readStructEnd();
-
 
187115
      validate();
-
 
187116
    }
-
 
187117
 
-
 
187118
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
187119
      oprot.writeStructBegin(STRUCT_DESC);
-
 
187120
 
-
 
187121
      if (this.isSetSuccess()) {
-
 
187122
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
187123
        oprot.writeBool(this.success);
-
 
187124
        oprot.writeFieldEnd();
-
 
187125
      } else if (this.isSetEx()) {
-
 
187126
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
187127
        this.ex.write(oprot);
-
 
187128
        oprot.writeFieldEnd();
-
 
187129
      }
-
 
187130
      oprot.writeFieldStop();
-
 
187131
      oprot.writeStructEnd();
-
 
187132
    }
-
 
187133
 
-
 
187134
    @Override
-
 
187135
    public String toString() {
-
 
187136
      StringBuilder sb = new StringBuilder("flipkartFaOrderExists_result(");
-
 
187137
      boolean first = true;
-
 
187138
 
-
 
187139
      sb.append("success:");
-
 
187140
      sb.append(this.success);
-
 
187141
      first = false;
-
 
187142
      if (!first) sb.append(", ");
-
 
187143
      sb.append("ex:");
-
 
187144
      if (this.ex == null) {
-
 
187145
        sb.append("null");
-
 
187146
      } else {
-
 
187147
        sb.append(this.ex);
185352
      }
187148
      }
185353
      first = false;
187149
      first = false;
185354
      sb.append(")");
187150
      sb.append(")");
185355
      return sb.toString();
187151
      return sb.toString();
185356
    }
187152
    }