Package dev.vality.damsel.domain
Class PaymentCardValidationRule
java.lang.Object
org.apache.thrift.TUnion<PaymentCardValidationRule,PaymentCardValidationRule._Fields>
dev.vality.damsel.domain.PaymentCardValidationRule
- All Implemented Interfaces:
Serializable,Comparable<PaymentCardValidationRule>,org.apache.thrift.TBase<PaymentCardValidationRule,,PaymentCardValidationRule._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class PaymentCardValidationRule
extends org.apache.thrift.TUnion<PaymentCardValidationRule,PaymentCardValidationRule._Fields>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<PaymentCardValidationRule._Fields,org.apache.thrift.meta_data.FieldMetaData> Fields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
ConstructorsConstructorDescriptionPaymentCardValidationRule(PaymentCardValidationRule._Fields setField, Object value) -
Method Summary
Modifier and TypeMethodDescriptionstatic PaymentCardValidationRulecard_number(PaymentCardNumber value) protected voidcheckType(PaymentCardValidationRule._Fields setField, Object value) intstatic PaymentCardValidationRulecvc(PaymentCardCVC value) deepCopy()protected PaymentCardValidationRule._FieldsenumForId(short id) booleanequals(PaymentCardValidationRule other) booleanstatic PaymentCardValidationRulefieldForId(int fieldId) getCvc()protected org.apache.thrift.protocol.TFieldMap<PaymentCardValidationRule._Fields,org.apache.thrift.meta_data.FieldMetaData> protected org.apache.thrift.protocol.TStructinthashCode()booleanbooleanisSetCvc()booleanvoidsetCardNumber(PaymentCardNumber value) voidsetCvc(PaymentCardCVC value) voidprotected 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) 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<PaymentCardValidationRule._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
PaymentCardValidationRule
public PaymentCardValidationRule() -
PaymentCardValidationRule
-
PaymentCardValidationRule
-
-
Method Details
-
deepCopy
-
card_number
-
exp_date
-
cvc
-
checkType
protected void checkType(PaymentCardValidationRule._Fields setField, Object value) throws ClassCastException - Specified by:
checkTypein classorg.apache.thrift.TUnion<PaymentCardValidationRule,PaymentCardValidationRule._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<PaymentCardValidationRule,PaymentCardValidationRule._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<PaymentCardValidationRule,PaymentCardValidationRule._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<PaymentCardValidationRule,PaymentCardValidationRule._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<PaymentCardValidationRule,PaymentCardValidationRule._Fields> - Throws:
org.apache.thrift.TException
-
getFieldDesc
protected org.apache.thrift.protocol.TField getFieldDesc(PaymentCardValidationRule._Fields setField) - Specified by:
getFieldDescin classorg.apache.thrift.TUnion<PaymentCardValidationRule,PaymentCardValidationRule._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<PaymentCardValidationRule,PaymentCardValidationRule._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<PaymentCardValidationRule,PaymentCardValidationRule._Fields>
-
getFields
-
getFieldMetaData
public Map<PaymentCardValidationRule._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData() -
fieldForId
-
getCardNumber
-
setCardNumber
-
getExpDate
-
setExpDate
-
getCvc
-
setCvc
-
isSetCardNumber
public boolean isSetCardNumber() -
isSetExpDate
public boolean isSetExpDate() -
isSetCvc
public boolean isSetCvc() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-