Class PaymentToolReject
java.lang.Object
org.apache.thrift.TUnion<PaymentToolReject,PaymentToolReject._Fields>
dev.vality.damsel.payment_processing.errors.PaymentToolReject
- All Implemented Interfaces:
Serializable,Comparable<PaymentToolReject>,org.apache.thrift.TBase<PaymentToolReject,PaymentToolReject._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class PaymentToolReject
extends org.apache.thrift.TUnion<PaymentToolReject,PaymentToolReject._Fields>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentToolReject._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<PaymentToolReject._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapFields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
Constructors Constructor Description PaymentToolReject()PaymentToolReject(PaymentToolReject other)PaymentToolReject(PaymentToolReject._Fields setField, Object value) -
Method Summary
Modifier and Type Method Description static PaymentToolRejectbank_card_rejected(BankCardReject value)protected voidcheckType(PaymentToolReject._Fields setField, Object value)intcompareTo(PaymentToolReject other)PaymentToolRejectdeepCopy()protected PaymentToolReject._FieldsenumForId(short id)booleanequals(PaymentToolReject other)booleanequals(Object other)PaymentToolReject._FieldsfieldForId(int fieldId)BankCardRejectgetBankCardRejected()protected org.apache.thrift.protocol.TFieldgetFieldDesc(PaymentToolReject._Fields setField)Map<PaymentToolReject._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()PaymentToolReject._Fields[]getFields()protected org.apache.thrift.protocol.TStructgetStructDesc()GeneralFailuregetUnknown()inthashCode()booleanisSetBankCardRejected()booleanisSetUnknown()voidsetBankCardRejected(BankCardReject value)voidsetUnknown(GeneralFailure 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 PaymentToolRejectunknown(GeneralFailure 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<PaymentToolReject._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
PaymentToolReject
public PaymentToolReject() -
PaymentToolReject
-
PaymentToolReject
-
-
Method Details
-
deepCopy
-
unknown
-
bank_card_rejected
-
checkType
protected void checkType(PaymentToolReject._Fields setField, Object value) throws ClassCastException- Specified by:
checkTypein classorg.apache.thrift.TUnion<PaymentToolReject,PaymentToolReject._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<PaymentToolReject,PaymentToolReject._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<PaymentToolReject,PaymentToolReject._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<PaymentToolReject,PaymentToolReject._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<PaymentToolReject,PaymentToolReject._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<PaymentToolReject,PaymentToolReject._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<PaymentToolReject,PaymentToolReject._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<PaymentToolReject,PaymentToolReject._Fields>
-
getFields
-
getFieldMetaData
-
fieldForId
-
getUnknown
-
setUnknown
-
getBankCardRejected
-
setBankCardRejected
-
isSetUnknown
public boolean isSetUnknown() -
isSetBankCardRejected
public boolean isSetBankCardRejected() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-