Subversion Repositories SmartDukaan

Rev

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

Rev 3546 Rev 3578
Line 50... Line 50...
50
 
50
 
51
    public void updateLastEmailProcessedTimestamp(long timestamp) throws org.apache.thrift.TException;
51
    public void updateLastEmailProcessedTimestamp(long timestamp) throws org.apache.thrift.TException;
52
 
52
 
53
    public void processCODTxn(long transactionId) throws org.apache.thrift.TException;
53
    public void processCODTxn(long transactionId) throws org.apache.thrift.TException;
54
 
54
 
-
 
55
    public void processPaymentFailure(long paymentId) throws org.apache.thrift.TException;
-
 
56
 
55
  }
57
  }
56
 
58
 
57
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
59
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
58
 
60
 
59
    public void getTickets(SearchFilter searchFilter, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTickets_call> resultHandler) throws org.apache.thrift.TException;
61
    public void getTickets(SearchFilter searchFilter, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTickets_call> resultHandler) throws org.apache.thrift.TException;
Line 82... Line 84...
82
 
84
 
83
    public void updateLastEmailProcessedTimestamp(long timestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateLastEmailProcessedTimestamp_call> resultHandler) throws org.apache.thrift.TException;
85
    public void updateLastEmailProcessedTimestamp(long timestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateLastEmailProcessedTimestamp_call> resultHandler) throws org.apache.thrift.TException;
84
 
86
 
85
    public void processCODTxn(long transactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.processCODTxn_call> resultHandler) throws org.apache.thrift.TException;
87
    public void processCODTxn(long transactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.processCODTxn_call> resultHandler) throws org.apache.thrift.TException;
86
 
88
 
-
 
89
    public void processPaymentFailure(long paymentId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.processPaymentFailure_call> resultHandler) throws org.apache.thrift.TException;
-
 
90
 
87
  }
91
  }
88
 
92
 
89
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
93
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
90
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
94
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
91
      public Factory() {}
95
      public Factory() {}
Line 405... Line 409...
405
      processCODTxn_args args = new processCODTxn_args();
409
      processCODTxn_args args = new processCODTxn_args();
406
      args.setTransactionId(transactionId);
410
      args.setTransactionId(transactionId);
407
      sendBase("processCODTxn", args);
411
      sendBase("processCODTxn", args);
408
    }
412
    }
409
 
413
 
-
 
414
    public void processPaymentFailure(long paymentId) throws org.apache.thrift.TException
-
 
415
    {
-
 
416
      send_processPaymentFailure(paymentId);
-
 
417
    }
-
 
418
 
-
 
419
    public void send_processPaymentFailure(long paymentId) throws org.apache.thrift.TException
-
 
420
    {
-
 
421
      processPaymentFailure_args args = new processPaymentFailure_args();
-
 
422
      args.setPaymentId(paymentId);
-
 
423
      sendBase("processPaymentFailure", args);
-
 
424
    }
-
 
425
 
410
  }
426
  }
411
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
427
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
412
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
428
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
413
      private org.apache.thrift.async.TAsyncClientManager clientManager;
429
      private org.apache.thrift.async.TAsyncClientManager clientManager;
414
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
430
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 876... Line 892...
876
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
892
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
877
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
893
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
878
      }
894
      }
879
    }
895
    }
880
 
896
 
-
 
897
    public void processPaymentFailure(long paymentId, org.apache.thrift.async.AsyncMethodCallback<processPaymentFailure_call> resultHandler) throws org.apache.thrift.TException {
-
 
898
      checkReady();
-
 
899
      processPaymentFailure_call method_call = new processPaymentFailure_call(paymentId, resultHandler, this, ___protocolFactory, ___transport);
-
 
900
      this.___currentMethod = method_call;
-
 
901
      ___manager.call(method_call);
-
 
902
    }
-
 
903
 
-
 
904
    public static class processPaymentFailure_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
905
      private long paymentId;
-
 
906
      public processPaymentFailure_call(long paymentId, org.apache.thrift.async.AsyncMethodCallback<processPaymentFailure_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 {
-
 
907
        super(client, protocolFactory, transport, resultHandler, true);
-
 
908
        this.paymentId = paymentId;
-
 
909
      }
-
 
910
 
-
 
911
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
912
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("processPaymentFailure", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
913
        processPaymentFailure_args args = new processPaymentFailure_args();
-
 
914
        args.setPaymentId(paymentId);
-
 
915
        args.write(prot);
-
 
916
        prot.writeMessageEnd();
-
 
917
      }
-
 
918
 
-
 
919
      public void getResult() throws org.apache.thrift.TException {
-
 
920
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
921
          throw new IllegalStateException("Method call not finished!");
-
 
922
        }
-
 
923
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
924
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
925
      }
-
 
926
    }
-
 
927
 
881
  }
928
  }
882
 
929
 
883
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
930
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
884
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
931
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
885
    public Processor(I iface) {
932
    public Processor(I iface) {
Line 903... Line 950...
903
      processMap.put("getRoleNamesForAgent", new getRoleNamesForAgent());
950
      processMap.put("getRoleNamesForAgent", new getRoleNamesForAgent());
904
      processMap.put("getPermissionsForRoleName", new getPermissionsForRoleName());
951
      processMap.put("getPermissionsForRoleName", new getPermissionsForRoleName());
905
      processMap.put("getLastEmailProcessedTimestamp", new getLastEmailProcessedTimestamp());
952
      processMap.put("getLastEmailProcessedTimestamp", new getLastEmailProcessedTimestamp());
906
      processMap.put("updateLastEmailProcessedTimestamp", new updateLastEmailProcessedTimestamp());
953
      processMap.put("updateLastEmailProcessedTimestamp", new updateLastEmailProcessedTimestamp());
907
      processMap.put("processCODTxn", new processCODTxn());
954
      processMap.put("processCODTxn", new processCODTxn());
-
 
955
      processMap.put("processPaymentFailure", new processPaymentFailure());
908
      return processMap;
956
      return processMap;
909
    }
957
    }
910
 
958
 
911
    private static class getTickets<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getTickets_args> {
959
    private static class getTickets<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getTickets_args> {
912
      public getTickets() {
960
      public getTickets() {
Line 1132... Line 1180...
1132
        iface.processCODTxn(args.transactionId);
1180
        iface.processCODTxn(args.transactionId);
1133
        return null;
1181
        return null;
1134
      }
1182
      }
1135
    }
1183
    }
1136
 
1184
 
-
 
1185
    private static class processPaymentFailure<I extends Iface> extends org.apache.thrift.ProcessFunction<I, processPaymentFailure_args> {
-
 
1186
      public processPaymentFailure() {
-
 
1187
        super("processPaymentFailure");
-
 
1188
      }
-
 
1189
 
-
 
1190
      protected processPaymentFailure_args getEmptyArgsInstance() {
-
 
1191
        return new processPaymentFailure_args();
-
 
1192
      }
-
 
1193
 
-
 
1194
      protected org.apache.thrift.TBase getResult(I iface, processPaymentFailure_args args) throws org.apache.thrift.TException {
-
 
1195
        iface.processPaymentFailure(args.paymentId);
-
 
1196
        return null;
-
 
1197
      }
-
 
1198
    }
-
 
1199
 
1137
  }
1200
  }
1138
 
1201
 
1139
  public static class getTickets_args implements org.apache.thrift.TBase<getTickets_args, getTickets_args._Fields>, java.io.Serializable, Cloneable   {
1202
  public static class getTickets_args implements org.apache.thrift.TBase<getTickets_args, getTickets_args._Fields>, java.io.Serializable, Cloneable   {
1140
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTickets_args");
1203
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTickets_args");
1141
 
1204
 
Line 9052... Line 9115...
9052
      first = false;
9115
      first = false;
9053
      sb.append(")");
9116
      sb.append(")");
9054
      return sb.toString();
9117
      return sb.toString();
9055
    }
9118
    }
9056
 
9119
 
-
 
9120
    public void validate() throws org.apache.thrift.TException {
-
 
9121
      // check for required fields
-
 
9122
    }
-
 
9123
 
-
 
9124
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
9125
      try {
-
 
9126
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
9127
      } catch (org.apache.thrift.TException te) {
-
 
9128
        throw new java.io.IOException(te);
-
 
9129
      }
-
 
9130
    }
-
 
9131
 
-
 
9132
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
9133
      try {
-
 
9134
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
9135
        __isset_bit_vector = new BitSet(1);
-
 
9136
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
9137
      } catch (org.apache.thrift.TException te) {
-
 
9138
        throw new java.io.IOException(te);
-
 
9139
      }
-
 
9140
    }
-
 
9141
 
-
 
9142
  }
-
 
9143
 
-
 
9144
  public static class processPaymentFailure_args implements org.apache.thrift.TBase<processPaymentFailure_args, processPaymentFailure_args._Fields>, java.io.Serializable, Cloneable   {
-
 
9145
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("processPaymentFailure_args");
-
 
9146
 
-
 
9147
    private static final org.apache.thrift.protocol.TField PAYMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("paymentId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
9148
 
-
 
9149
    private long paymentId; // required
-
 
9150
 
-
 
9151
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
9152
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
9153
      PAYMENT_ID((short)1, "paymentId");
-
 
9154
 
-
 
9155
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
9156
 
-
 
9157
      static {
-
 
9158
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
9159
          byName.put(field.getFieldName(), field);
-
 
9160
        }
-
 
9161
      }
-
 
9162
 
-
 
9163
      /**
-
 
9164
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
9165
       */
-
 
9166
      public static _Fields findByThriftId(int fieldId) {
-
 
9167
        switch(fieldId) {
-
 
9168
          case 1: // PAYMENT_ID
-
 
9169
            return PAYMENT_ID;
-
 
9170
          default:
-
 
9171
            return null;
-
 
9172
        }
-
 
9173
      }
-
 
9174
 
-
 
9175
      /**
-
 
9176
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
9177
       * if it is not found.
-
 
9178
       */
-
 
9179
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
9180
        _Fields fields = findByThriftId(fieldId);
-
 
9181
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
9182
        return fields;
-
 
9183
      }
-
 
9184
 
-
 
9185
      /**
-
 
9186
       * Find the _Fields constant that matches name, or null if its not found.
-
 
9187
       */
-
 
9188
      public static _Fields findByName(String name) {
-
 
9189
        return byName.get(name);
-
 
9190
      }
-
 
9191
 
-
 
9192
      private final short _thriftId;
-
 
9193
      private final String _fieldName;
-
 
9194
 
-
 
9195
      _Fields(short thriftId, String fieldName) {
-
 
9196
        _thriftId = thriftId;
-
 
9197
        _fieldName = fieldName;
-
 
9198
      }
-
 
9199
 
-
 
9200
      public short getThriftFieldId() {
-
 
9201
        return _thriftId;
-
 
9202
      }
-
 
9203
 
-
 
9204
      public String getFieldName() {
-
 
9205
        return _fieldName;
-
 
9206
      }
-
 
9207
    }
-
 
9208
 
-
 
9209
    // isset id assignments
-
 
9210
    private static final int __PAYMENTID_ISSET_ID = 0;
-
 
9211
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
9212
 
-
 
9213
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
9214
    static {
-
 
9215
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
9216
      tmpMap.put(_Fields.PAYMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("paymentId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
9217
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
9218
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
9219
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(processPaymentFailure_args.class, metaDataMap);
-
 
9220
    }
-
 
9221
 
-
 
9222
    public processPaymentFailure_args() {
-
 
9223
    }
-
 
9224
 
-
 
9225
    public processPaymentFailure_args(
-
 
9226
      long paymentId)
-
 
9227
    {
-
 
9228
      this();
-
 
9229
      this.paymentId = paymentId;
-
 
9230
      setPaymentIdIsSet(true);
-
 
9231
    }
-
 
9232
 
-
 
9233
    /**
-
 
9234
     * Performs a deep copy on <i>other</i>.
-
 
9235
     */
-
 
9236
    public processPaymentFailure_args(processPaymentFailure_args other) {
-
 
9237
      __isset_bit_vector.clear();
-
 
9238
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
9239
      this.paymentId = other.paymentId;
-
 
9240
    }
-
 
9241
 
-
 
9242
    public processPaymentFailure_args deepCopy() {
-
 
9243
      return new processPaymentFailure_args(this);
-
 
9244
    }
-
 
9245
 
-
 
9246
    @Override
-
 
9247
    public void clear() {
-
 
9248
      setPaymentIdIsSet(false);
-
 
9249
      this.paymentId = 0;
-
 
9250
    }
-
 
9251
 
-
 
9252
    public long getPaymentId() {
-
 
9253
      return this.paymentId;
-
 
9254
    }
-
 
9255
 
-
 
9256
    public void setPaymentId(long paymentId) {
-
 
9257
      this.paymentId = paymentId;
-
 
9258
      setPaymentIdIsSet(true);
-
 
9259
    }
-
 
9260
 
-
 
9261
    public void unsetPaymentId() {
-
 
9262
      __isset_bit_vector.clear(__PAYMENTID_ISSET_ID);
-
 
9263
    }
-
 
9264
 
-
 
9265
    /** Returns true if field paymentId is set (has been assigned a value) and false otherwise */
-
 
9266
    public boolean isSetPaymentId() {
-
 
9267
      return __isset_bit_vector.get(__PAYMENTID_ISSET_ID);
-
 
9268
    }
-
 
9269
 
-
 
9270
    public void setPaymentIdIsSet(boolean value) {
-
 
9271
      __isset_bit_vector.set(__PAYMENTID_ISSET_ID, value);
-
 
9272
    }
-
 
9273
 
-
 
9274
    public void setFieldValue(_Fields field, Object value) {
-
 
9275
      switch (field) {
-
 
9276
      case PAYMENT_ID:
-
 
9277
        if (value == null) {
-
 
9278
          unsetPaymentId();
-
 
9279
        } else {
-
 
9280
          setPaymentId((Long)value);
-
 
9281
        }
-
 
9282
        break;
-
 
9283
 
-
 
9284
      }
-
 
9285
    }
-
 
9286
 
-
 
9287
    public Object getFieldValue(_Fields field) {
-
 
9288
      switch (field) {
-
 
9289
      case PAYMENT_ID:
-
 
9290
        return Long.valueOf(getPaymentId());
-
 
9291
 
-
 
9292
      }
-
 
9293
      throw new IllegalStateException();
-
 
9294
    }
-
 
9295
 
-
 
9296
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
9297
    public boolean isSet(_Fields field) {
-
 
9298
      if (field == null) {
-
 
9299
        throw new IllegalArgumentException();
-
 
9300
      }
-
 
9301
 
-
 
9302
      switch (field) {
-
 
9303
      case PAYMENT_ID:
-
 
9304
        return isSetPaymentId();
-
 
9305
      }
-
 
9306
      throw new IllegalStateException();
-
 
9307
    }
-
 
9308
 
-
 
9309
    @Override
-
 
9310
    public boolean equals(Object that) {
-
 
9311
      if (that == null)
-
 
9312
        return false;
-
 
9313
      if (that instanceof processPaymentFailure_args)
-
 
9314
        return this.equals((processPaymentFailure_args)that);
-
 
9315
      return false;
-
 
9316
    }
-
 
9317
 
-
 
9318
    public boolean equals(processPaymentFailure_args that) {
-
 
9319
      if (that == null)
-
 
9320
        return false;
-
 
9321
 
-
 
9322
      boolean this_present_paymentId = true;
-
 
9323
      boolean that_present_paymentId = true;
-
 
9324
      if (this_present_paymentId || that_present_paymentId) {
-
 
9325
        if (!(this_present_paymentId && that_present_paymentId))
-
 
9326
          return false;
-
 
9327
        if (this.paymentId != that.paymentId)
-
 
9328
          return false;
-
 
9329
      }
-
 
9330
 
-
 
9331
      return true;
-
 
9332
    }
-
 
9333
 
-
 
9334
    @Override
-
 
9335
    public int hashCode() {
-
 
9336
      return 0;
-
 
9337
    }
-
 
9338
 
-
 
9339
    public int compareTo(processPaymentFailure_args other) {
-
 
9340
      if (!getClass().equals(other.getClass())) {
-
 
9341
        return getClass().getName().compareTo(other.getClass().getName());
-
 
9342
      }
-
 
9343
 
-
 
9344
      int lastComparison = 0;
-
 
9345
      processPaymentFailure_args typedOther = (processPaymentFailure_args)other;
-
 
9346
 
-
 
9347
      lastComparison = Boolean.valueOf(isSetPaymentId()).compareTo(typedOther.isSetPaymentId());
-
 
9348
      if (lastComparison != 0) {
-
 
9349
        return lastComparison;
-
 
9350
      }
-
 
9351
      if (isSetPaymentId()) {
-
 
9352
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.paymentId, typedOther.paymentId);
-
 
9353
        if (lastComparison != 0) {
-
 
9354
          return lastComparison;
-
 
9355
        }
-
 
9356
      }
-
 
9357
      return 0;
-
 
9358
    }
-
 
9359
 
-
 
9360
    public _Fields fieldForId(int fieldId) {
-
 
9361
      return _Fields.findByThriftId(fieldId);
-
 
9362
    }
-
 
9363
 
-
 
9364
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
9365
      org.apache.thrift.protocol.TField field;
-
 
9366
      iprot.readStructBegin();
-
 
9367
      while (true)
-
 
9368
      {
-
 
9369
        field = iprot.readFieldBegin();
-
 
9370
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
9371
          break;
-
 
9372
        }
-
 
9373
        switch (field.id) {
-
 
9374
          case 1: // PAYMENT_ID
-
 
9375
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
9376
              this.paymentId = iprot.readI64();
-
 
9377
              setPaymentIdIsSet(true);
-
 
9378
            } else { 
-
 
9379
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
9380
            }
-
 
9381
            break;
-
 
9382
          default:
-
 
9383
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
9384
        }
-
 
9385
        iprot.readFieldEnd();
-
 
9386
      }
-
 
9387
      iprot.readStructEnd();
-
 
9388
      validate();
-
 
9389
    }
-
 
9390
 
-
 
9391
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
9392
      validate();
-
 
9393
 
-
 
9394
      oprot.writeStructBegin(STRUCT_DESC);
-
 
9395
      oprot.writeFieldBegin(PAYMENT_ID_FIELD_DESC);
-
 
9396
      oprot.writeI64(this.paymentId);
-
 
9397
      oprot.writeFieldEnd();
-
 
9398
      oprot.writeFieldStop();
-
 
9399
      oprot.writeStructEnd();
-
 
9400
    }
-
 
9401
 
-
 
9402
    @Override
-
 
9403
    public String toString() {
-
 
9404
      StringBuilder sb = new StringBuilder("processPaymentFailure_args(");
-
 
9405
      boolean first = true;
-
 
9406
 
-
 
9407
      sb.append("paymentId:");
-
 
9408
      sb.append(this.paymentId);
-
 
9409
      first = false;
-
 
9410
      sb.append(")");
-
 
9411
      return sb.toString();
-
 
9412
    }
-
 
9413
 
9057
    public void validate() throws org.apache.thrift.TException {
9414
    public void validate() throws org.apache.thrift.TException {
9058
      // check for required fields
9415
      // check for required fields
9059
    }
9416
    }
9060
 
9417
 
9061
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
9418
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {