# currencyRate

> currencyRate attributes, type and example

[Back to constructors index](/API_docs/constructors/index.html)



### Attributes:

| Name     |    Type       | Required |
|----------|---------------|----------|
|currency|[string](/API_docs/types/string.html) | Yes|
|rate|[double](/API_docs/types/double.html) | Yes|



### Type: [CurrencyRate](/API_docs/types/CurrencyRate.html)


### Example:

```
$currencyRate = ['_' => 'currencyRate', 'currency' => 'string', 'rate' => double];
```
