Class Card

java.lang.Object
com.onlinepayments.domain.Card

public class Card extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The card holder's name on the card.
    The complete credit/debit card number (also know as the PAN) The card number is always obfuscated in any of our responses
    Card Verification Value, a 3 or 4 digit code used as an additional security feature for card not present transactions.
    Expiry date of the card Format: MMYY
    void
    The card holder's name on the card.
    void
    The complete credit/debit card number (also know as the PAN) The card number is always obfuscated in any of our responses
    void
    setCvv(String value)
    Card Verification Value, a 3 or 4 digit code used as an additional security feature for card not present transactions.
    void
    Expiry date of the card Format: MMYY
    The card holder's name on the card.
    The complete credit/debit card number (also know as the PAN) The card number is always obfuscated in any of our responses
    withCvv(String value)
    Card Verification Value, a 3 or 4 digit code used as an additional security feature for card not present transactions.
    Expiry date of the card Format: MMYY

    Methods inherited from class java.lang.Object

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

    • Card

      public Card()
  • Method Details

    • getCardNumber

      public String getCardNumber()
      The complete credit/debit card number (also know as the PAN) The card number is always obfuscated in any of our responses
    • setCardNumber

      public void setCardNumber(String value)
      The complete credit/debit card number (also know as the PAN) The card number is always obfuscated in any of our responses
    • withCardNumber

      public Card withCardNumber(String value)
      The complete credit/debit card number (also know as the PAN) The card number is always obfuscated in any of our responses
    • getCardholderName

      public String getCardholderName()
      The card holder's name on the card.
    • setCardholderName

      public void setCardholderName(String value)
      The card holder's name on the card.
    • withCardholderName

      public Card withCardholderName(String value)
      The card holder's name on the card.
    • getCvv

      public String getCvv()
      Card Verification Value, a 3 or 4 digit code used as an additional security feature for card not present transactions.
    • setCvv

      public void setCvv(String value)
      Card Verification Value, a 3 or 4 digit code used as an additional security feature for card not present transactions.
    • withCvv

      public Card withCvv(String value)
      Card Verification Value, a 3 or 4 digit code used as an additional security feature for card not present transactions.
    • 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 Card withExpiryDate(String value)
      Expiry date of the card Format: MMYY