<?php

declare(strict_types=1);

namespace Australcode\Rewards\Domain\Wallet;

defined( 'ABSPATH' ) || exit;

/**
 * Lifecycle status of a ledger entry. The ledger is append-only: an Earn entry
 * is marked Reverted (not deleted) when its order is refunded, and a
 * compensating Refund entry is added.
 */
enum TransactionStatus: string {

	case Active   = 'active';
	case Reverted = 'reverted';
	case Expired  = 'expired';
}
