<?php

declare(strict_types=1);

namespace App\Modules\Payments\Domain;

class Payment
{
    public function __construct(
        private readonly string $id,
        private readonly string $tenantId,
        private readonly string $memberId,
        private readonly float $amount,
        private readonly string $method,
        private readonly string $bookedAt
    ) {
    }

    public function amount(): float
    {
        return $this->amount;
    }
}
