Home » NOVA Coupon » NOVA Coupon Data Types

NOVA Coupon Data Types (Package ch.voev.nova.coupon.datatypes)

Types / Enumerations:


Types

DiscountOfferVariantID

Date type can be used to identify one discount offer variant.


Properties / Associations

Name Type Multiplicity Constraints Description
id String 1..1 @Size(min=0, max=255)



Enumerations

CouponEventType

Enumeration defines all the possible events about coupons.

Please be aware that this type is a so called extensible enum. This means that additional literals might be added in the future and that this is considered to be a non-breaking / SemVer compliant change.

Literals

Name Description
COUPON_CREATED_EVENT
COUPON_CANCELLATION_EVENT
COUPON_CANCELLATION_ABORT_EVENT
COUPON_BLOCKED_EVENT
COUPON_UNBLOCKED_EVENT
COUPON_BULK_DELETION_EVENT
UNKNOWN Please be aware that this enum is an extensible enum. This means that new literals can be introduced without prior notice.

CouponStatus

Enumeration defines all possible states of a coupon.

Literals

Name Description
ACTIVE
REDEEMED
EXPIRED
BLOCKED
CANCELLED
PARTIALLY_CANCELLED