Package io.voucherify.client.model
Class LoyaltiesLoyaltyTierReward
java.lang.Object
io.voucherify.client.model.LoyaltiesLoyaltyTierReward
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LoyaltiesLoyaltyTierReward
extends Object
This is an object representing a loyalty tier reward.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignment(RewardAssignment assignment) booleanstatic LoyaltiesLoyaltyTierRewardCreate an instance of LoyaltiesLoyaltyTierReward given an JSON stringGet assignmentThe type of the object represented by JSON.Get rewardinthashCode()voidsetAssignment(RewardAssignment assignment) voidvoidtoJson()Convert an instance of LoyaltiesLoyaltyTierReward to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_REWARD
- See Also:
-
SERIALIZED_NAME_ASSIGNMENT
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LoyaltiesLoyaltyTierReward
public LoyaltiesLoyaltyTierReward()
-
-
Method Details
-
reward
-
getReward
Get reward- Returns:
- reward
-
setReward
-
assignment
-
getAssignment
Get assignment- Returns:
- assignment
-
setAssignment
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about the loyalty tier reward.- Returns:
- _object
-
setObject
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of LoyaltiesLoyaltyTierReward given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LoyaltiesLoyaltyTierReward
- Throws:
IOException- if the JSON string is invalid with respect to LoyaltiesLoyaltyTierReward
-
toJson
Convert an instance of LoyaltiesLoyaltyTierReward to an JSON string- Returns:
- JSON string
-