Package io.voucherify.client.model
Class PromotionsStacksUpdateRequestBodyTiers
java.lang.Object
io.voucherify.client.model.PromotionsStacksUpdateRequestBodyTiers
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class PromotionsStacksUpdateRequestBodyTiers
extends Object
Contains the tier configuration. A promotion stack can include up to 30 tiers.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumCategory hierarchy. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIdsItem(String idsItem) booleanCreate an instance of PromotionsStacksUpdateRequestBodyTiers given an JSON stringCategory hierarchy.getIds()Contains the list of tiers in a pre-defined sequence.inthashCode()voidvoidtoJson()Convert an instance of PromotionsStacksUpdateRequestBodyTiers to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_IDS
- See Also:
-
SERIALIZED_NAME_HIERARCHY_MODE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PromotionsStacksUpdateRequestBodyTiers
public PromotionsStacksUpdateRequestBodyTiers()
-
-
Method Details
-
ids
-
addIdsItem
-
getIds
Contains the list of tiers in a pre-defined sequence.- Returns:
- ids
-
setIds
-
hierarchyMode
public PromotionsStacksUpdateRequestBodyTiers hierarchyMode(PromotionsStacksUpdateRequestBodyTiers.HierarchyModeEnum hierarchyMode) -
getHierarchyMode
Category hierarchy. Categories with lower hierarchy are processed before categories with higher hierarchy value.- Returns:
- hierarchyMode
-
setHierarchyMode
public void setHierarchyMode(PromotionsStacksUpdateRequestBodyTiers.HierarchyModeEnum hierarchyMode) -
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of PromotionsStacksUpdateRequestBodyTiers given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PromotionsStacksUpdateRequestBodyTiers
- Throws:
IOException- if the JSON string is invalid with respect to PromotionsStacksUpdateRequestBodyTiers
-
toJson
Convert an instance of PromotionsStacksUpdateRequestBodyTiers to an JSON string- Returns:
- JSON string
-