Class Destination
java.lang.Object
org.apache.thrift.TUnion<Destination,Destination._Fields>
dev.vality.damsel.withdrawals.domain.Destination
- All Implemented Interfaces:
Serializable,Comparable<Destination>,org.apache.thrift.TBase<Destination,Destination._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class Destination
extends org.apache.thrift.TUnion<Destination,Destination._Fields>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDestination._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description static Map<Destination._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapFields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
Constructors Constructor Description Destination()Destination(Destination other)Destination(Destination._Fields setField, Object value) -
Method Summary
Modifier and Type Method Description static Destinationbank_card(BankCard value)protected voidcheckType(Destination._Fields setField, Object value)intcompareTo(Destination other)static Destinationcrypto_wallet(CryptoWallet value)DestinationdeepCopy()static Destinationdigital_wallet(DigitalWallet value)protected Destination._FieldsenumForId(short id)booleanequals(Destination other)booleanequals(Object other)Destination._FieldsfieldForId(int fieldId)static Destinationgeneric(GenericPaymentTool value)BankCardgetBankCard()CryptoWalletgetCryptoWallet()DigitalWalletgetDigitalWallet()protected org.apache.thrift.protocol.TFieldgetFieldDesc(Destination._Fields setField)Map<Destination._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Destination._Fields[]getFields()GenericPaymentToolgetGeneric()protected org.apache.thrift.protocol.TStructgetStructDesc()inthashCode()booleanisSetBankCard()booleanisSetCryptoWallet()booleanisSetDigitalWallet()booleanisSetGeneric()voidsetBankCard(BankCard value)voidsetCryptoWallet(CryptoWallet value)voidsetDigitalWallet(DigitalWallet value)voidsetGeneric(GenericPaymentTool value)protected ObjectstandardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field)protected voidstandardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)protected ObjecttupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID)protected voidtupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)Methods inherited from class org.apache.thrift.TUnion
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write
-
Field Details
-
metaDataMap
-
-
Constructor Details
-
Destination
public Destination() -
Destination
-
Destination
-
-
Method Details
-
deepCopy
-
bank_card
-
crypto_wallet
-
digital_wallet
-
generic
-
checkType
- Specified by:
checkTypein classorg.apache.thrift.TUnion<Destination,Destination._Fields>- Throws:
ClassCastException
-
standardSchemeReadValue
protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException- Specified by:
standardSchemeReadValuein classorg.apache.thrift.TUnion<Destination,Destination._Fields>- Throws:
org.apache.thrift.TException
-
standardSchemeWriteValue
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
standardSchemeWriteValuein classorg.apache.thrift.TUnion<Destination,Destination._Fields>- Throws:
org.apache.thrift.TException
-
tupleSchemeReadValue
protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException- Specified by:
tupleSchemeReadValuein classorg.apache.thrift.TUnion<Destination,Destination._Fields>- Throws:
org.apache.thrift.TException
-
tupleSchemeWriteValue
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
tupleSchemeWriteValuein classorg.apache.thrift.TUnion<Destination,Destination._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<Destination,Destination._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<Destination,Destination._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<Destination,Destination._Fields>
-
getFields
-
getFieldMetaData
-
fieldForId
-
getBankCard
-
setBankCard
-
getCryptoWallet
-
setCryptoWallet
-
getDigitalWallet
-
setDigitalWallet
-
getGeneric
-
setGeneric
-
isSetBankCard
public boolean isSetBankCard() -
isSetCryptoWallet
public boolean isSetCryptoWallet() -
isSetDigitalWallet
public boolean isSetDigitalWallet() -
isSetGeneric
public boolean isSetGeneric() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-