Class PaymentInstitution

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

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

  • Constructor Details

  • Method Details

    • deepCopy

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

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

      public String getName()
    • setName

      public PaymentInstitution 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 PaymentInstitution 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)
    • getCalendar

      public CalendarRef getCalendar()
    • setCalendar

      public PaymentInstitution setCalendar​(CalendarRef calendar)
    • unsetCalendar

      public void unsetCalendar()
    • isSetCalendar

      public boolean isSetCalendar()
      Returns true if field calendar is set (has been assigned a value) and false otherwise
    • setCalendarIsSet

      public void setCalendarIsSet​(boolean value)
    • getSystemAccountSet

      public SystemAccountSetSelector getSystemAccountSet()
    • setSystemAccountSet

      public PaymentInstitution setSystemAccountSet​(SystemAccountSetSelector system_account_set)
    • unsetSystemAccountSet

      public void unsetSystemAccountSet()
    • isSetSystemAccountSet

      public boolean isSetSystemAccountSet()
      Returns true if field system_account_set is set (has been assigned a value) and false otherwise
    • setSystemAccountSetIsSet

      public void setSystemAccountSetIsSet​(boolean value)
    • getDefaultContractTemplate

      public ContractTemplateSelector getDefaultContractTemplate()
    • setDefaultContractTemplate

      public PaymentInstitution setDefaultContractTemplate​(ContractTemplateSelector default_contract_template)
    • unsetDefaultContractTemplate

      public void unsetDefaultContractTemplate()
    • isSetDefaultContractTemplate

      public boolean isSetDefaultContractTemplate()
      Returns true if field default_contract_template is set (has been assigned a value) and false otherwise
    • setDefaultContractTemplateIsSet

      public void setDefaultContractTemplateIsSet​(boolean value)
    • getInspector

      public InspectorSelector getInspector()
    • setInspector

      public PaymentInstitution setInspector​(InspectorSelector inspector)
    • unsetInspector

      public void unsetInspector()
    • isSetInspector

      public boolean isSetInspector()
      Returns true if field inspector is set (has been assigned a value) and false otherwise
    • setInspectorIsSet

      public void setInspectorIsSet​(boolean value)
    • getRealm

      public PaymentInstitutionRealm getRealm()
    • setRealm

      public PaymentInstitution setRealm​(PaymentInstitutionRealm realm)
    • unsetRealm

      public void unsetRealm()
    • isSetRealm

      public boolean isSetRealm()
      Returns true if field realm is set (has been assigned a value) and false otherwise
    • setRealmIsSet

      public void setRealmIsSet​(boolean value)
    • getResidencesSize

      public int getResidencesSize()
    • getResidencesIterator

      public Iterator<CountryCode> getResidencesIterator()
    • addToResidences

      public void addToResidences​(CountryCode elem)
    • getResidences

      public Set<CountryCode> getResidences()
    • setResidences

      public PaymentInstitution setResidences​(Set<CountryCode> residences)
    • unsetResidences

      public void unsetResidences()
    • isSetResidences

      public boolean isSetResidences()
      Returns true if field residences is set (has been assigned a value) and false otherwise
    • setResidencesIsSet

      public void setResidencesIsSet​(boolean value)
    • getWalletSystemAccountSet

      public SystemAccountSetSelector getWalletSystemAccountSet()
    • setWalletSystemAccountSet

      public PaymentInstitution setWalletSystemAccountSet​(SystemAccountSetSelector wallet_system_account_set)
    • unsetWalletSystemAccountSet

      public void unsetWalletSystemAccountSet()
    • isSetWalletSystemAccountSet

      public boolean isSetWalletSystemAccountSet()
      Returns true if field wallet_system_account_set is set (has been assigned a value) and false otherwise
    • setWalletSystemAccountSetIsSet

      public void setWalletSystemAccountSetIsSet​(boolean value)
    • getIdentity

      public String getIdentity()
    • setIdentity

      public PaymentInstitution 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)
    • getPaymentRoutingRules

      public RoutingRules getPaymentRoutingRules()
    • setPaymentRoutingRules

      public PaymentInstitution setPaymentRoutingRules​(RoutingRules payment_routing_rules)
    • unsetPaymentRoutingRules

      public void unsetPaymentRoutingRules()
    • isSetPaymentRoutingRules

      public boolean isSetPaymentRoutingRules()
      Returns true if field payment_routing_rules is set (has been assigned a value) and false otherwise
    • setPaymentRoutingRulesIsSet

      public void setPaymentRoutingRulesIsSet​(boolean value)
    • getWithdrawalRoutingRules

      public RoutingRules getWithdrawalRoutingRules()
    • setWithdrawalRoutingRules

      public PaymentInstitution setWithdrawalRoutingRules​(RoutingRules withdrawal_routing_rules)
    • unsetWithdrawalRoutingRules

      public void unsetWithdrawalRoutingRules()
    • isSetWithdrawalRoutingRules

      public boolean isSetWithdrawalRoutingRules()
      Returns true if field withdrawal_routing_rules is set (has been assigned a value) and false otherwise
    • setWithdrawalRoutingRulesIsSet

      public void setWithdrawalRoutingRulesIsSet​(boolean value)
    • getPaymentSystem

      public PaymentSystemSelector getPaymentSystem()
    • setPaymentSystem

      public PaymentInstitution setPaymentSystem​(PaymentSystemSelector payment_system)
    • unsetPaymentSystem

      public void unsetPaymentSystem()
    • isSetPaymentSystem

      public boolean isSetPaymentSystem()
      Returns true if field payment_system is set (has been assigned a value) and false otherwise
    • setPaymentSystemIsSet

      public void setPaymentSystemIsSet​(boolean value)
    • getProviders

      public ProviderSelector getProviders()
    • setProviders

      public PaymentInstitution setProviders​(ProviderSelector providers)
    • unsetProviders

      public void unsetProviders()
    • isSetProviders

      public boolean isSetProviders()
      Returns true if field providers is set (has been assigned a value) and false otherwise
    • setProvidersIsSet

      public void setProvidersIsSet​(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals​(PaymentInstitution that)
    • hashCode

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

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

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

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

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