Class ResponseAdditionalDataCard


  • public class ResponseAdditionalDataCard
    extends Object
    ResponseAdditionalDataCard
    • Constructor Detail

      • ResponseAdditionalDataCard

        public ResponseAdditionalDataCard()
    • Method Detail

      • cardAltID

        public ResponseAdditionalDataCard cardAltID​(String cardAltID)
        This is an ALT ID (alternate ID) mapped to the Card PAN. > Returned only in case of Ecommerce Card Payment in India
        Parameters:
        cardAltID - This is an ALT ID (alternate ID) mapped to the Card PAN. > Returned only in case of Ecommerce Card Payment in India
        Returns:
        the current ResponseAdditionalDataCard instance, allowing for method chaining
      • getCardAltID

        public String getCardAltID()
        This is an ALT ID (alternate ID) mapped to the Card PAN. > Returned only in case of Ecommerce Card Payment in India
        Returns:
        cardAltID This is an ALT ID (alternate ID) mapped to the Card PAN. > Returned only in case of Ecommerce Card Payment in India
      • setCardAltID

        public void setCardAltID​(String cardAltID)
        This is an ALT ID (alternate ID) mapped to the Card PAN. > Returned only in case of Ecommerce Card Payment in India
        Parameters:
        cardAltID - This is an ALT ID (alternate ID) mapped to the Card PAN. > Returned only in case of Ecommerce Card Payment in India
      • 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 - 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:
        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 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
      • 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 - 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
      • cardHolderName

        public ResponseAdditionalDataCard cardHolderName​(String cardHolderName)
        The cardholder name passed in the payment request.
        Parameters:
        cardHolderName - The cardholder name passed in the payment request.
        Returns:
        the current ResponseAdditionalDataCard instance, allowing for method chaining
      • getCardHolderName

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

        public void setCardHolderName​(String cardHolderName)
        The cardholder name passed in the payment request.
        Parameters:
        cardHolderName - The cardholder name passed in the payment request.
      • 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 - The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available.
        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 The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available.
      • 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 - The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available.
      • cardIssuingCountry

        public ResponseAdditionalDataCard cardIssuingCountry​(String cardIssuingCountry)
        The country where the card was issued. Example: US
        Parameters:
        cardIssuingCountry - The country where the card was issued. Example: US
        Returns:
        the current ResponseAdditionalDataCard instance, allowing for method chaining
      • getCardIssuingCountry

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

        public void setCardIssuingCountry​(String cardIssuingCountry)
        The country where the card was issued. Example: US
        Parameters:
        cardIssuingCountry - The country where the card was issued. Example: US
      • 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 - 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:
        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 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
      • 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 - 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
      • cardPaymentMethod

        public ResponseAdditionalDataCard cardPaymentMethod​(String cardPaymentMethod)
        The card payment method used for the transaction. Example: amex
        Parameters:
        cardPaymentMethod - The card payment method used for the transaction. Example: amex
        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 The card payment method used for the transaction. Example: amex
      • setCardPaymentMethod

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

        public ResponseAdditionalDataCard cardProductId​(String 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. Example values Visa: * **A** - Visa Traditional * **B** - Visa Traditional Rewards * **C** - Visa Signature * **D** - Visa Signature Preferred * **F** - Visa Classic Example 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 - The Card Product ID represents the type of card following card scheme product definitions and can be returned for Adyen Acquiring service level payments. Example values Visa: * **A** - Visa Traditional * **B** - Visa Traditional Rewards * **C** - Visa Signature * **D** - Visa Signature Preferred * **F** - Visa Classic Example 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:
        the current ResponseAdditionalDataCard instance, allowing for method chaining
      • getCardProductId

        public String 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. Example values Visa: * **A** - Visa Traditional * **B** - Visa Traditional Rewards * **C** - Visa Signature * **D** - Visa Signature Preferred * **F** - Visa Classic Example 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 The Card Product ID represents the type of card following card scheme product definitions and can be returned for Adyen Acquiring service level payments. Example values Visa: * **A** - Visa Traditional * **B** - Visa Traditional Rewards * **C** - Visa Signature * **D** - Visa Signature Preferred * **F** - Visa Classic Example 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
      • setCardProductId

        public void setCardProductId​(String 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. Example values Visa: * **A** - Visa Traditional * **B** - Visa Traditional Rewards * **C** - Visa Signature * **D** - Visa Signature Preferred * **F** - Visa Classic Example 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 - The Card Product ID represents the type of card following card scheme product definitions and can be returned for Adyen Acquiring service level payments. Example values Visa: * **A** - Visa Traditional * **B** - Visa Traditional Rewards * **C** - Visa Signature * **D** - Visa Signature Preferred * **F** - Visa Classic Example 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
      • cardSummary

        public ResponseAdditionalDataCard cardSummary​(String cardSummary)
        The last four digits of a card number. > Returned only in case of a card payment.
        Parameters:
        cardSummary - The last four digits of a card number. > Returned only in case of a card payment.
        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 The last four digits of a card number. > Returned only in case of a card payment.
      • setCardSummary

        public void setCardSummary​(String cardSummary)
        The last four digits of a card number. > Returned only in case of a card payment.
        Parameters:
        cardSummary - The last four digits of a card number. > Returned only in case of a card payment.
      • 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 - 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:
        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 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
      • 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 - 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
      • includeNullValues

        public ResponseAdditionalDataCard includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • 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
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • 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