Class FeeDecision

java.lang.Object
dev.vality.damsel.domain.FeeDecision
All Implemented Interfaces:
Serializable, Cloneable, Comparable<FeeDecision>, org.apache.thrift.TBase<FeeDecision,FeeDecision._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-08-02") public class FeeDecision extends Object implements org.apache.thrift.TBase<FeeDecision,FeeDecision._Fields>, Serializable, Cloneable, Comparable<FeeDecision>
See Also:
  • Field Details

  • Constructor Details

    • FeeDecision

      public FeeDecision()
    • FeeDecision

      public FeeDecision(Predicate if_, FeeSelector then_)
    • FeeDecision

      public FeeDecision(FeeDecision other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public FeeDecision deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<FeeDecision,FeeDecision._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<FeeDecision,FeeDecision._Fields>
    • getIf

      public Predicate getIf()
    • setIf

      public FeeDecision setIf(Predicate if_)
    • unsetIf

      public void unsetIf()
    • isSetIf

      public boolean isSetIf()
      Returns true if field if_ is set (has been assigned a value) and false otherwise
    • setIfIsSet

      public void setIfIsSet(boolean value)
    • getThen

      public FeeSelector getThen()
    • setThen

      public FeeDecision setThen(FeeSelector then_)
    • unsetThen

      public void unsetThen()
    • isSetThen

      public boolean isSetThen()
      Returns true if field then_ is set (has been assigned a value) and false otherwise
    • setThenIsSet

      public void setThenIsSet(boolean value)
    • setFieldValue

      public void setFieldValue(FeeDecision._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<FeeDecision,FeeDecision._Fields>
    • getFieldValue

      public Object getFieldValue(FeeDecision._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<FeeDecision,FeeDecision._Fields>
    • isSet

      public boolean isSet(FeeDecision._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<FeeDecision,FeeDecision._Fields>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(FeeDecision that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(FeeDecision other)
      Specified by:
      compareTo in interface Comparable<FeeDecision>
    • fieldForId

      public FeeDecision._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<FeeDecision,FeeDecision._Fields>
    • getFields

      public FeeDecision._Fields[] getFields()
      Specified by:
      getFields in interface org.apache.thrift.TBase<FeeDecision,FeeDecision._Fields>
    • getFieldMetaData

      public Map<FeeDecision._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<FeeDecision,FeeDecision._Fields>
    • read

      public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • write

      public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException