Package io.voucherify.client.model
Class RedemptionsGetResponseBodyLoyaltyCard
java.lang.Object
io.voucherify.client.model.RedemptionsGetResponseBodyLoyaltyCard
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RedemptionsGetResponseBodyLoyaltyCard
extends Object
RedemptionsGetResponseBodyLoyaltyCard
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of RedemptionsGetResponseBodyLoyaltyCard given an JSON stringNumber of points subtracted from the loyalty card as a result of the redemption.inthashCode()voidtoJson()Convert an instance of RedemptionsGetResponseBodyLoyaltyCard to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_POINTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RedemptionsGetResponseBodyLoyaltyCard
public RedemptionsGetResponseBodyLoyaltyCard()
-
-
Method Details
-
points
-
getPoints
Number of points subtracted from the loyalty card as a result of the redemption. and Number of points being returned to the loyalty card for the reward redemption rollback. It is expressed as a negative integer.- Returns:
- points
-
setPoints
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of RedemptionsGetResponseBodyLoyaltyCard given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RedemptionsGetResponseBodyLoyaltyCard
- Throws:
IOException- if the JSON string is invalid with respect to RedemptionsGetResponseBodyLoyaltyCard
-
toJson
Convert an instance of RedemptionsGetResponseBodyLoyaltyCard to an JSON string- Returns:
- JSON string
-