# [YooKassa API SDK](../home.md)

# Interface: PassengerInterface
### Namespace: [\YooKassa\Model](../namespaces/yookassa-model.md)
---
---
### Constants
* No constants found

---
### Methods
| Visibility | Name | Flag | Summary |
| ----------:| ---- | ---- | ------- |
| public | [getFirstName()](../classes/YooKassa-Model-PassengerInterface.md#method_getFirstName) |  | Возвращает имя пассажира |
| public | [getLastName()](../classes/YooKassa-Model-PassengerInterface.md#method_getLastName) |  | Возвращает фамилию пассажира |
| public | [setFirstName()](../classes/YooKassa-Model-PassengerInterface.md#method_setFirstName) |  | Устанавливает имя пассажира |
| public | [setLastName()](../classes/YooKassa-Model-PassengerInterface.md#method_setLastName) |  | Устанавливает фамилию пассажира |

---
### Details
* File: [lib/Model/PassengerInterface.php](../../lib/Model/PassengerInterface.php)
* Package: \Default

---
## Methods
<a name="method_getFirstName" class="anchor"></a>
#### public getFirstName() : string

```php
public getFirstName() : string
```

**Summary**

Возвращает имя пассажира

**Details:**
* Inherited From: [\YooKassa\Model\PassengerInterface](../classes/YooKassa-Model-PassengerInterface.md)

**Returns:** string - 


<a name="method_setFirstName" class="anchor"></a>
#### public setFirstName() : mixed

```php
public setFirstName(string $value) : mixed
```

**Summary**

Устанавливает имя пассажира

**Details:**
* Inherited From: [\YooKassa\Model\PassengerInterface](../classes/YooKassa-Model-PassengerInterface.md)

##### Parameters:
| Type | Name | Description |
| ---- | ---- | ----------- |
| <code lang="php">string</code> | value  | Имя пассажира |

**Returns:** mixed - 


<a name="method_getLastName" class="anchor"></a>
#### public getLastName() : string

```php
public getLastName() : string
```

**Summary**

Возвращает фамилию пассажира

**Details:**
* Inherited From: [\YooKassa\Model\PassengerInterface](../classes/YooKassa-Model-PassengerInterface.md)

**Returns:** string - 


<a name="method_setLastName" class="anchor"></a>
#### public setLastName() : mixed

```php
public setLastName(string $value) : mixed
```

**Summary**

Устанавливает фамилию пассажира

**Details:**
* Inherited From: [\YooKassa\Model\PassengerInterface](../classes/YooKassa-Model-PassengerInterface.md)

##### Parameters:
| Type | Name | Description |
| ---- | ---- | ----------- |
| <code lang="php">string</code> | value  | Фамилия пассажира |

**Returns:** mixed - 




---

### Top Namespaces

* [\YooKassa](../namespaces/yookassa.md)

---

### Reports
* [Errors - 0](../reports/errors.md)
* [Markers - 0](../reports/markers.md)
* [Deprecated - 13](../reports/deprecated.md)

---

This document was automatically generated from source code comments on 2022-03-11 using [phpDocumentor](http://www.phpdoc.org/)

&copy; 2022 YooMoney