Package dev.vality.fistful.account
Class Account
java.lang.Object
dev.vality.fistful.account.Account
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Account>,org.apache.thrift.TBase<Account,Account._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class Account
extends Object
implements org.apache.thrift.TBase<Account,Account._Fields>, Serializable, Cloneable, Comparable<Account>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccount._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description longaccounter_account_idCurrencyRefcurrencyStringidStringidentitystatic Map<Account._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(Account other)AccountdeepCopy()booleanequals(Account that)booleanequals(Object that)Account._FieldsfieldForId(int fieldId)longgetAccounterAccountId()CurrencyRefgetCurrency()Map<Account._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Account._Fields[]getFields()ObjectgetFieldValue(Account._Fields field)StringgetId()StringgetIdentity()inthashCode()booleanisSet(Account._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAccounterAccountId()Returns true if field accounter_account_id is set (has been assigned a value) and false otherwisebooleanisSetCurrency()Returns true if field currency is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetIdentity()Returns true if field identity is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)AccountsetAccounterAccountId(long accounter_account_id)voidsetAccounterAccountIdIsSet(boolean value)AccountsetCurrency(CurrencyRef currency)voidsetCurrencyIsSet(boolean value)voidsetFieldValue(Account._Fields field, Object value)AccountsetId(String id)AccountsetIdentity(String identity)voidsetIdentityIsSet(boolean value)voidsetIdIsSet(boolean value)StringtoString()voidunsetAccounterAccountId()voidunsetCurrency()voidunsetId()voidunsetIdentity()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
identity
-
currency
-
accounter_account_id
public long accounter_account_id -
metaDataMap
-
-
Constructor Details
-
Account
public Account() -
Account
-
Account
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Account,Account._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Account,Account._Fields>
-
getId
-
setId
-
unsetId
public void unsetId() -
isSetId
public boolean isSetId()Returns true if field id is set (has been assigned a value) and false otherwise -
setIdIsSet
public void setIdIsSet(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) -
getCurrency
-
setCurrency
-
unsetCurrency
public void unsetCurrency() -
isSetCurrency
public boolean isSetCurrency()Returns true if field currency is set (has been assigned a value) and false otherwise -
setCurrencyIsSet
public void setCurrencyIsSet(boolean value) -
getAccounterAccountId
public long getAccounterAccountId() -
setAccounterAccountId
-
unsetAccounterAccountId
public void unsetAccounterAccountId() -
isSetAccounterAccountId
public boolean isSetAccounterAccountId()Returns true if field accounter_account_id is set (has been assigned a value) and false otherwise -
setAccounterAccountIdIsSet
public void setAccounterAccountIdIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Account,Account._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Account,Account._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<Account,Account._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Account>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Account,Account._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<Account,Account._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<Account,Account._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
-