Class PaymentFailure
java.lang.Object
org.apache.thrift.TUnion<PaymentFailure,PaymentFailure._Fields>
dev.vality.damsel.payment_processing.errors.PaymentFailure
- All Implemented Interfaces:
Serializable,Comparable<PaymentFailure>,org.apache.thrift.TBase<PaymentFailure,PaymentFailure._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class PaymentFailure
extends org.apache.thrift.TUnion<PaymentFailure,PaymentFailure._Fields>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentFailure._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<PaymentFailure._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapFields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
Constructors Constructor Description PaymentFailure()PaymentFailure(PaymentFailure other)PaymentFailure(PaymentFailure._Fields setField, Object value) -
Method Summary
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<PaymentFailure._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
PaymentFailure
public PaymentFailure() -
PaymentFailure
-
PaymentFailure
-
-
Method Details
-
deepCopy
-
rejected_by_inspector
-
preauthorization_failed
-
authorization_failed
-
no_route_found
-
checkType
- Specified by:
checkTypein classorg.apache.thrift.TUnion<PaymentFailure,PaymentFailure._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<PaymentFailure,PaymentFailure._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<PaymentFailure,PaymentFailure._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<PaymentFailure,PaymentFailure._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<PaymentFailure,PaymentFailure._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<PaymentFailure,PaymentFailure._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<PaymentFailure,PaymentFailure._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<PaymentFailure,PaymentFailure._Fields>
-
getFields
-
getFieldMetaData
-
fieldForId
-
getRejectedByInspector
-
setRejectedByInspector
-
getPreauthorizationFailed
-
setPreauthorizationFailed
-
getAuthorizationFailed
-
setAuthorizationFailed
-
getNoRouteFound
-
setNoRouteFound
-
isSetRejectedByInspector
public boolean isSetRejectedByInspector() -
isSetPreauthorizationFailed
public boolean isSetPreauthorizationFailed() -
isSetAuthorizationFailed
public boolean isSetAuthorizationFailed() -
isSetNoRouteFound
public boolean isSetNoRouteFound() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-