Class Card

  • All Implemented Interfaces:
    Serializable

    public class Card
    extends Object
    implements Serializable
    The payment card to use to fund a payment. Card can be a credit or debit card.
    Author:
    Dima Myroniuk (dmyroniuk)
    See Also:
    Serialized Form
    • Constructor Detail

      • Card

        public Card()
    • Method Detail

      • setAuthenticationResult

        public void setAuthenticationResult​(AuthenticationResult authenticationResult)
        Results of Authentication such as 3D Secure.
      • setBrand

        public void setBrand​(String brand)
        The card brand or network. Typically used in the response. The possible values are:
        • VISA. Visa card.
        • MASTERCARD. Mastecard card.
        • DISCOVER. Discover card.
        • AMEX. American Express card.
        • SOLO. Solo debit card.
        • JCB. Japan Credit Bureau card.
        • STAR. Military Star card.
        • DELTA. Delta Airlines card.
        • SWITCH. Switch credit card.
        • MAESTRO. Maestro credit card.
        • CB_NATIONALE. Carte Bancaire (CB) credit card.
        • CONFIGOGA. Configoga credit card.
        • ELECTRON. Visa Electron credit card.
        • CETELEM. Cetelem credit card.
        • CHINA_UNION_PAY. China union pay credit card.
      • setFromRequest

        public void setFromRequest​(CardFromRequest fromRequest)
        Representation of card details as received in the request.
      • setLastDigits

        public void setLastDigits​(String lastDigits)
        The last digits of the payment card.
      • setName

        public void setName​(String name)
        The last digits of the payment card.
      • setType

        public void setType​(String type)
        The payment card type.
      • getAuthenticationResult

        public AuthenticationResult getAuthenticationResult()
        Results of Authentication such as 3D Secure.
      • getBrand

        public String getBrand()
        The card brand or network. Typically used in the response. The possible values are:
        • VISA. Visa card.
        • MASTERCARD. Mastecard card.
        • DISCOVER. Discover card.
        • AMEX. American Express card.
        • SOLO. Solo debit card.
        • JCB. Japan Credit Bureau card.
        • STAR. Military Star card.
        • DELTA. Delta Airlines card.
        • SWITCH. Switch credit card.
        • MAESTRO. Maestro credit card.
        • CB_NATIONALE. Carte Bancaire (CB) credit card.
        • CONFIGOGA. Configoga credit card.
        • ELECTRON. Visa Electron credit card.
        • CETELEM. Cetelem credit card.
        • CHINA_UNION_PAY. China union pay credit card.
      • getFromRequest

        public CardFromRequest getFromRequest()
        Representation of card details as received in the request.
      • getLastDigits

        public String getLastDigits()
        The last digits of the payment card.
      • getName

        public String getName()
        The last digits of the payment card.
      • getType

        public String getType()
        The payment card type.