Class ErrorFieldType
- java.lang.Object
-
- com.adyen.model.marketpayconfiguration.ErrorFieldType
-
public class ErrorFieldType extends Object
ErrorFieldType
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ERROR_CODEstatic StringJSON_PROPERTY_ERROR_DESCRIPTIONstatic StringJSON_PROPERTY_FIELD_TYPE
-
Constructor Summary
Constructors Constructor Description ErrorFieldType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this ErrorFieldType object is equal to o.ErrorFieldTypeerrorCode(Integer errorCode)ErrorFieldTypeerrorDescription(String errorDescription)ErrorFieldTypefieldType(FieldType fieldType)static ErrorFieldTypefromJson(String jsonString)Create an instance of ErrorFieldType given an JSON stringIntegergetErrorCode()The validation error code.StringgetErrorDescription()A description of the validation error.FieldTypegetFieldType()Get fieldTypeinthashCode()voidsetErrorCode(Integer errorCode)voidsetErrorDescription(String errorDescription)voidsetFieldType(FieldType fieldType)StringtoJson()Convert an instance of ErrorFieldType to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ERROR_CODE
public static final String JSON_PROPERTY_ERROR_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ERROR_DESCRIPTION
public static final String JSON_PROPERTY_ERROR_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FIELD_TYPE
public static final String JSON_PROPERTY_FIELD_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
errorCode
public ErrorFieldType errorCode(Integer errorCode)
-
getErrorCode
public Integer getErrorCode()
The validation error code.- Returns:
- errorCode
-
setErrorCode
public void setErrorCode(Integer errorCode)
-
errorDescription
public ErrorFieldType errorDescription(String errorDescription)
-
getErrorDescription
public String getErrorDescription()
A description of the validation error.- Returns:
- errorDescription
-
setErrorDescription
public void setErrorDescription(String errorDescription)
-
fieldType
public ErrorFieldType fieldType(FieldType fieldType)
-
getFieldType
public FieldType getFieldType()
Get fieldType- Returns:
- fieldType
-
setFieldType
public void setFieldType(FieldType fieldType)
-
equals
public boolean equals(Object o)
Return true if this ErrorFieldType object is equal to o.
-
fromJson
public static ErrorFieldType fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ErrorFieldType given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ErrorFieldType
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ErrorFieldType
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ErrorFieldType to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-