Package com.adyen.model.checkout
Class PaymentValidationsNameResultRawResponse
- java.lang.Object
-
- com.adyen.model.checkout.PaymentValidationsNameResultRawResponse
-
public class PaymentValidationsNameResultRawResponse extends Object
PaymentValidationsNameResultRawResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_FIRST_NAMEstatic StringJSON_PROPERTY_FULL_NAMEstatic StringJSON_PROPERTY_LAST_NAMEstatic StringJSON_PROPERTY_MIDDLE_NAMEstatic StringJSON_PROPERTY_STATUS
-
Constructor Summary
Constructors Constructor Description PaymentValidationsNameResultRawResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this PaymentValidationsNameResultRawResponse object is equal to o.PaymentValidationsNameResultRawResponsefirstName(String firstName)The raw first name validation result that Adyen received from the scheme.static PaymentValidationsNameResultRawResponsefromJson(String jsonString)Create an instance of PaymentValidationsNameResultRawResponse given an JSON stringPaymentValidationsNameResultRawResponsefullName(String fullName)The raw full name validation result that Adyen received from the scheme.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetFirstName()The raw first name validation result that Adyen received from the scheme.StringgetFullName()The raw full name validation result that Adyen received from the scheme.StringgetLastName()The raw last name validation result that Adyen received from the scheme.StringgetMiddleName()The raw middle name validation result that Adyen received from the scheme.StringgetStatus()The raw name validation status value that Adyen received from the scheme.inthashCode()PaymentValidationsNameResultRawResponseincludeNullValues(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.PaymentValidationsNameResultRawResponselastName(String lastName)The raw last name validation result that Adyen received from the scheme.PaymentValidationsNameResultRawResponsemiddleName(String middleName)The raw middle name validation result that Adyen received from the scheme.voidsetFirstName(String firstName)The raw first name validation result that Adyen received from the scheme.voidsetFullName(String fullName)The raw full name validation result that Adyen received from the scheme.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetLastName(String lastName)The raw last name validation result that Adyen received from the scheme.voidsetMiddleName(String middleName)The raw middle name validation result that Adyen received from the scheme.voidsetStatus(String status)The raw name validation status value that Adyen received from the scheme.PaymentValidationsNameResultRawResponsestatus(String status)The raw name validation status value that Adyen received from the scheme.StringtoJson()Convert an instance of PaymentValidationsNameResultRawResponse 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
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
firstName
public PaymentValidationsNameResultRawResponse firstName(String firstName)
The raw first name validation result that Adyen received from the scheme. First name validation result is only returned for Visa.- Parameters:
firstName- The raw first name validation result that Adyen received from the scheme. First name validation result is only returned for Visa.- Returns:
- the current
PaymentValidationsNameResultRawResponseinstance, allowing for method chaining
-
getFirstName
public String getFirstName()
The raw first name validation result that Adyen received from the scheme. First name validation result is only returned for Visa.- Returns:
- firstName The raw first name validation result that Adyen received from the scheme. First name validation result is only returned for Visa.
-
setFirstName
public void setFirstName(String firstName)
The raw first name validation result that Adyen received from the scheme. First name validation result is only returned for Visa.- Parameters:
firstName- The raw first name validation result that Adyen received from the scheme. First name validation result is only returned for Visa.
-
fullName
public PaymentValidationsNameResultRawResponse fullName(String fullName)
The raw full name validation result that Adyen received from the scheme. Full name is the only field that is validated for Mastercard- Parameters:
fullName- The raw full name validation result that Adyen received from the scheme. Full name is the only field that is validated for Mastercard- Returns:
- the current
PaymentValidationsNameResultRawResponseinstance, allowing for method chaining
-
getFullName
public String getFullName()
The raw full name validation result that Adyen received from the scheme. Full name is the only field that is validated for Mastercard- Returns:
- fullName The raw full name validation result that Adyen received from the scheme. Full name is the only field that is validated for Mastercard
-
setFullName
public void setFullName(String fullName)
The raw full name validation result that Adyen received from the scheme. Full name is the only field that is validated for Mastercard- Parameters:
fullName- The raw full name validation result that Adyen received from the scheme. Full name is the only field that is validated for Mastercard
-
lastName
public PaymentValidationsNameResultRawResponse lastName(String lastName)
The raw last name validation result that Adyen received from the scheme. Last name validation result is only returned for Visa.- Parameters:
lastName- The raw last name validation result that Adyen received from the scheme. Last name validation result is only returned for Visa.- Returns:
- the current
PaymentValidationsNameResultRawResponseinstance, allowing for method chaining
-
getLastName
public String getLastName()
The raw last name validation result that Adyen received from the scheme. Last name validation result is only returned for Visa.- Returns:
- lastName The raw last name validation result that Adyen received from the scheme. Last name validation result is only returned for Visa.
-
setLastName
public void setLastName(String lastName)
The raw last name validation result that Adyen received from the scheme. Last name validation result is only returned for Visa.- Parameters:
lastName- The raw last name validation result that Adyen received from the scheme. Last name validation result is only returned for Visa.
-
middleName
public PaymentValidationsNameResultRawResponse middleName(String middleName)
The raw middle name validation result that Adyen received from the scheme. Middle name validation result is only returned for Visa.- Parameters:
middleName- The raw middle name validation result that Adyen received from the scheme. Middle name validation result is only returned for Visa.- Returns:
- the current
PaymentValidationsNameResultRawResponseinstance, allowing for method chaining
-
getMiddleName
public String getMiddleName()
The raw middle name validation result that Adyen received from the scheme. Middle name validation result is only returned for Visa.- Returns:
- middleName The raw middle name validation result that Adyen received from the scheme. Middle name validation result is only returned for Visa.
-
setMiddleName
public void setMiddleName(String middleName)
The raw middle name validation result that Adyen received from the scheme. Middle name validation result is only returned for Visa.- Parameters:
middleName- The raw middle name validation result that Adyen received from the scheme. Middle name validation result is only returned for Visa.
-
status
public PaymentValidationsNameResultRawResponse status(String status)
The raw name validation status value that Adyen received from the scheme. Only returned for Visa.- Parameters:
status- The raw name validation status value that Adyen received from the scheme. Only returned for Visa.- Returns:
- the current
PaymentValidationsNameResultRawResponseinstance, allowing for method chaining
-
getStatus
public String getStatus()
The raw name validation status value that Adyen received from the scheme. Only returned for Visa.- Returns:
- status The raw name validation status value that Adyen received from the scheme. Only returned for Visa.
-
setStatus
public void setStatus(String status)
The raw name validation status value that Adyen received from the scheme. Only returned for Visa.- Parameters:
status- The raw name validation status value that Adyen received from the scheme. Only returned for Visa.
-
includeNullValues
public PaymentValidationsNameResultRawResponse 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 PaymentValidationsNameResultRawResponse 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 PaymentValidationsNameResultRawResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaymentValidationsNameResultRawResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentValidationsNameResultRawResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaymentValidationsNameResultRawResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PaymentValidationsNameResultRawResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-