Class CardEssentials

java.lang.Object
com.onlinepayments.domain.CardEssentials

public class CardEssentials extends Object
  • Constructor Details

    • CardEssentials

      public CardEssentials()
  • Method Details

    • getBin

      public String getBin()
      The first digits of the credit card number from left to right with a minimum of 6 digits.
    • setBin

      public void setBin(String value)
      The first digits of the credit card number from left to right with a minimum of 6 digits.
    • withBin

      public CardEssentials withBin(String value)
      The first digits of the credit card number from left to right with a minimum of 6 digits.
    • getCardNumber

      public String getCardNumber()
      The masked credit/debit card number
    • setCardNumber

      public void setCardNumber(String value)
      The masked credit/debit card number
    • withCardNumber

      public CardEssentials withCardNumber(String value)
      The masked credit/debit card number
    • getCountryCode

      public String getCountryCode()
      ISO 3166-1 alpha-2 country code
    • setCountryCode

      public void setCountryCode(String value)
      ISO 3166-1 alpha-2 country code
    • withCountryCode

      public CardEssentials withCountryCode(String value)
      ISO 3166-1 alpha-2 country code
    • getExpiryDate

      public String getExpiryDate()
      Expiry date of the card Format: MMYY
    • setExpiryDate

      public void setExpiryDate(String value)
      Expiry date of the card Format: MMYY
    • withExpiryDate

      public CardEssentials withExpiryDate(String value)
      Expiry date of the card Format: MMYY