<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class VirtualCardsSettingRequest extends FormRequest
{
    /**
     * Determine if the user is authorized to make this request.
     */
    public function authorize(): bool
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
     */
    public function rules(): array
    {
        return [
			'issuing_fee' => 'required',
			'minimum_funding' => 'required',
			'monthly_maintenance_fee' => 'required',
			'withdrawal_fee' => 'required',
			'decline_fee' => 'required',
			'cross_border_percentage' => 'required',
			'cross_border_fixed_fee' => 'required',
			'exchange_rate' => 'required',
			'referer_bonus' => 'required',
        ];
    }
}
