Package com.adyen.model.checkout
Class PaymentValidationsNameResponse
- java.lang.Object
-
- com.adyen.model.checkout.PaymentValidationsNameResponse
-
public class PaymentValidationsNameResponse extends Object
PaymentValidationsNameResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentValidationsNameResponse.StatusEnumInforms you if the name validation was performed.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_RAW_RESPONSEstatic StringJSON_PROPERTY_RESULTstatic StringJSON_PROPERTY_STATUS
-
Constructor Summary
Constructors Constructor Description PaymentValidationsNameResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this PaymentValidationsNameResponse object is equal to o.static PaymentValidationsNameResponsefromJson(String jsonString)Create an instance of PaymentValidationsNameResponse given an JSON stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.PaymentValidationsNameResultRawResponsegetRawResponse()Get rawResponsePaymentValidationsNameResultResponsegetResult()Get resultPaymentValidationsNameResponse.StatusEnumgetStatus()Informs you if the name validation was performed.inthashCode()PaymentValidationsNameResponseincludeNullValues(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.PaymentValidationsNameResponserawResponse(PaymentValidationsNameResultRawResponse rawResponse)rawResponsePaymentValidationsNameResponseresult(PaymentValidationsNameResultResponse result)resultvoidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetRawResponse(PaymentValidationsNameResultRawResponse rawResponse)rawResponsevoidsetResult(PaymentValidationsNameResultResponse result)resultvoidsetStatus(PaymentValidationsNameResponse.StatusEnum status)Informs you if the name validation was performed.PaymentValidationsNameResponsestatus(PaymentValidationsNameResponse.StatusEnum status)Informs you if the name validation was performed.StringtoJson()Convert an instance of PaymentValidationsNameResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_RAW_RESPONSE
public static final String JSON_PROPERTY_RAW_RESPONSE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESULT
public static final String JSON_PROPERTY_RESULT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
rawResponse
public PaymentValidationsNameResponse rawResponse(PaymentValidationsNameResultRawResponse rawResponse)
rawResponse- Parameters:
rawResponse-- Returns:
- the current
PaymentValidationsNameResponseinstance, allowing for method chaining
-
getRawResponse
public PaymentValidationsNameResultRawResponse getRawResponse()
Get rawResponse- Returns:
- rawResponse
-
setRawResponse
public void setRawResponse(PaymentValidationsNameResultRawResponse rawResponse)
rawResponse- Parameters:
rawResponse-
-
result
public PaymentValidationsNameResponse result(PaymentValidationsNameResultResponse result)
result- Parameters:
result-- Returns:
- the current
PaymentValidationsNameResponseinstance, allowing for method chaining
-
getResult
public PaymentValidationsNameResultResponse getResult()
Get result- Returns:
- result
-
setResult
public void setResult(PaymentValidationsNameResultResponse result)
result- Parameters:
result-
-
status
public PaymentValidationsNameResponse status(PaymentValidationsNameResponse.StatusEnum status)
Informs you if the name validation was performed. Possible values: **performed**, **notPerformed**, **notSupported**- Parameters:
status- Informs you if the name validation was performed. Possible values: **performed**, **notPerformed**, **notSupported**- Returns:
- the current
PaymentValidationsNameResponseinstance, allowing for method chaining
-
getStatus
public PaymentValidationsNameResponse.StatusEnum getStatus()
Informs you if the name validation was performed. Possible values: **performed**, **notPerformed**, **notSupported**- Returns:
- status Informs you if the name validation was performed. Possible values: **performed**, **notPerformed**, **notSupported**
-
setStatus
public void setStatus(PaymentValidationsNameResponse.StatusEnum status)
Informs you if the name validation was performed. Possible values: **performed**, **notPerformed**, **notSupported**- Parameters:
status- Informs you if the name validation was performed. Possible values: **performed**, **notPerformed**, **notSupported**
-
includeNullValues
public PaymentValidationsNameResponse 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 PaymentValidationsNameResponse 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 PaymentValidationsNameResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaymentValidationsNameResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentValidationsNameResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaymentValidationsNameResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PaymentValidationsNameResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-