Package io.voucherify.client.model
Class RedemptionsRollbackCreateResponseBodyLoyaltyCard
java.lang.Object
io.voucherify.client.model.RedemptionsRollbackCreateResponseBodyLoyaltyCard
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RedemptionsRollbackCreateResponseBodyLoyaltyCard
extends Object
Contains the number of points returned to the loyalty card in the reward redemption rollback. It is expressed as a negative integer.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of RedemptionsRollbackCreateResponseBodyLoyaltyCard given an JSON stringNumber of points being returned to the loyalty card for the reward redemption rollback.inthashCode()voidtoJson()Convert an instance of RedemptionsRollbackCreateResponseBodyLoyaltyCard to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_POINTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RedemptionsRollbackCreateResponseBodyLoyaltyCard
public RedemptionsRollbackCreateResponseBodyLoyaltyCard()
-
-
Method Details
-
points
-
getPoints
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
public static RedemptionsRollbackCreateResponseBodyLoyaltyCard fromJson(String jsonString) throws IOException Create an instance of RedemptionsRollbackCreateResponseBodyLoyaltyCard given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RedemptionsRollbackCreateResponseBodyLoyaltyCard
- Throws:
IOException- if the JSON string is invalid with respect to RedemptionsRollbackCreateResponseBodyLoyaltyCard
-
toJson
Convert an instance of RedemptionsRollbackCreateResponseBodyLoyaltyCard to an JSON string- Returns:
- JSON string
-