Package com.adyen.model.checkout
Class PaymentValidationsNameResultResponse
- java.lang.Object
-
- com.adyen.model.checkout.PaymentValidationsNameResultResponse
-
public class PaymentValidationsNameResultResponse extends Object
PaymentValidationsNameResultResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_FIRST_NAMEstatic StringJSON_PROPERTY_FULL_NAMEstatic StringJSON_PROPERTY_LAST_NAMEstatic StringJSON_PROPERTY_MIDDLE_NAME
-
Constructor Summary
Constructors Constructor Description PaymentValidationsNameResultResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this PaymentValidationsNameResultResponse object is equal to o.PaymentValidationsNameResultResponsefirstName(String firstName)Informs you if the first name your shopper provided matches the cardholder first name on file at the issuing bank.static PaymentValidationsNameResultResponsefromJson(String jsonString)Create an instance of PaymentValidationsNameResultResponse given an JSON stringPaymentValidationsNameResultResponsefullName(String fullName)Informs you if the full name your shopper provided matches the cardholder name on file at the issuing bank.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetFirstName()Informs you if the first name your shopper provided matches the cardholder first name on file at the issuing bank.StringgetFullName()Informs you if the full name your shopper provided matches the cardholder name on file at the issuing bank.StringgetLastName()Informs you if the last name your shopper provided matches the cardholder last name on file at the issuing bank.StringgetMiddleName()Informs you if the middle name your shopper provided matches the cardholder middle name on file at the issuing bank.inthashCode()PaymentValidationsNameResultResponseincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.PaymentValidationsNameResultResponselastName(String lastName)Informs you if the last name your shopper provided matches the cardholder last name on file at the issuing bank.PaymentValidationsNameResultResponsemiddleName(String middleName)Informs you if the middle name your shopper provided matches the cardholder middle name on file at the issuing bank.voidsetFirstName(String firstName)Informs you if the first name your shopper provided matches the cardholder first name on file at the issuing bank.voidsetFullName(String fullName)Informs you if the full name your shopper provided matches the cardholder name on file at the issuing bank.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetLastName(String lastName)Informs you if the last name your shopper provided matches the cardholder last name on file at the issuing bank.voidsetMiddleName(String middleName)Informs you if the middle name your shopper provided matches the cardholder middle name on file at the issuing bank.StringtoJson()Convert an instance of PaymentValidationsNameResultResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_FIRST_NAME
public static final String JSON_PROPERTY_FIRST_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FULL_NAME
public static final String JSON_PROPERTY_FULL_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LAST_NAME
public static final String JSON_PROPERTY_LAST_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MIDDLE_NAME
public static final String JSON_PROPERTY_MIDDLE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
firstName
public PaymentValidationsNameResultResponse firstName(String firstName)
Informs you if the first name your shopper provided matches the cardholder first name on file at the issuing bank. The first name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**- Parameters:
firstName- Informs you if the first name your shopper provided matches the cardholder first name on file at the issuing bank. The first name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**- Returns:
- the current
PaymentValidationsNameResultResponseinstance, allowing for method chaining
-
getFirstName
public String getFirstName()
Informs you if the first name your shopper provided matches the cardholder first name on file at the issuing bank. The first name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**- Returns:
- firstName Informs you if the first name your shopper provided matches the cardholder first name on file at the issuing bank. The first name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**
-
setFirstName
public void setFirstName(String firstName)
Informs you if the first name your shopper provided matches the cardholder first name on file at the issuing bank. The first name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**- Parameters:
firstName- Informs you if the first name your shopper provided matches the cardholder first name on file at the issuing bank. The first name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**
-
fullName
public PaymentValidationsNameResultResponse fullName(String fullName)
Informs you if the full name your shopper provided matches the cardholder name on file at the issuing bank. The full name is the only field that is validated for Mastercard. Possible values: **match**, **partialMatch**, **noMatch**- Parameters:
fullName- Informs you if the full name your shopper provided matches the cardholder name on file at the issuing bank. The full name is the only field that is validated for Mastercard. Possible values: **match**, **partialMatch**, **noMatch**- Returns:
- the current
PaymentValidationsNameResultResponseinstance, allowing for method chaining
-
getFullName
public String getFullName()
Informs you if the full name your shopper provided matches the cardholder name on file at the issuing bank. The full name is the only field that is validated for Mastercard. Possible values: **match**, **partialMatch**, **noMatch**- Returns:
- fullName Informs you if the full name your shopper provided matches the cardholder name on file at the issuing bank. The full name is the only field that is validated for Mastercard. Possible values: **match**, **partialMatch**, **noMatch**
-
setFullName
public void setFullName(String fullName)
Informs you if the full name your shopper provided matches the cardholder name on file at the issuing bank. The full name is the only field that is validated for Mastercard. Possible values: **match**, **partialMatch**, **noMatch**- Parameters:
fullName- Informs you if the full name your shopper provided matches the cardholder name on file at the issuing bank. The full name is the only field that is validated for Mastercard. Possible values: **match**, **partialMatch**, **noMatch**
-
lastName
public PaymentValidationsNameResultResponse lastName(String lastName)
Informs you if the last name your shopper provided matches the cardholder last name on file at the issuing bank. The last name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**- Parameters:
lastName- Informs you if the last name your shopper provided matches the cardholder last name on file at the issuing bank. The last name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**- Returns:
- the current
PaymentValidationsNameResultResponseinstance, allowing for method chaining
-
getLastName
public String getLastName()
Informs you if the last name your shopper provided matches the cardholder last name on file at the issuing bank. The last name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**- Returns:
- lastName Informs you if the last name your shopper provided matches the cardholder last name on file at the issuing bank. The last name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**
-
setLastName
public void setLastName(String lastName)
Informs you if the last name your shopper provided matches the cardholder last name on file at the issuing bank. The last name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**- Parameters:
lastName- Informs you if the last name your shopper provided matches the cardholder last name on file at the issuing bank. The last name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**
-
middleName
public PaymentValidationsNameResultResponse middleName(String middleName)
Informs you if the middle name your shopper provided matches the cardholder middle name on file at the issuing bank. The middle name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**- Parameters:
middleName- Informs you if the middle name your shopper provided matches the cardholder middle name on file at the issuing bank. The middle name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**- Returns:
- the current
PaymentValidationsNameResultResponseinstance, allowing for method chaining
-
getMiddleName
public String getMiddleName()
Informs you if the middle name your shopper provided matches the cardholder middle name on file at the issuing bank. The middle name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**- Returns:
- middleName Informs you if the middle name your shopper provided matches the cardholder middle name on file at the issuing bank. The middle name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**
-
setMiddleName
public void setMiddleName(String middleName)
Informs you if the middle name your shopper provided matches the cardholder middle name on file at the issuing bank. The middle name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**- Parameters:
middleName- Informs you if the middle name your shopper provided matches the cardholder middle name on file at the issuing bank. The middle name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch**
-
includeNullValues
public PaymentValidationsNameResultResponse 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 PaymentValidationsNameResultResponse object is equal to o.
-
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 PaymentValidationsNameResultResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaymentValidationsNameResultResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentValidationsNameResultResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaymentValidationsNameResultResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PaymentValidationsNameResultResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-