Subversion Repositories SmartDukaan

Rev

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

Rev 23151 Rev 23152
Line 622... Line 622...
622
 
622
 
623
    public Map<Long,Map<String,Long>> getWarrantyInfoForItemList(List<Long> catalogItemIds, ItemCondition itemCondition) throws CatalogServiceException, org.apache.thrift.TException;
623
    public Map<Long,Map<String,Long>> getWarrantyInfoForItemList(List<Long> catalogItemIds, ItemCondition itemCondition) throws CatalogServiceException, org.apache.thrift.TException;
624
 
624
 
625
    public StateGstRates getGstRatesByState(long stateId) throws CatalogServiceException, org.apache.thrift.TException;
625
    public StateGstRates getGstRatesByState(long stateId) throws CatalogServiceException, org.apache.thrift.TException;
626
 
626
 
627
    public Map<Integer,GstRate> getStateTaxRate(List<Integer> itemIds, int stateId) throws org.apache.thrift.TException;
627
    public Map<Long,GstRate> getStateTaxRate(List<Long> itemIds, long stateId) throws org.apache.thrift.TException;
628
 
628
 
629
    public Map<Integer,Double> getIgstTaxRate(List<Integer> itemIds) throws org.apache.thrift.TException;
629
    public Map<Long,Double> getIgstTaxRate(List<Long> itemIds) throws org.apache.thrift.TException;
630
 
630
 
631
    public Map<String,GstRate> getInterStateGstRates() throws CatalogServiceException, org.apache.thrift.TException;
631
    public Map<String,GstRate> getInterStateGstRates() throws CatalogServiceException, org.apache.thrift.TException;
632
 
632
 
633
    public List<CategoryHsnCode> getHsnCodesByCategory(long categoryId) throws CatalogServiceException, org.apache.thrift.TException;
633
    public List<CategoryHsnCode> getHsnCodesByCategory(long categoryId) throws CatalogServiceException, org.apache.thrift.TException;
634
 
634
 
Line 1038... Line 1038...
1038
 
1038
 
1039
    public void getWarrantyInfoForItemList(List<Long> catalogItemIds, ItemCondition itemCondition, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getWarrantyInfoForItemList_call> resultHandler) throws org.apache.thrift.TException;
1039
    public void getWarrantyInfoForItemList(List<Long> catalogItemIds, ItemCondition itemCondition, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getWarrantyInfoForItemList_call> resultHandler) throws org.apache.thrift.TException;
1040
 
1040
 
1041
    public void getGstRatesByState(long stateId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getGstRatesByState_call> resultHandler) throws org.apache.thrift.TException;
1041
    public void getGstRatesByState(long stateId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getGstRatesByState_call> resultHandler) throws org.apache.thrift.TException;
1042
 
1042
 
1043
    public void getStateTaxRate(List<Integer> itemIds, int stateId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStateTaxRate_call> resultHandler) throws org.apache.thrift.TException;
1043
    public void getStateTaxRate(List<Long> itemIds, long stateId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStateTaxRate_call> resultHandler) throws org.apache.thrift.TException;
1044
 
1044
 
1045
    public void getIgstTaxRate(List<Integer> itemIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getIgstTaxRate_call> resultHandler) throws org.apache.thrift.TException;
1045
    public void getIgstTaxRate(List<Long> itemIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getIgstTaxRate_call> resultHandler) throws org.apache.thrift.TException;
1046
 
1046
 
1047
    public void getInterStateGstRates(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getInterStateGstRates_call> resultHandler) throws org.apache.thrift.TException;
1047
    public void getInterStateGstRates(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getInterStateGstRates_call> resultHandler) throws org.apache.thrift.TException;
1048
 
1048
 
1049
    public void getHsnCodesByCategory(long categoryId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHsnCodesByCategory_call> resultHandler) throws org.apache.thrift.TException;
1049
    public void getHsnCodesByCategory(long categoryId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHsnCodesByCategory_call> resultHandler) throws org.apache.thrift.TException;
1050
 
1050
 
Line 5819... Line 5819...
5819
        throw result.cex;
5819
        throw result.cex;
5820
      }
5820
      }
5821
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getGstRatesByState failed: unknown result");
5821
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getGstRatesByState failed: unknown result");
5822
    }
5822
    }
5823
 
5823
 
5824
    public Map<Integer,GstRate> getStateTaxRate(List<Integer> itemIds, int stateId) throws org.apache.thrift.TException
5824
    public Map<Long,GstRate> getStateTaxRate(List<Long> itemIds, long stateId) throws org.apache.thrift.TException
5825
    {
5825
    {
5826
      send_getStateTaxRate(itemIds, stateId);
5826
      send_getStateTaxRate(itemIds, stateId);
5827
      return recv_getStateTaxRate();
5827
      return recv_getStateTaxRate();
5828
    }
5828
    }
5829
 
5829
 
5830
    public void send_getStateTaxRate(List<Integer> itemIds, int stateId) throws org.apache.thrift.TException
5830
    public void send_getStateTaxRate(List<Long> itemIds, long stateId) throws org.apache.thrift.TException
5831
    {
5831
    {
5832
      getStateTaxRate_args args = new getStateTaxRate_args();
5832
      getStateTaxRate_args args = new getStateTaxRate_args();
5833
      args.setItemIds(itemIds);
5833
      args.setItemIds(itemIds);
5834
      args.setStateId(stateId);
5834
      args.setStateId(stateId);
5835
      sendBase("getStateTaxRate", args);
5835
      sendBase("getStateTaxRate", args);
5836
    }
5836
    }
5837
 
5837
 
5838
    public Map<Integer,GstRate> recv_getStateTaxRate() throws org.apache.thrift.TException
5838
    public Map<Long,GstRate> recv_getStateTaxRate() throws org.apache.thrift.TException
5839
    {
5839
    {
5840
      getStateTaxRate_result result = new getStateTaxRate_result();
5840
      getStateTaxRate_result result = new getStateTaxRate_result();
5841
      receiveBase(result, "getStateTaxRate");
5841
      receiveBase(result, "getStateTaxRate");
5842
      if (result.isSetSuccess()) {
5842
      if (result.isSetSuccess()) {
5843
        return result.success;
5843
        return result.success;
5844
      }
5844
      }
5845
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getStateTaxRate failed: unknown result");
5845
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getStateTaxRate failed: unknown result");
5846
    }
5846
    }
5847
 
5847
 
5848
    public Map<Integer,Double> getIgstTaxRate(List<Integer> itemIds) throws org.apache.thrift.TException
5848
    public Map<Long,Double> getIgstTaxRate(List<Long> itemIds) throws org.apache.thrift.TException
5849
    {
5849
    {
5850
      send_getIgstTaxRate(itemIds);
5850
      send_getIgstTaxRate(itemIds);
5851
      return recv_getIgstTaxRate();
5851
      return recv_getIgstTaxRate();
5852
    }
5852
    }
5853
 
5853
 
5854
    public void send_getIgstTaxRate(List<Integer> itemIds) throws org.apache.thrift.TException
5854
    public void send_getIgstTaxRate(List<Long> itemIds) throws org.apache.thrift.TException
5855
    {
5855
    {
5856
      getIgstTaxRate_args args = new getIgstTaxRate_args();
5856
      getIgstTaxRate_args args = new getIgstTaxRate_args();
5857
      args.setItemIds(itemIds);
5857
      args.setItemIds(itemIds);
5858
      sendBase("getIgstTaxRate", args);
5858
      sendBase("getIgstTaxRate", args);
5859
    }
5859
    }
5860
 
5860
 
5861
    public Map<Integer,Double> recv_getIgstTaxRate() throws org.apache.thrift.TException
5861
    public Map<Long,Double> recv_getIgstTaxRate() throws org.apache.thrift.TException
5862
    {
5862
    {
5863
      getIgstTaxRate_result result = new getIgstTaxRate_result();
5863
      getIgstTaxRate_result result = new getIgstTaxRate_result();
5864
      receiveBase(result, "getIgstTaxRate");
5864
      receiveBase(result, "getIgstTaxRate");
5865
      if (result.isSetSuccess()) {
5865
      if (result.isSetSuccess()) {
5866
        return result.success;
5866
        return result.success;
Line 12544... Line 12544...
12544
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12544
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12545
        return (new Client(prot)).recv_getGstRatesByState();
12545
        return (new Client(prot)).recv_getGstRatesByState();
12546
      }
12546
      }
12547
    }
12547
    }
12548
 
12548
 
12549
    public void getStateTaxRate(List<Integer> itemIds, int stateId, org.apache.thrift.async.AsyncMethodCallback<getStateTaxRate_call> resultHandler) throws org.apache.thrift.TException {
12549
    public void getStateTaxRate(List<Long> itemIds, long stateId, org.apache.thrift.async.AsyncMethodCallback<getStateTaxRate_call> resultHandler) throws org.apache.thrift.TException {
12550
      checkReady();
12550
      checkReady();
12551
      getStateTaxRate_call method_call = new getStateTaxRate_call(itemIds, stateId, resultHandler, this, ___protocolFactory, ___transport);
12551
      getStateTaxRate_call method_call = new getStateTaxRate_call(itemIds, stateId, resultHandler, this, ___protocolFactory, ___transport);
12552
      this.___currentMethod = method_call;
12552
      this.___currentMethod = method_call;
12553
      ___manager.call(method_call);
12553
      ___manager.call(method_call);
12554
    }
12554
    }
12555
 
12555
 
12556
    public static class getStateTaxRate_call extends org.apache.thrift.async.TAsyncMethodCall {
12556
    public static class getStateTaxRate_call extends org.apache.thrift.async.TAsyncMethodCall {
12557
      private List<Integer> itemIds;
12557
      private List<Long> itemIds;
12558
      private int stateId;
12558
      private long stateId;
12559
      public getStateTaxRate_call(List<Integer> itemIds, int stateId, org.apache.thrift.async.AsyncMethodCallback<getStateTaxRate_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 {
12559
      public getStateTaxRate_call(List<Long> itemIds, long stateId, org.apache.thrift.async.AsyncMethodCallback<getStateTaxRate_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 {
12560
        super(client, protocolFactory, transport, resultHandler, false);
12560
        super(client, protocolFactory, transport, resultHandler, false);
12561
        this.itemIds = itemIds;
12561
        this.itemIds = itemIds;
12562
        this.stateId = stateId;
12562
        this.stateId = stateId;
12563
      }
12563
      }
12564
 
12564
 
Line 12569... Line 12569...
12569
        args.setStateId(stateId);
12569
        args.setStateId(stateId);
12570
        args.write(prot);
12570
        args.write(prot);
12571
        prot.writeMessageEnd();
12571
        prot.writeMessageEnd();
12572
      }
12572
      }
12573
 
12573
 
12574
      public Map<Integer,GstRate> getResult() throws org.apache.thrift.TException {
12574
      public Map<Long,GstRate> getResult() throws org.apache.thrift.TException {
12575
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
12575
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
12576
          throw new IllegalStateException("Method call not finished!");
12576
          throw new IllegalStateException("Method call not finished!");
12577
        }
12577
        }
12578
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
12578
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
12579
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12579
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12580
        return (new Client(prot)).recv_getStateTaxRate();
12580
        return (new Client(prot)).recv_getStateTaxRate();
12581
      }
12581
      }
12582
    }
12582
    }
12583
 
12583
 
12584
    public void getIgstTaxRate(List<Integer> itemIds, org.apache.thrift.async.AsyncMethodCallback<getIgstTaxRate_call> resultHandler) throws org.apache.thrift.TException {
12584
    public void getIgstTaxRate(List<Long> itemIds, org.apache.thrift.async.AsyncMethodCallback<getIgstTaxRate_call> resultHandler) throws org.apache.thrift.TException {
12585
      checkReady();
12585
      checkReady();
12586
      getIgstTaxRate_call method_call = new getIgstTaxRate_call(itemIds, resultHandler, this, ___protocolFactory, ___transport);
12586
      getIgstTaxRate_call method_call = new getIgstTaxRate_call(itemIds, resultHandler, this, ___protocolFactory, ___transport);
12587
      this.___currentMethod = method_call;
12587
      this.___currentMethod = method_call;
12588
      ___manager.call(method_call);
12588
      ___manager.call(method_call);
12589
    }
12589
    }
12590
 
12590
 
12591
    public static class getIgstTaxRate_call extends org.apache.thrift.async.TAsyncMethodCall {
12591
    public static class getIgstTaxRate_call extends org.apache.thrift.async.TAsyncMethodCall {
12592
      private List<Integer> itemIds;
12592
      private List<Long> itemIds;
12593
      public getIgstTaxRate_call(List<Integer> itemIds, org.apache.thrift.async.AsyncMethodCallback<getIgstTaxRate_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 {
12593
      public getIgstTaxRate_call(List<Long> itemIds, org.apache.thrift.async.AsyncMethodCallback<getIgstTaxRate_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 {
12594
        super(client, protocolFactory, transport, resultHandler, false);
12594
        super(client, protocolFactory, transport, resultHandler, false);
12595
        this.itemIds = itemIds;
12595
        this.itemIds = itemIds;
12596
      }
12596
      }
12597
 
12597
 
12598
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
12598
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
Line 12601... Line 12601...
12601
        args.setItemIds(itemIds);
12601
        args.setItemIds(itemIds);
12602
        args.write(prot);
12602
        args.write(prot);
12603
        prot.writeMessageEnd();
12603
        prot.writeMessageEnd();
12604
      }
12604
      }
12605
 
12605
 
12606
      public Map<Integer,Double> getResult() throws org.apache.thrift.TException {
12606
      public Map<Long,Double> getResult() throws org.apache.thrift.TException {
12607
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
12607
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
12608
          throw new IllegalStateException("Method call not finished!");
12608
          throw new IllegalStateException("Method call not finished!");
12609
        }
12609
        }
12610
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
12610
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
12611
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12611
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
Line 145607... Line 145607...
145607
 
145607
 
145608
  public static class getStateTaxRate_args implements org.apache.thrift.TBase<getStateTaxRate_args, getStateTaxRate_args._Fields>, java.io.Serializable, Cloneable   {
145608
  public static class getStateTaxRate_args implements org.apache.thrift.TBase<getStateTaxRate_args, getStateTaxRate_args._Fields>, java.io.Serializable, Cloneable   {
145609
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getStateTaxRate_args");
145609
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getStateTaxRate_args");
145610
 
145610
 
145611
    private static final org.apache.thrift.protocol.TField ITEM_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("itemIds", org.apache.thrift.protocol.TType.LIST, (short)1);
145611
    private static final org.apache.thrift.protocol.TField ITEM_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("itemIds", org.apache.thrift.protocol.TType.LIST, (short)1);
145612
    private static final org.apache.thrift.protocol.TField STATE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("stateId", org.apache.thrift.protocol.TType.I32, (short)2);
145612
    private static final org.apache.thrift.protocol.TField STATE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("stateId", org.apache.thrift.protocol.TType.I64, (short)2);
145613
 
145613
 
145614
    private List<Integer> itemIds; // required
145614
    private List<Long> itemIds; // required
145615
    private int stateId; // required
145615
    private long stateId; // required
145616
 
145616
 
145617
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
145617
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
145618
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
145618
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
145619
      ITEM_IDS((short)1, "itemIds"),
145619
      ITEM_IDS((short)1, "itemIds"),
145620
      STATE_ID((short)2, "stateId");
145620
      STATE_ID((short)2, "stateId");
Line 145682... Line 145682...
145682
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
145682
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
145683
    static {
145683
    static {
145684
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
145684
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
145685
      tmpMap.put(_Fields.ITEM_IDS, new org.apache.thrift.meta_data.FieldMetaData("itemIds", org.apache.thrift.TFieldRequirementType.DEFAULT, 
145685
      tmpMap.put(_Fields.ITEM_IDS, new org.apache.thrift.meta_data.FieldMetaData("itemIds", org.apache.thrift.TFieldRequirementType.DEFAULT, 
145686
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
145686
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
145687
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))));
145687
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
145688
      tmpMap.put(_Fields.STATE_ID, new org.apache.thrift.meta_data.FieldMetaData("stateId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
145688
      tmpMap.put(_Fields.STATE_ID, new org.apache.thrift.meta_data.FieldMetaData("stateId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
145689
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
145689
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
145690
      metaDataMap = Collections.unmodifiableMap(tmpMap);
145690
      metaDataMap = Collections.unmodifiableMap(tmpMap);
145691
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getStateTaxRate_args.class, metaDataMap);
145691
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getStateTaxRate_args.class, metaDataMap);
145692
    }
145692
    }
145693
 
145693
 
145694
    public getStateTaxRate_args() {
145694
    public getStateTaxRate_args() {
145695
    }
145695
    }
145696
 
145696
 
145697
    public getStateTaxRate_args(
145697
    public getStateTaxRate_args(
145698
      List<Integer> itemIds,
145698
      List<Long> itemIds,
145699
      int stateId)
145699
      long stateId)
145700
    {
145700
    {
145701
      this();
145701
      this();
145702
      this.itemIds = itemIds;
145702
      this.itemIds = itemIds;
145703
      this.stateId = stateId;
145703
      this.stateId = stateId;
145704
      setStateIdIsSet(true);
145704
      setStateIdIsSet(true);
Line 145709... Line 145709...
145709
     */
145709
     */
145710
    public getStateTaxRate_args(getStateTaxRate_args other) {
145710
    public getStateTaxRate_args(getStateTaxRate_args other) {
145711
      __isset_bit_vector.clear();
145711
      __isset_bit_vector.clear();
145712
      __isset_bit_vector.or(other.__isset_bit_vector);
145712
      __isset_bit_vector.or(other.__isset_bit_vector);
145713
      if (other.isSetItemIds()) {
145713
      if (other.isSetItemIds()) {
145714
        List<Integer> __this__itemIds = new ArrayList<Integer>();
145714
        List<Long> __this__itemIds = new ArrayList<Long>();
145715
        for (Integer other_element : other.itemIds) {
145715
        for (Long other_element : other.itemIds) {
145716
          __this__itemIds.add(other_element);
145716
          __this__itemIds.add(other_element);
145717
        }
145717
        }
145718
        this.itemIds = __this__itemIds;
145718
        this.itemIds = __this__itemIds;
145719
      }
145719
      }
145720
      this.stateId = other.stateId;
145720
      this.stateId = other.stateId;
Line 145733... Line 145733...
145733
 
145733
 
145734
    public int getItemIdsSize() {
145734
    public int getItemIdsSize() {
145735
      return (this.itemIds == null) ? 0 : this.itemIds.size();
145735
      return (this.itemIds == null) ? 0 : this.itemIds.size();
145736
    }
145736
    }
145737
 
145737
 
145738
    public java.util.Iterator<Integer> getItemIdsIterator() {
145738
    public java.util.Iterator<Long> getItemIdsIterator() {
145739
      return (this.itemIds == null) ? null : this.itemIds.iterator();
145739
      return (this.itemIds == null) ? null : this.itemIds.iterator();
145740
    }
145740
    }
145741
 
145741
 
145742
    public void addToItemIds(int elem) {
145742
    public void addToItemIds(long elem) {
145743
      if (this.itemIds == null) {
145743
      if (this.itemIds == null) {
145744
        this.itemIds = new ArrayList<Integer>();
145744
        this.itemIds = new ArrayList<Long>();
145745
      }
145745
      }
145746
      this.itemIds.add(elem);
145746
      this.itemIds.add(elem);
145747
    }
145747
    }
145748
 
145748
 
145749
    public List<Integer> getItemIds() {
145749
    public List<Long> getItemIds() {
145750
      return this.itemIds;
145750
      return this.itemIds;
145751
    }
145751
    }
145752
 
145752
 
145753
    public void setItemIds(List<Integer> itemIds) {
145753
    public void setItemIds(List<Long> itemIds) {
145754
      this.itemIds = itemIds;
145754
      this.itemIds = itemIds;
145755
    }
145755
    }
145756
 
145756
 
145757
    public void unsetItemIds() {
145757
    public void unsetItemIds() {
145758
      this.itemIds = null;
145758
      this.itemIds = null;
Line 145767... Line 145767...
145767
      if (!value) {
145767
      if (!value) {
145768
        this.itemIds = null;
145768
        this.itemIds = null;
145769
      }
145769
      }
145770
    }
145770
    }
145771
 
145771
 
145772
    public int getStateId() {
145772
    public long getStateId() {
145773
      return this.stateId;
145773
      return this.stateId;
145774
    }
145774
    }
145775
 
145775
 
145776
    public void setStateId(int stateId) {
145776
    public void setStateId(long stateId) {
145777
      this.stateId = stateId;
145777
      this.stateId = stateId;
145778
      setStateIdIsSet(true);
145778
      setStateIdIsSet(true);
145779
    }
145779
    }
145780
 
145780
 
145781
    public void unsetStateId() {
145781
    public void unsetStateId() {
Line 145795... Line 145795...
145795
      switch (field) {
145795
      switch (field) {
145796
      case ITEM_IDS:
145796
      case ITEM_IDS:
145797
        if (value == null) {
145797
        if (value == null) {
145798
          unsetItemIds();
145798
          unsetItemIds();
145799
        } else {
145799
        } else {
145800
          setItemIds((List<Integer>)value);
145800
          setItemIds((List<Long>)value);
145801
        }
145801
        }
145802
        break;
145802
        break;
145803
 
145803
 
145804
      case STATE_ID:
145804
      case STATE_ID:
145805
        if (value == null) {
145805
        if (value == null) {
145806
          unsetStateId();
145806
          unsetStateId();
145807
        } else {
145807
        } else {
145808
          setStateId((Integer)value);
145808
          setStateId((Long)value);
145809
        }
145809
        }
145810
        break;
145810
        break;
145811
 
145811
 
145812
      }
145812
      }
145813
    }
145813
    }
Line 145816... Line 145816...
145816
      switch (field) {
145816
      switch (field) {
145817
      case ITEM_IDS:
145817
      case ITEM_IDS:
145818
        return getItemIds();
145818
        return getItemIds();
145819
 
145819
 
145820
      case STATE_ID:
145820
      case STATE_ID:
145821
        return Integer.valueOf(getStateId());
145821
        return Long.valueOf(getStateId());
145822
 
145822
 
145823
      }
145823
      }
145824
      throw new IllegalStateException();
145824
      throw new IllegalStateException();
145825
    }
145825
    }
145826
 
145826
 
Line 145925... Line 145925...
145925
        switch (field.id) {
145925
        switch (field.id) {
145926
          case 1: // ITEM_IDS
145926
          case 1: // ITEM_IDS
145927
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
145927
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
145928
              {
145928
              {
145929
                org.apache.thrift.protocol.TList _list558 = iprot.readListBegin();
145929
                org.apache.thrift.protocol.TList _list558 = iprot.readListBegin();
145930
                this.itemIds = new ArrayList<Integer>(_list558.size);
145930
                this.itemIds = new ArrayList<Long>(_list558.size);
145931
                for (int _i559 = 0; _i559 < _list558.size; ++_i559)
145931
                for (int _i559 = 0; _i559 < _list558.size; ++_i559)
145932
                {
145932
                {
145933
                  int _elem560; // required
145933
                  long _elem560; // required
145934
                  _elem560 = iprot.readI32();
145934
                  _elem560 = iprot.readI64();
145935
                  this.itemIds.add(_elem560);
145935
                  this.itemIds.add(_elem560);
145936
                }
145936
                }
145937
                iprot.readListEnd();
145937
                iprot.readListEnd();
145938
              }
145938
              }
145939
            } else { 
145939
            } else { 
145940
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
145940
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
145941
            }
145941
            }
145942
            break;
145942
            break;
145943
          case 2: // STATE_ID
145943
          case 2: // STATE_ID
145944
            if (field.type == org.apache.thrift.protocol.TType.I32) {
145944
            if (field.type == org.apache.thrift.protocol.TType.I64) {
145945
              this.stateId = iprot.readI32();
145945
              this.stateId = iprot.readI64();
145946
              setStateIdIsSet(true);
145946
              setStateIdIsSet(true);
145947
            } else { 
145947
            } else { 
145948
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
145948
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
145949
            }
145949
            }
145950
            break;
145950
            break;
Line 145962... Line 145962...
145962
 
145962
 
145963
      oprot.writeStructBegin(STRUCT_DESC);
145963
      oprot.writeStructBegin(STRUCT_DESC);
145964
      if (this.itemIds != null) {
145964
      if (this.itemIds != null) {
145965
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
145965
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
145966
        {
145966
        {
145967
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.itemIds.size()));
145967
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
145968
          for (int _iter561 : this.itemIds)
145968
          for (long _iter561 : this.itemIds)
145969
          {
145969
          {
145970
            oprot.writeI32(_iter561);
145970
            oprot.writeI64(_iter561);
145971
          }
145971
          }
145972
          oprot.writeListEnd();
145972
          oprot.writeListEnd();
145973
        }
145973
        }
145974
        oprot.writeFieldEnd();
145974
        oprot.writeFieldEnd();
145975
      }
145975
      }
145976
      oprot.writeFieldBegin(STATE_ID_FIELD_DESC);
145976
      oprot.writeFieldBegin(STATE_ID_FIELD_DESC);
145977
      oprot.writeI32(this.stateId);
145977
      oprot.writeI64(this.stateId);
145978
      oprot.writeFieldEnd();
145978
      oprot.writeFieldEnd();
145979
      oprot.writeFieldStop();
145979
      oprot.writeFieldStop();
145980
      oprot.writeStructEnd();
145980
      oprot.writeStructEnd();
145981
    }
145981
    }
145982
 
145982
 
Line 146027... Line 146027...
146027
  public static class getStateTaxRate_result implements org.apache.thrift.TBase<getStateTaxRate_result, getStateTaxRate_result._Fields>, java.io.Serializable, Cloneable   {
146027
  public static class getStateTaxRate_result implements org.apache.thrift.TBase<getStateTaxRate_result, getStateTaxRate_result._Fields>, java.io.Serializable, Cloneable   {
146028
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getStateTaxRate_result");
146028
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getStateTaxRate_result");
146029
 
146029
 
146030
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0);
146030
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0);
146031
 
146031
 
146032
    private Map<Integer,GstRate> success; // required
146032
    private Map<Long,GstRate> success; // required
146033
 
146033
 
146034
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
146034
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
146035
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
146035
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
146036
      SUCCESS((short)0, "success");
146036
      SUCCESS((short)0, "success");
146037
 
146037
 
Line 146094... Line 146094...
146094
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
146094
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
146095
    static {
146095
    static {
146096
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
146096
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
146097
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
146097
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
146098
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
146098
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
146099
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32), 
146099
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
146100
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GstRate.class))));
146100
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GstRate.class))));
146101
      metaDataMap = Collections.unmodifiableMap(tmpMap);
146101
      metaDataMap = Collections.unmodifiableMap(tmpMap);
146102
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getStateTaxRate_result.class, metaDataMap);
146102
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getStateTaxRate_result.class, metaDataMap);
146103
    }
146103
    }
146104
 
146104
 
146105
    public getStateTaxRate_result() {
146105
    public getStateTaxRate_result() {
146106
    }
146106
    }
146107
 
146107
 
146108
    public getStateTaxRate_result(
146108
    public getStateTaxRate_result(
146109
      Map<Integer,GstRate> success)
146109
      Map<Long,GstRate> success)
146110
    {
146110
    {
146111
      this();
146111
      this();
146112
      this.success = success;
146112
      this.success = success;
146113
    }
146113
    }
146114
 
146114
 
146115
    /**
146115
    /**
146116
     * Performs a deep copy on <i>other</i>.
146116
     * Performs a deep copy on <i>other</i>.
146117
     */
146117
     */
146118
    public getStateTaxRate_result(getStateTaxRate_result other) {
146118
    public getStateTaxRate_result(getStateTaxRate_result other) {
146119
      if (other.isSetSuccess()) {
146119
      if (other.isSetSuccess()) {
146120
        Map<Integer,GstRate> __this__success = new HashMap<Integer,GstRate>();
146120
        Map<Long,GstRate> __this__success = new HashMap<Long,GstRate>();
146121
        for (Map.Entry<Integer, GstRate> other_element : other.success.entrySet()) {
146121
        for (Map.Entry<Long, GstRate> other_element : other.success.entrySet()) {
146122
 
146122
 
146123
          Integer other_element_key = other_element.getKey();
146123
          Long other_element_key = other_element.getKey();
146124
          GstRate other_element_value = other_element.getValue();
146124
          GstRate other_element_value = other_element.getValue();
146125
 
146125
 
146126
          Integer __this__success_copy_key = other_element_key;
146126
          Long __this__success_copy_key = other_element_key;
146127
 
146127
 
146128
          GstRate __this__success_copy_value = new GstRate(other_element_value);
146128
          GstRate __this__success_copy_value = new GstRate(other_element_value);
146129
 
146129
 
146130
          __this__success.put(__this__success_copy_key, __this__success_copy_value);
146130
          __this__success.put(__this__success_copy_key, __this__success_copy_value);
146131
        }
146131
        }
Line 146144... Line 146144...
146144
 
146144
 
146145
    public int getSuccessSize() {
146145
    public int getSuccessSize() {
146146
      return (this.success == null) ? 0 : this.success.size();
146146
      return (this.success == null) ? 0 : this.success.size();
146147
    }
146147
    }
146148
 
146148
 
146149
    public void putToSuccess(int key, GstRate val) {
146149
    public void putToSuccess(long key, GstRate val) {
146150
      if (this.success == null) {
146150
      if (this.success == null) {
146151
        this.success = new HashMap<Integer,GstRate>();
146151
        this.success = new HashMap<Long,GstRate>();
146152
      }
146152
      }
146153
      this.success.put(key, val);
146153
      this.success.put(key, val);
146154
    }
146154
    }
146155
 
146155
 
146156
    public Map<Integer,GstRate> getSuccess() {
146156
    public Map<Long,GstRate> getSuccess() {
146157
      return this.success;
146157
      return this.success;
146158
    }
146158
    }
146159
 
146159
 
146160
    public void setSuccess(Map<Integer,GstRate> success) {
146160
    public void setSuccess(Map<Long,GstRate> success) {
146161
      this.success = success;
146161
      this.success = success;
146162
    }
146162
    }
146163
 
146163
 
146164
    public void unsetSuccess() {
146164
    public void unsetSuccess() {
146165
      this.success = null;
146165
      this.success = null;
Line 146180... Line 146180...
146180
      switch (field) {
146180
      switch (field) {
146181
      case SUCCESS:
146181
      case SUCCESS:
146182
        if (value == null) {
146182
        if (value == null) {
146183
          unsetSuccess();
146183
          unsetSuccess();
146184
        } else {
146184
        } else {
146185
          setSuccess((Map<Integer,GstRate>)value);
146185
          setSuccess((Map<Long,GstRate>)value);
146186
        }
146186
        }
146187
        break;
146187
        break;
146188
 
146188
 
146189
      }
146189
      }
146190
    }
146190
    }
Line 146278... Line 146278...
146278
        switch (field.id) {
146278
        switch (field.id) {
146279
          case 0: // SUCCESS
146279
          case 0: // SUCCESS
146280
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
146280
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
146281
              {
146281
              {
146282
                org.apache.thrift.protocol.TMap _map562 = iprot.readMapBegin();
146282
                org.apache.thrift.protocol.TMap _map562 = iprot.readMapBegin();
146283
                this.success = new HashMap<Integer,GstRate>(2*_map562.size);
146283
                this.success = new HashMap<Long,GstRate>(2*_map562.size);
146284
                for (int _i563 = 0; _i563 < _map562.size; ++_i563)
146284
                for (int _i563 = 0; _i563 < _map562.size; ++_i563)
146285
                {
146285
                {
146286
                  int _key564; // required
146286
                  long _key564; // required
146287
                  GstRate _val565; // required
146287
                  GstRate _val565; // required
146288
                  _key564 = iprot.readI32();
146288
                  _key564 = iprot.readI64();
146289
                  _val565 = new GstRate();
146289
                  _val565 = new GstRate();
146290
                  _val565.read(iprot);
146290
                  _val565.read(iprot);
146291
                  this.success.put(_key564, _val565);
146291
                  this.success.put(_key564, _val565);
146292
                }
146292
                }
146293
                iprot.readMapEnd();
146293
                iprot.readMapEnd();
Line 146309... Line 146309...
146309
      oprot.writeStructBegin(STRUCT_DESC);
146309
      oprot.writeStructBegin(STRUCT_DESC);
146310
 
146310
 
146311
      if (this.isSetSuccess()) {
146311
      if (this.isSetSuccess()) {
146312
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
146312
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
146313
        {
146313
        {
146314
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
146314
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
146315
          for (Map.Entry<Integer, GstRate> _iter566 : this.success.entrySet())
146315
          for (Map.Entry<Long, GstRate> _iter566 : this.success.entrySet())
146316
          {
146316
          {
146317
            oprot.writeI32(_iter566.getKey());
146317
            oprot.writeI64(_iter566.getKey());
146318
            _iter566.getValue().write(oprot);
146318
            _iter566.getValue().write(oprot);
146319
          }
146319
          }
146320
          oprot.writeMapEnd();
146320
          oprot.writeMapEnd();
146321
        }
146321
        }
146322
        oprot.writeFieldEnd();
146322
        oprot.writeFieldEnd();
Line 146366... Line 146366...
146366
  public static class getIgstTaxRate_args implements org.apache.thrift.TBase<getIgstTaxRate_args, getIgstTaxRate_args._Fields>, java.io.Serializable, Cloneable   {
146366
  public static class getIgstTaxRate_args implements org.apache.thrift.TBase<getIgstTaxRate_args, getIgstTaxRate_args._Fields>, java.io.Serializable, Cloneable   {
146367
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getIgstTaxRate_args");
146367
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getIgstTaxRate_args");
146368
 
146368
 
146369
    private static final org.apache.thrift.protocol.TField ITEM_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("itemIds", org.apache.thrift.protocol.TType.LIST, (short)1);
146369
    private static final org.apache.thrift.protocol.TField ITEM_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("itemIds", org.apache.thrift.protocol.TType.LIST, (short)1);
146370
 
146370
 
146371
    private List<Integer> itemIds; // required
146371
    private List<Long> itemIds; // required
146372
 
146372
 
146373
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
146373
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
146374
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
146374
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
146375
      ITEM_IDS((short)1, "itemIds");
146375
      ITEM_IDS((short)1, "itemIds");
146376
 
146376
 
Line 146433... Line 146433...
146433
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
146433
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
146434
    static {
146434
    static {
146435
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
146435
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
146436
      tmpMap.put(_Fields.ITEM_IDS, new org.apache.thrift.meta_data.FieldMetaData("itemIds", org.apache.thrift.TFieldRequirementType.DEFAULT, 
146436
      tmpMap.put(_Fields.ITEM_IDS, new org.apache.thrift.meta_data.FieldMetaData("itemIds", org.apache.thrift.TFieldRequirementType.DEFAULT, 
146437
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
146437
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
146438
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))));
146438
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
146439
      metaDataMap = Collections.unmodifiableMap(tmpMap);
146439
      metaDataMap = Collections.unmodifiableMap(tmpMap);
146440
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getIgstTaxRate_args.class, metaDataMap);
146440
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getIgstTaxRate_args.class, metaDataMap);
146441
    }
146441
    }
146442
 
146442
 
146443
    public getIgstTaxRate_args() {
146443
    public getIgstTaxRate_args() {
146444
    }
146444
    }
146445
 
146445
 
146446
    public getIgstTaxRate_args(
146446
    public getIgstTaxRate_args(
146447
      List<Integer> itemIds)
146447
      List<Long> itemIds)
146448
    {
146448
    {
146449
      this();
146449
      this();
146450
      this.itemIds = itemIds;
146450
      this.itemIds = itemIds;
146451
    }
146451
    }
146452
 
146452
 
146453
    /**
146453
    /**
146454
     * Performs a deep copy on <i>other</i>.
146454
     * Performs a deep copy on <i>other</i>.
146455
     */
146455
     */
146456
    public getIgstTaxRate_args(getIgstTaxRate_args other) {
146456
    public getIgstTaxRate_args(getIgstTaxRate_args other) {
146457
      if (other.isSetItemIds()) {
146457
      if (other.isSetItemIds()) {
146458
        List<Integer> __this__itemIds = new ArrayList<Integer>();
146458
        List<Long> __this__itemIds = new ArrayList<Long>();
146459
        for (Integer other_element : other.itemIds) {
146459
        for (Long other_element : other.itemIds) {
146460
          __this__itemIds.add(other_element);
146460
          __this__itemIds.add(other_element);
146461
        }
146461
        }
146462
        this.itemIds = __this__itemIds;
146462
        this.itemIds = __this__itemIds;
146463
      }
146463
      }
146464
    }
146464
    }
Line 146474... Line 146474...
146474
 
146474
 
146475
    public int getItemIdsSize() {
146475
    public int getItemIdsSize() {
146476
      return (this.itemIds == null) ? 0 : this.itemIds.size();
146476
      return (this.itemIds == null) ? 0 : this.itemIds.size();
146477
    }
146477
    }
146478
 
146478
 
146479
    public java.util.Iterator<Integer> getItemIdsIterator() {
146479
    public java.util.Iterator<Long> getItemIdsIterator() {
146480
      return (this.itemIds == null) ? null : this.itemIds.iterator();
146480
      return (this.itemIds == null) ? null : this.itemIds.iterator();
146481
    }
146481
    }
146482
 
146482
 
146483
    public void addToItemIds(int elem) {
146483
    public void addToItemIds(long elem) {
146484
      if (this.itemIds == null) {
146484
      if (this.itemIds == null) {
146485
        this.itemIds = new ArrayList<Integer>();
146485
        this.itemIds = new ArrayList<Long>();
146486
      }
146486
      }
146487
      this.itemIds.add(elem);
146487
      this.itemIds.add(elem);
146488
    }
146488
    }
146489
 
146489
 
146490
    public List<Integer> getItemIds() {
146490
    public List<Long> getItemIds() {
146491
      return this.itemIds;
146491
      return this.itemIds;
146492
    }
146492
    }
146493
 
146493
 
146494
    public void setItemIds(List<Integer> itemIds) {
146494
    public void setItemIds(List<Long> itemIds) {
146495
      this.itemIds = itemIds;
146495
      this.itemIds = itemIds;
146496
    }
146496
    }
146497
 
146497
 
146498
    public void unsetItemIds() {
146498
    public void unsetItemIds() {
146499
      this.itemIds = null;
146499
      this.itemIds = null;
Line 146514... Line 146514...
146514
      switch (field) {
146514
      switch (field) {
146515
      case ITEM_IDS:
146515
      case ITEM_IDS:
146516
        if (value == null) {
146516
        if (value == null) {
146517
          unsetItemIds();
146517
          unsetItemIds();
146518
        } else {
146518
        } else {
146519
          setItemIds((List<Integer>)value);
146519
          setItemIds((List<Long>)value);
146520
        }
146520
        }
146521
        break;
146521
        break;
146522
 
146522
 
146523
      }
146523
      }
146524
    }
146524
    }
Line 146612... Line 146612...
146612
        switch (field.id) {
146612
        switch (field.id) {
146613
          case 1: // ITEM_IDS
146613
          case 1: // ITEM_IDS
146614
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
146614
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
146615
              {
146615
              {
146616
                org.apache.thrift.protocol.TList _list567 = iprot.readListBegin();
146616
                org.apache.thrift.protocol.TList _list567 = iprot.readListBegin();
146617
                this.itemIds = new ArrayList<Integer>(_list567.size);
146617
                this.itemIds = new ArrayList<Long>(_list567.size);
146618
                for (int _i568 = 0; _i568 < _list567.size; ++_i568)
146618
                for (int _i568 = 0; _i568 < _list567.size; ++_i568)
146619
                {
146619
                {
146620
                  int _elem569; // required
146620
                  long _elem569; // required
146621
                  _elem569 = iprot.readI32();
146621
                  _elem569 = iprot.readI64();
146622
                  this.itemIds.add(_elem569);
146622
                  this.itemIds.add(_elem569);
146623
                }
146623
                }
146624
                iprot.readListEnd();
146624
                iprot.readListEnd();
146625
              }
146625
              }
146626
            } else { 
146626
            } else { 
Line 146641... Line 146641...
146641
 
146641
 
146642
      oprot.writeStructBegin(STRUCT_DESC);
146642
      oprot.writeStructBegin(STRUCT_DESC);
146643
      if (this.itemIds != null) {
146643
      if (this.itemIds != null) {
146644
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
146644
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
146645
        {
146645
        {
146646
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.itemIds.size()));
146646
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
146647
          for (int _iter570 : this.itemIds)
146647
          for (long _iter570 : this.itemIds)
146648
          {
146648
          {
146649
            oprot.writeI32(_iter570);
146649
            oprot.writeI64(_iter570);
146650
          }
146650
          }
146651
          oprot.writeListEnd();
146651
          oprot.writeListEnd();
146652
        }
146652
        }
146653
        oprot.writeFieldEnd();
146653
        oprot.writeFieldEnd();
146654
      }
146654
      }
Line 146697... Line 146697...
146697
  public static class getIgstTaxRate_result implements org.apache.thrift.TBase<getIgstTaxRate_result, getIgstTaxRate_result._Fields>, java.io.Serializable, Cloneable   {
146697
  public static class getIgstTaxRate_result implements org.apache.thrift.TBase<getIgstTaxRate_result, getIgstTaxRate_result._Fields>, java.io.Serializable, Cloneable   {
146698
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getIgstTaxRate_result");
146698
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getIgstTaxRate_result");
146699
 
146699
 
146700
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0);
146700
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0);
146701
 
146701
 
146702
    private Map<Integer,Double> success; // required
146702
    private Map<Long,Double> success; // required
146703
 
146703
 
146704
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
146704
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
146705
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
146705
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
146706
      SUCCESS((short)0, "success");
146706
      SUCCESS((short)0, "success");
146707
 
146707
 
Line 146764... Line 146764...
146764
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
146764
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
146765
    static {
146765
    static {
146766
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
146766
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
146767
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
146767
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
146768
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
146768
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
146769
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32), 
146769
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
146770
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE))));
146770
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE))));
146771
      metaDataMap = Collections.unmodifiableMap(tmpMap);
146771
      metaDataMap = Collections.unmodifiableMap(tmpMap);
146772
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getIgstTaxRate_result.class, metaDataMap);
146772
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getIgstTaxRate_result.class, metaDataMap);
146773
    }
146773
    }
146774
 
146774
 
146775
    public getIgstTaxRate_result() {
146775
    public getIgstTaxRate_result() {
146776
    }
146776
    }
146777
 
146777
 
146778
    public getIgstTaxRate_result(
146778
    public getIgstTaxRate_result(
146779
      Map<Integer,Double> success)
146779
      Map<Long,Double> success)
146780
    {
146780
    {
146781
      this();
146781
      this();
146782
      this.success = success;
146782
      this.success = success;
146783
    }
146783
    }
146784
 
146784
 
146785
    /**
146785
    /**
146786
     * Performs a deep copy on <i>other</i>.
146786
     * Performs a deep copy on <i>other</i>.
146787
     */
146787
     */
146788
    public getIgstTaxRate_result(getIgstTaxRate_result other) {
146788
    public getIgstTaxRate_result(getIgstTaxRate_result other) {
146789
      if (other.isSetSuccess()) {
146789
      if (other.isSetSuccess()) {
146790
        Map<Integer,Double> __this__success = new HashMap<Integer,Double>();
146790
        Map<Long,Double> __this__success = new HashMap<Long,Double>();
146791
        for (Map.Entry<Integer, Double> other_element : other.success.entrySet()) {
146791
        for (Map.Entry<Long, Double> other_element : other.success.entrySet()) {
146792
 
146792
 
146793
          Integer other_element_key = other_element.getKey();
146793
          Long other_element_key = other_element.getKey();
146794
          Double other_element_value = other_element.getValue();
146794
          Double other_element_value = other_element.getValue();
146795
 
146795
 
146796
          Integer __this__success_copy_key = other_element_key;
146796
          Long __this__success_copy_key = other_element_key;
146797
 
146797
 
146798
          Double __this__success_copy_value = other_element_value;
146798
          Double __this__success_copy_value = other_element_value;
146799
 
146799
 
146800
          __this__success.put(__this__success_copy_key, __this__success_copy_value);
146800
          __this__success.put(__this__success_copy_key, __this__success_copy_value);
146801
        }
146801
        }
Line 146814... Line 146814...
146814
 
146814
 
146815
    public int getSuccessSize() {
146815
    public int getSuccessSize() {
146816
      return (this.success == null) ? 0 : this.success.size();
146816
      return (this.success == null) ? 0 : this.success.size();
146817
    }
146817
    }
146818
 
146818
 
146819
    public void putToSuccess(int key, double val) {
146819
    public void putToSuccess(long key, double val) {
146820
      if (this.success == null) {
146820
      if (this.success == null) {
146821
        this.success = new HashMap<Integer,Double>();
146821
        this.success = new HashMap<Long,Double>();
146822
      }
146822
      }
146823
      this.success.put(key, val);
146823
      this.success.put(key, val);
146824
    }
146824
    }
146825
 
146825
 
146826
    public Map<Integer,Double> getSuccess() {
146826
    public Map<Long,Double> getSuccess() {
146827
      return this.success;
146827
      return this.success;
146828
    }
146828
    }
146829
 
146829
 
146830
    public void setSuccess(Map<Integer,Double> success) {
146830
    public void setSuccess(Map<Long,Double> success) {
146831
      this.success = success;
146831
      this.success = success;
146832
    }
146832
    }
146833
 
146833
 
146834
    public void unsetSuccess() {
146834
    public void unsetSuccess() {
146835
      this.success = null;
146835
      this.success = null;
Line 146850... Line 146850...
146850
      switch (field) {
146850
      switch (field) {
146851
      case SUCCESS:
146851
      case SUCCESS:
146852
        if (value == null) {
146852
        if (value == null) {
146853
          unsetSuccess();
146853
          unsetSuccess();
146854
        } else {
146854
        } else {
146855
          setSuccess((Map<Integer,Double>)value);
146855
          setSuccess((Map<Long,Double>)value);
146856
        }
146856
        }
146857
        break;
146857
        break;
146858
 
146858
 
146859
      }
146859
      }
146860
    }
146860
    }
Line 146948... Line 146948...
146948
        switch (field.id) {
146948
        switch (field.id) {
146949
          case 0: // SUCCESS
146949
          case 0: // SUCCESS
146950
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
146950
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
146951
              {
146951
              {
146952
                org.apache.thrift.protocol.TMap _map571 = iprot.readMapBegin();
146952
                org.apache.thrift.protocol.TMap _map571 = iprot.readMapBegin();
146953
                this.success = new HashMap<Integer,Double>(2*_map571.size);
146953
                this.success = new HashMap<Long,Double>(2*_map571.size);
146954
                for (int _i572 = 0; _i572 < _map571.size; ++_i572)
146954
                for (int _i572 = 0; _i572 < _map571.size; ++_i572)
146955
                {
146955
                {
146956
                  int _key573; // required
146956
                  long _key573; // required
146957
                  double _val574; // required
146957
                  double _val574; // required
146958
                  _key573 = iprot.readI32();
146958
                  _key573 = iprot.readI64();
146959
                  _val574 = iprot.readDouble();
146959
                  _val574 = iprot.readDouble();
146960
                  this.success.put(_key573, _val574);
146960
                  this.success.put(_key573, _val574);
146961
                }
146961
                }
146962
                iprot.readMapEnd();
146962
                iprot.readMapEnd();
146963
              }
146963
              }
Line 146978... Line 146978...
146978
      oprot.writeStructBegin(STRUCT_DESC);
146978
      oprot.writeStructBegin(STRUCT_DESC);
146979
 
146979
 
146980
      if (this.isSetSuccess()) {
146980
      if (this.isSetSuccess()) {
146981
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
146981
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
146982
        {
146982
        {
146983
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.DOUBLE, this.success.size()));
146983
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.success.size()));
146984
          for (Map.Entry<Integer, Double> _iter575 : this.success.entrySet())
146984
          for (Map.Entry<Long, Double> _iter575 : this.success.entrySet())
146985
          {
146985
          {
146986
            oprot.writeI32(_iter575.getKey());
146986
            oprot.writeI64(_iter575.getKey());
146987
            oprot.writeDouble(_iter575.getValue());
146987
            oprot.writeDouble(_iter575.getValue());
146988
          }
146988
          }
146989
          oprot.writeMapEnd();
146989
          oprot.writeMapEnd();
146990
        }
146990
        }
146991
        oprot.writeFieldEnd();
146991
        oprot.writeFieldEnd();