Package io.voucherify.client.model
Class LoyaltiesRewardsCreateAssignmentItemRequestBodyParametersLoyalty
java.lang.Object
io.voucherify.client.model.LoyaltiesRewardsCreateAssignmentItemRequestBodyParametersLoyalty
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LoyaltiesRewardsCreateAssignmentItemRequestBodyParametersLoyalty
extends Object
Defines the equivalent points value of the reward.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of LoyaltiesRewardsCreateAssignmentItemRequestBodyParametersLoyalty given an JSON stringNumber of points that will be subtracted from the loyalty card points balance if the reward is redeemed.inthashCode()voidtoJson()Convert an instance of LoyaltiesRewardsCreateAssignmentItemRequestBodyParametersLoyalty to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_POINTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LoyaltiesRewardsCreateAssignmentItemRequestBodyParametersLoyalty
public LoyaltiesRewardsCreateAssignmentItemRequestBodyParametersLoyalty()
-
-
Method Details
-
points
-
getPoints
Number of points that will be subtracted from the loyalty card points balance if the reward is redeemed.- Returns:
- points
-
setPoints
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static LoyaltiesRewardsCreateAssignmentItemRequestBodyParametersLoyalty fromJson(String jsonString) throws IOException Create an instance of LoyaltiesRewardsCreateAssignmentItemRequestBodyParametersLoyalty given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LoyaltiesRewardsCreateAssignmentItemRequestBodyParametersLoyalty
- Throws:
IOException- if the JSON string is invalid with respect to LoyaltiesRewardsCreateAssignmentItemRequestBodyParametersLoyalty
-
toJson
Convert an instance of LoyaltiesRewardsCreateAssignmentItemRequestBodyParametersLoyalty to an JSON string- Returns:
- JSON string
-