-
Notifications
You must be signed in to change notification settings - Fork 200
/
Copy pathCustomField.php
35 lines (30 loc) · 1.09 KB
/
CustomField.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
34
35
<?php
namespace Picqer\Financials\Exact;
/**
* Class CustomField.
*
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CustomFieldCustomFields
*
* @property string $LinkId Entity id
* @property string $BusinessComponentName Business component name
* @property string $Caption Custom field description
* @property string $PropertyName Custom business property name
* @property string $RefersTo The name of the referencing entity. The supported values are Item, Account, Project, Opportunity, SalesOrder, Contact, User, Employee, Document and Team
* @property string $Type Represents the data type of the custom field. The supported datatypes are boolean, integer, string, double, date and GUID
* @property string $Value Custom field data
*/
class CustomField extends Model
{
use Query\Findable;
protected $primaryKey = 'LinkId';
protected $fillable = [
'LinkId',
'BusinessComponentName',
'Caption',
'PropertyName',
'RefersTo',
'Type',
'Value',
];
protected $url = 'customfield/CustomFields';
}