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.19.0)",
date="2024-08-02")
public class GetQuoteParams
extends Object
implements org.apache.thrift.TBase<GetQuoteParams,GetQuoteParams._Fields>, Serializable, Cloneable, Comparable<GetQuoteParams>
Данные для получения котировки на заданную сумму по выбранным валютам.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionСумма в одной из валют обменаstatic final Map<GetQuoteParams._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionGetQuoteParams(Currency currency_from, Currency currency_to, Cash exchange_cash) GetQuoteParams(GetQuoteParams other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(GetQuoteParams other) deepCopy()booleanequals(GetQuoteParams that) booleanfieldForId(int fieldId) Сумма в одной из валют обменаMap<GetQuoteParams._Fields,org.apache.thrift.meta_data.FieldMetaData> inthashCode()booleanisSet(GetQuoteParams._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field currency_from is set (has been assigned a value) and false otherwisebooleanReturns true if field currency_to is set (has been assigned a value) and false otherwisebooleanReturns true if field destination is set (has been assigned a value) and false otherwisebooleanReturns true if field exchange_cash is set (has been assigned a value) and false otherwisebooleanReturns true if field idempotency_id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setCurrencyFrom(Currency currency_from) voidsetCurrencyFromIsSet(boolean value) setCurrencyTo(Currency currency_to) voidsetCurrencyToIsSet(boolean value) setDestination(Destination destination) voidsetDestinationIsSet(boolean value) setExchangeCash(Cash exchange_cash) Сумма в одной из валют обменаvoidsetExchangeCashIsSet(boolean value) voidsetFieldValue(GetQuoteParams._Fields field, Object value) setIdempotencyId(String idempotency_id) voidsetIdempotencyIdIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
idempotency_id
-
currency_from
-
currency_to
-
exchange_cash
Сумма в одной из валют обмена -
destination
-
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) -
getDestination
-
setDestination
-
unsetDestination
public void unsetDestination() -
isSetDestination
public boolean isSetDestination()Returns true if field destination is set (has been assigned a value) and false otherwise -
setDestinationIsSet
public void setDestinationIsSet(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
-