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.19.0)",
date="2024-08-02")
public class PaymentInstitution
extends Object
implements org.apache.thrift.TBase<PaymentInstitution,PaymentInstitution._Fields>, Serializable, Cloneable, Comparable<PaymentInstitution>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<PaymentInstitution._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPerforms 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 TypeMethodDescriptionvoidaddToResidences(CountryCode elem) voidclear()intcompareTo(PaymentInstitution other) deepCopy()booleanequals(PaymentInstitution that) booleanfieldForId(int fieldId) Map<PaymentInstitution._Fields,org.apache.thrift.meta_data.FieldMetaData> getName()getRealm()intinthashCode()booleanisSet(PaymentInstitution._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field calendar is set (has been assigned a value) and false otherwisebooleanReturns true if field default_contract_template is set (has been assigned a value) and false otherwisebooleanReturns true if field description is set (has been assigned a value) and false otherwisebooleanReturns true if field identity is set (has been assigned a value) and false otherwisebooleanReturns true if field inspector is set (has been assigned a value) and false otherwisebooleanReturns true if field name is set (has been assigned a value) and false otherwisebooleanReturns true if field payment_routing_rules is set (has been assigned a value) and false otherwisebooleanReturns true if field payment_system is set (has been assigned a value) and false otherwisebooleanReturns true if field providers is set (has been assigned a value) and false otherwisebooleanReturns true if field realm is set (has been assigned a value) and false otherwisebooleanReturns true if field residences is set (has been assigned a value) and false otherwisebooleanReturns true if field system_account_set is set (has been assigned a value) and false otherwisebooleanReturns true if field wallet_system_account_set is set (has been assigned a value) and false otherwisebooleanReturns true if field withdrawal_routing_rules is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setCalendar(CalendarRef calendar) voidsetCalendarIsSet(boolean value) setDefaultContractTemplate(ContractTemplateSelector default_contract_template) voidsetDefaultContractTemplateIsSet(boolean value) setDescription(String description) voidsetDescriptionIsSet(boolean value) voidsetFieldValue(PaymentInstitution._Fields field, Object value) setIdentity(String identity) voidsetIdentityIsSet(boolean value) setInspector(InspectorSelector inspector) voidsetInspectorIsSet(boolean value) voidsetNameIsSet(boolean value) setPaymentRoutingRules(RoutingRules payment_routing_rules) voidsetPaymentRoutingRulesIsSet(boolean value) setPaymentSystem(PaymentSystemSelector payment_system) voidsetPaymentSystemIsSet(boolean value) setProviders(ProviderSelector providers) voidsetProvidersIsSet(boolean value) setRealm(PaymentInstitutionRealm realm) voidsetRealmIsSet(boolean value) setResidences(Set<CountryCode> residences) voidsetResidencesIsSet(boolean value) setSystemAccountSet(SystemAccountSetSelector system_account_set) voidsetSystemAccountSetIsSet(boolean value) setWalletSystemAccountSet(SystemAccountSetSelector wallet_system_account_set) voidsetWalletSystemAccountSetIsSet(boolean value) setWithdrawalRoutingRules(RoutingRules withdrawal_routing_rules) voidsetWithdrawalRoutingRulesIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
name
-
description
-
calendar
-
system_account_set
-
default_contract_template
-
inspector
-
realm
- See Also:
-
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
- See Also:
-
setRealm
- See Also:
-
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
- 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
-