Subversion Repositories SmartDukaan

Rev

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

Rev 3956 Rev 4008
Line 158... Line 158...
158
     * @param xferTxnId
158
     * @param xferTxnId
159
     * @param xferDate
159
     * @param xferDate
160
     */
160
     */
161
    public boolean partiallyCapturePayment(long merchantTxnId, double amount, String xferBy, String xferTxnId, long xferDate) throws PaymentException, org.apache.thrift.TException;
161
    public boolean partiallyCapturePayment(long merchantTxnId, double amount, String xferBy, String xferTxnId, long xferDate) throws PaymentException, org.apache.thrift.TException;
162
 
162
 
-
 
163
    /**
-
 
164
     * Returns the list of payments that require some extra processing and
-
 
165
     * which belong to a particular category. This is currently used by CRM
-
 
166
     * application.
-
 
167
     * 
-
 
168
     * @param category
-
 
169
     */
-
 
170
    public List<Long> getPaymentsRequiringExtraProcessing(ExtraPaymentProcessingType category) throws org.apache.thrift.TException;
-
 
171
 
-
 
172
    /**
-
 
173
     * Marks a particular payment as processed for a particular cateogory.
-
 
174
     * It essentially deletes the payment if it is processed for a particular
-
 
175
     * category. This is currently used by CRM application.
-
 
176
     * 
-
 
177
     * @param paymentId
-
 
178
     * @param category
-
 
179
     */
-
 
180
    public void markPaymentAsProcessed(long paymentId, ExtraPaymentProcessingType category) throws org.apache.thrift.TException;
-
 
181
 
163
  }
182
  }
164
 
183
 
165
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
184
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
166
 
185
 
167
    public void createPayment(long userId, double amount, long gatewayId, long txnId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createPayment_call> resultHandler) throws org.apache.thrift.TException;
186
    public void createPayment(long userId, double amount, long gatewayId, long txnId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createPayment_call> resultHandler) throws org.apache.thrift.TException;
Line 188... Line 207...
188
 
207
 
189
    public void capturePayment(long merchantTxnId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.capturePayment_call> resultHandler) throws org.apache.thrift.TException;
208
    public void capturePayment(long merchantTxnId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.capturePayment_call> resultHandler) throws org.apache.thrift.TException;
190
 
209
 
191
    public void partiallyCapturePayment(long merchantTxnId, double amount, String xferBy, String xferTxnId, long xferDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.partiallyCapturePayment_call> resultHandler) throws org.apache.thrift.TException;
210
    public void partiallyCapturePayment(long merchantTxnId, double amount, String xferBy, String xferTxnId, long xferDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.partiallyCapturePayment_call> resultHandler) throws org.apache.thrift.TException;
192
 
211
 
-
 
212
    public void getPaymentsRequiringExtraProcessing(ExtraPaymentProcessingType category, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPaymentsRequiringExtraProcessing_call> resultHandler) throws org.apache.thrift.TException;
-
 
213
 
-
 
214
    public void markPaymentAsProcessed(long paymentId, ExtraPaymentProcessingType category, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markPaymentAsProcessed_call> resultHandler) throws org.apache.thrift.TException;
-
 
215
 
193
  }
216
  }
194
 
217
 
195
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
218
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
196
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
219
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
197
      public Factory() {}
220
      public Factory() {}
Line 571... Line 594...
571
        throw result.pe;
594
        throw result.pe;
572
      }
595
      }
573
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "partiallyCapturePayment failed: unknown result");
596
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "partiallyCapturePayment failed: unknown result");
574
    }
597
    }
575
 
598
 
-
 
599
    public List<Long> getPaymentsRequiringExtraProcessing(ExtraPaymentProcessingType category) throws org.apache.thrift.TException
-
 
600
    {
-
 
601
      send_getPaymentsRequiringExtraProcessing(category);
-
 
602
      return recv_getPaymentsRequiringExtraProcessing();
-
 
603
    }
-
 
604
 
-
 
605
    public void send_getPaymentsRequiringExtraProcessing(ExtraPaymentProcessingType category) throws org.apache.thrift.TException
-
 
606
    {
-
 
607
      getPaymentsRequiringExtraProcessing_args args = new getPaymentsRequiringExtraProcessing_args();
-
 
608
      args.setCategory(category);
-
 
609
      sendBase("getPaymentsRequiringExtraProcessing", args);
-
 
610
    }
-
 
611
 
-
 
612
    public List<Long> recv_getPaymentsRequiringExtraProcessing() throws org.apache.thrift.TException
-
 
613
    {
-
 
614
      getPaymentsRequiringExtraProcessing_result result = new getPaymentsRequiringExtraProcessing_result();
-
 
615
      receiveBase(result, "getPaymentsRequiringExtraProcessing");
-
 
616
      if (result.isSetSuccess()) {
-
 
617
        return result.success;
-
 
618
      }
-
 
619
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPaymentsRequiringExtraProcessing failed: unknown result");
-
 
620
    }
-
 
621
 
-
 
622
    public void markPaymentAsProcessed(long paymentId, ExtraPaymentProcessingType category) throws org.apache.thrift.TException
-
 
623
    {
-
 
624
      send_markPaymentAsProcessed(paymentId, category);
-
 
625
      recv_markPaymentAsProcessed();
-
 
626
    }
-
 
627
 
-
 
628
    public void send_markPaymentAsProcessed(long paymentId, ExtraPaymentProcessingType category) throws org.apache.thrift.TException
-
 
629
    {
-
 
630
      markPaymentAsProcessed_args args = new markPaymentAsProcessed_args();
-
 
631
      args.setPaymentId(paymentId);
-
 
632
      args.setCategory(category);
-
 
633
      sendBase("markPaymentAsProcessed", args);
-
 
634
    }
-
 
635
 
-
 
636
    public void recv_markPaymentAsProcessed() throws org.apache.thrift.TException
-
 
637
    {
-
 
638
      markPaymentAsProcessed_result result = new markPaymentAsProcessed_result();
-
 
639
      receiveBase(result, "markPaymentAsProcessed");
-
 
640
      return;
-
 
641
    }
-
 
642
 
576
  }
643
  }
577
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
644
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
578
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
645
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
579
      private org.apache.thrift.async.TAsyncClientManager clientManager;
646
      private org.apache.thrift.async.TAsyncClientManager clientManager;
580
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
647
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 1083... Line 1150...
1083
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1150
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1084
        return (new Client(prot)).recv_partiallyCapturePayment();
1151
        return (new Client(prot)).recv_partiallyCapturePayment();
1085
      }
1152
      }
1086
    }
1153
    }
1087
 
1154
 
-
 
1155
    public void getPaymentsRequiringExtraProcessing(ExtraPaymentProcessingType category, org.apache.thrift.async.AsyncMethodCallback<getPaymentsRequiringExtraProcessing_call> resultHandler) throws org.apache.thrift.TException {
-
 
1156
      checkReady();
-
 
1157
      getPaymentsRequiringExtraProcessing_call method_call = new getPaymentsRequiringExtraProcessing_call(category, resultHandler, this, ___protocolFactory, ___transport);
-
 
1158
      this.___currentMethod = method_call;
-
 
1159
      ___manager.call(method_call);
-
 
1160
    }
-
 
1161
 
-
 
1162
    public static class getPaymentsRequiringExtraProcessing_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
1163
      private ExtraPaymentProcessingType category;
-
 
1164
      public getPaymentsRequiringExtraProcessing_call(ExtraPaymentProcessingType category, org.apache.thrift.async.AsyncMethodCallback<getPaymentsRequiringExtraProcessing_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 {
-
 
1165
        super(client, protocolFactory, transport, resultHandler, false);
-
 
1166
        this.category = category;
-
 
1167
      }
-
 
1168
 
-
 
1169
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
1170
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getPaymentsRequiringExtraProcessing", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
1171
        getPaymentsRequiringExtraProcessing_args args = new getPaymentsRequiringExtraProcessing_args();
-
 
1172
        args.setCategory(category);
-
 
1173
        args.write(prot);
-
 
1174
        prot.writeMessageEnd();
-
 
1175
      }
-
 
1176
 
-
 
1177
      public List<Long> getResult() throws org.apache.thrift.TException {
-
 
1178
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
1179
          throw new IllegalStateException("Method call not finished!");
-
 
1180
        }
-
 
1181
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
1182
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
1183
        return (new Client(prot)).recv_getPaymentsRequiringExtraProcessing();
-
 
1184
      }
-
 
1185
    }
-
 
1186
 
-
 
1187
    public void markPaymentAsProcessed(long paymentId, ExtraPaymentProcessingType category, org.apache.thrift.async.AsyncMethodCallback<markPaymentAsProcessed_call> resultHandler) throws org.apache.thrift.TException {
-
 
1188
      checkReady();
-
 
1189
      markPaymentAsProcessed_call method_call = new markPaymentAsProcessed_call(paymentId, category, resultHandler, this, ___protocolFactory, ___transport);
-
 
1190
      this.___currentMethod = method_call;
-
 
1191
      ___manager.call(method_call);
-
 
1192
    }
-
 
1193
 
-
 
1194
    public static class markPaymentAsProcessed_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
1195
      private long paymentId;
-
 
1196
      private ExtraPaymentProcessingType category;
-
 
1197
      public markPaymentAsProcessed_call(long paymentId, ExtraPaymentProcessingType category, org.apache.thrift.async.AsyncMethodCallback<markPaymentAsProcessed_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 {
-
 
1198
        super(client, protocolFactory, transport, resultHandler, false);
-
 
1199
        this.paymentId = paymentId;
-
 
1200
        this.category = category;
-
 
1201
      }
-
 
1202
 
-
 
1203
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
1204
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markPaymentAsProcessed", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
1205
        markPaymentAsProcessed_args args = new markPaymentAsProcessed_args();
-
 
1206
        args.setPaymentId(paymentId);
-
 
1207
        args.setCategory(category);
-
 
1208
        args.write(prot);
-
 
1209
        prot.writeMessageEnd();
-
 
1210
      }
-
 
1211
 
-
 
1212
      public void getResult() throws org.apache.thrift.TException {
-
 
1213
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
1214
          throw new IllegalStateException("Method call not finished!");
-
 
1215
        }
-
 
1216
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
1217
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
1218
        (new Client(prot)).recv_markPaymentAsProcessed();
-
 
1219
      }
-
 
1220
    }
-
 
1221
 
1088
  }
1222
  }
1089
 
1223
 
1090
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
1224
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
1091
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
1225
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
1092
    public Processor(I iface) {
1226
    public Processor(I iface) {
Line 1109... Line 1243...
1109
      processMap.put("initializeHdfcPayment", new initializeHdfcPayment());
1243
      processMap.put("initializeHdfcPayment", new initializeHdfcPayment());
1110
      processMap.put("initializeHdfcEmiPayment", new initializeHdfcEmiPayment());
1244
      processMap.put("initializeHdfcEmiPayment", new initializeHdfcEmiPayment());
1111
      processMap.put("createRefund", new createRefund());
1245
      processMap.put("createRefund", new createRefund());
1112
      processMap.put("capturePayment", new capturePayment());
1246
      processMap.put("capturePayment", new capturePayment());
1113
      processMap.put("partiallyCapturePayment", new partiallyCapturePayment());
1247
      processMap.put("partiallyCapturePayment", new partiallyCapturePayment());
-
 
1248
      processMap.put("getPaymentsRequiringExtraProcessing", new getPaymentsRequiringExtraProcessing());
-
 
1249
      processMap.put("markPaymentAsProcessed", new markPaymentAsProcessed());
1114
      return processMap;
1250
      return processMap;
1115
    }
1251
    }
1116
 
1252
 
1117
    private static class createPayment<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createPayment_args> {
1253
    private static class createPayment<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createPayment_args> {
1118
      public createPayment() {
1254
      public createPayment() {
Line 1373... Line 1509...
1373
        }
1509
        }
1374
        return result;
1510
        return result;
1375
      }
1511
      }
1376
    }
1512
    }
1377
 
1513
 
-
 
1514
    private static class getPaymentsRequiringExtraProcessing<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getPaymentsRequiringExtraProcessing_args> {
-
 
1515
      public getPaymentsRequiringExtraProcessing() {
-
 
1516
        super("getPaymentsRequiringExtraProcessing");
-
 
1517
      }
-
 
1518
 
-
 
1519
      protected getPaymentsRequiringExtraProcessing_args getEmptyArgsInstance() {
-
 
1520
        return new getPaymentsRequiringExtraProcessing_args();
-
 
1521
      }
-
 
1522
 
-
 
1523
      protected getPaymentsRequiringExtraProcessing_result getResult(I iface, getPaymentsRequiringExtraProcessing_args args) throws org.apache.thrift.TException {
-
 
1524
        getPaymentsRequiringExtraProcessing_result result = new getPaymentsRequiringExtraProcessing_result();
-
 
1525
        result.success = iface.getPaymentsRequiringExtraProcessing(args.category);
-
 
1526
        return result;
-
 
1527
      }
-
 
1528
    }
-
 
1529
 
-
 
1530
    private static class markPaymentAsProcessed<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markPaymentAsProcessed_args> {
-
 
1531
      public markPaymentAsProcessed() {
-
 
1532
        super("markPaymentAsProcessed");
-
 
1533
      }
-
 
1534
 
-
 
1535
      protected markPaymentAsProcessed_args getEmptyArgsInstance() {
-
 
1536
        return new markPaymentAsProcessed_args();
-
 
1537
      }
-
 
1538
 
-
 
1539
      protected markPaymentAsProcessed_result getResult(I iface, markPaymentAsProcessed_args args) throws org.apache.thrift.TException {
-
 
1540
        markPaymentAsProcessed_result result = new markPaymentAsProcessed_result();
-
 
1541
        iface.markPaymentAsProcessed(args.paymentId, args.category);
-
 
1542
        return result;
-
 
1543
      }
-
 
1544
    }
-
 
1545
 
1378
  }
1546
  }
1379
 
1547
 
1380
  public static class createPayment_args implements org.apache.thrift.TBase<createPayment_args, createPayment_args._Fields>, java.io.Serializable, Cloneable   {
1548
  public static class createPayment_args implements org.apache.thrift.TBase<createPayment_args, createPayment_args._Fields>, java.io.Serializable, Cloneable   {
1381
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createPayment_args");
1549
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createPayment_args");
1382
 
1550
 
Line 12474... Line 12642...
12474
      sb.append(")");
12642
      sb.append(")");
12475
      return sb.toString();
12643
      return sb.toString();
12476
    }
12644
    }
12477
 
12645
 
12478
    public void validate() throws org.apache.thrift.TException {
12646
    public void validate() throws org.apache.thrift.TException {
-
 
12647
      // check for required fields
-
 
12648
    }
-
 
12649
 
-
 
12650
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
12651
      try {
-
 
12652
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
12653
      } catch (org.apache.thrift.TException te) {
-
 
12654
        throw new java.io.IOException(te);
-
 
12655
      }
-
 
12656
    }
-
 
12657
 
-
 
12658
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
12659
      try {
-
 
12660
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
12661
      } catch (org.apache.thrift.TException te) {
-
 
12662
        throw new java.io.IOException(te);
-
 
12663
      }
-
 
12664
    }
-
 
12665
 
-
 
12666
  }
-
 
12667
 
-
 
12668
  public static class getPaymentsRequiringExtraProcessing_args implements org.apache.thrift.TBase<getPaymentsRequiringExtraProcessing_args, getPaymentsRequiringExtraProcessing_args._Fields>, java.io.Serializable, Cloneable   {
-
 
12669
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPaymentsRequiringExtraProcessing_args");
-
 
12670
 
-
 
12671
    private static final org.apache.thrift.protocol.TField CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("category", org.apache.thrift.protocol.TType.I32, (short)1);
-
 
12672
 
-
 
12673
    private ExtraPaymentProcessingType category; // required
-
 
12674
 
-
 
12675
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
12676
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
12677
      /**
-
 
12678
       * 
-
 
12679
       * @see ExtraPaymentProcessingType
-
 
12680
       */
-
 
12681
      CATEGORY((short)1, "category");
-
 
12682
 
-
 
12683
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
12684
 
-
 
12685
      static {
-
 
12686
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
12687
          byName.put(field.getFieldName(), field);
-
 
12688
        }
-
 
12689
      }
-
 
12690
 
-
 
12691
      /**
-
 
12692
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
12693
       */
-
 
12694
      public static _Fields findByThriftId(int fieldId) {
-
 
12695
        switch(fieldId) {
-
 
12696
          case 1: // CATEGORY
-
 
12697
            return CATEGORY;
-
 
12698
          default:
-
 
12699
            return null;
-
 
12700
        }
-
 
12701
      }
-
 
12702
 
-
 
12703
      /**
-
 
12704
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
12705
       * if it is not found.
-
 
12706
       */
-
 
12707
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
12708
        _Fields fields = findByThriftId(fieldId);
-
 
12709
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
12710
        return fields;
-
 
12711
      }
-
 
12712
 
-
 
12713
      /**
-
 
12714
       * Find the _Fields constant that matches name, or null if its not found.
-
 
12715
       */
-
 
12716
      public static _Fields findByName(String name) {
-
 
12717
        return byName.get(name);
-
 
12718
      }
-
 
12719
 
-
 
12720
      private final short _thriftId;
-
 
12721
      private final String _fieldName;
-
 
12722
 
-
 
12723
      _Fields(short thriftId, String fieldName) {
-
 
12724
        _thriftId = thriftId;
-
 
12725
        _fieldName = fieldName;
-
 
12726
      }
-
 
12727
 
-
 
12728
      public short getThriftFieldId() {
-
 
12729
        return _thriftId;
-
 
12730
      }
-
 
12731
 
-
 
12732
      public String getFieldName() {
-
 
12733
        return _fieldName;
-
 
12734
      }
-
 
12735
    }
-
 
12736
 
-
 
12737
    // isset id assignments
-
 
12738
 
-
 
12739
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
12740
    static {
-
 
12741
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
12742
      tmpMap.put(_Fields.CATEGORY, new org.apache.thrift.meta_data.FieldMetaData("category", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
12743
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ExtraPaymentProcessingType.class)));
-
 
12744
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
12745
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPaymentsRequiringExtraProcessing_args.class, metaDataMap);
-
 
12746
    }
-
 
12747
 
-
 
12748
    public getPaymentsRequiringExtraProcessing_args() {
-
 
12749
    }
-
 
12750
 
-
 
12751
    public getPaymentsRequiringExtraProcessing_args(
-
 
12752
      ExtraPaymentProcessingType category)
-
 
12753
    {
-
 
12754
      this();
-
 
12755
      this.category = category;
-
 
12756
    }
-
 
12757
 
-
 
12758
    /**
-
 
12759
     * Performs a deep copy on <i>other</i>.
-
 
12760
     */
-
 
12761
    public getPaymentsRequiringExtraProcessing_args(getPaymentsRequiringExtraProcessing_args other) {
-
 
12762
      if (other.isSetCategory()) {
-
 
12763
        this.category = other.category;
-
 
12764
      }
-
 
12765
    }
-
 
12766
 
-
 
12767
    public getPaymentsRequiringExtraProcessing_args deepCopy() {
-
 
12768
      return new getPaymentsRequiringExtraProcessing_args(this);
-
 
12769
    }
-
 
12770
 
-
 
12771
    @Override
-
 
12772
    public void clear() {
-
 
12773
      this.category = null;
-
 
12774
    }
-
 
12775
 
-
 
12776
    /**
-
 
12777
     * 
-
 
12778
     * @see ExtraPaymentProcessingType
-
 
12779
     */
-
 
12780
    public ExtraPaymentProcessingType getCategory() {
-
 
12781
      return this.category;
-
 
12782
    }
-
 
12783
 
-
 
12784
    /**
-
 
12785
     * 
-
 
12786
     * @see ExtraPaymentProcessingType
-
 
12787
     */
-
 
12788
    public void setCategory(ExtraPaymentProcessingType category) {
-
 
12789
      this.category = category;
-
 
12790
    }
-
 
12791
 
-
 
12792
    public void unsetCategory() {
-
 
12793
      this.category = null;
-
 
12794
    }
-
 
12795
 
-
 
12796
    /** Returns true if field category is set (has been assigned a value) and false otherwise */
-
 
12797
    public boolean isSetCategory() {
-
 
12798
      return this.category != null;
-
 
12799
    }
-
 
12800
 
-
 
12801
    public void setCategoryIsSet(boolean value) {
-
 
12802
      if (!value) {
-
 
12803
        this.category = null;
-
 
12804
      }
-
 
12805
    }
-
 
12806
 
-
 
12807
    public void setFieldValue(_Fields field, Object value) {
-
 
12808
      switch (field) {
-
 
12809
      case CATEGORY:
-
 
12810
        if (value == null) {
-
 
12811
          unsetCategory();
-
 
12812
        } else {
-
 
12813
          setCategory((ExtraPaymentProcessingType)value);
-
 
12814
        }
-
 
12815
        break;
-
 
12816
 
-
 
12817
      }
-
 
12818
    }
-
 
12819
 
-
 
12820
    public Object getFieldValue(_Fields field) {
-
 
12821
      switch (field) {
-
 
12822
      case CATEGORY:
-
 
12823
        return getCategory();
-
 
12824
 
-
 
12825
      }
-
 
12826
      throw new IllegalStateException();
-
 
12827
    }
-
 
12828
 
-
 
12829
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
12830
    public boolean isSet(_Fields field) {
-
 
12831
      if (field == null) {
-
 
12832
        throw new IllegalArgumentException();
-
 
12833
      }
-
 
12834
 
-
 
12835
      switch (field) {
-
 
12836
      case CATEGORY:
-
 
12837
        return isSetCategory();
-
 
12838
      }
-
 
12839
      throw new IllegalStateException();
-
 
12840
    }
-
 
12841
 
-
 
12842
    @Override
-
 
12843
    public boolean equals(Object that) {
-
 
12844
      if (that == null)
-
 
12845
        return false;
-
 
12846
      if (that instanceof getPaymentsRequiringExtraProcessing_args)
-
 
12847
        return this.equals((getPaymentsRequiringExtraProcessing_args)that);
-
 
12848
      return false;
-
 
12849
    }
-
 
12850
 
-
 
12851
    public boolean equals(getPaymentsRequiringExtraProcessing_args that) {
-
 
12852
      if (that == null)
-
 
12853
        return false;
-
 
12854
 
-
 
12855
      boolean this_present_category = true && this.isSetCategory();
-
 
12856
      boolean that_present_category = true && that.isSetCategory();
-
 
12857
      if (this_present_category || that_present_category) {
-
 
12858
        if (!(this_present_category && that_present_category))
-
 
12859
          return false;
-
 
12860
        if (!this.category.equals(that.category))
-
 
12861
          return false;
-
 
12862
      }
-
 
12863
 
-
 
12864
      return true;
-
 
12865
    }
-
 
12866
 
-
 
12867
    @Override
-
 
12868
    public int hashCode() {
-
 
12869
      return 0;
-
 
12870
    }
-
 
12871
 
-
 
12872
    public int compareTo(getPaymentsRequiringExtraProcessing_args other) {
-
 
12873
      if (!getClass().equals(other.getClass())) {
-
 
12874
        return getClass().getName().compareTo(other.getClass().getName());
-
 
12875
      }
-
 
12876
 
-
 
12877
      int lastComparison = 0;
-
 
12878
      getPaymentsRequiringExtraProcessing_args typedOther = (getPaymentsRequiringExtraProcessing_args)other;
-
 
12879
 
-
 
12880
      lastComparison = Boolean.valueOf(isSetCategory()).compareTo(typedOther.isSetCategory());
-
 
12881
      if (lastComparison != 0) {
-
 
12882
        return lastComparison;
-
 
12883
      }
-
 
12884
      if (isSetCategory()) {
-
 
12885
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.category, typedOther.category);
-
 
12886
        if (lastComparison != 0) {
-
 
12887
          return lastComparison;
-
 
12888
        }
-
 
12889
      }
-
 
12890
      return 0;
-
 
12891
    }
-
 
12892
 
-
 
12893
    public _Fields fieldForId(int fieldId) {
-
 
12894
      return _Fields.findByThriftId(fieldId);
-
 
12895
    }
-
 
12896
 
-
 
12897
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
12898
      org.apache.thrift.protocol.TField field;
-
 
12899
      iprot.readStructBegin();
-
 
12900
      while (true)
-
 
12901
      {
-
 
12902
        field = iprot.readFieldBegin();
-
 
12903
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
12904
          break;
-
 
12905
        }
-
 
12906
        switch (field.id) {
-
 
12907
          case 1: // CATEGORY
-
 
12908
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
12909
              this.category = ExtraPaymentProcessingType.findByValue(iprot.readI32());
-
 
12910
            } else { 
-
 
12911
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
12912
            }
-
 
12913
            break;
-
 
12914
          default:
-
 
12915
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
12916
        }
-
 
12917
        iprot.readFieldEnd();
-
 
12918
      }
-
 
12919
      iprot.readStructEnd();
-
 
12920
      validate();
-
 
12921
    }
-
 
12922
 
-
 
12923
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
12924
      validate();
-
 
12925
 
-
 
12926
      oprot.writeStructBegin(STRUCT_DESC);
-
 
12927
      if (this.category != null) {
-
 
12928
        oprot.writeFieldBegin(CATEGORY_FIELD_DESC);
-
 
12929
        oprot.writeI32(this.category.getValue());
-
 
12930
        oprot.writeFieldEnd();
-
 
12931
      }
-
 
12932
      oprot.writeFieldStop();
-
 
12933
      oprot.writeStructEnd();
-
 
12934
    }
-
 
12935
 
-
 
12936
    @Override
-
 
12937
    public String toString() {
-
 
12938
      StringBuilder sb = new StringBuilder("getPaymentsRequiringExtraProcessing_args(");
-
 
12939
      boolean first = true;
-
 
12940
 
-
 
12941
      sb.append("category:");
-
 
12942
      if (this.category == null) {
-
 
12943
        sb.append("null");
-
 
12944
      } else {
-
 
12945
        sb.append(this.category);
-
 
12946
      }
-
 
12947
      first = false;
-
 
12948
      sb.append(")");
-
 
12949
      return sb.toString();
-
 
12950
    }
-
 
12951
 
-
 
12952
    public void validate() throws org.apache.thrift.TException {
-
 
12953
      // check for required fields
-
 
12954
    }
-
 
12955
 
-
 
12956
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
12957
      try {
-
 
12958
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
12959
      } catch (org.apache.thrift.TException te) {
-
 
12960
        throw new java.io.IOException(te);
-
 
12961
      }
-
 
12962
    }
-
 
12963
 
-
 
12964
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
12965
      try {
-
 
12966
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
12967
      } catch (org.apache.thrift.TException te) {
-
 
12968
        throw new java.io.IOException(te);
-
 
12969
      }
-
 
12970
    }
-
 
12971
 
-
 
12972
  }
-
 
12973
 
-
 
12974
  public static class getPaymentsRequiringExtraProcessing_result implements org.apache.thrift.TBase<getPaymentsRequiringExtraProcessing_result, getPaymentsRequiringExtraProcessing_result._Fields>, java.io.Serializable, Cloneable   {
-
 
12975
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPaymentsRequiringExtraProcessing_result");
-
 
12976
 
-
 
12977
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
12978
 
-
 
12979
    private List<Long> success; // required
-
 
12980
 
-
 
12981
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
12982
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
12983
      SUCCESS((short)0, "success");
-
 
12984
 
-
 
12985
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
12986
 
-
 
12987
      static {
-
 
12988
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
12989
          byName.put(field.getFieldName(), field);
-
 
12990
        }
-
 
12991
      }
-
 
12992
 
-
 
12993
      /**
-
 
12994
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
12995
       */
-
 
12996
      public static _Fields findByThriftId(int fieldId) {
-
 
12997
        switch(fieldId) {
-
 
12998
          case 0: // SUCCESS
-
 
12999
            return SUCCESS;
-
 
13000
          default:
-
 
13001
            return null;
-
 
13002
        }
-
 
13003
      }
-
 
13004
 
-
 
13005
      /**
-
 
13006
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
13007
       * if it is not found.
-
 
13008
       */
-
 
13009
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
13010
        _Fields fields = findByThriftId(fieldId);
-
 
13011
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
13012
        return fields;
-
 
13013
      }
-
 
13014
 
-
 
13015
      /**
-
 
13016
       * Find the _Fields constant that matches name, or null if its not found.
-
 
13017
       */
-
 
13018
      public static _Fields findByName(String name) {
-
 
13019
        return byName.get(name);
-
 
13020
      }
-
 
13021
 
-
 
13022
      private final short _thriftId;
-
 
13023
      private final String _fieldName;
-
 
13024
 
-
 
13025
      _Fields(short thriftId, String fieldName) {
-
 
13026
        _thriftId = thriftId;
-
 
13027
        _fieldName = fieldName;
-
 
13028
      }
-
 
13029
 
-
 
13030
      public short getThriftFieldId() {
-
 
13031
        return _thriftId;
-
 
13032
      }
-
 
13033
 
-
 
13034
      public String getFieldName() {
-
 
13035
        return _fieldName;
-
 
13036
      }
-
 
13037
    }
-
 
13038
 
-
 
13039
    // isset id assignments
-
 
13040
 
-
 
13041
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
13042
    static {
-
 
13043
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
13044
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
13045
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
13046
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
13047
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
13048
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPaymentsRequiringExtraProcessing_result.class, metaDataMap);
-
 
13049
    }
-
 
13050
 
-
 
13051
    public getPaymentsRequiringExtraProcessing_result() {
-
 
13052
    }
-
 
13053
 
-
 
13054
    public getPaymentsRequiringExtraProcessing_result(
-
 
13055
      List<Long> success)
-
 
13056
    {
-
 
13057
      this();
-
 
13058
      this.success = success;
-
 
13059
    }
-
 
13060
 
-
 
13061
    /**
-
 
13062
     * Performs a deep copy on <i>other</i>.
-
 
13063
     */
-
 
13064
    public getPaymentsRequiringExtraProcessing_result(getPaymentsRequiringExtraProcessing_result other) {
-
 
13065
      if (other.isSetSuccess()) {
-
 
13066
        List<Long> __this__success = new ArrayList<Long>();
-
 
13067
        for (Long other_element : other.success) {
-
 
13068
          __this__success.add(other_element);
-
 
13069
        }
-
 
13070
        this.success = __this__success;
-
 
13071
      }
-
 
13072
    }
-
 
13073
 
-
 
13074
    public getPaymentsRequiringExtraProcessing_result deepCopy() {
-
 
13075
      return new getPaymentsRequiringExtraProcessing_result(this);
-
 
13076
    }
-
 
13077
 
-
 
13078
    @Override
-
 
13079
    public void clear() {
-
 
13080
      this.success = null;
-
 
13081
    }
-
 
13082
 
-
 
13083
    public int getSuccessSize() {
-
 
13084
      return (this.success == null) ? 0 : this.success.size();
-
 
13085
    }
-
 
13086
 
-
 
13087
    public java.util.Iterator<Long> getSuccessIterator() {
-
 
13088
      return (this.success == null) ? null : this.success.iterator();
-
 
13089
    }
-
 
13090
 
-
 
13091
    public void addToSuccess(long elem) {
-
 
13092
      if (this.success == null) {
-
 
13093
        this.success = new ArrayList<Long>();
-
 
13094
      }
-
 
13095
      this.success.add(elem);
-
 
13096
    }
-
 
13097
 
-
 
13098
    public List<Long> getSuccess() {
-
 
13099
      return this.success;
-
 
13100
    }
-
 
13101
 
-
 
13102
    public void setSuccess(List<Long> success) {
-
 
13103
      this.success = success;
-
 
13104
    }
-
 
13105
 
-
 
13106
    public void unsetSuccess() {
-
 
13107
      this.success = null;
-
 
13108
    }
-
 
13109
 
-
 
13110
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
13111
    public boolean isSetSuccess() {
-
 
13112
      return this.success != null;
-
 
13113
    }
-
 
13114
 
-
 
13115
    public void setSuccessIsSet(boolean value) {
-
 
13116
      if (!value) {
-
 
13117
        this.success = null;
-
 
13118
      }
-
 
13119
    }
-
 
13120
 
-
 
13121
    public void setFieldValue(_Fields field, Object value) {
-
 
13122
      switch (field) {
-
 
13123
      case SUCCESS:
-
 
13124
        if (value == null) {
-
 
13125
          unsetSuccess();
-
 
13126
        } else {
-
 
13127
          setSuccess((List<Long>)value);
-
 
13128
        }
-
 
13129
        break;
-
 
13130
 
-
 
13131
      }
-
 
13132
    }
-
 
13133
 
-
 
13134
    public Object getFieldValue(_Fields field) {
-
 
13135
      switch (field) {
-
 
13136
      case SUCCESS:
-
 
13137
        return getSuccess();
-
 
13138
 
-
 
13139
      }
-
 
13140
      throw new IllegalStateException();
-
 
13141
    }
-
 
13142
 
-
 
13143
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
13144
    public boolean isSet(_Fields field) {
-
 
13145
      if (field == null) {
-
 
13146
        throw new IllegalArgumentException();
-
 
13147
      }
-
 
13148
 
-
 
13149
      switch (field) {
-
 
13150
      case SUCCESS:
-
 
13151
        return isSetSuccess();
-
 
13152
      }
-
 
13153
      throw new IllegalStateException();
-
 
13154
    }
-
 
13155
 
-
 
13156
    @Override
-
 
13157
    public boolean equals(Object that) {
-
 
13158
      if (that == null)
-
 
13159
        return false;
-
 
13160
      if (that instanceof getPaymentsRequiringExtraProcessing_result)
-
 
13161
        return this.equals((getPaymentsRequiringExtraProcessing_result)that);
-
 
13162
      return false;
-
 
13163
    }
-
 
13164
 
-
 
13165
    public boolean equals(getPaymentsRequiringExtraProcessing_result that) {
-
 
13166
      if (that == null)
-
 
13167
        return false;
-
 
13168
 
-
 
13169
      boolean this_present_success = true && this.isSetSuccess();
-
 
13170
      boolean that_present_success = true && that.isSetSuccess();
-
 
13171
      if (this_present_success || that_present_success) {
-
 
13172
        if (!(this_present_success && that_present_success))
-
 
13173
          return false;
-
 
13174
        if (!this.success.equals(that.success))
-
 
13175
          return false;
-
 
13176
      }
-
 
13177
 
-
 
13178
      return true;
-
 
13179
    }
-
 
13180
 
-
 
13181
    @Override
-
 
13182
    public int hashCode() {
-
 
13183
      return 0;
-
 
13184
    }
-
 
13185
 
-
 
13186
    public int compareTo(getPaymentsRequiringExtraProcessing_result other) {
-
 
13187
      if (!getClass().equals(other.getClass())) {
-
 
13188
        return getClass().getName().compareTo(other.getClass().getName());
-
 
13189
      }
-
 
13190
 
-
 
13191
      int lastComparison = 0;
-
 
13192
      getPaymentsRequiringExtraProcessing_result typedOther = (getPaymentsRequiringExtraProcessing_result)other;
-
 
13193
 
-
 
13194
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
13195
      if (lastComparison != 0) {
-
 
13196
        return lastComparison;
-
 
13197
      }
-
 
13198
      if (isSetSuccess()) {
-
 
13199
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
13200
        if (lastComparison != 0) {
-
 
13201
          return lastComparison;
-
 
13202
        }
-
 
13203
      }
-
 
13204
      return 0;
-
 
13205
    }
-
 
13206
 
-
 
13207
    public _Fields fieldForId(int fieldId) {
-
 
13208
      return _Fields.findByThriftId(fieldId);
-
 
13209
    }
-
 
13210
 
-
 
13211
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
13212
      org.apache.thrift.protocol.TField field;
-
 
13213
      iprot.readStructBegin();
-
 
13214
      while (true)
-
 
13215
      {
-
 
13216
        field = iprot.readFieldBegin();
-
 
13217
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
13218
          break;
-
 
13219
        }
-
 
13220
        switch (field.id) {
-
 
13221
          case 0: // SUCCESS
-
 
13222
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
13223
              {
-
 
13224
                org.apache.thrift.protocol.TList _list32 = iprot.readListBegin();
-
 
13225
                this.success = new ArrayList<Long>(_list32.size);
-
 
13226
                for (int _i33 = 0; _i33 < _list32.size; ++_i33)
-
 
13227
                {
-
 
13228
                  long _elem34; // required
-
 
13229
                  _elem34 = iprot.readI64();
-
 
13230
                  this.success.add(_elem34);
-
 
13231
                }
-
 
13232
                iprot.readListEnd();
-
 
13233
              }
-
 
13234
            } else { 
-
 
13235
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
13236
            }
-
 
13237
            break;
-
 
13238
          default:
-
 
13239
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
13240
        }
-
 
13241
        iprot.readFieldEnd();
-
 
13242
      }
-
 
13243
      iprot.readStructEnd();
-
 
13244
      validate();
-
 
13245
    }
-
 
13246
 
-
 
13247
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
13248
      oprot.writeStructBegin(STRUCT_DESC);
-
 
13249
 
-
 
13250
      if (this.isSetSuccess()) {
-
 
13251
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
13252
        {
-
 
13253
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
-
 
13254
          for (long _iter35 : this.success)
-
 
13255
          {
-
 
13256
            oprot.writeI64(_iter35);
-
 
13257
          }
-
 
13258
          oprot.writeListEnd();
-
 
13259
        }
-
 
13260
        oprot.writeFieldEnd();
-
 
13261
      }
-
 
13262
      oprot.writeFieldStop();
-
 
13263
      oprot.writeStructEnd();
-
 
13264
    }
-
 
13265
 
-
 
13266
    @Override
-
 
13267
    public String toString() {
-
 
13268
      StringBuilder sb = new StringBuilder("getPaymentsRequiringExtraProcessing_result(");
-
 
13269
      boolean first = true;
-
 
13270
 
-
 
13271
      sb.append("success:");
-
 
13272
      if (this.success == null) {
-
 
13273
        sb.append("null");
-
 
13274
      } else {
-
 
13275
        sb.append(this.success);
-
 
13276
      }
-
 
13277
      first = false;
-
 
13278
      sb.append(")");
-
 
13279
      return sb.toString();
-
 
13280
    }
-
 
13281
 
-
 
13282
    public void validate() throws org.apache.thrift.TException {
-
 
13283
      // check for required fields
-
 
13284
    }
-
 
13285
 
-
 
13286
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
13287
      try {
-
 
13288
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
13289
      } catch (org.apache.thrift.TException te) {
-
 
13290
        throw new java.io.IOException(te);
-
 
13291
      }
-
 
13292
    }
-
 
13293
 
-
 
13294
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
13295
      try {
-
 
13296
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
13297
      } catch (org.apache.thrift.TException te) {
-
 
13298
        throw new java.io.IOException(te);
-
 
13299
      }
-
 
13300
    }
-
 
13301
 
-
 
13302
  }
-
 
13303
 
-
 
13304
  public static class markPaymentAsProcessed_args implements org.apache.thrift.TBase<markPaymentAsProcessed_args, markPaymentAsProcessed_args._Fields>, java.io.Serializable, Cloneable   {
-
 
13305
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markPaymentAsProcessed_args");
-
 
13306
 
-
 
13307
    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);
-
 
13308
    private static final org.apache.thrift.protocol.TField CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("category", org.apache.thrift.protocol.TType.I32, (short)2);
-
 
13309
 
-
 
13310
    private long paymentId; // required
-
 
13311
    private ExtraPaymentProcessingType category; // required
-
 
13312
 
-
 
13313
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
13314
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
13315
      PAYMENT_ID((short)1, "paymentId"),
-
 
13316
      /**
-
 
13317
       * 
-
 
13318
       * @see ExtraPaymentProcessingType
-
 
13319
       */
-
 
13320
      CATEGORY((short)2, "category");
-
 
13321
 
-
 
13322
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
13323
 
-
 
13324
      static {
-
 
13325
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
13326
          byName.put(field.getFieldName(), field);
-
 
13327
        }
-
 
13328
      }
-
 
13329
 
-
 
13330
      /**
-
 
13331
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
13332
       */
-
 
13333
      public static _Fields findByThriftId(int fieldId) {
-
 
13334
        switch(fieldId) {
-
 
13335
          case 1: // PAYMENT_ID
-
 
13336
            return PAYMENT_ID;
-
 
13337
          case 2: // CATEGORY
-
 
13338
            return CATEGORY;
-
 
13339
          default:
-
 
13340
            return null;
-
 
13341
        }
-
 
13342
      }
-
 
13343
 
-
 
13344
      /**
-
 
13345
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
13346
       * if it is not found.
-
 
13347
       */
-
 
13348
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
13349
        _Fields fields = findByThriftId(fieldId);
-
 
13350
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
13351
        return fields;
-
 
13352
      }
-
 
13353
 
-
 
13354
      /**
-
 
13355
       * Find the _Fields constant that matches name, or null if its not found.
-
 
13356
       */
-
 
13357
      public static _Fields findByName(String name) {
-
 
13358
        return byName.get(name);
-
 
13359
      }
-
 
13360
 
-
 
13361
      private final short _thriftId;
-
 
13362
      private final String _fieldName;
-
 
13363
 
-
 
13364
      _Fields(short thriftId, String fieldName) {
-
 
13365
        _thriftId = thriftId;
-
 
13366
        _fieldName = fieldName;
-
 
13367
      }
-
 
13368
 
-
 
13369
      public short getThriftFieldId() {
-
 
13370
        return _thriftId;
-
 
13371
      }
-
 
13372
 
-
 
13373
      public String getFieldName() {
-
 
13374
        return _fieldName;
-
 
13375
      }
-
 
13376
    }
-
 
13377
 
-
 
13378
    // isset id assignments
-
 
13379
    private static final int __PAYMENTID_ISSET_ID = 0;
-
 
13380
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
13381
 
-
 
13382
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
13383
    static {
-
 
13384
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
13385
      tmpMap.put(_Fields.PAYMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("paymentId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
13386
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
13387
      tmpMap.put(_Fields.CATEGORY, new org.apache.thrift.meta_data.FieldMetaData("category", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
13388
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ExtraPaymentProcessingType.class)));
-
 
13389
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
13390
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markPaymentAsProcessed_args.class, metaDataMap);
-
 
13391
    }
-
 
13392
 
-
 
13393
    public markPaymentAsProcessed_args() {
-
 
13394
    }
-
 
13395
 
-
 
13396
    public markPaymentAsProcessed_args(
-
 
13397
      long paymentId,
-
 
13398
      ExtraPaymentProcessingType category)
-
 
13399
    {
-
 
13400
      this();
-
 
13401
      this.paymentId = paymentId;
-
 
13402
      setPaymentIdIsSet(true);
-
 
13403
      this.category = category;
-
 
13404
    }
-
 
13405
 
-
 
13406
    /**
-
 
13407
     * Performs a deep copy on <i>other</i>.
-
 
13408
     */
-
 
13409
    public markPaymentAsProcessed_args(markPaymentAsProcessed_args other) {
-
 
13410
      __isset_bit_vector.clear();
-
 
13411
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
13412
      this.paymentId = other.paymentId;
-
 
13413
      if (other.isSetCategory()) {
-
 
13414
        this.category = other.category;
-
 
13415
      }
-
 
13416
    }
-
 
13417
 
-
 
13418
    public markPaymentAsProcessed_args deepCopy() {
-
 
13419
      return new markPaymentAsProcessed_args(this);
-
 
13420
    }
-
 
13421
 
-
 
13422
    @Override
-
 
13423
    public void clear() {
-
 
13424
      setPaymentIdIsSet(false);
-
 
13425
      this.paymentId = 0;
-
 
13426
      this.category = null;
-
 
13427
    }
-
 
13428
 
-
 
13429
    public long getPaymentId() {
-
 
13430
      return this.paymentId;
-
 
13431
    }
-
 
13432
 
-
 
13433
    public void setPaymentId(long paymentId) {
-
 
13434
      this.paymentId = paymentId;
-
 
13435
      setPaymentIdIsSet(true);
-
 
13436
    }
-
 
13437
 
-
 
13438
    public void unsetPaymentId() {
-
 
13439
      __isset_bit_vector.clear(__PAYMENTID_ISSET_ID);
-
 
13440
    }
-
 
13441
 
-
 
13442
    /** Returns true if field paymentId is set (has been assigned a value) and false otherwise */
-
 
13443
    public boolean isSetPaymentId() {
-
 
13444
      return __isset_bit_vector.get(__PAYMENTID_ISSET_ID);
-
 
13445
    }
-
 
13446
 
-
 
13447
    public void setPaymentIdIsSet(boolean value) {
-
 
13448
      __isset_bit_vector.set(__PAYMENTID_ISSET_ID, value);
-
 
13449
    }
-
 
13450
 
-
 
13451
    /**
-
 
13452
     * 
-
 
13453
     * @see ExtraPaymentProcessingType
-
 
13454
     */
-
 
13455
    public ExtraPaymentProcessingType getCategory() {
-
 
13456
      return this.category;
-
 
13457
    }
-
 
13458
 
-
 
13459
    /**
-
 
13460
     * 
-
 
13461
     * @see ExtraPaymentProcessingType
-
 
13462
     */
-
 
13463
    public void setCategory(ExtraPaymentProcessingType category) {
-
 
13464
      this.category = category;
-
 
13465
    }
-
 
13466
 
-
 
13467
    public void unsetCategory() {
-
 
13468
      this.category = null;
-
 
13469
    }
-
 
13470
 
-
 
13471
    /** Returns true if field category is set (has been assigned a value) and false otherwise */
-
 
13472
    public boolean isSetCategory() {
-
 
13473
      return this.category != null;
-
 
13474
    }
-
 
13475
 
-
 
13476
    public void setCategoryIsSet(boolean value) {
-
 
13477
      if (!value) {
-
 
13478
        this.category = null;
-
 
13479
      }
-
 
13480
    }
-
 
13481
 
-
 
13482
    public void setFieldValue(_Fields field, Object value) {
-
 
13483
      switch (field) {
-
 
13484
      case PAYMENT_ID:
-
 
13485
        if (value == null) {
-
 
13486
          unsetPaymentId();
-
 
13487
        } else {
-
 
13488
          setPaymentId((Long)value);
-
 
13489
        }
-
 
13490
        break;
-
 
13491
 
-
 
13492
      case CATEGORY:
-
 
13493
        if (value == null) {
-
 
13494
          unsetCategory();
-
 
13495
        } else {
-
 
13496
          setCategory((ExtraPaymentProcessingType)value);
-
 
13497
        }
-
 
13498
        break;
-
 
13499
 
-
 
13500
      }
-
 
13501
    }
-
 
13502
 
-
 
13503
    public Object getFieldValue(_Fields field) {
-
 
13504
      switch (field) {
-
 
13505
      case PAYMENT_ID:
-
 
13506
        return Long.valueOf(getPaymentId());
-
 
13507
 
-
 
13508
      case CATEGORY:
-
 
13509
        return getCategory();
-
 
13510
 
-
 
13511
      }
-
 
13512
      throw new IllegalStateException();
-
 
13513
    }
-
 
13514
 
-
 
13515
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
13516
    public boolean isSet(_Fields field) {
-
 
13517
      if (field == null) {
-
 
13518
        throw new IllegalArgumentException();
-
 
13519
      }
-
 
13520
 
-
 
13521
      switch (field) {
-
 
13522
      case PAYMENT_ID:
-
 
13523
        return isSetPaymentId();
-
 
13524
      case CATEGORY:
-
 
13525
        return isSetCategory();
-
 
13526
      }
-
 
13527
      throw new IllegalStateException();
-
 
13528
    }
-
 
13529
 
-
 
13530
    @Override
-
 
13531
    public boolean equals(Object that) {
-
 
13532
      if (that == null)
-
 
13533
        return false;
-
 
13534
      if (that instanceof markPaymentAsProcessed_args)
-
 
13535
        return this.equals((markPaymentAsProcessed_args)that);
-
 
13536
      return false;
-
 
13537
    }
-
 
13538
 
-
 
13539
    public boolean equals(markPaymentAsProcessed_args that) {
-
 
13540
      if (that == null)
-
 
13541
        return false;
-
 
13542
 
-
 
13543
      boolean this_present_paymentId = true;
-
 
13544
      boolean that_present_paymentId = true;
-
 
13545
      if (this_present_paymentId || that_present_paymentId) {
-
 
13546
        if (!(this_present_paymentId && that_present_paymentId))
-
 
13547
          return false;
-
 
13548
        if (this.paymentId != that.paymentId)
-
 
13549
          return false;
-
 
13550
      }
-
 
13551
 
-
 
13552
      boolean this_present_category = true && this.isSetCategory();
-
 
13553
      boolean that_present_category = true && that.isSetCategory();
-
 
13554
      if (this_present_category || that_present_category) {
-
 
13555
        if (!(this_present_category && that_present_category))
-
 
13556
          return false;
-
 
13557
        if (!this.category.equals(that.category))
-
 
13558
          return false;
-
 
13559
      }
-
 
13560
 
-
 
13561
      return true;
-
 
13562
    }
-
 
13563
 
-
 
13564
    @Override
-
 
13565
    public int hashCode() {
-
 
13566
      return 0;
-
 
13567
    }
-
 
13568
 
-
 
13569
    public int compareTo(markPaymentAsProcessed_args other) {
-
 
13570
      if (!getClass().equals(other.getClass())) {
-
 
13571
        return getClass().getName().compareTo(other.getClass().getName());
-
 
13572
      }
-
 
13573
 
-
 
13574
      int lastComparison = 0;
-
 
13575
      markPaymentAsProcessed_args typedOther = (markPaymentAsProcessed_args)other;
-
 
13576
 
-
 
13577
      lastComparison = Boolean.valueOf(isSetPaymentId()).compareTo(typedOther.isSetPaymentId());
-
 
13578
      if (lastComparison != 0) {
-
 
13579
        return lastComparison;
-
 
13580
      }
-
 
13581
      if (isSetPaymentId()) {
-
 
13582
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.paymentId, typedOther.paymentId);
-
 
13583
        if (lastComparison != 0) {
-
 
13584
          return lastComparison;
-
 
13585
        }
-
 
13586
      }
-
 
13587
      lastComparison = Boolean.valueOf(isSetCategory()).compareTo(typedOther.isSetCategory());
-
 
13588
      if (lastComparison != 0) {
-
 
13589
        return lastComparison;
-
 
13590
      }
-
 
13591
      if (isSetCategory()) {
-
 
13592
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.category, typedOther.category);
-
 
13593
        if (lastComparison != 0) {
-
 
13594
          return lastComparison;
-
 
13595
        }
-
 
13596
      }
-
 
13597
      return 0;
-
 
13598
    }
-
 
13599
 
-
 
13600
    public _Fields fieldForId(int fieldId) {
-
 
13601
      return _Fields.findByThriftId(fieldId);
-
 
13602
    }
-
 
13603
 
-
 
13604
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
13605
      org.apache.thrift.protocol.TField field;
-
 
13606
      iprot.readStructBegin();
-
 
13607
      while (true)
-
 
13608
      {
-
 
13609
        field = iprot.readFieldBegin();
-
 
13610
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
13611
          break;
-
 
13612
        }
-
 
13613
        switch (field.id) {
-
 
13614
          case 1: // PAYMENT_ID
-
 
13615
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
13616
              this.paymentId = iprot.readI64();
-
 
13617
              setPaymentIdIsSet(true);
-
 
13618
            } else { 
-
 
13619
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
13620
            }
-
 
13621
            break;
-
 
13622
          case 2: // CATEGORY
-
 
13623
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
13624
              this.category = ExtraPaymentProcessingType.findByValue(iprot.readI32());
-
 
13625
            } else { 
-
 
13626
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
13627
            }
-
 
13628
            break;
-
 
13629
          default:
-
 
13630
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
13631
        }
-
 
13632
        iprot.readFieldEnd();
-
 
13633
      }
-
 
13634
      iprot.readStructEnd();
-
 
13635
      validate();
-
 
13636
    }
-
 
13637
 
-
 
13638
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
13639
      validate();
-
 
13640
 
-
 
13641
      oprot.writeStructBegin(STRUCT_DESC);
-
 
13642
      oprot.writeFieldBegin(PAYMENT_ID_FIELD_DESC);
-
 
13643
      oprot.writeI64(this.paymentId);
-
 
13644
      oprot.writeFieldEnd();
-
 
13645
      if (this.category != null) {
-
 
13646
        oprot.writeFieldBegin(CATEGORY_FIELD_DESC);
-
 
13647
        oprot.writeI32(this.category.getValue());
-
 
13648
        oprot.writeFieldEnd();
-
 
13649
      }
-
 
13650
      oprot.writeFieldStop();
-
 
13651
      oprot.writeStructEnd();
-
 
13652
    }
-
 
13653
 
-
 
13654
    @Override
-
 
13655
    public String toString() {
-
 
13656
      StringBuilder sb = new StringBuilder("markPaymentAsProcessed_args(");
-
 
13657
      boolean first = true;
-
 
13658
 
-
 
13659
      sb.append("paymentId:");
-
 
13660
      sb.append(this.paymentId);
-
 
13661
      first = false;
-
 
13662
      if (!first) sb.append(", ");
-
 
13663
      sb.append("category:");
-
 
13664
      if (this.category == null) {
-
 
13665
        sb.append("null");
-
 
13666
      } else {
-
 
13667
        sb.append(this.category);
-
 
13668
      }
-
 
13669
      first = false;
-
 
13670
      sb.append(")");
-
 
13671
      return sb.toString();
-
 
13672
    }
-
 
13673
 
-
 
13674
    public void validate() throws org.apache.thrift.TException {
-
 
13675
      // check for required fields
-
 
13676
    }
-
 
13677
 
-
 
13678
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
13679
      try {
-
 
13680
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
13681
      } catch (org.apache.thrift.TException te) {
-
 
13682
        throw new java.io.IOException(te);
-
 
13683
      }
-
 
13684
    }
-
 
13685
 
-
 
13686
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
13687
      try {
-
 
13688
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
13689
      } catch (org.apache.thrift.TException te) {
-
 
13690
        throw new java.io.IOException(te);
-
 
13691
      }
-
 
13692
    }
-
 
13693
 
-
 
13694
  }
-
 
13695
 
-
 
13696
  public static class markPaymentAsProcessed_result implements org.apache.thrift.TBase<markPaymentAsProcessed_result, markPaymentAsProcessed_result._Fields>, java.io.Serializable, Cloneable   {
-
 
13697
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markPaymentAsProcessed_result");
-
 
13698
 
-
 
13699
 
-
 
13700
 
-
 
13701
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
13702
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
13703
;
-
 
13704
 
-
 
13705
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
13706
 
-
 
13707
      static {
-
 
13708
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
13709
          byName.put(field.getFieldName(), field);
-
 
13710
        }
-
 
13711
      }
-
 
13712
 
-
 
13713
      /**
-
 
13714
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
13715
       */
-
 
13716
      public static _Fields findByThriftId(int fieldId) {
-
 
13717
        switch(fieldId) {
-
 
13718
          default:
-
 
13719
            return null;
-
 
13720
        }
-
 
13721
      }
-
 
13722
 
-
 
13723
      /**
-
 
13724
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
13725
       * if it is not found.
-
 
13726
       */
-
 
13727
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
13728
        _Fields fields = findByThriftId(fieldId);
-
 
13729
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
13730
        return fields;
-
 
13731
      }
-
 
13732
 
-
 
13733
      /**
-
 
13734
       * Find the _Fields constant that matches name, or null if its not found.
-
 
13735
       */
-
 
13736
      public static _Fields findByName(String name) {
-
 
13737
        return byName.get(name);
-
 
13738
      }
-
 
13739
 
-
 
13740
      private final short _thriftId;
-
 
13741
      private final String _fieldName;
-
 
13742
 
-
 
13743
      _Fields(short thriftId, String fieldName) {
-
 
13744
        _thriftId = thriftId;
-
 
13745
        _fieldName = fieldName;
-
 
13746
      }
-
 
13747
 
-
 
13748
      public short getThriftFieldId() {
-
 
13749
        return _thriftId;
-
 
13750
      }
-
 
13751
 
-
 
13752
      public String getFieldName() {
-
 
13753
        return _fieldName;
-
 
13754
      }
-
 
13755
    }
-
 
13756
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
13757
    static {
-
 
13758
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
13759
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
13760
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markPaymentAsProcessed_result.class, metaDataMap);
-
 
13761
    }
-
 
13762
 
-
 
13763
    public markPaymentAsProcessed_result() {
-
 
13764
    }
-
 
13765
 
-
 
13766
    /**
-
 
13767
     * Performs a deep copy on <i>other</i>.
-
 
13768
     */
-
 
13769
    public markPaymentAsProcessed_result(markPaymentAsProcessed_result other) {
-
 
13770
    }
-
 
13771
 
-
 
13772
    public markPaymentAsProcessed_result deepCopy() {
-
 
13773
      return new markPaymentAsProcessed_result(this);
-
 
13774
    }
-
 
13775
 
-
 
13776
    @Override
-
 
13777
    public void clear() {
-
 
13778
    }
-
 
13779
 
-
 
13780
    public void setFieldValue(_Fields field, Object value) {
-
 
13781
      switch (field) {
-
 
13782
      }
-
 
13783
    }
-
 
13784
 
-
 
13785
    public Object getFieldValue(_Fields field) {
-
 
13786
      switch (field) {
-
 
13787
      }
-
 
13788
      throw new IllegalStateException();
-
 
13789
    }
-
 
13790
 
-
 
13791
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
13792
    public boolean isSet(_Fields field) {
-
 
13793
      if (field == null) {
-
 
13794
        throw new IllegalArgumentException();
-
 
13795
      }
-
 
13796
 
-
 
13797
      switch (field) {
-
 
13798
      }
-
 
13799
      throw new IllegalStateException();
-
 
13800
    }
-
 
13801
 
-
 
13802
    @Override
-
 
13803
    public boolean equals(Object that) {
-
 
13804
      if (that == null)
-
 
13805
        return false;
-
 
13806
      if (that instanceof markPaymentAsProcessed_result)
-
 
13807
        return this.equals((markPaymentAsProcessed_result)that);
-
 
13808
      return false;
-
 
13809
    }
-
 
13810
 
-
 
13811
    public boolean equals(markPaymentAsProcessed_result that) {
-
 
13812
      if (that == null)
-
 
13813
        return false;
-
 
13814
 
-
 
13815
      return true;
-
 
13816
    }
-
 
13817
 
-
 
13818
    @Override
-
 
13819
    public int hashCode() {
-
 
13820
      return 0;
-
 
13821
    }
-
 
13822
 
-
 
13823
    public int compareTo(markPaymentAsProcessed_result other) {
-
 
13824
      if (!getClass().equals(other.getClass())) {
-
 
13825
        return getClass().getName().compareTo(other.getClass().getName());
-
 
13826
      }
-
 
13827
 
-
 
13828
      int lastComparison = 0;
-
 
13829
      markPaymentAsProcessed_result typedOther = (markPaymentAsProcessed_result)other;
-
 
13830
 
-
 
13831
      return 0;
-
 
13832
    }
-
 
13833
 
-
 
13834
    public _Fields fieldForId(int fieldId) {
-
 
13835
      return _Fields.findByThriftId(fieldId);
-
 
13836
    }
-
 
13837
 
-
 
13838
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
13839
      org.apache.thrift.protocol.TField field;
-
 
13840
      iprot.readStructBegin();
-
 
13841
      while (true)
-
 
13842
      {
-
 
13843
        field = iprot.readFieldBegin();
-
 
13844
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
13845
          break;
-
 
13846
        }
-
 
13847
        switch (field.id) {
-
 
13848
          default:
-
 
13849
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
13850
        }
-
 
13851
        iprot.readFieldEnd();
-
 
13852
      }
-
 
13853
      iprot.readStructEnd();
-
 
13854
      validate();
-
 
13855
    }
-
 
13856
 
-
 
13857
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
13858
      oprot.writeStructBegin(STRUCT_DESC);
-
 
13859
 
-
 
13860
      oprot.writeFieldStop();
-
 
13861
      oprot.writeStructEnd();
-
 
13862
    }
-
 
13863
 
-
 
13864
    @Override
-
 
13865
    public String toString() {
-
 
13866
      StringBuilder sb = new StringBuilder("markPaymentAsProcessed_result(");
-
 
13867
      boolean first = true;
-
 
13868
 
-
 
13869
      sb.append(")");
-
 
13870
      return sb.toString();
-
 
13871
    }
-
 
13872
 
-
 
13873
    public void validate() throws org.apache.thrift.TException {
12479
      // check for required fields
13874
      // check for required fields
12480
    }
13875
    }
12481
 
13876
 
12482
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
13877
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
12483
      try {
13878
      try {