Class DiscountModel
- java.lang.Object
-
- ru.easydonate.easydonate4j.api.v3.data.model.jackson.shop.purchase.DiscountModel
-
- All Implemented Interfaces:
Discount
,ru.easydonate.easydonate4j.data.model.PrettyPrintable
- Direct Known Subclasses:
CouponDiscountModel
,MassSaleDiscountModel
public abstract class DiscountModel extends Object implements Discount
-
-
Field Summary
Fields Modifier and Type Field Description protected String
description
protected double
discountValue
-
Constructor Summary
Constructors Constructor Description DiscountModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
@NotNull String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ru.easydonate.easydonate4j.api.v3.data.model.shop.purchase.Discount
getDescription, getDiscountValue
-
-
-
-
Field Detail
-
discountValue
protected double discountValue
-
description
protected String description
-
-