23 lines
489 B
PHP
23 lines
489 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\Tenant;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class EventAddonPurchaseLookupRequest extends FormRequest
|
|
{
|
|
public function authorize(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'addon_intent' => ['nullable', 'string', 'max:191'],
|
|
'checkout_id' => ['nullable', 'string', 'max:191'],
|
|
'addon_key' => ['nullable', 'string', 'max:191'],
|
|
];
|
|
}
|
|
}
|