Package dev.vality.damsel.domain
Class PaymentSystem
java.lang.Object
dev.vality.damsel.domain.PaymentSystem
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<PaymentSystem>,org.apache.thrift.TBase<PaymentSystem,PaymentSystem._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class PaymentSystem
extends Object
implements org.apache.thrift.TBase<PaymentSystem,PaymentSystem._Fields>, Serializable, Cloneable, Comparable<PaymentSystem>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentSystem._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description Stringdescriptionstatic Map<PaymentSystem._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnameSet<PaymentCardValidationRule>validation_rules -
Constructor Summary
Constructors Constructor Description PaymentSystem()PaymentSystem(PaymentSystem other)Performs a deep copy on other.PaymentSystem(String name) -
Method Summary
Modifier and Type Method Description voidaddToValidationRules(PaymentCardValidationRule elem)voidclear()intcompareTo(PaymentSystem other)PaymentSystemdeepCopy()booleanequals(PaymentSystem that)booleanequals(Object that)PaymentSystem._FieldsfieldForId(int fieldId)StringgetDescription()Map<PaymentSystem._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()PaymentSystem._Fields[]getFields()ObjectgetFieldValue(PaymentSystem._Fields field)StringgetName()Set<PaymentCardValidationRule>getValidationRules()Iterator<PaymentCardValidationRule>getValidationRulesIterator()intgetValidationRulesSize()inthashCode()booleanisSet(PaymentSystem._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetDescription()Returns true if field description is set (has been assigned a value) and false otherwisebooleanisSetName()Returns true if field name is set (has been assigned a value) and false otherwisebooleanisSetValidationRules()Returns true if field validation_rules is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)PaymentSystemsetDescription(String description)voidsetDescriptionIsSet(boolean value)voidsetFieldValue(PaymentSystem._Fields field, Object value)PaymentSystemsetName(String name)voidsetNameIsSet(boolean value)PaymentSystemsetValidationRules(Set<PaymentCardValidationRule> validation_rules)voidsetValidationRulesIsSet(boolean value)StringtoString()voidunsetDescription()voidunsetName()voidunsetValidationRules()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
name
-
description
-
validation_rules
-
metaDataMap
public static final Map<PaymentSystem._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
PaymentSystem
public PaymentSystem() -
PaymentSystem
-
PaymentSystem
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<PaymentSystem,PaymentSystem._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<PaymentSystem,PaymentSystem._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) -
getValidationRulesSize
public int getValidationRulesSize() -
getValidationRulesIterator
-
addToValidationRules
-
getValidationRules
-
setValidationRules
-
unsetValidationRules
public void unsetValidationRules() -
isSetValidationRules
public boolean isSetValidationRules()Returns true if field validation_rules is set (has been assigned a value) and false otherwise -
setValidationRulesIsSet
public void setValidationRulesIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<PaymentSystem,PaymentSystem._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<PaymentSystem,PaymentSystem._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<PaymentSystem,PaymentSystem._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PaymentSystem>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<PaymentSystem,PaymentSystem._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<PaymentSystem,PaymentSystem._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<PaymentSystem,PaymentSystem._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
-