Class PaymentDetails
java.lang.Object
org.apache.thrift.TUnion<PaymentDetails,PaymentDetails._Fields>
dev.vality.damsel.payment_tool_provider.PaymentDetails
- All Implemented Interfaces:
Serializable,Comparable<PaymentDetails>,org.apache.thrift.TBase<PaymentDetails,PaymentDetails._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class PaymentDetails
extends org.apache.thrift.TUnion<PaymentDetails,PaymentDetails._Fields>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentDetails._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<PaymentDetails._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapFields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
Constructors Constructor Description PaymentDetails()PaymentDetails(PaymentDetails other)PaymentDetails(PaymentDetails._Fields setField, Object value) -
Method Summary
Modifier and Type Method Description static PaymentDetailsapple(ApplePayDetails value)protected voidcheckType(PaymentDetails._Fields setField, Object value)intcompareTo(PaymentDetails other)PaymentDetailsdeepCopy()protected PaymentDetails._FieldsenumForId(short id)booleanequals(PaymentDetails other)booleanequals(Object other)PaymentDetails._FieldsfieldForId(int fieldId)ApplePayDetailsgetApple()protected org.apache.thrift.protocol.TFieldgetFieldDesc(PaymentDetails._Fields setField)Map<PaymentDetails._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()PaymentDetails._Fields[]getFields()GooglePayDetailsgetGoogle()SamsungPayDetailsgetSamsung()protected org.apache.thrift.protocol.TStructgetStructDesc()YandexPayDetailsgetYandex()static PaymentDetailsgoogle(GooglePayDetails value)inthashCode()booleanisSetApple()booleanisSetGoogle()booleanisSetSamsung()booleanisSetYandex()static PaymentDetailssamsung(SamsungPayDetails value)voidsetApple(ApplePayDetails value)voidsetGoogle(GooglePayDetails value)voidsetSamsung(SamsungPayDetails value)voidsetYandex(YandexPayDetails 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)static PaymentDetailsyandex(YandexPayDetails value)Methods inherited from class org.apache.thrift.TUnion
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write
-
Field Details
-
metaDataMap
public static final Map<PaymentDetails._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
PaymentDetails
public PaymentDetails() -
PaymentDetails
-
PaymentDetails
-
-
Method Details
-
deepCopy
-
apple
-
samsung
-
google
-
yandex
-
checkType
- Specified by:
checkTypein classorg.apache.thrift.TUnion<PaymentDetails,PaymentDetails._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<PaymentDetails,PaymentDetails._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<PaymentDetails,PaymentDetails._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<PaymentDetails,PaymentDetails._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<PaymentDetails,PaymentDetails._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<PaymentDetails,PaymentDetails._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<PaymentDetails,PaymentDetails._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<PaymentDetails,PaymentDetails._Fields>
-
getFields
-
getFieldMetaData
-
fieldForId
-
getApple
-
setApple
-
getSamsung
-
setSamsung
-
getGoogle
-
setGoogle
-
getYandex
-
setYandex
-
isSetApple
public boolean isSetApple() -
isSetSamsung
public boolean isSetSamsung() -
isSetGoogle
public boolean isSetGoogle() -
isSetYandex
public boolean isSetYandex() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-