Skip to content

Commit

Permalink
Merge pull request #43 from blyleven/master
Browse files Browse the repository at this point in the history
Add WebhookSubscription entity
  • Loading branch information
stephangroen committed Feb 4, 2016
2 parents b2abf49 + 9c5fb0b commit 5a22046
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Picqer/Financials/Exact/Transactions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

class Transactions extends Model
{

use Query\Findable;
use Persistance\Storable;


protected $primaryKey = 'EntryID';

protected $fillable = [
'ClosingBalanceFC',
'Date',
Expand All @@ -25,6 +26,5 @@ class Transactions extends Model
'Type',
'TypeDescription'
];

protected $url = 'financialtransaction/Transactions';
}
}
16 changes: 16 additions & 0 deletions src/Picqer/Financials/Exact/WebhookSubscription.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php namespace Picqer\Financials\Exact;

class WebhookSubscription extends Model
{

use Query\Findable;
use Persistance\Storable;

protected $fillable = [
'CallbackURL',
'Topic'
];

protected $url = 'webhooks/WebhookSubscriptions';

}

0 comments on commit 5a22046

Please sign in to comment.