Package io.voucherify.client.model
Class PromotionTierSummaryRedemptions
java.lang.Object
io.voucherify.client.model.PromotionTierSummaryRedemptions
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class PromotionTierSummaryRedemptions
extends Object
Contains statistics about promotion tier redemptions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of PromotionTierSummaryRedemptions given an JSON stringNumber of times the promotion tier was redeemed.inthashCode()voidsetTotalRedeemed(Integer totalRedeemed) toJson()Convert an instance of PromotionTierSummaryRedemptions to an JSON stringtoString()totalRedeemed(Integer totalRedeemed)
-
Field Details
-
SERIALIZED_NAME_TOTAL_REDEEMED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PromotionTierSummaryRedemptions
public PromotionTierSummaryRedemptions()
-
-
Method Details
-
totalRedeemed
-
getTotalRedeemed
Number of times the promotion tier was redeemed.- Returns:
- totalRedeemed
-
setTotalRedeemed
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of PromotionTierSummaryRedemptions given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PromotionTierSummaryRedemptions
- Throws:
IOException- if the JSON string is invalid with respect to PromotionTierSummaryRedemptions
-
toJson
Convert an instance of PromotionTierSummaryRedemptions to an JSON string- Returns:
- JSON string
-