# [YooKassa API SDK](../home.md)
# Class: \YooKassa\Common\Exceptions\InvalidPropertyException
### Namespace: [\YooKassa\Common\Exceptions](../namespaces/yookassa-common-exceptions.md)
---
---
### Constants
* No constants found
---
### Methods
| Visibility | Name | Flag | Summary |
| ----------:| ---- | ---- | ------- |
| public | [__construct()](../classes/YooKassa-Common-Exceptions-InvalidPropertyException.md#method___construct) | | InvalidValueException constructor. |
| public | [getProperty()](../classes/YooKassa-Common-Exceptions-InvalidPropertyException.md#method_getProperty) | | |
---
### Details
* File: [lib/Common/Exceptions/InvalidPropertyException.php](../../lib/Common/Exceptions/InvalidPropertyException.php)
* Package: YooKassa
* Class Hierarchy:
* [\InvalidArgumentException](\InvalidArgumentException)
* \YooKassa\Common\Exceptions\InvalidPropertyException
---
## Methods
#### public __construct() : mixed
```php
public __construct(string $message = "", int $code, string $property = "") : mixed
```
**Summary**
InvalidValueException constructor.
**Details:**
* Inherited From: [\YooKassa\Common\Exceptions\InvalidPropertyException](../classes/YooKassa-Common-Exceptions-InvalidPropertyException.md)
##### Parameters:
| Type | Name | Description |
| ---- | ---- | ----------- |
| string | message | |
| int | code | |
| string | property | |
**Returns:** mixed -
#### public getProperty() : string
```php
public getProperty() : string
```
**Details:**
* Inherited From: [\YooKassa\Common\Exceptions\InvalidPropertyException](../classes/YooKassa-Common-Exceptions-InvalidPropertyException.md)
**Returns:** string -
---
### Top Namespaces
* [\YooKassa](../namespaces/yookassa.md)
---
### Reports
* [Errors - 0](../reports/errors.md)
* [Markers - 1](../reports/markers.md)
* [Deprecated - 25](../reports/deprecated.md)
---
This document was automatically generated from source code comments on 2023-04-06 using [phpDocumentor](http://www.phpdoc.org/)
© 2023 YooMoney