<?php

namespace App\Services\Wallet;

/** 主站钱包幂等键查询结果（对账勾选用）。 */
final readonly class MainSiteWalletIdempotentProbeResult
{
    public const STATUS_SKIPPED = 'skipped';
    public const STATUS_MATCHED = 'matched';
    public const STATUS_NOT_FOUND = 'not_found';
    public const STATUS_FAILED = 'failed_on_main';
    public const STATUS_UNAVAILABLE = 'unavailable';

    public function __construct(
        public string $status,
        public ?bool $found = null,
        public ?bool $success = null,
        public ?string $externalRefNo = null,
        public ?string $operation = null,
        public ?string $message = null,
    ) {}
}
