Package com.xero.models.payrolluk
Class InvalidField
- java.lang.Object
-
- com.xero.models.payrolluk.InvalidField
-
public class InvalidField extends Object
InvalidField
-
-
Constructor Summary
Constructors Constructor Description InvalidField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()The name of the field that caused the errorStringgetReason()The reason the error occurredinthashCode()InvalidFieldname(String name)The name of the field that caused the errorInvalidFieldreason(String reason)The reason the error occurredvoidsetName(String name)The name of the field that caused the errorvoidsetReason(String reason)The reason the error occurredStringtoString()
-
-
-
Method Detail
-
name
public InvalidField name(String name)
The name of the field that caused the error- Parameters:
name- String- Returns:
- InvalidField
-
getName
public String getName()
The name of the field that caused the error- Returns:
- name
-
setName
public void setName(String name)
The name of the field that caused the error- Parameters:
name- String
-
reason
public InvalidField reason(String reason)
The reason the error occurred- Parameters:
reason- String- Returns:
- InvalidField
-
getReason
public String getReason()
The reason the error occurred- Returns:
- reason
-
setReason
public void setReason(String reason)
The reason the error occurred- Parameters:
reason- String
-
-