recurring_invoice->subscription->allow_plan_changes; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ // ]; } protected function failedAuthorization() { throw new ClientPortalAuthorizationException('Unable to change plans due to a restriction on this product.', 400); } }