Class GetQuoteParams
java.lang.Object
dev.vality.damsel.withdrawals.provider_adapter.GetQuoteParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<GetQuoteParams>,org.apache.thrift.TBase<GetQuoteParams,GetQuoteParams._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class GetQuoteParams
extends Object
implements org.apache.thrift.TBase<GetQuoteParams,GetQuoteParams._Fields>, Serializable, Cloneable, Comparable<GetQuoteParams>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetQuoteParams._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description Currencycurrency_fromCurrencycurrency_toCashexchange_cashСумма в одной из валют обменаStringidempotency_idstatic Map<GetQuoteParams._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap -
Constructor Summary
Constructors Constructor Description GetQuoteParams()GetQuoteParams(Currency currency_from, Currency currency_to, Cash exchange_cash)GetQuoteParams(GetQuoteParams other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(GetQuoteParams other)GetQuoteParamsdeepCopy()booleanequals(GetQuoteParams that)booleanequals(Object that)GetQuoteParams._FieldsfieldForId(int fieldId)CurrencygetCurrencyFrom()CurrencygetCurrencyTo()CashgetExchangeCash()Сумма в одной из валют обменаMap<GetQuoteParams._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()GetQuoteParams._Fields[]getFields()ObjectgetFieldValue(GetQuoteParams._Fields field)StringgetIdempotencyId()inthashCode()booleanisSet(GetQuoteParams._Fields field)Returns true if field corresponding to fieldID 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 otherwisebooleanisSetExchangeCash()Returns true if field exchange_cash is set (has been assigned a value) and false otherwisebooleanisSetIdempotencyId()Returns true if field idempotency_id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)GetQuoteParamssetCurrencyFrom(Currency currency_from)voidsetCurrencyFromIsSet(boolean value)GetQuoteParamssetCurrencyTo(Currency currency_to)voidsetCurrencyToIsSet(boolean value)GetQuoteParamssetExchangeCash(Cash exchange_cash)Сумма в одной из валют обменаvoidsetExchangeCashIsSet(boolean value)voidsetFieldValue(GetQuoteParams._Fields field, Object value)GetQuoteParamssetIdempotencyId(String idempotency_id)voidsetIdempotencyIdIsSet(boolean value)StringtoString()voidunsetCurrencyFrom()voidunsetCurrencyTo()voidunsetExchangeCash()voidunsetIdempotencyId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
idempotency_id
-
currency_from
-
currency_to
-
exchange_cash
Сумма в одной из валют обмена -
metaDataMap
public static final Map<GetQuoteParams._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
GetQuoteParams
public GetQuoteParams() -
GetQuoteParams
-
GetQuoteParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<GetQuoteParams,GetQuoteParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<GetQuoteParams,GetQuoteParams._Fields>
-
getIdempotencyId
-
setIdempotencyId
-
unsetIdempotencyId
public void unsetIdempotencyId() -
isSetIdempotencyId
public boolean isSetIdempotencyId()Returns true if field idempotency_id is set (has been assigned a value) and false otherwise -
setIdempotencyIdIsSet
public void setIdempotencyIdIsSet(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) -
getExchangeCash
Сумма в одной из валют обмена -
setExchangeCash
Сумма в одной из валют обмена -
unsetExchangeCash
public void unsetExchangeCash() -
isSetExchangeCash
public boolean isSetExchangeCash()Returns true if field exchange_cash is set (has been assigned a value) and false otherwise -
setExchangeCashIsSet
public void setExchangeCashIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<GetQuoteParams,GetQuoteParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<GetQuoteParams,GetQuoteParams._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<GetQuoteParams,GetQuoteParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<GetQuoteParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<GetQuoteParams,GetQuoteParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<GetQuoteParams,GetQuoteParams._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<GetQuoteParams,GetQuoteParams._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
-