mini-aspire/app/Http/Requests/API/V1/UserRepaymentAPIRequest.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 [
            'currency' => 'required',
            'paid_amount'     => 'required|integer|min:1',
        ];
    }
public function rules ( ) { return [ 'currency' => 'required' , 'paid_amount' => 'required|integer|min:1' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .