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.14.2)",
date="2022-10-25")
public class CardInfo
extends Object
implements org.apache.thrift.TBase<CardInfo,CardInfo._Fields>, Serializable, Cloneable, Comparable<CardInfo>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCardInfo._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CardClasscard_classStringcardholder_nameStringdisplay_nameStringlast_4_digitsstatic Map<CardInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapPaymentSystemRefpayment_system -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(CardInfo other)CardInfodeepCopy()booleanequals(CardInfo that)booleanequals(Object that)CardInfo._FieldsfieldForId(int fieldId)CardClassgetCardClass()StringgetCardholderName()StringgetDisplayName()Map<CardInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()CardInfo._Fields[]getFields()ObjectgetFieldValue(CardInfo._Fields field)StringgetLast4Digits()PaymentSystemRefgetPaymentSystem()inthashCode()booleanisSet(CardInfo._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCardClass()Returns true if field card_class is set (has been assigned a value) and false otherwisebooleanisSetCardholderName()Returns true if field cardholder_name is set (has been assigned a value) and false otherwisebooleanisSetDisplayName()Returns true if field display_name is set (has been assigned a value) and false otherwisebooleanisSetLast4Digits()Returns true if field last_4_digits is set (has been assigned a value) and false otherwisebooleanisSetPaymentSystem()Returns true if field payment_system is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)CardInfosetCardClass(CardClass card_class)voidsetCardClassIsSet(boolean value)CardInfosetCardholderName(String cardholder_name)voidsetCardholderNameIsSet(boolean value)CardInfosetDisplayName(String display_name)voidsetDisplayNameIsSet(boolean value)voidsetFieldValue(CardInfo._Fields field, Object value)CardInfosetLast4Digits(String last_4_digits)voidsetLast4DigitsIsSet(boolean value)CardInfosetPaymentSystem(PaymentSystemRef payment_system)voidsetPaymentSystemIsSet(boolean value)StringtoString()voidunsetCardClass()voidunsetCardholderName()voidunsetDisplayName()voidunsetLast4Digits()voidunsetPaymentSystem()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
display_name
-
cardholder_name
-
last_4_digits
-
card_class
-
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
-
setCardClass
-
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
-