Package io.voucherify.client.model
Class ValidationsRedeemableInapplicableResultDetails
java.lang.Object
io.voucherify.client.model.ValidationsRedeemableInapplicableResultDetails
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ValidationsRedeemableInapplicableResultDetails
extends Object
Provides details about the reason why the redeemable is inapplicable.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ValidationsRedeemableInapplicableResultDetails given an JSON stringgetKey()Generic message from the `key` string shown in the `error` object.Generic message from the `message` string shown in the `error` object or the message configured in a validation rule.inthashCode()voidvoidsetMessage(String message) toJson()Convert an instance of ValidationsRedeemableInapplicableResultDetails to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_KEY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ValidationsRedeemableInapplicableResultDetails
public ValidationsRedeemableInapplicableResultDetails()
-
-
Method Details
-
message
-
getMessage
Generic message from the `message` string shown in the `error` object or the message configured in a validation rule.- Returns:
- message
-
setMessage
-
key
-
getKey
Generic message from the `key` string shown in the `error` object.- Returns:
- key
-
setKey
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ValidationsRedeemableInapplicableResultDetails fromJson(String jsonString) throws IOException Create an instance of ValidationsRedeemableInapplicableResultDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ValidationsRedeemableInapplicableResultDetails
- Throws:
IOException- if the JSON string is invalid with respect to ValidationsRedeemableInapplicableResultDetails
-
toJson
Convert an instance of ValidationsRedeemableInapplicableResultDetails to an JSON string- Returns:
- JSON string
-