Package io.voucherify.client.model
Class PromotionsStacksGetResponseBodyTiers
java.lang.Object
io.voucherify.client.model.PromotionsStacksGetResponseBodyTiers
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class PromotionsStacksGetResponseBodyTiers
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 PromotionsStacksGetResponseBodyTiers given an JSON stringGet hierarchyModegetIds()Contains the list of tiers in a pre-defined sequence.inthashCode()voidvoidtoJson()Convert an instance of PromotionsStacksGetResponseBodyTiers to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_IDS
- See Also:
-
SERIALIZED_NAME_HIERARCHY_MODE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PromotionsStacksGetResponseBodyTiers
public PromotionsStacksGetResponseBodyTiers()
-
-
Method Details
-
ids
-
addIdsItem
-
getIds
Contains the list of tiers in a pre-defined sequence.- Returns:
- ids
-
setIds
-
hierarchyMode
public PromotionsStacksGetResponseBodyTiers hierarchyMode(PromotionsStacksGetResponseBodyTiers.HierarchyModeEnum hierarchyMode) -
getHierarchyMode
Get hierarchyMode- Returns:
- hierarchyMode
-
setHierarchyMode
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of PromotionsStacksGetResponseBodyTiers given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PromotionsStacksGetResponseBodyTiers
- Throws:
IOException- if the JSON string is invalid with respect to PromotionsStacksGetResponseBodyTiers
-
toJson
Convert an instance of PromotionsStacksGetResponseBodyTiers to an JSON string- Returns:
- JSON string
-