Class Provider

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

@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
           date="2022-10-25")
public class Provider
extends Object
implements org.apache.thrift.TBase<Provider,​Provider._Fields>, Serializable, Cloneable, Comparable<Provider>
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • Provider

      public Provider()
    • Provider

      public Provider​(String name, String description, Proxy proxy)
    • Provider

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

    • deepCopy

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

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

      public String getName()
    • setName

      public Provider setName​(String name)
    • unsetName

      public void unsetName()
    • isSetName

      public boolean isSetName()
      Returns true if field name is set (has been assigned a value) and false otherwise
    • setNameIsSet

      public void setNameIsSet​(boolean value)
    • getDescription

      public String getDescription()
    • setDescription

      public Provider setDescription​(String description)
    • unsetDescription

      public void unsetDescription()
    • isSetDescription

      public boolean isSetDescription()
      Returns true if field description is set (has been assigned a value) and false otherwise
    • setDescriptionIsSet

      public void setDescriptionIsSet​(boolean value)
    • getProxy

      public Proxy getProxy()
    • setProxy

      public Provider setProxy​(Proxy proxy)
    • unsetProxy

      public void unsetProxy()
    • isSetProxy

      public boolean isSetProxy()
      Returns true if field proxy is set (has been assigned a value) and false otherwise
    • setProxyIsSet

      public void setProxyIsSet​(boolean value)
    • getIdentity

      public String getIdentity()
    • setIdentity

      public Provider setIdentity​(String identity)
    • unsetIdentity

      public void unsetIdentity()
    • isSetIdentity

      public boolean isSetIdentity()
      Returns true if field identity is set (has been assigned a value) and false otherwise
    • setIdentityIsSet

      public void setIdentityIsSet​(boolean value)
    • getAccountsSize

      public int getAccountsSize()
    • putToAccounts

      public void putToAccounts​(CurrencyRef key, ProviderAccount val)
    • getAccounts

      public Map<CurrencyRef,​ProviderAccount> getAccounts()
    • setAccounts

      public Provider setAccounts​(Map<CurrencyRef,​ProviderAccount> accounts)
    • unsetAccounts

      public void unsetAccounts()
    • isSetAccounts

      public boolean isSetAccounts()
      Returns true if field accounts is set (has been assigned a value) and false otherwise
    • setAccountsIsSet

      public void setAccountsIsSet​(boolean value)
    • getTerms

      public ProvisionTermSet getTerms()
    • setTerms

      public Provider setTerms​(ProvisionTermSet terms)
    • unsetTerms

      public void unsetTerms()
    • isSetTerms

      public boolean isSetTerms()
      Returns true if field terms is set (has been assigned a value) and false otherwise
    • setTermsIsSet

      public void setTermsIsSet​(boolean value)
    • getParamsSchemaSize

      public int getParamsSchemaSize()
    • getParamsSchemaIterator

      public Iterator<ProviderParameter> getParamsSchemaIterator()
    • addToParamsSchema

      public void addToParamsSchema​(ProviderParameter elem)
    • getParamsSchema

      public List<ProviderParameter> getParamsSchema()
    • setParamsSchema

      public Provider setParamsSchema​(List<ProviderParameter> params_schema)
    • unsetParamsSchema

      public void unsetParamsSchema()
    • isSetParamsSchema

      public boolean isSetParamsSchema()
      Returns true if field params_schema is set (has been assigned a value) and false otherwise
    • setParamsSchemaIsSet

      public void setParamsSchemaIsSet​(boolean value)
    • getAbsAccount

      public String getAbsAccount()
    • setAbsAccount

      public Provider setAbsAccount​(String abs_account)
    • unsetAbsAccount

      public void unsetAbsAccount()
    • isSetAbsAccount

      public boolean isSetAbsAccount()
      Returns true if field abs_account is set (has been assigned a value) and false otherwise
    • setAbsAccountIsSet

      public void setAbsAccountIsSet​(boolean value)
    • getPaymentTerms

      public PaymentsProvisionTerms getPaymentTerms()
    • setPaymentTerms

      public Provider setPaymentTerms​(PaymentsProvisionTerms payment_terms)
    • unsetPaymentTerms

      public void unsetPaymentTerms()
    • isSetPaymentTerms

      public boolean isSetPaymentTerms()
      Returns true if field payment_terms is set (has been assigned a value) and false otherwise
    • setPaymentTermsIsSet

      public void setPaymentTermsIsSet​(boolean value)
    • getRecurrentPaytoolTerms

      public RecurrentPaytoolsProvisionTerms getRecurrentPaytoolTerms()
    • setRecurrentPaytoolTerms

      public Provider setRecurrentPaytoolTerms​(RecurrentPaytoolsProvisionTerms recurrent_paytool_terms)
    • unsetRecurrentPaytoolTerms

      public void unsetRecurrentPaytoolTerms()
    • isSetRecurrentPaytoolTerms

      public boolean isSetRecurrentPaytoolTerms()
      Returns true if field recurrent_paytool_terms is set (has been assigned a value) and false otherwise
    • setRecurrentPaytoolTermsIsSet

      public void setRecurrentPaytoolTermsIsSet​(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals​(Provider that)
    • hashCode

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

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

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

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

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