<?php

declare(strict_types=1);

namespace App\Modules\Payments\Application;

use App\Modules\Payments\Domain\Payment;

class PaymentService
{
    /**
     * @return array<int, Payment>
     */
    public function recentPayments(string $tenantId, string $memberId): array
    {
        return [
            new Payment(
                id: 'payment-demo-1',
                tenantId: $tenantId,
                memberId: $memberId,
                amount: 10.00,
                method: 'manual',
                bookedAt: '2026-03-20 09:00:00'
            ),
        ];
    }
}
