Package io.voucherify.client.model
Class LoyaltiesEarningRulesCreateResponseBodyLoyaltyTier
java.lang.Object
io.voucherify.client.model.LoyaltiesEarningRulesCreateResponseBodyLoyaltyTier
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LoyaltiesEarningRulesCreateResponseBodyLoyaltyTier
extends Object
Defines the tier associated with the earning rule definition.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of LoyaltiesEarningRulesCreateResponseBodyLoyaltyTier given an JSON stringgetId()Unique loyalty tier ID associated with the earning rule.inthashCode()voidtoJson()Convert an instance of LoyaltiesEarningRulesCreateResponseBodyLoyaltyTier to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LoyaltiesEarningRulesCreateResponseBodyLoyaltyTier
public LoyaltiesEarningRulesCreateResponseBodyLoyaltyTier()
-
-
Method Details
-
id
-
getId
Unique loyalty tier ID associated with the earning rule. - `__ANY__`: any loyalty tier within the campaign- Returns:
- id
-
setId
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static LoyaltiesEarningRulesCreateResponseBodyLoyaltyTier fromJson(String jsonString) throws IOException Create an instance of LoyaltiesEarningRulesCreateResponseBodyLoyaltyTier given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LoyaltiesEarningRulesCreateResponseBodyLoyaltyTier
- Throws:
IOException- if the JSON string is invalid with respect to LoyaltiesEarningRulesCreateResponseBodyLoyaltyTier
-
toJson
Convert an instance of LoyaltiesEarningRulesCreateResponseBodyLoyaltyTier to an JSON string- Returns:
- JSON string
-