Subversion Repositories SmartDukaan

Rev

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

Rev 18590 Rev 18634
Line 369... Line 369...
369
 
369
 
370
    public boolean addItemsToCart(long cartId, List<ItemQuantity> itemQty, String couponCode) throws org.apache.thrift.TException;
370
    public boolean addItemsToCart(long cartId, List<ItemQuantity> itemQty, String couponCode) throws org.apache.thrift.TException;
371
 
371
 
372
    public String validateCartNew(long cartId, String pinCode, long sourceId) throws org.apache.thrift.TException;
372
    public String validateCartNew(long cartId, String pinCode, long sourceId) throws org.apache.thrift.TException;
373
 
373
 
374
    public boolean isTaxInvoiceCounter(long userId) throws org.apache.thrift.TException;
374
    public boolean isAddressEditableForCounter(long userId) throws org.apache.thrift.TException;
375
 
375
 
376
    public Address getBillingAddressForUser(long userId) throws org.apache.thrift.TException;
376
    public Address getBillingAddressForUser(long userId) throws org.apache.thrift.TException;
377
 
377
 
378
    public boolean isCreditorAssigned(long userId) throws org.apache.thrift.TException;
378
    public boolean isCreditorAssigned(long userId) throws org.apache.thrift.TException;
379
 
379
 
Line 549... Line 549...
549
 
549
 
550
    public void addItemsToCart(long cartId, List<ItemQuantity> itemQty, String couponCode, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItemsToCart_call> resultHandler) throws org.apache.thrift.TException;
550
    public void addItemsToCart(long cartId, List<ItemQuantity> itemQty, String couponCode, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItemsToCart_call> resultHandler) throws org.apache.thrift.TException;
551
 
551
 
552
    public void validateCartNew(long cartId, String pinCode, long sourceId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateCartNew_call> resultHandler) throws org.apache.thrift.TException;
552
    public void validateCartNew(long cartId, String pinCode, long sourceId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateCartNew_call> resultHandler) throws org.apache.thrift.TException;
553
 
553
 
554
    public void isTaxInvoiceCounter(long userId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isTaxInvoiceCounter_call> resultHandler) throws org.apache.thrift.TException;
554
    public void isAddressEditableForCounter(long userId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isAddressEditableForCounter_call> resultHandler) throws org.apache.thrift.TException;
555
 
555
 
556
    public void getBillingAddressForUser(long userId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBillingAddressForUser_call> resultHandler) throws org.apache.thrift.TException;
556
    public void getBillingAddressForUser(long userId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBillingAddressForUser_call> resultHandler) throws org.apache.thrift.TException;
557
 
557
 
558
    public void isCreditorAssigned(long userId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isCreditorAssigned_call> resultHandler) throws org.apache.thrift.TException;
558
    public void isCreditorAssigned(long userId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isCreditorAssigned_call> resultHandler) throws org.apache.thrift.TException;
559
 
559
 
Line 2742... Line 2742...
2742
        return result.success;
2742
        return result.success;
2743
      }
2743
      }
2744
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "validateCartNew failed: unknown result");
2744
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "validateCartNew failed: unknown result");
2745
    }
2745
    }
2746
 
2746
 
2747
    public boolean isTaxInvoiceCounter(long userId) throws org.apache.thrift.TException
2747
    public boolean isAddressEditableForCounter(long userId) throws org.apache.thrift.TException
2748
    {
2748
    {
2749
      send_isTaxInvoiceCounter(userId);
2749
      send_isAddressEditableForCounter(userId);
2750
      return recv_isTaxInvoiceCounter();
2750
      return recv_isAddressEditableForCounter();
2751
    }
2751
    }
2752
 
2752
 
2753
    public void send_isTaxInvoiceCounter(long userId) throws org.apache.thrift.TException
2753
    public void send_isAddressEditableForCounter(long userId) throws org.apache.thrift.TException
2754
    {
2754
    {
2755
      isTaxInvoiceCounter_args args = new isTaxInvoiceCounter_args();
2755
      isAddressEditableForCounter_args args = new isAddressEditableForCounter_args();
2756
      args.setUserId(userId);
2756
      args.setUserId(userId);
2757
      sendBase("isTaxInvoiceCounter", args);
2757
      sendBase("isAddressEditableForCounter", args);
2758
    }
2758
    }
2759
 
2759
 
2760
    public boolean recv_isTaxInvoiceCounter() throws org.apache.thrift.TException
2760
    public boolean recv_isAddressEditableForCounter() throws org.apache.thrift.TException
2761
    {
2761
    {
2762
      isTaxInvoiceCounter_result result = new isTaxInvoiceCounter_result();
2762
      isAddressEditableForCounter_result result = new isAddressEditableForCounter_result();
2763
      receiveBase(result, "isTaxInvoiceCounter");
2763
      receiveBase(result, "isAddressEditableForCounter");
2764
      if (result.isSetSuccess()) {
2764
      if (result.isSetSuccess()) {
2765
        return result.success;
2765
        return result.success;
2766
      }
2766
      }
2767
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "isTaxInvoiceCounter failed: unknown result");
2767
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "isAddressEditableForCounter failed: unknown result");
2768
    }
2768
    }
2769
 
2769
 
2770
    public Address getBillingAddressForUser(long userId) throws org.apache.thrift.TException
2770
    public Address getBillingAddressForUser(long userId) throws org.apache.thrift.TException
2771
    {
2771
    {
2772
      send_getBillingAddressForUser(userId);
2772
      send_getBillingAddressForUser(userId);
Line 5770... Line 5770...
5770
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5770
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5771
        return (new Client(prot)).recv_validateCartNew();
5771
        return (new Client(prot)).recv_validateCartNew();
5772
      }
5772
      }
5773
    }
5773
    }
5774
 
5774
 
5775
    public void isTaxInvoiceCounter(long userId, org.apache.thrift.async.AsyncMethodCallback<isTaxInvoiceCounter_call> resultHandler) throws org.apache.thrift.TException {
5775
    public void isAddressEditableForCounter(long userId, org.apache.thrift.async.AsyncMethodCallback<isAddressEditableForCounter_call> resultHandler) throws org.apache.thrift.TException {
5776
      checkReady();
5776
      checkReady();
5777
      isTaxInvoiceCounter_call method_call = new isTaxInvoiceCounter_call(userId, resultHandler, this, ___protocolFactory, ___transport);
5777
      isAddressEditableForCounter_call method_call = new isAddressEditableForCounter_call(userId, resultHandler, this, ___protocolFactory, ___transport);
5778
      this.___currentMethod = method_call;
5778
      this.___currentMethod = method_call;
5779
      ___manager.call(method_call);
5779
      ___manager.call(method_call);
5780
    }
5780
    }
5781
 
5781
 
5782
    public static class isTaxInvoiceCounter_call extends org.apache.thrift.async.TAsyncMethodCall {
5782
    public static class isAddressEditableForCounter_call extends org.apache.thrift.async.TAsyncMethodCall {
5783
      private long userId;
5783
      private long userId;
5784
      public isTaxInvoiceCounter_call(long userId, org.apache.thrift.async.AsyncMethodCallback<isTaxInvoiceCounter_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 {
5784
      public isAddressEditableForCounter_call(long userId, org.apache.thrift.async.AsyncMethodCallback<isAddressEditableForCounter_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 {
5785
        super(client, protocolFactory, transport, resultHandler, false);
5785
        super(client, protocolFactory, transport, resultHandler, false);
5786
        this.userId = userId;
5786
        this.userId = userId;
5787
      }
5787
      }
5788
 
5788
 
5789
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5789
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5790
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("isTaxInvoiceCounter", org.apache.thrift.protocol.TMessageType.CALL, 0));
5790
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("isAddressEditableForCounter", org.apache.thrift.protocol.TMessageType.CALL, 0));
5791
        isTaxInvoiceCounter_args args = new isTaxInvoiceCounter_args();
5791
        isAddressEditableForCounter_args args = new isAddressEditableForCounter_args();
5792
        args.setUserId(userId);
5792
        args.setUserId(userId);
5793
        args.write(prot);
5793
        args.write(prot);
5794
        prot.writeMessageEnd();
5794
        prot.writeMessageEnd();
5795
      }
5795
      }
5796
 
5796
 
Line 5798... Line 5798...
5798
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
5798
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
5799
          throw new IllegalStateException("Method call not finished!");
5799
          throw new IllegalStateException("Method call not finished!");
5800
        }
5800
        }
5801
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
5801
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
5802
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5802
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5803
        return (new Client(prot)).recv_isTaxInvoiceCounter();
5803
        return (new Client(prot)).recv_isAddressEditableForCounter();
5804
      }
5804
      }
5805
    }
5805
    }
5806
 
5806
 
5807
    public void getBillingAddressForUser(long userId, org.apache.thrift.async.AsyncMethodCallback<getBillingAddressForUser_call> resultHandler) throws org.apache.thrift.TException {
5807
    public void getBillingAddressForUser(long userId, org.apache.thrift.async.AsyncMethodCallback<getBillingAddressForUser_call> resultHandler) throws org.apache.thrift.TException {
5808
      checkReady();
5808
      checkReady();
Line 5964... Line 5964...
5964
      processMap.put("getAllUsersByCounter", new getAllUsersByCounter());
5964
      processMap.put("getAllUsersByCounter", new getAllUsersByCounter());
5965
      processMap.put("getActiveAccessTokenForUser", new getActiveAccessTokenForUser());
5965
      processMap.put("getActiveAccessTokenForUser", new getActiveAccessTokenForUser());
5966
      processMap.put("validateAccessToken", new validateAccessToken());
5966
      processMap.put("validateAccessToken", new validateAccessToken());
5967
      processMap.put("addItemsToCart", new addItemsToCart());
5967
      processMap.put("addItemsToCart", new addItemsToCart());
5968
      processMap.put("validateCartNew", new validateCartNew());
5968
      processMap.put("validateCartNew", new validateCartNew());
5969
      processMap.put("isTaxInvoiceCounter", new isTaxInvoiceCounter());
5969
      processMap.put("isAddressEditableForCounter", new isAddressEditableForCounter());
5970
      processMap.put("getBillingAddressForUser", new getBillingAddressForUser());
5970
      processMap.put("getBillingAddressForUser", new getBillingAddressForUser());
5971
      processMap.put("isCreditorAssigned", new isCreditorAssigned());
5971
      processMap.put("isCreditorAssigned", new isCreditorAssigned());
5972
      return processMap;
5972
      return processMap;
5973
    }
5973
    }
5974
 
5974
 
Line 7597... Line 7597...
7597
        result.success = iface.validateCartNew(args.cartId, args.pinCode, args.sourceId);
7597
        result.success = iface.validateCartNew(args.cartId, args.pinCode, args.sourceId);
7598
        return result;
7598
        return result;
7599
      }
7599
      }
7600
    }
7600
    }
7601
 
7601
 
7602
    private static class isTaxInvoiceCounter<I extends Iface> extends org.apache.thrift.ProcessFunction<I, isTaxInvoiceCounter_args> {
7602
    private static class isAddressEditableForCounter<I extends Iface> extends org.apache.thrift.ProcessFunction<I, isAddressEditableForCounter_args> {
7603
      public isTaxInvoiceCounter() {
7603
      public isAddressEditableForCounter() {
7604
        super("isTaxInvoiceCounter");
7604
        super("isAddressEditableForCounter");
7605
      }
7605
      }
7606
 
7606
 
7607
      protected isTaxInvoiceCounter_args getEmptyArgsInstance() {
7607
      protected isAddressEditableForCounter_args getEmptyArgsInstance() {
7608
        return new isTaxInvoiceCounter_args();
7608
        return new isAddressEditableForCounter_args();
7609
      }
7609
      }
7610
 
7610
 
7611
      protected isTaxInvoiceCounter_result getResult(I iface, isTaxInvoiceCounter_args args) throws org.apache.thrift.TException {
7611
      protected isAddressEditableForCounter_result getResult(I iface, isAddressEditableForCounter_args args) throws org.apache.thrift.TException {
7612
        isTaxInvoiceCounter_result result = new isTaxInvoiceCounter_result();
7612
        isAddressEditableForCounter_result result = new isAddressEditableForCounter_result();
7613
        result.success = iface.isTaxInvoiceCounter(args.userId);
7613
        result.success = iface.isAddressEditableForCounter(args.userId);
7614
        result.setSuccessIsSet(true);
7614
        result.setSuccessIsSet(true);
7615
        return result;
7615
        return result;
7616
      }
7616
      }
7617
    }
7617
    }
7618
 
7618
 
Line 68750... Line 68750...
68750
      }
68750
      }
68751
    }
68751
    }
68752
 
68752
 
68753
  }
68753
  }
68754
 
68754
 
68755
  public static class isTaxInvoiceCounter_args implements org.apache.thrift.TBase<isTaxInvoiceCounter_args, isTaxInvoiceCounter_args._Fields>, java.io.Serializable, Cloneable   {
68755
  public static class isAddressEditableForCounter_args implements org.apache.thrift.TBase<isAddressEditableForCounter_args, isAddressEditableForCounter_args._Fields>, java.io.Serializable, Cloneable   {
68756
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("isTaxInvoiceCounter_args");
68756
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("isAddressEditableForCounter_args");
68757
 
68757
 
68758
    private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)1);
68758
    private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)1);
68759
 
68759
 
68760
    private long userId; // required
68760
    private long userId; // required
68761
 
68761
 
Line 68825... Line 68825...
68825
    static {
68825
    static {
68826
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
68826
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
68827
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
68827
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
68828
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
68828
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
68829
      metaDataMap = Collections.unmodifiableMap(tmpMap);
68829
      metaDataMap = Collections.unmodifiableMap(tmpMap);
68830
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTaxInvoiceCounter_args.class, metaDataMap);
68830
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isAddressEditableForCounter_args.class, metaDataMap);
68831
    }
68831
    }
68832
 
68832
 
68833
    public isTaxInvoiceCounter_args() {
68833
    public isAddressEditableForCounter_args() {
68834
    }
68834
    }
68835
 
68835
 
68836
    public isTaxInvoiceCounter_args(
68836
    public isAddressEditableForCounter_args(
68837
      long userId)
68837
      long userId)
68838
    {
68838
    {
68839
      this();
68839
      this();
68840
      this.userId = userId;
68840
      this.userId = userId;
68841
      setUserIdIsSet(true);
68841
      setUserIdIsSet(true);
68842
    }
68842
    }
68843
 
68843
 
68844
    /**
68844
    /**
68845
     * Performs a deep copy on <i>other</i>.
68845
     * Performs a deep copy on <i>other</i>.
68846
     */
68846
     */
68847
    public isTaxInvoiceCounter_args(isTaxInvoiceCounter_args other) {
68847
    public isAddressEditableForCounter_args(isAddressEditableForCounter_args other) {
68848
      __isset_bit_vector.clear();
68848
      __isset_bit_vector.clear();
68849
      __isset_bit_vector.or(other.__isset_bit_vector);
68849
      __isset_bit_vector.or(other.__isset_bit_vector);
68850
      this.userId = other.userId;
68850
      this.userId = other.userId;
68851
    }
68851
    }
68852
 
68852
 
68853
    public isTaxInvoiceCounter_args deepCopy() {
68853
    public isAddressEditableForCounter_args deepCopy() {
68854
      return new isTaxInvoiceCounter_args(this);
68854
      return new isAddressEditableForCounter_args(this);
68855
    }
68855
    }
68856
 
68856
 
68857
    @Override
68857
    @Override
68858
    public void clear() {
68858
    public void clear() {
68859
      setUserIdIsSet(false);
68859
      setUserIdIsSet(false);
Line 68919... Line 68919...
68919
 
68919
 
68920
    @Override
68920
    @Override
68921
    public boolean equals(Object that) {
68921
    public boolean equals(Object that) {
68922
      if (that == null)
68922
      if (that == null)
68923
        return false;
68923
        return false;
68924
      if (that instanceof isTaxInvoiceCounter_args)
68924
      if (that instanceof isAddressEditableForCounter_args)
68925
        return this.equals((isTaxInvoiceCounter_args)that);
68925
        return this.equals((isAddressEditableForCounter_args)that);
68926
      return false;
68926
      return false;
68927
    }
68927
    }
68928
 
68928
 
68929
    public boolean equals(isTaxInvoiceCounter_args that) {
68929
    public boolean equals(isAddressEditableForCounter_args that) {
68930
      if (that == null)
68930
      if (that == null)
68931
        return false;
68931
        return false;
68932
 
68932
 
68933
      boolean this_present_userId = true;
68933
      boolean this_present_userId = true;
68934
      boolean that_present_userId = true;
68934
      boolean that_present_userId = true;
Line 68945... Line 68945...
68945
    @Override
68945
    @Override
68946
    public int hashCode() {
68946
    public int hashCode() {
68947
      return 0;
68947
      return 0;
68948
    }
68948
    }
68949
 
68949
 
68950
    public int compareTo(isTaxInvoiceCounter_args other) {
68950
    public int compareTo(isAddressEditableForCounter_args other) {
68951
      if (!getClass().equals(other.getClass())) {
68951
      if (!getClass().equals(other.getClass())) {
68952
        return getClass().getName().compareTo(other.getClass().getName());
68952
        return getClass().getName().compareTo(other.getClass().getName());
68953
      }
68953
      }
68954
 
68954
 
68955
      int lastComparison = 0;
68955
      int lastComparison = 0;
68956
      isTaxInvoiceCounter_args typedOther = (isTaxInvoiceCounter_args)other;
68956
      isAddressEditableForCounter_args typedOther = (isAddressEditableForCounter_args)other;
68957
 
68957
 
68958
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
68958
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
68959
      if (lastComparison != 0) {
68959
      if (lastComparison != 0) {
68960
        return lastComparison;
68960
        return lastComparison;
68961
      }
68961
      }
Line 69010... Line 69010...
69010
      oprot.writeStructEnd();
69010
      oprot.writeStructEnd();
69011
    }
69011
    }
69012
 
69012
 
69013
    @Override
69013
    @Override
69014
    public String toString() {
69014
    public String toString() {
69015
      StringBuilder sb = new StringBuilder("isTaxInvoiceCounter_args(");
69015
      StringBuilder sb = new StringBuilder("isAddressEditableForCounter_args(");
69016
      boolean first = true;
69016
      boolean first = true;
69017
 
69017
 
69018
      sb.append("userId:");
69018
      sb.append("userId:");
69019
      sb.append(this.userId);
69019
      sb.append(this.userId);
69020
      first = false;
69020
      first = false;
Line 69044... Line 69044...
69044
      }
69044
      }
69045
    }
69045
    }
69046
 
69046
 
69047
  }
69047
  }
69048
 
69048
 
69049
  public static class isTaxInvoiceCounter_result implements org.apache.thrift.TBase<isTaxInvoiceCounter_result, isTaxInvoiceCounter_result._Fields>, java.io.Serializable, Cloneable   {
69049
  public static class isAddressEditableForCounter_result implements org.apache.thrift.TBase<isAddressEditableForCounter_result, isAddressEditableForCounter_result._Fields>, java.io.Serializable, Cloneable   {
69050
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("isTaxInvoiceCounter_result");
69050
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("isAddressEditableForCounter_result");
69051
 
69051
 
69052
    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);
69052
    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);
69053
 
69053
 
69054
    private boolean success; // required
69054
    private boolean success; // required
69055
 
69055
 
Line 69119... Line 69119...
69119
    static {
69119
    static {
69120
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
69120
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
69121
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
69121
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
69122
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
69122
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
69123
      metaDataMap = Collections.unmodifiableMap(tmpMap);
69123
      metaDataMap = Collections.unmodifiableMap(tmpMap);
69124
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTaxInvoiceCounter_result.class, metaDataMap);
69124
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isAddressEditableForCounter_result.class, metaDataMap);
69125
    }
69125
    }
69126
 
69126
 
69127
    public isTaxInvoiceCounter_result() {
69127
    public isAddressEditableForCounter_result() {
69128
    }
69128
    }
69129
 
69129
 
69130
    public isTaxInvoiceCounter_result(
69130
    public isAddressEditableForCounter_result(
69131
      boolean success)
69131
      boolean success)
69132
    {
69132
    {
69133
      this();
69133
      this();
69134
      this.success = success;
69134
      this.success = success;
69135
      setSuccessIsSet(true);
69135
      setSuccessIsSet(true);
69136
    }
69136
    }
69137
 
69137
 
69138
    /**
69138
    /**
69139
     * Performs a deep copy on <i>other</i>.
69139
     * Performs a deep copy on <i>other</i>.
69140
     */
69140
     */
69141
    public isTaxInvoiceCounter_result(isTaxInvoiceCounter_result other) {
69141
    public isAddressEditableForCounter_result(isAddressEditableForCounter_result other) {
69142
      __isset_bit_vector.clear();
69142
      __isset_bit_vector.clear();
69143
      __isset_bit_vector.or(other.__isset_bit_vector);
69143
      __isset_bit_vector.or(other.__isset_bit_vector);
69144
      this.success = other.success;
69144
      this.success = other.success;
69145
    }
69145
    }
69146
 
69146
 
69147
    public isTaxInvoiceCounter_result deepCopy() {
69147
    public isAddressEditableForCounter_result deepCopy() {
69148
      return new isTaxInvoiceCounter_result(this);
69148
      return new isAddressEditableForCounter_result(this);
69149
    }
69149
    }
69150
 
69150
 
69151
    @Override
69151
    @Override
69152
    public void clear() {
69152
    public void clear() {
69153
      setSuccessIsSet(false);
69153
      setSuccessIsSet(false);
Line 69213... Line 69213...
69213
 
69213
 
69214
    @Override
69214
    @Override
69215
    public boolean equals(Object that) {
69215
    public boolean equals(Object that) {
69216
      if (that == null)
69216
      if (that == null)
69217
        return false;
69217
        return false;
69218
      if (that instanceof isTaxInvoiceCounter_result)
69218
      if (that instanceof isAddressEditableForCounter_result)
69219
        return this.equals((isTaxInvoiceCounter_result)that);
69219
        return this.equals((isAddressEditableForCounter_result)that);
69220
      return false;
69220
      return false;
69221
    }
69221
    }
69222
 
69222
 
69223
    public boolean equals(isTaxInvoiceCounter_result that) {
69223
    public boolean equals(isAddressEditableForCounter_result that) {
69224
      if (that == null)
69224
      if (that == null)
69225
        return false;
69225
        return false;
69226
 
69226
 
69227
      boolean this_present_success = true;
69227
      boolean this_present_success = true;
69228
      boolean that_present_success = true;
69228
      boolean that_present_success = true;
Line 69239... Line 69239...
69239
    @Override
69239
    @Override
69240
    public int hashCode() {
69240
    public int hashCode() {
69241
      return 0;
69241
      return 0;
69242
    }
69242
    }
69243
 
69243
 
69244
    public int compareTo(isTaxInvoiceCounter_result other) {
69244
    public int compareTo(isAddressEditableForCounter_result other) {
69245
      if (!getClass().equals(other.getClass())) {
69245
      if (!getClass().equals(other.getClass())) {
69246
        return getClass().getName().compareTo(other.getClass().getName());
69246
        return getClass().getName().compareTo(other.getClass().getName());
69247
      }
69247
      }
69248
 
69248
 
69249
      int lastComparison = 0;
69249
      int lastComparison = 0;
69250
      isTaxInvoiceCounter_result typedOther = (isTaxInvoiceCounter_result)other;
69250
      isAddressEditableForCounter_result typedOther = (isAddressEditableForCounter_result)other;
69251
 
69251
 
69252
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
69252
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
69253
      if (lastComparison != 0) {
69253
      if (lastComparison != 0) {
69254
        return lastComparison;
69254
        return lastComparison;
69255
      }
69255
      }
Line 69305... Line 69305...
69305
      oprot.writeStructEnd();
69305
      oprot.writeStructEnd();
69306
    }
69306
    }
69307
 
69307
 
69308
    @Override
69308
    @Override
69309
    public String toString() {
69309
    public String toString() {
69310
      StringBuilder sb = new StringBuilder("isTaxInvoiceCounter_result(");
69310
      StringBuilder sb = new StringBuilder("isAddressEditableForCounter_result(");
69311
      boolean first = true;
69311
      boolean first = true;
69312
 
69312
 
69313
      sb.append("success:");
69313
      sb.append("success:");
69314
      sb.append(this.success);
69314
      sb.append(this.success);
69315
      first = false;
69315
      first = false;