Class W2WServiceTerms

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

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

  • Constructor Details

    • W2WServiceTerms

      public W2WServiceTerms()
    • W2WServiceTerms

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

    • deepCopy

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

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

      public Predicate getAllow()
    • setAllow

      public W2WServiceTerms setAllow(Predicate allow)
    • unsetAllow

      public void unsetAllow()
    • isSetAllow

      public boolean isSetAllow()
      Returns true if field allow is set (has been assigned a value) and false otherwise
    • setAllowIsSet

      public void setAllowIsSet(boolean value)
    • getCurrencies

      public CurrencySelector getCurrencies()
    • setCurrencies

      public W2WServiceTerms setCurrencies(CurrencySelector currencies)
    • unsetCurrencies

      public void unsetCurrencies()
    • isSetCurrencies

      public boolean isSetCurrencies()
      Returns true if field currencies is set (has been assigned a value) and false otherwise
    • setCurrenciesIsSet

      public void setCurrenciesIsSet(boolean value)
    • getCashLimit

      public CashLimitSelector getCashLimit()
    • setCashLimit

      public W2WServiceTerms setCashLimit(CashLimitSelector cash_limit)
    • unsetCashLimit

      public void unsetCashLimit()
    • isSetCashLimit

      public boolean isSetCashLimit()
      Returns true if field cash_limit is set (has been assigned a value) and false otherwise
    • setCashLimitIsSet

      public void setCashLimitIsSet(boolean value)
    • getCashFlow

      public CashFlowSelector getCashFlow()
    • setCashFlow

      public W2WServiceTerms setCashFlow(CashFlowSelector cash_flow)
    • unsetCashFlow

      public void unsetCashFlow()
    • isSetCashFlow

      public boolean isSetCashFlow()
      Returns true if field cash_flow is set (has been assigned a value) and false otherwise
    • setCashFlowIsSet

      public void setCashFlowIsSet(boolean value)
    • getFees

      public FeeSelector getFees()
    • setFees

      public W2WServiceTerms setFees(FeeSelector fees)
    • unsetFees

      public void unsetFees()
    • isSetFees

      public boolean isSetFees()
      Returns true if field fees is set (has been assigned a value) and false otherwise
    • setFeesIsSet

      public void setFeesIsSet(boolean value)
    • setFieldValue

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

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

      public boolean isSet(W2WServiceTerms._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<W2WServiceTerms,W2WServiceTerms._Fields>
    • equals

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

      public boolean equals(W2WServiceTerms that)
    • hashCode

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

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

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

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

      public Map<W2WServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<W2WServiceTerms,W2WServiceTerms._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