Subversion Repositories SmartDukaan

Rev

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

Rev 22043 Rev 22452
Line 1280... Line 1280...
1280
 
1280
 
1281
    public boolean creditUserWallet(long userId, long amount, double cash_back, String shortDesc) throws org.apache.thrift.TException;
1281
    public boolean creditUserWallet(long userId, long amount, double cash_back, String shortDesc) throws org.apache.thrift.TException;
1282
 
1282
 
1283
    public List<RechargeOrder> getPaginatedRechargeOrders(long userId, int offset, int limit) throws org.apache.thrift.TException;
1283
    public List<RechargeOrder> getPaginatedRechargeOrders(long userId, int offset, int limit) throws org.apache.thrift.TException;
1284
 
1284
 
-
 
1285
    public boolean markOrderForRegisteredGstInvoice(List<Long> tranasction_ids) throws org.apache.thrift.TException;
-
 
1286
 
1285
  }
1287
  }
1286
 
1288
 
1287
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1289
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1288
 
1290
 
1289
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
1291
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1928... Line 1930...
1928
 
1930
 
1929
    public void creditUserWallet(long userId, long amount, double cash_back, String shortDesc, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.creditUserWallet_call> resultHandler) throws org.apache.thrift.TException;
1931
    public void creditUserWallet(long userId, long amount, double cash_back, String shortDesc, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.creditUserWallet_call> resultHandler) throws org.apache.thrift.TException;
1930
 
1932
 
1931
    public void getPaginatedRechargeOrders(long userId, int offset, int limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPaginatedRechargeOrders_call> resultHandler) throws org.apache.thrift.TException;
1933
    public void getPaginatedRechargeOrders(long userId, int offset, int limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPaginatedRechargeOrders_call> resultHandler) throws org.apache.thrift.TException;
1932
 
1934
 
-
 
1935
    public void markOrderForRegisteredGstInvoice(List<Long> tranasction_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderForRegisteredGstInvoice_call> resultHandler) throws org.apache.thrift.TException;
-
 
1936
 
1933
  }
1937
  }
1934
 
1938
 
1935
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1939
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1936
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1940
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1937
      public Factory() {}
1941
      public Factory() {}
Line 9908... Line 9912...
9908
        return result.success;
9912
        return result.success;
9909
      }
9913
      }
9910
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPaginatedRechargeOrders failed: unknown result");
9914
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPaginatedRechargeOrders failed: unknown result");
9911
    }
9915
    }
9912
 
9916
 
-
 
9917
    public boolean markOrderForRegisteredGstInvoice(List<Long> tranasction_ids) throws org.apache.thrift.TException
-
 
9918
    {
-
 
9919
      send_markOrderForRegisteredGstInvoice(tranasction_ids);
-
 
9920
      return recv_markOrderForRegisteredGstInvoice();
-
 
9921
    }
-
 
9922
 
-
 
9923
    public void send_markOrderForRegisteredGstInvoice(List<Long> tranasction_ids) throws org.apache.thrift.TException
-
 
9924
    {
-
 
9925
      markOrderForRegisteredGstInvoice_args args = new markOrderForRegisteredGstInvoice_args();
-
 
9926
      args.setTranasction_ids(tranasction_ids);
-
 
9927
      sendBase("markOrderForRegisteredGstInvoice", args);
-
 
9928
    }
-
 
9929
 
-
 
9930
    public boolean recv_markOrderForRegisteredGstInvoice() throws org.apache.thrift.TException
-
 
9931
    {
-
 
9932
      markOrderForRegisteredGstInvoice_result result = new markOrderForRegisteredGstInvoice_result();
-
 
9933
      receiveBase(result, "markOrderForRegisteredGstInvoice");
-
 
9934
      if (result.isSetSuccess()) {
-
 
9935
        return result.success;
-
 
9936
      }
-
 
9937
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markOrderForRegisteredGstInvoice failed: unknown result");
-
 
9938
    }
-
 
9939
 
9913
  }
9940
  }
9914
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
9941
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
9915
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
9942
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
9916
      private org.apache.thrift.async.TAsyncClientManager clientManager;
9943
      private org.apache.thrift.async.TAsyncClientManager clientManager;
9917
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
9944
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 21148... Line 21175...
21148
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
21175
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
21149
        return (new Client(prot)).recv_getPaginatedRechargeOrders();
21176
        return (new Client(prot)).recv_getPaginatedRechargeOrders();
21150
      }
21177
      }
21151
    }
21178
    }
21152
 
21179
 
-
 
21180
    public void markOrderForRegisteredGstInvoice(List<Long> tranasction_ids, org.apache.thrift.async.AsyncMethodCallback<markOrderForRegisteredGstInvoice_call> resultHandler) throws org.apache.thrift.TException {
-
 
21181
      checkReady();
-
 
21182
      markOrderForRegisteredGstInvoice_call method_call = new markOrderForRegisteredGstInvoice_call(tranasction_ids, resultHandler, this, ___protocolFactory, ___transport);
-
 
21183
      this.___currentMethod = method_call;
-
 
21184
      ___manager.call(method_call);
-
 
21185
    }
-
 
21186
 
-
 
21187
    public static class markOrderForRegisteredGstInvoice_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
21188
      private List<Long> tranasction_ids;
-
 
21189
      public markOrderForRegisteredGstInvoice_call(List<Long> tranasction_ids, org.apache.thrift.async.AsyncMethodCallback<markOrderForRegisteredGstInvoice_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 {
-
 
21190
        super(client, protocolFactory, transport, resultHandler, false);
-
 
21191
        this.tranasction_ids = tranasction_ids;
-
 
21192
      }
-
 
21193
 
-
 
21194
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
21195
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markOrderForRegisteredGstInvoice", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
21196
        markOrderForRegisteredGstInvoice_args args = new markOrderForRegisteredGstInvoice_args();
-
 
21197
        args.setTranasction_ids(tranasction_ids);
-
 
21198
        args.write(prot);
-
 
21199
        prot.writeMessageEnd();
-
 
21200
      }
-
 
21201
 
-
 
21202
      public boolean getResult() throws org.apache.thrift.TException {
-
 
21203
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
21204
          throw new IllegalStateException("Method call not finished!");
-
 
21205
        }
-
 
21206
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
21207
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
21208
        return (new Client(prot)).recv_markOrderForRegisteredGstInvoice();
-
 
21209
      }
-
 
21210
    }
-
 
21211
 
21153
  }
21212
  }
21154
 
21213
 
21155
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
21214
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
21156
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
21215
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
21157
    public Processor(I iface) {
21216
    public Processor(I iface) {
Line 21483... Line 21542...
21483
      processMap.put("getPendingAssociates", new getPendingAssociates());
21542
      processMap.put("getPendingAssociates", new getPendingAssociates());
21484
      processMap.put("getStatsForAssociates", new getStatsForAssociates());
21543
      processMap.put("getStatsForAssociates", new getStatsForAssociates());
21485
      processMap.put("getmypmsaprofile", new getmypmsaprofile());
21544
      processMap.put("getmypmsaprofile", new getmypmsaprofile());
21486
      processMap.put("creditUserWallet", new creditUserWallet());
21545
      processMap.put("creditUserWallet", new creditUserWallet());
21487
      processMap.put("getPaginatedRechargeOrders", new getPaginatedRechargeOrders());
21546
      processMap.put("getPaginatedRechargeOrders", new getPaginatedRechargeOrders());
-
 
21547
      processMap.put("markOrderForRegisteredGstInvoice", new markOrderForRegisteredGstInvoice());
21488
      return processMap;
21548
      return processMap;
21489
    }
21549
    }
21490
 
21550
 
21491
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
21551
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
21492
      public createTransaction() {
21552
      public createTransaction() {
Line 27278... Line 27338...
27278
        result.success = iface.getPaginatedRechargeOrders(args.userId, args.offset, args.limit);
27338
        result.success = iface.getPaginatedRechargeOrders(args.userId, args.offset, args.limit);
27279
        return result;
27339
        return result;
27280
      }
27340
      }
27281
    }
27341
    }
27282
 
27342
 
-
 
27343
    private static class markOrderForRegisteredGstInvoice<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markOrderForRegisteredGstInvoice_args> {
-
 
27344
      public markOrderForRegisteredGstInvoice() {
-
 
27345
        super("markOrderForRegisteredGstInvoice");
-
 
27346
      }
-
 
27347
 
-
 
27348
      protected markOrderForRegisteredGstInvoice_args getEmptyArgsInstance() {
-
 
27349
        return new markOrderForRegisteredGstInvoice_args();
-
 
27350
      }
-
 
27351
 
-
 
27352
      protected markOrderForRegisteredGstInvoice_result getResult(I iface, markOrderForRegisteredGstInvoice_args args) throws org.apache.thrift.TException {
-
 
27353
        markOrderForRegisteredGstInvoice_result result = new markOrderForRegisteredGstInvoice_result();
-
 
27354
        result.success = iface.markOrderForRegisteredGstInvoice(args.tranasction_ids);
-
 
27355
        result.setSuccessIsSet(true);
-
 
27356
        return result;
-
 
27357
      }
-
 
27358
    }
-
 
27359
 
27283
  }
27360
  }
27284
 
27361
 
27285
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
27362
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
27286
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
27363
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
27287
 
27364
 
Line 256880... Line 256957...
256880
      first = false;
256957
      first = false;
256881
      sb.append(")");
256958
      sb.append(")");
256882
      return sb.toString();
256959
      return sb.toString();
256883
    }
256960
    }
256884
 
256961
 
-
 
256962
    public void validate() throws org.apache.thrift.TException {
-
 
256963
      // check for required fields
-
 
256964
    }
-
 
256965
 
-
 
256966
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
256967
      try {
-
 
256968
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
256969
      } catch (org.apache.thrift.TException te) {
-
 
256970
        throw new java.io.IOException(te);
-
 
256971
      }
-
 
256972
    }
-
 
256973
 
-
 
256974
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
256975
      try {
-
 
256976
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
256977
      } catch (org.apache.thrift.TException te) {
-
 
256978
        throw new java.io.IOException(te);
-
 
256979
      }
-
 
256980
    }
-
 
256981
 
-
 
256982
  }
-
 
256983
 
-
 
256984
  public static class markOrderForRegisteredGstInvoice_args implements org.apache.thrift.TBase<markOrderForRegisteredGstInvoice_args, markOrderForRegisteredGstInvoice_args._Fields>, java.io.Serializable, Cloneable   {
-
 
256985
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrderForRegisteredGstInvoice_args");
-
 
256986
 
-
 
256987
    private static final org.apache.thrift.protocol.TField TRANASCTION_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("tranasction_ids", org.apache.thrift.protocol.TType.LIST, (short)-1);
-
 
256988
 
-
 
256989
    private List<Long> tranasction_ids; // required
-
 
256990
 
-
 
256991
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
256992
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
256993
      TRANASCTION_IDS((short)-1, "tranasction_ids");
-
 
256994
 
-
 
256995
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
256996
 
-
 
256997
      static {
-
 
256998
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
256999
          byName.put(field.getFieldName(), field);
-
 
257000
        }
-
 
257001
      }
-
 
257002
 
-
 
257003
      /**
-
 
257004
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
257005
       */
-
 
257006
      public static _Fields findByThriftId(int fieldId) {
-
 
257007
        switch(fieldId) {
-
 
257008
          case -1: // TRANASCTION_IDS
-
 
257009
            return TRANASCTION_IDS;
-
 
257010
          default:
-
 
257011
            return null;
-
 
257012
        }
-
 
257013
      }
-
 
257014
 
-
 
257015
      /**
-
 
257016
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
257017
       * if it is not found.
-
 
257018
       */
-
 
257019
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
257020
        _Fields fields = findByThriftId(fieldId);
-
 
257021
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
257022
        return fields;
-
 
257023
      }
-
 
257024
 
-
 
257025
      /**
-
 
257026
       * Find the _Fields constant that matches name, or null if its not found.
-
 
257027
       */
-
 
257028
      public static _Fields findByName(String name) {
-
 
257029
        return byName.get(name);
-
 
257030
      }
-
 
257031
 
-
 
257032
      private final short _thriftId;
-
 
257033
      private final String _fieldName;
-
 
257034
 
-
 
257035
      _Fields(short thriftId, String fieldName) {
-
 
257036
        _thriftId = thriftId;
-
 
257037
        _fieldName = fieldName;
-
 
257038
      }
-
 
257039
 
-
 
257040
      public short getThriftFieldId() {
-
 
257041
        return _thriftId;
-
 
257042
      }
-
 
257043
 
-
 
257044
      public String getFieldName() {
-
 
257045
        return _fieldName;
-
 
257046
      }
-
 
257047
    }
-
 
257048
 
-
 
257049
    // isset id assignments
-
 
257050
 
-
 
257051
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
257052
    static {
-
 
257053
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
257054
      tmpMap.put(_Fields.TRANASCTION_IDS, new org.apache.thrift.meta_data.FieldMetaData("tranasction_ids", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
257055
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
257056
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
257057
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
257058
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrderForRegisteredGstInvoice_args.class, metaDataMap);
-
 
257059
    }
-
 
257060
 
-
 
257061
    public markOrderForRegisteredGstInvoice_args() {
-
 
257062
    }
-
 
257063
 
-
 
257064
    public markOrderForRegisteredGstInvoice_args(
-
 
257065
      List<Long> tranasction_ids)
-
 
257066
    {
-
 
257067
      this();
-
 
257068
      this.tranasction_ids = tranasction_ids;
-
 
257069
    }
-
 
257070
 
-
 
257071
    /**
-
 
257072
     * Performs a deep copy on <i>other</i>.
-
 
257073
     */
-
 
257074
    public markOrderForRegisteredGstInvoice_args(markOrderForRegisteredGstInvoice_args other) {
-
 
257075
      if (other.isSetTranasction_ids()) {
-
 
257076
        List<Long> __this__tranasction_ids = new ArrayList<Long>();
-
 
257077
        for (Long other_element : other.tranasction_ids) {
-
 
257078
          __this__tranasction_ids.add(other_element);
-
 
257079
        }
-
 
257080
        this.tranasction_ids = __this__tranasction_ids;
-
 
257081
      }
-
 
257082
    }
-
 
257083
 
-
 
257084
    public markOrderForRegisteredGstInvoice_args deepCopy() {
-
 
257085
      return new markOrderForRegisteredGstInvoice_args(this);
-
 
257086
    }
-
 
257087
 
-
 
257088
    @Override
-
 
257089
    public void clear() {
-
 
257090
      this.tranasction_ids = null;
-
 
257091
    }
-
 
257092
 
-
 
257093
    public int getTranasction_idsSize() {
-
 
257094
      return (this.tranasction_ids == null) ? 0 : this.tranasction_ids.size();
-
 
257095
    }
-
 
257096
 
-
 
257097
    public java.util.Iterator<Long> getTranasction_idsIterator() {
-
 
257098
      return (this.tranasction_ids == null) ? null : this.tranasction_ids.iterator();
-
 
257099
    }
-
 
257100
 
-
 
257101
    public void addToTranasction_ids(long elem) {
-
 
257102
      if (this.tranasction_ids == null) {
-
 
257103
        this.tranasction_ids = new ArrayList<Long>();
-
 
257104
      }
-
 
257105
      this.tranasction_ids.add(elem);
-
 
257106
    }
-
 
257107
 
-
 
257108
    public List<Long> getTranasction_ids() {
-
 
257109
      return this.tranasction_ids;
-
 
257110
    }
-
 
257111
 
-
 
257112
    public void setTranasction_ids(List<Long> tranasction_ids) {
-
 
257113
      this.tranasction_ids = tranasction_ids;
-
 
257114
    }
-
 
257115
 
-
 
257116
    public void unsetTranasction_ids() {
-
 
257117
      this.tranasction_ids = null;
-
 
257118
    }
-
 
257119
 
-
 
257120
    /** Returns true if field tranasction_ids is set (has been assigned a value) and false otherwise */
-
 
257121
    public boolean isSetTranasction_ids() {
-
 
257122
      return this.tranasction_ids != null;
-
 
257123
    }
-
 
257124
 
-
 
257125
    public void setTranasction_idsIsSet(boolean value) {
-
 
257126
      if (!value) {
-
 
257127
        this.tranasction_ids = null;
-
 
257128
      }
-
 
257129
    }
-
 
257130
 
-
 
257131
    public void setFieldValue(_Fields field, Object value) {
-
 
257132
      switch (field) {
-
 
257133
      case TRANASCTION_IDS:
-
 
257134
        if (value == null) {
-
 
257135
          unsetTranasction_ids();
-
 
257136
        } else {
-
 
257137
          setTranasction_ids((List<Long>)value);
-
 
257138
        }
-
 
257139
        break;
-
 
257140
 
-
 
257141
      }
-
 
257142
    }
-
 
257143
 
-
 
257144
    public Object getFieldValue(_Fields field) {
-
 
257145
      switch (field) {
-
 
257146
      case TRANASCTION_IDS:
-
 
257147
        return getTranasction_ids();
-
 
257148
 
-
 
257149
      }
-
 
257150
      throw new IllegalStateException();
-
 
257151
    }
-
 
257152
 
-
 
257153
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
257154
    public boolean isSet(_Fields field) {
-
 
257155
      if (field == null) {
-
 
257156
        throw new IllegalArgumentException();
-
 
257157
      }
-
 
257158
 
-
 
257159
      switch (field) {
-
 
257160
      case TRANASCTION_IDS:
-
 
257161
        return isSetTranasction_ids();
-
 
257162
      }
-
 
257163
      throw new IllegalStateException();
-
 
257164
    }
-
 
257165
 
-
 
257166
    @Override
-
 
257167
    public boolean equals(Object that) {
-
 
257168
      if (that == null)
-
 
257169
        return false;
-
 
257170
      if (that instanceof markOrderForRegisteredGstInvoice_args)
-
 
257171
        return this.equals((markOrderForRegisteredGstInvoice_args)that);
-
 
257172
      return false;
-
 
257173
    }
-
 
257174
 
-
 
257175
    public boolean equals(markOrderForRegisteredGstInvoice_args that) {
-
 
257176
      if (that == null)
-
 
257177
        return false;
-
 
257178
 
-
 
257179
      boolean this_present_tranasction_ids = true && this.isSetTranasction_ids();
-
 
257180
      boolean that_present_tranasction_ids = true && that.isSetTranasction_ids();
-
 
257181
      if (this_present_tranasction_ids || that_present_tranasction_ids) {
-
 
257182
        if (!(this_present_tranasction_ids && that_present_tranasction_ids))
-
 
257183
          return false;
-
 
257184
        if (!this.tranasction_ids.equals(that.tranasction_ids))
-
 
257185
          return false;
-
 
257186
      }
-
 
257187
 
-
 
257188
      return true;
-
 
257189
    }
-
 
257190
 
-
 
257191
    @Override
-
 
257192
    public int hashCode() {
-
 
257193
      return 0;
-
 
257194
    }
-
 
257195
 
-
 
257196
    public int compareTo(markOrderForRegisteredGstInvoice_args other) {
-
 
257197
      if (!getClass().equals(other.getClass())) {
-
 
257198
        return getClass().getName().compareTo(other.getClass().getName());
-
 
257199
      }
-
 
257200
 
-
 
257201
      int lastComparison = 0;
-
 
257202
      markOrderForRegisteredGstInvoice_args typedOther = (markOrderForRegisteredGstInvoice_args)other;
-
 
257203
 
-
 
257204
      lastComparison = Boolean.valueOf(isSetTranasction_ids()).compareTo(typedOther.isSetTranasction_ids());
-
 
257205
      if (lastComparison != 0) {
-
 
257206
        return lastComparison;
-
 
257207
      }
-
 
257208
      if (isSetTranasction_ids()) {
-
 
257209
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tranasction_ids, typedOther.tranasction_ids);
-
 
257210
        if (lastComparison != 0) {
-
 
257211
          return lastComparison;
-
 
257212
        }
-
 
257213
      }
-
 
257214
      return 0;
-
 
257215
    }
-
 
257216
 
-
 
257217
    public _Fields fieldForId(int fieldId) {
-
 
257218
      return _Fields.findByThriftId(fieldId);
-
 
257219
    }
-
 
257220
 
-
 
257221
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
257222
      org.apache.thrift.protocol.TField field;
-
 
257223
      iprot.readStructBegin();
-
 
257224
      while (true)
-
 
257225
      {
-
 
257226
        field = iprot.readFieldBegin();
-
 
257227
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
257228
          break;
-
 
257229
        }
-
 
257230
        switch (field.id) {
-
 
257231
          case -1: // TRANASCTION_IDS
-
 
257232
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
257233
              {
-
 
257234
                org.apache.thrift.protocol.TList _list881 = iprot.readListBegin();
-
 
257235
                this.tranasction_ids = new ArrayList<Long>(_list881.size);
-
 
257236
                for (int _i882 = 0; _i882 < _list881.size; ++_i882)
-
 
257237
                {
-
 
257238
                  long _elem883; // required
-
 
257239
                  _elem883 = iprot.readI64();
-
 
257240
                  this.tranasction_ids.add(_elem883);
-
 
257241
                }
-
 
257242
                iprot.readListEnd();
-
 
257243
              }
-
 
257244
            } else { 
-
 
257245
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
257246
            }
-
 
257247
            break;
-
 
257248
          default:
-
 
257249
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
257250
        }
-
 
257251
        iprot.readFieldEnd();
-
 
257252
      }
-
 
257253
      iprot.readStructEnd();
-
 
257254
      validate();
-
 
257255
    }
-
 
257256
 
-
 
257257
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
257258
      validate();
-
 
257259
 
-
 
257260
      oprot.writeStructBegin(STRUCT_DESC);
-
 
257261
      if (this.tranasction_ids != null) {
-
 
257262
        oprot.writeFieldBegin(TRANASCTION_IDS_FIELD_DESC);
-
 
257263
        {
-
 
257264
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.tranasction_ids.size()));
-
 
257265
          for (long _iter884 : this.tranasction_ids)
-
 
257266
          {
-
 
257267
            oprot.writeI64(_iter884);
-
 
257268
          }
-
 
257269
          oprot.writeListEnd();
-
 
257270
        }
-
 
257271
        oprot.writeFieldEnd();
-
 
257272
      }
-
 
257273
      oprot.writeFieldStop();
-
 
257274
      oprot.writeStructEnd();
-
 
257275
    }
-
 
257276
 
-
 
257277
    @Override
-
 
257278
    public String toString() {
-
 
257279
      StringBuilder sb = new StringBuilder("markOrderForRegisteredGstInvoice_args(");
-
 
257280
      boolean first = true;
-
 
257281
 
-
 
257282
      sb.append("tranasction_ids:");
-
 
257283
      if (this.tranasction_ids == null) {
-
 
257284
        sb.append("null");
-
 
257285
      } else {
-
 
257286
        sb.append(this.tranasction_ids);
-
 
257287
      }
-
 
257288
      first = false;
-
 
257289
      sb.append(")");
-
 
257290
      return sb.toString();
-
 
257291
    }
-
 
257292
 
-
 
257293
    public void validate() throws org.apache.thrift.TException {
-
 
257294
      // check for required fields
-
 
257295
    }
-
 
257296
 
-
 
257297
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
257298
      try {
-
 
257299
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
257300
      } catch (org.apache.thrift.TException te) {
-
 
257301
        throw new java.io.IOException(te);
-
 
257302
      }
-
 
257303
    }
-
 
257304
 
-
 
257305
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
257306
      try {
-
 
257307
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
257308
      } catch (org.apache.thrift.TException te) {
-
 
257309
        throw new java.io.IOException(te);
-
 
257310
      }
-
 
257311
    }
-
 
257312
 
-
 
257313
  }
-
 
257314
 
-
 
257315
  public static class markOrderForRegisteredGstInvoice_result implements org.apache.thrift.TBase<markOrderForRegisteredGstInvoice_result, markOrderForRegisteredGstInvoice_result._Fields>, java.io.Serializable, Cloneable   {
-
 
257316
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrderForRegisteredGstInvoice_result");
-
 
257317
 
-
 
257318
    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);
-
 
257319
 
-
 
257320
    private boolean success; // required
-
 
257321
 
-
 
257322
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
257323
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
257324
      SUCCESS((short)0, "success");
-
 
257325
 
-
 
257326
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
257327
 
-
 
257328
      static {
-
 
257329
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
257330
          byName.put(field.getFieldName(), field);
-
 
257331
        }
-
 
257332
      }
-
 
257333
 
-
 
257334
      /**
-
 
257335
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
257336
       */
-
 
257337
      public static _Fields findByThriftId(int fieldId) {
-
 
257338
        switch(fieldId) {
-
 
257339
          case 0: // SUCCESS
-
 
257340
            return SUCCESS;
-
 
257341
          default:
-
 
257342
            return null;
-
 
257343
        }
-
 
257344
      }
-
 
257345
 
-
 
257346
      /**
-
 
257347
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
257348
       * if it is not found.
-
 
257349
       */
-
 
257350
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
257351
        _Fields fields = findByThriftId(fieldId);
-
 
257352
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
257353
        return fields;
-
 
257354
      }
-
 
257355
 
-
 
257356
      /**
-
 
257357
       * Find the _Fields constant that matches name, or null if its not found.
-
 
257358
       */
-
 
257359
      public static _Fields findByName(String name) {
-
 
257360
        return byName.get(name);
-
 
257361
      }
-
 
257362
 
-
 
257363
      private final short _thriftId;
-
 
257364
      private final String _fieldName;
-
 
257365
 
-
 
257366
      _Fields(short thriftId, String fieldName) {
-
 
257367
        _thriftId = thriftId;
-
 
257368
        _fieldName = fieldName;
-
 
257369
      }
-
 
257370
 
-
 
257371
      public short getThriftFieldId() {
-
 
257372
        return _thriftId;
-
 
257373
      }
-
 
257374
 
-
 
257375
      public String getFieldName() {
-
 
257376
        return _fieldName;
-
 
257377
      }
-
 
257378
    }
-
 
257379
 
-
 
257380
    // isset id assignments
-
 
257381
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
257382
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
257383
 
-
 
257384
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
257385
    static {
-
 
257386
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
257387
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
257388
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
257389
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
257390
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrderForRegisteredGstInvoice_result.class, metaDataMap);
-
 
257391
    }
-
 
257392
 
-
 
257393
    public markOrderForRegisteredGstInvoice_result() {
-
 
257394
    }
-
 
257395
 
-
 
257396
    public markOrderForRegisteredGstInvoice_result(
-
 
257397
      boolean success)
-
 
257398
    {
-
 
257399
      this();
-
 
257400
      this.success = success;
-
 
257401
      setSuccessIsSet(true);
-
 
257402
    }
-
 
257403
 
-
 
257404
    /**
-
 
257405
     * Performs a deep copy on <i>other</i>.
-
 
257406
     */
-
 
257407
    public markOrderForRegisteredGstInvoice_result(markOrderForRegisteredGstInvoice_result other) {
-
 
257408
      __isset_bit_vector.clear();
-
 
257409
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
257410
      this.success = other.success;
-
 
257411
    }
-
 
257412
 
-
 
257413
    public markOrderForRegisteredGstInvoice_result deepCopy() {
-
 
257414
      return new markOrderForRegisteredGstInvoice_result(this);
-
 
257415
    }
-
 
257416
 
-
 
257417
    @Override
-
 
257418
    public void clear() {
-
 
257419
      setSuccessIsSet(false);
-
 
257420
      this.success = false;
-
 
257421
    }
-
 
257422
 
-
 
257423
    public boolean isSuccess() {
-
 
257424
      return this.success;
-
 
257425
    }
-
 
257426
 
-
 
257427
    public void setSuccess(boolean success) {
-
 
257428
      this.success = success;
-
 
257429
      setSuccessIsSet(true);
-
 
257430
    }
-
 
257431
 
-
 
257432
    public void unsetSuccess() {
-
 
257433
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
257434
    }
-
 
257435
 
-
 
257436
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
257437
    public boolean isSetSuccess() {
-
 
257438
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
257439
    }
-
 
257440
 
-
 
257441
    public void setSuccessIsSet(boolean value) {
-
 
257442
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
257443
    }
-
 
257444
 
-
 
257445
    public void setFieldValue(_Fields field, Object value) {
-
 
257446
      switch (field) {
-
 
257447
      case SUCCESS:
-
 
257448
        if (value == null) {
-
 
257449
          unsetSuccess();
-
 
257450
        } else {
-
 
257451
          setSuccess((Boolean)value);
-
 
257452
        }
-
 
257453
        break;
-
 
257454
 
-
 
257455
      }
-
 
257456
    }
-
 
257457
 
-
 
257458
    public Object getFieldValue(_Fields field) {
-
 
257459
      switch (field) {
-
 
257460
      case SUCCESS:
-
 
257461
        return Boolean.valueOf(isSuccess());
-
 
257462
 
-
 
257463
      }
-
 
257464
      throw new IllegalStateException();
-
 
257465
    }
-
 
257466
 
-
 
257467
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
257468
    public boolean isSet(_Fields field) {
-
 
257469
      if (field == null) {
-
 
257470
        throw new IllegalArgumentException();
-
 
257471
      }
-
 
257472
 
-
 
257473
      switch (field) {
-
 
257474
      case SUCCESS:
-
 
257475
        return isSetSuccess();
-
 
257476
      }
-
 
257477
      throw new IllegalStateException();
-
 
257478
    }
-
 
257479
 
-
 
257480
    @Override
-
 
257481
    public boolean equals(Object that) {
-
 
257482
      if (that == null)
-
 
257483
        return false;
-
 
257484
      if (that instanceof markOrderForRegisteredGstInvoice_result)
-
 
257485
        return this.equals((markOrderForRegisteredGstInvoice_result)that);
-
 
257486
      return false;
-
 
257487
    }
-
 
257488
 
-
 
257489
    public boolean equals(markOrderForRegisteredGstInvoice_result that) {
-
 
257490
      if (that == null)
-
 
257491
        return false;
-
 
257492
 
-
 
257493
      boolean this_present_success = true;
-
 
257494
      boolean that_present_success = true;
-
 
257495
      if (this_present_success || that_present_success) {
-
 
257496
        if (!(this_present_success && that_present_success))
-
 
257497
          return false;
-
 
257498
        if (this.success != that.success)
-
 
257499
          return false;
-
 
257500
      }
-
 
257501
 
-
 
257502
      return true;
-
 
257503
    }
-
 
257504
 
-
 
257505
    @Override
-
 
257506
    public int hashCode() {
-
 
257507
      return 0;
-
 
257508
    }
-
 
257509
 
-
 
257510
    public int compareTo(markOrderForRegisteredGstInvoice_result other) {
-
 
257511
      if (!getClass().equals(other.getClass())) {
-
 
257512
        return getClass().getName().compareTo(other.getClass().getName());
-
 
257513
      }
-
 
257514
 
-
 
257515
      int lastComparison = 0;
-
 
257516
      markOrderForRegisteredGstInvoice_result typedOther = (markOrderForRegisteredGstInvoice_result)other;
-
 
257517
 
-
 
257518
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
257519
      if (lastComparison != 0) {
-
 
257520
        return lastComparison;
-
 
257521
      }
-
 
257522
      if (isSetSuccess()) {
-
 
257523
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
257524
        if (lastComparison != 0) {
-
 
257525
          return lastComparison;
-
 
257526
        }
-
 
257527
      }
-
 
257528
      return 0;
-
 
257529
    }
-
 
257530
 
-
 
257531
    public _Fields fieldForId(int fieldId) {
-
 
257532
      return _Fields.findByThriftId(fieldId);
-
 
257533
    }
-
 
257534
 
-
 
257535
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
257536
      org.apache.thrift.protocol.TField field;
-
 
257537
      iprot.readStructBegin();
-
 
257538
      while (true)
-
 
257539
      {
-
 
257540
        field = iprot.readFieldBegin();
-
 
257541
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
257542
          break;
-
 
257543
        }
-
 
257544
        switch (field.id) {
-
 
257545
          case 0: // SUCCESS
-
 
257546
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
257547
              this.success = iprot.readBool();
-
 
257548
              setSuccessIsSet(true);
-
 
257549
            } else { 
-
 
257550
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
257551
            }
-
 
257552
            break;
-
 
257553
          default:
-
 
257554
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
257555
        }
-
 
257556
        iprot.readFieldEnd();
-
 
257557
      }
-
 
257558
      iprot.readStructEnd();
-
 
257559
      validate();
-
 
257560
    }
-
 
257561
 
-
 
257562
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
257563
      oprot.writeStructBegin(STRUCT_DESC);
-
 
257564
 
-
 
257565
      if (this.isSetSuccess()) {
-
 
257566
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
257567
        oprot.writeBool(this.success);
-
 
257568
        oprot.writeFieldEnd();
-
 
257569
      }
-
 
257570
      oprot.writeFieldStop();
-
 
257571
      oprot.writeStructEnd();
-
 
257572
    }
-
 
257573
 
-
 
257574
    @Override
-
 
257575
    public String toString() {
-
 
257576
      StringBuilder sb = new StringBuilder("markOrderForRegisteredGstInvoice_result(");
-
 
257577
      boolean first = true;
-
 
257578
 
-
 
257579
      sb.append("success:");
-
 
257580
      sb.append(this.success);
-
 
257581
      first = false;
-
 
257582
      sb.append(")");
-
 
257583
      return sb.toString();
-
 
257584
    }
-
 
257585
 
256885
    public void validate() throws org.apache.thrift.TException {
257586
    public void validate() throws org.apache.thrift.TException {
256886
      // check for required fields
257587
      // check for required fields
256887
    }
257588
    }
256888
 
257589
 
256889
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
257590
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {