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