forked from picqer/exact-php-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWebhookSubscription.php
38 lines (34 loc) · 1.03 KB
/
WebhookSubscription.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
36
37
38
<?php
namespace Picqer\Financials\Exact;
/**
* Class WebhookSubscription.
*
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=WebhooksWebhookSubscriptions
*
* @property string $ID Primary key
* @property string $CallbackURL Callback URL endpoint
* @property string $ClientID OAuth client Id
* @property string $Created Creation date
* @property string $Creator User ID of creator
* @property string $CreatorFullName Name of creator
* @property string $Description Description of the OAuth Client
* @property int $Division Division code
* @property string $Topic Webhook subscription topic, e.g.: FinancialTransactions, Items, StockPositions
*/
class WebhookSubscription extends Model
{
use Query\Findable;
use Persistance\Storable;
protected $fillable = [
'ID',
'CallbackURL',
'ClientID',
'Created',
'Creator',
'CreatorFullName',
'Description',
'Division',
'Topic',
];
protected $url = 'webhooks/WebhookSubscriptions';
}