import type { PaymentProvider } from '@prisma/client';

export type FeaturePackage = '3_days' | '7_days' | '30_days';

export class FeatureListingCommand {
  constructor(
    public readonly listingId: string,
    public readonly userId: string,
    public readonly package_: FeaturePackage,
    public readonly provider: PaymentProvider,
    public readonly returnUrl: string,
    public readonly ipAddress: string,
  ) {}
}
