import { AutoEncoder } from '@simonbackx/simple-encoding'; import { Discount } from './Discount.js'; export declare class DiscountCode extends AutoEncoder { id: string; code: string; description: string; discounts: Discount[]; usageCount: number; maximumUsage: number | null; /** * When an order is correctly placed, we store the reserved amount in the stock here. * We need this to check the stock changes when an order is edited after placement. */ reserved: boolean; createdAt: Date; updatedAt: Date; } //# sourceMappingURL=DiscountCode.d.ts.map