Package dev.vality.fistful.w2w_transfer
Class W2WTransferState
java.lang.Object
dev.vality.fistful.w2w_transfer.W2WTransferState
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<W2WTransferState>,org.apache.thrift.TBase<W2WTransferState,W2WTransferState._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class W2WTransferState
extends Object
implements org.apache.thrift.TBase<W2WTransferState,W2WTransferState._Fields>, Serializable, Cloneable, Comparable<W2WTransferState>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classW2WTransferState._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description List<AdjustmentState>adjustmentsПеречень корректировокCashbodyMap<String,Value>contextКонтекст операции заданный при её стартеStringcreated_atlongdomain_revisionFinalCashFloweffective_final_cash_flowНабор проводок, который отражает предполагаемое движение денег между счетами.Stringexternal_idStringidMap<String,Value>metadatastatic Map<W2WTransferState._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongparty_revisionStatusstatusStringwallet_from_idStringwallet_to_id -
Constructor Summary
Constructors Constructor Description W2WTransferState()W2WTransferState(W2WTransferState other)Performs a deep copy on other.W2WTransferState(String id, String wallet_from_id, String wallet_to_id, Cash body, String created_at, long domain_revision, long party_revision, Map<String,Value> context, FinalCashFlow effective_final_cash_flow, List<AdjustmentState> adjustments) -
Method Summary
Modifier and Type Method Description voidaddToAdjustments(AdjustmentState elem)voidclear()intcompareTo(W2WTransferState other)W2WTransferStatedeepCopy()booleanequals(W2WTransferState that)booleanequals(Object that)W2WTransferState._FieldsfieldForId(int fieldId)List<AdjustmentState>getAdjustments()Перечень корректировокIterator<AdjustmentState>getAdjustmentsIterator()intgetAdjustmentsSize()CashgetBody()Map<String,Value>getContext()Контекст операции заданный при её стартеintgetContextSize()StringgetCreatedAt()longgetDomainRevision()FinalCashFlowgetEffectiveFinalCashFlow()Набор проводок, который отражает предполагаемое движение денег между счетами.StringgetExternalId()Map<W2WTransferState._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()W2WTransferState._Fields[]getFields()ObjectgetFieldValue(W2WTransferState._Fields field)StringgetId()Map<String,Value>getMetadata()intgetMetadataSize()longgetPartyRevision()StatusgetStatus()StringgetWalletFromId()StringgetWalletToId()inthashCode()booleanisSet(W2WTransferState._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAdjustments()Returns true if field adjustments is set (has been assigned a value) and false otherwisebooleanisSetBody()Returns true if field body is set (has been assigned a value) and false otherwisebooleanisSetContext()Returns true if field context 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 otherwisebooleanisSetEffectiveFinalCashFlow()Returns true if field effective_final_cash_flow 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 otherwisevoidputToContext(String key, Value val)voidputToMetadata(String key, Value val)voidread(org.apache.thrift.protocol.TProtocol iprot)W2WTransferStatesetAdjustments(List<AdjustmentState> adjustments)Перечень корректировокvoidsetAdjustmentsIsSet(boolean value)W2WTransferStatesetBody(Cash body)voidsetBodyIsSet(boolean value)W2WTransferStatesetContext(Map<String,Value> context)Контекст операции заданный при её стартеvoidsetContextIsSet(boolean value)W2WTransferStatesetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)W2WTransferStatesetDomainRevision(long domain_revision)voidsetDomainRevisionIsSet(boolean value)W2WTransferStatesetEffectiveFinalCashFlow(FinalCashFlow effective_final_cash_flow)Набор проводок, который отражает предполагаемое движение денег между счетами.voidsetEffectiveFinalCashFlowIsSet(boolean value)W2WTransferStatesetExternalId(String external_id)voidsetExternalIdIsSet(boolean value)voidsetFieldValue(W2WTransferState._Fields field, Object value)W2WTransferStatesetId(String id)voidsetIdIsSet(boolean value)W2WTransferStatesetMetadata(Map<String,Value> metadata)voidsetMetadataIsSet(boolean value)W2WTransferStatesetPartyRevision(long party_revision)voidsetPartyRevisionIsSet(boolean value)W2WTransferStatesetStatus(Status status)voidsetStatusIsSet(boolean value)W2WTransferStatesetWalletFromId(String wallet_from_id)voidsetWalletFromIdIsSet(boolean value)W2WTransferStatesetWalletToId(String wallet_to_id)voidsetWalletToIdIsSet(boolean value)StringtoString()voidunsetAdjustments()voidunsetBody()voidunsetContext()voidunsetCreatedAt()voidunsetDomainRevision()voidunsetEffectiveFinalCashFlow()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
-
context
Контекст операции заданный при её старте -
effective_final_cash_flow
Набор проводок, который отражает предполагаемое движение денег между счетами. Может меняться в процессе прохождения операции или после применения корректировок. -
adjustments
Перечень корректировок -
metaDataMap
public static final Map<W2WTransferState._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
W2WTransferState
public W2WTransferState() -
W2WTransferState
-
W2WTransferState
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<W2WTransferState,W2WTransferState._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<W2WTransferState,W2WTransferState._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) -
getContextSize
public int getContextSize() -
putToContext
-
getContext
Контекст операции заданный при её старте -
setContext
Контекст операции заданный при её старте -
unsetContext
public void unsetContext() -
isSetContext
public boolean isSetContext()Returns true if field context is set (has been assigned a value) and false otherwise -
setContextIsSet
public void setContextIsSet(boolean value) -
getEffectiveFinalCashFlow
Набор проводок, который отражает предполагаемое движение денег между счетами. Может меняться в процессе прохождения операции или после применения корректировок. -
setEffectiveFinalCashFlow
Набор проводок, который отражает предполагаемое движение денег между счетами. Может меняться в процессе прохождения операции или после применения корректировок. -
unsetEffectiveFinalCashFlow
public void unsetEffectiveFinalCashFlow() -
isSetEffectiveFinalCashFlow
public boolean isSetEffectiveFinalCashFlow()Returns true if field effective_final_cash_flow is set (has been assigned a value) and false otherwise -
setEffectiveFinalCashFlowIsSet
public void setEffectiveFinalCashFlowIsSet(boolean value) -
getAdjustmentsSize
public int getAdjustmentsSize() -
getAdjustmentsIterator
-
addToAdjustments
-
getAdjustments
Перечень корректировок -
setAdjustments
Перечень корректировок -
unsetAdjustments
public void unsetAdjustments() -
isSetAdjustments
public boolean isSetAdjustments()Returns true if field adjustments is set (has been assigned a value) and false otherwise -
setAdjustmentsIsSet
public void setAdjustmentsIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<W2WTransferState,W2WTransferState._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<W2WTransferState,W2WTransferState._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<W2WTransferState,W2WTransferState._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<W2WTransferState>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<W2WTransferState,W2WTransferState._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<W2WTransferState,W2WTransferState._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<W2WTransferState,W2WTransferState._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
-