Package io.voucherify.client.model
Class LoyaltyTierConfigPoints
java.lang.Object
io.voucherify.client.model.LoyaltyTierConfigPoints
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LoyaltyTierConfigPoints
extends Object
Defines range of loyalty tier in points.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LoyaltyTierConfigPointsCreate an instance of LoyaltyTierConfigPoints given an JSON stringgetFrom()Bottom points threshold value.getTo()Top points threshold value.inthashCode()voidvoidtoJson()Convert an instance of LoyaltyTierConfigPoints to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_FROM
- See Also:
-
SERIALIZED_NAME_TO
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LoyaltyTierConfigPoints
public LoyaltyTierConfigPoints()
-
-
Method Details
-
from
-
getFrom
Bottom points threshold value.- Returns:
- from
-
setFrom
-
to
-
getTo
Top points threshold value.- Returns:
- to
-
setTo
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of LoyaltyTierConfigPoints given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LoyaltyTierConfigPoints
- Throws:
IOException- if the JSON string is invalid with respect to LoyaltyTierConfigPoints
-
toJson
Convert an instance of LoyaltyTierConfigPoints to an JSON string- Returns:
- JSON string
-