Class ResponseAdditionalDataCard


  • public class ResponseAdditionalDataCard
    extends Object
    ResponseAdditionalDataCard
    • Constructor Detail

      • ResponseAdditionalDataCard

        public ResponseAdditionalDataCard()
    • Method Detail

      • cardBin

        public ResponseAdditionalDataCard cardBin​(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 -
        Returns:
        the current ResponseAdditionalDataCard instance, allowing for method chaining
      • 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 -
      • cardHolderName

        public ResponseAdditionalDataCard cardHolderName​(String cardHolderName)
        The cardholder name passed in the payment request.
        Parameters:
        cardHolderName -
        Returns:
        the current ResponseAdditionalDataCard instance, allowing for method chaining
      • 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 -
      • cardIssuingBank

        public ResponseAdditionalDataCard cardIssuingBank​(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 -
        Returns:
        the current ResponseAdditionalDataCard instance, allowing for method chaining
      • 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 -
      • cardIssuingCountry

        public ResponseAdditionalDataCard cardIssuingCountry​(String cardIssuingCountry)
        The country where the card was issued. Example: US
        Parameters:
        cardIssuingCountry -
        Returns:
        the current ResponseAdditionalDataCard instance, allowing for method chaining
      • 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 -
      • cardIssuingCurrency

        public ResponseAdditionalDataCard cardIssuingCurrency​(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 -
        Returns:
        the current ResponseAdditionalDataCard instance, allowing for method chaining
      • 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 -
      • cardPaymentMethod

        public ResponseAdditionalDataCard cardPaymentMethod​(String cardPaymentMethod)
        The card payment method used for the transaction. Example: amex
        Parameters:
        cardPaymentMethod -
        Returns:
        the current ResponseAdditionalDataCard instance, allowing for method chaining
      • 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 -
      • cardProductId

        public ResponseAdditionalDataCard cardProductId​(ResponseAdditionalDataCard.CardProductIdEnum cardProductId)
        The Card Product ID represents the type of card following card scheme product definitions and can be returned for Adyen Acquiring service level payments. Possible values Visa: * **A** - Visa Traditional * **B** - Visa Traditional Rewards * **C** - Visa Signature * **D** - Visa Signature Preferred * **F** - Visa Classic Possible values Mastercard: * **MCC** - Mastercard Card * **MCE** - Mastercard Electronic Card * **MCF** - Mastercard Corporate Fleet Card * **MCG** - Gold Mastercard Card * **MCH** - Mastercard Premium Charge * **MCI** - Mastercard Select Debit
        Parameters:
        cardProductId -
        Returns:
        the current ResponseAdditionalDataCard instance, allowing for method chaining
      • getCardProductId

        public ResponseAdditionalDataCard.CardProductIdEnum getCardProductId()
        The Card Product ID represents the type of card following card scheme product definitions and can be returned for Adyen Acquiring service level payments. Possible values Visa: * **A** - Visa Traditional * **B** - Visa Traditional Rewards * **C** - Visa Signature * **D** - Visa Signature Preferred * **F** - Visa Classic Possible values Mastercard: * **MCC** - Mastercard Card * **MCE** - Mastercard Electronic Card * **MCF** - Mastercard Corporate Fleet Card * **MCG** - Gold Mastercard Card * **MCH** - Mastercard Premium Charge * **MCI** - Mastercard Select Debit
        Returns:
        cardProductId
      • setCardProductId

        public void setCardProductId​(ResponseAdditionalDataCard.CardProductIdEnum cardProductId)
        The Card Product ID represents the type of card following card scheme product definitions and can be returned for Adyen Acquiring service level payments. Possible values Visa: * **A** - Visa Traditional * **B** - Visa Traditional Rewards * **C** - Visa Signature * **D** - Visa Signature Preferred * **F** - Visa Classic Possible values Mastercard: * **MCC** - Mastercard Card * **MCE** - Mastercard Electronic Card * **MCF** - Mastercard Corporate Fleet Card * **MCG** - Gold Mastercard Card * **MCH** - Mastercard Premium Charge * **MCI** - Mastercard Select Debit
        Parameters:
        cardProductId -
      • cardSummary

        public ResponseAdditionalDataCard cardSummary​(String cardSummary)
        The last four digits of a card number. > Returned only in case of a card payment.
        Parameters:
        cardSummary -
        Returns:
        the current ResponseAdditionalDataCard instance, allowing for method chaining
      • 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 -
      • issuerBin

        public ResponseAdditionalDataCard issuerBin​(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 -
        Returns:
        the current ResponseAdditionalDataCard instance, allowing for method chaining
      • 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