Package dev.vality.fistful.withdrawal
Class InconsistentWithdrawalCurrency
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.thrift.TException
dev.vality.fistful.withdrawal.InconsistentWithdrawalCurrency
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<InconsistentWithdrawalCurrency>,org.apache.thrift.TBase<InconsistentWithdrawalCurrency,InconsistentWithdrawalCurrency._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class InconsistentWithdrawalCurrency
extends org.apache.thrift.TException
implements org.apache.thrift.TBase<InconsistentWithdrawalCurrency,InconsistentWithdrawalCurrency._Fields>, Serializable, Cloneable, Comparable<InconsistentWithdrawalCurrency>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInconsistentWithdrawalCurrency._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CurrencyRefdestination_currencystatic Map<InconsistentWithdrawalCurrency._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapCurrencyRefwallet_currencyCurrencyRefwithdrawal_currency -
Constructor Summary
Constructors Constructor Description InconsistentWithdrawalCurrency()InconsistentWithdrawalCurrency(CurrencyRef withdrawal_currency, CurrencyRef destination_currency, CurrencyRef wallet_currency)InconsistentWithdrawalCurrency(InconsistentWithdrawalCurrency other)Performs a deep copy on other. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
withdrawal_currency
-
destination_currency
-
wallet_currency
-
metaDataMap
public static final Map<InconsistentWithdrawalCurrency._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
InconsistentWithdrawalCurrency
public InconsistentWithdrawalCurrency() -
InconsistentWithdrawalCurrency
public InconsistentWithdrawalCurrency(CurrencyRef withdrawal_currency, CurrencyRef destination_currency, CurrencyRef wallet_currency) -
InconsistentWithdrawalCurrency
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<InconsistentWithdrawalCurrency,InconsistentWithdrawalCurrency._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<InconsistentWithdrawalCurrency,InconsistentWithdrawalCurrency._Fields>
-
getWithdrawalCurrency
-
setWithdrawalCurrency
-
unsetWithdrawalCurrency
public void unsetWithdrawalCurrency() -
isSetWithdrawalCurrency
public boolean isSetWithdrawalCurrency()Returns true if field withdrawal_currency is set (has been assigned a value) and false otherwise -
setWithdrawalCurrencyIsSet
public void setWithdrawalCurrencyIsSet(boolean value) -
getDestinationCurrency
-
setDestinationCurrency
-
unsetDestinationCurrency
public void unsetDestinationCurrency() -
isSetDestinationCurrency
public boolean isSetDestinationCurrency()Returns true if field destination_currency is set (has been assigned a value) and false otherwise -
setDestinationCurrencyIsSet
public void setDestinationCurrencyIsSet(boolean value) -
getWalletCurrency
-
setWalletCurrency
-
unsetWalletCurrency
public void unsetWalletCurrency() -
isSetWalletCurrency
public boolean isSetWalletCurrency()Returns true if field wallet_currency is set (has been assigned a value) and false otherwise -
setWalletCurrencyIsSet
public void setWalletCurrencyIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<InconsistentWithdrawalCurrency,InconsistentWithdrawalCurrency._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<InconsistentWithdrawalCurrency,InconsistentWithdrawalCurrency._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<InconsistentWithdrawalCurrency,InconsistentWithdrawalCurrency._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<InconsistentWithdrawalCurrency>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<InconsistentWithdrawalCurrency,InconsistentWithdrawalCurrency._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<InconsistentWithdrawalCurrency,InconsistentWithdrawalCurrency._Fields>
-
getFieldMetaData
public Map<InconsistentWithdrawalCurrency._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<InconsistentWithdrawalCurrency,InconsistentWithdrawalCurrency._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
-