Verify ACH amounts as integers

This commit is contained in:
David Bomba 2021-06-23 08:14:23 +10:00
parent 5e4d70d69b
commit 24a5548619

View File

@ -0,0 +1,31 @@
<?php
namespace App\Http\Requests\ClientPortal\PaymentMethod;
use App\Http\Requests\Request;
use Illuminate\Foundation\Http\FormRequest;
class VerifyPaymentMethodRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'transactions.*' => 'integer'
];
}
}