<?php
namespace WPVOID\StockBeacon\Core;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

class Subscription {
	private const SIMPLE_PRODUCT_VARIATION_ID = 0;

	public int $id = 0;
	public int $product_id = 0;
	public int $variation_id = self::SIMPLE_PRODUCT_VARIATION_ID;
	public string $email = '';
	public int $user_id = 0;
	public string $status = 'active';
	public ?string $opt_in_token = null;
	public ?string $opted_in_at = null;
	public ?string $notified_at = null;
	public ?string $purchased_at = null;
	public string $created_at = '';
}
