Package io.voucherify.client.model
Class CustomerSummaryRedemptionsLoyaltyCard
java.lang.Object
io.voucherify.client.model.CustomerSummaryRedemptionsLoyaltyCard
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CustomerSummaryRedemptionsLoyaltyCard
extends Object
Summary of loyalty points.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of CustomerSummaryRedemptionsLoyaltyCard given an JSON stringSum of remaining available point balance across all loyalty cards.Total number of loyalty points redeemed by the customer.inthashCode()pointsToGo(Integer pointsToGo) redeemedPoints(Integer redeemedPoints) voidsetPointsToGo(Integer pointsToGo) voidsetRedeemedPoints(Integer redeemedPoints) toJson()Convert an instance of CustomerSummaryRedemptionsLoyaltyCard to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_REDEEMED_POINTS
- See Also:
-
SERIALIZED_NAME_POINTS_TO_GO
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CustomerSummaryRedemptionsLoyaltyCard
public CustomerSummaryRedemptionsLoyaltyCard()
-
-
Method Details
-
redeemedPoints
-
getRedeemedPoints
Total number of loyalty points redeemed by the customer.- Returns:
- redeemedPoints
-
setRedeemedPoints
-
pointsToGo
-
getPointsToGo
Sum of remaining available point balance across all loyalty cards.- Returns:
- pointsToGo
-
setPointsToGo
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of CustomerSummaryRedemptionsLoyaltyCard given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CustomerSummaryRedemptionsLoyaltyCard
- Throws:
IOException- if the JSON string is invalid with respect to CustomerSummaryRedemptionsLoyaltyCard
-
toJson
Convert an instance of CustomerSummaryRedemptionsLoyaltyCard to an JSON string- Returns:
- JSON string
-