Package io.voucherify.client.model
Class CustomerSummaryRedemptions
java.lang.Object
io.voucherify.client.model.CustomerSummaryRedemptions
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CustomerSummaryRedemptions
extends Object
CustomerSummaryRedemptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CustomerSummaryRedemptionsCreate an instance of CustomerSummaryRedemptions given an JSON stringgetGift()Get giftGet loyaltyCardTotal number of redemptions that failed.Total number of redemptions made by the customer.Total number of redemption rollbacks that failed.Total number of redemption rollbacks that succeeded.Total number of redemptions that were rolled back for the customer.Total number of redemptions that succeeded.inthashCode()loyaltyCard(CustomerSummaryRedemptionsLoyaltyCard loyaltyCard) voidvoidsetLoyaltyCard(CustomerSummaryRedemptionsLoyaltyCard loyaltyCard) voidsetTotalFailed(Integer totalFailed) voidsetTotalRedeemed(Integer totalRedeemed) voidsetTotalRollbackFailed(Integer totalRollbackFailed) voidsetTotalRollbackSucceeded(Integer totalRollbackSucceeded) voidsetTotalRolledBack(Integer totalRolledBack) voidsetTotalSucceeded(Integer totalSucceeded) toJson()Convert an instance of CustomerSummaryRedemptions to an JSON stringtoString()totalFailed(Integer totalFailed) totalRedeemed(Integer totalRedeemed) totalRollbackFailed(Integer totalRollbackFailed) totalRollbackSucceeded(Integer totalRollbackSucceeded) totalRolledBack(Integer totalRolledBack) totalSucceeded(Integer totalSucceeded)
-
Field Details
-
SERIALIZED_NAME_TOTAL_REDEEMED
- See Also:
-
SERIALIZED_NAME_TOTAL_FAILED
- See Also:
-
SERIALIZED_NAME_TOTAL_SUCCEEDED
- See Also:
-
SERIALIZED_NAME_TOTAL_ROLLED_BACK
- See Also:
-
SERIALIZED_NAME_TOTAL_ROLLBACK_FAILED
- See Also:
-
SERIALIZED_NAME_TOTAL_ROLLBACK_SUCCEEDED
- See Also:
-
SERIALIZED_NAME_GIFT
- See Also:
-
SERIALIZED_NAME_LOYALTY_CARD
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CustomerSummaryRedemptions
public CustomerSummaryRedemptions()
-
-
Method Details
-
totalRedeemed
-
getTotalRedeemed
Total number of redemptions made by the customer.- Returns:
- totalRedeemed
-
setTotalRedeemed
-
totalFailed
-
getTotalFailed
Total number of redemptions that failed.- Returns:
- totalFailed
-
setTotalFailed
-
totalSucceeded
-
getTotalSucceeded
Total number of redemptions that succeeded.- Returns:
- totalSucceeded
-
setTotalSucceeded
-
totalRolledBack
-
getTotalRolledBack
Total number of redemptions that were rolled back for the customer.- Returns:
- totalRolledBack
-
setTotalRolledBack
-
totalRollbackFailed
-
getTotalRollbackFailed
Total number of redemption rollbacks that failed.- Returns:
- totalRollbackFailed
-
setTotalRollbackFailed
-
totalRollbackSucceeded
-
getTotalRollbackSucceeded
Total number of redemption rollbacks that succeeded.- Returns:
- totalRollbackSucceeded
-
setTotalRollbackSucceeded
-
gift
-
getGift
Get gift- Returns:
- gift
-
setGift
-
loyaltyCard
-
getLoyaltyCard
Get loyaltyCard- Returns:
- loyaltyCard
-
setLoyaltyCard
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of CustomerSummaryRedemptions given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CustomerSummaryRedemptions
- Throws:
IOException- if the JSON string is invalid with respect to CustomerSummaryRedemptions
-
toJson
Convert an instance of CustomerSummaryRedemptions to an JSON string- Returns:
- JSON string
-