Package dev.vality.fistful.withdrawal
Class QuoteParams
java.lang.Object
dev.vality.fistful.withdrawal.QuoteParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QuoteParams>,org.apache.thrift.TBase<QuoteParams,QuoteParams._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class QuoteParams
extends Object
implements org.apache.thrift.TBase<QuoteParams,QuoteParams._Fields>, Serializable, Cloneable, Comparable<QuoteParams>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuoteParams._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CashbodyCurrencyRefcurrency_fromCurrencyRefcurrency_toStringdestination_idStringexternal_idstatic Map<QuoteParams._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringwallet_id -
Constructor Summary
Constructors Constructor Description QuoteParams()QuoteParams(QuoteParams other)Performs a deep copy on other.QuoteParams(String wallet_id, CurrencyRef currency_from, CurrencyRef currency_to, Cash body) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(QuoteParams other)QuoteParamsdeepCopy()booleanequals(QuoteParams that)booleanequals(Object that)QuoteParams._FieldsfieldForId(int fieldId)CashgetBody()CurrencyRefgetCurrencyFrom()CurrencyRefgetCurrencyTo()StringgetDestinationId()StringgetExternalId()Map<QuoteParams._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()QuoteParams._Fields[]getFields()ObjectgetFieldValue(QuoteParams._Fields field)StringgetWalletId()inthashCode()booleanisSet(QuoteParams._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 otherwisebooleanisSetCurrencyFrom()Returns true if field currency_from is set (has been assigned a value) and false otherwisebooleanisSetCurrencyTo()Returns true if field currency_to 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 otherwisebooleanisSetWalletId()Returns true if field wallet_id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)QuoteParamssetBody(Cash body)voidsetBodyIsSet(boolean value)QuoteParamssetCurrencyFrom(CurrencyRef currency_from)voidsetCurrencyFromIsSet(boolean value)QuoteParamssetCurrencyTo(CurrencyRef currency_to)voidsetCurrencyToIsSet(boolean value)QuoteParamssetDestinationId(String destination_id)voidsetDestinationIdIsSet(boolean value)QuoteParamssetExternalId(String external_id)voidsetExternalIdIsSet(boolean value)voidsetFieldValue(QuoteParams._Fields field, Object value)QuoteParamssetWalletId(String wallet_id)voidsetWalletIdIsSet(boolean value)StringtoString()voidunsetBody()voidunsetCurrencyFrom()voidunsetCurrencyTo()voidunsetDestinationId()voidunsetExternalId()voidunsetWalletId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
wallet_id
-
currency_from
-
currency_to
-
body
-
destination_id
-
external_id
-
metaDataMap
-
-
Constructor Details
-
QuoteParams
public QuoteParams() -
QuoteParams
public QuoteParams(String wallet_id, CurrencyRef currency_from, CurrencyRef currency_to, Cash body) -
QuoteParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<QuoteParams,QuoteParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<QuoteParams,QuoteParams._Fields>
-
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) -
getCurrencyFrom
-
setCurrencyFrom
-
unsetCurrencyFrom
public void unsetCurrencyFrom() -
isSetCurrencyFrom
public boolean isSetCurrencyFrom()Returns true if field currency_from is set (has been assigned a value) and false otherwise -
setCurrencyFromIsSet
public void setCurrencyFromIsSet(boolean value) -
getCurrencyTo
-
setCurrencyTo
-
unsetCurrencyTo
public void unsetCurrencyTo() -
isSetCurrencyTo
public boolean isSetCurrencyTo()Returns true if field currency_to is set (has been assigned a value) and false otherwise -
setCurrencyToIsSet
public void setCurrencyToIsSet(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) -
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) -
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) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<QuoteParams,QuoteParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<QuoteParams,QuoteParams._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<QuoteParams,QuoteParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<QuoteParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<QuoteParams,QuoteParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<QuoteParams,QuoteParams._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<QuoteParams,QuoteParams._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
-