Class Coupon
java.lang.Object
de.bytestore.hostinger.entity.ecommerce.Coupon
Represents a coupon entity in the eCommerce system. A coupon can be associated with a list of products,
has a validity period, and contains various attributes such as minimum cart value, discount value, type,
and usage limitations.
This entity is used to define discounts or special offers that can be applied to purchases, managed within
the scope of the eCommerce environment.
Key Characteristics:
- Each coupon has an identifier, name, and optional association with products.
- Coupons can have a validity expiration date and optional conditions like minimum cart value.
- Supports different coupon types defined via
CouponType.
- Includes support for one-time redeemable functionality and additional constraints on usage.
- Tracks the creation and modification details through audit fields.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Coupon
public Coupon()
-
-
Method Details
-
setType
-
getType
-
isExpired
public boolean isExpired()
-