Class CardMetadata

java.lang.Object
com.blockchyp.client.dto.CardMetadata

public class CardMetadata extends Object
Essential information about a payment card derived from its BIN/IIN.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the brand or network of the card (e.
    Gets the country associated with the card's issuer.
    Gets the name of the financial institution that issued the card.
    Gets the specific name or designation of the card product.
    Gets the general category or type of the card product.
    Gets the geographical region associated with the card's issuer.
    boolean
    Gets whether the card is a debit card.
    boolean
    Gets whether the card is an Electronic Benefit Transfer (EBT) card.
    boolean
    Gets whether the card is a healthcare-specific payment card.
    boolean
    Gets whether the card supports Level 2 processing for additional transaction data.
    boolean
    Gets whether the card supports Level 3 processing for detailed transaction data.
    boolean
    Gets whether the card is a prepaid card.
    void
    Sets the brand or network of the card (e.
    void
    Sets the country associated with the card's issuer.
    void
    setDebit(boolean value)
    Sets whether the card is a debit card.
    void
    setEbt(boolean value)
    Sets whether the card is an Electronic Benefit Transfer (EBT) card.
    void
    setHealthcare(boolean value)
    Sets whether the card is a healthcare-specific payment card.
    void
    Sets the name of the financial institution that issued the card.
    void
    setL2(boolean value)
    Sets whether the card supports Level 2 processing for additional transaction data.
    void
    setL3(boolean value)
    Sets whether the card supports Level 3 processing for detailed transaction data.
    void
    setPrepaid(boolean value)
    Sets whether the card is a prepaid card.
    void
    Sets the specific name or designation of the card product.
    void
    Sets the general category or type of the card product.
    void
    Sets the geographical region associated with the card's issuer.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CardMetadata

      public CardMetadata()
  • Method Details

    • setCardBrand

      public void setCardBrand(String value)
      Sets the brand or network of the card (e.
      Parameters:
      value - the brand or network of the card (e.g., Visa, Mastercard, Amex).
    • getCardBrand

      public String getCardBrand()
      Gets the brand or network of the card (e.
      Returns:
      the brand or network of the card (e.g., Visa, Mastercard, Amex).
    • setIssuerName

      public void setIssuerName(String value)
      Sets the name of the financial institution that issued the card.
      Parameters:
      value - the name of the financial institution that issued the card.
    • getIssuerName

      public String getIssuerName()
      Gets the name of the financial institution that issued the card.
      Returns:
      the name of the financial institution that issued the card.
    • setL3

      public void setL3(boolean value)
      Sets whether the card supports Level 3 processing for detailed transaction data.
      Parameters:
      value - whether the card supports Level 3 processing for detailed transaction data.
    • isL3

      public boolean isL3()
      Gets whether the card supports Level 3 processing for detailed transaction data.
      Returns:
      whether the card supports Level 3 processing for detailed transaction data.
    • setL2

      public void setL2(boolean value)
      Sets whether the card supports Level 2 processing for additional transaction data.
      Parameters:
      value - whether the card supports Level 2 processing for additional transaction data.
    • isL2

      public boolean isL2()
      Gets whether the card supports Level 2 processing for additional transaction data.
      Returns:
      whether the card supports Level 2 processing for additional transaction data.
    • setProductType

      public void setProductType(String value)
      Sets the general category or type of the card product.
      Parameters:
      value - the general category or type of the card product.
    • getProductType

      public String getProductType()
      Gets the general category or type of the card product.
      Returns:
      the general category or type of the card product.
    • setProductName

      public void setProductName(String value)
      Sets the specific name or designation of the card product.
      Parameters:
      value - the specific name or designation of the card product.
    • getProductName

      public String getProductName()
      Gets the specific name or designation of the card product.
      Returns:
      the specific name or designation of the card product.
    • setEbt

      public void setEbt(boolean value)
      Sets whether the card is an Electronic Benefit Transfer (EBT) card.
      Parameters:
      value - whether the card is an Electronic Benefit Transfer (EBT) card.
    • isEbt

      public boolean isEbt()
      Gets whether the card is an Electronic Benefit Transfer (EBT) card.
      Returns:
      whether the card is an Electronic Benefit Transfer (EBT) card.
    • setDebit

      public void setDebit(boolean value)
      Sets whether the card is a debit card.
      Parameters:
      value - whether the card is a debit card.
    • isDebit

      public boolean isDebit()
      Gets whether the card is a debit card.
      Returns:
      whether the card is a debit card.
    • setHealthcare

      public void setHealthcare(boolean value)
      Sets whether the card is a healthcare-specific payment card.
      Parameters:
      value - whether the card is a healthcare-specific payment card.
    • isHealthcare

      public boolean isHealthcare()
      Gets whether the card is a healthcare-specific payment card.
      Returns:
      whether the card is a healthcare-specific payment card.
    • setPrepaid

      public void setPrepaid(boolean value)
      Sets whether the card is a prepaid card.
      Parameters:
      value - whether the card is a prepaid card.
    • isPrepaid

      public boolean isPrepaid()
      Gets whether the card is a prepaid card.
      Returns:
      whether the card is a prepaid card.
    • setRegion

      public void setRegion(String value)
      Sets the geographical region associated with the card's issuer.
      Parameters:
      value - the geographical region associated with the card's issuer.
    • getRegion

      public String getRegion()
      Gets the geographical region associated with the card's issuer.
      Returns:
      the geographical region associated with the card's issuer.
    • setCountry

      public void setCountry(String value)
      Sets the country associated with the card's issuer.
      Parameters:
      value - the country associated with the card's issuer.
    • getCountry

      public String getCountry()
      Gets the country associated with the card's issuer.
      Returns:
      the country associated with the card's issuer.