Package io.voucherify.client.model
Class RedemptionsGetResponseBodyPromotionTierAction
java.lang.Object
io.voucherify.client.model.RedemptionsGetResponseBodyPromotionTierAction
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RedemptionsGetResponseBodyPromotionTierAction
extends Object
RedemptionsGetResponseBodyPromotionTierAction
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of RedemptionsGetResponseBodyPromotionTierAction given an JSON stringGet discountinthashCode()voidsetDiscount(Discount discount) toJson()Convert an instance of RedemptionsGetResponseBodyPromotionTierAction to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_DISCOUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RedemptionsGetResponseBodyPromotionTierAction
public RedemptionsGetResponseBodyPromotionTierAction()
-
-
Method Details
-
discount
-
getDiscount
Get discount- Returns:
- discount
-
setDiscount
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static RedemptionsGetResponseBodyPromotionTierAction fromJson(String jsonString) throws IOException Create an instance of RedemptionsGetResponseBodyPromotionTierAction given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RedemptionsGetResponseBodyPromotionTierAction
- Throws:
IOException- if the JSON string is invalid with respect to RedemptionsGetResponseBodyPromotionTierAction
-
toJson
Convert an instance of RedemptionsGetResponseBodyPromotionTierAction to an JSON string- Returns:
- JSON string
-