Package io.voucherify.client.model
Class ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard
java.lang.Object
io.voucherify.client.model.ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard
extends Object
ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard given an JSON stringTotal number of loyalty points to be applied in the redemption.inthashCode()voidtoJson()Convert an instance of ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_POINTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard
public ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard()
-
-
Method Details
-
points
-
getPoints
Total number of loyalty points to be applied in the redemption.- Returns:
- points
-
setPoints
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard fromJson(String jsonString) throws IOException Create an instance of ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard
- Throws:
IOException- if the JSON string is invalid with respect to ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard
-
toJson
Convert an instance of ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard to an JSON string- Returns:
- JSON string
-