Interface CouponDiscount
-
- All Superinterfaces:
Discount
,PrettyPrintable
public interface CouponDiscount extends Discount
The interface that represents a coupon related discount and used by theDiscounts
model.- Author:
- soknight
- See Also:
Discount
,Discounts
,PurchasedProduct.getDiscounts()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull String
getCode()
Get the coupon code.-
Methods inherited from interface ru.easydonate.easydonate4j.api.v3.data.model.shop.purchase.Discount
getDescription, getDiscountValue
-
Methods inherited from interface ru.easydonate.easydonate4j.data.model.PrettyPrintable
toPrettyString
-
-
-
-
Method Detail
-
getCode
@NotNull @NotNull String getCode()
Get the coupon code.- Returns:
- The coupon code.
-
-