app/Http/Requests/UpdateTransactionRequest.php
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
    {
        return [
            "mode" => "required|integer|in:0,1,2,3,10",
            "transaction_type" => "required|integer|in:0,1",
            "payment_amount" => "required|numeric",
            "transaction_comment" => "required|string",
        ];
    }
public function rules ( ) { return [ " mode " => " required|integer|in:0,1,2,3,10 " , " transaction_type " => " required|integer|in:0,1 " , " payment_amount " => " required|numeric " , " transaction_comment " => " required|string " , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .