Package io.voucherify.client.model
Class RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders
java.lang.Object
io.voucherify.client.model.RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders
extends Object
RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders given an JSON stringSum of order totals.Sum of total discount applied using the promotion tier.inthashCode()voidsetTotalAmount(Integer totalAmount) voidsetTotalDiscountAmount(Integer totalDiscountAmount) toJson()Convert an instance of RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders to an JSON stringtoString()totalAmount(Integer totalAmount) totalDiscountAmount(Integer totalDiscountAmount)
-
Field Details
-
SERIALIZED_NAME_TOTAL_AMOUNT
- See Also:
-
SERIALIZED_NAME_TOTAL_DISCOUNT_AMOUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders
public RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders()
-
-
Method Details
-
totalAmount
public RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders totalAmount(Integer totalAmount) -
getTotalAmount
Sum of order totals.- Returns:
- totalAmount
-
setTotalAmount
-
totalDiscountAmount
public RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders totalDiscountAmount(Integer totalDiscountAmount) -
getTotalDiscountAmount
Sum of total discount applied using the promotion tier.- Returns:
- totalDiscountAmount
-
setTotalDiscountAmount
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders fromJson(String jsonString) throws IOException Create an instance of RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders
- Throws:
IOException- if the JSON string is invalid with respect to RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders
-
toJson
Convert an instance of RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders to an JSON string- Returns:
- JSON string
-