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