Package io.voucherify.client.model
Class PromotionStackBase
java.lang.Object
io.voucherify.client.model.PromotionStackBase
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class PromotionStackBase
extends Object
PromotionStackBase
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PromotionStackBaseCreate an instance of PromotionStackBase given an JSON stringgetName()Promotion stack name.getTiers()Get tiersinthashCode()voidvoidsetTiers(PromotionStackBaseTiers tiers) tiers(PromotionStackBaseTiers tiers) toJson()Convert an instance of PromotionStackBase to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_TIERS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PromotionStackBase
public PromotionStackBase()
-
-
Method Details
-
name
-
getName
Promotion stack name.- Returns:
- name
-
setName
-
tiers
-
getTiers
Get tiers- Returns:
- tiers
-
setTiers
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of PromotionStackBase given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PromotionStackBase
- Throws:
IOException- if the JSON string is invalid with respect to PromotionStackBase
-
toJson
Convert an instance of PromotionStackBase to an JSON string- Returns:
- JSON string
-