Package io.voucherify.client.model
Class LoyaltyPointsBucketBucket
java.lang.Object
io.voucherify.client.model.LoyaltyPointsBucketBucket
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LoyaltyPointsBucketBucket
extends Object
Defines the number of points stored in this loyalty point bucket.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LoyaltyPointsBucketBucketCreate an instance of LoyaltyPointsBucketBucket given an JSON stringTotal number of points in the loyalty point bucket.inthashCode()voidsetTotalPoints(Integer totalPoints) toJson()Convert an instance of LoyaltyPointsBucketBucket to an JSON stringtoString()totalPoints(Integer totalPoints)
-
Field Details
-
SERIALIZED_NAME_TOTAL_POINTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LoyaltyPointsBucketBucket
public LoyaltyPointsBucketBucket()
-
-
Method Details
-
totalPoints
-
getTotalPoints
Total number of points in the loyalty point bucket.- Returns:
- totalPoints
-
setTotalPoints
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of LoyaltyPointsBucketBucket given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LoyaltyPointsBucketBucket
- Throws:
IOException- if the JSON string is invalid with respect to LoyaltyPointsBucketBucket
-
toJson
Convert an instance of LoyaltyPointsBucketBucket to an JSON string- Returns:
- JSON string
-