Package io.voucherify.client.model
Class CustomerSummaryRedemptionsGift
java.lang.Object
io.voucherify.client.model.CustomerSummaryRedemptionsGift
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CustomerSummaryRedemptionsGift
extends Object
Summary of gift card credits.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamountToGo(Integer amountToGo) booleanCreate an instance of CustomerSummaryRedemptionsGift given an JSON stringRemaining gift card balance across all gift cards.Total amount of gift card credits redeemed by customer.inthashCode()redeemedAmount(Integer redeemedAmount) voidsetAmountToGo(Integer amountToGo) voidsetRedeemedAmount(Integer redeemedAmount) toJson()Convert an instance of CustomerSummaryRedemptionsGift to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_REDEEMED_AMOUNT
- See Also:
-
SERIALIZED_NAME_AMOUNT_TO_GO
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CustomerSummaryRedemptionsGift
public CustomerSummaryRedemptionsGift()
-
-
Method Details
-
redeemedAmount
-
getRedeemedAmount
Total amount of gift card credits redeemed by customer. Value is multiplied by 100 to precisely represent 2 decimal places. For example `10000 cents` for `$100.00`.- Returns:
- redeemedAmount
-
setRedeemedAmount
-
amountToGo
-
getAmountToGo
Remaining gift card balance across all gift cards. Value is multiplied by 100 to precisely represent 2 decimal places. For example `10000 cents` for `$100.00`.- Returns:
- amountToGo
-
setAmountToGo
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of CustomerSummaryRedemptionsGift given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CustomerSummaryRedemptionsGift
- Throws:
IOException- if the JSON string is invalid with respect to CustomerSummaryRedemptionsGift
-
toJson
Convert an instance of CustomerSummaryRedemptionsGift to an JSON string- Returns:
- JSON string
-