Package io.voucherify.client.model
Class LoyaltiesEarningRulesGetResponseBodyLoyaltyTier
java.lang.Object
io.voucherify.client.model.LoyaltiesEarningRulesGetResponseBodyLoyaltyTier
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LoyaltiesEarningRulesGetResponseBodyLoyaltyTier
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 LoyaltiesEarningRulesGetResponseBodyLoyaltyTier given an JSON stringgetId()Unique loyalty tier ID associated with the earning rule.inthashCode()voidtoJson()Convert an instance of LoyaltiesEarningRulesGetResponseBodyLoyaltyTier to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LoyaltiesEarningRulesGetResponseBodyLoyaltyTier
public LoyaltiesEarningRulesGetResponseBodyLoyaltyTier()
-
-
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 LoyaltiesEarningRulesGetResponseBodyLoyaltyTier fromJson(String jsonString) throws IOException Create an instance of LoyaltiesEarningRulesGetResponseBodyLoyaltyTier given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LoyaltiesEarningRulesGetResponseBodyLoyaltyTier
- Throws:
IOException- if the JSON string is invalid with respect to LoyaltiesEarningRulesGetResponseBodyLoyaltyTier
-
toJson
Convert an instance of LoyaltiesEarningRulesGetResponseBodyLoyaltyTier to an JSON string- Returns:
- JSON string
-