Class CardInfo
java.lang.Object
dev.vality.damsel.payment_tool_provider.CardInfo
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<CardInfo>,org.apache.thrift.TBase<CardInfo,,CardInfo._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class CardInfo
extends Object
implements org.apache.thrift.TBase<CardInfo,CardInfo._Fields>, Serializable, Cloneable, Comparable<CardInfo>
- 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<CardInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) Map<CardInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldValue(CardInfo._Fields field) inthashCode()booleanisSet(CardInfo._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field card_class is set (has been assigned a value) and false otherwisebooleanReturns true if field cardholder_name is set (has been assigned a value) and false otherwisebooleanReturns true if field display_name is set (has been assigned a value) and false otherwisebooleanReturns true if field last_4_digits is set (has been assigned a value) and false otherwisebooleanReturns true if field payment_system is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setCardClass(CardClass card_class) voidsetCardClassIsSet(boolean value) setCardholderName(String cardholder_name) voidsetCardholderNameIsSet(boolean value) setDisplayName(String display_name) voidsetDisplayNameIsSet(boolean value) voidsetFieldValue(CardInfo._Fields field, Object value) setLast4Digits(String last_4_digits) voidsetLast4DigitsIsSet(boolean value) setPaymentSystem(PaymentSystemRef payment_system) voidsetPaymentSystemIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
display_name
-
cardholder_name
-
last_4_digits
-
card_class
- See Also:
-
payment_system
-
metaDataMap
-
-
Constructor Details
-
CardInfo
public CardInfo() -
CardInfo
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<CardInfo,CardInfo._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<CardInfo,CardInfo._Fields>
-
getDisplayName
-
setDisplayName
-
unsetDisplayName
public void unsetDisplayName() -
isSetDisplayName
public boolean isSetDisplayName()Returns true if field display_name is set (has been assigned a value) and false otherwise -
setDisplayNameIsSet
public void setDisplayNameIsSet(boolean value) -
getCardholderName
-
setCardholderName
-
unsetCardholderName
public void unsetCardholderName() -
isSetCardholderName
public boolean isSetCardholderName()Returns true if field cardholder_name is set (has been assigned a value) and false otherwise -
setCardholderNameIsSet
public void setCardholderNameIsSet(boolean value) -
getLast4Digits
-
setLast4Digits
-
unsetLast4Digits
public void unsetLast4Digits() -
isSetLast4Digits
public boolean isSetLast4Digits()Returns true if field last_4_digits is set (has been assigned a value) and false otherwise -
setLast4DigitsIsSet
public void setLast4DigitsIsSet(boolean value) -
getCardClass
- See Also:
-
setCardClass
- See Also:
-
unsetCardClass
public void unsetCardClass() -
isSetCardClass
public boolean isSetCardClass()Returns true if field card_class is set (has been assigned a value) and false otherwise -
setCardClassIsSet
public void setCardClassIsSet(boolean value) -
getPaymentSystem
-
setPaymentSystem
-
unsetPaymentSystem
public void unsetPaymentSystem() -
isSetPaymentSystem
public boolean isSetPaymentSystem()Returns true if field payment_system is set (has been assigned a value) and false otherwise -
setPaymentSystemIsSet
public void setPaymentSystemIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<CardInfo,CardInfo._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<CardInfo,CardInfo._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<CardInfo,CardInfo._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<CardInfo>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<CardInfo,CardInfo._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<CardInfo,CardInfo._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<CardInfo,CardInfo._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException - Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException - Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-