<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class VirtualCardRequest 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 [
			'user_id' => 'string',
			'account_id' => 'string',
			'card_id' => 'string',
			'currency' => 'string',
			'holdertype' => 'string',
			'cardbrand' => 'string',
			'customerid' => 'string',
			'available_bal' => 'string',
			'first_name' => 'string',
			'last_name' => 'string',
			'email' => 'string',
			'card_icon' => 'string',
			'phone' => 'string',
			'title' => 'string',
			'billing_name' => 'string',
			'billing_address' => 'string',
			'billing_city' => 'string',
			'billing_state' => 'string',
			'billing_postal_code' => 'string',
			'address_1' => 'string',
			'billing_country' => 'string',
			'callback_url' => 'string',
			'card_number' => 'string',
			'masked_pan' => 'string',
			'cvv' => 'string',
			'expiry_date' => 'string',
			'card_type' => 'string',
			'status' => 'required|string',
			'is_active' => 'required|string',
        ];
    }
}
