Class ResponseAdditionalDataCard


  • public class ResponseAdditionalDataCard
    extends Object
    ResponseAdditionalDataCard
    • Constructor Detail

      • ResponseAdditionalDataCard

        public ResponseAdditionalDataCard()
    • Method Detail

      • getCardBin

        public String getCardBin()
        The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234
        Returns:
        cardBin
      • setCardBin

        public void setCardBin​(String cardBin)
        The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234
        Parameters:
        cardBin -
      • getCardHolderName

        public String getCardHolderName()
        The cardholder name passed in the payment request.
        Returns:
        cardHolderName
      • setCardHolderName

        public void setCardHolderName​(String cardHolderName)
        The cardholder name passed in the payment request.
        Parameters:
        cardHolderName -
      • getCardIssuingBank

        public String getCardIssuingBank()
        The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available.
        Returns:
        cardIssuingBank
      • setCardIssuingBank

        public void setCardIssuingBank​(String cardIssuingBank)
        The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available.
        Parameters:
        cardIssuingBank -
      • getCardIssuingCountry

        public String getCardIssuingCountry()
        The country where the card was issued. Example: US
        Returns:
        cardIssuingCountry
      • setCardIssuingCountry

        public void setCardIssuingCountry​(String cardIssuingCountry)
        The country where the card was issued. Example: US
        Parameters:
        cardIssuingCountry -
      • getCardIssuingCurrency

        public String getCardIssuingCurrency()
        The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD
        Returns:
        cardIssuingCurrency
      • setCardIssuingCurrency

        public void setCardIssuingCurrency​(String cardIssuingCurrency)
        The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. Example: USD
        Parameters:
        cardIssuingCurrency -
      • getCardPaymentMethod

        public String getCardPaymentMethod()
        The card payment method used for the transaction. Example: amex
        Returns:
        cardPaymentMethod
      • setCardPaymentMethod

        public void setCardPaymentMethod​(String cardPaymentMethod)
        The card payment method used for the transaction. Example: amex
        Parameters:
        cardPaymentMethod -
      • getCardSummary

        public String getCardSummary()
        The last four digits of a card number. > Returned only in case of a card payment.
        Returns:
        cardSummary
      • setCardSummary

        public void setCardSummary​(String cardSummary)
        The last four digits of a card number. > Returned only in case of a card payment.
        Parameters:
        cardSummary -
      • getIssuerBin

        public String getIssuerBin()
        The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423
        Returns:
        issuerBin
      • setIssuerBin

        public void setIssuerBin​(String issuerBin)
        The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423
        Parameters:
        issuerBin -
      • equals

        public boolean equals​(Object o)
        Return true if this ResponseAdditionalDataCard object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

        public static ResponseAdditionalDataCard fromJson​(String jsonString)
                                                   throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of ResponseAdditionalDataCard given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of ResponseAdditionalDataCard
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to ResponseAdditionalDataCard
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of ResponseAdditionalDataCard to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException