Interface DiscountRecord

Interface for the discount record.

interface DiscountRecord {
    createdAt: number;
    discountType: DiscountType;
    discountValue: number;
    expiresAt: null | number;
    totalClaims: number;
}

Hierarchy (view full)

Properties

createdAt: number
discountType: DiscountType
discountValue: number
expiresAt: null | number
totalClaims: number