<?php

declare(strict_types=1);

namespace Australcode\Rewards\Domain\Wallet;

defined( 'ABSPATH' ) || exit;

/**
 * Kind of points movement recorded in the ledger.
 *
 * - Earn:   points granted (e.g. for a completed order).
 * - Redeem: points spent (wallet/coupon redemption).
 * - Expire: points removed by the expiry sweep.
 * - Adjust: manual admin adjustment (positive or negative).
 * - Refund: compensating entry when an order is refunded/cancelled.
 */
enum TransactionType: string {

	case Earn   = 'earn';
	case Redeem = 'redeem';
	case Expire = 'expire';
	case Adjust = 'adjust';
	case Refund = 'refund';
}
