Package com.adyen.model.balanceplatform
Class InvalidField
- java.lang.Object
-
- com.adyen.model.balanceplatform.InvalidField
-
public class InvalidField extends Object
InvalidField
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MESSAGEstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_VALUE
-
Constructor Summary
Constructors Constructor Description InvalidField()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this InvalidField object is equal to o.static InvalidFieldfromJson(String jsonString)Create an instance of InvalidField given an JSON stringStringgetMessage()Description of the validation error.StringgetName()The field that has an invalid value.StringgetValue()The invalid value.inthashCode()InvalidFieldmessage(String message)InvalidFieldname(String name)voidsetMessage(String message)Description of the validation error.voidsetName(String name)The field that has an invalid value.voidsetValue(String value)The invalid value.StringtoJson()Convert an instance of InvalidField to an JSON stringStringtoString()InvalidFieldvalue(String value)
-
-
-
Field Detail
-
JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_MESSAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALUE
public static final String JSON_PROPERTY_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
message
public InvalidField message(String message)
-
getMessage
public String getMessage()
Description of the validation error.- Returns:
- message
-
setMessage
public void setMessage(String message)
Description of the validation error.- Parameters:
message-
-
name
public InvalidField name(String name)
-
getName
public String getName()
The field that has an invalid value.- Returns:
- name
-
setName
public void setName(String name)
The field that has an invalid value.- Parameters:
name-
-
value
public InvalidField value(String value)
-
getValue
public String getValue()
The invalid value.- Returns:
- value
-
setValue
public void setValue(String value)
The invalid value.- Parameters:
value-
-
equals
public boolean equals(Object o)
Return true if this InvalidField object is equal to o.
-
fromJson
public static InvalidField fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of InvalidField given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InvalidField
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to InvalidField
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of InvalidField to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-