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:
  • Field Details

    • display_name

      public String display_name
    • cardholder_name

      public String cardholder_name
    • last_4_digits

      public String last_4_digits
    • card_class

      public CardClass card_class
      See Also:
    • payment_system

      public PaymentSystemRef payment_system
    • metaDataMap

      public static final Map<CardInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

    • CardInfo

      public CardInfo()
    • CardInfo

      public CardInfo(CardInfo other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public CardInfo deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<CardInfo,CardInfo._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<CardInfo,CardInfo._Fields>
    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public CardInfo setDisplayName(String display_name)
    • 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

      public String getCardholderName()
    • setCardholderName

      public CardInfo setCardholderName(String cardholder_name)
    • 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

      public String getLast4Digits()
    • setLast4Digits

      public CardInfo setLast4Digits(String last_4_digits)
    • 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

      public CardClass getCardClass()
      See Also:
    • setCardClass

      public CardInfo setCardClass(CardClass card_class)
      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

      public PaymentSystemRef getPaymentSystem()
    • setPaymentSystem

      public CardInfo setPaymentSystem(PaymentSystemRef payment_system)
    • 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

      public void setFieldValue(CardInfo._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<CardInfo,CardInfo._Fields>
    • getFieldValue

      public Object getFieldValue(CardInfo._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<CardInfo,CardInfo._Fields>
    • isSet

      public boolean isSet(CardInfo._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<CardInfo,CardInfo._Fields>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(CardInfo that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(CardInfo other)
      Specified by:
      compareTo in interface Comparable<CardInfo>
    • fieldForId

      public CardInfo._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<CardInfo,CardInfo._Fields>
    • getFields

      public CardInfo._Fields[] getFields()
      Specified by:
      getFields in interface org.apache.thrift.TBase<CardInfo,CardInfo._Fields>
    • getFieldMetaData

      public Map<CardInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<CardInfo,CardInfo._Fields>
    • read

      public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.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:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException