Package io.voucherify.client.model
Class ValidationsRedeemableSkipped
java.lang.Object
io.voucherify.client.model.ValidationsRedeemableSkipped
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ValidationsRedeemableSkipped
extends Object
ValidationsRedeemableSkipped
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumRedeemable's object type.static enumIndicates whether the redeemable can be applied or not applied based on the validation rules. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCategoriesItem(CategoryWithStackingRulesType categoriesItem) categories(List<CategoryWithStackingRulesType> categories) booleanstatic ValidationsRedeemableSkippedCreate an instance of ValidationsRedeemableSkipped given an JSON stringGet categoriesgetId()Redeemable ID, i.e.The metadata object stores all custom attributes in the form of key/value pairs assigned to the redeemable.Redeemable's object type.Get resultIndicates whether the redeemable can be applied or not applied based on the validation rules.inthashCode()voidsetCategories(List<CategoryWithStackingRulesType> categories) voidvoidsetMetadata(Object metadata) voidvoidvoidtoJson()Convert an instance of ValidationsRedeemableSkipped to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_RESULT
- See Also:
-
SERIALIZED_NAME_METADATA
- See Also:
-
SERIALIZED_NAME_CATEGORIES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ValidationsRedeemableSkipped
public ValidationsRedeemableSkipped()
-
-
Method Details
-
status
-
getStatus
Indicates whether the redeemable can be applied or not applied based on the validation rules.- Returns:
- status
-
setStatus
-
id
-
getId
-
setId
-
_object
-
getObject
Redeemable's object type.- Returns:
- _object
-
setObject
-
result
-
getResult
-
setResult
-
metadata
-
getMetadata
The metadata object stores all custom attributes in the form of key/value pairs assigned to the redeemable.- Returns:
- metadata
-
setMetadata
-
categories
-
addCategoriesItem
-
getCategories
Get categories- Returns:
- categories
-
setCategories
-
equals
-
hashCode
-
toString
-
fromJson
Create an instance of ValidationsRedeemableSkipped given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ValidationsRedeemableSkipped
- Throws:
IOException- if the JSON string is invalid with respect to ValidationsRedeemableSkipped
-
toJson
Convert an instance of ValidationsRedeemableSkipped to an JSON string- Returns:
- JSON string
-