-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from mediact/feature/StockPosition
Added StockPosition entity
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?php | ||
namespace Picqer\Financials\Exact; | ||
|
||
/** | ||
* Entity holding stock position details. | ||
* | ||
* @package Picqer\Financials\Exact | ||
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=ReadLogisticsStockPosition | ||
* | ||
* @property $InStock | ||
* @property $ItemId | ||
* @property $PlanningIn | ||
* @property $PlanningOut | ||
*/ | ||
class StockPosition extends Model | ||
{ | ||
use Query\Findable; | ||
|
||
/** | ||
* The fillable properties for the StockPosition model. | ||
* | ||
* @var string[] | ||
*/ | ||
protected $fillable = ['InStock', 'ItemId', 'PlanningIn', 'PlanningOut']; | ||
|
||
/** | ||
* The API request URL slug. | ||
* | ||
* @var string | ||
*/ | ||
protected $url = 'logistics/StockPosition'; | ||
|
||
/** | ||
* The primary key for the current entity. | ||
* | ||
* @var string | ||
*/ | ||
protected $primaryKey = 'ItemId'; | ||
} |