Subversion Repositories SmartDukaan

Rev

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

Rev 12980 Rev 13146
Line 1094... Line 1094...
1094
 
1094
 
1095
    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;
1096
 
1096
 
1097
    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;
1098
 
1098
 
-
 
1099
    public void bulkAddOrUpdateFlipkartFaSalesSnapshot(List<FlipkartFaSalesSnapshot> flipkartfasalessnapshotlist) throws org.apache.thrift.TException;
-
 
1100
 
-
 
1101
    public List<FlipkartFaSalesSnapshot> getFlipkartFaSalesSnapshotForDays(int days) throws org.apache.thrift.TException;
-
 
1102
 
-
 
1103
    public FlipkartFaSalesSnapshot getFlipkartFaSalesSnapshotBySkuAndSaleDate(long item_id, long dateOfSale) throws org.apache.thrift.TException;
-
 
1104
 
-
 
1105
    public boolean acceptPackageOrders(List<Long> orders) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1106
 
-
 
1107
    public List<Order> getGroupOrdersByLogisticsTxnId(String logisticsTxnId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1108
 
-
 
1109
    public boolean addBillingDetailsForGrouppedOrders(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize) throws TransactionServiceException, org.apache.thrift.TException;
-
 
1110
 
1099
  }
1111
  }
1100
 
1112
 
1101
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1113
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1102
 
1114
 
1103
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
1115
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1574... Line 1586...
1574
 
1586
 
1575
    public void getRcgOrderStatus(long rechargeOrderId, boolean isFinal, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRcgOrderStatus_call> resultHandler) throws org.apache.thrift.TException;
1587
    public void getRcgOrderStatus(long rechargeOrderId, boolean isFinal, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRcgOrderStatus_call> resultHandler) throws org.apache.thrift.TException;
1576
 
1588
 
1577
    public void getRcgTransactionStatus(long rechargeTransactionId, boolean isFinal, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRcgTransactionStatus_call> resultHandler) throws org.apache.thrift.TException;
1589
    public void getRcgTransactionStatus(long rechargeTransactionId, boolean isFinal, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRcgTransactionStatus_call> resultHandler) throws org.apache.thrift.TException;
1578
 
1590
 
-
 
1591
    public void bulkAddOrUpdateFlipkartFaSalesSnapshot(List<FlipkartFaSalesSnapshot> flipkartfasalessnapshotlist, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.bulkAddOrUpdateFlipkartFaSalesSnapshot_call> resultHandler) throws org.apache.thrift.TException;
-
 
1592
 
-
 
1593
    public void getFlipkartFaSalesSnapshotForDays(int days, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getFlipkartFaSalesSnapshotForDays_call> resultHandler) throws org.apache.thrift.TException;
-
 
1594
 
-
 
1595
    public void getFlipkartFaSalesSnapshotBySkuAndSaleDate(long item_id, long dateOfSale, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getFlipkartFaSalesSnapshotBySkuAndSaleDate_call> resultHandler) throws org.apache.thrift.TException;
-
 
1596
 
-
 
1597
    public void acceptPackageOrders(List<Long> orders, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.acceptPackageOrders_call> resultHandler) throws org.apache.thrift.TException;
-
 
1598
 
-
 
1599
    public void getGroupOrdersByLogisticsTxnId(String logisticsTxnId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getGroupOrdersByLogisticsTxnId_call> resultHandler) throws org.apache.thrift.TException;
-
 
1600
 
-
 
1601
    public void addBillingDetailsForGrouppedOrders(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBillingDetailsForGrouppedOrders_call> resultHandler) throws org.apache.thrift.TException;
-
 
1602
 
1579
  }
1603
  }
1580
 
1604
 
1581
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1605
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1582
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1606
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1583
      public Factory() {}
1607
      public Factory() {}
Line 7466... Line 7490...
7466
        return result.success;
7490
        return result.success;
7467
      }
7491
      }
7468
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRcgTransactionStatus failed: unknown result");
7492
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRcgTransactionStatus failed: unknown result");
7469
    }
7493
    }
7470
 
7494
 
-
 
7495
    public void bulkAddOrUpdateFlipkartFaSalesSnapshot(List<FlipkartFaSalesSnapshot> flipkartfasalessnapshotlist) throws org.apache.thrift.TException
-
 
7496
    {
-
 
7497
      send_bulkAddOrUpdateFlipkartFaSalesSnapshot(flipkartfasalessnapshotlist);
-
 
7498
      recv_bulkAddOrUpdateFlipkartFaSalesSnapshot();
-
 
7499
    }
-
 
7500
 
-
 
7501
    public void send_bulkAddOrUpdateFlipkartFaSalesSnapshot(List<FlipkartFaSalesSnapshot> flipkartfasalessnapshotlist) throws org.apache.thrift.TException
-
 
7502
    {
-
 
7503
      bulkAddOrUpdateFlipkartFaSalesSnapshot_args args = new bulkAddOrUpdateFlipkartFaSalesSnapshot_args();
-
 
7504
      args.setFlipkartfasalessnapshotlist(flipkartfasalessnapshotlist);
-
 
7505
      sendBase("bulkAddOrUpdateFlipkartFaSalesSnapshot", args);
-
 
7506
    }
-
 
7507
 
-
 
7508
    public void recv_bulkAddOrUpdateFlipkartFaSalesSnapshot() throws org.apache.thrift.TException
-
 
7509
    {
-
 
7510
      bulkAddOrUpdateFlipkartFaSalesSnapshot_result result = new bulkAddOrUpdateFlipkartFaSalesSnapshot_result();
-
 
7511
      receiveBase(result, "bulkAddOrUpdateFlipkartFaSalesSnapshot");
-
 
7512
      return;
-
 
7513
    }
-
 
7514
 
-
 
7515
    public List<FlipkartFaSalesSnapshot> getFlipkartFaSalesSnapshotForDays(int days) throws org.apache.thrift.TException
-
 
7516
    {
-
 
7517
      send_getFlipkartFaSalesSnapshotForDays(days);
-
 
7518
      return recv_getFlipkartFaSalesSnapshotForDays();
-
 
7519
    }
-
 
7520
 
-
 
7521
    public void send_getFlipkartFaSalesSnapshotForDays(int days) throws org.apache.thrift.TException
-
 
7522
    {
-
 
7523
      getFlipkartFaSalesSnapshotForDays_args args = new getFlipkartFaSalesSnapshotForDays_args();
-
 
7524
      args.setDays(days);
-
 
7525
      sendBase("getFlipkartFaSalesSnapshotForDays", args);
-
 
7526
    }
-
 
7527
 
-
 
7528
    public List<FlipkartFaSalesSnapshot> recv_getFlipkartFaSalesSnapshotForDays() throws org.apache.thrift.TException
-
 
7529
    {
-
 
7530
      getFlipkartFaSalesSnapshotForDays_result result = new getFlipkartFaSalesSnapshotForDays_result();
-
 
7531
      receiveBase(result, "getFlipkartFaSalesSnapshotForDays");
-
 
7532
      if (result.isSetSuccess()) {
-
 
7533
        return result.success;
-
 
7534
      }
-
 
7535
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getFlipkartFaSalesSnapshotForDays failed: unknown result");
-
 
7536
    }
-
 
7537
 
-
 
7538
    public FlipkartFaSalesSnapshot getFlipkartFaSalesSnapshotBySkuAndSaleDate(long item_id, long dateOfSale) throws org.apache.thrift.TException
-
 
7539
    {
-
 
7540
      send_getFlipkartFaSalesSnapshotBySkuAndSaleDate(item_id, dateOfSale);
-
 
7541
      return recv_getFlipkartFaSalesSnapshotBySkuAndSaleDate();
-
 
7542
    }
-
 
7543
 
-
 
7544
    public void send_getFlipkartFaSalesSnapshotBySkuAndSaleDate(long item_id, long dateOfSale) throws org.apache.thrift.TException
-
 
7545
    {
-
 
7546
      getFlipkartFaSalesSnapshotBySkuAndSaleDate_args args = new getFlipkartFaSalesSnapshotBySkuAndSaleDate_args();
-
 
7547
      args.setItem_id(item_id);
-
 
7548
      args.setDateOfSale(dateOfSale);
-
 
7549
      sendBase("getFlipkartFaSalesSnapshotBySkuAndSaleDate", args);
-
 
7550
    }
-
 
7551
 
-
 
7552
    public FlipkartFaSalesSnapshot recv_getFlipkartFaSalesSnapshotBySkuAndSaleDate() throws org.apache.thrift.TException
-
 
7553
    {
-
 
7554
      getFlipkartFaSalesSnapshotBySkuAndSaleDate_result result = new getFlipkartFaSalesSnapshotBySkuAndSaleDate_result();
-
 
7555
      receiveBase(result, "getFlipkartFaSalesSnapshotBySkuAndSaleDate");
-
 
7556
      if (result.isSetSuccess()) {
-
 
7557
        return result.success;
-
 
7558
      }
-
 
7559
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getFlipkartFaSalesSnapshotBySkuAndSaleDate failed: unknown result");
-
 
7560
    }
-
 
7561
 
-
 
7562
    public boolean acceptPackageOrders(List<Long> orders) throws TransactionServiceException, org.apache.thrift.TException
-
 
7563
    {
-
 
7564
      send_acceptPackageOrders(orders);
-
 
7565
      return recv_acceptPackageOrders();
-
 
7566
    }
-
 
7567
 
-
 
7568
    public void send_acceptPackageOrders(List<Long> orders) throws org.apache.thrift.TException
-
 
7569
    {
-
 
7570
      acceptPackageOrders_args args = new acceptPackageOrders_args();
-
 
7571
      args.setOrders(orders);
-
 
7572
      sendBase("acceptPackageOrders", args);
-
 
7573
    }
-
 
7574
 
-
 
7575
    public boolean recv_acceptPackageOrders() throws TransactionServiceException, org.apache.thrift.TException
-
 
7576
    {
-
 
7577
      acceptPackageOrders_result result = new acceptPackageOrders_result();
-
 
7578
      receiveBase(result, "acceptPackageOrders");
-
 
7579
      if (result.isSetSuccess()) {
-
 
7580
        return result.success;
-
 
7581
      }
-
 
7582
      if (result.ex != null) {
-
 
7583
        throw result.ex;
-
 
7584
      }
-
 
7585
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "acceptPackageOrders failed: unknown result");
-
 
7586
    }
-
 
7587
 
-
 
7588
    public List<Order> getGroupOrdersByLogisticsTxnId(String logisticsTxnId) throws TransactionServiceException, org.apache.thrift.TException
-
 
7589
    {
-
 
7590
      send_getGroupOrdersByLogisticsTxnId(logisticsTxnId);
-
 
7591
      return recv_getGroupOrdersByLogisticsTxnId();
-
 
7592
    }
-
 
7593
 
-
 
7594
    public void send_getGroupOrdersByLogisticsTxnId(String logisticsTxnId) throws org.apache.thrift.TException
-
 
7595
    {
-
 
7596
      getGroupOrdersByLogisticsTxnId_args args = new getGroupOrdersByLogisticsTxnId_args();
-
 
7597
      args.setLogisticsTxnId(logisticsTxnId);
-
 
7598
      sendBase("getGroupOrdersByLogisticsTxnId", args);
-
 
7599
    }
-
 
7600
 
-
 
7601
    public List<Order> recv_getGroupOrdersByLogisticsTxnId() throws TransactionServiceException, org.apache.thrift.TException
-
 
7602
    {
-
 
7603
      getGroupOrdersByLogisticsTxnId_result result = new getGroupOrdersByLogisticsTxnId_result();
-
 
7604
      receiveBase(result, "getGroupOrdersByLogisticsTxnId");
-
 
7605
      if (result.isSetSuccess()) {
-
 
7606
        return result.success;
-
 
7607
      }
-
 
7608
      if (result.ex != null) {
-
 
7609
        throw result.ex;
-
 
7610
      }
-
 
7611
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getGroupOrdersByLogisticsTxnId failed: unknown result");
-
 
7612
    }
-
 
7613
 
-
 
7614
    public boolean addBillingDetailsForGrouppedOrders(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize) throws TransactionServiceException, org.apache.thrift.TException
-
 
7615
    {
-
 
7616
      send_addBillingDetailsForGrouppedOrders(order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize);
-
 
7617
      return recv_addBillingDetailsForGrouppedOrders();
-
 
7618
    }
-
 
7619
 
-
 
7620
    public void send_addBillingDetailsForGrouppedOrders(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize) throws org.apache.thrift.TException
-
 
7621
    {
-
 
7622
      addBillingDetailsForGrouppedOrders_args args = new addBillingDetailsForGrouppedOrders_args();
-
 
7623
      args.setOrder_ids(order_ids);
-
 
7624
      args.setInvoice_number(invoice_number);
-
 
7625
      args.setItemNumbersMap(itemNumbersMap);
-
 
7626
      args.setSerialNumbersMap(serialNumbersMap);
-
 
7627
      args.setFreebieWarehouseIdMap(freebieWarehouseIdMap);
-
 
7628
      args.setBilled_by(billed_by);
-
 
7629
      args.setJacketNumber(jacketNumber);
-
 
7630
      args.setBillingType(billingType);
-
 
7631
      args.setAuthorize(authorize);
-
 
7632
      sendBase("addBillingDetailsForGrouppedOrders", args);
-
 
7633
    }
-
 
7634
 
-
 
7635
    public boolean recv_addBillingDetailsForGrouppedOrders() throws TransactionServiceException, org.apache.thrift.TException
-
 
7636
    {
-
 
7637
      addBillingDetailsForGrouppedOrders_result result = new addBillingDetailsForGrouppedOrders_result();
-
 
7638
      receiveBase(result, "addBillingDetailsForGrouppedOrders");
-
 
7639
      if (result.isSetSuccess()) {
-
 
7640
        return result.success;
-
 
7641
      }
-
 
7642
      if (result.ex != null) {
-
 
7643
        throw result.ex;
-
 
7644
      }
-
 
7645
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addBillingDetailsForGrouppedOrders failed: unknown result");
-
 
7646
    }
-
 
7647
 
7471
  }
7648
  }
7472
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
7649
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
7473
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
7650
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
7474
      private org.apache.thrift.async.TAsyncClientManager clientManager;
7651
      private org.apache.thrift.async.TAsyncClientManager clientManager;
7475
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
7652
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 15748... Line 15925...
15748
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
15925
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
15749
        return (new Client(prot)).recv_getRcgTransactionStatus();
15926
        return (new Client(prot)).recv_getRcgTransactionStatus();
15750
      }
15927
      }
15751
    }
15928
    }
15752
 
15929
 
-
 
15930
    public void bulkAddOrUpdateFlipkartFaSalesSnapshot(List<FlipkartFaSalesSnapshot> flipkartfasalessnapshotlist, org.apache.thrift.async.AsyncMethodCallback<bulkAddOrUpdateFlipkartFaSalesSnapshot_call> resultHandler) throws org.apache.thrift.TException {
-
 
15931
      checkReady();
-
 
15932
      bulkAddOrUpdateFlipkartFaSalesSnapshot_call method_call = new bulkAddOrUpdateFlipkartFaSalesSnapshot_call(flipkartfasalessnapshotlist, resultHandler, this, ___protocolFactory, ___transport);
-
 
15933
      this.___currentMethod = method_call;
-
 
15934
      ___manager.call(method_call);
-
 
15935
    }
-
 
15936
 
-
 
15937
    public static class bulkAddOrUpdateFlipkartFaSalesSnapshot_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
15938
      private List<FlipkartFaSalesSnapshot> flipkartfasalessnapshotlist;
-
 
15939
      public bulkAddOrUpdateFlipkartFaSalesSnapshot_call(List<FlipkartFaSalesSnapshot> flipkartfasalessnapshotlist, org.apache.thrift.async.AsyncMethodCallback<bulkAddOrUpdateFlipkartFaSalesSnapshot_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 {
-
 
15940
        super(client, protocolFactory, transport, resultHandler, false);
-
 
15941
        this.flipkartfasalessnapshotlist = flipkartfasalessnapshotlist;
-
 
15942
      }
-
 
15943
 
-
 
15944
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
15945
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("bulkAddOrUpdateFlipkartFaSalesSnapshot", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
15946
        bulkAddOrUpdateFlipkartFaSalesSnapshot_args args = new bulkAddOrUpdateFlipkartFaSalesSnapshot_args();
-
 
15947
        args.setFlipkartfasalessnapshotlist(flipkartfasalessnapshotlist);
-
 
15948
        args.write(prot);
-
 
15949
        prot.writeMessageEnd();
-
 
15950
      }
-
 
15951
 
-
 
15952
      public void getResult() throws org.apache.thrift.TException {
-
 
15953
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
15954
          throw new IllegalStateException("Method call not finished!");
-
 
15955
        }
-
 
15956
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
15957
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
15958
        (new Client(prot)).recv_bulkAddOrUpdateFlipkartFaSalesSnapshot();
-
 
15959
      }
-
 
15960
    }
-
 
15961
 
-
 
15962
    public void getFlipkartFaSalesSnapshotForDays(int days, org.apache.thrift.async.AsyncMethodCallback<getFlipkartFaSalesSnapshotForDays_call> resultHandler) throws org.apache.thrift.TException {
-
 
15963
      checkReady();
-
 
15964
      getFlipkartFaSalesSnapshotForDays_call method_call = new getFlipkartFaSalesSnapshotForDays_call(days, resultHandler, this, ___protocolFactory, ___transport);
-
 
15965
      this.___currentMethod = method_call;
-
 
15966
      ___manager.call(method_call);
-
 
15967
    }
-
 
15968
 
-
 
15969
    public static class getFlipkartFaSalesSnapshotForDays_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
15970
      private int days;
-
 
15971
      public getFlipkartFaSalesSnapshotForDays_call(int days, org.apache.thrift.async.AsyncMethodCallback<getFlipkartFaSalesSnapshotForDays_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 {
-
 
15972
        super(client, protocolFactory, transport, resultHandler, false);
-
 
15973
        this.days = days;
-
 
15974
      }
-
 
15975
 
-
 
15976
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
15977
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getFlipkartFaSalesSnapshotForDays", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
15978
        getFlipkartFaSalesSnapshotForDays_args args = new getFlipkartFaSalesSnapshotForDays_args();
-
 
15979
        args.setDays(days);
-
 
15980
        args.write(prot);
-
 
15981
        prot.writeMessageEnd();
-
 
15982
      }
-
 
15983
 
-
 
15984
      public List<FlipkartFaSalesSnapshot> getResult() throws org.apache.thrift.TException {
-
 
15985
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
15986
          throw new IllegalStateException("Method call not finished!");
-
 
15987
        }
-
 
15988
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
15989
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
15990
        return (new Client(prot)).recv_getFlipkartFaSalesSnapshotForDays();
-
 
15991
      }
-
 
15992
    }
-
 
15993
 
-
 
15994
    public void getFlipkartFaSalesSnapshotBySkuAndSaleDate(long item_id, long dateOfSale, org.apache.thrift.async.AsyncMethodCallback<getFlipkartFaSalesSnapshotBySkuAndSaleDate_call> resultHandler) throws org.apache.thrift.TException {
-
 
15995
      checkReady();
-
 
15996
      getFlipkartFaSalesSnapshotBySkuAndSaleDate_call method_call = new getFlipkartFaSalesSnapshotBySkuAndSaleDate_call(item_id, dateOfSale, resultHandler, this, ___protocolFactory, ___transport);
-
 
15997
      this.___currentMethod = method_call;
-
 
15998
      ___manager.call(method_call);
-
 
15999
    }
-
 
16000
 
-
 
16001
    public static class getFlipkartFaSalesSnapshotBySkuAndSaleDate_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
16002
      private long item_id;
-
 
16003
      private long dateOfSale;
-
 
16004
      public getFlipkartFaSalesSnapshotBySkuAndSaleDate_call(long item_id, long dateOfSale, org.apache.thrift.async.AsyncMethodCallback<getFlipkartFaSalesSnapshotBySkuAndSaleDate_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 {
-
 
16005
        super(client, protocolFactory, transport, resultHandler, false);
-
 
16006
        this.item_id = item_id;
-
 
16007
        this.dateOfSale = dateOfSale;
-
 
16008
      }
-
 
16009
 
-
 
16010
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
16011
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getFlipkartFaSalesSnapshotBySkuAndSaleDate", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
16012
        getFlipkartFaSalesSnapshotBySkuAndSaleDate_args args = new getFlipkartFaSalesSnapshotBySkuAndSaleDate_args();
-
 
16013
        args.setItem_id(item_id);
-
 
16014
        args.setDateOfSale(dateOfSale);
-
 
16015
        args.write(prot);
-
 
16016
        prot.writeMessageEnd();
-
 
16017
      }
-
 
16018
 
-
 
16019
      public FlipkartFaSalesSnapshot getResult() throws org.apache.thrift.TException {
-
 
16020
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
16021
          throw new IllegalStateException("Method call not finished!");
-
 
16022
        }
-
 
16023
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
16024
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
16025
        return (new Client(prot)).recv_getFlipkartFaSalesSnapshotBySkuAndSaleDate();
-
 
16026
      }
-
 
16027
    }
-
 
16028
 
-
 
16029
    public void acceptPackageOrders(List<Long> orders, org.apache.thrift.async.AsyncMethodCallback<acceptPackageOrders_call> resultHandler) throws org.apache.thrift.TException {
-
 
16030
      checkReady();
-
 
16031
      acceptPackageOrders_call method_call = new acceptPackageOrders_call(orders, resultHandler, this, ___protocolFactory, ___transport);
-
 
16032
      this.___currentMethod = method_call;
-
 
16033
      ___manager.call(method_call);
-
 
16034
    }
-
 
16035
 
-
 
16036
    public static class acceptPackageOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
16037
      private List<Long> orders;
-
 
16038
      public acceptPackageOrders_call(List<Long> orders, org.apache.thrift.async.AsyncMethodCallback<acceptPackageOrders_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 {
-
 
16039
        super(client, protocolFactory, transport, resultHandler, false);
-
 
16040
        this.orders = orders;
-
 
16041
      }
-
 
16042
 
-
 
16043
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
16044
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("acceptPackageOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
16045
        acceptPackageOrders_args args = new acceptPackageOrders_args();
-
 
16046
        args.setOrders(orders);
-
 
16047
        args.write(prot);
-
 
16048
        prot.writeMessageEnd();
-
 
16049
      }
-
 
16050
 
-
 
16051
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
16052
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
16053
          throw new IllegalStateException("Method call not finished!");
-
 
16054
        }
-
 
16055
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
16056
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
16057
        return (new Client(prot)).recv_acceptPackageOrders();
-
 
16058
      }
-
 
16059
    }
-
 
16060
 
-
 
16061
    public void getGroupOrdersByLogisticsTxnId(String logisticsTxnId, org.apache.thrift.async.AsyncMethodCallback<getGroupOrdersByLogisticsTxnId_call> resultHandler) throws org.apache.thrift.TException {
-
 
16062
      checkReady();
-
 
16063
      getGroupOrdersByLogisticsTxnId_call method_call = new getGroupOrdersByLogisticsTxnId_call(logisticsTxnId, resultHandler, this, ___protocolFactory, ___transport);
-
 
16064
      this.___currentMethod = method_call;
-
 
16065
      ___manager.call(method_call);
-
 
16066
    }
-
 
16067
 
-
 
16068
    public static class getGroupOrdersByLogisticsTxnId_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
16069
      private String logisticsTxnId;
-
 
16070
      public getGroupOrdersByLogisticsTxnId_call(String logisticsTxnId, org.apache.thrift.async.AsyncMethodCallback<getGroupOrdersByLogisticsTxnId_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 {
-
 
16071
        super(client, protocolFactory, transport, resultHandler, false);
-
 
16072
        this.logisticsTxnId = logisticsTxnId;
-
 
16073
      }
-
 
16074
 
-
 
16075
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
16076
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getGroupOrdersByLogisticsTxnId", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
16077
        getGroupOrdersByLogisticsTxnId_args args = new getGroupOrdersByLogisticsTxnId_args();
-
 
16078
        args.setLogisticsTxnId(logisticsTxnId);
-
 
16079
        args.write(prot);
-
 
16080
        prot.writeMessageEnd();
-
 
16081
      }
-
 
16082
 
-
 
16083
      public List<Order> getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
16084
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
16085
          throw new IllegalStateException("Method call not finished!");
-
 
16086
        }
-
 
16087
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
16088
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
16089
        return (new Client(prot)).recv_getGroupOrdersByLogisticsTxnId();
-
 
16090
      }
-
 
16091
    }
-
 
16092
 
-
 
16093
    public void addBillingDetailsForGrouppedOrders(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize, org.apache.thrift.async.AsyncMethodCallback<addBillingDetailsForGrouppedOrders_call> resultHandler) throws org.apache.thrift.TException {
-
 
16094
      checkReady();
-
 
16095
      addBillingDetailsForGrouppedOrders_call method_call = new addBillingDetailsForGrouppedOrders_call(order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize, resultHandler, this, ___protocolFactory, ___transport);
-
 
16096
      this.___currentMethod = method_call;
-
 
16097
      ___manager.call(method_call);
-
 
16098
    }
-
 
16099
 
-
 
16100
    public static class addBillingDetailsForGrouppedOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
16101
      private List<Long> order_ids;
-
 
16102
      private String invoice_number;
-
 
16103
      private Map<Long,List<String>> itemNumbersMap;
-
 
16104
      private Map<Long,List<String>> serialNumbersMap;
-
 
16105
      private Map<Long,List<Long>> freebieWarehouseIdMap;
-
 
16106
      private String billed_by;
-
 
16107
      private long jacketNumber;
-
 
16108
      private long billingType;
-
 
16109
      private boolean authorize;
-
 
16110
      public addBillingDetailsForGrouppedOrders_call(List<Long> order_ids, String invoice_number, Map<Long,List<String>> itemNumbersMap, Map<Long,List<String>> serialNumbersMap, Map<Long,List<Long>> freebieWarehouseIdMap, String billed_by, long jacketNumber, long billingType, boolean authorize, org.apache.thrift.async.AsyncMethodCallback<addBillingDetailsForGrouppedOrders_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 {
-
 
16111
        super(client, protocolFactory, transport, resultHandler, false);
-
 
16112
        this.order_ids = order_ids;
-
 
16113
        this.invoice_number = invoice_number;
-
 
16114
        this.itemNumbersMap = itemNumbersMap;
-
 
16115
        this.serialNumbersMap = serialNumbersMap;
-
 
16116
        this.freebieWarehouseIdMap = freebieWarehouseIdMap;
-
 
16117
        this.billed_by = billed_by;
-
 
16118
        this.jacketNumber = jacketNumber;
-
 
16119
        this.billingType = billingType;
-
 
16120
        this.authorize = authorize;
-
 
16121
      }
-
 
16122
 
-
 
16123
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
16124
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addBillingDetailsForGrouppedOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
16125
        addBillingDetailsForGrouppedOrders_args args = new addBillingDetailsForGrouppedOrders_args();
-
 
16126
        args.setOrder_ids(order_ids);
-
 
16127
        args.setInvoice_number(invoice_number);
-
 
16128
        args.setItemNumbersMap(itemNumbersMap);
-
 
16129
        args.setSerialNumbersMap(serialNumbersMap);
-
 
16130
        args.setFreebieWarehouseIdMap(freebieWarehouseIdMap);
-
 
16131
        args.setBilled_by(billed_by);
-
 
16132
        args.setJacketNumber(jacketNumber);
-
 
16133
        args.setBillingType(billingType);
-
 
16134
        args.setAuthorize(authorize);
-
 
16135
        args.write(prot);
-
 
16136
        prot.writeMessageEnd();
-
 
16137
      }
-
 
16138
 
-
 
16139
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
16140
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
16141
          throw new IllegalStateException("Method call not finished!");
-
 
16142
        }
-
 
16143
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
16144
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
16145
        return (new Client(prot)).recv_addBillingDetailsForGrouppedOrders();
-
 
16146
      }
-
 
16147
    }
-
 
16148
 
15753
  }
16149
  }
15754
 
16150
 
15755
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
16151
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
15756
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
16152
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
15757
    public Processor(I iface) {
16153
    public Processor(I iface) {
Line 15999... Line 16395...
15999
      processMap.put("addUpdateFaOrdersBulk", new addUpdateFaOrdersBulk());
16395
      processMap.put("addUpdateFaOrdersBulk", new addUpdateFaOrdersBulk());
16000
      processMap.put("addInvoiceDetailsToOrders", new addInvoiceDetailsToOrders());
16396
      processMap.put("addInvoiceDetailsToOrders", new addInvoiceDetailsToOrders());
16001
      processMap.put("flipkartFaOrderExists", new flipkartFaOrderExists());
16397
      processMap.put("flipkartFaOrderExists", new flipkartFaOrderExists());
16002
      processMap.put("getRcgOrderStatus", new getRcgOrderStatus());
16398
      processMap.put("getRcgOrderStatus", new getRcgOrderStatus());
16003
      processMap.put("getRcgTransactionStatus", new getRcgTransactionStatus());
16399
      processMap.put("getRcgTransactionStatus", new getRcgTransactionStatus());
-
 
16400
      processMap.put("bulkAddOrUpdateFlipkartFaSalesSnapshot", new bulkAddOrUpdateFlipkartFaSalesSnapshot());
-
 
16401
      processMap.put("getFlipkartFaSalesSnapshotForDays", new getFlipkartFaSalesSnapshotForDays());
-
 
16402
      processMap.put("getFlipkartFaSalesSnapshotBySkuAndSaleDate", new getFlipkartFaSalesSnapshotBySkuAndSaleDate());
-
 
16403
      processMap.put("acceptPackageOrders", new acceptPackageOrders());
-
 
16404
      processMap.put("getGroupOrdersByLogisticsTxnId", new getGroupOrdersByLogisticsTxnId());
-
 
16405
      processMap.put("addBillingDetailsForGrouppedOrders", new addBillingDetailsForGrouppedOrders());
16004
      return processMap;
16406
      return processMap;
16005
    }
16407
    }
16006
 
16408
 
16007
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
16409
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
16008
      public createTransaction() {
16410
      public createTransaction() {
Line 20317... Line 20719...
20317
        result.success = iface.getRcgTransactionStatus(args.rechargeTransactionId, args.isFinal);
20719
        result.success = iface.getRcgTransactionStatus(args.rechargeTransactionId, args.isFinal);
20318
        return result;
20720
        return result;
20319
      }
20721
      }
20320
    }
20722
    }
20321
 
20723
 
-
 
20724
    private static class bulkAddOrUpdateFlipkartFaSalesSnapshot<I extends Iface> extends org.apache.thrift.ProcessFunction<I, bulkAddOrUpdateFlipkartFaSalesSnapshot_args> {
-
 
20725
      public bulkAddOrUpdateFlipkartFaSalesSnapshot() {
-
 
20726
        super("bulkAddOrUpdateFlipkartFaSalesSnapshot");
-
 
20727
      }
-
 
20728
 
-
 
20729
      protected bulkAddOrUpdateFlipkartFaSalesSnapshot_args getEmptyArgsInstance() {
-
 
20730
        return new bulkAddOrUpdateFlipkartFaSalesSnapshot_args();
-
 
20731
      }
-
 
20732
 
-
 
20733
      protected bulkAddOrUpdateFlipkartFaSalesSnapshot_result getResult(I iface, bulkAddOrUpdateFlipkartFaSalesSnapshot_args args) throws org.apache.thrift.TException {
-
 
20734
        bulkAddOrUpdateFlipkartFaSalesSnapshot_result result = new bulkAddOrUpdateFlipkartFaSalesSnapshot_result();
-
 
20735
        iface.bulkAddOrUpdateFlipkartFaSalesSnapshot(args.flipkartfasalessnapshotlist);
-
 
20736
        return result;
-
 
20737
      }
-
 
20738
    }
-
 
20739
 
-
 
20740
    private static class getFlipkartFaSalesSnapshotForDays<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getFlipkartFaSalesSnapshotForDays_args> {
-
 
20741
      public getFlipkartFaSalesSnapshotForDays() {
-
 
20742
        super("getFlipkartFaSalesSnapshotForDays");
-
 
20743
      }
-
 
20744
 
-
 
20745
      protected getFlipkartFaSalesSnapshotForDays_args getEmptyArgsInstance() {
-
 
20746
        return new getFlipkartFaSalesSnapshotForDays_args();
-
 
20747
      }
-
 
20748
 
-
 
20749
      protected getFlipkartFaSalesSnapshotForDays_result getResult(I iface, getFlipkartFaSalesSnapshotForDays_args args) throws org.apache.thrift.TException {
-
 
20750
        getFlipkartFaSalesSnapshotForDays_result result = new getFlipkartFaSalesSnapshotForDays_result();
-
 
20751
        result.success = iface.getFlipkartFaSalesSnapshotForDays(args.days);
-
 
20752
        return result;
-
 
20753
      }
-
 
20754
    }
-
 
20755
 
-
 
20756
    private static class getFlipkartFaSalesSnapshotBySkuAndSaleDate<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getFlipkartFaSalesSnapshotBySkuAndSaleDate_args> {
-
 
20757
      public getFlipkartFaSalesSnapshotBySkuAndSaleDate() {
-
 
20758
        super("getFlipkartFaSalesSnapshotBySkuAndSaleDate");
-
 
20759
      }
-
 
20760
 
-
 
20761
      protected getFlipkartFaSalesSnapshotBySkuAndSaleDate_args getEmptyArgsInstance() {
-
 
20762
        return new getFlipkartFaSalesSnapshotBySkuAndSaleDate_args();
-
 
20763
      }
-
 
20764
 
-
 
20765
      protected getFlipkartFaSalesSnapshotBySkuAndSaleDate_result getResult(I iface, getFlipkartFaSalesSnapshotBySkuAndSaleDate_args args) throws org.apache.thrift.TException {
-
 
20766
        getFlipkartFaSalesSnapshotBySkuAndSaleDate_result result = new getFlipkartFaSalesSnapshotBySkuAndSaleDate_result();
-
 
20767
        result.success = iface.getFlipkartFaSalesSnapshotBySkuAndSaleDate(args.item_id, args.dateOfSale);
-
 
20768
        return result;
-
 
20769
      }
-
 
20770
    }
-
 
20771
 
-
 
20772
    private static class acceptPackageOrders<I extends Iface> extends org.apache.thrift.ProcessFunction<I, acceptPackageOrders_args> {
-
 
20773
      public acceptPackageOrders() {
-
 
20774
        super("acceptPackageOrders");
-
 
20775
      }
-
 
20776
 
-
 
20777
      protected acceptPackageOrders_args getEmptyArgsInstance() {
-
 
20778
        return new acceptPackageOrders_args();
-
 
20779
      }
-
 
20780
 
-
 
20781
      protected acceptPackageOrders_result getResult(I iface, acceptPackageOrders_args args) throws org.apache.thrift.TException {
-
 
20782
        acceptPackageOrders_result result = new acceptPackageOrders_result();
-
 
20783
        try {
-
 
20784
          result.success = iface.acceptPackageOrders(args.orders);
-
 
20785
          result.setSuccessIsSet(true);
-
 
20786
        } catch (TransactionServiceException ex) {
-
 
20787
          result.ex = ex;
-
 
20788
        }
-
 
20789
        return result;
-
 
20790
      }
-
 
20791
    }
-
 
20792
 
-
 
20793
    private static class getGroupOrdersByLogisticsTxnId<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getGroupOrdersByLogisticsTxnId_args> {
-
 
20794
      public getGroupOrdersByLogisticsTxnId() {
-
 
20795
        super("getGroupOrdersByLogisticsTxnId");
-
 
20796
      }
-
 
20797
 
-
 
20798
      protected getGroupOrdersByLogisticsTxnId_args getEmptyArgsInstance() {
-
 
20799
        return new getGroupOrdersByLogisticsTxnId_args();
-
 
20800
      }
-
 
20801
 
-
 
20802
      protected getGroupOrdersByLogisticsTxnId_result getResult(I iface, getGroupOrdersByLogisticsTxnId_args args) throws org.apache.thrift.TException {
-
 
20803
        getGroupOrdersByLogisticsTxnId_result result = new getGroupOrdersByLogisticsTxnId_result();
-
 
20804
        try {
-
 
20805
          result.success = iface.getGroupOrdersByLogisticsTxnId(args.logisticsTxnId);
-
 
20806
        } catch (TransactionServiceException ex) {
-
 
20807
          result.ex = ex;
-
 
20808
        }
-
 
20809
        return result;
-
 
20810
      }
-
 
20811
    }
-
 
20812
 
-
 
20813
    private static class addBillingDetailsForGrouppedOrders<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addBillingDetailsForGrouppedOrders_args> {
-
 
20814
      public addBillingDetailsForGrouppedOrders() {
-
 
20815
        super("addBillingDetailsForGrouppedOrders");
-
 
20816
      }
-
 
20817
 
-
 
20818
      protected addBillingDetailsForGrouppedOrders_args getEmptyArgsInstance() {
-
 
20819
        return new addBillingDetailsForGrouppedOrders_args();
-
 
20820
      }
-
 
20821
 
-
 
20822
      protected addBillingDetailsForGrouppedOrders_result getResult(I iface, addBillingDetailsForGrouppedOrders_args args) throws org.apache.thrift.TException {
-
 
20823
        addBillingDetailsForGrouppedOrders_result result = new addBillingDetailsForGrouppedOrders_result();
-
 
20824
        try {
-
 
20825
          result.success = iface.addBillingDetailsForGrouppedOrders(args.order_ids, args.invoice_number, args.itemNumbersMap, args.serialNumbersMap, args.freebieWarehouseIdMap, args.billed_by, args.jacketNumber, args.billingType, args.authorize);
-
 
20826
          result.setSuccessIsSet(true);
-
 
20827
        } catch (TransactionServiceException ex) {
-
 
20828
          result.ex = ex;
-
 
20829
        }
-
 
20830
        return result;
-
 
20831
      }
-
 
20832
    }
-
 
20833
 
20322
  }
20834
  }
20323
 
20835
 
20324
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
20836
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
20325
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
20837
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
20326
 
20838
 
Line 65104... Line 65616...
65104
      }
65616
      }
65105
    }
65617
    }
65106
 
65618
 
65107
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
65619
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
65108
      try {
65620
      try {
65109
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
65110
        __isset_bit_vector = new BitSet(1);
-
 
65111
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
65621
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
65112
      } catch (org.apache.thrift.TException te) {
65622
      } catch (org.apache.thrift.TException te) {
65113
        throw new java.io.IOException(te);
65623
        throw new java.io.IOException(te);
65114
      }
65624
      }
65115
    }
65625
    }
Line 70039... Line 70549...
70039
      }
70549
      }
70040
    }
70550
    }
70041
 
70551
 
70042
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
70552
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
70043
      try {
70553
      try {
70044
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
70045
        __isset_bit_vector = new BitSet(1);
-
 
70046
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
70554
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
70047
      } catch (org.apache.thrift.TException te) {
70555
      } catch (org.apache.thrift.TException te) {
70048
        throw new java.io.IOException(te);
70556
        throw new java.io.IOException(te);
70049
      }
70557
      }
70050
    }
70558
    }
Line 71472... Line 71980...
71472
      }
71980
      }
71473
    }
71981
    }
71474
 
71982
 
71475
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
71983
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
71476
      try {
71984
      try {
71477
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
71478
        __isset_bit_vector = new BitSet(1);
-
 
71479
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
71985
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
71480
      } catch (org.apache.thrift.TException te) {
71986
      } catch (org.apache.thrift.TException te) {
71481
        throw new java.io.IOException(te);
71987
        throw new java.io.IOException(te);
71482
      }
71988
      }
71483
    }
71989
    }
Line 81573... Line 82079...
81573
      }
82079
      }
81574
    }
82080
    }
81575
 
82081
 
81576
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
82082
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
81577
      try {
82083
      try {
-
 
82084
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
82085
        __isset_bit_vector = new BitSet(1);
81578
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
82086
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
81579
      } catch (org.apache.thrift.TException te) {
82087
      } catch (org.apache.thrift.TException te) {
81580
        throw new java.io.IOException(te);
82088
        throw new java.io.IOException(te);
81581
      }
82089
      }
81582
    }
82090
    }
Line 110505... Line 111013...
110505
      }
111013
      }
110506
    }
111014
    }
110507
 
111015
 
110508
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
111016
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
110509
      try {
111017
      try {
110510
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
110511
        __isset_bit_vector = new BitSet(1);
-
 
110512
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
111018
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
110513
      } catch (org.apache.thrift.TException te) {
111019
      } catch (org.apache.thrift.TException te) {
110514
        throw new java.io.IOException(te);
111020
        throw new java.io.IOException(te);
110515
      }
111021
      }
110516
    }
111022
    }
Line 188490... Line 188996...
188490
      }
188996
      }
188491
      first = false;
188997
      first = false;
188492
      sb.append(")");
188998
      sb.append(")");
188493
      return sb.toString();
188999
      return sb.toString();
188494
    }
189000
    }
-
 
189001
 
-
 
189002
    public void validate() throws org.apache.thrift.TException {
-
 
189003
      // check for required fields
-
 
189004
    }
-
 
189005
 
-
 
189006
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
189007
      try {
-
 
189008
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
189009
      } catch (org.apache.thrift.TException te) {
-
 
189010
        throw new java.io.IOException(te);
-
 
189011
      }
-
 
189012
    }
-
 
189013
 
-
 
189014
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
189015
      try {
-
 
189016
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
189017
      } catch (org.apache.thrift.TException te) {
-
 
189018
        throw new java.io.IOException(te);
-
 
189019
      }
-
 
189020
    }
-
 
189021
 
-
 
189022
  }
-
 
189023
 
-
 
189024
  public static class bulkAddOrUpdateFlipkartFaSalesSnapshot_args implements org.apache.thrift.TBase<bulkAddOrUpdateFlipkartFaSalesSnapshot_args, bulkAddOrUpdateFlipkartFaSalesSnapshot_args._Fields>, java.io.Serializable, Cloneable   {
-
 
189025
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("bulkAddOrUpdateFlipkartFaSalesSnapshot_args");
-
 
189026
 
-
 
189027
    private static final org.apache.thrift.protocol.TField FLIPKARTFASALESSNAPSHOTLIST_FIELD_DESC = new org.apache.thrift.protocol.TField("flipkartfasalessnapshotlist", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
189028
 
-
 
189029
    private List<FlipkartFaSalesSnapshot> flipkartfasalessnapshotlist; // required
-
 
189030
 
-
 
189031
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
189032
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
189033
      FLIPKARTFASALESSNAPSHOTLIST((short)1, "flipkartfasalessnapshotlist");
-
 
189034
 
-
 
189035
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
189036
 
-
 
189037
      static {
-
 
189038
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
189039
          byName.put(field.getFieldName(), field);
-
 
189040
        }
-
 
189041
      }
-
 
189042
 
-
 
189043
      /**
-
 
189044
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
189045
       */
-
 
189046
      public static _Fields findByThriftId(int fieldId) {
-
 
189047
        switch(fieldId) {
-
 
189048
          case 1: // FLIPKARTFASALESSNAPSHOTLIST
-
 
189049
            return FLIPKARTFASALESSNAPSHOTLIST;
-
 
189050
          default:
-
 
189051
            return null;
-
 
189052
        }
-
 
189053
      }
-
 
189054
 
-
 
189055
      /**
-
 
189056
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
189057
       * if it is not found.
-
 
189058
       */
-
 
189059
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
189060
        _Fields fields = findByThriftId(fieldId);
-
 
189061
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
189062
        return fields;
-
 
189063
      }
-
 
189064
 
-
 
189065
      /**
-
 
189066
       * Find the _Fields constant that matches name, or null if its not found.
-
 
189067
       */
-
 
189068
      public static _Fields findByName(String name) {
-
 
189069
        return byName.get(name);
-
 
189070
      }
-
 
189071
 
-
 
189072
      private final short _thriftId;
-
 
189073
      private final String _fieldName;
-
 
189074
 
-
 
189075
      _Fields(short thriftId, String fieldName) {
-
 
189076
        _thriftId = thriftId;
-
 
189077
        _fieldName = fieldName;
-
 
189078
      }
-
 
189079
 
-
 
189080
      public short getThriftFieldId() {
-
 
189081
        return _thriftId;
-
 
189082
      }
-
 
189083
 
-
 
189084
      public String getFieldName() {
-
 
189085
        return _fieldName;
-
 
189086
      }
-
 
189087
    }
-
 
189088
 
-
 
189089
    // isset id assignments
-
 
189090
 
-
 
189091
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
189092
    static {
-
 
189093
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
189094
      tmpMap.put(_Fields.FLIPKARTFASALESSNAPSHOTLIST, new org.apache.thrift.meta_data.FieldMetaData("flipkartfasalessnapshotlist", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
189095
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
189096
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, FlipkartFaSalesSnapshot.class))));
-
 
189097
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
189098
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(bulkAddOrUpdateFlipkartFaSalesSnapshot_args.class, metaDataMap);
-
 
189099
    }
-
 
189100
 
-
 
189101
    public bulkAddOrUpdateFlipkartFaSalesSnapshot_args() {
-
 
189102
    }
-
 
189103
 
-
 
189104
    public bulkAddOrUpdateFlipkartFaSalesSnapshot_args(
-
 
189105
      List<FlipkartFaSalesSnapshot> flipkartfasalessnapshotlist)
-
 
189106
    {
-
 
189107
      this();
-
 
189108
      this.flipkartfasalessnapshotlist = flipkartfasalessnapshotlist;
-
 
189109
    }
-
 
189110
 
-
 
189111
    /**
-
 
189112
     * Performs a deep copy on <i>other</i>.
-
 
189113
     */
-
 
189114
    public bulkAddOrUpdateFlipkartFaSalesSnapshot_args(bulkAddOrUpdateFlipkartFaSalesSnapshot_args other) {
-
 
189115
      if (other.isSetFlipkartfasalessnapshotlist()) {
-
 
189116
        List<FlipkartFaSalesSnapshot> __this__flipkartfasalessnapshotlist = new ArrayList<FlipkartFaSalesSnapshot>();
-
 
189117
        for (FlipkartFaSalesSnapshot other_element : other.flipkartfasalessnapshotlist) {
-
 
189118
          __this__flipkartfasalessnapshotlist.add(new FlipkartFaSalesSnapshot(other_element));
-
 
189119
        }
-
 
189120
        this.flipkartfasalessnapshotlist = __this__flipkartfasalessnapshotlist;
-
 
189121
      }
-
 
189122
    }
-
 
189123
 
-
 
189124
    public bulkAddOrUpdateFlipkartFaSalesSnapshot_args deepCopy() {
-
 
189125
      return new bulkAddOrUpdateFlipkartFaSalesSnapshot_args(this);
-
 
189126
    }
-
 
189127
 
-
 
189128
    @Override
-
 
189129
    public void clear() {
-
 
189130
      this.flipkartfasalessnapshotlist = null;
-
 
189131
    }
-
 
189132
 
-
 
189133
    public int getFlipkartfasalessnapshotlistSize() {
-
 
189134
      return (this.flipkartfasalessnapshotlist == null) ? 0 : this.flipkartfasalessnapshotlist.size();
-
 
189135
    }
-
 
189136
 
-
 
189137
    public java.util.Iterator<FlipkartFaSalesSnapshot> getFlipkartfasalessnapshotlistIterator() {
-
 
189138
      return (this.flipkartfasalessnapshotlist == null) ? null : this.flipkartfasalessnapshotlist.iterator();
-
 
189139
    }
-
 
189140
 
-
 
189141
    public void addToFlipkartfasalessnapshotlist(FlipkartFaSalesSnapshot elem) {
-
 
189142
      if (this.flipkartfasalessnapshotlist == null) {
-
 
189143
        this.flipkartfasalessnapshotlist = new ArrayList<FlipkartFaSalesSnapshot>();
-
 
189144
      }
-
 
189145
      this.flipkartfasalessnapshotlist.add(elem);
-
 
189146
    }
-
 
189147
 
-
 
189148
    public List<FlipkartFaSalesSnapshot> getFlipkartfasalessnapshotlist() {
-
 
189149
      return this.flipkartfasalessnapshotlist;
-
 
189150
    }
-
 
189151
 
-
 
189152
    public void setFlipkartfasalessnapshotlist(List<FlipkartFaSalesSnapshot> flipkartfasalessnapshotlist) {
-
 
189153
      this.flipkartfasalessnapshotlist = flipkartfasalessnapshotlist;
-
 
189154
    }
-
 
189155
 
-
 
189156
    public void unsetFlipkartfasalessnapshotlist() {
-
 
189157
      this.flipkartfasalessnapshotlist = null;
-
 
189158
    }
-
 
189159
 
-
 
189160
    /** Returns true if field flipkartfasalessnapshotlist is set (has been assigned a value) and false otherwise */
-
 
189161
    public boolean isSetFlipkartfasalessnapshotlist() {
-
 
189162
      return this.flipkartfasalessnapshotlist != null;
-
 
189163
    }
-
 
189164
 
-
 
189165
    public void setFlipkartfasalessnapshotlistIsSet(boolean value) {
-
 
189166
      if (!value) {
-
 
189167
        this.flipkartfasalessnapshotlist = null;
-
 
189168
      }
-
 
189169
    }
-
 
189170
 
-
 
189171
    public void setFieldValue(_Fields field, Object value) {
-
 
189172
      switch (field) {
-
 
189173
      case FLIPKARTFASALESSNAPSHOTLIST:
-
 
189174
        if (value == null) {
-
 
189175
          unsetFlipkartfasalessnapshotlist();
-
 
189176
        } else {
-
 
189177
          setFlipkartfasalessnapshotlist((List<FlipkartFaSalesSnapshot>)value);
-
 
189178
        }
-
 
189179
        break;
-
 
189180
 
-
 
189181
      }
-
 
189182
    }
-
 
189183
 
-
 
189184
    public Object getFieldValue(_Fields field) {
-
 
189185
      switch (field) {
-
 
189186
      case FLIPKARTFASALESSNAPSHOTLIST:
-
 
189187
        return getFlipkartfasalessnapshotlist();
-
 
189188
 
-
 
189189
      }
-
 
189190
      throw new IllegalStateException();
-
 
189191
    }
-
 
189192
 
-
 
189193
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
189194
    public boolean isSet(_Fields field) {
-
 
189195
      if (field == null) {
-
 
189196
        throw new IllegalArgumentException();
-
 
189197
      }
-
 
189198
 
-
 
189199
      switch (field) {
-
 
189200
      case FLIPKARTFASALESSNAPSHOTLIST:
-
 
189201
        return isSetFlipkartfasalessnapshotlist();
-
 
189202
      }
-
 
189203
      throw new IllegalStateException();
-
 
189204
    }
-
 
189205
 
-
 
189206
    @Override
-
 
189207
    public boolean equals(Object that) {
-
 
189208
      if (that == null)
-
 
189209
        return false;
-
 
189210
      if (that instanceof bulkAddOrUpdateFlipkartFaSalesSnapshot_args)
-
 
189211
        return this.equals((bulkAddOrUpdateFlipkartFaSalesSnapshot_args)that);
-
 
189212
      return false;
-
 
189213
    }
-
 
189214
 
-
 
189215
    public boolean equals(bulkAddOrUpdateFlipkartFaSalesSnapshot_args that) {
-
 
189216
      if (that == null)
-
 
189217
        return false;
-
 
189218
 
-
 
189219
      boolean this_present_flipkartfasalessnapshotlist = true && this.isSetFlipkartfasalessnapshotlist();
-
 
189220
      boolean that_present_flipkartfasalessnapshotlist = true && that.isSetFlipkartfasalessnapshotlist();
-
 
189221
      if (this_present_flipkartfasalessnapshotlist || that_present_flipkartfasalessnapshotlist) {
-
 
189222
        if (!(this_present_flipkartfasalessnapshotlist && that_present_flipkartfasalessnapshotlist))
-
 
189223
          return false;
-
 
189224
        if (!this.flipkartfasalessnapshotlist.equals(that.flipkartfasalessnapshotlist))
-
 
189225
          return false;
-
 
189226
      }
-
 
189227
 
-
 
189228
      return true;
-
 
189229
    }
-
 
189230
 
-
 
189231
    @Override
-
 
189232
    public int hashCode() {
-
 
189233
      return 0;
-
 
189234
    }
-
 
189235
 
-
 
189236
    public int compareTo(bulkAddOrUpdateFlipkartFaSalesSnapshot_args other) {
-
 
189237
      if (!getClass().equals(other.getClass())) {
-
 
189238
        return getClass().getName().compareTo(other.getClass().getName());
-
 
189239
      }
-
 
189240
 
-
 
189241
      int lastComparison = 0;
-
 
189242
      bulkAddOrUpdateFlipkartFaSalesSnapshot_args typedOther = (bulkAddOrUpdateFlipkartFaSalesSnapshot_args)other;
-
 
189243
 
-
 
189244
      lastComparison = Boolean.valueOf(isSetFlipkartfasalessnapshotlist()).compareTo(typedOther.isSetFlipkartfasalessnapshotlist());
-
 
189245
      if (lastComparison != 0) {
-
 
189246
        return lastComparison;
-
 
189247
      }
-
 
189248
      if (isSetFlipkartfasalessnapshotlist()) {
-
 
189249
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.flipkartfasalessnapshotlist, typedOther.flipkartfasalessnapshotlist);
-
 
189250
        if (lastComparison != 0) {
-
 
189251
          return lastComparison;
-
 
189252
        }
-
 
189253
      }
-
 
189254
      return 0;
-
 
189255
    }
-
 
189256
 
-
 
189257
    public _Fields fieldForId(int fieldId) {
-
 
189258
      return _Fields.findByThriftId(fieldId);
-
 
189259
    }
-
 
189260
 
-
 
189261
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
189262
      org.apache.thrift.protocol.TField field;
-
 
189263
      iprot.readStructBegin();
-
 
189264
      while (true)
-
 
189265
      {
-
 
189266
        field = iprot.readFieldBegin();
-
 
189267
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
189268
          break;
-
 
189269
        }
-
 
189270
        switch (field.id) {
-
 
189271
          case 1: // FLIPKARTFASALESSNAPSHOTLIST
-
 
189272
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
189273
              {
-
 
189274
                org.apache.thrift.protocol.TList _list589 = iprot.readListBegin();
-
 
189275
                this.flipkartfasalessnapshotlist = new ArrayList<FlipkartFaSalesSnapshot>(_list589.size);
-
 
189276
                for (int _i590 = 0; _i590 < _list589.size; ++_i590)
-
 
189277
                {
-
 
189278
                  FlipkartFaSalesSnapshot _elem591; // required
-
 
189279
                  _elem591 = new FlipkartFaSalesSnapshot();
-
 
189280
                  _elem591.read(iprot);
-
 
189281
                  this.flipkartfasalessnapshotlist.add(_elem591);
-
 
189282
                }
-
 
189283
                iprot.readListEnd();
-
 
189284
              }
-
 
189285
            } else { 
-
 
189286
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
189287
            }
-
 
189288
            break;
-
 
189289
          default:
-
 
189290
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
189291
        }
-
 
189292
        iprot.readFieldEnd();
-
 
189293
      }
-
 
189294
      iprot.readStructEnd();
-
 
189295
      validate();
-
 
189296
    }
-
 
189297
 
-
 
189298
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
189299
      validate();
-
 
189300
 
-
 
189301
      oprot.writeStructBegin(STRUCT_DESC);
-
 
189302
      if (this.flipkartfasalessnapshotlist != null) {
-
 
189303
        oprot.writeFieldBegin(FLIPKARTFASALESSNAPSHOTLIST_FIELD_DESC);
-
 
189304
        {
-
 
189305
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.flipkartfasalessnapshotlist.size()));
-
 
189306
          for (FlipkartFaSalesSnapshot _iter592 : this.flipkartfasalessnapshotlist)
-
 
189307
          {
-
 
189308
            _iter592.write(oprot);
-
 
189309
          }
-
 
189310
          oprot.writeListEnd();
-
 
189311
        }
-
 
189312
        oprot.writeFieldEnd();
-
 
189313
      }
-
 
189314
      oprot.writeFieldStop();
-
 
189315
      oprot.writeStructEnd();
-
 
189316
    }
-
 
189317
 
-
 
189318
    @Override
-
 
189319
    public String toString() {
-
 
189320
      StringBuilder sb = new StringBuilder("bulkAddOrUpdateFlipkartFaSalesSnapshot_args(");
-
 
189321
      boolean first = true;
-
 
189322
 
-
 
189323
      sb.append("flipkartfasalessnapshotlist:");
-
 
189324
      if (this.flipkartfasalessnapshotlist == null) {
-
 
189325
        sb.append("null");
-
 
189326
      } else {
-
 
189327
        sb.append(this.flipkartfasalessnapshotlist);
-
 
189328
      }
-
 
189329
      first = false;
-
 
189330
      sb.append(")");
-
 
189331
      return sb.toString();
-
 
189332
    }
-
 
189333
 
-
 
189334
    public void validate() throws org.apache.thrift.TException {
-
 
189335
      // check for required fields
-
 
189336
    }
-
 
189337
 
-
 
189338
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
189339
      try {
-
 
189340
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
189341
      } catch (org.apache.thrift.TException te) {
-
 
189342
        throw new java.io.IOException(te);
-
 
189343
      }
-
 
189344
    }
-
 
189345
 
-
 
189346
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
189347
      try {
-
 
189348
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
189349
      } catch (org.apache.thrift.TException te) {
-
 
189350
        throw new java.io.IOException(te);
-
 
189351
      }
-
 
189352
    }
-
 
189353
 
-
 
189354
  }
-
 
189355
 
-
 
189356
  public static class bulkAddOrUpdateFlipkartFaSalesSnapshot_result implements org.apache.thrift.TBase<bulkAddOrUpdateFlipkartFaSalesSnapshot_result, bulkAddOrUpdateFlipkartFaSalesSnapshot_result._Fields>, java.io.Serializable, Cloneable   {
-
 
189357
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("bulkAddOrUpdateFlipkartFaSalesSnapshot_result");
-
 
189358
 
-
 
189359
 
-
 
189360
 
-
 
189361
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
189362
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
189363
;
-
 
189364
 
-
 
189365
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
189366
 
-
 
189367
      static {
-
 
189368
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
189369
          byName.put(field.getFieldName(), field);
-
 
189370
        }
-
 
189371
      }
-
 
189372
 
-
 
189373
      /**
-
 
189374
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
189375
       */
-
 
189376
      public static _Fields findByThriftId(int fieldId) {
-
 
189377
        switch(fieldId) {
-
 
189378
          default:
-
 
189379
            return null;
-
 
189380
        }
-
 
189381
      }
-
 
189382
 
-
 
189383
      /**
-
 
189384
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
189385
       * if it is not found.
-
 
189386
       */
-
 
189387
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
189388
        _Fields fields = findByThriftId(fieldId);
-
 
189389
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
189390
        return fields;
-
 
189391
      }
-
 
189392
 
-
 
189393
      /**
-
 
189394
       * Find the _Fields constant that matches name, or null if its not found.
-
 
189395
       */
-
 
189396
      public static _Fields findByName(String name) {
-
 
189397
        return byName.get(name);
-
 
189398
      }
-
 
189399
 
-
 
189400
      private final short _thriftId;
-
 
189401
      private final String _fieldName;
-
 
189402
 
-
 
189403
      _Fields(short thriftId, String fieldName) {
-
 
189404
        _thriftId = thriftId;
-
 
189405
        _fieldName = fieldName;
-
 
189406
      }
-
 
189407
 
-
 
189408
      public short getThriftFieldId() {
-
 
189409
        return _thriftId;
-
 
189410
      }
-
 
189411
 
-
 
189412
      public String getFieldName() {
-
 
189413
        return _fieldName;
-
 
189414
      }
-
 
189415
    }
-
 
189416
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
189417
    static {
-
 
189418
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
189419
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
189420
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(bulkAddOrUpdateFlipkartFaSalesSnapshot_result.class, metaDataMap);
-
 
189421
    }
-
 
189422
 
-
 
189423
    public bulkAddOrUpdateFlipkartFaSalesSnapshot_result() {
-
 
189424
    }
-
 
189425
 
-
 
189426
    /**
-
 
189427
     * Performs a deep copy on <i>other</i>.
-
 
189428
     */
-
 
189429
    public bulkAddOrUpdateFlipkartFaSalesSnapshot_result(bulkAddOrUpdateFlipkartFaSalesSnapshot_result other) {
-
 
189430
    }
-
 
189431
 
-
 
189432
    public bulkAddOrUpdateFlipkartFaSalesSnapshot_result deepCopy() {
-
 
189433
      return new bulkAddOrUpdateFlipkartFaSalesSnapshot_result(this);
-
 
189434
    }
-
 
189435
 
-
 
189436
    @Override
-
 
189437
    public void clear() {
-
 
189438
    }
-
 
189439
 
-
 
189440
    public void setFieldValue(_Fields field, Object value) {
-
 
189441
      switch (field) {
-
 
189442
      }
-
 
189443
    }
-
 
189444
 
-
 
189445
    public Object getFieldValue(_Fields field) {
-
 
189446
      switch (field) {
-
 
189447
      }
-
 
189448
      throw new IllegalStateException();
-
 
189449
    }
-
 
189450
 
-
 
189451
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
189452
    public boolean isSet(_Fields field) {
-
 
189453
      if (field == null) {
-
 
189454
        throw new IllegalArgumentException();
-
 
189455
      }
-
 
189456
 
-
 
189457
      switch (field) {
-
 
189458
      }
-
 
189459
      throw new IllegalStateException();
-
 
189460
    }
-
 
189461
 
-
 
189462
    @Override
-
 
189463
    public boolean equals(Object that) {
-
 
189464
      if (that == null)
-
 
189465
        return false;
-
 
189466
      if (that instanceof bulkAddOrUpdateFlipkartFaSalesSnapshot_result)
-
 
189467
        return this.equals((bulkAddOrUpdateFlipkartFaSalesSnapshot_result)that);
-
 
189468
      return false;
-
 
189469
    }
-
 
189470
 
-
 
189471
    public boolean equals(bulkAddOrUpdateFlipkartFaSalesSnapshot_result that) {
-
 
189472
      if (that == null)
-
 
189473
        return false;
-
 
189474
 
-
 
189475
      return true;
-
 
189476
    }
-
 
189477
 
-
 
189478
    @Override
-
 
189479
    public int hashCode() {
-
 
189480
      return 0;
-
 
189481
    }
-
 
189482
 
-
 
189483
    public int compareTo(bulkAddOrUpdateFlipkartFaSalesSnapshot_result other) {
-
 
189484
      if (!getClass().equals(other.getClass())) {
-
 
189485
        return getClass().getName().compareTo(other.getClass().getName());
-
 
189486
      }
-
 
189487
 
-
 
189488
      int lastComparison = 0;
-
 
189489
      bulkAddOrUpdateFlipkartFaSalesSnapshot_result typedOther = (bulkAddOrUpdateFlipkartFaSalesSnapshot_result)other;
-
 
189490
 
-
 
189491
      return 0;
-
 
189492
    }
-
 
189493
 
-
 
189494
    public _Fields fieldForId(int fieldId) {
-
 
189495
      return _Fields.findByThriftId(fieldId);
-
 
189496
    }
-
 
189497
 
-
 
189498
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
189499
      org.apache.thrift.protocol.TField field;
-
 
189500
      iprot.readStructBegin();
-
 
189501
      while (true)
-
 
189502
      {
-
 
189503
        field = iprot.readFieldBegin();
-
 
189504
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
189505
          break;
-
 
189506
        }
-
 
189507
        switch (field.id) {
-
 
189508
          default:
-
 
189509
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
189510
        }
-
 
189511
        iprot.readFieldEnd();
-
 
189512
      }
-
 
189513
      iprot.readStructEnd();
-
 
189514
      validate();
-
 
189515
    }
-
 
189516
 
-
 
189517
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
189518
      oprot.writeStructBegin(STRUCT_DESC);
-
 
189519
 
-
 
189520
      oprot.writeFieldStop();
-
 
189521
      oprot.writeStructEnd();
-
 
189522
    }
-
 
189523
 
-
 
189524
    @Override
-
 
189525
    public String toString() {
-
 
189526
      StringBuilder sb = new StringBuilder("bulkAddOrUpdateFlipkartFaSalesSnapshot_result(");
-
 
189527
      boolean first = true;
-
 
189528
 
-
 
189529
      sb.append(")");
-
 
189530
      return sb.toString();
-
 
189531
    }
-
 
189532
 
-
 
189533
    public void validate() throws org.apache.thrift.TException {
-
 
189534
      // check for required fields
-
 
189535
    }
-
 
189536
 
-
 
189537
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
189538
      try {
-
 
189539
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
189540
      } catch (org.apache.thrift.TException te) {
-
 
189541
        throw new java.io.IOException(te);
-
 
189542
      }
-
 
189543
    }
-
 
189544
 
-
 
189545
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
189546
      try {
-
 
189547
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
189548
      } catch (org.apache.thrift.TException te) {
-
 
189549
        throw new java.io.IOException(te);
-
 
189550
      }
-
 
189551
    }
-
 
189552
 
-
 
189553
  }
-
 
189554
 
-
 
189555
  public static class getFlipkartFaSalesSnapshotForDays_args implements org.apache.thrift.TBase<getFlipkartFaSalesSnapshotForDays_args, getFlipkartFaSalesSnapshotForDays_args._Fields>, java.io.Serializable, Cloneable   {
-
 
189556
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getFlipkartFaSalesSnapshotForDays_args");
-
 
189557
 
-
 
189558
    private static final org.apache.thrift.protocol.TField DAYS_FIELD_DESC = new org.apache.thrift.protocol.TField("days", org.apache.thrift.protocol.TType.I32, (short)1);
-
 
189559
 
-
 
189560
    private int days; // required
-
 
189561
 
-
 
189562
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
189563
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
189564
      DAYS((short)1, "days");
-
 
189565
 
-
 
189566
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
189567
 
-
 
189568
      static {
-
 
189569
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
189570
          byName.put(field.getFieldName(), field);
-
 
189571
        }
-
 
189572
      }
-
 
189573
 
-
 
189574
      /**
-
 
189575
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
189576
       */
-
 
189577
      public static _Fields findByThriftId(int fieldId) {
-
 
189578
        switch(fieldId) {
-
 
189579
          case 1: // DAYS
-
 
189580
            return DAYS;
-
 
189581
          default:
-
 
189582
            return null;
-
 
189583
        }
-
 
189584
      }
-
 
189585
 
-
 
189586
      /**
-
 
189587
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
189588
       * if it is not found.
-
 
189589
       */
-
 
189590
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
189591
        _Fields fields = findByThriftId(fieldId);
-
 
189592
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
189593
        return fields;
-
 
189594
      }
-
 
189595
 
-
 
189596
      /**
-
 
189597
       * Find the _Fields constant that matches name, or null if its not found.
-
 
189598
       */
-
 
189599
      public static _Fields findByName(String name) {
-
 
189600
        return byName.get(name);
-
 
189601
      }
-
 
189602
 
-
 
189603
      private final short _thriftId;
-
 
189604
      private final String _fieldName;
-
 
189605
 
-
 
189606
      _Fields(short thriftId, String fieldName) {
-
 
189607
        _thriftId = thriftId;
-
 
189608
        _fieldName = fieldName;
-
 
189609
      }
-
 
189610
 
-
 
189611
      public short getThriftFieldId() {
-
 
189612
        return _thriftId;
-
 
189613
      }
-
 
189614
 
-
 
189615
      public String getFieldName() {
-
 
189616
        return _fieldName;
-
 
189617
      }
-
 
189618
    }
-
 
189619
 
-
 
189620
    // isset id assignments
-
 
189621
    private static final int __DAYS_ISSET_ID = 0;
-
 
189622
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
189623
 
-
 
189624
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
189625
    static {
-
 
189626
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
189627
      tmpMap.put(_Fields.DAYS, new org.apache.thrift.meta_data.FieldMetaData("days", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
189628
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-
 
189629
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
189630
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getFlipkartFaSalesSnapshotForDays_args.class, metaDataMap);
-
 
189631
    }
-
 
189632
 
-
 
189633
    public getFlipkartFaSalesSnapshotForDays_args() {
-
 
189634
    }
-
 
189635
 
-
 
189636
    public getFlipkartFaSalesSnapshotForDays_args(
-
 
189637
      int days)
-
 
189638
    {
-
 
189639
      this();
-
 
189640
      this.days = days;
-
 
189641
      setDaysIsSet(true);
-
 
189642
    }
-
 
189643
 
-
 
189644
    /**
-
 
189645
     * Performs a deep copy on <i>other</i>.
-
 
189646
     */
-
 
189647
    public getFlipkartFaSalesSnapshotForDays_args(getFlipkartFaSalesSnapshotForDays_args other) {
-
 
189648
      __isset_bit_vector.clear();
-
 
189649
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
189650
      this.days = other.days;
-
 
189651
    }
-
 
189652
 
-
 
189653
    public getFlipkartFaSalesSnapshotForDays_args deepCopy() {
-
 
189654
      return new getFlipkartFaSalesSnapshotForDays_args(this);
-
 
189655
    }
-
 
189656
 
-
 
189657
    @Override
-
 
189658
    public void clear() {
-
 
189659
      setDaysIsSet(false);
-
 
189660
      this.days = 0;
-
 
189661
    }
-
 
189662
 
-
 
189663
    public int getDays() {
-
 
189664
      return this.days;
-
 
189665
    }
-
 
189666
 
-
 
189667
    public void setDays(int days) {
-
 
189668
      this.days = days;
-
 
189669
      setDaysIsSet(true);
-
 
189670
    }
-
 
189671
 
-
 
189672
    public void unsetDays() {
-
 
189673
      __isset_bit_vector.clear(__DAYS_ISSET_ID);
-
 
189674
    }
-
 
189675
 
-
 
189676
    /** Returns true if field days is set (has been assigned a value) and false otherwise */
-
 
189677
    public boolean isSetDays() {
-
 
189678
      return __isset_bit_vector.get(__DAYS_ISSET_ID);
-
 
189679
    }
-
 
189680
 
-
 
189681
    public void setDaysIsSet(boolean value) {
-
 
189682
      __isset_bit_vector.set(__DAYS_ISSET_ID, value);
-
 
189683
    }
-
 
189684
 
-
 
189685
    public void setFieldValue(_Fields field, Object value) {
-
 
189686
      switch (field) {
-
 
189687
      case DAYS:
-
 
189688
        if (value == null) {
-
 
189689
          unsetDays();
-
 
189690
        } else {
-
 
189691
          setDays((Integer)value);
-
 
189692
        }
-
 
189693
        break;
-
 
189694
 
-
 
189695
      }
-
 
189696
    }
-
 
189697
 
-
 
189698
    public Object getFieldValue(_Fields field) {
-
 
189699
      switch (field) {
-
 
189700
      case DAYS:
-
 
189701
        return Integer.valueOf(getDays());
-
 
189702
 
-
 
189703
      }
-
 
189704
      throw new IllegalStateException();
-
 
189705
    }
-
 
189706
 
-
 
189707
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
189708
    public boolean isSet(_Fields field) {
-
 
189709
      if (field == null) {
-
 
189710
        throw new IllegalArgumentException();
-
 
189711
      }
-
 
189712
 
-
 
189713
      switch (field) {
-
 
189714
      case DAYS:
-
 
189715
        return isSetDays();
-
 
189716
      }
-
 
189717
      throw new IllegalStateException();
-
 
189718
    }
-
 
189719
 
-
 
189720
    @Override
-
 
189721
    public boolean equals(Object that) {
-
 
189722
      if (that == null)
-
 
189723
        return false;
-
 
189724
      if (that instanceof getFlipkartFaSalesSnapshotForDays_args)
-
 
189725
        return this.equals((getFlipkartFaSalesSnapshotForDays_args)that);
-
 
189726
      return false;
-
 
189727
    }
-
 
189728
 
-
 
189729
    public boolean equals(getFlipkartFaSalesSnapshotForDays_args that) {
-
 
189730
      if (that == null)
-
 
189731
        return false;
-
 
189732
 
-
 
189733
      boolean this_present_days = true;
-
 
189734
      boolean that_present_days = true;
-
 
189735
      if (this_present_days || that_present_days) {
-
 
189736
        if (!(this_present_days && that_present_days))
-
 
189737
          return false;
-
 
189738
        if (this.days != that.days)
-
 
189739
          return false;
-
 
189740
      }
-
 
189741
 
-
 
189742
      return true;
-
 
189743
    }
-
 
189744
 
-
 
189745
    @Override
-
 
189746
    public int hashCode() {
-
 
189747
      return 0;
-
 
189748
    }
-
 
189749
 
-
 
189750
    public int compareTo(getFlipkartFaSalesSnapshotForDays_args other) {
-
 
189751
      if (!getClass().equals(other.getClass())) {
-
 
189752
        return getClass().getName().compareTo(other.getClass().getName());
-
 
189753
      }
-
 
189754
 
-
 
189755
      int lastComparison = 0;
-
 
189756
      getFlipkartFaSalesSnapshotForDays_args typedOther = (getFlipkartFaSalesSnapshotForDays_args)other;
-
 
189757
 
-
 
189758
      lastComparison = Boolean.valueOf(isSetDays()).compareTo(typedOther.isSetDays());
-
 
189759
      if (lastComparison != 0) {
-
 
189760
        return lastComparison;
-
 
189761
      }
-
 
189762
      if (isSetDays()) {
-
 
189763
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.days, typedOther.days);
-
 
189764
        if (lastComparison != 0) {
-
 
189765
          return lastComparison;
-
 
189766
        }
-
 
189767
      }
-
 
189768
      return 0;
-
 
189769
    }
-
 
189770
 
-
 
189771
    public _Fields fieldForId(int fieldId) {
-
 
189772
      return _Fields.findByThriftId(fieldId);
-
 
189773
    }
-
 
189774
 
-
 
189775
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
189776
      org.apache.thrift.protocol.TField field;
-
 
189777
      iprot.readStructBegin();
-
 
189778
      while (true)
-
 
189779
      {
-
 
189780
        field = iprot.readFieldBegin();
-
 
189781
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
189782
          break;
-
 
189783
        }
-
 
189784
        switch (field.id) {
-
 
189785
          case 1: // DAYS
-
 
189786
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
189787
              this.days = iprot.readI32();
-
 
189788
              setDaysIsSet(true);
-
 
189789
            } else { 
-
 
189790
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
189791
            }
-
 
189792
            break;
-
 
189793
          default:
-
 
189794
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
189795
        }
-
 
189796
        iprot.readFieldEnd();
-
 
189797
      }
-
 
189798
      iprot.readStructEnd();
-
 
189799
      validate();
-
 
189800
    }
-
 
189801
 
-
 
189802
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
189803
      validate();
-
 
189804
 
-
 
189805
      oprot.writeStructBegin(STRUCT_DESC);
-
 
189806
      oprot.writeFieldBegin(DAYS_FIELD_DESC);
-
 
189807
      oprot.writeI32(this.days);
-
 
189808
      oprot.writeFieldEnd();
-
 
189809
      oprot.writeFieldStop();
-
 
189810
      oprot.writeStructEnd();
-
 
189811
    }
-
 
189812
 
-
 
189813
    @Override
-
 
189814
    public String toString() {
-
 
189815
      StringBuilder sb = new StringBuilder("getFlipkartFaSalesSnapshotForDays_args(");
-
 
189816
      boolean first = true;
-
 
189817
 
-
 
189818
      sb.append("days:");
-
 
189819
      sb.append(this.days);
-
 
189820
      first = false;
-
 
189821
      sb.append(")");
-
 
189822
      return sb.toString();
-
 
189823
    }
-
 
189824
 
-
 
189825
    public void validate() throws org.apache.thrift.TException {
-
 
189826
      // check for required fields
-
 
189827
    }
-
 
189828
 
-
 
189829
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
189830
      try {
-
 
189831
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
189832
      } catch (org.apache.thrift.TException te) {
-
 
189833
        throw new java.io.IOException(te);
-
 
189834
      }
-
 
189835
    }
-
 
189836
 
-
 
189837
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
189838
      try {
-
 
189839
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
189840
        __isset_bit_vector = new BitSet(1);
-
 
189841
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
189842
      } catch (org.apache.thrift.TException te) {
-
 
189843
        throw new java.io.IOException(te);
-
 
189844
      }
-
 
189845
    }
-
 
189846
 
-
 
189847
  }
-
 
189848
 
-
 
189849
  public static class getFlipkartFaSalesSnapshotForDays_result implements org.apache.thrift.TBase<getFlipkartFaSalesSnapshotForDays_result, getFlipkartFaSalesSnapshotForDays_result._Fields>, java.io.Serializable, Cloneable   {
-
 
189850
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getFlipkartFaSalesSnapshotForDays_result");
-
 
189851
 
-
 
189852
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
189853
 
-
 
189854
    private List<FlipkartFaSalesSnapshot> success; // required
-
 
189855
 
-
 
189856
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
189857
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
189858
      SUCCESS((short)0, "success");
-
 
189859
 
-
 
189860
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
189861
 
-
 
189862
      static {
-
 
189863
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
189864
          byName.put(field.getFieldName(), field);
-
 
189865
        }
-
 
189866
      }
-
 
189867
 
-
 
189868
      /**
-
 
189869
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
189870
       */
-
 
189871
      public static _Fields findByThriftId(int fieldId) {
-
 
189872
        switch(fieldId) {
-
 
189873
          case 0: // SUCCESS
-
 
189874
            return SUCCESS;
-
 
189875
          default:
-
 
189876
            return null;
-
 
189877
        }
-
 
189878
      }
-
 
189879
 
-
 
189880
      /**
-
 
189881
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
189882
       * if it is not found.
-
 
189883
       */
-
 
189884
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
189885
        _Fields fields = findByThriftId(fieldId);
-
 
189886
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
189887
        return fields;
-
 
189888
      }
-
 
189889
 
-
 
189890
      /**
-
 
189891
       * Find the _Fields constant that matches name, or null if its not found.
-
 
189892
       */
-
 
189893
      public static _Fields findByName(String name) {
-
 
189894
        return byName.get(name);
-
 
189895
      }
-
 
189896
 
-
 
189897
      private final short _thriftId;
-
 
189898
      private final String _fieldName;
-
 
189899
 
-
 
189900
      _Fields(short thriftId, String fieldName) {
-
 
189901
        _thriftId = thriftId;
-
 
189902
        _fieldName = fieldName;
-
 
189903
      }
-
 
189904
 
-
 
189905
      public short getThriftFieldId() {
-
 
189906
        return _thriftId;
-
 
189907
      }
-
 
189908
 
-
 
189909
      public String getFieldName() {
-
 
189910
        return _fieldName;
-
 
189911
      }
-
 
189912
    }
-
 
189913
 
-
 
189914
    // isset id assignments
-
 
189915
 
-
 
189916
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
189917
    static {
-
 
189918
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
189919
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
189920
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
189921
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, FlipkartFaSalesSnapshot.class))));
-
 
189922
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
189923
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getFlipkartFaSalesSnapshotForDays_result.class, metaDataMap);
-
 
189924
    }
-
 
189925
 
-
 
189926
    public getFlipkartFaSalesSnapshotForDays_result() {
-
 
189927
    }
-
 
189928
 
-
 
189929
    public getFlipkartFaSalesSnapshotForDays_result(
-
 
189930
      List<FlipkartFaSalesSnapshot> success)
-
 
189931
    {
-
 
189932
      this();
-
 
189933
      this.success = success;
-
 
189934
    }
-
 
189935
 
-
 
189936
    /**
-
 
189937
     * Performs a deep copy on <i>other</i>.
-
 
189938
     */
-
 
189939
    public getFlipkartFaSalesSnapshotForDays_result(getFlipkartFaSalesSnapshotForDays_result other) {
-
 
189940
      if (other.isSetSuccess()) {
-
 
189941
        List<FlipkartFaSalesSnapshot> __this__success = new ArrayList<FlipkartFaSalesSnapshot>();
-
 
189942
        for (FlipkartFaSalesSnapshot other_element : other.success) {
-
 
189943
          __this__success.add(new FlipkartFaSalesSnapshot(other_element));
-
 
189944
        }
-
 
189945
        this.success = __this__success;
-
 
189946
      }
-
 
189947
    }
-
 
189948
 
-
 
189949
    public getFlipkartFaSalesSnapshotForDays_result deepCopy() {
-
 
189950
      return new getFlipkartFaSalesSnapshotForDays_result(this);
-
 
189951
    }
-
 
189952
 
-
 
189953
    @Override
-
 
189954
    public void clear() {
-
 
189955
      this.success = null;
-
 
189956
    }
-
 
189957
 
-
 
189958
    public int getSuccessSize() {
-
 
189959
      return (this.success == null) ? 0 : this.success.size();
-
 
189960
    }
-
 
189961
 
-
 
189962
    public java.util.Iterator<FlipkartFaSalesSnapshot> getSuccessIterator() {
-
 
189963
      return (this.success == null) ? null : this.success.iterator();
-
 
189964
    }
-
 
189965
 
-
 
189966
    public void addToSuccess(FlipkartFaSalesSnapshot elem) {
-
 
189967
      if (this.success == null) {
-
 
189968
        this.success = new ArrayList<FlipkartFaSalesSnapshot>();
-
 
189969
      }
-
 
189970
      this.success.add(elem);
-
 
189971
    }
-
 
189972
 
-
 
189973
    public List<FlipkartFaSalesSnapshot> getSuccess() {
-
 
189974
      return this.success;
-
 
189975
    }
-
 
189976
 
-
 
189977
    public void setSuccess(List<FlipkartFaSalesSnapshot> success) {
-
 
189978
      this.success = success;
-
 
189979
    }
-
 
189980
 
-
 
189981
    public void unsetSuccess() {
-
 
189982
      this.success = null;
-
 
189983
    }
-
 
189984
 
-
 
189985
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
189986
    public boolean isSetSuccess() {
-
 
189987
      return this.success != null;
-
 
189988
    }
-
 
189989
 
-
 
189990
    public void setSuccessIsSet(boolean value) {
-
 
189991
      if (!value) {
-
 
189992
        this.success = null;
-
 
189993
      }
-
 
189994
    }
-
 
189995
 
-
 
189996
    public void setFieldValue(_Fields field, Object value) {
-
 
189997
      switch (field) {
-
 
189998
      case SUCCESS:
-
 
189999
        if (value == null) {
-
 
190000
          unsetSuccess();
-
 
190001
        } else {
-
 
190002
          setSuccess((List<FlipkartFaSalesSnapshot>)value);
-
 
190003
        }
-
 
190004
        break;
-
 
190005
 
-
 
190006
      }
-
 
190007
    }
-
 
190008
 
-
 
190009
    public Object getFieldValue(_Fields field) {
-
 
190010
      switch (field) {
-
 
190011
      case SUCCESS:
-
 
190012
        return getSuccess();
-
 
190013
 
-
 
190014
      }
-
 
190015
      throw new IllegalStateException();
-
 
190016
    }
-
 
190017
 
-
 
190018
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
190019
    public boolean isSet(_Fields field) {
-
 
190020
      if (field == null) {
-
 
190021
        throw new IllegalArgumentException();
-
 
190022
      }
-
 
190023
 
-
 
190024
      switch (field) {
-
 
190025
      case SUCCESS:
-
 
190026
        return isSetSuccess();
-
 
190027
      }
-
 
190028
      throw new IllegalStateException();
-
 
190029
    }
-
 
190030
 
-
 
190031
    @Override
-
 
190032
    public boolean equals(Object that) {
-
 
190033
      if (that == null)
-
 
190034
        return false;
-
 
190035
      if (that instanceof getFlipkartFaSalesSnapshotForDays_result)
-
 
190036
        return this.equals((getFlipkartFaSalesSnapshotForDays_result)that);
-
 
190037
      return false;
-
 
190038
    }
-
 
190039
 
-
 
190040
    public boolean equals(getFlipkartFaSalesSnapshotForDays_result that) {
-
 
190041
      if (that == null)
-
 
190042
        return false;
-
 
190043
 
-
 
190044
      boolean this_present_success = true && this.isSetSuccess();
-
 
190045
      boolean that_present_success = true && that.isSetSuccess();
-
 
190046
      if (this_present_success || that_present_success) {
-
 
190047
        if (!(this_present_success && that_present_success))
-
 
190048
          return false;
-
 
190049
        if (!this.success.equals(that.success))
-
 
190050
          return false;
-
 
190051
      }
-
 
190052
 
-
 
190053
      return true;
-
 
190054
    }
-
 
190055
 
-
 
190056
    @Override
-
 
190057
    public int hashCode() {
-
 
190058
      return 0;
-
 
190059
    }
-
 
190060
 
-
 
190061
    public int compareTo(getFlipkartFaSalesSnapshotForDays_result other) {
-
 
190062
      if (!getClass().equals(other.getClass())) {
-
 
190063
        return getClass().getName().compareTo(other.getClass().getName());
-
 
190064
      }
-
 
190065
 
-
 
190066
      int lastComparison = 0;
-
 
190067
      getFlipkartFaSalesSnapshotForDays_result typedOther = (getFlipkartFaSalesSnapshotForDays_result)other;
-
 
190068
 
-
 
190069
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
190070
      if (lastComparison != 0) {
-
 
190071
        return lastComparison;
-
 
190072
      }
-
 
190073
      if (isSetSuccess()) {
-
 
190074
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
190075
        if (lastComparison != 0) {
-
 
190076
          return lastComparison;
-
 
190077
        }
-
 
190078
      }
-
 
190079
      return 0;
-
 
190080
    }
-
 
190081
 
-
 
190082
    public _Fields fieldForId(int fieldId) {
-
 
190083
      return _Fields.findByThriftId(fieldId);
-
 
190084
    }
-
 
190085
 
-
 
190086
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
190087
      org.apache.thrift.protocol.TField field;
-
 
190088
      iprot.readStructBegin();
-
 
190089
      while (true)
-
 
190090
      {
-
 
190091
        field = iprot.readFieldBegin();
-
 
190092
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
190093
          break;
-
 
190094
        }
-
 
190095
        switch (field.id) {
-
 
190096
          case 0: // SUCCESS
-
 
190097
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
190098
              {
-
 
190099
                org.apache.thrift.protocol.TList _list593 = iprot.readListBegin();
-
 
190100
                this.success = new ArrayList<FlipkartFaSalesSnapshot>(_list593.size);
-
 
190101
                for (int _i594 = 0; _i594 < _list593.size; ++_i594)
-
 
190102
                {
-
 
190103
                  FlipkartFaSalesSnapshot _elem595; // required
-
 
190104
                  _elem595 = new FlipkartFaSalesSnapshot();
-
 
190105
                  _elem595.read(iprot);
-
 
190106
                  this.success.add(_elem595);
-
 
190107
                }
-
 
190108
                iprot.readListEnd();
-
 
190109
              }
-
 
190110
            } else { 
-
 
190111
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
190112
            }
-
 
190113
            break;
-
 
190114
          default:
-
 
190115
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
190116
        }
-
 
190117
        iprot.readFieldEnd();
-
 
190118
      }
-
 
190119
      iprot.readStructEnd();
-
 
190120
      validate();
-
 
190121
    }
-
 
190122
 
-
 
190123
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
190124
      oprot.writeStructBegin(STRUCT_DESC);
-
 
190125
 
-
 
190126
      if (this.isSetSuccess()) {
-
 
190127
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
190128
        {
-
 
190129
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
190130
          for (FlipkartFaSalesSnapshot _iter596 : this.success)
-
 
190131
          {
-
 
190132
            _iter596.write(oprot);
-
 
190133
          }
-
 
190134
          oprot.writeListEnd();
-
 
190135
        }
-
 
190136
        oprot.writeFieldEnd();
-
 
190137
      }
-
 
190138
      oprot.writeFieldStop();
-
 
190139
      oprot.writeStructEnd();
-
 
190140
    }
-
 
190141
 
-
 
190142
    @Override
-
 
190143
    public String toString() {
-
 
190144
      StringBuilder sb = new StringBuilder("getFlipkartFaSalesSnapshotForDays_result(");
-
 
190145
      boolean first = true;
-
 
190146
 
-
 
190147
      sb.append("success:");
-
 
190148
      if (this.success == null) {
-
 
190149
        sb.append("null");
-
 
190150
      } else {
-
 
190151
        sb.append(this.success);
-
 
190152
      }
-
 
190153
      first = false;
-
 
190154
      sb.append(")");
-
 
190155
      return sb.toString();
-
 
190156
    }
-
 
190157
 
-
 
190158
    public void validate() throws org.apache.thrift.TException {
-
 
190159
      // check for required fields
-
 
190160
    }
-
 
190161
 
-
 
190162
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
190163
      try {
-
 
190164
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
190165
      } catch (org.apache.thrift.TException te) {
-
 
190166
        throw new java.io.IOException(te);
-
 
190167
      }
-
 
190168
    }
-
 
190169
 
-
 
190170
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
190171
      try {
-
 
190172
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
190173
      } catch (org.apache.thrift.TException te) {
-
 
190174
        throw new java.io.IOException(te);
-
 
190175
      }
-
 
190176
    }
-
 
190177
 
-
 
190178
  }
-
 
190179
 
-
 
190180
  public static class getFlipkartFaSalesSnapshotBySkuAndSaleDate_args implements org.apache.thrift.TBase<getFlipkartFaSalesSnapshotBySkuAndSaleDate_args, getFlipkartFaSalesSnapshotBySkuAndSaleDate_args._Fields>, java.io.Serializable, Cloneable   {
-
 
190181
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getFlipkartFaSalesSnapshotBySkuAndSaleDate_args");
-
 
190182
 
-
 
190183
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("item_id", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
190184
    private static final org.apache.thrift.protocol.TField DATE_OF_SALE_FIELD_DESC = new org.apache.thrift.protocol.TField("dateOfSale", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
190185
 
-
 
190186
    private long item_id; // required
-
 
190187
    private long dateOfSale; // required
-
 
190188
 
-
 
190189
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
190190
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
190191
      ITEM_ID((short)1, "item_id"),
-
 
190192
      DATE_OF_SALE((short)2, "dateOfSale");
-
 
190193
 
-
 
190194
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
190195
 
-
 
190196
      static {
-
 
190197
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
190198
          byName.put(field.getFieldName(), field);
-
 
190199
        }
-
 
190200
      }
-
 
190201
 
-
 
190202
      /**
-
 
190203
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
190204
       */
-
 
190205
      public static _Fields findByThriftId(int fieldId) {
-
 
190206
        switch(fieldId) {
-
 
190207
          case 1: // ITEM_ID
-
 
190208
            return ITEM_ID;
-
 
190209
          case 2: // DATE_OF_SALE
-
 
190210
            return DATE_OF_SALE;
-
 
190211
          default:
-
 
190212
            return null;
-
 
190213
        }
-
 
190214
      }
-
 
190215
 
-
 
190216
      /**
-
 
190217
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
190218
       * if it is not found.
-
 
190219
       */
-
 
190220
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
190221
        _Fields fields = findByThriftId(fieldId);
-
 
190222
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
190223
        return fields;
-
 
190224
      }
-
 
190225
 
-
 
190226
      /**
-
 
190227
       * Find the _Fields constant that matches name, or null if its not found.
-
 
190228
       */
-
 
190229
      public static _Fields findByName(String name) {
-
 
190230
        return byName.get(name);
-
 
190231
      }
-
 
190232
 
-
 
190233
      private final short _thriftId;
-
 
190234
      private final String _fieldName;
-
 
190235
 
-
 
190236
      _Fields(short thriftId, String fieldName) {
-
 
190237
        _thriftId = thriftId;
-
 
190238
        _fieldName = fieldName;
-
 
190239
      }
-
 
190240
 
-
 
190241
      public short getThriftFieldId() {
-
 
190242
        return _thriftId;
-
 
190243
      }
-
 
190244
 
-
 
190245
      public String getFieldName() {
-
 
190246
        return _fieldName;
-
 
190247
      }
-
 
190248
    }
-
 
190249
 
-
 
190250
    // isset id assignments
-
 
190251
    private static final int __ITEM_ID_ISSET_ID = 0;
-
 
190252
    private static final int __DATEOFSALE_ISSET_ID = 1;
-
 
190253
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
190254
 
-
 
190255
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
190256
    static {
-
 
190257
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
190258
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
190259
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
190260
      tmpMap.put(_Fields.DATE_OF_SALE, new org.apache.thrift.meta_data.FieldMetaData("dateOfSale", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
190261
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
190262
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
190263
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getFlipkartFaSalesSnapshotBySkuAndSaleDate_args.class, metaDataMap);
-
 
190264
    }
-
 
190265
 
-
 
190266
    public getFlipkartFaSalesSnapshotBySkuAndSaleDate_args() {
-
 
190267
    }
-
 
190268
 
-
 
190269
    public getFlipkartFaSalesSnapshotBySkuAndSaleDate_args(
-
 
190270
      long item_id,
-
 
190271
      long dateOfSale)
-
 
190272
    {
-
 
190273
      this();
-
 
190274
      this.item_id = item_id;
-
 
190275
      setItem_idIsSet(true);
-
 
190276
      this.dateOfSale = dateOfSale;
-
 
190277
      setDateOfSaleIsSet(true);
-
 
190278
    }
-
 
190279
 
-
 
190280
    /**
-
 
190281
     * Performs a deep copy on <i>other</i>.
-
 
190282
     */
-
 
190283
    public getFlipkartFaSalesSnapshotBySkuAndSaleDate_args(getFlipkartFaSalesSnapshotBySkuAndSaleDate_args other) {
-
 
190284
      __isset_bit_vector.clear();
-
 
190285
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
190286
      this.item_id = other.item_id;
-
 
190287
      this.dateOfSale = other.dateOfSale;
-
 
190288
    }
-
 
190289
 
-
 
190290
    public getFlipkartFaSalesSnapshotBySkuAndSaleDate_args deepCopy() {
-
 
190291
      return new getFlipkartFaSalesSnapshotBySkuAndSaleDate_args(this);
-
 
190292
    }
-
 
190293
 
-
 
190294
    @Override
-
 
190295
    public void clear() {
-
 
190296
      setItem_idIsSet(false);
-
 
190297
      this.item_id = 0;
-
 
190298
      setDateOfSaleIsSet(false);
-
 
190299
      this.dateOfSale = 0;
-
 
190300
    }
-
 
190301
 
-
 
190302
    public long getItem_id() {
-
 
190303
      return this.item_id;
-
 
190304
    }
-
 
190305
 
-
 
190306
    public void setItem_id(long item_id) {
-
 
190307
      this.item_id = item_id;
-
 
190308
      setItem_idIsSet(true);
-
 
190309
    }
-
 
190310
 
-
 
190311
    public void unsetItem_id() {
-
 
190312
      __isset_bit_vector.clear(__ITEM_ID_ISSET_ID);
-
 
190313
    }
-
 
190314
 
-
 
190315
    /** Returns true if field item_id is set (has been assigned a value) and false otherwise */
-
 
190316
    public boolean isSetItem_id() {
-
 
190317
      return __isset_bit_vector.get(__ITEM_ID_ISSET_ID);
-
 
190318
    }
-
 
190319
 
-
 
190320
    public void setItem_idIsSet(boolean value) {
-
 
190321
      __isset_bit_vector.set(__ITEM_ID_ISSET_ID, value);
-
 
190322
    }
-
 
190323
 
-
 
190324
    public long getDateOfSale() {
-
 
190325
      return this.dateOfSale;
-
 
190326
    }
-
 
190327
 
-
 
190328
    public void setDateOfSale(long dateOfSale) {
-
 
190329
      this.dateOfSale = dateOfSale;
-
 
190330
      setDateOfSaleIsSet(true);
-
 
190331
    }
-
 
190332
 
-
 
190333
    public void unsetDateOfSale() {
-
 
190334
      __isset_bit_vector.clear(__DATEOFSALE_ISSET_ID);
-
 
190335
    }
-
 
190336
 
-
 
190337
    /** Returns true if field dateOfSale is set (has been assigned a value) and false otherwise */
-
 
190338
    public boolean isSetDateOfSale() {
-
 
190339
      return __isset_bit_vector.get(__DATEOFSALE_ISSET_ID);
-
 
190340
    }
-
 
190341
 
-
 
190342
    public void setDateOfSaleIsSet(boolean value) {
-
 
190343
      __isset_bit_vector.set(__DATEOFSALE_ISSET_ID, value);
-
 
190344
    }
-
 
190345
 
-
 
190346
    public void setFieldValue(_Fields field, Object value) {
-
 
190347
      switch (field) {
-
 
190348
      case ITEM_ID:
-
 
190349
        if (value == null) {
-
 
190350
          unsetItem_id();
-
 
190351
        } else {
-
 
190352
          setItem_id((Long)value);
-
 
190353
        }
-
 
190354
        break;
-
 
190355
 
-
 
190356
      case DATE_OF_SALE:
-
 
190357
        if (value == null) {
-
 
190358
          unsetDateOfSale();
-
 
190359
        } else {
-
 
190360
          setDateOfSale((Long)value);
-
 
190361
        }
-
 
190362
        break;
-
 
190363
 
-
 
190364
      }
-
 
190365
    }
-
 
190366
 
-
 
190367
    public Object getFieldValue(_Fields field) {
-
 
190368
      switch (field) {
-
 
190369
      case ITEM_ID:
-
 
190370
        return Long.valueOf(getItem_id());
-
 
190371
 
-
 
190372
      case DATE_OF_SALE:
-
 
190373
        return Long.valueOf(getDateOfSale());
-
 
190374
 
-
 
190375
      }
-
 
190376
      throw new IllegalStateException();
-
 
190377
    }
-
 
190378
 
-
 
190379
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
190380
    public boolean isSet(_Fields field) {
-
 
190381
      if (field == null) {
-
 
190382
        throw new IllegalArgumentException();
-
 
190383
      }
-
 
190384
 
-
 
190385
      switch (field) {
-
 
190386
      case ITEM_ID:
-
 
190387
        return isSetItem_id();
-
 
190388
      case DATE_OF_SALE:
-
 
190389
        return isSetDateOfSale();
-
 
190390
      }
-
 
190391
      throw new IllegalStateException();
-
 
190392
    }
-
 
190393
 
-
 
190394
    @Override
-
 
190395
    public boolean equals(Object that) {
-
 
190396
      if (that == null)
-
 
190397
        return false;
-
 
190398
      if (that instanceof getFlipkartFaSalesSnapshotBySkuAndSaleDate_args)
-
 
190399
        return this.equals((getFlipkartFaSalesSnapshotBySkuAndSaleDate_args)that);
-
 
190400
      return false;
-
 
190401
    }
-
 
190402
 
-
 
190403
    public boolean equals(getFlipkartFaSalesSnapshotBySkuAndSaleDate_args that) {
-
 
190404
      if (that == null)
-
 
190405
        return false;
-
 
190406
 
-
 
190407
      boolean this_present_item_id = true;
-
 
190408
      boolean that_present_item_id = true;
-
 
190409
      if (this_present_item_id || that_present_item_id) {
-
 
190410
        if (!(this_present_item_id && that_present_item_id))
-
 
190411
          return false;
-
 
190412
        if (this.item_id != that.item_id)
-
 
190413
          return false;
-
 
190414
      }
-
 
190415
 
-
 
190416
      boolean this_present_dateOfSale = true;
-
 
190417
      boolean that_present_dateOfSale = true;
-
 
190418
      if (this_present_dateOfSale || that_present_dateOfSale) {
-
 
190419
        if (!(this_present_dateOfSale && that_present_dateOfSale))
-
 
190420
          return false;
-
 
190421
        if (this.dateOfSale != that.dateOfSale)
-
 
190422
          return false;
-
 
190423
      }
-
 
190424
 
-
 
190425
      return true;
-
 
190426
    }
-
 
190427
 
-
 
190428
    @Override
-
 
190429
    public int hashCode() {
-
 
190430
      return 0;
-
 
190431
    }
-
 
190432
 
-
 
190433
    public int compareTo(getFlipkartFaSalesSnapshotBySkuAndSaleDate_args other) {
-
 
190434
      if (!getClass().equals(other.getClass())) {
-
 
190435
        return getClass().getName().compareTo(other.getClass().getName());
-
 
190436
      }
-
 
190437
 
-
 
190438
      int lastComparison = 0;
-
 
190439
      getFlipkartFaSalesSnapshotBySkuAndSaleDate_args typedOther = (getFlipkartFaSalesSnapshotBySkuAndSaleDate_args)other;
-
 
190440
 
-
 
190441
      lastComparison = Boolean.valueOf(isSetItem_id()).compareTo(typedOther.isSetItem_id());
-
 
190442
      if (lastComparison != 0) {
-
 
190443
        return lastComparison;
-
 
190444
      }
-
 
190445
      if (isSetItem_id()) {
-
 
190446
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.item_id, typedOther.item_id);
-
 
190447
        if (lastComparison != 0) {
-
 
190448
          return lastComparison;
-
 
190449
        }
-
 
190450
      }
-
 
190451
      lastComparison = Boolean.valueOf(isSetDateOfSale()).compareTo(typedOther.isSetDateOfSale());
-
 
190452
      if (lastComparison != 0) {
-
 
190453
        return lastComparison;
-
 
190454
      }
-
 
190455
      if (isSetDateOfSale()) {
-
 
190456
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dateOfSale, typedOther.dateOfSale);
-
 
190457
        if (lastComparison != 0) {
-
 
190458
          return lastComparison;
-
 
190459
        }
-
 
190460
      }
-
 
190461
      return 0;
-
 
190462
    }
-
 
190463
 
-
 
190464
    public _Fields fieldForId(int fieldId) {
-
 
190465
      return _Fields.findByThriftId(fieldId);
-
 
190466
    }
-
 
190467
 
-
 
190468
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
190469
      org.apache.thrift.protocol.TField field;
-
 
190470
      iprot.readStructBegin();
-
 
190471
      while (true)
-
 
190472
      {
-
 
190473
        field = iprot.readFieldBegin();
-
 
190474
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
190475
          break;
-
 
190476
        }
-
 
190477
        switch (field.id) {
-
 
190478
          case 1: // ITEM_ID
-
 
190479
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
190480
              this.item_id = iprot.readI64();
-
 
190481
              setItem_idIsSet(true);
-
 
190482
            } else { 
-
 
190483
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
190484
            }
-
 
190485
            break;
-
 
190486
          case 2: // DATE_OF_SALE
-
 
190487
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
190488
              this.dateOfSale = iprot.readI64();
-
 
190489
              setDateOfSaleIsSet(true);
-
 
190490
            } else { 
-
 
190491
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
190492
            }
-
 
190493
            break;
-
 
190494
          default:
-
 
190495
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
190496
        }
-
 
190497
        iprot.readFieldEnd();
-
 
190498
      }
-
 
190499
      iprot.readStructEnd();
-
 
190500
      validate();
-
 
190501
    }
-
 
190502
 
-
 
190503
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
190504
      validate();
-
 
190505
 
-
 
190506
      oprot.writeStructBegin(STRUCT_DESC);
-
 
190507
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
190508
      oprot.writeI64(this.item_id);
-
 
190509
      oprot.writeFieldEnd();
-
 
190510
      oprot.writeFieldBegin(DATE_OF_SALE_FIELD_DESC);
-
 
190511
      oprot.writeI64(this.dateOfSale);
-
 
190512
      oprot.writeFieldEnd();
-
 
190513
      oprot.writeFieldStop();
-
 
190514
      oprot.writeStructEnd();
-
 
190515
    }
-
 
190516
 
-
 
190517
    @Override
-
 
190518
    public String toString() {
-
 
190519
      StringBuilder sb = new StringBuilder("getFlipkartFaSalesSnapshotBySkuAndSaleDate_args(");
-
 
190520
      boolean first = true;
-
 
190521
 
-
 
190522
      sb.append("item_id:");
-
 
190523
      sb.append(this.item_id);
-
 
190524
      first = false;
-
 
190525
      if (!first) sb.append(", ");
-
 
190526
      sb.append("dateOfSale:");
-
 
190527
      sb.append(this.dateOfSale);
-
 
190528
      first = false;
-
 
190529
      sb.append(")");
-
 
190530
      return sb.toString();
-
 
190531
    }
-
 
190532
 
-
 
190533
    public void validate() throws org.apache.thrift.TException {
-
 
190534
      // check for required fields
-
 
190535
    }
-
 
190536
 
-
 
190537
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
190538
      try {
-
 
190539
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
190540
      } catch (org.apache.thrift.TException te) {
-
 
190541
        throw new java.io.IOException(te);
-
 
190542
      }
-
 
190543
    }
-
 
190544
 
-
 
190545
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
190546
      try {
-
 
190547
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
190548
        __isset_bit_vector = new BitSet(1);
-
 
190549
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
190550
      } catch (org.apache.thrift.TException te) {
-
 
190551
        throw new java.io.IOException(te);
-
 
190552
      }
-
 
190553
    }
-
 
190554
 
-
 
190555
  }
-
 
190556
 
-
 
190557
  public static class getFlipkartFaSalesSnapshotBySkuAndSaleDate_result implements org.apache.thrift.TBase<getFlipkartFaSalesSnapshotBySkuAndSaleDate_result, getFlipkartFaSalesSnapshotBySkuAndSaleDate_result._Fields>, java.io.Serializable, Cloneable   {
-
 
190558
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getFlipkartFaSalesSnapshotBySkuAndSaleDate_result");
-
 
190559
 
-
 
190560
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
-
 
190561
 
-
 
190562
    private FlipkartFaSalesSnapshot success; // required
-
 
190563
 
-
 
190564
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
190565
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
190566
      SUCCESS((short)0, "success");
-
 
190567
 
-
 
190568
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
190569
 
-
 
190570
      static {
-
 
190571
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
190572
          byName.put(field.getFieldName(), field);
-
 
190573
        }
-
 
190574
      }
-
 
190575
 
-
 
190576
      /**
-
 
190577
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
190578
       */
-
 
190579
      public static _Fields findByThriftId(int fieldId) {
-
 
190580
        switch(fieldId) {
-
 
190581
          case 0: // SUCCESS
-
 
190582
            return SUCCESS;
-
 
190583
          default:
-
 
190584
            return null;
-
 
190585
        }
-
 
190586
      }
-
 
190587
 
-
 
190588
      /**
-
 
190589
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
190590
       * if it is not found.
-
 
190591
       */
-
 
190592
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
190593
        _Fields fields = findByThriftId(fieldId);
-
 
190594
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
190595
        return fields;
-
 
190596
      }
-
 
190597
 
-
 
190598
      /**
-
 
190599
       * Find the _Fields constant that matches name, or null if its not found.
-
 
190600
       */
-
 
190601
      public static _Fields findByName(String name) {
-
 
190602
        return byName.get(name);
-
 
190603
      }
-
 
190604
 
-
 
190605
      private final short _thriftId;
-
 
190606
      private final String _fieldName;
-
 
190607
 
-
 
190608
      _Fields(short thriftId, String fieldName) {
-
 
190609
        _thriftId = thriftId;
-
 
190610
        _fieldName = fieldName;
-
 
190611
      }
-
 
190612
 
-
 
190613
      public short getThriftFieldId() {
-
 
190614
        return _thriftId;
-
 
190615
      }
-
 
190616
 
-
 
190617
      public String getFieldName() {
-
 
190618
        return _fieldName;
-
 
190619
      }
-
 
190620
    }
-
 
190621
 
-
 
190622
    // isset id assignments
-
 
190623
 
-
 
190624
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
190625
    static {
-
 
190626
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
190627
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
190628
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, FlipkartFaSalesSnapshot.class)));
-
 
190629
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
190630
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getFlipkartFaSalesSnapshotBySkuAndSaleDate_result.class, metaDataMap);
-
 
190631
    }
-
 
190632
 
-
 
190633
    public getFlipkartFaSalesSnapshotBySkuAndSaleDate_result() {
-
 
190634
    }
-
 
190635
 
-
 
190636
    public getFlipkartFaSalesSnapshotBySkuAndSaleDate_result(
-
 
190637
      FlipkartFaSalesSnapshot success)
-
 
190638
    {
-
 
190639
      this();
-
 
190640
      this.success = success;
-
 
190641
    }
-
 
190642
 
-
 
190643
    /**
-
 
190644
     * Performs a deep copy on <i>other</i>.
-
 
190645
     */
-
 
190646
    public getFlipkartFaSalesSnapshotBySkuAndSaleDate_result(getFlipkartFaSalesSnapshotBySkuAndSaleDate_result other) {
-
 
190647
      if (other.isSetSuccess()) {
-
 
190648
        this.success = new FlipkartFaSalesSnapshot(other.success);
-
 
190649
      }
-
 
190650
    }
-
 
190651
 
-
 
190652
    public getFlipkartFaSalesSnapshotBySkuAndSaleDate_result deepCopy() {
-
 
190653
      return new getFlipkartFaSalesSnapshotBySkuAndSaleDate_result(this);
-
 
190654
    }
-
 
190655
 
-
 
190656
    @Override
-
 
190657
    public void clear() {
-
 
190658
      this.success = null;
-
 
190659
    }
-
 
190660
 
-
 
190661
    public FlipkartFaSalesSnapshot getSuccess() {
-
 
190662
      return this.success;
-
 
190663
    }
-
 
190664
 
-
 
190665
    public void setSuccess(FlipkartFaSalesSnapshot success) {
-
 
190666
      this.success = success;
-
 
190667
    }
-
 
190668
 
-
 
190669
    public void unsetSuccess() {
-
 
190670
      this.success = null;
-
 
190671
    }
-
 
190672
 
-
 
190673
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
190674
    public boolean isSetSuccess() {
-
 
190675
      return this.success != null;
-
 
190676
    }
-
 
190677
 
-
 
190678
    public void setSuccessIsSet(boolean value) {
-
 
190679
      if (!value) {
-
 
190680
        this.success = null;
-
 
190681
      }
-
 
190682
    }
-
 
190683
 
-
 
190684
    public void setFieldValue(_Fields field, Object value) {
-
 
190685
      switch (field) {
-
 
190686
      case SUCCESS:
-
 
190687
        if (value == null) {
-
 
190688
          unsetSuccess();
-
 
190689
        } else {
-
 
190690
          setSuccess((FlipkartFaSalesSnapshot)value);
-
 
190691
        }
-
 
190692
        break;
-
 
190693
 
-
 
190694
      }
-
 
190695
    }
-
 
190696
 
-
 
190697
    public Object getFieldValue(_Fields field) {
-
 
190698
      switch (field) {
-
 
190699
      case SUCCESS:
-
 
190700
        return getSuccess();
-
 
190701
 
-
 
190702
      }
-
 
190703
      throw new IllegalStateException();
-
 
190704
    }
-
 
190705
 
-
 
190706
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
190707
    public boolean isSet(_Fields field) {
-
 
190708
      if (field == null) {
-
 
190709
        throw new IllegalArgumentException();
-
 
190710
      }
-
 
190711
 
-
 
190712
      switch (field) {
-
 
190713
      case SUCCESS:
-
 
190714
        return isSetSuccess();
-
 
190715
      }
-
 
190716
      throw new IllegalStateException();
-
 
190717
    }
-
 
190718
 
-
 
190719
    @Override
-
 
190720
    public boolean equals(Object that) {
-
 
190721
      if (that == null)
-
 
190722
        return false;
-
 
190723
      if (that instanceof getFlipkartFaSalesSnapshotBySkuAndSaleDate_result)
-
 
190724
        return this.equals((getFlipkartFaSalesSnapshotBySkuAndSaleDate_result)that);
-
 
190725
      return false;
-
 
190726
    }
-
 
190727
 
-
 
190728
    public boolean equals(getFlipkartFaSalesSnapshotBySkuAndSaleDate_result that) {
-
 
190729
      if (that == null)
-
 
190730
        return false;
-
 
190731
 
-
 
190732
      boolean this_present_success = true && this.isSetSuccess();
-
 
190733
      boolean that_present_success = true && that.isSetSuccess();
-
 
190734
      if (this_present_success || that_present_success) {
-
 
190735
        if (!(this_present_success && that_present_success))
-
 
190736
          return false;
-
 
190737
        if (!this.success.equals(that.success))
-
 
190738
          return false;
-
 
190739
      }
-
 
190740
 
-
 
190741
      return true;
-
 
190742
    }
-
 
190743
 
-
 
190744
    @Override
-
 
190745
    public int hashCode() {
-
 
190746
      return 0;
-
 
190747
    }
-
 
190748
 
-
 
190749
    public int compareTo(getFlipkartFaSalesSnapshotBySkuAndSaleDate_result other) {
-
 
190750
      if (!getClass().equals(other.getClass())) {
-
 
190751
        return getClass().getName().compareTo(other.getClass().getName());
-
 
190752
      }
-
 
190753
 
-
 
190754
      int lastComparison = 0;
-
 
190755
      getFlipkartFaSalesSnapshotBySkuAndSaleDate_result typedOther = (getFlipkartFaSalesSnapshotBySkuAndSaleDate_result)other;
-
 
190756
 
-
 
190757
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
190758
      if (lastComparison != 0) {
-
 
190759
        return lastComparison;
-
 
190760
      }
-
 
190761
      if (isSetSuccess()) {
-
 
190762
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
190763
        if (lastComparison != 0) {
-
 
190764
          return lastComparison;
-
 
190765
        }
-
 
190766
      }
-
 
190767
      return 0;
-
 
190768
    }
-
 
190769
 
-
 
190770
    public _Fields fieldForId(int fieldId) {
-
 
190771
      return _Fields.findByThriftId(fieldId);
-
 
190772
    }
-
 
190773
 
-
 
190774
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
190775
      org.apache.thrift.protocol.TField field;
-
 
190776
      iprot.readStructBegin();
-
 
190777
      while (true)
-
 
190778
      {
-
 
190779
        field = iprot.readFieldBegin();
-
 
190780
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
190781
          break;
-
 
190782
        }
-
 
190783
        switch (field.id) {
-
 
190784
          case 0: // SUCCESS
-
 
190785
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
190786
              this.success = new FlipkartFaSalesSnapshot();
-
 
190787
              this.success.read(iprot);
-
 
190788
            } else { 
-
 
190789
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
190790
            }
-
 
190791
            break;
-
 
190792
          default:
-
 
190793
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
190794
        }
-
 
190795
        iprot.readFieldEnd();
-
 
190796
      }
-
 
190797
      iprot.readStructEnd();
-
 
190798
      validate();
-
 
190799
    }
-
 
190800
 
-
 
190801
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
190802
      oprot.writeStructBegin(STRUCT_DESC);
-
 
190803
 
-
 
190804
      if (this.isSetSuccess()) {
-
 
190805
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
190806
        this.success.write(oprot);
-
 
190807
        oprot.writeFieldEnd();
-
 
190808
      }
-
 
190809
      oprot.writeFieldStop();
-
 
190810
      oprot.writeStructEnd();
-
 
190811
    }
-
 
190812
 
-
 
190813
    @Override
-
 
190814
    public String toString() {
-
 
190815
      StringBuilder sb = new StringBuilder("getFlipkartFaSalesSnapshotBySkuAndSaleDate_result(");
-
 
190816
      boolean first = true;
-
 
190817
 
-
 
190818
      sb.append("success:");
-
 
190819
      if (this.success == null) {
-
 
190820
        sb.append("null");
-
 
190821
      } else {
-
 
190822
        sb.append(this.success);
-
 
190823
      }
-
 
190824
      first = false;
-
 
190825
      sb.append(")");
-
 
190826
      return sb.toString();
-
 
190827
    }
-
 
190828
 
-
 
190829
    public void validate() throws org.apache.thrift.TException {
-
 
190830
      // check for required fields
-
 
190831
    }
-
 
190832
 
-
 
190833
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
190834
      try {
-
 
190835
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
190836
      } catch (org.apache.thrift.TException te) {
-
 
190837
        throw new java.io.IOException(te);
-
 
190838
      }
-
 
190839
    }
-
 
190840
 
-
 
190841
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
190842
      try {
-
 
190843
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
190844
      } catch (org.apache.thrift.TException te) {
-
 
190845
        throw new java.io.IOException(te);
-
 
190846
      }
-
 
190847
    }
-
 
190848
 
-
 
190849
  }
-
 
190850
 
-
 
190851
  public static class acceptPackageOrders_args implements org.apache.thrift.TBase<acceptPackageOrders_args, acceptPackageOrders_args._Fields>, java.io.Serializable, Cloneable   {
-
 
190852
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("acceptPackageOrders_args");
-
 
190853
 
-
 
190854
    private static final org.apache.thrift.protocol.TField ORDERS_FIELD_DESC = new org.apache.thrift.protocol.TField("orders", org.apache.thrift.protocol.TType.LIST, (short)-1);
-
 
190855
 
-
 
190856
    private List<Long> orders; // required
-
 
190857
 
-
 
190858
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
190859
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
190860
      ORDERS((short)-1, "orders");
-
 
190861
 
-
 
190862
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
190863
 
-
 
190864
      static {
-
 
190865
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
190866
          byName.put(field.getFieldName(), field);
-
 
190867
        }
-
 
190868
      }
-
 
190869
 
-
 
190870
      /**
-
 
190871
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
190872
       */
-
 
190873
      public static _Fields findByThriftId(int fieldId) {
-
 
190874
        switch(fieldId) {
-
 
190875
          case -1: // ORDERS
-
 
190876
            return ORDERS;
-
 
190877
          default:
-
 
190878
            return null;
-
 
190879
        }
-
 
190880
      }
-
 
190881
 
-
 
190882
      /**
-
 
190883
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
190884
       * if it is not found.
-
 
190885
       */
-
 
190886
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
190887
        _Fields fields = findByThriftId(fieldId);
-
 
190888
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
190889
        return fields;
-
 
190890
      }
-
 
190891
 
-
 
190892
      /**
-
 
190893
       * Find the _Fields constant that matches name, or null if its not found.
-
 
190894
       */
-
 
190895
      public static _Fields findByName(String name) {
-
 
190896
        return byName.get(name);
-
 
190897
      }
-
 
190898
 
-
 
190899
      private final short _thriftId;
-
 
190900
      private final String _fieldName;
-
 
190901
 
-
 
190902
      _Fields(short thriftId, String fieldName) {
-
 
190903
        _thriftId = thriftId;
-
 
190904
        _fieldName = fieldName;
-
 
190905
      }
-
 
190906
 
-
 
190907
      public short getThriftFieldId() {
-
 
190908
        return _thriftId;
-
 
190909
      }
-
 
190910
 
-
 
190911
      public String getFieldName() {
-
 
190912
        return _fieldName;
-
 
190913
      }
-
 
190914
    }
-
 
190915
 
-
 
190916
    // isset id assignments
-
 
190917
 
-
 
190918
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
190919
    static {
-
 
190920
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
190921
      tmpMap.put(_Fields.ORDERS, new org.apache.thrift.meta_data.FieldMetaData("orders", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
190922
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
190923
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
190924
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
190925
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(acceptPackageOrders_args.class, metaDataMap);
-
 
190926
    }
-
 
190927
 
-
 
190928
    public acceptPackageOrders_args() {
-
 
190929
    }
-
 
190930
 
-
 
190931
    public acceptPackageOrders_args(
-
 
190932
      List<Long> orders)
-
 
190933
    {
-
 
190934
      this();
-
 
190935
      this.orders = orders;
-
 
190936
    }
-
 
190937
 
-
 
190938
    /**
-
 
190939
     * Performs a deep copy on <i>other</i>.
-
 
190940
     */
-
 
190941
    public acceptPackageOrders_args(acceptPackageOrders_args other) {
-
 
190942
      if (other.isSetOrders()) {
-
 
190943
        List<Long> __this__orders = new ArrayList<Long>();
-
 
190944
        for (Long other_element : other.orders) {
-
 
190945
          __this__orders.add(other_element);
-
 
190946
        }
-
 
190947
        this.orders = __this__orders;
-
 
190948
      }
-
 
190949
    }
-
 
190950
 
-
 
190951
    public acceptPackageOrders_args deepCopy() {
-
 
190952
      return new acceptPackageOrders_args(this);
-
 
190953
    }
-
 
190954
 
-
 
190955
    @Override
-
 
190956
    public void clear() {
-
 
190957
      this.orders = null;
-
 
190958
    }
-
 
190959
 
-
 
190960
    public int getOrdersSize() {
-
 
190961
      return (this.orders == null) ? 0 : this.orders.size();
-
 
190962
    }
-
 
190963
 
-
 
190964
    public java.util.Iterator<Long> getOrdersIterator() {
-
 
190965
      return (this.orders == null) ? null : this.orders.iterator();
-
 
190966
    }
-
 
190967
 
-
 
190968
    public void addToOrders(long elem) {
-
 
190969
      if (this.orders == null) {
-
 
190970
        this.orders = new ArrayList<Long>();
-
 
190971
      }
-
 
190972
      this.orders.add(elem);
-
 
190973
    }
-
 
190974
 
-
 
190975
    public List<Long> getOrders() {
-
 
190976
      return this.orders;
-
 
190977
    }
-
 
190978
 
-
 
190979
    public void setOrders(List<Long> orders) {
-
 
190980
      this.orders = orders;
-
 
190981
    }
-
 
190982
 
-
 
190983
    public void unsetOrders() {
-
 
190984
      this.orders = null;
-
 
190985
    }
-
 
190986
 
-
 
190987
    /** Returns true if field orders is set (has been assigned a value) and false otherwise */
-
 
190988
    public boolean isSetOrders() {
-
 
190989
      return this.orders != null;
-
 
190990
    }
-
 
190991
 
-
 
190992
    public void setOrdersIsSet(boolean value) {
-
 
190993
      if (!value) {
-
 
190994
        this.orders = null;
-
 
190995
      }
-
 
190996
    }
-
 
190997
 
-
 
190998
    public void setFieldValue(_Fields field, Object value) {
-
 
190999
      switch (field) {
-
 
191000
      case ORDERS:
-
 
191001
        if (value == null) {
-
 
191002
          unsetOrders();
-
 
191003
        } else {
-
 
191004
          setOrders((List<Long>)value);
-
 
191005
        }
-
 
191006
        break;
-
 
191007
 
-
 
191008
      }
-
 
191009
    }
-
 
191010
 
-
 
191011
    public Object getFieldValue(_Fields field) {
-
 
191012
      switch (field) {
-
 
191013
      case ORDERS:
-
 
191014
        return getOrders();
-
 
191015
 
-
 
191016
      }
-
 
191017
      throw new IllegalStateException();
-
 
191018
    }
-
 
191019
 
-
 
191020
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
191021
    public boolean isSet(_Fields field) {
-
 
191022
      if (field == null) {
-
 
191023
        throw new IllegalArgumentException();
-
 
191024
      }
-
 
191025
 
-
 
191026
      switch (field) {
-
 
191027
      case ORDERS:
-
 
191028
        return isSetOrders();
-
 
191029
      }
-
 
191030
      throw new IllegalStateException();
-
 
191031
    }
-
 
191032
 
-
 
191033
    @Override
-
 
191034
    public boolean equals(Object that) {
-
 
191035
      if (that == null)
-
 
191036
        return false;
-
 
191037
      if (that instanceof acceptPackageOrders_args)
-
 
191038
        return this.equals((acceptPackageOrders_args)that);
-
 
191039
      return false;
-
 
191040
    }
-
 
191041
 
-
 
191042
    public boolean equals(acceptPackageOrders_args that) {
-
 
191043
      if (that == null)
-
 
191044
        return false;
-
 
191045
 
-
 
191046
      boolean this_present_orders = true && this.isSetOrders();
-
 
191047
      boolean that_present_orders = true && that.isSetOrders();
-
 
191048
      if (this_present_orders || that_present_orders) {
-
 
191049
        if (!(this_present_orders && that_present_orders))
-
 
191050
          return false;
-
 
191051
        if (!this.orders.equals(that.orders))
-
 
191052
          return false;
-
 
191053
      }
-
 
191054
 
-
 
191055
      return true;
-
 
191056
    }
-
 
191057
 
-
 
191058
    @Override
-
 
191059
    public int hashCode() {
-
 
191060
      return 0;
-
 
191061
    }
-
 
191062
 
-
 
191063
    public int compareTo(acceptPackageOrders_args other) {
-
 
191064
      if (!getClass().equals(other.getClass())) {
-
 
191065
        return getClass().getName().compareTo(other.getClass().getName());
-
 
191066
      }
-
 
191067
 
-
 
191068
      int lastComparison = 0;
-
 
191069
      acceptPackageOrders_args typedOther = (acceptPackageOrders_args)other;
-
 
191070
 
-
 
191071
      lastComparison = Boolean.valueOf(isSetOrders()).compareTo(typedOther.isSetOrders());
-
 
191072
      if (lastComparison != 0) {
-
 
191073
        return lastComparison;
-
 
191074
      }
-
 
191075
      if (isSetOrders()) {
-
 
191076
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orders, typedOther.orders);
-
 
191077
        if (lastComparison != 0) {
-
 
191078
          return lastComparison;
-
 
191079
        }
-
 
191080
      }
-
 
191081
      return 0;
-
 
191082
    }
-
 
191083
 
-
 
191084
    public _Fields fieldForId(int fieldId) {
-
 
191085
      return _Fields.findByThriftId(fieldId);
-
 
191086
    }
-
 
191087
 
-
 
191088
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
191089
      org.apache.thrift.protocol.TField field;
-
 
191090
      iprot.readStructBegin();
-
 
191091
      while (true)
-
 
191092
      {
-
 
191093
        field = iprot.readFieldBegin();
-
 
191094
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
191095
          break;
-
 
191096
        }
-
 
191097
        switch (field.id) {
-
 
191098
          case -1: // ORDERS
-
 
191099
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
191100
              {
-
 
191101
                org.apache.thrift.protocol.TList _list597 = iprot.readListBegin();
-
 
191102
                this.orders = new ArrayList<Long>(_list597.size);
-
 
191103
                for (int _i598 = 0; _i598 < _list597.size; ++_i598)
-
 
191104
                {
-
 
191105
                  long _elem599; // required
-
 
191106
                  _elem599 = iprot.readI64();
-
 
191107
                  this.orders.add(_elem599);
-
 
191108
                }
-
 
191109
                iprot.readListEnd();
-
 
191110
              }
-
 
191111
            } else { 
-
 
191112
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
191113
            }
-
 
191114
            break;
-
 
191115
          default:
-
 
191116
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
191117
        }
-
 
191118
        iprot.readFieldEnd();
-
 
191119
      }
-
 
191120
      iprot.readStructEnd();
-
 
191121
      validate();
-
 
191122
    }
-
 
191123
 
-
 
191124
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
191125
      validate();
-
 
191126
 
-
 
191127
      oprot.writeStructBegin(STRUCT_DESC);
-
 
191128
      if (this.orders != null) {
-
 
191129
        oprot.writeFieldBegin(ORDERS_FIELD_DESC);
-
 
191130
        {
-
 
191131
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orders.size()));
-
 
191132
          for (long _iter600 : this.orders)
-
 
191133
          {
-
 
191134
            oprot.writeI64(_iter600);
-
 
191135
          }
-
 
191136
          oprot.writeListEnd();
-
 
191137
        }
-
 
191138
        oprot.writeFieldEnd();
-
 
191139
      }
-
 
191140
      oprot.writeFieldStop();
-
 
191141
      oprot.writeStructEnd();
-
 
191142
    }
-
 
191143
 
-
 
191144
    @Override
-
 
191145
    public String toString() {
-
 
191146
      StringBuilder sb = new StringBuilder("acceptPackageOrders_args(");
-
 
191147
      boolean first = true;
-
 
191148
 
-
 
191149
      sb.append("orders:");
-
 
191150
      if (this.orders == null) {
-
 
191151
        sb.append("null");
-
 
191152
      } else {
-
 
191153
        sb.append(this.orders);
-
 
191154
      }
-
 
191155
      first = false;
-
 
191156
      sb.append(")");
-
 
191157
      return sb.toString();
-
 
191158
    }
-
 
191159
 
-
 
191160
    public void validate() throws org.apache.thrift.TException {
-
 
191161
      // check for required fields
-
 
191162
    }
-
 
191163
 
-
 
191164
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
191165
      try {
-
 
191166
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
191167
      } catch (org.apache.thrift.TException te) {
-
 
191168
        throw new java.io.IOException(te);
-
 
191169
      }
-
 
191170
    }
-
 
191171
 
-
 
191172
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
191173
      try {
-
 
191174
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
191175
      } catch (org.apache.thrift.TException te) {
-
 
191176
        throw new java.io.IOException(te);
-
 
191177
      }
-
 
191178
    }
-
 
191179
 
-
 
191180
  }
-
 
191181
 
-
 
191182
  public static class acceptPackageOrders_result implements org.apache.thrift.TBase<acceptPackageOrders_result, acceptPackageOrders_result._Fields>, java.io.Serializable, Cloneable   {
-
 
191183
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("acceptPackageOrders_result");
-
 
191184
 
-
 
191185
    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);
-
 
191186
    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);
-
 
191187
 
-
 
191188
    private boolean success; // required
-
 
191189
    private TransactionServiceException ex; // required
-
 
191190
 
-
 
191191
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
191192
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
191193
      SUCCESS((short)0, "success"),
-
 
191194
      EX((short)1, "ex");
-
 
191195
 
-
 
191196
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
191197
 
-
 
191198
      static {
-
 
191199
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
191200
          byName.put(field.getFieldName(), field);
-
 
191201
        }
-
 
191202
      }
-
 
191203
 
-
 
191204
      /**
-
 
191205
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
191206
       */
-
 
191207
      public static _Fields findByThriftId(int fieldId) {
-
 
191208
        switch(fieldId) {
-
 
191209
          case 0: // SUCCESS
-
 
191210
            return SUCCESS;
-
 
191211
          case 1: // EX
-
 
191212
            return EX;
-
 
191213
          default:
-
 
191214
            return null;
-
 
191215
        }
-
 
191216
      }
-
 
191217
 
-
 
191218
      /**
-
 
191219
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
191220
       * if it is not found.
-
 
191221
       */
-
 
191222
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
191223
        _Fields fields = findByThriftId(fieldId);
-
 
191224
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
191225
        return fields;
-
 
191226
      }
-
 
191227
 
-
 
191228
      /**
-
 
191229
       * Find the _Fields constant that matches name, or null if its not found.
-
 
191230
       */
-
 
191231
      public static _Fields findByName(String name) {
-
 
191232
        return byName.get(name);
-
 
191233
      }
-
 
191234
 
-
 
191235
      private final short _thriftId;
-
 
191236
      private final String _fieldName;
-
 
191237
 
-
 
191238
      _Fields(short thriftId, String fieldName) {
-
 
191239
        _thriftId = thriftId;
-
 
191240
        _fieldName = fieldName;
-
 
191241
      }
-
 
191242
 
-
 
191243
      public short getThriftFieldId() {
-
 
191244
        return _thriftId;
-
 
191245
      }
-
 
191246
 
-
 
191247
      public String getFieldName() {
-
 
191248
        return _fieldName;
-
 
191249
      }
-
 
191250
    }
-
 
191251
 
-
 
191252
    // isset id assignments
-
 
191253
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
191254
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
191255
 
-
 
191256
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
191257
    static {
-
 
191258
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
191259
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
191260
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
191261
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
191262
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
191263
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
191264
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(acceptPackageOrders_result.class, metaDataMap);
-
 
191265
    }
-
 
191266
 
-
 
191267
    public acceptPackageOrders_result() {
-
 
191268
    }
-
 
191269
 
-
 
191270
    public acceptPackageOrders_result(
-
 
191271
      boolean success,
-
 
191272
      TransactionServiceException ex)
-
 
191273
    {
-
 
191274
      this();
-
 
191275
      this.success = success;
-
 
191276
      setSuccessIsSet(true);
-
 
191277
      this.ex = ex;
-
 
191278
    }
-
 
191279
 
-
 
191280
    /**
-
 
191281
     * Performs a deep copy on <i>other</i>.
-
 
191282
     */
-
 
191283
    public acceptPackageOrders_result(acceptPackageOrders_result other) {
-
 
191284
      __isset_bit_vector.clear();
-
 
191285
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
191286
      this.success = other.success;
-
 
191287
      if (other.isSetEx()) {
-
 
191288
        this.ex = new TransactionServiceException(other.ex);
-
 
191289
      }
-
 
191290
    }
-
 
191291
 
-
 
191292
    public acceptPackageOrders_result deepCopy() {
-
 
191293
      return new acceptPackageOrders_result(this);
-
 
191294
    }
-
 
191295
 
-
 
191296
    @Override
-
 
191297
    public void clear() {
-
 
191298
      setSuccessIsSet(false);
-
 
191299
      this.success = false;
-
 
191300
      this.ex = null;
-
 
191301
    }
-
 
191302
 
-
 
191303
    public boolean isSuccess() {
-
 
191304
      return this.success;
-
 
191305
    }
-
 
191306
 
-
 
191307
    public void setSuccess(boolean success) {
-
 
191308
      this.success = success;
-
 
191309
      setSuccessIsSet(true);
-
 
191310
    }
-
 
191311
 
-
 
191312
    public void unsetSuccess() {
-
 
191313
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
191314
    }
-
 
191315
 
-
 
191316
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
191317
    public boolean isSetSuccess() {
-
 
191318
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
191319
    }
-
 
191320
 
-
 
191321
    public void setSuccessIsSet(boolean value) {
-
 
191322
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
191323
    }
-
 
191324
 
-
 
191325
    public TransactionServiceException getEx() {
-
 
191326
      return this.ex;
-
 
191327
    }
-
 
191328
 
-
 
191329
    public void setEx(TransactionServiceException ex) {
-
 
191330
      this.ex = ex;
-
 
191331
    }
-
 
191332
 
-
 
191333
    public void unsetEx() {
-
 
191334
      this.ex = null;
-
 
191335
    }
-
 
191336
 
-
 
191337
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
191338
    public boolean isSetEx() {
-
 
191339
      return this.ex != null;
-
 
191340
    }
-
 
191341
 
-
 
191342
    public void setExIsSet(boolean value) {
-
 
191343
      if (!value) {
-
 
191344
        this.ex = null;
-
 
191345
      }
-
 
191346
    }
-
 
191347
 
-
 
191348
    public void setFieldValue(_Fields field, Object value) {
-
 
191349
      switch (field) {
-
 
191350
      case SUCCESS:
-
 
191351
        if (value == null) {
-
 
191352
          unsetSuccess();
-
 
191353
        } else {
-
 
191354
          setSuccess((Boolean)value);
-
 
191355
        }
-
 
191356
        break;
-
 
191357
 
-
 
191358
      case EX:
-
 
191359
        if (value == null) {
-
 
191360
          unsetEx();
-
 
191361
        } else {
-
 
191362
          setEx((TransactionServiceException)value);
-
 
191363
        }
-
 
191364
        break;
-
 
191365
 
-
 
191366
      }
-
 
191367
    }
-
 
191368
 
-
 
191369
    public Object getFieldValue(_Fields field) {
-
 
191370
      switch (field) {
-
 
191371
      case SUCCESS:
-
 
191372
        return Boolean.valueOf(isSuccess());
-
 
191373
 
-
 
191374
      case EX:
-
 
191375
        return getEx();
-
 
191376
 
-
 
191377
      }
-
 
191378
      throw new IllegalStateException();
-
 
191379
    }
-
 
191380
 
-
 
191381
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
191382
    public boolean isSet(_Fields field) {
-
 
191383
      if (field == null) {
-
 
191384
        throw new IllegalArgumentException();
-
 
191385
      }
-
 
191386
 
-
 
191387
      switch (field) {
-
 
191388
      case SUCCESS:
-
 
191389
        return isSetSuccess();
-
 
191390
      case EX:
-
 
191391
        return isSetEx();
-
 
191392
      }
-
 
191393
      throw new IllegalStateException();
-
 
191394
    }
-
 
191395
 
-
 
191396
    @Override
-
 
191397
    public boolean equals(Object that) {
-
 
191398
      if (that == null)
-
 
191399
        return false;
-
 
191400
      if (that instanceof acceptPackageOrders_result)
-
 
191401
        return this.equals((acceptPackageOrders_result)that);
-
 
191402
      return false;
-
 
191403
    }
-
 
191404
 
-
 
191405
    public boolean equals(acceptPackageOrders_result that) {
-
 
191406
      if (that == null)
-
 
191407
        return false;
-
 
191408
 
-
 
191409
      boolean this_present_success = true;
-
 
191410
      boolean that_present_success = true;
-
 
191411
      if (this_present_success || that_present_success) {
-
 
191412
        if (!(this_present_success && that_present_success))
-
 
191413
          return false;
-
 
191414
        if (this.success != that.success)
-
 
191415
          return false;
-
 
191416
      }
-
 
191417
 
-
 
191418
      boolean this_present_ex = true && this.isSetEx();
-
 
191419
      boolean that_present_ex = true && that.isSetEx();
-
 
191420
      if (this_present_ex || that_present_ex) {
-
 
191421
        if (!(this_present_ex && that_present_ex))
-
 
191422
          return false;
-
 
191423
        if (!this.ex.equals(that.ex))
-
 
191424
          return false;
-
 
191425
      }
-
 
191426
 
-
 
191427
      return true;
-
 
191428
    }
-
 
191429
 
-
 
191430
    @Override
-
 
191431
    public int hashCode() {
-
 
191432
      return 0;
-
 
191433
    }
-
 
191434
 
-
 
191435
    public int compareTo(acceptPackageOrders_result other) {
-
 
191436
      if (!getClass().equals(other.getClass())) {
-
 
191437
        return getClass().getName().compareTo(other.getClass().getName());
-
 
191438
      }
-
 
191439
 
-
 
191440
      int lastComparison = 0;
-
 
191441
      acceptPackageOrders_result typedOther = (acceptPackageOrders_result)other;
-
 
191442
 
-
 
191443
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
191444
      if (lastComparison != 0) {
-
 
191445
        return lastComparison;
-
 
191446
      }
-
 
191447
      if (isSetSuccess()) {
-
 
191448
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
191449
        if (lastComparison != 0) {
-
 
191450
          return lastComparison;
-
 
191451
        }
-
 
191452
      }
-
 
191453
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
191454
      if (lastComparison != 0) {
-
 
191455
        return lastComparison;
-
 
191456
      }
-
 
191457
      if (isSetEx()) {
-
 
191458
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
191459
        if (lastComparison != 0) {
-
 
191460
          return lastComparison;
-
 
191461
        }
-
 
191462
      }
-
 
191463
      return 0;
-
 
191464
    }
-
 
191465
 
-
 
191466
    public _Fields fieldForId(int fieldId) {
-
 
191467
      return _Fields.findByThriftId(fieldId);
-
 
191468
    }
-
 
191469
 
-
 
191470
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
191471
      org.apache.thrift.protocol.TField field;
-
 
191472
      iprot.readStructBegin();
-
 
191473
      while (true)
-
 
191474
      {
-
 
191475
        field = iprot.readFieldBegin();
-
 
191476
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
191477
          break;
-
 
191478
        }
-
 
191479
        switch (field.id) {
-
 
191480
          case 0: // SUCCESS
-
 
191481
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
191482
              this.success = iprot.readBool();
-
 
191483
              setSuccessIsSet(true);
-
 
191484
            } else { 
-
 
191485
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
191486
            }
-
 
191487
            break;
-
 
191488
          case 1: // EX
-
 
191489
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
191490
              this.ex = new TransactionServiceException();
-
 
191491
              this.ex.read(iprot);
-
 
191492
            } else { 
-
 
191493
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
191494
            }
-
 
191495
            break;
-
 
191496
          default:
-
 
191497
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
191498
        }
-
 
191499
        iprot.readFieldEnd();
-
 
191500
      }
-
 
191501
      iprot.readStructEnd();
-
 
191502
      validate();
-
 
191503
    }
-
 
191504
 
-
 
191505
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
191506
      oprot.writeStructBegin(STRUCT_DESC);
-
 
191507
 
-
 
191508
      if (this.isSetSuccess()) {
-
 
191509
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
191510
        oprot.writeBool(this.success);
-
 
191511
        oprot.writeFieldEnd();
-
 
191512
      } else if (this.isSetEx()) {
-
 
191513
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
191514
        this.ex.write(oprot);
-
 
191515
        oprot.writeFieldEnd();
-
 
191516
      }
-
 
191517
      oprot.writeFieldStop();
-
 
191518
      oprot.writeStructEnd();
-
 
191519
    }
-
 
191520
 
-
 
191521
    @Override
-
 
191522
    public String toString() {
-
 
191523
      StringBuilder sb = new StringBuilder("acceptPackageOrders_result(");
-
 
191524
      boolean first = true;
-
 
191525
 
-
 
191526
      sb.append("success:");
-
 
191527
      sb.append(this.success);
-
 
191528
      first = false;
-
 
191529
      if (!first) sb.append(", ");
-
 
191530
      sb.append("ex:");
-
 
191531
      if (this.ex == null) {
-
 
191532
        sb.append("null");
-
 
191533
      } else {
-
 
191534
        sb.append(this.ex);
-
 
191535
      }
-
 
191536
      first = false;
-
 
191537
      sb.append(")");
-
 
191538
      return sb.toString();
-
 
191539
    }
-
 
191540
 
-
 
191541
    public void validate() throws org.apache.thrift.TException {
-
 
191542
      // check for required fields
-
 
191543
    }
-
 
191544
 
-
 
191545
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
191546
      try {
-
 
191547
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
191548
      } catch (org.apache.thrift.TException te) {
-
 
191549
        throw new java.io.IOException(te);
-
 
191550
      }
-
 
191551
    }
-
 
191552
 
-
 
191553
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
191554
      try {
-
 
191555
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
191556
      } catch (org.apache.thrift.TException te) {
-
 
191557
        throw new java.io.IOException(te);
-
 
191558
      }
-
 
191559
    }
-
 
191560
 
-
 
191561
  }
-
 
191562
 
-
 
191563
  public static class getGroupOrdersByLogisticsTxnId_args implements org.apache.thrift.TBase<getGroupOrdersByLogisticsTxnId_args, getGroupOrdersByLogisticsTxnId_args._Fields>, java.io.Serializable, Cloneable   {
-
 
191564
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getGroupOrdersByLogisticsTxnId_args");
-
 
191565
 
-
 
191566
    private static final org.apache.thrift.protocol.TField LOGISTICS_TXN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsTxnId", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
191567
 
-
 
191568
    private String logisticsTxnId; // required
-
 
191569
 
-
 
191570
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
191571
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
191572
      LOGISTICS_TXN_ID((short)1, "logisticsTxnId");
-
 
191573
 
-
 
191574
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
191575
 
-
 
191576
      static {
-
 
191577
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
191578
          byName.put(field.getFieldName(), field);
-
 
191579
        }
-
 
191580
      }
-
 
191581
 
-
 
191582
      /**
-
 
191583
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
191584
       */
-
 
191585
      public static _Fields findByThriftId(int fieldId) {
-
 
191586
        switch(fieldId) {
-
 
191587
          case 1: // LOGISTICS_TXN_ID
-
 
191588
            return LOGISTICS_TXN_ID;
-
 
191589
          default:
-
 
191590
            return null;
-
 
191591
        }
-
 
191592
      }
-
 
191593
 
-
 
191594
      /**
-
 
191595
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
191596
       * if it is not found.
-
 
191597
       */
-
 
191598
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
191599
        _Fields fields = findByThriftId(fieldId);
-
 
191600
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
191601
        return fields;
-
 
191602
      }
-
 
191603
 
-
 
191604
      /**
-
 
191605
       * Find the _Fields constant that matches name, or null if its not found.
-
 
191606
       */
-
 
191607
      public static _Fields findByName(String name) {
-
 
191608
        return byName.get(name);
-
 
191609
      }
-
 
191610
 
-
 
191611
      private final short _thriftId;
-
 
191612
      private final String _fieldName;
-
 
191613
 
-
 
191614
      _Fields(short thriftId, String fieldName) {
-
 
191615
        _thriftId = thriftId;
-
 
191616
        _fieldName = fieldName;
-
 
191617
      }
-
 
191618
 
-
 
191619
      public short getThriftFieldId() {
-
 
191620
        return _thriftId;
-
 
191621
      }
-
 
191622
 
-
 
191623
      public String getFieldName() {
-
 
191624
        return _fieldName;
-
 
191625
      }
-
 
191626
    }
-
 
191627
 
-
 
191628
    // isset id assignments
-
 
191629
 
-
 
191630
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
191631
    static {
-
 
191632
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
191633
      tmpMap.put(_Fields.LOGISTICS_TXN_ID, new org.apache.thrift.meta_data.FieldMetaData("logisticsTxnId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
191634
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
191635
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
191636
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getGroupOrdersByLogisticsTxnId_args.class, metaDataMap);
-
 
191637
    }
-
 
191638
 
-
 
191639
    public getGroupOrdersByLogisticsTxnId_args() {
-
 
191640
    }
-
 
191641
 
-
 
191642
    public getGroupOrdersByLogisticsTxnId_args(
-
 
191643
      String logisticsTxnId)
-
 
191644
    {
-
 
191645
      this();
-
 
191646
      this.logisticsTxnId = logisticsTxnId;
-
 
191647
    }
-
 
191648
 
-
 
191649
    /**
-
 
191650
     * Performs a deep copy on <i>other</i>.
-
 
191651
     */
-
 
191652
    public getGroupOrdersByLogisticsTxnId_args(getGroupOrdersByLogisticsTxnId_args other) {
-
 
191653
      if (other.isSetLogisticsTxnId()) {
-
 
191654
        this.logisticsTxnId = other.logisticsTxnId;
-
 
191655
      }
-
 
191656
    }
-
 
191657
 
-
 
191658
    public getGroupOrdersByLogisticsTxnId_args deepCopy() {
-
 
191659
      return new getGroupOrdersByLogisticsTxnId_args(this);
-
 
191660
    }
-
 
191661
 
-
 
191662
    @Override
-
 
191663
    public void clear() {
-
 
191664
      this.logisticsTxnId = null;
-
 
191665
    }
-
 
191666
 
-
 
191667
    public String getLogisticsTxnId() {
-
 
191668
      return this.logisticsTxnId;
-
 
191669
    }
-
 
191670
 
-
 
191671
    public void setLogisticsTxnId(String logisticsTxnId) {
-
 
191672
      this.logisticsTxnId = logisticsTxnId;
-
 
191673
    }
-
 
191674
 
-
 
191675
    public void unsetLogisticsTxnId() {
-
 
191676
      this.logisticsTxnId = null;
-
 
191677
    }
-
 
191678
 
-
 
191679
    /** Returns true if field logisticsTxnId is set (has been assigned a value) and false otherwise */
-
 
191680
    public boolean isSetLogisticsTxnId() {
-
 
191681
      return this.logisticsTxnId != null;
-
 
191682
    }
-
 
191683
 
-
 
191684
    public void setLogisticsTxnIdIsSet(boolean value) {
-
 
191685
      if (!value) {
-
 
191686
        this.logisticsTxnId = null;
-
 
191687
      }
-
 
191688
    }
-
 
191689
 
-
 
191690
    public void setFieldValue(_Fields field, Object value) {
-
 
191691
      switch (field) {
-
 
191692
      case LOGISTICS_TXN_ID:
-
 
191693
        if (value == null) {
-
 
191694
          unsetLogisticsTxnId();
-
 
191695
        } else {
-
 
191696
          setLogisticsTxnId((String)value);
-
 
191697
        }
-
 
191698
        break;
-
 
191699
 
-
 
191700
      }
-
 
191701
    }
-
 
191702
 
-
 
191703
    public Object getFieldValue(_Fields field) {
-
 
191704
      switch (field) {
-
 
191705
      case LOGISTICS_TXN_ID:
-
 
191706
        return getLogisticsTxnId();
-
 
191707
 
-
 
191708
      }
-
 
191709
      throw new IllegalStateException();
-
 
191710
    }
-
 
191711
 
-
 
191712
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
191713
    public boolean isSet(_Fields field) {
-
 
191714
      if (field == null) {
-
 
191715
        throw new IllegalArgumentException();
-
 
191716
      }
-
 
191717
 
-
 
191718
      switch (field) {
-
 
191719
      case LOGISTICS_TXN_ID:
-
 
191720
        return isSetLogisticsTxnId();
-
 
191721
      }
-
 
191722
      throw new IllegalStateException();
-
 
191723
    }
-
 
191724
 
-
 
191725
    @Override
-
 
191726
    public boolean equals(Object that) {
-
 
191727
      if (that == null)
-
 
191728
        return false;
-
 
191729
      if (that instanceof getGroupOrdersByLogisticsTxnId_args)
-
 
191730
        return this.equals((getGroupOrdersByLogisticsTxnId_args)that);
-
 
191731
      return false;
-
 
191732
    }
-
 
191733
 
-
 
191734
    public boolean equals(getGroupOrdersByLogisticsTxnId_args that) {
-
 
191735
      if (that == null)
-
 
191736
        return false;
-
 
191737
 
-
 
191738
      boolean this_present_logisticsTxnId = true && this.isSetLogisticsTxnId();
-
 
191739
      boolean that_present_logisticsTxnId = true && that.isSetLogisticsTxnId();
-
 
191740
      if (this_present_logisticsTxnId || that_present_logisticsTxnId) {
-
 
191741
        if (!(this_present_logisticsTxnId && that_present_logisticsTxnId))
-
 
191742
          return false;
-
 
191743
        if (!this.logisticsTxnId.equals(that.logisticsTxnId))
-
 
191744
          return false;
-
 
191745
      }
-
 
191746
 
-
 
191747
      return true;
-
 
191748
    }
-
 
191749
 
-
 
191750
    @Override
-
 
191751
    public int hashCode() {
-
 
191752
      return 0;
-
 
191753
    }
-
 
191754
 
-
 
191755
    public int compareTo(getGroupOrdersByLogisticsTxnId_args other) {
-
 
191756
      if (!getClass().equals(other.getClass())) {
-
 
191757
        return getClass().getName().compareTo(other.getClass().getName());
-
 
191758
      }
-
 
191759
 
-
 
191760
      int lastComparison = 0;
-
 
191761
      getGroupOrdersByLogisticsTxnId_args typedOther = (getGroupOrdersByLogisticsTxnId_args)other;
-
 
191762
 
-
 
191763
      lastComparison = Boolean.valueOf(isSetLogisticsTxnId()).compareTo(typedOther.isSetLogisticsTxnId());
-
 
191764
      if (lastComparison != 0) {
-
 
191765
        return lastComparison;
-
 
191766
      }
-
 
191767
      if (isSetLogisticsTxnId()) {
-
 
191768
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logisticsTxnId, typedOther.logisticsTxnId);
-
 
191769
        if (lastComparison != 0) {
-
 
191770
          return lastComparison;
-
 
191771
        }
-
 
191772
      }
-
 
191773
      return 0;
-
 
191774
    }
-
 
191775
 
-
 
191776
    public _Fields fieldForId(int fieldId) {
-
 
191777
      return _Fields.findByThriftId(fieldId);
-
 
191778
    }
-
 
191779
 
-
 
191780
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
191781
      org.apache.thrift.protocol.TField field;
-
 
191782
      iprot.readStructBegin();
-
 
191783
      while (true)
-
 
191784
      {
-
 
191785
        field = iprot.readFieldBegin();
-
 
191786
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
191787
          break;
-
 
191788
        }
-
 
191789
        switch (field.id) {
-
 
191790
          case 1: // LOGISTICS_TXN_ID
-
 
191791
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
191792
              this.logisticsTxnId = iprot.readString();
-
 
191793
            } else { 
-
 
191794
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
191795
            }
-
 
191796
            break;
-
 
191797
          default:
-
 
191798
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
191799
        }
-
 
191800
        iprot.readFieldEnd();
-
 
191801
      }
-
 
191802
      iprot.readStructEnd();
-
 
191803
      validate();
-
 
191804
    }
-
 
191805
 
-
 
191806
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
191807
      validate();
-
 
191808
 
-
 
191809
      oprot.writeStructBegin(STRUCT_DESC);
-
 
191810
      if (this.logisticsTxnId != null) {
-
 
191811
        oprot.writeFieldBegin(LOGISTICS_TXN_ID_FIELD_DESC);
-
 
191812
        oprot.writeString(this.logisticsTxnId);
-
 
191813
        oprot.writeFieldEnd();
-
 
191814
      }
-
 
191815
      oprot.writeFieldStop();
-
 
191816
      oprot.writeStructEnd();
-
 
191817
    }
-
 
191818
 
-
 
191819
    @Override
-
 
191820
    public String toString() {
-
 
191821
      StringBuilder sb = new StringBuilder("getGroupOrdersByLogisticsTxnId_args(");
-
 
191822
      boolean first = true;
-
 
191823
 
-
 
191824
      sb.append("logisticsTxnId:");
-
 
191825
      if (this.logisticsTxnId == null) {
-
 
191826
        sb.append("null");
-
 
191827
      } else {
-
 
191828
        sb.append(this.logisticsTxnId);
-
 
191829
      }
-
 
191830
      first = false;
-
 
191831
      sb.append(")");
-
 
191832
      return sb.toString();
-
 
191833
    }
-
 
191834
 
-
 
191835
    public void validate() throws org.apache.thrift.TException {
-
 
191836
      // check for required fields
-
 
191837
    }
-
 
191838
 
-
 
191839
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
191840
      try {
-
 
191841
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
191842
      } catch (org.apache.thrift.TException te) {
-
 
191843
        throw new java.io.IOException(te);
-
 
191844
      }
-
 
191845
    }
-
 
191846
 
-
 
191847
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
191848
      try {
-
 
191849
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
191850
      } catch (org.apache.thrift.TException te) {
-
 
191851
        throw new java.io.IOException(te);
-
 
191852
      }
-
 
191853
    }
-
 
191854
 
-
 
191855
  }
-
 
191856
 
-
 
191857
  public static class getGroupOrdersByLogisticsTxnId_result implements org.apache.thrift.TBase<getGroupOrdersByLogisticsTxnId_result, getGroupOrdersByLogisticsTxnId_result._Fields>, java.io.Serializable, Cloneable   {
-
 
191858
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getGroupOrdersByLogisticsTxnId_result");
-
 
191859
 
-
 
191860
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
191861
    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);
-
 
191862
 
-
 
191863
    private List<Order> success; // required
-
 
191864
    private TransactionServiceException ex; // required
-
 
191865
 
-
 
191866
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
191867
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
191868
      SUCCESS((short)0, "success"),
-
 
191869
      EX((short)1, "ex");
-
 
191870
 
-
 
191871
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
191872
 
-
 
191873
      static {
-
 
191874
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
191875
          byName.put(field.getFieldName(), field);
-
 
191876
        }
-
 
191877
      }
-
 
191878
 
-
 
191879
      /**
-
 
191880
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
191881
       */
-
 
191882
      public static _Fields findByThriftId(int fieldId) {
-
 
191883
        switch(fieldId) {
-
 
191884
          case 0: // SUCCESS
-
 
191885
            return SUCCESS;
-
 
191886
          case 1: // EX
-
 
191887
            return EX;
-
 
191888
          default:
-
 
191889
            return null;
-
 
191890
        }
-
 
191891
      }
-
 
191892
 
-
 
191893
      /**
-
 
191894
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
191895
       * if it is not found.
-
 
191896
       */
-
 
191897
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
191898
        _Fields fields = findByThriftId(fieldId);
-
 
191899
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
191900
        return fields;
-
 
191901
      }
-
 
191902
 
-
 
191903
      /**
-
 
191904
       * Find the _Fields constant that matches name, or null if its not found.
-
 
191905
       */
-
 
191906
      public static _Fields findByName(String name) {
-
 
191907
        return byName.get(name);
-
 
191908
      }
-
 
191909
 
-
 
191910
      private final short _thriftId;
-
 
191911
      private final String _fieldName;
-
 
191912
 
-
 
191913
      _Fields(short thriftId, String fieldName) {
-
 
191914
        _thriftId = thriftId;
-
 
191915
        _fieldName = fieldName;
-
 
191916
      }
-
 
191917
 
-
 
191918
      public short getThriftFieldId() {
-
 
191919
        return _thriftId;
-
 
191920
      }
-
 
191921
 
-
 
191922
      public String getFieldName() {
-
 
191923
        return _fieldName;
-
 
191924
      }
-
 
191925
    }
-
 
191926
 
-
 
191927
    // isset id assignments
-
 
191928
 
-
 
191929
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
191930
    static {
-
 
191931
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
191932
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
191933
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
191934
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
-
 
191935
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
191936
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
191937
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
191938
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getGroupOrdersByLogisticsTxnId_result.class, metaDataMap);
-
 
191939
    }
-
 
191940
 
-
 
191941
    public getGroupOrdersByLogisticsTxnId_result() {
-
 
191942
    }
-
 
191943
 
-
 
191944
    public getGroupOrdersByLogisticsTxnId_result(
-
 
191945
      List<Order> success,
-
 
191946
      TransactionServiceException ex)
-
 
191947
    {
-
 
191948
      this();
-
 
191949
      this.success = success;
-
 
191950
      this.ex = ex;
-
 
191951
    }
-
 
191952
 
-
 
191953
    /**
-
 
191954
     * Performs a deep copy on <i>other</i>.
-
 
191955
     */
-
 
191956
    public getGroupOrdersByLogisticsTxnId_result(getGroupOrdersByLogisticsTxnId_result other) {
-
 
191957
      if (other.isSetSuccess()) {
-
 
191958
        List<Order> __this__success = new ArrayList<Order>();
-
 
191959
        for (Order other_element : other.success) {
-
 
191960
          __this__success.add(new Order(other_element));
-
 
191961
        }
-
 
191962
        this.success = __this__success;
-
 
191963
      }
-
 
191964
      if (other.isSetEx()) {
-
 
191965
        this.ex = new TransactionServiceException(other.ex);
-
 
191966
      }
-
 
191967
    }
-
 
191968
 
-
 
191969
    public getGroupOrdersByLogisticsTxnId_result deepCopy() {
-
 
191970
      return new getGroupOrdersByLogisticsTxnId_result(this);
-
 
191971
    }
-
 
191972
 
-
 
191973
    @Override
-
 
191974
    public void clear() {
-
 
191975
      this.success = null;
-
 
191976
      this.ex = null;
-
 
191977
    }
-
 
191978
 
-
 
191979
    public int getSuccessSize() {
-
 
191980
      return (this.success == null) ? 0 : this.success.size();
-
 
191981
    }
-
 
191982
 
-
 
191983
    public java.util.Iterator<Order> getSuccessIterator() {
-
 
191984
      return (this.success == null) ? null : this.success.iterator();
-
 
191985
    }
-
 
191986
 
-
 
191987
    public void addToSuccess(Order elem) {
-
 
191988
      if (this.success == null) {
-
 
191989
        this.success = new ArrayList<Order>();
-
 
191990
      }
-
 
191991
      this.success.add(elem);
-
 
191992
    }
-
 
191993
 
-
 
191994
    public List<Order> getSuccess() {
-
 
191995
      return this.success;
-
 
191996
    }
-
 
191997
 
-
 
191998
    public void setSuccess(List<Order> success) {
-
 
191999
      this.success = success;
-
 
192000
    }
-
 
192001
 
-
 
192002
    public void unsetSuccess() {
-
 
192003
      this.success = null;
-
 
192004
    }
-
 
192005
 
-
 
192006
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
192007
    public boolean isSetSuccess() {
-
 
192008
      return this.success != null;
-
 
192009
    }
-
 
192010
 
-
 
192011
    public void setSuccessIsSet(boolean value) {
-
 
192012
      if (!value) {
-
 
192013
        this.success = null;
-
 
192014
      }
-
 
192015
    }
-
 
192016
 
-
 
192017
    public TransactionServiceException getEx() {
-
 
192018
      return this.ex;
-
 
192019
    }
-
 
192020
 
-
 
192021
    public void setEx(TransactionServiceException ex) {
-
 
192022
      this.ex = ex;
-
 
192023
    }
-
 
192024
 
-
 
192025
    public void unsetEx() {
-
 
192026
      this.ex = null;
-
 
192027
    }
-
 
192028
 
-
 
192029
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
192030
    public boolean isSetEx() {
-
 
192031
      return this.ex != null;
-
 
192032
    }
-
 
192033
 
-
 
192034
    public void setExIsSet(boolean value) {
-
 
192035
      if (!value) {
-
 
192036
        this.ex = null;
-
 
192037
      }
-
 
192038
    }
-
 
192039
 
-
 
192040
    public void setFieldValue(_Fields field, Object value) {
-
 
192041
      switch (field) {
-
 
192042
      case SUCCESS:
-
 
192043
        if (value == null) {
-
 
192044
          unsetSuccess();
-
 
192045
        } else {
-
 
192046
          setSuccess((List<Order>)value);
-
 
192047
        }
-
 
192048
        break;
-
 
192049
 
-
 
192050
      case EX:
-
 
192051
        if (value == null) {
-
 
192052
          unsetEx();
-
 
192053
        } else {
-
 
192054
          setEx((TransactionServiceException)value);
-
 
192055
        }
-
 
192056
        break;
-
 
192057
 
-
 
192058
      }
-
 
192059
    }
-
 
192060
 
-
 
192061
    public Object getFieldValue(_Fields field) {
-
 
192062
      switch (field) {
-
 
192063
      case SUCCESS:
-
 
192064
        return getSuccess();
-
 
192065
 
-
 
192066
      case EX:
-
 
192067
        return getEx();
-
 
192068
 
-
 
192069
      }
-
 
192070
      throw new IllegalStateException();
-
 
192071
    }
-
 
192072
 
-
 
192073
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
192074
    public boolean isSet(_Fields field) {
-
 
192075
      if (field == null) {
-
 
192076
        throw new IllegalArgumentException();
-
 
192077
      }
-
 
192078
 
-
 
192079
      switch (field) {
-
 
192080
      case SUCCESS:
-
 
192081
        return isSetSuccess();
-
 
192082
      case EX:
-
 
192083
        return isSetEx();
-
 
192084
      }
-
 
192085
      throw new IllegalStateException();
-
 
192086
    }
-
 
192087
 
-
 
192088
    @Override
-
 
192089
    public boolean equals(Object that) {
-
 
192090
      if (that == null)
-
 
192091
        return false;
-
 
192092
      if (that instanceof getGroupOrdersByLogisticsTxnId_result)
-
 
192093
        return this.equals((getGroupOrdersByLogisticsTxnId_result)that);
-
 
192094
      return false;
-
 
192095
    }
-
 
192096
 
-
 
192097
    public boolean equals(getGroupOrdersByLogisticsTxnId_result that) {
-
 
192098
      if (that == null)
-
 
192099
        return false;
-
 
192100
 
-
 
192101
      boolean this_present_success = true && this.isSetSuccess();
-
 
192102
      boolean that_present_success = true && that.isSetSuccess();
-
 
192103
      if (this_present_success || that_present_success) {
-
 
192104
        if (!(this_present_success && that_present_success))
-
 
192105
          return false;
-
 
192106
        if (!this.success.equals(that.success))
-
 
192107
          return false;
-
 
192108
      }
-
 
192109
 
-
 
192110
      boolean this_present_ex = true && this.isSetEx();
-
 
192111
      boolean that_present_ex = true && that.isSetEx();
-
 
192112
      if (this_present_ex || that_present_ex) {
-
 
192113
        if (!(this_present_ex && that_present_ex))
-
 
192114
          return false;
-
 
192115
        if (!this.ex.equals(that.ex))
-
 
192116
          return false;
-
 
192117
      }
-
 
192118
 
-
 
192119
      return true;
-
 
192120
    }
-
 
192121
 
-
 
192122
    @Override
-
 
192123
    public int hashCode() {
-
 
192124
      return 0;
-
 
192125
    }
-
 
192126
 
-
 
192127
    public int compareTo(getGroupOrdersByLogisticsTxnId_result other) {
-
 
192128
      if (!getClass().equals(other.getClass())) {
-
 
192129
        return getClass().getName().compareTo(other.getClass().getName());
-
 
192130
      }
-
 
192131
 
-
 
192132
      int lastComparison = 0;
-
 
192133
      getGroupOrdersByLogisticsTxnId_result typedOther = (getGroupOrdersByLogisticsTxnId_result)other;
-
 
192134
 
-
 
192135
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
192136
      if (lastComparison != 0) {
-
 
192137
        return lastComparison;
-
 
192138
      }
-
 
192139
      if (isSetSuccess()) {
-
 
192140
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
192141
        if (lastComparison != 0) {
-
 
192142
          return lastComparison;
-
 
192143
        }
-
 
192144
      }
-
 
192145
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
192146
      if (lastComparison != 0) {
-
 
192147
        return lastComparison;
-
 
192148
      }
-
 
192149
      if (isSetEx()) {
-
 
192150
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
192151
        if (lastComparison != 0) {
-
 
192152
          return lastComparison;
-
 
192153
        }
-
 
192154
      }
-
 
192155
      return 0;
-
 
192156
    }
-
 
192157
 
-
 
192158
    public _Fields fieldForId(int fieldId) {
-
 
192159
      return _Fields.findByThriftId(fieldId);
-
 
192160
    }
-
 
192161
 
-
 
192162
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
192163
      org.apache.thrift.protocol.TField field;
-
 
192164
      iprot.readStructBegin();
-
 
192165
      while (true)
-
 
192166
      {
-
 
192167
        field = iprot.readFieldBegin();
-
 
192168
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
192169
          break;
-
 
192170
        }
-
 
192171
        switch (field.id) {
-
 
192172
          case 0: // SUCCESS
-
 
192173
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
192174
              {
-
 
192175
                org.apache.thrift.protocol.TList _list601 = iprot.readListBegin();
-
 
192176
                this.success = new ArrayList<Order>(_list601.size);
-
 
192177
                for (int _i602 = 0; _i602 < _list601.size; ++_i602)
-
 
192178
                {
-
 
192179
                  Order _elem603; // required
-
 
192180
                  _elem603 = new Order();
-
 
192181
                  _elem603.read(iprot);
-
 
192182
                  this.success.add(_elem603);
-
 
192183
                }
-
 
192184
                iprot.readListEnd();
-
 
192185
              }
-
 
192186
            } else { 
-
 
192187
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
192188
            }
-
 
192189
            break;
-
 
192190
          case 1: // EX
-
 
192191
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
192192
              this.ex = new TransactionServiceException();
-
 
192193
              this.ex.read(iprot);
-
 
192194
            } else { 
-
 
192195
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
192196
            }
-
 
192197
            break;
-
 
192198
          default:
-
 
192199
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
192200
        }
-
 
192201
        iprot.readFieldEnd();
-
 
192202
      }
-
 
192203
      iprot.readStructEnd();
-
 
192204
      validate();
-
 
192205
    }
-
 
192206
 
-
 
192207
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
192208
      oprot.writeStructBegin(STRUCT_DESC);
-
 
192209
 
-
 
192210
      if (this.isSetSuccess()) {
-
 
192211
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
192212
        {
-
 
192213
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
192214
          for (Order _iter604 : this.success)
-
 
192215
          {
-
 
192216
            _iter604.write(oprot);
-
 
192217
          }
-
 
192218
          oprot.writeListEnd();
-
 
192219
        }
-
 
192220
        oprot.writeFieldEnd();
-
 
192221
      } else if (this.isSetEx()) {
-
 
192222
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
192223
        this.ex.write(oprot);
-
 
192224
        oprot.writeFieldEnd();
-
 
192225
      }
-
 
192226
      oprot.writeFieldStop();
-
 
192227
      oprot.writeStructEnd();
-
 
192228
    }
-
 
192229
 
-
 
192230
    @Override
-
 
192231
    public String toString() {
-
 
192232
      StringBuilder sb = new StringBuilder("getGroupOrdersByLogisticsTxnId_result(");
-
 
192233
      boolean first = true;
-
 
192234
 
-
 
192235
      sb.append("success:");
-
 
192236
      if (this.success == null) {
-
 
192237
        sb.append("null");
-
 
192238
      } else {
-
 
192239
        sb.append(this.success);
-
 
192240
      }
-
 
192241
      first = false;
-
 
192242
      if (!first) sb.append(", ");
-
 
192243
      sb.append("ex:");
-
 
192244
      if (this.ex == null) {
-
 
192245
        sb.append("null");
-
 
192246
      } else {
-
 
192247
        sb.append(this.ex);
-
 
192248
      }
-
 
192249
      first = false;
-
 
192250
      sb.append(")");
-
 
192251
      return sb.toString();
-
 
192252
    }
-
 
192253
 
-
 
192254
    public void validate() throws org.apache.thrift.TException {
-
 
192255
      // check for required fields
-
 
192256
    }
-
 
192257
 
-
 
192258
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
192259
      try {
-
 
192260
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
192261
      } catch (org.apache.thrift.TException te) {
-
 
192262
        throw new java.io.IOException(te);
-
 
192263
      }
-
 
192264
    }
-
 
192265
 
-
 
192266
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
192267
      try {
-
 
192268
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
192269
      } catch (org.apache.thrift.TException te) {
-
 
192270
        throw new java.io.IOException(te);
-
 
192271
      }
-
 
192272
    }
-
 
192273
 
-
 
192274
  }
-
 
192275
 
-
 
192276
  public static class addBillingDetailsForGrouppedOrders_args implements org.apache.thrift.TBase<addBillingDetailsForGrouppedOrders_args, addBillingDetailsForGrouppedOrders_args._Fields>, java.io.Serializable, Cloneable   {
-
 
192277
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBillingDetailsForGrouppedOrders_args");
-
 
192278
 
-
 
192279
    private static final org.apache.thrift.protocol.TField ORDER_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("order_ids", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
192280
    private static final org.apache.thrift.protocol.TField INVOICE_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("invoice_number", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
192281
    private static final org.apache.thrift.protocol.TField ITEM_NUMBERS_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("itemNumbersMap", org.apache.thrift.protocol.TType.MAP, (short)3);
-
 
192282
    private static final org.apache.thrift.protocol.TField SERIAL_NUMBERS_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("serialNumbersMap", org.apache.thrift.protocol.TType.MAP, (short)4);
-
 
192283
    private static final org.apache.thrift.protocol.TField FREEBIE_WAREHOUSE_ID_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("freebieWarehouseIdMap", org.apache.thrift.protocol.TType.MAP, (short)5);
-
 
192284
    private static final org.apache.thrift.protocol.TField BILLED_BY_FIELD_DESC = new org.apache.thrift.protocol.TField("billed_by", org.apache.thrift.protocol.TType.STRING, (short)6);
-
 
192285
    private static final org.apache.thrift.protocol.TField JACKET_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("jacketNumber", org.apache.thrift.protocol.TType.I64, (short)7);
-
 
192286
    private static final org.apache.thrift.protocol.TField BILLING_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("billingType", org.apache.thrift.protocol.TType.I64, (short)8);
-
 
192287
    private static final org.apache.thrift.protocol.TField AUTHORIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("authorize", org.apache.thrift.protocol.TType.BOOL, (short)9);
-
 
192288
 
-
 
192289
    private List<Long> order_ids; // required
-
 
192290
    private String invoice_number; // required
-
 
192291
    private Map<Long,List<String>> itemNumbersMap; // required
-
 
192292
    private Map<Long,List<String>> serialNumbersMap; // required
-
 
192293
    private Map<Long,List<Long>> freebieWarehouseIdMap; // required
-
 
192294
    private String billed_by; // required
-
 
192295
    private long jacketNumber; // required
-
 
192296
    private long billingType; // required
-
 
192297
    private boolean authorize; // required
-
 
192298
 
-
 
192299
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
192300
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
192301
      ORDER_IDS((short)1, "order_ids"),
-
 
192302
      INVOICE_NUMBER((short)2, "invoice_number"),
-
 
192303
      ITEM_NUMBERS_MAP((short)3, "itemNumbersMap"),
-
 
192304
      SERIAL_NUMBERS_MAP((short)4, "serialNumbersMap"),
-
 
192305
      FREEBIE_WAREHOUSE_ID_MAP((short)5, "freebieWarehouseIdMap"),
-
 
192306
      BILLED_BY((short)6, "billed_by"),
-
 
192307
      JACKET_NUMBER((short)7, "jacketNumber"),
-
 
192308
      BILLING_TYPE((short)8, "billingType"),
-
 
192309
      AUTHORIZE((short)9, "authorize");
-
 
192310
 
-
 
192311
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
192312
 
-
 
192313
      static {
-
 
192314
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
192315
          byName.put(field.getFieldName(), field);
-
 
192316
        }
-
 
192317
      }
-
 
192318
 
-
 
192319
      /**
-
 
192320
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
192321
       */
-
 
192322
      public static _Fields findByThriftId(int fieldId) {
-
 
192323
        switch(fieldId) {
-
 
192324
          case 1: // ORDER_IDS
-
 
192325
            return ORDER_IDS;
-
 
192326
          case 2: // INVOICE_NUMBER
-
 
192327
            return INVOICE_NUMBER;
-
 
192328
          case 3: // ITEM_NUMBERS_MAP
-
 
192329
            return ITEM_NUMBERS_MAP;
-
 
192330
          case 4: // SERIAL_NUMBERS_MAP
-
 
192331
            return SERIAL_NUMBERS_MAP;
-
 
192332
          case 5: // FREEBIE_WAREHOUSE_ID_MAP
-
 
192333
            return FREEBIE_WAREHOUSE_ID_MAP;
-
 
192334
          case 6: // BILLED_BY
-
 
192335
            return BILLED_BY;
-
 
192336
          case 7: // JACKET_NUMBER
-
 
192337
            return JACKET_NUMBER;
-
 
192338
          case 8: // BILLING_TYPE
-
 
192339
            return BILLING_TYPE;
-
 
192340
          case 9: // AUTHORIZE
-
 
192341
            return AUTHORIZE;
-
 
192342
          default:
-
 
192343
            return null;
-
 
192344
        }
-
 
192345
      }
-
 
192346
 
-
 
192347
      /**
-
 
192348
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
192349
       * if it is not found.
-
 
192350
       */
-
 
192351
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
192352
        _Fields fields = findByThriftId(fieldId);
-
 
192353
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
192354
        return fields;
-
 
192355
      }
-
 
192356
 
-
 
192357
      /**
-
 
192358
       * Find the _Fields constant that matches name, or null if its not found.
-
 
192359
       */
-
 
192360
      public static _Fields findByName(String name) {
-
 
192361
        return byName.get(name);
-
 
192362
      }
-
 
192363
 
-
 
192364
      private final short _thriftId;
-
 
192365
      private final String _fieldName;
-
 
192366
 
-
 
192367
      _Fields(short thriftId, String fieldName) {
-
 
192368
        _thriftId = thriftId;
-
 
192369
        _fieldName = fieldName;
-
 
192370
      }
-
 
192371
 
-
 
192372
      public short getThriftFieldId() {
-
 
192373
        return _thriftId;
-
 
192374
      }
-
 
192375
 
-
 
192376
      public String getFieldName() {
-
 
192377
        return _fieldName;
-
 
192378
      }
-
 
192379
    }
-
 
192380
 
-
 
192381
    // isset id assignments
-
 
192382
    private static final int __JACKETNUMBER_ISSET_ID = 0;
-
 
192383
    private static final int __BILLINGTYPE_ISSET_ID = 1;
-
 
192384
    private static final int __AUTHORIZE_ISSET_ID = 2;
-
 
192385
    private BitSet __isset_bit_vector = new BitSet(3);
-
 
192386
 
-
 
192387
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
192388
    static {
-
 
192389
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
192390
      tmpMap.put(_Fields.ORDER_IDS, new org.apache.thrift.meta_data.FieldMetaData("order_ids", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
192391
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
192392
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
192393
      tmpMap.put(_Fields.INVOICE_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("invoice_number", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
192394
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
192395
      tmpMap.put(_Fields.ITEM_NUMBERS_MAP, new org.apache.thrift.meta_data.FieldMetaData("itemNumbersMap", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
192396
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
192397
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
192398
              new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
192399
                  new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))));
-
 
192400
      tmpMap.put(_Fields.SERIAL_NUMBERS_MAP, new org.apache.thrift.meta_data.FieldMetaData("serialNumbersMap", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
192401
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
192402
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
192403
              new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
192404
                  new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))));
-
 
192405
      tmpMap.put(_Fields.FREEBIE_WAREHOUSE_ID_MAP, new org.apache.thrift.meta_data.FieldMetaData("freebieWarehouseIdMap", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
192406
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
192407
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
192408
              new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
192409
                  new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)))));
-
 
192410
      tmpMap.put(_Fields.BILLED_BY, new org.apache.thrift.meta_data.FieldMetaData("billed_by", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
192411
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
192412
      tmpMap.put(_Fields.JACKET_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("jacketNumber", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
192413
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
192414
      tmpMap.put(_Fields.BILLING_TYPE, new org.apache.thrift.meta_data.FieldMetaData("billingType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
192415
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
192416
      tmpMap.put(_Fields.AUTHORIZE, new org.apache.thrift.meta_data.FieldMetaData("authorize", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
192417
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
192418
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
192419
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBillingDetailsForGrouppedOrders_args.class, metaDataMap);
-
 
192420
    }
-
 
192421
 
-
 
192422
    public addBillingDetailsForGrouppedOrders_args() {
-
 
192423
    }
-
 
192424
 
-
 
192425
    public addBillingDetailsForGrouppedOrders_args(
-
 
192426
      List<Long> order_ids,
-
 
192427
      String invoice_number,
-
 
192428
      Map<Long,List<String>> itemNumbersMap,
-
 
192429
      Map<Long,List<String>> serialNumbersMap,
-
 
192430
      Map<Long,List<Long>> freebieWarehouseIdMap,
-
 
192431
      String billed_by,
-
 
192432
      long jacketNumber,
-
 
192433
      long billingType,
-
 
192434
      boolean authorize)
-
 
192435
    {
-
 
192436
      this();
-
 
192437
      this.order_ids = order_ids;
-
 
192438
      this.invoice_number = invoice_number;
-
 
192439
      this.itemNumbersMap = itemNumbersMap;
-
 
192440
      this.serialNumbersMap = serialNumbersMap;
-
 
192441
      this.freebieWarehouseIdMap = freebieWarehouseIdMap;
-
 
192442
      this.billed_by = billed_by;
-
 
192443
      this.jacketNumber = jacketNumber;
-
 
192444
      setJacketNumberIsSet(true);
-
 
192445
      this.billingType = billingType;
-
 
192446
      setBillingTypeIsSet(true);
-
 
192447
      this.authorize = authorize;
-
 
192448
      setAuthorizeIsSet(true);
-
 
192449
    }
-
 
192450
 
-
 
192451
    /**
-
 
192452
     * Performs a deep copy on <i>other</i>.
-
 
192453
     */
-
 
192454
    public addBillingDetailsForGrouppedOrders_args(addBillingDetailsForGrouppedOrders_args other) {
-
 
192455
      __isset_bit_vector.clear();
-
 
192456
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
192457
      if (other.isSetOrder_ids()) {
-
 
192458
        List<Long> __this__order_ids = new ArrayList<Long>();
-
 
192459
        for (Long other_element : other.order_ids) {
-
 
192460
          __this__order_ids.add(other_element);
-
 
192461
        }
-
 
192462
        this.order_ids = __this__order_ids;
-
 
192463
      }
-
 
192464
      if (other.isSetInvoice_number()) {
-
 
192465
        this.invoice_number = other.invoice_number;
-
 
192466
      }
-
 
192467
      if (other.isSetItemNumbersMap()) {
-
 
192468
        Map<Long,List<String>> __this__itemNumbersMap = new HashMap<Long,List<String>>();
-
 
192469
        for (Map.Entry<Long, List<String>> other_element : other.itemNumbersMap.entrySet()) {
-
 
192470
 
-
 
192471
          Long other_element_key = other_element.getKey();
-
 
192472
          List<String> other_element_value = other_element.getValue();
-
 
192473
 
-
 
192474
          Long __this__itemNumbersMap_copy_key = other_element_key;
-
 
192475
 
-
 
192476
          List<String> __this__itemNumbersMap_copy_value = new ArrayList<String>();
-
 
192477
          for (String other_element_value_element : other_element_value) {
-
 
192478
            __this__itemNumbersMap_copy_value.add(other_element_value_element);
-
 
192479
          }
-
 
192480
 
-
 
192481
          __this__itemNumbersMap.put(__this__itemNumbersMap_copy_key, __this__itemNumbersMap_copy_value);
-
 
192482
        }
-
 
192483
        this.itemNumbersMap = __this__itemNumbersMap;
-
 
192484
      }
-
 
192485
      if (other.isSetSerialNumbersMap()) {
-
 
192486
        Map<Long,List<String>> __this__serialNumbersMap = new HashMap<Long,List<String>>();
-
 
192487
        for (Map.Entry<Long, List<String>> other_element : other.serialNumbersMap.entrySet()) {
-
 
192488
 
-
 
192489
          Long other_element_key = other_element.getKey();
-
 
192490
          List<String> other_element_value = other_element.getValue();
-
 
192491
 
-
 
192492
          Long __this__serialNumbersMap_copy_key = other_element_key;
-
 
192493
 
-
 
192494
          List<String> __this__serialNumbersMap_copy_value = new ArrayList<String>();
-
 
192495
          for (String other_element_value_element : other_element_value) {
-
 
192496
            __this__serialNumbersMap_copy_value.add(other_element_value_element);
-
 
192497
          }
-
 
192498
 
-
 
192499
          __this__serialNumbersMap.put(__this__serialNumbersMap_copy_key, __this__serialNumbersMap_copy_value);
-
 
192500
        }
-
 
192501
        this.serialNumbersMap = __this__serialNumbersMap;
-
 
192502
      }
-
 
192503
      if (other.isSetFreebieWarehouseIdMap()) {
-
 
192504
        Map<Long,List<Long>> __this__freebieWarehouseIdMap = new HashMap<Long,List<Long>>();
-
 
192505
        for (Map.Entry<Long, List<Long>> other_element : other.freebieWarehouseIdMap.entrySet()) {
-
 
192506
 
-
 
192507
          Long other_element_key = other_element.getKey();
-
 
192508
          List<Long> other_element_value = other_element.getValue();
-
 
192509
 
-
 
192510
          Long __this__freebieWarehouseIdMap_copy_key = other_element_key;
-
 
192511
 
-
 
192512
          List<Long> __this__freebieWarehouseIdMap_copy_value = new ArrayList<Long>();
-
 
192513
          for (Long other_element_value_element : other_element_value) {
-
 
192514
            __this__freebieWarehouseIdMap_copy_value.add(other_element_value_element);
-
 
192515
          }
-
 
192516
 
-
 
192517
          __this__freebieWarehouseIdMap.put(__this__freebieWarehouseIdMap_copy_key, __this__freebieWarehouseIdMap_copy_value);
-
 
192518
        }
-
 
192519
        this.freebieWarehouseIdMap = __this__freebieWarehouseIdMap;
-
 
192520
      }
-
 
192521
      if (other.isSetBilled_by()) {
-
 
192522
        this.billed_by = other.billed_by;
-
 
192523
      }
-
 
192524
      this.jacketNumber = other.jacketNumber;
-
 
192525
      this.billingType = other.billingType;
-
 
192526
      this.authorize = other.authorize;
-
 
192527
    }
-
 
192528
 
-
 
192529
    public addBillingDetailsForGrouppedOrders_args deepCopy() {
-
 
192530
      return new addBillingDetailsForGrouppedOrders_args(this);
-
 
192531
    }
-
 
192532
 
-
 
192533
    @Override
-
 
192534
    public void clear() {
-
 
192535
      this.order_ids = null;
-
 
192536
      this.invoice_number = null;
-
 
192537
      this.itemNumbersMap = null;
-
 
192538
      this.serialNumbersMap = null;
-
 
192539
      this.freebieWarehouseIdMap = null;
-
 
192540
      this.billed_by = null;
-
 
192541
      setJacketNumberIsSet(false);
-
 
192542
      this.jacketNumber = 0;
-
 
192543
      setBillingTypeIsSet(false);
-
 
192544
      this.billingType = 0;
-
 
192545
      setAuthorizeIsSet(false);
-
 
192546
      this.authorize = false;
-
 
192547
    }
-
 
192548
 
-
 
192549
    public int getOrder_idsSize() {
-
 
192550
      return (this.order_ids == null) ? 0 : this.order_ids.size();
-
 
192551
    }
-
 
192552
 
-
 
192553
    public java.util.Iterator<Long> getOrder_idsIterator() {
-
 
192554
      return (this.order_ids == null) ? null : this.order_ids.iterator();
-
 
192555
    }
-
 
192556
 
-
 
192557
    public void addToOrder_ids(long elem) {
-
 
192558
      if (this.order_ids == null) {
-
 
192559
        this.order_ids = new ArrayList<Long>();
-
 
192560
      }
-
 
192561
      this.order_ids.add(elem);
-
 
192562
    }
-
 
192563
 
-
 
192564
    public List<Long> getOrder_ids() {
-
 
192565
      return this.order_ids;
-
 
192566
    }
-
 
192567
 
-
 
192568
    public void setOrder_ids(List<Long> order_ids) {
-
 
192569
      this.order_ids = order_ids;
-
 
192570
    }
-
 
192571
 
-
 
192572
    public void unsetOrder_ids() {
-
 
192573
      this.order_ids = null;
-
 
192574
    }
-
 
192575
 
-
 
192576
    /** Returns true if field order_ids is set (has been assigned a value) and false otherwise */
-
 
192577
    public boolean isSetOrder_ids() {
-
 
192578
      return this.order_ids != null;
-
 
192579
    }
-
 
192580
 
-
 
192581
    public void setOrder_idsIsSet(boolean value) {
-
 
192582
      if (!value) {
-
 
192583
        this.order_ids = null;
-
 
192584
      }
-
 
192585
    }
-
 
192586
 
-
 
192587
    public String getInvoice_number() {
-
 
192588
      return this.invoice_number;
-
 
192589
    }
-
 
192590
 
-
 
192591
    public void setInvoice_number(String invoice_number) {
-
 
192592
      this.invoice_number = invoice_number;
-
 
192593
    }
-
 
192594
 
-
 
192595
    public void unsetInvoice_number() {
-
 
192596
      this.invoice_number = null;
-
 
192597
    }
-
 
192598
 
-
 
192599
    /** Returns true if field invoice_number is set (has been assigned a value) and false otherwise */
-
 
192600
    public boolean isSetInvoice_number() {
-
 
192601
      return this.invoice_number != null;
-
 
192602
    }
-
 
192603
 
-
 
192604
    public void setInvoice_numberIsSet(boolean value) {
-
 
192605
      if (!value) {
-
 
192606
        this.invoice_number = null;
-
 
192607
      }
-
 
192608
    }
-
 
192609
 
-
 
192610
    public int getItemNumbersMapSize() {
-
 
192611
      return (this.itemNumbersMap == null) ? 0 : this.itemNumbersMap.size();
-
 
192612
    }
-
 
192613
 
-
 
192614
    public void putToItemNumbersMap(long key, List<String> val) {
-
 
192615
      if (this.itemNumbersMap == null) {
-
 
192616
        this.itemNumbersMap = new HashMap<Long,List<String>>();
-
 
192617
      }
-
 
192618
      this.itemNumbersMap.put(key, val);
-
 
192619
    }
-
 
192620
 
-
 
192621
    public Map<Long,List<String>> getItemNumbersMap() {
-
 
192622
      return this.itemNumbersMap;
-
 
192623
    }
-
 
192624
 
-
 
192625
    public void setItemNumbersMap(Map<Long,List<String>> itemNumbersMap) {
-
 
192626
      this.itemNumbersMap = itemNumbersMap;
-
 
192627
    }
-
 
192628
 
-
 
192629
    public void unsetItemNumbersMap() {
-
 
192630
      this.itemNumbersMap = null;
-
 
192631
    }
-
 
192632
 
-
 
192633
    /** Returns true if field itemNumbersMap is set (has been assigned a value) and false otherwise */
-
 
192634
    public boolean isSetItemNumbersMap() {
-
 
192635
      return this.itemNumbersMap != null;
-
 
192636
    }
-
 
192637
 
-
 
192638
    public void setItemNumbersMapIsSet(boolean value) {
-
 
192639
      if (!value) {
-
 
192640
        this.itemNumbersMap = null;
-
 
192641
      }
-
 
192642
    }
-
 
192643
 
-
 
192644
    public int getSerialNumbersMapSize() {
-
 
192645
      return (this.serialNumbersMap == null) ? 0 : this.serialNumbersMap.size();
-
 
192646
    }
-
 
192647
 
-
 
192648
    public void putToSerialNumbersMap(long key, List<String> val) {
-
 
192649
      if (this.serialNumbersMap == null) {
-
 
192650
        this.serialNumbersMap = new HashMap<Long,List<String>>();
-
 
192651
      }
-
 
192652
      this.serialNumbersMap.put(key, val);
-
 
192653
    }
-
 
192654
 
-
 
192655
    public Map<Long,List<String>> getSerialNumbersMap() {
-
 
192656
      return this.serialNumbersMap;
-
 
192657
    }
-
 
192658
 
-
 
192659
    public void setSerialNumbersMap(Map<Long,List<String>> serialNumbersMap) {
-
 
192660
      this.serialNumbersMap = serialNumbersMap;
-
 
192661
    }
-
 
192662
 
-
 
192663
    public void unsetSerialNumbersMap() {
-
 
192664
      this.serialNumbersMap = null;
-
 
192665
    }
-
 
192666
 
-
 
192667
    /** Returns true if field serialNumbersMap is set (has been assigned a value) and false otherwise */
-
 
192668
    public boolean isSetSerialNumbersMap() {
-
 
192669
      return this.serialNumbersMap != null;
-
 
192670
    }
-
 
192671
 
-
 
192672
    public void setSerialNumbersMapIsSet(boolean value) {
-
 
192673
      if (!value) {
-
 
192674
        this.serialNumbersMap = null;
-
 
192675
      }
-
 
192676
    }
-
 
192677
 
-
 
192678
    public int getFreebieWarehouseIdMapSize() {
-
 
192679
      return (this.freebieWarehouseIdMap == null) ? 0 : this.freebieWarehouseIdMap.size();
-
 
192680
    }
-
 
192681
 
-
 
192682
    public void putToFreebieWarehouseIdMap(long key, List<Long> val) {
-
 
192683
      if (this.freebieWarehouseIdMap == null) {
-
 
192684
        this.freebieWarehouseIdMap = new HashMap<Long,List<Long>>();
-
 
192685
      }
-
 
192686
      this.freebieWarehouseIdMap.put(key, val);
-
 
192687
    }
-
 
192688
 
-
 
192689
    public Map<Long,List<Long>> getFreebieWarehouseIdMap() {
-
 
192690
      return this.freebieWarehouseIdMap;
-
 
192691
    }
-
 
192692
 
-
 
192693
    public void setFreebieWarehouseIdMap(Map<Long,List<Long>> freebieWarehouseIdMap) {
-
 
192694
      this.freebieWarehouseIdMap = freebieWarehouseIdMap;
-
 
192695
    }
-
 
192696
 
-
 
192697
    public void unsetFreebieWarehouseIdMap() {
-
 
192698
      this.freebieWarehouseIdMap = null;
-
 
192699
    }
-
 
192700
 
-
 
192701
    /** Returns true if field freebieWarehouseIdMap is set (has been assigned a value) and false otherwise */
-
 
192702
    public boolean isSetFreebieWarehouseIdMap() {
-
 
192703
      return this.freebieWarehouseIdMap != null;
-
 
192704
    }
-
 
192705
 
-
 
192706
    public void setFreebieWarehouseIdMapIsSet(boolean value) {
-
 
192707
      if (!value) {
-
 
192708
        this.freebieWarehouseIdMap = null;
-
 
192709
      }
-
 
192710
    }
-
 
192711
 
-
 
192712
    public String getBilled_by() {
-
 
192713
      return this.billed_by;
-
 
192714
    }
-
 
192715
 
-
 
192716
    public void setBilled_by(String billed_by) {
-
 
192717
      this.billed_by = billed_by;
-
 
192718
    }
-
 
192719
 
-
 
192720
    public void unsetBilled_by() {
-
 
192721
      this.billed_by = null;
-
 
192722
    }
-
 
192723
 
-
 
192724
    /** Returns true if field billed_by is set (has been assigned a value) and false otherwise */
-
 
192725
    public boolean isSetBilled_by() {
-
 
192726
      return this.billed_by != null;
-
 
192727
    }
-
 
192728
 
-
 
192729
    public void setBilled_byIsSet(boolean value) {
-
 
192730
      if (!value) {
-
 
192731
        this.billed_by = null;
-
 
192732
      }
-
 
192733
    }
-
 
192734
 
-
 
192735
    public long getJacketNumber() {
-
 
192736
      return this.jacketNumber;
-
 
192737
    }
-
 
192738
 
-
 
192739
    public void setJacketNumber(long jacketNumber) {
-
 
192740
      this.jacketNumber = jacketNumber;
-
 
192741
      setJacketNumberIsSet(true);
-
 
192742
    }
-
 
192743
 
-
 
192744
    public void unsetJacketNumber() {
-
 
192745
      __isset_bit_vector.clear(__JACKETNUMBER_ISSET_ID);
-
 
192746
    }
-
 
192747
 
-
 
192748
    /** Returns true if field jacketNumber is set (has been assigned a value) and false otherwise */
-
 
192749
    public boolean isSetJacketNumber() {
-
 
192750
      return __isset_bit_vector.get(__JACKETNUMBER_ISSET_ID);
-
 
192751
    }
-
 
192752
 
-
 
192753
    public void setJacketNumberIsSet(boolean value) {
-
 
192754
      __isset_bit_vector.set(__JACKETNUMBER_ISSET_ID, value);
-
 
192755
    }
-
 
192756
 
-
 
192757
    public long getBillingType() {
-
 
192758
      return this.billingType;
-
 
192759
    }
-
 
192760
 
-
 
192761
    public void setBillingType(long billingType) {
-
 
192762
      this.billingType = billingType;
-
 
192763
      setBillingTypeIsSet(true);
-
 
192764
    }
-
 
192765
 
-
 
192766
    public void unsetBillingType() {
-
 
192767
      __isset_bit_vector.clear(__BILLINGTYPE_ISSET_ID);
-
 
192768
    }
-
 
192769
 
-
 
192770
    /** Returns true if field billingType is set (has been assigned a value) and false otherwise */
-
 
192771
    public boolean isSetBillingType() {
-
 
192772
      return __isset_bit_vector.get(__BILLINGTYPE_ISSET_ID);
-
 
192773
    }
-
 
192774
 
-
 
192775
    public void setBillingTypeIsSet(boolean value) {
-
 
192776
      __isset_bit_vector.set(__BILLINGTYPE_ISSET_ID, value);
-
 
192777
    }
-
 
192778
 
-
 
192779
    public boolean isAuthorize() {
-
 
192780
      return this.authorize;
-
 
192781
    }
-
 
192782
 
-
 
192783
    public void setAuthorize(boolean authorize) {
-
 
192784
      this.authorize = authorize;
-
 
192785
      setAuthorizeIsSet(true);
-
 
192786
    }
-
 
192787
 
-
 
192788
    public void unsetAuthorize() {
-
 
192789
      __isset_bit_vector.clear(__AUTHORIZE_ISSET_ID);
-
 
192790
    }
-
 
192791
 
-
 
192792
    /** Returns true if field authorize is set (has been assigned a value) and false otherwise */
-
 
192793
    public boolean isSetAuthorize() {
-
 
192794
      return __isset_bit_vector.get(__AUTHORIZE_ISSET_ID);
-
 
192795
    }
-
 
192796
 
-
 
192797
    public void setAuthorizeIsSet(boolean value) {
-
 
192798
      __isset_bit_vector.set(__AUTHORIZE_ISSET_ID, value);
-
 
192799
    }
-
 
192800
 
-
 
192801
    public void setFieldValue(_Fields field, Object value) {
-
 
192802
      switch (field) {
-
 
192803
      case ORDER_IDS:
-
 
192804
        if (value == null) {
-
 
192805
          unsetOrder_ids();
-
 
192806
        } else {
-
 
192807
          setOrder_ids((List<Long>)value);
-
 
192808
        }
-
 
192809
        break;
-
 
192810
 
-
 
192811
      case INVOICE_NUMBER:
-
 
192812
        if (value == null) {
-
 
192813
          unsetInvoice_number();
-
 
192814
        } else {
-
 
192815
          setInvoice_number((String)value);
-
 
192816
        }
-
 
192817
        break;
-
 
192818
 
-
 
192819
      case ITEM_NUMBERS_MAP:
-
 
192820
        if (value == null) {
-
 
192821
          unsetItemNumbersMap();
-
 
192822
        } else {
-
 
192823
          setItemNumbersMap((Map<Long,List<String>>)value);
-
 
192824
        }
-
 
192825
        break;
-
 
192826
 
-
 
192827
      case SERIAL_NUMBERS_MAP:
-
 
192828
        if (value == null) {
-
 
192829
          unsetSerialNumbersMap();
-
 
192830
        } else {
-
 
192831
          setSerialNumbersMap((Map<Long,List<String>>)value);
-
 
192832
        }
-
 
192833
        break;
-
 
192834
 
-
 
192835
      case FREEBIE_WAREHOUSE_ID_MAP:
-
 
192836
        if (value == null) {
-
 
192837
          unsetFreebieWarehouseIdMap();
-
 
192838
        } else {
-
 
192839
          setFreebieWarehouseIdMap((Map<Long,List<Long>>)value);
-
 
192840
        }
-
 
192841
        break;
-
 
192842
 
-
 
192843
      case BILLED_BY:
-
 
192844
        if (value == null) {
-
 
192845
          unsetBilled_by();
-
 
192846
        } else {
-
 
192847
          setBilled_by((String)value);
-
 
192848
        }
-
 
192849
        break;
-
 
192850
 
-
 
192851
      case JACKET_NUMBER:
-
 
192852
        if (value == null) {
-
 
192853
          unsetJacketNumber();
-
 
192854
        } else {
-
 
192855
          setJacketNumber((Long)value);
-
 
192856
        }
-
 
192857
        break;
-
 
192858
 
-
 
192859
      case BILLING_TYPE:
-
 
192860
        if (value == null) {
-
 
192861
          unsetBillingType();
-
 
192862
        } else {
-
 
192863
          setBillingType((Long)value);
-
 
192864
        }
-
 
192865
        break;
-
 
192866
 
-
 
192867
      case AUTHORIZE:
-
 
192868
        if (value == null) {
-
 
192869
          unsetAuthorize();
-
 
192870
        } else {
-
 
192871
          setAuthorize((Boolean)value);
-
 
192872
        }
-
 
192873
        break;
-
 
192874
 
-
 
192875
      }
-
 
192876
    }
-
 
192877
 
-
 
192878
    public Object getFieldValue(_Fields field) {
-
 
192879
      switch (field) {
-
 
192880
      case ORDER_IDS:
-
 
192881
        return getOrder_ids();
-
 
192882
 
-
 
192883
      case INVOICE_NUMBER:
-
 
192884
        return getInvoice_number();
-
 
192885
 
-
 
192886
      case ITEM_NUMBERS_MAP:
-
 
192887
        return getItemNumbersMap();
-
 
192888
 
-
 
192889
      case SERIAL_NUMBERS_MAP:
-
 
192890
        return getSerialNumbersMap();
-
 
192891
 
-
 
192892
      case FREEBIE_WAREHOUSE_ID_MAP:
-
 
192893
        return getFreebieWarehouseIdMap();
-
 
192894
 
-
 
192895
      case BILLED_BY:
-
 
192896
        return getBilled_by();
-
 
192897
 
-
 
192898
      case JACKET_NUMBER:
-
 
192899
        return Long.valueOf(getJacketNumber());
-
 
192900
 
-
 
192901
      case BILLING_TYPE:
-
 
192902
        return Long.valueOf(getBillingType());
-
 
192903
 
-
 
192904
      case AUTHORIZE:
-
 
192905
        return Boolean.valueOf(isAuthorize());
-
 
192906
 
-
 
192907
      }
-
 
192908
      throw new IllegalStateException();
-
 
192909
    }
-
 
192910
 
-
 
192911
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
192912
    public boolean isSet(_Fields field) {
-
 
192913
      if (field == null) {
-
 
192914
        throw new IllegalArgumentException();
-
 
192915
      }
-
 
192916
 
-
 
192917
      switch (field) {
-
 
192918
      case ORDER_IDS:
-
 
192919
        return isSetOrder_ids();
-
 
192920
      case INVOICE_NUMBER:
-
 
192921
        return isSetInvoice_number();
-
 
192922
      case ITEM_NUMBERS_MAP:
-
 
192923
        return isSetItemNumbersMap();
-
 
192924
      case SERIAL_NUMBERS_MAP:
-
 
192925
        return isSetSerialNumbersMap();
-
 
192926
      case FREEBIE_WAREHOUSE_ID_MAP:
-
 
192927
        return isSetFreebieWarehouseIdMap();
-
 
192928
      case BILLED_BY:
-
 
192929
        return isSetBilled_by();
-
 
192930
      case JACKET_NUMBER:
-
 
192931
        return isSetJacketNumber();
-
 
192932
      case BILLING_TYPE:
-
 
192933
        return isSetBillingType();
-
 
192934
      case AUTHORIZE:
-
 
192935
        return isSetAuthorize();
-
 
192936
      }
-
 
192937
      throw new IllegalStateException();
-
 
192938
    }
-
 
192939
 
-
 
192940
    @Override
-
 
192941
    public boolean equals(Object that) {
-
 
192942
      if (that == null)
-
 
192943
        return false;
-
 
192944
      if (that instanceof addBillingDetailsForGrouppedOrders_args)
-
 
192945
        return this.equals((addBillingDetailsForGrouppedOrders_args)that);
-
 
192946
      return false;
-
 
192947
    }
-
 
192948
 
-
 
192949
    public boolean equals(addBillingDetailsForGrouppedOrders_args that) {
-
 
192950
      if (that == null)
-
 
192951
        return false;
-
 
192952
 
-
 
192953
      boolean this_present_order_ids = true && this.isSetOrder_ids();
-
 
192954
      boolean that_present_order_ids = true && that.isSetOrder_ids();
-
 
192955
      if (this_present_order_ids || that_present_order_ids) {
-
 
192956
        if (!(this_present_order_ids && that_present_order_ids))
-
 
192957
          return false;
-
 
192958
        if (!this.order_ids.equals(that.order_ids))
-
 
192959
          return false;
-
 
192960
      }
-
 
192961
 
-
 
192962
      boolean this_present_invoice_number = true && this.isSetInvoice_number();
-
 
192963
      boolean that_present_invoice_number = true && that.isSetInvoice_number();
-
 
192964
      if (this_present_invoice_number || that_present_invoice_number) {
-
 
192965
        if (!(this_present_invoice_number && that_present_invoice_number))
-
 
192966
          return false;
-
 
192967
        if (!this.invoice_number.equals(that.invoice_number))
-
 
192968
          return false;
-
 
192969
      }
-
 
192970
 
-
 
192971
      boolean this_present_itemNumbersMap = true && this.isSetItemNumbersMap();
-
 
192972
      boolean that_present_itemNumbersMap = true && that.isSetItemNumbersMap();
-
 
192973
      if (this_present_itemNumbersMap || that_present_itemNumbersMap) {
-
 
192974
        if (!(this_present_itemNumbersMap && that_present_itemNumbersMap))
-
 
192975
          return false;
-
 
192976
        if (!this.itemNumbersMap.equals(that.itemNumbersMap))
-
 
192977
          return false;
-
 
192978
      }
-
 
192979
 
-
 
192980
      boolean this_present_serialNumbersMap = true && this.isSetSerialNumbersMap();
-
 
192981
      boolean that_present_serialNumbersMap = true && that.isSetSerialNumbersMap();
-
 
192982
      if (this_present_serialNumbersMap || that_present_serialNumbersMap) {
-
 
192983
        if (!(this_present_serialNumbersMap && that_present_serialNumbersMap))
-
 
192984
          return false;
-
 
192985
        if (!this.serialNumbersMap.equals(that.serialNumbersMap))
-
 
192986
          return false;
-
 
192987
      }
-
 
192988
 
-
 
192989
      boolean this_present_freebieWarehouseIdMap = true && this.isSetFreebieWarehouseIdMap();
-
 
192990
      boolean that_present_freebieWarehouseIdMap = true && that.isSetFreebieWarehouseIdMap();
-
 
192991
      if (this_present_freebieWarehouseIdMap || that_present_freebieWarehouseIdMap) {
-
 
192992
        if (!(this_present_freebieWarehouseIdMap && that_present_freebieWarehouseIdMap))
-
 
192993
          return false;
-
 
192994
        if (!this.freebieWarehouseIdMap.equals(that.freebieWarehouseIdMap))
-
 
192995
          return false;
-
 
192996
      }
-
 
192997
 
-
 
192998
      boolean this_present_billed_by = true && this.isSetBilled_by();
-
 
192999
      boolean that_present_billed_by = true && that.isSetBilled_by();
-
 
193000
      if (this_present_billed_by || that_present_billed_by) {
-
 
193001
        if (!(this_present_billed_by && that_present_billed_by))
-
 
193002
          return false;
-
 
193003
        if (!this.billed_by.equals(that.billed_by))
-
 
193004
          return false;
-
 
193005
      }
-
 
193006
 
-
 
193007
      boolean this_present_jacketNumber = true;
-
 
193008
      boolean that_present_jacketNumber = true;
-
 
193009
      if (this_present_jacketNumber || that_present_jacketNumber) {
-
 
193010
        if (!(this_present_jacketNumber && that_present_jacketNumber))
-
 
193011
          return false;
-
 
193012
        if (this.jacketNumber != that.jacketNumber)
-
 
193013
          return false;
-
 
193014
      }
-
 
193015
 
-
 
193016
      boolean this_present_billingType = true;
-
 
193017
      boolean that_present_billingType = true;
-
 
193018
      if (this_present_billingType || that_present_billingType) {
-
 
193019
        if (!(this_present_billingType && that_present_billingType))
-
 
193020
          return false;
-
 
193021
        if (this.billingType != that.billingType)
-
 
193022
          return false;
-
 
193023
      }
-
 
193024
 
-
 
193025
      boolean this_present_authorize = true;
-
 
193026
      boolean that_present_authorize = true;
-
 
193027
      if (this_present_authorize || that_present_authorize) {
-
 
193028
        if (!(this_present_authorize && that_present_authorize))
-
 
193029
          return false;
-
 
193030
        if (this.authorize != that.authorize)
-
 
193031
          return false;
-
 
193032
      }
-
 
193033
 
-
 
193034
      return true;
-
 
193035
    }
-
 
193036
 
-
 
193037
    @Override
-
 
193038
    public int hashCode() {
-
 
193039
      return 0;
-
 
193040
    }
-
 
193041
 
-
 
193042
    public int compareTo(addBillingDetailsForGrouppedOrders_args other) {
-
 
193043
      if (!getClass().equals(other.getClass())) {
-
 
193044
        return getClass().getName().compareTo(other.getClass().getName());
-
 
193045
      }
-
 
193046
 
-
 
193047
      int lastComparison = 0;
-
 
193048
      addBillingDetailsForGrouppedOrders_args typedOther = (addBillingDetailsForGrouppedOrders_args)other;
-
 
193049
 
-
 
193050
      lastComparison = Boolean.valueOf(isSetOrder_ids()).compareTo(typedOther.isSetOrder_ids());
-
 
193051
      if (lastComparison != 0) {
-
 
193052
        return lastComparison;
-
 
193053
      }
-
 
193054
      if (isSetOrder_ids()) {
-
 
193055
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.order_ids, typedOther.order_ids);
-
 
193056
        if (lastComparison != 0) {
-
 
193057
          return lastComparison;
-
 
193058
        }
-
 
193059
      }
-
 
193060
      lastComparison = Boolean.valueOf(isSetInvoice_number()).compareTo(typedOther.isSetInvoice_number());
-
 
193061
      if (lastComparison != 0) {
-
 
193062
        return lastComparison;
-
 
193063
      }
-
 
193064
      if (isSetInvoice_number()) {
-
 
193065
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.invoice_number, typedOther.invoice_number);
-
 
193066
        if (lastComparison != 0) {
-
 
193067
          return lastComparison;
-
 
193068
        }
-
 
193069
      }
-
 
193070
      lastComparison = Boolean.valueOf(isSetItemNumbersMap()).compareTo(typedOther.isSetItemNumbersMap());
-
 
193071
      if (lastComparison != 0) {
-
 
193072
        return lastComparison;
-
 
193073
      }
-
 
193074
      if (isSetItemNumbersMap()) {
-
 
193075
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemNumbersMap, typedOther.itemNumbersMap);
-
 
193076
        if (lastComparison != 0) {
-
 
193077
          return lastComparison;
-
 
193078
        }
-
 
193079
      }
-
 
193080
      lastComparison = Boolean.valueOf(isSetSerialNumbersMap()).compareTo(typedOther.isSetSerialNumbersMap());
-
 
193081
      if (lastComparison != 0) {
-
 
193082
        return lastComparison;
-
 
193083
      }
-
 
193084
      if (isSetSerialNumbersMap()) {
-
 
193085
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serialNumbersMap, typedOther.serialNumbersMap);
-
 
193086
        if (lastComparison != 0) {
-
 
193087
          return lastComparison;
-
 
193088
        }
-
 
193089
      }
-
 
193090
      lastComparison = Boolean.valueOf(isSetFreebieWarehouseIdMap()).compareTo(typedOther.isSetFreebieWarehouseIdMap());
-
 
193091
      if (lastComparison != 0) {
-
 
193092
        return lastComparison;
-
 
193093
      }
-
 
193094
      if (isSetFreebieWarehouseIdMap()) {
-
 
193095
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.freebieWarehouseIdMap, typedOther.freebieWarehouseIdMap);
-
 
193096
        if (lastComparison != 0) {
-
 
193097
          return lastComparison;
-
 
193098
        }
-
 
193099
      }
-
 
193100
      lastComparison = Boolean.valueOf(isSetBilled_by()).compareTo(typedOther.isSetBilled_by());
-
 
193101
      if (lastComparison != 0) {
-
 
193102
        return lastComparison;
-
 
193103
      }
-
 
193104
      if (isSetBilled_by()) {
-
 
193105
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.billed_by, typedOther.billed_by);
-
 
193106
        if (lastComparison != 0) {
-
 
193107
          return lastComparison;
-
 
193108
        }
-
 
193109
      }
-
 
193110
      lastComparison = Boolean.valueOf(isSetJacketNumber()).compareTo(typedOther.isSetJacketNumber());
-
 
193111
      if (lastComparison != 0) {
-
 
193112
        return lastComparison;
-
 
193113
      }
-
 
193114
      if (isSetJacketNumber()) {
-
 
193115
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jacketNumber, typedOther.jacketNumber);
-
 
193116
        if (lastComparison != 0) {
-
 
193117
          return lastComparison;
-
 
193118
        }
-
 
193119
      }
-
 
193120
      lastComparison = Boolean.valueOf(isSetBillingType()).compareTo(typedOther.isSetBillingType());
-
 
193121
      if (lastComparison != 0) {
-
 
193122
        return lastComparison;
-
 
193123
      }
-
 
193124
      if (isSetBillingType()) {
-
 
193125
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.billingType, typedOther.billingType);
-
 
193126
        if (lastComparison != 0) {
-
 
193127
          return lastComparison;
-
 
193128
        }
-
 
193129
      }
-
 
193130
      lastComparison = Boolean.valueOf(isSetAuthorize()).compareTo(typedOther.isSetAuthorize());
-
 
193131
      if (lastComparison != 0) {
-
 
193132
        return lastComparison;
-
 
193133
      }
-
 
193134
      if (isSetAuthorize()) {
-
 
193135
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.authorize, typedOther.authorize);
-
 
193136
        if (lastComparison != 0) {
-
 
193137
          return lastComparison;
-
 
193138
        }
-
 
193139
      }
-
 
193140
      return 0;
-
 
193141
    }
-
 
193142
 
-
 
193143
    public _Fields fieldForId(int fieldId) {
-
 
193144
      return _Fields.findByThriftId(fieldId);
-
 
193145
    }
-
 
193146
 
-
 
193147
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
193148
      org.apache.thrift.protocol.TField field;
-
 
193149
      iprot.readStructBegin();
-
 
193150
      while (true)
-
 
193151
      {
-
 
193152
        field = iprot.readFieldBegin();
-
 
193153
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
193154
          break;
-
 
193155
        }
-
 
193156
        switch (field.id) {
-
 
193157
          case 1: // ORDER_IDS
-
 
193158
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
193159
              {
-
 
193160
                org.apache.thrift.protocol.TList _list605 = iprot.readListBegin();
-
 
193161
                this.order_ids = new ArrayList<Long>(_list605.size);
-
 
193162
                for (int _i606 = 0; _i606 < _list605.size; ++_i606)
-
 
193163
                {
-
 
193164
                  long _elem607; // required
-
 
193165
                  _elem607 = iprot.readI64();
-
 
193166
                  this.order_ids.add(_elem607);
-
 
193167
                }
-
 
193168
                iprot.readListEnd();
-
 
193169
              }
-
 
193170
            } else { 
-
 
193171
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
193172
            }
-
 
193173
            break;
-
 
193174
          case 2: // INVOICE_NUMBER
-
 
193175
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
193176
              this.invoice_number = iprot.readString();
-
 
193177
            } else { 
-
 
193178
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
193179
            }
-
 
193180
            break;
-
 
193181
          case 3: // ITEM_NUMBERS_MAP
-
 
193182
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
193183
              {
-
 
193184
                org.apache.thrift.protocol.TMap _map608 = iprot.readMapBegin();
-
 
193185
                this.itemNumbersMap = new HashMap<Long,List<String>>(2*_map608.size);
-
 
193186
                for (int _i609 = 0; _i609 < _map608.size; ++_i609)
-
 
193187
                {
-
 
193188
                  long _key610; // required
-
 
193189
                  List<String> _val611; // required
-
 
193190
                  _key610 = iprot.readI64();
-
 
193191
                  {
-
 
193192
                    org.apache.thrift.protocol.TList _list612 = iprot.readListBegin();
-
 
193193
                    _val611 = new ArrayList<String>(_list612.size);
-
 
193194
                    for (int _i613 = 0; _i613 < _list612.size; ++_i613)
-
 
193195
                    {
-
 
193196
                      String _elem614; // required
-
 
193197
                      _elem614 = iprot.readString();
-
 
193198
                      _val611.add(_elem614);
-
 
193199
                    }
-
 
193200
                    iprot.readListEnd();
-
 
193201
                  }
-
 
193202
                  this.itemNumbersMap.put(_key610, _val611);
-
 
193203
                }
-
 
193204
                iprot.readMapEnd();
-
 
193205
              }
-
 
193206
            } else { 
-
 
193207
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
193208
            }
-
 
193209
            break;
-
 
193210
          case 4: // SERIAL_NUMBERS_MAP
-
 
193211
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
193212
              {
-
 
193213
                org.apache.thrift.protocol.TMap _map615 = iprot.readMapBegin();
-
 
193214
                this.serialNumbersMap = new HashMap<Long,List<String>>(2*_map615.size);
-
 
193215
                for (int _i616 = 0; _i616 < _map615.size; ++_i616)
-
 
193216
                {
-
 
193217
                  long _key617; // required
-
 
193218
                  List<String> _val618; // required
-
 
193219
                  _key617 = iprot.readI64();
-
 
193220
                  {
-
 
193221
                    org.apache.thrift.protocol.TList _list619 = iprot.readListBegin();
-
 
193222
                    _val618 = new ArrayList<String>(_list619.size);
-
 
193223
                    for (int _i620 = 0; _i620 < _list619.size; ++_i620)
-
 
193224
                    {
-
 
193225
                      String _elem621; // required
-
 
193226
                      _elem621 = iprot.readString();
-
 
193227
                      _val618.add(_elem621);
-
 
193228
                    }
-
 
193229
                    iprot.readListEnd();
-
 
193230
                  }
-
 
193231
                  this.serialNumbersMap.put(_key617, _val618);
-
 
193232
                }
-
 
193233
                iprot.readMapEnd();
-
 
193234
              }
-
 
193235
            } else { 
-
 
193236
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
193237
            }
-
 
193238
            break;
-
 
193239
          case 5: // FREEBIE_WAREHOUSE_ID_MAP
-
 
193240
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
193241
              {
-
 
193242
                org.apache.thrift.protocol.TMap _map622 = iprot.readMapBegin();
-
 
193243
                this.freebieWarehouseIdMap = new HashMap<Long,List<Long>>(2*_map622.size);
-
 
193244
                for (int _i623 = 0; _i623 < _map622.size; ++_i623)
-
 
193245
                {
-
 
193246
                  long _key624; // required
-
 
193247
                  List<Long> _val625; // required
-
 
193248
                  _key624 = iprot.readI64();
-
 
193249
                  {
-
 
193250
                    org.apache.thrift.protocol.TList _list626 = iprot.readListBegin();
-
 
193251
                    _val625 = new ArrayList<Long>(_list626.size);
-
 
193252
                    for (int _i627 = 0; _i627 < _list626.size; ++_i627)
-
 
193253
                    {
-
 
193254
                      long _elem628; // required
-
 
193255
                      _elem628 = iprot.readI64();
-
 
193256
                      _val625.add(_elem628);
-
 
193257
                    }
-
 
193258
                    iprot.readListEnd();
-
 
193259
                  }
-
 
193260
                  this.freebieWarehouseIdMap.put(_key624, _val625);
-
 
193261
                }
-
 
193262
                iprot.readMapEnd();
-
 
193263
              }
-
 
193264
            } else { 
-
 
193265
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
193266
            }
-
 
193267
            break;
-
 
193268
          case 6: // BILLED_BY
-
 
193269
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
193270
              this.billed_by = iprot.readString();
-
 
193271
            } else { 
-
 
193272
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
193273
            }
-
 
193274
            break;
-
 
193275
          case 7: // JACKET_NUMBER
-
 
193276
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
193277
              this.jacketNumber = iprot.readI64();
-
 
193278
              setJacketNumberIsSet(true);
-
 
193279
            } else { 
-
 
193280
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
193281
            }
-
 
193282
            break;
-
 
193283
          case 8: // BILLING_TYPE
-
 
193284
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
193285
              this.billingType = iprot.readI64();
-
 
193286
              setBillingTypeIsSet(true);
-
 
193287
            } else { 
-
 
193288
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
193289
            }
-
 
193290
            break;
-
 
193291
          case 9: // AUTHORIZE
-
 
193292
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
193293
              this.authorize = iprot.readBool();
-
 
193294
              setAuthorizeIsSet(true);
-
 
193295
            } else { 
-
 
193296
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
193297
            }
-
 
193298
            break;
-
 
193299
          default:
-
 
193300
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
193301
        }
-
 
193302
        iprot.readFieldEnd();
-
 
193303
      }
-
 
193304
      iprot.readStructEnd();
-
 
193305
      validate();
-
 
193306
    }
-
 
193307
 
-
 
193308
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
193309
      validate();
-
 
193310
 
-
 
193311
      oprot.writeStructBegin(STRUCT_DESC);
-
 
193312
      if (this.order_ids != null) {
-
 
193313
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
-
 
193314
        {
-
 
193315
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
-
 
193316
          for (long _iter629 : this.order_ids)
-
 
193317
          {
-
 
193318
            oprot.writeI64(_iter629);
-
 
193319
          }
-
 
193320
          oprot.writeListEnd();
-
 
193321
        }
-
 
193322
        oprot.writeFieldEnd();
-
 
193323
      }
-
 
193324
      if (this.invoice_number != null) {
-
 
193325
        oprot.writeFieldBegin(INVOICE_NUMBER_FIELD_DESC);
-
 
193326
        oprot.writeString(this.invoice_number);
-
 
193327
        oprot.writeFieldEnd();
-
 
193328
      }
-
 
193329
      if (this.itemNumbersMap != null) {
-
 
193330
        oprot.writeFieldBegin(ITEM_NUMBERS_MAP_FIELD_DESC);
-
 
193331
        {
-
 
193332
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.itemNumbersMap.size()));
-
 
193333
          for (Map.Entry<Long, List<String>> _iter630 : this.itemNumbersMap.entrySet())
-
 
193334
          {
-
 
193335
            oprot.writeI64(_iter630.getKey());
-
 
193336
            {
-
 
193337
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter630.getValue().size()));
-
 
193338
              for (String _iter631 : _iter630.getValue())
-
 
193339
              {
-
 
193340
                oprot.writeString(_iter631);
-
 
193341
              }
-
 
193342
              oprot.writeListEnd();
-
 
193343
            }
-
 
193344
          }
-
 
193345
          oprot.writeMapEnd();
-
 
193346
        }
-
 
193347
        oprot.writeFieldEnd();
-
 
193348
      }
-
 
193349
      if (this.serialNumbersMap != null) {
-
 
193350
        oprot.writeFieldBegin(SERIAL_NUMBERS_MAP_FIELD_DESC);
-
 
193351
        {
-
 
193352
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.serialNumbersMap.size()));
-
 
193353
          for (Map.Entry<Long, List<String>> _iter632 : this.serialNumbersMap.entrySet())
-
 
193354
          {
-
 
193355
            oprot.writeI64(_iter632.getKey());
-
 
193356
            {
-
 
193357
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter632.getValue().size()));
-
 
193358
              for (String _iter633 : _iter632.getValue())
-
 
193359
              {
-
 
193360
                oprot.writeString(_iter633);
-
 
193361
              }
-
 
193362
              oprot.writeListEnd();
-
 
193363
            }
-
 
193364
          }
-
 
193365
          oprot.writeMapEnd();
-
 
193366
        }
-
 
193367
        oprot.writeFieldEnd();
-
 
193368
      }
-
 
193369
      if (this.freebieWarehouseIdMap != null) {
-
 
193370
        oprot.writeFieldBegin(FREEBIE_WAREHOUSE_ID_MAP_FIELD_DESC);
-
 
193371
        {
-
 
193372
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.freebieWarehouseIdMap.size()));
-
 
193373
          for (Map.Entry<Long, List<Long>> _iter634 : this.freebieWarehouseIdMap.entrySet())
-
 
193374
          {
-
 
193375
            oprot.writeI64(_iter634.getKey());
-
 
193376
            {
-
 
193377
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, _iter634.getValue().size()));
-
 
193378
              for (long _iter635 : _iter634.getValue())
-
 
193379
              {
-
 
193380
                oprot.writeI64(_iter635);
-
 
193381
              }
-
 
193382
              oprot.writeListEnd();
-
 
193383
            }
-
 
193384
          }
-
 
193385
          oprot.writeMapEnd();
-
 
193386
        }
-
 
193387
        oprot.writeFieldEnd();
-
 
193388
      }
-
 
193389
      if (this.billed_by != null) {
-
 
193390
        oprot.writeFieldBegin(BILLED_BY_FIELD_DESC);
-
 
193391
        oprot.writeString(this.billed_by);
-
 
193392
        oprot.writeFieldEnd();
-
 
193393
      }
-
 
193394
      oprot.writeFieldBegin(JACKET_NUMBER_FIELD_DESC);
-
 
193395
      oprot.writeI64(this.jacketNumber);
-
 
193396
      oprot.writeFieldEnd();
-
 
193397
      oprot.writeFieldBegin(BILLING_TYPE_FIELD_DESC);
-
 
193398
      oprot.writeI64(this.billingType);
-
 
193399
      oprot.writeFieldEnd();
-
 
193400
      oprot.writeFieldBegin(AUTHORIZE_FIELD_DESC);
-
 
193401
      oprot.writeBool(this.authorize);
-
 
193402
      oprot.writeFieldEnd();
-
 
193403
      oprot.writeFieldStop();
-
 
193404
      oprot.writeStructEnd();
-
 
193405
    }
-
 
193406
 
-
 
193407
    @Override
-
 
193408
    public String toString() {
-
 
193409
      StringBuilder sb = new StringBuilder("addBillingDetailsForGrouppedOrders_args(");
-
 
193410
      boolean first = true;
-
 
193411
 
-
 
193412
      sb.append("order_ids:");
-
 
193413
      if (this.order_ids == null) {
-
 
193414
        sb.append("null");
-
 
193415
      } else {
-
 
193416
        sb.append(this.order_ids);
-
 
193417
      }
-
 
193418
      first = false;
-
 
193419
      if (!first) sb.append(", ");
-
 
193420
      sb.append("invoice_number:");
-
 
193421
      if (this.invoice_number == null) {
-
 
193422
        sb.append("null");
-
 
193423
      } else {
-
 
193424
        sb.append(this.invoice_number);
-
 
193425
      }
-
 
193426
      first = false;
-
 
193427
      if (!first) sb.append(", ");
-
 
193428
      sb.append("itemNumbersMap:");
-
 
193429
      if (this.itemNumbersMap == null) {
-
 
193430
        sb.append("null");
-
 
193431
      } else {
-
 
193432
        sb.append(this.itemNumbersMap);
-
 
193433
      }
-
 
193434
      first = false;
-
 
193435
      if (!first) sb.append(", ");
-
 
193436
      sb.append("serialNumbersMap:");
-
 
193437
      if (this.serialNumbersMap == null) {
-
 
193438
        sb.append("null");
-
 
193439
      } else {
-
 
193440
        sb.append(this.serialNumbersMap);
-
 
193441
      }
-
 
193442
      first = false;
-
 
193443
      if (!first) sb.append(", ");
-
 
193444
      sb.append("freebieWarehouseIdMap:");
-
 
193445
      if (this.freebieWarehouseIdMap == null) {
-
 
193446
        sb.append("null");
-
 
193447
      } else {
-
 
193448
        sb.append(this.freebieWarehouseIdMap);
-
 
193449
      }
-
 
193450
      first = false;
-
 
193451
      if (!first) sb.append(", ");
-
 
193452
      sb.append("billed_by:");
-
 
193453
      if (this.billed_by == null) {
-
 
193454
        sb.append("null");
-
 
193455
      } else {
-
 
193456
        sb.append(this.billed_by);
-
 
193457
      }
-
 
193458
      first = false;
-
 
193459
      if (!first) sb.append(", ");
-
 
193460
      sb.append("jacketNumber:");
-
 
193461
      sb.append(this.jacketNumber);
-
 
193462
      first = false;
-
 
193463
      if (!first) sb.append(", ");
-
 
193464
      sb.append("billingType:");
-
 
193465
      sb.append(this.billingType);
-
 
193466
      first = false;
-
 
193467
      if (!first) sb.append(", ");
-
 
193468
      sb.append("authorize:");
-
 
193469
      sb.append(this.authorize);
-
 
193470
      first = false;
-
 
193471
      sb.append(")");
-
 
193472
      return sb.toString();
-
 
193473
    }
-
 
193474
 
-
 
193475
    public void validate() throws org.apache.thrift.TException {
-
 
193476
      // check for required fields
-
 
193477
    }
-
 
193478
 
-
 
193479
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
193480
      try {
-
 
193481
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
193482
      } catch (org.apache.thrift.TException te) {
-
 
193483
        throw new java.io.IOException(te);
-
 
193484
      }
-
 
193485
    }
-
 
193486
 
-
 
193487
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
193488
      try {
-
 
193489
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
193490
        __isset_bit_vector = new BitSet(1);
-
 
193491
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
193492
      } catch (org.apache.thrift.TException te) {
-
 
193493
        throw new java.io.IOException(te);
-
 
193494
      }
-
 
193495
    }
-
 
193496
 
-
 
193497
  }
-
 
193498
 
-
 
193499
  public static class addBillingDetailsForGrouppedOrders_result implements org.apache.thrift.TBase<addBillingDetailsForGrouppedOrders_result, addBillingDetailsForGrouppedOrders_result._Fields>, java.io.Serializable, Cloneable   {
-
 
193500
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBillingDetailsForGrouppedOrders_result");
-
 
193501
 
-
 
193502
    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);
-
 
193503
    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);
-
 
193504
 
-
 
193505
    private boolean success; // required
-
 
193506
    private TransactionServiceException ex; // required
-
 
193507
 
-
 
193508
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
193509
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
193510
      SUCCESS((short)0, "success"),
-
 
193511
      EX((short)1, "ex");
-
 
193512
 
-
 
193513
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
193514
 
-
 
193515
      static {
-
 
193516
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
193517
          byName.put(field.getFieldName(), field);
-
 
193518
        }
-
 
193519
      }
-
 
193520
 
-
 
193521
      /**
-
 
193522
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
193523
       */
-
 
193524
      public static _Fields findByThriftId(int fieldId) {
-
 
193525
        switch(fieldId) {
-
 
193526
          case 0: // SUCCESS
-
 
193527
            return SUCCESS;
-
 
193528
          case 1: // EX
-
 
193529
            return EX;
-
 
193530
          default:
-
 
193531
            return null;
-
 
193532
        }
-
 
193533
      }
-
 
193534
 
-
 
193535
      /**
-
 
193536
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
193537
       * if it is not found.
-
 
193538
       */
-
 
193539
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
193540
        _Fields fields = findByThriftId(fieldId);
-
 
193541
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
193542
        return fields;
-
 
193543
      }
-
 
193544
 
-
 
193545
      /**
-
 
193546
       * Find the _Fields constant that matches name, or null if its not found.
-
 
193547
       */
-
 
193548
      public static _Fields findByName(String name) {
-
 
193549
        return byName.get(name);
-
 
193550
      }
-
 
193551
 
-
 
193552
      private final short _thriftId;
-
 
193553
      private final String _fieldName;
-
 
193554
 
-
 
193555
      _Fields(short thriftId, String fieldName) {
-
 
193556
        _thriftId = thriftId;
-
 
193557
        _fieldName = fieldName;
-
 
193558
      }
-
 
193559
 
-
 
193560
      public short getThriftFieldId() {
-
 
193561
        return _thriftId;
-
 
193562
      }
-
 
193563
 
-
 
193564
      public String getFieldName() {
-
 
193565
        return _fieldName;
-
 
193566
      }
-
 
193567
    }
-
 
193568
 
-
 
193569
    // isset id assignments
-
 
193570
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
193571
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
193572
 
-
 
193573
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
193574
    static {
-
 
193575
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
193576
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
193577
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
193578
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
193579
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
193580
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
193581
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBillingDetailsForGrouppedOrders_result.class, metaDataMap);
-
 
193582
    }
-
 
193583
 
-
 
193584
    public addBillingDetailsForGrouppedOrders_result() {
-
 
193585
    }
-
 
193586
 
-
 
193587
    public addBillingDetailsForGrouppedOrders_result(
-
 
193588
      boolean success,
-
 
193589
      TransactionServiceException ex)
-
 
193590
    {
-
 
193591
      this();
-
 
193592
      this.success = success;
-
 
193593
      setSuccessIsSet(true);
-
 
193594
      this.ex = ex;
-
 
193595
    }
-
 
193596
 
-
 
193597
    /**
-
 
193598
     * Performs a deep copy on <i>other</i>.
-
 
193599
     */
-
 
193600
    public addBillingDetailsForGrouppedOrders_result(addBillingDetailsForGrouppedOrders_result other) {
-
 
193601
      __isset_bit_vector.clear();
-
 
193602
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
193603
      this.success = other.success;
-
 
193604
      if (other.isSetEx()) {
-
 
193605
        this.ex = new TransactionServiceException(other.ex);
-
 
193606
      }
-
 
193607
    }
-
 
193608
 
-
 
193609
    public addBillingDetailsForGrouppedOrders_result deepCopy() {
-
 
193610
      return new addBillingDetailsForGrouppedOrders_result(this);
-
 
193611
    }
-
 
193612
 
-
 
193613
    @Override
-
 
193614
    public void clear() {
-
 
193615
      setSuccessIsSet(false);
-
 
193616
      this.success = false;
-
 
193617
      this.ex = null;
-
 
193618
    }
-
 
193619
 
-
 
193620
    public boolean isSuccess() {
-
 
193621
      return this.success;
-
 
193622
    }
-
 
193623
 
-
 
193624
    public void setSuccess(boolean success) {
-
 
193625
      this.success = success;
-
 
193626
      setSuccessIsSet(true);
-
 
193627
    }
-
 
193628
 
-
 
193629
    public void unsetSuccess() {
-
 
193630
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
193631
    }
-
 
193632
 
-
 
193633
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
193634
    public boolean isSetSuccess() {
-
 
193635
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
193636
    }
-
 
193637
 
-
 
193638
    public void setSuccessIsSet(boolean value) {
-
 
193639
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
193640
    }
-
 
193641
 
-
 
193642
    public TransactionServiceException getEx() {
-
 
193643
      return this.ex;
-
 
193644
    }
-
 
193645
 
-
 
193646
    public void setEx(TransactionServiceException ex) {
-
 
193647
      this.ex = ex;
-
 
193648
    }
-
 
193649
 
-
 
193650
    public void unsetEx() {
-
 
193651
      this.ex = null;
-
 
193652
    }
-
 
193653
 
-
 
193654
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
193655
    public boolean isSetEx() {
-
 
193656
      return this.ex != null;
-
 
193657
    }
-
 
193658
 
-
 
193659
    public void setExIsSet(boolean value) {
-
 
193660
      if (!value) {
-
 
193661
        this.ex = null;
-
 
193662
      }
-
 
193663
    }
-
 
193664
 
-
 
193665
    public void setFieldValue(_Fields field, Object value) {
-
 
193666
      switch (field) {
-
 
193667
      case SUCCESS:
-
 
193668
        if (value == null) {
-
 
193669
          unsetSuccess();
-
 
193670
        } else {
-
 
193671
          setSuccess((Boolean)value);
-
 
193672
        }
-
 
193673
        break;
-
 
193674
 
-
 
193675
      case EX:
-
 
193676
        if (value == null) {
-
 
193677
          unsetEx();
-
 
193678
        } else {
-
 
193679
          setEx((TransactionServiceException)value);
-
 
193680
        }
-
 
193681
        break;
-
 
193682
 
-
 
193683
      }
-
 
193684
    }
-
 
193685
 
-
 
193686
    public Object getFieldValue(_Fields field) {
-
 
193687
      switch (field) {
-
 
193688
      case SUCCESS:
-
 
193689
        return Boolean.valueOf(isSuccess());
-
 
193690
 
-
 
193691
      case EX:
-
 
193692
        return getEx();
-
 
193693
 
-
 
193694
      }
-
 
193695
      throw new IllegalStateException();
-
 
193696
    }
-
 
193697
 
-
 
193698
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
193699
    public boolean isSet(_Fields field) {
-
 
193700
      if (field == null) {
-
 
193701
        throw new IllegalArgumentException();
-
 
193702
      }
-
 
193703
 
-
 
193704
      switch (field) {
-
 
193705
      case SUCCESS:
-
 
193706
        return isSetSuccess();
-
 
193707
      case EX:
-
 
193708
        return isSetEx();
-
 
193709
      }
-
 
193710
      throw new IllegalStateException();
-
 
193711
    }
-
 
193712
 
-
 
193713
    @Override
-
 
193714
    public boolean equals(Object that) {
-
 
193715
      if (that == null)
-
 
193716
        return false;
-
 
193717
      if (that instanceof addBillingDetailsForGrouppedOrders_result)
-
 
193718
        return this.equals((addBillingDetailsForGrouppedOrders_result)that);
-
 
193719
      return false;
-
 
193720
    }
-
 
193721
 
-
 
193722
    public boolean equals(addBillingDetailsForGrouppedOrders_result that) {
-
 
193723
      if (that == null)
-
 
193724
        return false;
-
 
193725
 
-
 
193726
      boolean this_present_success = true;
-
 
193727
      boolean that_present_success = true;
-
 
193728
      if (this_present_success || that_present_success) {
-
 
193729
        if (!(this_present_success && that_present_success))
-
 
193730
          return false;
-
 
193731
        if (this.success != that.success)
-
 
193732
          return false;
-
 
193733
      }
-
 
193734
 
-
 
193735
      boolean this_present_ex = true && this.isSetEx();
-
 
193736
      boolean that_present_ex = true && that.isSetEx();
-
 
193737
      if (this_present_ex || that_present_ex) {
-
 
193738
        if (!(this_present_ex && that_present_ex))
-
 
193739
          return false;
-
 
193740
        if (!this.ex.equals(that.ex))
-
 
193741
          return false;
-
 
193742
      }
-
 
193743
 
-
 
193744
      return true;
-
 
193745
    }
-
 
193746
 
-
 
193747
    @Override
-
 
193748
    public int hashCode() {
-
 
193749
      return 0;
-
 
193750
    }
-
 
193751
 
-
 
193752
    public int compareTo(addBillingDetailsForGrouppedOrders_result other) {
-
 
193753
      if (!getClass().equals(other.getClass())) {
-
 
193754
        return getClass().getName().compareTo(other.getClass().getName());
-
 
193755
      }
-
 
193756
 
-
 
193757
      int lastComparison = 0;
-
 
193758
      addBillingDetailsForGrouppedOrders_result typedOther = (addBillingDetailsForGrouppedOrders_result)other;
-
 
193759
 
-
 
193760
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
193761
      if (lastComparison != 0) {
-
 
193762
        return lastComparison;
-
 
193763
      }
-
 
193764
      if (isSetSuccess()) {
-
 
193765
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
193766
        if (lastComparison != 0) {
-
 
193767
          return lastComparison;
-
 
193768
        }
-
 
193769
      }
-
 
193770
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
193771
      if (lastComparison != 0) {
-
 
193772
        return lastComparison;
-
 
193773
      }
-
 
193774
      if (isSetEx()) {
-
 
193775
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
193776
        if (lastComparison != 0) {
-
 
193777
          return lastComparison;
-
 
193778
        }
-
 
193779
      }
-
 
193780
      return 0;
-
 
193781
    }
-
 
193782
 
-
 
193783
    public _Fields fieldForId(int fieldId) {
-
 
193784
      return _Fields.findByThriftId(fieldId);
-
 
193785
    }
-
 
193786
 
-
 
193787
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
193788
      org.apache.thrift.protocol.TField field;
-
 
193789
      iprot.readStructBegin();
-
 
193790
      while (true)
-
 
193791
      {
-
 
193792
        field = iprot.readFieldBegin();
-
 
193793
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
193794
          break;
-
 
193795
        }
-
 
193796
        switch (field.id) {
-
 
193797
          case 0: // SUCCESS
-
 
193798
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
193799
              this.success = iprot.readBool();
-
 
193800
              setSuccessIsSet(true);
-
 
193801
            } else { 
-
 
193802
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
193803
            }
-
 
193804
            break;
-
 
193805
          case 1: // EX
-
 
193806
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
193807
              this.ex = new TransactionServiceException();
-
 
193808
              this.ex.read(iprot);
-
 
193809
            } else { 
-
 
193810
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
193811
            }
-
 
193812
            break;
-
 
193813
          default:
-
 
193814
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
193815
        }
-
 
193816
        iprot.readFieldEnd();
-
 
193817
      }
-
 
193818
      iprot.readStructEnd();
-
 
193819
      validate();
-
 
193820
    }
-
 
193821
 
-
 
193822
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
193823
      oprot.writeStructBegin(STRUCT_DESC);
-
 
193824
 
-
 
193825
      if (this.isSetSuccess()) {
-
 
193826
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
193827
        oprot.writeBool(this.success);
-
 
193828
        oprot.writeFieldEnd();
-
 
193829
      } else if (this.isSetEx()) {
-
 
193830
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
193831
        this.ex.write(oprot);
-
 
193832
        oprot.writeFieldEnd();
-
 
193833
      }
-
 
193834
      oprot.writeFieldStop();
-
 
193835
      oprot.writeStructEnd();
-
 
193836
    }
-
 
193837
 
-
 
193838
    @Override
-
 
193839
    public String toString() {
-
 
193840
      StringBuilder sb = new StringBuilder("addBillingDetailsForGrouppedOrders_result(");
-
 
193841
      boolean first = true;
-
 
193842
 
-
 
193843
      sb.append("success:");
-
 
193844
      sb.append(this.success);
-
 
193845
      first = false;
-
 
193846
      if (!first) sb.append(", ");
-
 
193847
      sb.append("ex:");
-
 
193848
      if (this.ex == null) {
-
 
193849
        sb.append("null");
-
 
193850
      } else {
-
 
193851
        sb.append(this.ex);
-
 
193852
      }
-
 
193853
      first = false;
-
 
193854
      sb.append(")");
-
 
193855
      return sb.toString();
-
 
193856
    }
188495
 
193857
 
188496
    public void validate() throws org.apache.thrift.TException {
193858
    public void validate() throws org.apache.thrift.TException {
188497
      // check for required fields
193859
      // check for required fields
188498
    }
193860
    }
188499
 
193861