Package dev.vality.fistful.fistful_stat
Class StatDeposit
java.lang.Object
dev.vality.fistful.fistful_stat.StatDeposit
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<StatDeposit>,org.apache.thrift.TBase<StatDeposit,StatDeposit._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class StatDeposit
extends Object
implements org.apache.thrift.TBase<StatDeposit,StatDeposit._Fields>, Serializable, Cloneable, Comparable<StatDeposit>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatDeposit._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description longamountStringcreated_atStringcurrency_symbolic_codeStringdestination_idlongfeeStringidStringidentity_idstatic Map<StatDeposit._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapRevertStatusrevert_statusStringsource_idDepositStatusstatus -
Constructor Summary
Constructors Constructor Description StatDeposit()StatDeposit(StatDeposit other)Performs a deep copy on other.StatDeposit(String id, String created_at, String identity_id, String destination_id, String source_id, long amount, long fee, String currency_symbolic_code, DepositStatus status) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(StatDeposit other)StatDepositdeepCopy()booleanequals(StatDeposit that)booleanequals(Object that)StatDeposit._FieldsfieldForId(int fieldId)longgetAmount()StringgetCreatedAt()StringgetCurrencySymbolicCode()StringgetDestinationId()longgetFee()Map<StatDeposit._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()StatDeposit._Fields[]getFields()ObjectgetFieldValue(StatDeposit._Fields field)StringgetId()StringgetIdentityId()RevertStatusgetRevertStatus()StringgetSourceId()DepositStatusgetStatus()inthashCode()booleanisSet(StatDeposit._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAmount()Returns true if field amount is set (has been assigned a value) and false otherwisebooleanisSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwisebooleanisSetCurrencySymbolicCode()Returns true if field currency_symbolic_code is set (has been assigned a value) and false otherwisebooleanisSetDestinationId()Returns true if field destination_id is set (has been assigned a value) and false otherwisebooleanisSetFee()Returns true if field fee is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetIdentityId()Returns true if field identity_id is set (has been assigned a value) and false otherwisebooleanisSetRevertStatus()Returns true if field revert_status is set (has been assigned a value) and false otherwisebooleanisSetSourceId()Returns true if field source_id is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)StatDepositsetAmount(long amount)voidsetAmountIsSet(boolean value)StatDepositsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)StatDepositsetCurrencySymbolicCode(String currency_symbolic_code)voidsetCurrencySymbolicCodeIsSet(boolean value)StatDepositsetDestinationId(String destination_id)voidsetDestinationIdIsSet(boolean value)StatDepositsetFee(long fee)voidsetFeeIsSet(boolean value)voidsetFieldValue(StatDeposit._Fields field, Object value)StatDepositsetId(String id)StatDepositsetIdentityId(String identity_id)voidsetIdentityIdIsSet(boolean value)voidsetIdIsSet(boolean value)StatDepositsetRevertStatus(RevertStatus revert_status)voidsetRevertStatusIsSet(boolean value)StatDepositsetSourceId(String source_id)voidsetSourceIdIsSet(boolean value)StatDepositsetStatus(DepositStatus status)voidsetStatusIsSet(boolean value)StringtoString()voidunsetAmount()voidunsetCreatedAt()voidunsetCurrencySymbolicCode()voidunsetDestinationId()voidunsetFee()voidunsetId()voidunsetIdentityId()voidunsetRevertStatus()voidunsetSourceId()voidunsetStatus()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
created_at
-
identity_id
-
destination_id
-
source_id
-
amount
public long amount -
fee
public long fee -
currency_symbolic_code
-
status
-
revert_status
-
metaDataMap
-
-
Constructor Details
-
StatDeposit
public StatDeposit() -
StatDeposit
-
StatDeposit
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<StatDeposit,StatDeposit._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<StatDeposit,StatDeposit._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) -
getCreatedAt
-
setCreatedAt
-
unsetCreatedAt
public void unsetCreatedAt() -
isSetCreatedAt
public boolean isSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwise -
setCreatedAtIsSet
public void setCreatedAtIsSet(boolean value) -
getIdentityId
-
setIdentityId
-
unsetIdentityId
public void unsetIdentityId() -
isSetIdentityId
public boolean isSetIdentityId()Returns true if field identity_id is set (has been assigned a value) and false otherwise -
setIdentityIdIsSet
public void setIdentityIdIsSet(boolean value) -
getDestinationId
-
setDestinationId
-
unsetDestinationId
public void unsetDestinationId() -
isSetDestinationId
public boolean isSetDestinationId()Returns true if field destination_id is set (has been assigned a value) and false otherwise -
setDestinationIdIsSet
public void setDestinationIdIsSet(boolean value) -
getSourceId
-
setSourceId
-
unsetSourceId
public void unsetSourceId() -
isSetSourceId
public boolean isSetSourceId()Returns true if field source_id is set (has been assigned a value) and false otherwise -
setSourceIdIsSet
public void setSourceIdIsSet(boolean value) -
getAmount
public long getAmount() -
setAmount
-
unsetAmount
public void unsetAmount() -
isSetAmount
public boolean isSetAmount()Returns true if field amount is set (has been assigned a value) and false otherwise -
setAmountIsSet
public void setAmountIsSet(boolean value) -
getFee
public long getFee() -
setFee
-
unsetFee
public void unsetFee() -
isSetFee
public boolean isSetFee()Returns true if field fee is set (has been assigned a value) and false otherwise -
setFeeIsSet
public void setFeeIsSet(boolean value) -
getCurrencySymbolicCode
-
setCurrencySymbolicCode
-
unsetCurrencySymbolicCode
public void unsetCurrencySymbolicCode() -
isSetCurrencySymbolicCode
public boolean isSetCurrencySymbolicCode()Returns true if field currency_symbolic_code is set (has been assigned a value) and false otherwise -
setCurrencySymbolicCodeIsSet
public void setCurrencySymbolicCodeIsSet(boolean value) -
getStatus
-
setStatus
-
unsetStatus
public void unsetStatus() -
isSetStatus
public boolean isSetStatus()Returns true if field status is set (has been assigned a value) and false otherwise -
setStatusIsSet
public void setStatusIsSet(boolean value) -
getRevertStatus
-
setRevertStatus
-
unsetRevertStatus
public void unsetRevertStatus() -
isSetRevertStatus
public boolean isSetRevertStatus()Returns true if field revert_status is set (has been assigned a value) and false otherwise -
setRevertStatusIsSet
public void setRevertStatusIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<StatDeposit,StatDeposit._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<StatDeposit,StatDeposit._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<StatDeposit,StatDeposit._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<StatDeposit>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<StatDeposit,StatDeposit._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<StatDeposit,StatDeposit._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<StatDeposit,StatDeposit._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
-