Package dev.vality.damsel.domain
Class PaymentTool
java.lang.Object
org.apache.thrift.TUnion<PaymentTool,PaymentTool._Fields>
dev.vality.damsel.domain.PaymentTool
- All Implemented Interfaces:
Serializable,Comparable<PaymentTool>,org.apache.thrift.TBase<PaymentTool,,PaymentTool._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class PaymentTool
extends org.apache.thrift.TUnion<PaymentTool,PaymentTool._Fields>
- 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 TypeFieldDescriptionstatic final Map<PaymentTool._Fields,org.apache.thrift.meta_data.FieldMetaData> Fields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
ConstructorsConstructorDescriptionPaymentTool(PaymentTool other) PaymentTool(PaymentTool._Fields setField, Object value) -
Method Summary
Modifier and TypeMethodDescriptionstatic PaymentToolprotected voidcheckType(PaymentTool._Fields setField, Object value) intcompareTo(PaymentTool other) static PaymentToolcrypto_currency(CryptoCurrencyRef value) deepCopy()static PaymentTooldigital_wallet(DigitalWallet value) protected PaymentTool._FieldsenumForId(short id) booleanequals(PaymentTool other) booleanfieldForId(int fieldId) static PaymentToolgeneric(GenericPaymentTool value) protected org.apache.thrift.protocol.TFieldgetFieldDesc(PaymentTool._Fields setField) Map<PaymentTool._Fields,org.apache.thrift.meta_data.FieldMetaData> protected org.apache.thrift.protocol.TStructinthashCode()booleanbooleanbooleanbooleanbooleanbooleanstatic PaymentToolmobile_commerce(MobileCommerce value) static PaymentToolpayment_terminal(PaymentTerminal value) voidsetBankCard(BankCard value) voidvoidsetDigitalWallet(DigitalWallet value) voidsetGeneric(GenericPaymentTool value) voidsetMobileCommerce(MobileCommerce value) voidprotected 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
-
PaymentTool
public PaymentTool() -
PaymentTool
-
PaymentTool
-
-
Method Details
-
deepCopy
-
generic
-
bank_card
-
payment_terminal
-
digital_wallet
-
mobile_commerce
-
crypto_currency
-
checkType
- Specified by:
checkTypein classorg.apache.thrift.TUnion<PaymentTool,PaymentTool._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<PaymentTool,PaymentTool._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<PaymentTool,PaymentTool._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<PaymentTool,PaymentTool._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<PaymentTool,PaymentTool._Fields> - Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<PaymentTool,PaymentTool._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<PaymentTool,PaymentTool._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<PaymentTool,PaymentTool._Fields>
-
getFields
-
getFieldMetaData
-
fieldForId
-
getGeneric
-
setGeneric
-
getBankCard
-
setBankCard
-
getPaymentTerminal
-
setPaymentTerminal
-
getDigitalWallet
-
setDigitalWallet
-
getMobileCommerce
-
setMobileCommerce
-
getCryptoCurrency
-
setCryptoCurrency
-
isSetGeneric
public boolean isSetGeneric() -
isSetBankCard
public boolean isSetBankCard() -
isSetPaymentTerminal
public boolean isSetPaymentTerminal() -
isSetDigitalWallet
public boolean isSetDigitalWallet() -
isSetMobileCommerce
public boolean isSetMobileCommerce() -
isSetCryptoCurrency
public boolean isSetCryptoCurrency() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-