-
Notifications
You must be signed in to change notification settings - Fork 201
/
Copy pathCurrency.php
33 lines (28 loc) · 962 Bytes
/
Currency.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
namespace Picqer\Financials\Exact;
/**
* Class Currency.
*
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=GeneralCurrencies
*
* @property string $Code Primary key
* @property float $AmountPrecision Defines the number of decimals of the exchange rate used to calculate the amount in domestic currency from the amount in foreign currency
* @property string $Created Creation date
* @property string $Description Description of the currency
* @property string $Modified Last modified date
* @property float $PricePrecision Defines the number of decimals used to calculate the item price in created invoices
*/
class Currency extends Model
{
use Query\Findable;
protected $primaryKey = 'Code';
protected $fillable = [
'Code',
'AmountPrecision',
'Created',
'Description',
'Modified',
'PricePrecision',
];
protected $url = 'general/Currencies';
}