Package io.voucherify.client.model
Class PromotionsTiersUpdateResponseBodyAction
java.lang.Object
io.voucherify.client.model.PromotionsTiersUpdateResponseBodyAction
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class PromotionsTiersUpdateResponseBodyAction
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 PromotionsTiersUpdateResponseBodyAction given an JSON stringGet discountinthashCode()voidsetDiscount(Discount discount) toJson()Convert an instance of PromotionsTiersUpdateResponseBodyAction to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_DISCOUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PromotionsTiersUpdateResponseBodyAction
public PromotionsTiersUpdateResponseBodyAction()
-
-
Method Details
-
discount
-
getDiscount
Get discount- Returns:
- discount
-
setDiscount
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static PromotionsTiersUpdateResponseBodyAction fromJson(String jsonString) throws IOException Create an instance of PromotionsTiersUpdateResponseBodyAction given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PromotionsTiersUpdateResponseBodyAction
- Throws:
IOException- if the JSON string is invalid with respect to PromotionsTiersUpdateResponseBodyAction
-
toJson
Convert an instance of PromotionsTiersUpdateResponseBodyAction to an JSON string- Returns:
- JSON string
-