Skip to content

Commit

Permalink
Merge pull request #55 from mediact/feature/StockPosition
Browse files Browse the repository at this point in the history
Added StockPosition entity
  • Loading branch information
stephangroen committed May 11, 2016
2 parents 17ac66a + a54ef12 commit d3bc18c
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions src/Picqer/Financials/Exact/StockPosition.php
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';
}

0 comments on commit d3bc18c

Please sign in to comment.