---
title: "init(rentalCompanyName:type:make:model:rentalCarDescription:)"
framework: intents
role: symbol
role_heading: Initializer
path: "intents/inrentalcar/init(rentalcompanyname:type:make:model:rentalcardescription:)"
---

# init(rentalCompanyName:type:make:model:rentalCarDescription:)

Creates a new rental car object with the specified contents and attributes.

## Declaration

```swift
init(rentalCompanyName: String, type: String?, make: String?, model: String?, rentalCarDescription: String?)
```

## Parameters

- `rentalCompanyName`: The name of the rental car company.
- `type`: The type of rental car. For example, “Economy Class”.
- `make`: The name of the rental car maker.
- `model`: The name of the rental car model.
- `rentalCarDescription`: A description of the rental car.

## Return Value

Return Value A new INRentalCar object or nil if one can’t be created.
