Files
alrahma_sunday_school_api/app/Http/Requests/Payments/PaymentNotificationSendRequest.php
T
2026-03-09 02:52:13 -04:00

24 lines
524 B
PHP

<?php
namespace App\Http\Requests\Payments;
use App\Http\Requests\ApiFormRequest;
class PaymentNotificationSendRequest extends ApiFormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'parent_id' => ['nullable', 'integer', 'min:1'],
'type' => ['nullable', 'string', 'max:50'],
'force' => ['nullable', 'boolean'],
'school_year' => ['nullable', 'string', 'max:50'],
];
}
}