Class RefundFailure
java.lang.Object
org.apache.thrift.TUnion<RefundFailure,RefundFailure._Fields>
dev.vality.damsel.payment_processing.errors.RefundFailure
- All Implemented Interfaces:
Serializable,Comparable<RefundFailure>,org.apache.thrift.TBase<RefundFailure,RefundFailure._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class RefundFailure
extends org.apache.thrift.TUnion<RefundFailure,RefundFailure._Fields>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRefundFailure._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<RefundFailure._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapFields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
Constructors Constructor Description RefundFailure()RefundFailure(RefundFailure other)RefundFailure(RefundFailure._Fields setField, Object value) -
Method Summary
Modifier and Type Method Description static RefundFailureauthorization_failed(AuthorizationFailure value)protected voidcheckType(RefundFailure._Fields setField, Object value)intcompareTo(RefundFailure other)RefundFailuredeepCopy()protected RefundFailure._FieldsenumForId(short id)booleanequals(RefundFailure other)booleanequals(Object other)RefundFailure._FieldsfieldForId(int fieldId)AuthorizationFailuregetAuthorizationFailed()protected org.apache.thrift.protocol.TFieldgetFieldDesc(RefundFailure._Fields setField)Map<RefundFailure._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()RefundFailure._Fields[]getFields()protected org.apache.thrift.protocol.TStructgetStructDesc()TermsViolatedgetTermsViolated()inthashCode()booleanisSetAuthorizationFailed()booleanisSetTermsViolated()voidsetAuthorizationFailed(AuthorizationFailure value)voidsetTermsViolated(TermsViolated value)protected ObjectstandardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field)protected voidstandardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)static RefundFailureterms_violated(TermsViolated value)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
public static final Map<RefundFailure._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
RefundFailure
public RefundFailure() -
RefundFailure
-
RefundFailure
-
-
Method Details
-
deepCopy
-
terms_violated
-
authorization_failed
-
checkType
- Specified by:
checkTypein classorg.apache.thrift.TUnion<RefundFailure,RefundFailure._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<RefundFailure,RefundFailure._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<RefundFailure,RefundFailure._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<RefundFailure,RefundFailure._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<RefundFailure,RefundFailure._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<RefundFailure,RefundFailure._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<RefundFailure,RefundFailure._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<RefundFailure,RefundFailure._Fields>
-
getFields
-
getFieldMetaData
-
fieldForId
-
getTermsViolated
-
setTermsViolated
-
getAuthorizationFailed
-
setAuthorizationFailed
-
isSetTermsViolated
public boolean isSetTermsViolated() -
isSetAuthorizationFailed
public boolean isSetAuthorizationFailed() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-