Package io.voucherify.client.model
Class ValidationsValidateResponseBodyRedeemablesItem
java.lang.Object
io.voucherify.client.model.ValidationsValidateResponseBodyRedeemablesItem
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ValidationsValidateResponseBodyRedeemablesItem
extends Object
ValidationsValidateResponseBodyRedeemablesItem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumRedeemable's object type.static enumGets or Sets status -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCategoriesItem(CategoryWithStackingRulesType categoriesItem) applicableTo(ApplicableToResultList applicableTo) categories(List<CategoryWithStackingRulesType> categories) booleanCreate an instance of ValidationsValidateResponseBodyRedeemablesItem given an JSON stringGet applicableToGet categoriesgetId()Redeemable ID, i.e.Get inapplicableToGet metadataRedeemable's object type.getOrder()Get orderGet resultGet statusinthashCode()inapplicableTo(InapplicableToResultList inapplicableTo) order(OrderCalculated order) voidsetApplicableTo(ApplicableToResultList applicableTo) voidsetCategories(List<CategoryWithStackingRulesType> categories) voidvoidsetInapplicableTo(InapplicableToResultList inapplicableTo) voidsetMetadata(Object metadata) voidvoidsetOrder(OrderCalculated order) voidvoidtoJson()Convert an instance of ValidationsValidateResponseBodyRedeemablesItem to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_ORDER
- See Also:
-
SERIALIZED_NAME_APPLICABLE_TO
- See Also:
-
SERIALIZED_NAME_INAPPLICABLE_TO
- See Also:
-
SERIALIZED_NAME_RESULT
- See Also:
-
SERIALIZED_NAME_METADATA
- See Also:
-
SERIALIZED_NAME_CATEGORIES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ValidationsValidateResponseBodyRedeemablesItem
public ValidationsValidateResponseBodyRedeemablesItem()
-
-
Method Details
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
id
-
getId
-
setId
-
_object
-
getObject
Redeemable's object type.- Returns:
- _object
-
setObject
-
order
-
getOrder
-
setOrder
-
applicableTo
public ValidationsValidateResponseBodyRedeemablesItem applicableTo(ApplicableToResultList applicableTo) -
getApplicableTo
-
setApplicableTo
-
inapplicableTo
public ValidationsValidateResponseBodyRedeemablesItem inapplicableTo(InapplicableToResultList inapplicableTo) -
getInapplicableTo
Get inapplicableTo- Returns:
- inapplicableTo
-
setInapplicableTo
-
result
-
getResult
Get result- Returns:
- result
-
setResult
-
metadata
-
getMetadata
-
setMetadata
-
categories
public ValidationsValidateResponseBodyRedeemablesItem categories(List<CategoryWithStackingRulesType> categories) -
addCategoriesItem
public ValidationsValidateResponseBodyRedeemablesItem addCategoriesItem(CategoryWithStackingRulesType categoriesItem) -
getCategories
Get categories- Returns:
- categories
-
setCategories
-
equals
-
hashCode
-
toString
-
fromJson
public static ValidationsValidateResponseBodyRedeemablesItem fromJson(String jsonString) throws IOException Create an instance of ValidationsValidateResponseBodyRedeemablesItem given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ValidationsValidateResponseBodyRedeemablesItem
- Throws:
IOException- if the JSON string is invalid with respect to ValidationsValidateResponseBodyRedeemablesItem
-
toJson
Convert an instance of ValidationsValidateResponseBodyRedeemablesItem to an JSON string- Returns:
- JSON string
-