Subversion Repositories SmartDukaan

Rev

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

Rev 1119 Rev 1629
Line 107... Line 107...
107
     * @param gatewayTxnDate
107
     * @param gatewayTxnDate
108
     * @param attributes
108
     * @param attributes
109
     */
109
     */
110
    public boolean updatePaymentDetails(long id, String gatewayPaymentId, String sessionId, String gatewayTxnStatus, String description, String gatewayTxnId, String authCode, String referenceCode, String errorCode, PaymentStatus status, String gatewayTxnDate, List<Attribute> attributes) throws PaymentException, TException;
110
    public boolean updatePaymentDetails(long id, String gatewayPaymentId, String sessionId, String gatewayTxnStatus, String description, String gatewayTxnId, String authCode, String referenceCode, String errorCode, PaymentStatus status, String gatewayTxnDate, List<Attribute> attributes) throws PaymentException, TException;
111
 
111
 
-
 
112
    /**
-
 
113
     * Returns the maximum amount of a single payment.
-
 
114
     */
-
 
115
    public double getMaxPaymentAmount() throws TException;
-
 
116
 
-
 
117
    /**
-
 
118
     * Returns the minimum amount of a single payment.
-
 
119
     */
-
 
120
    public double getMinPaymentAmount() throws TException;
-
 
121
 
112
  }
122
  }
113
 
123
 
114
  public static class Client implements Iface {
124
  public static class Client implements Iface {
115
    public Client(TProtocol prot)
125
    public Client(TProtocol prot)
116
    {
126
    {
Line 438... Line 448...
438
        throw result.pe;
448
        throw result.pe;
439
      }
449
      }
440
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "updatePaymentDetails failed: unknown result");
450
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "updatePaymentDetails failed: unknown result");
441
    }
451
    }
442
 
452
 
-
 
453
    public double getMaxPaymentAmount() throws TException
-
 
454
    {
-
 
455
      send_getMaxPaymentAmount();
-
 
456
      return recv_getMaxPaymentAmount();
-
 
457
    }
-
 
458
 
-
 
459
    public void send_getMaxPaymentAmount() throws TException
-
 
460
    {
-
 
461
      oprot_.writeMessageBegin(new TMessage("getMaxPaymentAmount", TMessageType.CALL, seqid_));
-
 
462
      getMaxPaymentAmount_args args = new getMaxPaymentAmount_args();
-
 
463
      args.write(oprot_);
-
 
464
      oprot_.writeMessageEnd();
-
 
465
      oprot_.getTransport().flush();
-
 
466
    }
-
 
467
 
-
 
468
    public double recv_getMaxPaymentAmount() throws TException
-
 
469
    {
-
 
470
      TMessage msg = iprot_.readMessageBegin();
-
 
471
      if (msg.type == TMessageType.EXCEPTION) {
-
 
472
        TApplicationException x = TApplicationException.read(iprot_);
-
 
473
        iprot_.readMessageEnd();
-
 
474
        throw x;
-
 
475
      }
-
 
476
      getMaxPaymentAmount_result result = new getMaxPaymentAmount_result();
-
 
477
      result.read(iprot_);
-
 
478
      iprot_.readMessageEnd();
-
 
479
      if (result.isSetSuccess()) {
-
 
480
        return result.success;
-
 
481
      }
-
 
482
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getMaxPaymentAmount failed: unknown result");
-
 
483
    }
-
 
484
 
-
 
485
    public double getMinPaymentAmount() throws TException
-
 
486
    {
-
 
487
      send_getMinPaymentAmount();
-
 
488
      return recv_getMinPaymentAmount();
-
 
489
    }
-
 
490
 
-
 
491
    public void send_getMinPaymentAmount() throws TException
-
 
492
    {
-
 
493
      oprot_.writeMessageBegin(new TMessage("getMinPaymentAmount", TMessageType.CALL, seqid_));
-
 
494
      getMinPaymentAmount_args args = new getMinPaymentAmount_args();
-
 
495
      args.write(oprot_);
-
 
496
      oprot_.writeMessageEnd();
-
 
497
      oprot_.getTransport().flush();
-
 
498
    }
-
 
499
 
-
 
500
    public double recv_getMinPaymentAmount() throws TException
-
 
501
    {
-
 
502
      TMessage msg = iprot_.readMessageBegin();
-
 
503
      if (msg.type == TMessageType.EXCEPTION) {
-
 
504
        TApplicationException x = TApplicationException.read(iprot_);
-
 
505
        iprot_.readMessageEnd();
-
 
506
        throw x;
-
 
507
      }
-
 
508
      getMinPaymentAmount_result result = new getMinPaymentAmount_result();
-
 
509
      result.read(iprot_);
-
 
510
      iprot_.readMessageEnd();
-
 
511
      if (result.isSetSuccess()) {
-
 
512
        return result.success;
-
 
513
      }
-
 
514
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getMinPaymentAmount failed: unknown result");
-
 
515
    }
-
 
516
 
443
  }
517
  }
444
  public static class Processor implements TProcessor {
518
  public static class Processor implements TProcessor {
445
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
519
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
446
    public Processor(Iface iface)
520
    public Processor(Iface iface)
447
    {
521
    {
Line 452... Line 526...
452
      processMap_.put("getPayments", new getPayments());
526
      processMap_.put("getPayments", new getPayments());
453
      processMap_.put("getPaymentGateway", new getPaymentGateway());
527
      processMap_.put("getPaymentGateway", new getPaymentGateway());
454
      processMap_.put("getPayment", new getPayment());
528
      processMap_.put("getPayment", new getPayment());
455
      processMap_.put("getPaymentForTxnId", new getPaymentForTxnId());
529
      processMap_.put("getPaymentForTxnId", new getPaymentForTxnId());
456
      processMap_.put("updatePaymentDetails", new updatePaymentDetails());
530
      processMap_.put("updatePaymentDetails", new updatePaymentDetails());
-
 
531
      processMap_.put("getMaxPaymentAmount", new getMaxPaymentAmount());
-
 
532
      processMap_.put("getMinPaymentAmount", new getMinPaymentAmount());
457
    }
533
    }
458
 
534
 
459
    protected static interface ProcessFunction {
535
    protected static interface ProcessFunction {
460
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException;
536
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException;
461
    }
537
    }
Line 693... Line 769...
693
        oprot.getTransport().flush();
769
        oprot.getTransport().flush();
694
      }
770
      }
695
 
771
 
696
    }
772
    }
697
 
773
 
-
 
774
    private class getMaxPaymentAmount implements ProcessFunction {
-
 
775
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
-
 
776
      {
-
 
777
        getMaxPaymentAmount_args args = new getMaxPaymentAmount_args();
-
 
778
        args.read(iprot);
-
 
779
        iprot.readMessageEnd();
-
 
780
        getMaxPaymentAmount_result result = new getMaxPaymentAmount_result();
-
 
781
        result.success = iface_.getMaxPaymentAmount();
-
 
782
        result.setSuccessIsSet(true);
-
 
783
        oprot.writeMessageBegin(new TMessage("getMaxPaymentAmount", TMessageType.REPLY, seqid));
-
 
784
        result.write(oprot);
-
 
785
        oprot.writeMessageEnd();
-
 
786
        oprot.getTransport().flush();
-
 
787
      }
-
 
788
 
-
 
789
    }
-
 
790
 
-
 
791
    private class getMinPaymentAmount implements ProcessFunction {
-
 
792
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
-
 
793
      {
-
 
794
        getMinPaymentAmount_args args = new getMinPaymentAmount_args();
-
 
795
        args.read(iprot);
-
 
796
        iprot.readMessageEnd();
-
 
797
        getMinPaymentAmount_result result = new getMinPaymentAmount_result();
-
 
798
        result.success = iface_.getMinPaymentAmount();
-
 
799
        result.setSuccessIsSet(true);
-
 
800
        oprot.writeMessageBegin(new TMessage("getMinPaymentAmount", TMessageType.REPLY, seqid));
-
 
801
        result.write(oprot);
-
 
802
        oprot.writeMessageEnd();
-
 
803
        oprot.getTransport().flush();
-
 
804
      }
-
 
805
 
-
 
806
    }
-
 
807
 
698
  }
808
  }
699
 
809
 
700
  public static class closeSession_args implements TBase<closeSession_args._Fields>, java.io.Serializable, Cloneable, Comparable<closeSession_args>   {
810
  public static class closeSession_args implements TBase<closeSession_args._Fields>, java.io.Serializable, Cloneable, Comparable<closeSession_args>   {
701
    private static final TStruct STRUCT_DESC = new TStruct("closeSession_args");
811
    private static final TStruct STRUCT_DESC = new TStruct("closeSession_args");
702
 
812
 
Line 7492... Line 7602...
7492
      first = false;
7602
      first = false;
7493
      sb.append(")");
7603
      sb.append(")");
7494
      return sb.toString();
7604
      return sb.toString();
7495
    }
7605
    }
7496
 
7606
 
-
 
7607
    public void validate() throws TException {
-
 
7608
      // check for required fields
-
 
7609
    }
-
 
7610
 
-
 
7611
  }
-
 
7612
 
-
 
7613
  public static class getMaxPaymentAmount_args implements TBase<getMaxPaymentAmount_args._Fields>, java.io.Serializable, Cloneable, Comparable<getMaxPaymentAmount_args>   {
-
 
7614
    private static final TStruct STRUCT_DESC = new TStruct("getMaxPaymentAmount_args");
-
 
7615
 
-
 
7616
 
-
 
7617
 
-
 
7618
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
7619
    public enum _Fields implements TFieldIdEnum {
-
 
7620
;
-
 
7621
 
-
 
7622
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
7623
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
7624
 
-
 
7625
      static {
-
 
7626
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
7627
          byId.put((int)field._thriftId, field);
-
 
7628
          byName.put(field.getFieldName(), field);
-
 
7629
        }
-
 
7630
      }
-
 
7631
 
-
 
7632
      /**
-
 
7633
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
7634
       */
-
 
7635
      public static _Fields findByThriftId(int fieldId) {
-
 
7636
        return byId.get(fieldId);
-
 
7637
      }
-
 
7638
 
-
 
7639
      /**
-
 
7640
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
7641
       * if it is not found.
-
 
7642
       */
-
 
7643
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
7644
        _Fields fields = findByThriftId(fieldId);
-
 
7645
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
7646
        return fields;
-
 
7647
      }
-
 
7648
 
-
 
7649
      /**
-
 
7650
       * Find the _Fields constant that matches name, or null if its not found.
-
 
7651
       */
-
 
7652
      public static _Fields findByName(String name) {
-
 
7653
        return byName.get(name);
-
 
7654
      }
-
 
7655
 
-
 
7656
      private final short _thriftId;
-
 
7657
      private final String _fieldName;
-
 
7658
 
-
 
7659
      _Fields(short thriftId, String fieldName) {
-
 
7660
        _thriftId = thriftId;
-
 
7661
        _fieldName = fieldName;
-
 
7662
      }
-
 
7663
 
-
 
7664
      public short getThriftFieldId() {
-
 
7665
        return _thriftId;
-
 
7666
      }
-
 
7667
 
-
 
7668
      public String getFieldName() {
-
 
7669
        return _fieldName;
-
 
7670
      }
-
 
7671
    }
-
 
7672
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
-
 
7673
    }});
-
 
7674
 
-
 
7675
    static {
-
 
7676
      FieldMetaData.addStructMetaDataMap(getMaxPaymentAmount_args.class, metaDataMap);
-
 
7677
    }
-
 
7678
 
-
 
7679
    public getMaxPaymentAmount_args() {
-
 
7680
    }
-
 
7681
 
-
 
7682
    /**
-
 
7683
     * Performs a deep copy on <i>other</i>.
-
 
7684
     */
-
 
7685
    public getMaxPaymentAmount_args(getMaxPaymentAmount_args other) {
-
 
7686
    }
-
 
7687
 
-
 
7688
    public getMaxPaymentAmount_args deepCopy() {
-
 
7689
      return new getMaxPaymentAmount_args(this);
-
 
7690
    }
-
 
7691
 
-
 
7692
    @Deprecated
-
 
7693
    public getMaxPaymentAmount_args clone() {
-
 
7694
      return new getMaxPaymentAmount_args(this);
-
 
7695
    }
-
 
7696
 
-
 
7697
    public void setFieldValue(_Fields field, Object value) {
-
 
7698
      switch (field) {
-
 
7699
      }
-
 
7700
    }
-
 
7701
 
-
 
7702
    public void setFieldValue(int fieldID, Object value) {
-
 
7703
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
7704
    }
-
 
7705
 
-
 
7706
    public Object getFieldValue(_Fields field) {
-
 
7707
      switch (field) {
-
 
7708
      }
-
 
7709
      throw new IllegalStateException();
-
 
7710
    }
-
 
7711
 
-
 
7712
    public Object getFieldValue(int fieldId) {
-
 
7713
      return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
7714
    }
-
 
7715
 
-
 
7716
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
-
 
7717
    public boolean isSet(_Fields field) {
-
 
7718
      switch (field) {
-
 
7719
      }
-
 
7720
      throw new IllegalStateException();
-
 
7721
    }
-
 
7722
 
-
 
7723
    public boolean isSet(int fieldID) {
-
 
7724
      return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
7725
    }
-
 
7726
 
-
 
7727
    @Override
-
 
7728
    public boolean equals(Object that) {
-
 
7729
      if (that == null)
-
 
7730
        return false;
-
 
7731
      if (that instanceof getMaxPaymentAmount_args)
-
 
7732
        return this.equals((getMaxPaymentAmount_args)that);
-
 
7733
      return false;
-
 
7734
    }
-
 
7735
 
-
 
7736
    public boolean equals(getMaxPaymentAmount_args that) {
-
 
7737
      if (that == null)
-
 
7738
        return false;
-
 
7739
 
-
 
7740
      return true;
-
 
7741
    }
-
 
7742
 
-
 
7743
    @Override
-
 
7744
    public int hashCode() {
-
 
7745
      return 0;
-
 
7746
    }
-
 
7747
 
-
 
7748
    public int compareTo(getMaxPaymentAmount_args other) {
-
 
7749
      if (!getClass().equals(other.getClass())) {
-
 
7750
        return getClass().getName().compareTo(other.getClass().getName());
-
 
7751
      }
-
 
7752
 
-
 
7753
      int lastComparison = 0;
-
 
7754
      getMaxPaymentAmount_args typedOther = (getMaxPaymentAmount_args)other;
-
 
7755
 
-
 
7756
      return 0;
-
 
7757
    }
-
 
7758
 
-
 
7759
    public void read(TProtocol iprot) throws TException {
-
 
7760
      TField field;
-
 
7761
      iprot.readStructBegin();
-
 
7762
      while (true)
-
 
7763
      {
-
 
7764
        field = iprot.readFieldBegin();
-
 
7765
        if (field.type == TType.STOP) { 
-
 
7766
          break;
-
 
7767
        }
-
 
7768
        _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
7769
        if (fieldId == null) {
-
 
7770
          TProtocolUtil.skip(iprot, field.type);
-
 
7771
        } else {
-
 
7772
          switch (fieldId) {
-
 
7773
          }
-
 
7774
          iprot.readFieldEnd();
-
 
7775
        }
-
 
7776
      }
-
 
7777
      iprot.readStructEnd();
-
 
7778
      validate();
-
 
7779
    }
-
 
7780
 
-
 
7781
    public void write(TProtocol oprot) throws TException {
-
 
7782
      validate();
-
 
7783
 
-
 
7784
      oprot.writeStructBegin(STRUCT_DESC);
-
 
7785
      oprot.writeFieldStop();
-
 
7786
      oprot.writeStructEnd();
-
 
7787
    }
-
 
7788
 
-
 
7789
    @Override
-
 
7790
    public String toString() {
-
 
7791
      StringBuilder sb = new StringBuilder("getMaxPaymentAmount_args(");
-
 
7792
      boolean first = true;
-
 
7793
 
-
 
7794
      sb.append(")");
-
 
7795
      return sb.toString();
-
 
7796
    }
-
 
7797
 
-
 
7798
    public void validate() throws TException {
-
 
7799
      // check for required fields
-
 
7800
    }
-
 
7801
 
-
 
7802
  }
-
 
7803
 
-
 
7804
  public static class getMaxPaymentAmount_result implements TBase<getMaxPaymentAmount_result._Fields>, java.io.Serializable, Cloneable, Comparable<getMaxPaymentAmount_result>   {
-
 
7805
    private static final TStruct STRUCT_DESC = new TStruct("getMaxPaymentAmount_result");
-
 
7806
 
-
 
7807
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.DOUBLE, (short)0);
-
 
7808
 
-
 
7809
    private double success;
-
 
7810
 
-
 
7811
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
7812
    public enum _Fields implements TFieldIdEnum {
-
 
7813
      SUCCESS((short)0, "success");
-
 
7814
 
-
 
7815
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
7816
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
7817
 
-
 
7818
      static {
-
 
7819
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
7820
          byId.put((int)field._thriftId, field);
-
 
7821
          byName.put(field.getFieldName(), field);
-
 
7822
        }
-
 
7823
      }
-
 
7824
 
-
 
7825
      /**
-
 
7826
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
7827
       */
-
 
7828
      public static _Fields findByThriftId(int fieldId) {
-
 
7829
        return byId.get(fieldId);
-
 
7830
      }
-
 
7831
 
-
 
7832
      /**
-
 
7833
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
7834
       * if it is not found.
-
 
7835
       */
-
 
7836
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
7837
        _Fields fields = findByThriftId(fieldId);
-
 
7838
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
7839
        return fields;
-
 
7840
      }
-
 
7841
 
-
 
7842
      /**
-
 
7843
       * Find the _Fields constant that matches name, or null if its not found.
-
 
7844
       */
-
 
7845
      public static _Fields findByName(String name) {
-
 
7846
        return byName.get(name);
-
 
7847
      }
-
 
7848
 
-
 
7849
      private final short _thriftId;
-
 
7850
      private final String _fieldName;
-
 
7851
 
-
 
7852
      _Fields(short thriftId, String fieldName) {
-
 
7853
        _thriftId = thriftId;
-
 
7854
        _fieldName = fieldName;
-
 
7855
      }
-
 
7856
 
-
 
7857
      public short getThriftFieldId() {
-
 
7858
        return _thriftId;
-
 
7859
      }
-
 
7860
 
-
 
7861
      public String getFieldName() {
-
 
7862
        return _fieldName;
-
 
7863
      }
-
 
7864
    }
-
 
7865
 
-
 
7866
    // isset id assignments
-
 
7867
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
7868
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
7869
 
-
 
7870
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
-
 
7871
      put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, 
-
 
7872
          new FieldValueMetaData(TType.DOUBLE)));
-
 
7873
    }});
-
 
7874
 
-
 
7875
    static {
-
 
7876
      FieldMetaData.addStructMetaDataMap(getMaxPaymentAmount_result.class, metaDataMap);
-
 
7877
    }
-
 
7878
 
-
 
7879
    public getMaxPaymentAmount_result() {
-
 
7880
    }
-
 
7881
 
-
 
7882
    public getMaxPaymentAmount_result(
-
 
7883
      double success)
-
 
7884
    {
-
 
7885
      this();
-
 
7886
      this.success = success;
-
 
7887
      setSuccessIsSet(true);
-
 
7888
    }
-
 
7889
 
-
 
7890
    /**
-
 
7891
     * Performs a deep copy on <i>other</i>.
-
 
7892
     */
-
 
7893
    public getMaxPaymentAmount_result(getMaxPaymentAmount_result other) {
-
 
7894
      __isset_bit_vector.clear();
-
 
7895
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
7896
      this.success = other.success;
-
 
7897
    }
-
 
7898
 
-
 
7899
    public getMaxPaymentAmount_result deepCopy() {
-
 
7900
      return new getMaxPaymentAmount_result(this);
-
 
7901
    }
-
 
7902
 
-
 
7903
    @Deprecated
-
 
7904
    public getMaxPaymentAmount_result clone() {
-
 
7905
      return new getMaxPaymentAmount_result(this);
-
 
7906
    }
-
 
7907
 
-
 
7908
    public double getSuccess() {
-
 
7909
      return this.success;
-
 
7910
    }
-
 
7911
 
-
 
7912
    public getMaxPaymentAmount_result setSuccess(double success) {
-
 
7913
      this.success = success;
-
 
7914
      setSuccessIsSet(true);
-
 
7915
      return this;
-
 
7916
    }
-
 
7917
 
-
 
7918
    public void unsetSuccess() {
-
 
7919
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
7920
    }
-
 
7921
 
-
 
7922
    /** Returns true if field success is set (has been asigned a value) and false otherwise */
-
 
7923
    public boolean isSetSuccess() {
-
 
7924
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
7925
    }
-
 
7926
 
-
 
7927
    public void setSuccessIsSet(boolean value) {
-
 
7928
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
7929
    }
-
 
7930
 
-
 
7931
    public void setFieldValue(_Fields field, Object value) {
-
 
7932
      switch (field) {
-
 
7933
      case SUCCESS:
-
 
7934
        if (value == null) {
-
 
7935
          unsetSuccess();
-
 
7936
        } else {
-
 
7937
          setSuccess((Double)value);
-
 
7938
        }
-
 
7939
        break;
-
 
7940
 
-
 
7941
      }
-
 
7942
    }
-
 
7943
 
-
 
7944
    public void setFieldValue(int fieldID, Object value) {
-
 
7945
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
7946
    }
-
 
7947
 
-
 
7948
    public Object getFieldValue(_Fields field) {
-
 
7949
      switch (field) {
-
 
7950
      case SUCCESS:
-
 
7951
        return new Double(getSuccess());
-
 
7952
 
-
 
7953
      }
-
 
7954
      throw new IllegalStateException();
-
 
7955
    }
-
 
7956
 
-
 
7957
    public Object getFieldValue(int fieldId) {
-
 
7958
      return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
7959
    }
-
 
7960
 
-
 
7961
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
-
 
7962
    public boolean isSet(_Fields field) {
-
 
7963
      switch (field) {
-
 
7964
      case SUCCESS:
-
 
7965
        return isSetSuccess();
-
 
7966
      }
-
 
7967
      throw new IllegalStateException();
-
 
7968
    }
-
 
7969
 
-
 
7970
    public boolean isSet(int fieldID) {
-
 
7971
      return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
7972
    }
-
 
7973
 
-
 
7974
    @Override
-
 
7975
    public boolean equals(Object that) {
-
 
7976
      if (that == null)
-
 
7977
        return false;
-
 
7978
      if (that instanceof getMaxPaymentAmount_result)
-
 
7979
        return this.equals((getMaxPaymentAmount_result)that);
-
 
7980
      return false;
-
 
7981
    }
-
 
7982
 
-
 
7983
    public boolean equals(getMaxPaymentAmount_result that) {
-
 
7984
      if (that == null)
-
 
7985
        return false;
-
 
7986
 
-
 
7987
      boolean this_present_success = true;
-
 
7988
      boolean that_present_success = true;
-
 
7989
      if (this_present_success || that_present_success) {
-
 
7990
        if (!(this_present_success && that_present_success))
-
 
7991
          return false;
-
 
7992
        if (this.success != that.success)
-
 
7993
          return false;
-
 
7994
      }
-
 
7995
 
-
 
7996
      return true;
-
 
7997
    }
-
 
7998
 
-
 
7999
    @Override
-
 
8000
    public int hashCode() {
-
 
8001
      return 0;
-
 
8002
    }
-
 
8003
 
-
 
8004
    public int compareTo(getMaxPaymentAmount_result other) {
-
 
8005
      if (!getClass().equals(other.getClass())) {
-
 
8006
        return getClass().getName().compareTo(other.getClass().getName());
-
 
8007
      }
-
 
8008
 
-
 
8009
      int lastComparison = 0;
-
 
8010
      getMaxPaymentAmount_result typedOther = (getMaxPaymentAmount_result)other;
-
 
8011
 
-
 
8012
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(isSetSuccess());
-
 
8013
      if (lastComparison != 0) {
-
 
8014
        return lastComparison;
-
 
8015
      }
-
 
8016
      lastComparison = TBaseHelper.compareTo(success, typedOther.success);
-
 
8017
      if (lastComparison != 0) {
-
 
8018
        return lastComparison;
-
 
8019
      }
-
 
8020
      return 0;
-
 
8021
    }
-
 
8022
 
-
 
8023
    public void read(TProtocol iprot) throws TException {
-
 
8024
      TField field;
-
 
8025
      iprot.readStructBegin();
-
 
8026
      while (true)
-
 
8027
      {
-
 
8028
        field = iprot.readFieldBegin();
-
 
8029
        if (field.type == TType.STOP) { 
-
 
8030
          break;
-
 
8031
        }
-
 
8032
        _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
8033
        if (fieldId == null) {
-
 
8034
          TProtocolUtil.skip(iprot, field.type);
-
 
8035
        } else {
-
 
8036
          switch (fieldId) {
-
 
8037
            case SUCCESS:
-
 
8038
              if (field.type == TType.DOUBLE) {
-
 
8039
                this.success = iprot.readDouble();
-
 
8040
                setSuccessIsSet(true);
-
 
8041
              } else { 
-
 
8042
                TProtocolUtil.skip(iprot, field.type);
-
 
8043
              }
-
 
8044
              break;
-
 
8045
          }
-
 
8046
          iprot.readFieldEnd();
-
 
8047
        }
-
 
8048
      }
-
 
8049
      iprot.readStructEnd();
-
 
8050
      validate();
-
 
8051
    }
-
 
8052
 
-
 
8053
    public void write(TProtocol oprot) throws TException {
-
 
8054
      oprot.writeStructBegin(STRUCT_DESC);
-
 
8055
 
-
 
8056
      if (this.isSetSuccess()) {
-
 
8057
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
8058
        oprot.writeDouble(this.success);
-
 
8059
        oprot.writeFieldEnd();
-
 
8060
      }
-
 
8061
      oprot.writeFieldStop();
-
 
8062
      oprot.writeStructEnd();
-
 
8063
    }
-
 
8064
 
-
 
8065
    @Override
-
 
8066
    public String toString() {
-
 
8067
      StringBuilder sb = new StringBuilder("getMaxPaymentAmount_result(");
-
 
8068
      boolean first = true;
-
 
8069
 
-
 
8070
      sb.append("success:");
-
 
8071
      sb.append(this.success);
-
 
8072
      first = false;
-
 
8073
      sb.append(")");
-
 
8074
      return sb.toString();
-
 
8075
    }
-
 
8076
 
-
 
8077
    public void validate() throws TException {
-
 
8078
      // check for required fields
-
 
8079
    }
-
 
8080
 
-
 
8081
  }
-
 
8082
 
-
 
8083
  public static class getMinPaymentAmount_args implements TBase<getMinPaymentAmount_args._Fields>, java.io.Serializable, Cloneable, Comparable<getMinPaymentAmount_args>   {
-
 
8084
    private static final TStruct STRUCT_DESC = new TStruct("getMinPaymentAmount_args");
-
 
8085
 
-
 
8086
 
-
 
8087
 
-
 
8088
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
8089
    public enum _Fields implements TFieldIdEnum {
-
 
8090
;
-
 
8091
 
-
 
8092
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
8093
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
8094
 
-
 
8095
      static {
-
 
8096
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
8097
          byId.put((int)field._thriftId, field);
-
 
8098
          byName.put(field.getFieldName(), field);
-
 
8099
        }
-
 
8100
      }
-
 
8101
 
-
 
8102
      /**
-
 
8103
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
8104
       */
-
 
8105
      public static _Fields findByThriftId(int fieldId) {
-
 
8106
        return byId.get(fieldId);
-
 
8107
      }
-
 
8108
 
-
 
8109
      /**
-
 
8110
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
8111
       * if it is not found.
-
 
8112
       */
-
 
8113
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
8114
        _Fields fields = findByThriftId(fieldId);
-
 
8115
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
8116
        return fields;
-
 
8117
      }
-
 
8118
 
-
 
8119
      /**
-
 
8120
       * Find the _Fields constant that matches name, or null if its not found.
-
 
8121
       */
-
 
8122
      public static _Fields findByName(String name) {
-
 
8123
        return byName.get(name);
-
 
8124
      }
-
 
8125
 
-
 
8126
      private final short _thriftId;
-
 
8127
      private final String _fieldName;
-
 
8128
 
-
 
8129
      _Fields(short thriftId, String fieldName) {
-
 
8130
        _thriftId = thriftId;
-
 
8131
        _fieldName = fieldName;
-
 
8132
      }
-
 
8133
 
-
 
8134
      public short getThriftFieldId() {
-
 
8135
        return _thriftId;
-
 
8136
      }
-
 
8137
 
-
 
8138
      public String getFieldName() {
-
 
8139
        return _fieldName;
-
 
8140
      }
-
 
8141
    }
-
 
8142
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
-
 
8143
    }});
-
 
8144
 
-
 
8145
    static {
-
 
8146
      FieldMetaData.addStructMetaDataMap(getMinPaymentAmount_args.class, metaDataMap);
-
 
8147
    }
-
 
8148
 
-
 
8149
    public getMinPaymentAmount_args() {
-
 
8150
    }
-
 
8151
 
-
 
8152
    /**
-
 
8153
     * Performs a deep copy on <i>other</i>.
-
 
8154
     */
-
 
8155
    public getMinPaymentAmount_args(getMinPaymentAmount_args other) {
-
 
8156
    }
-
 
8157
 
-
 
8158
    public getMinPaymentAmount_args deepCopy() {
-
 
8159
      return new getMinPaymentAmount_args(this);
-
 
8160
    }
-
 
8161
 
-
 
8162
    @Deprecated
-
 
8163
    public getMinPaymentAmount_args clone() {
-
 
8164
      return new getMinPaymentAmount_args(this);
-
 
8165
    }
-
 
8166
 
-
 
8167
    public void setFieldValue(_Fields field, Object value) {
-
 
8168
      switch (field) {
-
 
8169
      }
-
 
8170
    }
-
 
8171
 
-
 
8172
    public void setFieldValue(int fieldID, Object value) {
-
 
8173
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
8174
    }
-
 
8175
 
-
 
8176
    public Object getFieldValue(_Fields field) {
-
 
8177
      switch (field) {
-
 
8178
      }
-
 
8179
      throw new IllegalStateException();
-
 
8180
    }
-
 
8181
 
-
 
8182
    public Object getFieldValue(int fieldId) {
-
 
8183
      return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
8184
    }
-
 
8185
 
-
 
8186
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
-
 
8187
    public boolean isSet(_Fields field) {
-
 
8188
      switch (field) {
-
 
8189
      }
-
 
8190
      throw new IllegalStateException();
-
 
8191
    }
-
 
8192
 
-
 
8193
    public boolean isSet(int fieldID) {
-
 
8194
      return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
8195
    }
-
 
8196
 
-
 
8197
    @Override
-
 
8198
    public boolean equals(Object that) {
-
 
8199
      if (that == null)
-
 
8200
        return false;
-
 
8201
      if (that instanceof getMinPaymentAmount_args)
-
 
8202
        return this.equals((getMinPaymentAmount_args)that);
-
 
8203
      return false;
-
 
8204
    }
-
 
8205
 
-
 
8206
    public boolean equals(getMinPaymentAmount_args that) {
-
 
8207
      if (that == null)
-
 
8208
        return false;
-
 
8209
 
-
 
8210
      return true;
-
 
8211
    }
-
 
8212
 
-
 
8213
    @Override
-
 
8214
    public int hashCode() {
-
 
8215
      return 0;
-
 
8216
    }
-
 
8217
 
-
 
8218
    public int compareTo(getMinPaymentAmount_args other) {
-
 
8219
      if (!getClass().equals(other.getClass())) {
-
 
8220
        return getClass().getName().compareTo(other.getClass().getName());
-
 
8221
      }
-
 
8222
 
-
 
8223
      int lastComparison = 0;
-
 
8224
      getMinPaymentAmount_args typedOther = (getMinPaymentAmount_args)other;
-
 
8225
 
-
 
8226
      return 0;
-
 
8227
    }
-
 
8228
 
-
 
8229
    public void read(TProtocol iprot) throws TException {
-
 
8230
      TField field;
-
 
8231
      iprot.readStructBegin();
-
 
8232
      while (true)
-
 
8233
      {
-
 
8234
        field = iprot.readFieldBegin();
-
 
8235
        if (field.type == TType.STOP) { 
-
 
8236
          break;
-
 
8237
        }
-
 
8238
        _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
8239
        if (fieldId == null) {
-
 
8240
          TProtocolUtil.skip(iprot, field.type);
-
 
8241
        } else {
-
 
8242
          switch (fieldId) {
-
 
8243
          }
-
 
8244
          iprot.readFieldEnd();
-
 
8245
        }
-
 
8246
      }
-
 
8247
      iprot.readStructEnd();
-
 
8248
      validate();
-
 
8249
    }
-
 
8250
 
-
 
8251
    public void write(TProtocol oprot) throws TException {
-
 
8252
      validate();
-
 
8253
 
-
 
8254
      oprot.writeStructBegin(STRUCT_DESC);
-
 
8255
      oprot.writeFieldStop();
-
 
8256
      oprot.writeStructEnd();
-
 
8257
    }
-
 
8258
 
-
 
8259
    @Override
-
 
8260
    public String toString() {
-
 
8261
      StringBuilder sb = new StringBuilder("getMinPaymentAmount_args(");
-
 
8262
      boolean first = true;
-
 
8263
 
-
 
8264
      sb.append(")");
-
 
8265
      return sb.toString();
-
 
8266
    }
-
 
8267
 
-
 
8268
    public void validate() throws TException {
-
 
8269
      // check for required fields
-
 
8270
    }
-
 
8271
 
-
 
8272
  }
-
 
8273
 
-
 
8274
  public static class getMinPaymentAmount_result implements TBase<getMinPaymentAmount_result._Fields>, java.io.Serializable, Cloneable, Comparable<getMinPaymentAmount_result>   {
-
 
8275
    private static final TStruct STRUCT_DESC = new TStruct("getMinPaymentAmount_result");
-
 
8276
 
-
 
8277
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.DOUBLE, (short)0);
-
 
8278
 
-
 
8279
    private double success;
-
 
8280
 
-
 
8281
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
8282
    public enum _Fields implements TFieldIdEnum {
-
 
8283
      SUCCESS((short)0, "success");
-
 
8284
 
-
 
8285
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
8286
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
8287
 
-
 
8288
      static {
-
 
8289
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
8290
          byId.put((int)field._thriftId, field);
-
 
8291
          byName.put(field.getFieldName(), field);
-
 
8292
        }
-
 
8293
      }
-
 
8294
 
-
 
8295
      /**
-
 
8296
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
8297
       */
-
 
8298
      public static _Fields findByThriftId(int fieldId) {
-
 
8299
        return byId.get(fieldId);
-
 
8300
      }
-
 
8301
 
-
 
8302
      /**
-
 
8303
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
8304
       * if it is not found.
-
 
8305
       */
-
 
8306
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
8307
        _Fields fields = findByThriftId(fieldId);
-
 
8308
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
8309
        return fields;
-
 
8310
      }
-
 
8311
 
-
 
8312
      /**
-
 
8313
       * Find the _Fields constant that matches name, or null if its not found.
-
 
8314
       */
-
 
8315
      public static _Fields findByName(String name) {
-
 
8316
        return byName.get(name);
-
 
8317
      }
-
 
8318
 
-
 
8319
      private final short _thriftId;
-
 
8320
      private final String _fieldName;
-
 
8321
 
-
 
8322
      _Fields(short thriftId, String fieldName) {
-
 
8323
        _thriftId = thriftId;
-
 
8324
        _fieldName = fieldName;
-
 
8325
      }
-
 
8326
 
-
 
8327
      public short getThriftFieldId() {
-
 
8328
        return _thriftId;
-
 
8329
      }
-
 
8330
 
-
 
8331
      public String getFieldName() {
-
 
8332
        return _fieldName;
-
 
8333
      }
-
 
8334
    }
-
 
8335
 
-
 
8336
    // isset id assignments
-
 
8337
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
8338
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
8339
 
-
 
8340
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
-
 
8341
      put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, 
-
 
8342
          new FieldValueMetaData(TType.DOUBLE)));
-
 
8343
    }});
-
 
8344
 
-
 
8345
    static {
-
 
8346
      FieldMetaData.addStructMetaDataMap(getMinPaymentAmount_result.class, metaDataMap);
-
 
8347
    }
-
 
8348
 
-
 
8349
    public getMinPaymentAmount_result() {
-
 
8350
    }
-
 
8351
 
-
 
8352
    public getMinPaymentAmount_result(
-
 
8353
      double success)
-
 
8354
    {
-
 
8355
      this();
-
 
8356
      this.success = success;
-
 
8357
      setSuccessIsSet(true);
-
 
8358
    }
-
 
8359
 
-
 
8360
    /**
-
 
8361
     * Performs a deep copy on <i>other</i>.
-
 
8362
     */
-
 
8363
    public getMinPaymentAmount_result(getMinPaymentAmount_result other) {
-
 
8364
      __isset_bit_vector.clear();
-
 
8365
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
8366
      this.success = other.success;
-
 
8367
    }
-
 
8368
 
-
 
8369
    public getMinPaymentAmount_result deepCopy() {
-
 
8370
      return new getMinPaymentAmount_result(this);
-
 
8371
    }
-
 
8372
 
-
 
8373
    @Deprecated
-
 
8374
    public getMinPaymentAmount_result clone() {
-
 
8375
      return new getMinPaymentAmount_result(this);
-
 
8376
    }
-
 
8377
 
-
 
8378
    public double getSuccess() {
-
 
8379
      return this.success;
-
 
8380
    }
-
 
8381
 
-
 
8382
    public getMinPaymentAmount_result setSuccess(double success) {
-
 
8383
      this.success = success;
-
 
8384
      setSuccessIsSet(true);
-
 
8385
      return this;
-
 
8386
    }
-
 
8387
 
-
 
8388
    public void unsetSuccess() {
-
 
8389
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
8390
    }
-
 
8391
 
-
 
8392
    /** Returns true if field success is set (has been asigned a value) and false otherwise */
-
 
8393
    public boolean isSetSuccess() {
-
 
8394
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
8395
    }
-
 
8396
 
-
 
8397
    public void setSuccessIsSet(boolean value) {
-
 
8398
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
8399
    }
-
 
8400
 
-
 
8401
    public void setFieldValue(_Fields field, Object value) {
-
 
8402
      switch (field) {
-
 
8403
      case SUCCESS:
-
 
8404
        if (value == null) {
-
 
8405
          unsetSuccess();
-
 
8406
        } else {
-
 
8407
          setSuccess((Double)value);
-
 
8408
        }
-
 
8409
        break;
-
 
8410
 
-
 
8411
      }
-
 
8412
    }
-
 
8413
 
-
 
8414
    public void setFieldValue(int fieldID, Object value) {
-
 
8415
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
8416
    }
-
 
8417
 
-
 
8418
    public Object getFieldValue(_Fields field) {
-
 
8419
      switch (field) {
-
 
8420
      case SUCCESS:
-
 
8421
        return new Double(getSuccess());
-
 
8422
 
-
 
8423
      }
-
 
8424
      throw new IllegalStateException();
-
 
8425
    }
-
 
8426
 
-
 
8427
    public Object getFieldValue(int fieldId) {
-
 
8428
      return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
8429
    }
-
 
8430
 
-
 
8431
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
-
 
8432
    public boolean isSet(_Fields field) {
-
 
8433
      switch (field) {
-
 
8434
      case SUCCESS:
-
 
8435
        return isSetSuccess();
-
 
8436
      }
-
 
8437
      throw new IllegalStateException();
-
 
8438
    }
-
 
8439
 
-
 
8440
    public boolean isSet(int fieldID) {
-
 
8441
      return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
8442
    }
-
 
8443
 
-
 
8444
    @Override
-
 
8445
    public boolean equals(Object that) {
-
 
8446
      if (that == null)
-
 
8447
        return false;
-
 
8448
      if (that instanceof getMinPaymentAmount_result)
-
 
8449
        return this.equals((getMinPaymentAmount_result)that);
-
 
8450
      return false;
-
 
8451
    }
-
 
8452
 
-
 
8453
    public boolean equals(getMinPaymentAmount_result that) {
-
 
8454
      if (that == null)
-
 
8455
        return false;
-
 
8456
 
-
 
8457
      boolean this_present_success = true;
-
 
8458
      boolean that_present_success = true;
-
 
8459
      if (this_present_success || that_present_success) {
-
 
8460
        if (!(this_present_success && that_present_success))
-
 
8461
          return false;
-
 
8462
        if (this.success != that.success)
-
 
8463
          return false;
-
 
8464
      }
-
 
8465
 
-
 
8466
      return true;
-
 
8467
    }
-
 
8468
 
-
 
8469
    @Override
-
 
8470
    public int hashCode() {
-
 
8471
      return 0;
-
 
8472
    }
-
 
8473
 
-
 
8474
    public int compareTo(getMinPaymentAmount_result other) {
-
 
8475
      if (!getClass().equals(other.getClass())) {
-
 
8476
        return getClass().getName().compareTo(other.getClass().getName());
-
 
8477
      }
-
 
8478
 
-
 
8479
      int lastComparison = 0;
-
 
8480
      getMinPaymentAmount_result typedOther = (getMinPaymentAmount_result)other;
-
 
8481
 
-
 
8482
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(isSetSuccess());
-
 
8483
      if (lastComparison != 0) {
-
 
8484
        return lastComparison;
-
 
8485
      }
-
 
8486
      lastComparison = TBaseHelper.compareTo(success, typedOther.success);
-
 
8487
      if (lastComparison != 0) {
-
 
8488
        return lastComparison;
-
 
8489
      }
-
 
8490
      return 0;
-
 
8491
    }
-
 
8492
 
-
 
8493
    public void read(TProtocol iprot) throws TException {
-
 
8494
      TField field;
-
 
8495
      iprot.readStructBegin();
-
 
8496
      while (true)
-
 
8497
      {
-
 
8498
        field = iprot.readFieldBegin();
-
 
8499
        if (field.type == TType.STOP) { 
-
 
8500
          break;
-
 
8501
        }
-
 
8502
        _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
8503
        if (fieldId == null) {
-
 
8504
          TProtocolUtil.skip(iprot, field.type);
-
 
8505
        } else {
-
 
8506
          switch (fieldId) {
-
 
8507
            case SUCCESS:
-
 
8508
              if (field.type == TType.DOUBLE) {
-
 
8509
                this.success = iprot.readDouble();
-
 
8510
                setSuccessIsSet(true);
-
 
8511
              } else { 
-
 
8512
                TProtocolUtil.skip(iprot, field.type);
-
 
8513
              }
-
 
8514
              break;
-
 
8515
          }
-
 
8516
          iprot.readFieldEnd();
-
 
8517
        }
-
 
8518
      }
-
 
8519
      iprot.readStructEnd();
-
 
8520
      validate();
-
 
8521
    }
-
 
8522
 
-
 
8523
    public void write(TProtocol oprot) throws TException {
-
 
8524
      oprot.writeStructBegin(STRUCT_DESC);
-
 
8525
 
-
 
8526
      if (this.isSetSuccess()) {
-
 
8527
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
8528
        oprot.writeDouble(this.success);
-
 
8529
        oprot.writeFieldEnd();
-
 
8530
      }
-
 
8531
      oprot.writeFieldStop();
-
 
8532
      oprot.writeStructEnd();
-
 
8533
    }
-
 
8534
 
-
 
8535
    @Override
-
 
8536
    public String toString() {
-
 
8537
      StringBuilder sb = new StringBuilder("getMinPaymentAmount_result(");
-
 
8538
      boolean first = true;
-
 
8539
 
-
 
8540
      sb.append("success:");
-
 
8541
      sb.append(this.success);
-
 
8542
      first = false;
-
 
8543
      sb.append(")");
-
 
8544
      return sb.toString();
-
 
8545
    }
-
 
8546
 
7497
    public void validate() throws TException {
8547
    public void validate() throws TException {
7498
      // check for required fields
8548
      // check for required fields
7499
    }
8549
    }
7500
 
8550
 
7501
  }
8551
  }