Package io.voucherify.client.model
Class PromotionTierSummary
java.lang.Object
io.voucherify.client.model.PromotionTierSummary
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class PromotionTierSummary
extends Object
Contains statistics about promotion tier redemptions and orders.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PromotionTierSummaryCreate an instance of PromotionTierSummary given an JSON stringGet ordersGet redemptionsinthashCode()orders(PromotionTierSummaryOrders orders) redemptions(PromotionTierSummaryRedemptions redemptions) voidsetOrders(PromotionTierSummaryOrders orders) voidsetRedemptions(PromotionTierSummaryRedemptions redemptions) toJson()Convert an instance of PromotionTierSummary to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_REDEMPTIONS
- See Also:
-
SERIALIZED_NAME_ORDERS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PromotionTierSummary
public PromotionTierSummary()
-
-
Method Details
-
redemptions
-
getRedemptions
Get redemptions- Returns:
- redemptions
-
setRedemptions
-
orders
-
getOrders
Get orders- Returns:
- orders
-
setOrders
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of PromotionTierSummary given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PromotionTierSummary
- Throws:
IOException- if the JSON string is invalid with respect to PromotionTierSummary
-
toJson
Convert an instance of PromotionTierSummary to an JSON string- Returns:
- JSON string
-