java.lang.Object
com.logicommerce.sdk.models.PropertiesValidatorResponse
PropertiesValidatorResponse class.
It is used for validate property values from the LogiCommerce
- Since:
- 1.1.16
- Author:
- LogiCommerce
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new properties validator response.PropertiesValidatorResponse(boolean valid, Map<String, String> errors) Instantiates a new properties validator response. -
Method Summary
-
Constructor Details
-
Method Details
-
isValid
public boolean isValid()Checks if is valid.- Returns:
- true, if is valid
-
setValid
public void setValid(boolean valid) Sets the valid.- Parameters:
valid- a boolean value
-
setErrors
Sets the errors. -
getErrors
Gets the errors.
-