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