Package dev.vality.fistful.withdrawal
Class WithdrawalParams
java.lang.Object
dev.vality.fistful.withdrawal.WithdrawalParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<WithdrawalParams>,org.apache.thrift.TBase<WithdrawalParams,WithdrawalParams._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class WithdrawalParams
extends Object
implements org.apache.thrift.TBase<WithdrawalParams,WithdrawalParams._Fields>, Serializable, Cloneable, Comparable<WithdrawalParams>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWithdrawalParams._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CashbodyStringdestination_idStringexternal_idStringidMap<String,Value>metadatastatic Map<WithdrawalParams._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapQuotequoteStringwallet_id -
Constructor Summary
Constructors Constructor Description WithdrawalParams()WithdrawalParams(WithdrawalParams other)Performs a deep copy on other.WithdrawalParams(String id, String wallet_id, String destination_id, Cash body) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(WithdrawalParams other)WithdrawalParamsdeepCopy()booleanequals(WithdrawalParams that)booleanequals(Object that)WithdrawalParams._FieldsfieldForId(int fieldId)CashgetBody()StringgetDestinationId()StringgetExternalId()Map<WithdrawalParams._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()WithdrawalParams._Fields[]getFields()ObjectgetFieldValue(WithdrawalParams._Fields field)StringgetId()Map<String,Value>getMetadata()intgetMetadataSize()QuotegetQuote()StringgetWalletId()inthashCode()booleanisSet(WithdrawalParams._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 otherwisebooleanisSetDestinationId()Returns true if field destination_id 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 otherwisebooleanisSetQuote()Returns true if field quote is set (has been assigned a value) and false otherwisebooleanisSetWalletId()Returns true if field wallet_id is set (has been assigned a value) and false otherwisevoidputToMetadata(String key, Value val)voidread(org.apache.thrift.protocol.TProtocol iprot)WithdrawalParamssetBody(Cash body)voidsetBodyIsSet(boolean value)WithdrawalParamssetDestinationId(String destination_id)voidsetDestinationIdIsSet(boolean value)WithdrawalParamssetExternalId(String external_id)voidsetExternalIdIsSet(boolean value)voidsetFieldValue(WithdrawalParams._Fields field, Object value)WithdrawalParamssetId(String id)voidsetIdIsSet(boolean value)WithdrawalParamssetMetadata(Map<String,Value> metadata)voidsetMetadataIsSet(boolean value)WithdrawalParamssetQuote(Quote quote)voidsetQuoteIsSet(boolean value)WithdrawalParamssetWalletId(String wallet_id)voidsetWalletIdIsSet(boolean value)StringtoString()voidunsetBody()voidunsetDestinationId()voidunsetExternalId()voidunsetId()voidunsetMetadata()voidunsetQuote()voidunsetWalletId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
wallet_id
-
destination_id
-
body
-
external_id
-
quote
-
metadata
-
metaDataMap
public static final Map<WithdrawalParams._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
WithdrawalParams
public WithdrawalParams() -
WithdrawalParams
-
WithdrawalParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<WithdrawalParams,WithdrawalParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<WithdrawalParams,WithdrawalParams._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) -
getWalletId
-
setWalletId
-
unsetWalletId
public void unsetWalletId() -
isSetWalletId
public boolean isSetWalletId()Returns true if field wallet_id is set (has been assigned a value) and false otherwise -
setWalletIdIsSet
public void setWalletIdIsSet(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) -
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) -
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) -
getQuote
-
setQuote
-
unsetQuote
public void unsetQuote() -
isSetQuote
public boolean isSetQuote()Returns true if field quote is set (has been assigned a value) and false otherwise -
setQuoteIsSet
public void setQuoteIsSet(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<WithdrawalParams,WithdrawalParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<WithdrawalParams,WithdrawalParams._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<WithdrawalParams,WithdrawalParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<WithdrawalParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<WithdrawalParams,WithdrawalParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<WithdrawalParams,WithdrawalParams._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<WithdrawalParams,WithdrawalParams._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
-