Package dev.vality.damsel.domain
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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentInstitution._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CalendarRefcalendarContractTemplateSelectordefault_contract_templateStringdescriptionStringidentityInspectorSelectorinspectorstatic Map<PaymentInstitution._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnameRoutingRulespayment_routing_rulesPaymentSystemSelectorpayment_systemProviderSelectorprovidersPaymentInstitutionRealmrealmSet<CountryCode>residencesSystemAccountSetSelectorsystem_account_setSystemAccountSetSelectorwallet_system_account_setRoutingRuleswithdrawal_routing_rules -
Constructor Summary
Constructors Constructor Description PaymentInstitution()PaymentInstitution(PaymentInstitution other)Performs a deep copy on other.PaymentInstitution(String name, SystemAccountSetSelector system_account_set, ContractTemplateSelector default_contract_template, InspectorSelector inspector, PaymentInstitutionRealm realm, Set<CountryCode> residences) -
Method Summary
Modifier and Type Method Description voidaddToResidences(CountryCode elem)voidclear()intcompareTo(PaymentInstitution other)PaymentInstitutiondeepCopy()booleanequals(PaymentInstitution that)booleanequals(Object that)PaymentInstitution._FieldsfieldForId(int fieldId)CalendarRefgetCalendar()ContractTemplateSelectorgetDefaultContractTemplate()StringgetDescription()Map<PaymentInstitution._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()PaymentInstitution._Fields[]getFields()ObjectgetFieldValue(PaymentInstitution._Fields field)StringgetIdentity()InspectorSelectorgetInspector()StringgetName()RoutingRulesgetPaymentRoutingRules()PaymentSystemSelectorgetPaymentSystem()ProviderSelectorgetProviders()PaymentInstitutionRealmgetRealm()Set<CountryCode>getResidences()Iterator<CountryCode>getResidencesIterator()intgetResidencesSize()SystemAccountSetSelectorgetSystemAccountSet()SystemAccountSetSelectorgetWalletSystemAccountSet()RoutingRulesgetWithdrawalRoutingRules()inthashCode()booleanisSet(PaymentInstitution._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCalendar()Returns true if field calendar is set (has been assigned a value) and false otherwisebooleanisSetDefaultContractTemplate()Returns true if field default_contract_template is set (has been assigned a value) and false otherwisebooleanisSetDescription()Returns true if field description is set (has been assigned a value) and false otherwisebooleanisSetIdentity()Returns true if field identity is set (has been assigned a value) and false otherwisebooleanisSetInspector()Returns true if field inspector is set (has been assigned a value) and false otherwisebooleanisSetName()Returns true if field name is set (has been assigned a value) and false otherwisebooleanisSetPaymentRoutingRules()Returns true if field payment_routing_rules is set (has been assigned a value) and false otherwisebooleanisSetPaymentSystem()Returns true if field payment_system is set (has been assigned a value) and false otherwisebooleanisSetProviders()Returns true if field providers is set (has been assigned a value) and false otherwisebooleanisSetRealm()Returns true if field realm is set (has been assigned a value) and false otherwisebooleanisSetResidences()Returns true if field residences is set (has been assigned a value) and false otherwisebooleanisSetSystemAccountSet()Returns true if field system_account_set is set (has been assigned a value) and false otherwisebooleanisSetWalletSystemAccountSet()Returns true if field wallet_system_account_set is set (has been assigned a value) and false otherwisebooleanisSetWithdrawalRoutingRules()Returns true if field withdrawal_routing_rules is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)PaymentInstitutionsetCalendar(CalendarRef calendar)voidsetCalendarIsSet(boolean value)PaymentInstitutionsetDefaultContractTemplate(ContractTemplateSelector default_contract_template)voidsetDefaultContractTemplateIsSet(boolean value)PaymentInstitutionsetDescription(String description)voidsetDescriptionIsSet(boolean value)voidsetFieldValue(PaymentInstitution._Fields field, Object value)PaymentInstitutionsetIdentity(String identity)voidsetIdentityIsSet(boolean value)PaymentInstitutionsetInspector(InspectorSelector inspector)voidsetInspectorIsSet(boolean value)PaymentInstitutionsetName(String name)voidsetNameIsSet(boolean value)PaymentInstitutionsetPaymentRoutingRules(RoutingRules payment_routing_rules)voidsetPaymentRoutingRulesIsSet(boolean value)PaymentInstitutionsetPaymentSystem(PaymentSystemSelector payment_system)voidsetPaymentSystemIsSet(boolean value)PaymentInstitutionsetProviders(ProviderSelector providers)voidsetProvidersIsSet(boolean value)PaymentInstitutionsetRealm(PaymentInstitutionRealm realm)voidsetRealmIsSet(boolean value)PaymentInstitutionsetResidences(Set<CountryCode> residences)voidsetResidencesIsSet(boolean value)PaymentInstitutionsetSystemAccountSet(SystemAccountSetSelector system_account_set)voidsetSystemAccountSetIsSet(boolean value)PaymentInstitutionsetWalletSystemAccountSet(SystemAccountSetSelector wallet_system_account_set)voidsetWalletSystemAccountSetIsSet(boolean value)PaymentInstitutionsetWithdrawalRoutingRules(RoutingRules withdrawal_routing_rules)voidsetWithdrawalRoutingRulesIsSet(boolean value)StringtoString()voidunsetCalendar()voidunsetDefaultContractTemplate()voidunsetDescription()voidunsetIdentity()voidunsetInspector()voidunsetName()voidunsetPaymentRoutingRules()voidunsetPaymentSystem()voidunsetProviders()voidunsetRealm()voidunsetResidences()voidunsetSystemAccountSet()voidunsetWalletSystemAccountSet()voidunsetWithdrawalRoutingRules()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
name
-
description
-
calendar
-
system_account_set
-
default_contract_template
-
inspector
-
realm
-
residences
-
wallet_system_account_set
-
identity
-
payment_routing_rules
-
withdrawal_routing_rules
-
payment_system
-
providers
-
metaDataMap
public static final Map<PaymentInstitution._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
PaymentInstitution
public PaymentInstitution() -
PaymentInstitution
public PaymentInstitution(String name, SystemAccountSetSelector system_account_set, ContractTemplateSelector default_contract_template, InspectorSelector inspector, PaymentInstitutionRealm realm, Set<CountryCode> residences) -
PaymentInstitution
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<PaymentInstitution,PaymentInstitution._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<PaymentInstitution,PaymentInstitution._Fields>
-
getName
-
setName
-
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
-
setDescription
-
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
-
setCalendar
-
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
-
setSystemAccountSet
-
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
-
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
-
setInspector
-
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
-
setRealm
-
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
-
addToResidences
-
getResidences
-
setResidences
-
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
-
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
-
setIdentity
-
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
-
setPaymentRoutingRules
-
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
-
setWithdrawalRoutingRules
-
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
-
setPaymentSystem
-
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
-
setProviders
-
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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<PaymentInstitution,PaymentInstitution._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<PaymentInstitution,PaymentInstitution._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<PaymentInstitution,PaymentInstitution._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PaymentInstitution>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<PaymentInstitution,PaymentInstitution._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<PaymentInstitution,PaymentInstitution._Fields>
-
getFieldMetaData
public Map<PaymentInstitution._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<PaymentInstitution,PaymentInstitution._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-