Class AuthorizationFailure
java.lang.Object
org.apache.thrift.TUnion<AuthorizationFailure,AuthorizationFailure._Fields>
dev.vality.damsel.payment_processing.errors.AuthorizationFailure
- All Implemented Interfaces:
Serializable,Comparable<AuthorizationFailure>,org.apache.thrift.TBase<AuthorizationFailure,AuthorizationFailure._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class AuthorizationFailure
extends org.apache.thrift.TUnion<AuthorizationFailure,AuthorizationFailure._Fields>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthorizationFailure._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<AuthorizationFailure._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapFields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
Constructors Constructor Description AuthorizationFailure()AuthorizationFailure(AuthorizationFailure other)AuthorizationFailure(AuthorizationFailure._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<AuthorizationFailure._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
AuthorizationFailure
public AuthorizationFailure() -
AuthorizationFailure
-
AuthorizationFailure
-
-
Method Details
-
deepCopy
-
unknown
-
merchant_blocked
-
operation_blocked
-
account_not_found
-
account_blocked
-
account_stolen
-
insufficient_funds
-
account_limit_exceeded
-
provider_limit_exceeded
-
payment_tool_rejected
-
security_policy_violated
-
rejected_by_issuer
-
processing_deadline_reached
-
checkType
protected void checkType(AuthorizationFailure._Fields setField, Object value) throws ClassCastException- Specified by:
checkTypein classorg.apache.thrift.TUnion<AuthorizationFailure,AuthorizationFailure._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<AuthorizationFailure,AuthorizationFailure._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<AuthorizationFailure,AuthorizationFailure._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<AuthorizationFailure,AuthorizationFailure._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<AuthorizationFailure,AuthorizationFailure._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<AuthorizationFailure,AuthorizationFailure._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<AuthorizationFailure,AuthorizationFailure._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<AuthorizationFailure,AuthorizationFailure._Fields>
-
getFields
-
getFieldMetaData
public Map<AuthorizationFailure._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData() -
fieldForId
-
getUnknown
-
setUnknown
-
getMerchantBlocked
-
setMerchantBlocked
-
getOperationBlocked
-
setOperationBlocked
-
getAccountNotFound
-
setAccountNotFound
-
getAccountBlocked
-
setAccountBlocked
-
getAccountStolen
-
setAccountStolen
-
getInsufficientFunds
-
setInsufficientFunds
-
getAccountLimitExceeded
-
setAccountLimitExceeded
-
getProviderLimitExceeded
-
setProviderLimitExceeded
-
getPaymentToolRejected
-
setPaymentToolRejected
-
getSecurityPolicyViolated
-
setSecurityPolicyViolated
-
getRejectedByIssuer
-
setRejectedByIssuer
-
getProcessingDeadlineReached
-
setProcessingDeadlineReached
-
isSetUnknown
public boolean isSetUnknown() -
isSetMerchantBlocked
public boolean isSetMerchantBlocked() -
isSetOperationBlocked
public boolean isSetOperationBlocked() -
isSetAccountNotFound
public boolean isSetAccountNotFound() -
isSetAccountBlocked
public boolean isSetAccountBlocked() -
isSetAccountStolen
public boolean isSetAccountStolen() -
isSetInsufficientFunds
public boolean isSetInsufficientFunds() -
isSetAccountLimitExceeded
public boolean isSetAccountLimitExceeded() -
isSetProviderLimitExceeded
public boolean isSetProviderLimitExceeded() -
isSetPaymentToolRejected
public boolean isSetPaymentToolRejected() -
isSetSecurityPolicyViolated
public boolean isSetSecurityPolicyViolated() -
isSetRejectedByIssuer
public boolean isSetRejectedByIssuer() -
isSetProcessingDeadlineReached
public boolean isSetProcessingDeadlineReached() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-