Package com.adyen.model.payout
Class ResponseAdditionalDataCard
- java.lang.Object
-
- com.adyen.model.payout.ResponseAdditionalDataCard
-
public class ResponseAdditionalDataCard extends Object
ResponseAdditionalDataCard
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponseAdditionalDataCard.CardProductIdEnumThe Card Product ID represents the type of card following card scheme product definitions and can be returned for Adyen Acquiring service level payments.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CARD_BINstatic StringJSON_PROPERTY_CARD_HOLDER_NAMEstatic StringJSON_PROPERTY_CARD_ISSUING_BANKstatic StringJSON_PROPERTY_CARD_ISSUING_COUNTRYstatic StringJSON_PROPERTY_CARD_ISSUING_CURRENCYstatic StringJSON_PROPERTY_CARD_PAYMENT_METHODstatic StringJSON_PROPERTY_CARD_PRODUCT_IDstatic StringJSON_PROPERTY_CARD_SUMMARYstatic StringJSON_PROPERTY_ISSUER_BIN
-
Constructor Summary
Constructors Constructor Description ResponseAdditionalDataCard()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseAdditionalDataCardcardBin(String cardBin)The first six digits of the card number.ResponseAdditionalDataCardcardHolderName(String cardHolderName)The cardholder name passed in the payment request.ResponseAdditionalDataCardcardIssuingBank(String cardIssuingBank)The bank or the financial institution granting lines of credit through card association branded payment cards.ResponseAdditionalDataCardcardIssuingCountry(String cardIssuingCountry)The country where the card was issued.ResponseAdditionalDataCardcardIssuingCurrency(String cardIssuingCurrency)The currency in which the card is issued, if this information is available.ResponseAdditionalDataCardcardPaymentMethod(String cardPaymentMethod)The card payment method used for the transaction.ResponseAdditionalDataCardcardProductId(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.ResponseAdditionalDataCardcardSummary(String cardSummary)The last four digits of a card number.booleanequals(Object o)Return true if this ResponseAdditionalDataCard object is equal to o.static ResponseAdditionalDataCardfromJson(String jsonString)Create an instance of ResponseAdditionalDataCard given an JSON stringStringgetCardBin()The first six digits of the card number.StringgetCardHolderName()The cardholder name passed in the payment request.StringgetCardIssuingBank()The bank or the financial institution granting lines of credit through card association branded payment cards.StringgetCardIssuingCountry()The country where the card was issued.StringgetCardIssuingCurrency()The currency in which the card is issued, if this information is available.StringgetCardPaymentMethod()The card payment method used for the transaction.ResponseAdditionalDataCard.CardProductIdEnumgetCardProductId()The Card Product ID represents the type of card following card scheme product definitions and can be returned for Adyen Acquiring service level payments.StringgetCardSummary()The last four digits of a card number.StringgetIssuerBin()The first eight digits of the card number.inthashCode()ResponseAdditionalDataCardissuerBin(String issuerBin)The first eight digits of the card number.voidsetCardBin(String cardBin)The first six digits of the card number.voidsetCardHolderName(String cardHolderName)The cardholder name passed in the payment request.voidsetCardIssuingBank(String cardIssuingBank)The bank or the financial institution granting lines of credit through card association branded payment cards.voidsetCardIssuingCountry(String cardIssuingCountry)The country where the card was issued.voidsetCardIssuingCurrency(String cardIssuingCurrency)The currency in which the card is issued, if this information is available.voidsetCardPaymentMethod(String cardPaymentMethod)The card payment method used for the transaction.voidsetCardProductId(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.voidsetCardSummary(String cardSummary)The last four digits of a card number.voidsetIssuerBin(String issuerBin)The first eight digits of the card number.StringtoJson()Convert an instance of ResponseAdditionalDataCard to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CARD_BIN
public static final String JSON_PROPERTY_CARD_BIN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARD_HOLDER_NAME
public static final String JSON_PROPERTY_CARD_HOLDER_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARD_ISSUING_BANK
public static final String JSON_PROPERTY_CARD_ISSUING_BANK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARD_ISSUING_COUNTRY
public static final String JSON_PROPERTY_CARD_ISSUING_COUNTRY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARD_ISSUING_CURRENCY
public static final String JSON_PROPERTY_CARD_ISSUING_CURRENCY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARD_PAYMENT_METHOD
public static final String JSON_PROPERTY_CARD_PAYMENT_METHOD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARD_PRODUCT_ID
public static final String JSON_PROPERTY_CARD_PRODUCT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARD_SUMMARY
public static final String JSON_PROPERTY_CARD_SUMMARY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ISSUER_BIN
public static final String JSON_PROPERTY_ISSUER_BIN
- See Also:
- Constant Field Values
-
-
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
ResponseAdditionalDataCardinstance, 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
ResponseAdditionalDataCardinstance, 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
ResponseAdditionalDataCardinstance, 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
ResponseAdditionalDataCardinstance, 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
ResponseAdditionalDataCardinstance, 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
ResponseAdditionalDataCardinstance, 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
ResponseAdditionalDataCardinstance, 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
ResponseAdditionalDataCardinstance, 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
ResponseAdditionalDataCardinstance, 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.
-
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
-
-