Package io.voucherify.client.model
Class PromotionsStacksUpdateRequestBody
java.lang.Object
io.voucherify.client.model.PromotionsStacksUpdateRequestBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class PromotionsStacksUpdateRequestBody
extends Object
Request Body schema for **PUT** `v1/promotions/{campaignId}/stacks/{stackId}`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncategoryId(String categoryId) booleanCreate an instance of PromotionsStacksUpdateRequestBody given an JSON stringPromotion stack category ID.getName()Promotion stack name.getTiers()Get tiersinthashCode()voidsetCategoryId(String categoryId) voidvoidtoJson()Convert an instance of PromotionsStacksUpdateRequestBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_TIERS
- See Also:
-
SERIALIZED_NAME_CATEGORY_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PromotionsStacksUpdateRequestBody
public PromotionsStacksUpdateRequestBody()
-
-
Method Details
-
name
-
getName
Promotion stack name.- Returns:
- name
-
setName
-
tiers
-
getTiers
Get tiers- Returns:
- tiers
-
setTiers
-
categoryId
-
getCategoryId
Promotion stack category ID.- Returns:
- categoryId
-
setCategoryId
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of PromotionsStacksUpdateRequestBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PromotionsStacksUpdateRequestBody
- Throws:
IOException- if the JSON string is invalid with respect to PromotionsStacksUpdateRequestBody
-
toJson
Convert an instance of PromotionsStacksUpdateRequestBody to an JSON string- Returns:
- JSON string
-