-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for custom fields for contacts, added support for Money…
…bird API different types of nested objects (as array or as object)
- Loading branch information
1 parent
004ec4d
commit 45744ff
Showing
5 changed files
with
69 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/Picqer/Financials/Moneybird/Entities/ContactCustomField.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php namespace Picqer\Financials\Moneybird\Entities; | ||
|
||
use Picqer\Financials\Moneybird\Model; | ||
|
||
/** | ||
* Class ContactCustomField | ||
* @package Picqer\Financials\Moneybird\Entities | ||
*/ | ||
class ContactCustomField extends Model { | ||
|
||
/** | ||
* @var array | ||
*/ | ||
protected $fillable = [ | ||
'id', | ||
'value', | ||
]; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters