Package dev.vality.fistful.w2w_transfer
Class W2WTransfer
java.lang.Object
dev.vality.fistful.w2w_transfer.W2WTransfer
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<W2WTransfer>,org.apache.thrift.TBase<W2WTransfer,W2WTransfer._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class W2WTransfer
extends Object
implements org.apache.thrift.TBase<W2WTransfer,W2WTransfer._Fields>, Serializable, Cloneable, Comparable<W2WTransfer>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classW2WTransfer._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CashbodyStringcreated_atlongdomain_revisionStringexternal_idStringidMap<String,Value>metadatastatic Map<W2WTransfer._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongparty_revisionStatusstatusStringwallet_from_idStringwallet_to_id -
Constructor Summary
Constructors Constructor Description W2WTransfer()W2WTransfer(W2WTransfer other)Performs a deep copy on other.W2WTransfer(String id, String wallet_from_id, String wallet_to_id, Cash body, String created_at, long domain_revision, long party_revision) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(W2WTransfer other)W2WTransferdeepCopy()booleanequals(W2WTransfer that)booleanequals(Object that)W2WTransfer._FieldsfieldForId(int fieldId)CashgetBody()StringgetCreatedAt()longgetDomainRevision()StringgetExternalId()Map<W2WTransfer._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()W2WTransfer._Fields[]getFields()ObjectgetFieldValue(W2WTransfer._Fields field)StringgetId()Map<String,Value>getMetadata()intgetMetadataSize()longgetPartyRevision()StatusgetStatus()StringgetWalletFromId()StringgetWalletToId()inthashCode()booleanisSet(W2WTransfer._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetBody()Returns true if field body 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 otherwisebooleanisSetDomainRevision()Returns true if field domain_revision is set (has been assigned a value) and false otherwisebooleanisSetExternalId()Returns true if field external_id is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetMetadata()Returns true if field metadata is set (has been assigned a value) and false otherwisebooleanisSetPartyRevision()Returns true if field party_revision is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisebooleanisSetWalletFromId()Returns true if field wallet_from_id is set (has been assigned a value) and false otherwisebooleanisSetWalletToId()Returns true if field wallet_to_id is set (has been assigned a value) and false otherwisevoidputToMetadata(String key, Value val)voidread(org.apache.thrift.protocol.TProtocol iprot)W2WTransfersetBody(Cash body)voidsetBodyIsSet(boolean value)W2WTransfersetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)W2WTransfersetDomainRevision(long domain_revision)voidsetDomainRevisionIsSet(boolean value)W2WTransfersetExternalId(String external_id)voidsetExternalIdIsSet(boolean value)voidsetFieldValue(W2WTransfer._Fields field, Object value)W2WTransfersetId(String id)voidsetIdIsSet(boolean value)W2WTransfersetMetadata(Map<String,Value> metadata)voidsetMetadataIsSet(boolean value)W2WTransfersetPartyRevision(long party_revision)voidsetPartyRevisionIsSet(boolean value)W2WTransfersetStatus(Status status)voidsetStatusIsSet(boolean value)W2WTransfersetWalletFromId(String wallet_from_id)voidsetWalletFromIdIsSet(boolean value)W2WTransfersetWalletToId(String wallet_to_id)voidsetWalletToIdIsSet(boolean value)StringtoString()voidunsetBody()voidunsetCreatedAt()voidunsetDomainRevision()voidunsetExternalId()voidunsetId()voidunsetMetadata()voidunsetPartyRevision()voidunsetStatus()voidunsetWalletFromId()voidunsetWalletToId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
wallet_from_id
-
wallet_to_id
-
body
-
created_at
-
domain_revision
public long domain_revision -
party_revision
public long party_revision -
status
-
external_id
-
metadata
-
metaDataMap
-
-
Constructor Details
-
W2WTransfer
public W2WTransfer() -
W2WTransfer
-
W2WTransfer
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<W2WTransfer,W2WTransfer._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<W2WTransfer,W2WTransfer._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) -
getWalletFromId
-
setWalletFromId
-
unsetWalletFromId
public void unsetWalletFromId() -
isSetWalletFromId
public boolean isSetWalletFromId()Returns true if field wallet_from_id is set (has been assigned a value) and false otherwise -
setWalletFromIdIsSet
public void setWalletFromIdIsSet(boolean value) -
getWalletToId
-
setWalletToId
-
unsetWalletToId
public void unsetWalletToId() -
isSetWalletToId
public boolean isSetWalletToId()Returns true if field wallet_to_id is set (has been assigned a value) and false otherwise -
setWalletToIdIsSet
public void setWalletToIdIsSet(boolean value) -
getBody
-
setBody
-
unsetBody
public void unsetBody() -
isSetBody
public boolean isSetBody()Returns true if field body is set (has been assigned a value) and false otherwise -
setBodyIsSet
public void setBodyIsSet(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) -
getDomainRevision
public long getDomainRevision() -
setDomainRevision
-
unsetDomainRevision
public void unsetDomainRevision() -
isSetDomainRevision
public boolean isSetDomainRevision()Returns true if field domain_revision is set (has been assigned a value) and false otherwise -
setDomainRevisionIsSet
public void setDomainRevisionIsSet(boolean value) -
getPartyRevision
public long getPartyRevision() -
setPartyRevision
-
unsetPartyRevision
public void unsetPartyRevision() -
isSetPartyRevision
public boolean isSetPartyRevision()Returns true if field party_revision is set (has been assigned a value) and false otherwise -
setPartyRevisionIsSet
public void setPartyRevisionIsSet(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) -
getExternalId
-
setExternalId
-
unsetExternalId
public void unsetExternalId() -
isSetExternalId
public boolean isSetExternalId()Returns true if field external_id is set (has been assigned a value) and false otherwise -
setExternalIdIsSet
public void setExternalIdIsSet(boolean value) -
getMetadataSize
public int getMetadataSize() -
putToMetadata
-
getMetadata
-
setMetadata
-
unsetMetadata
public void unsetMetadata() -
isSetMetadata
public boolean isSetMetadata()Returns true if field metadata is set (has been assigned a value) and false otherwise -
setMetadataIsSet
public void setMetadataIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<W2WTransfer,W2WTransfer._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<W2WTransfer,W2WTransfer._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<W2WTransfer,W2WTransfer._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<W2WTransfer>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<W2WTransfer,W2WTransfer._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<W2WTransfer,W2WTransfer._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<W2WTransfer,W2WTransfer._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
-