-
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 #182 from HesselM/master
feature: added ProfitLossOverview support
- Loading branch information
Showing
1 changed file
with
57 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,57 @@ | ||
<?php namespace Picqer\Financials\Exact; | ||
|
||
/** | ||
* Class ProfitLossOverview | ||
* | ||
* @package Picqer\Financials\Exact | ||
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=ReadFinancialProfitLossOverview | ||
* | ||
* @property Int32 $CurrentYear Current year, Primary key | ||
* @property Double $CostsCurrentPeriod Costs in current period | ||
* @property Double $CostsCurrentYear Costs in current year | ||
* @property Double $CostsPreviousYear Costs in previous year | ||
* @property Double $CostsPreviousYearPeriod Costs in period of previous year | ||
* @property String $CurrencyCode Currency Code | ||
* @property Int32 $CurrentPeriod Current period | ||
* @property Int32 $PreviousYear Previous year | ||
* @property Int32 $PreviousYearPeriod Period in previous year | ||
* @property Double $ResultCurrentPeriod Results of current period | ||
* @property Double $ResultCurrentYear | ||
* @property Double $ResultPreviousYear | ||
* @property Double $ResultPreviousYearPeriod Results of period in previous year | ||
* @property Double $RevenueCurrentPeriod Revenue in current period | ||
* @property Double $RevenueCurrentYear Revenue in current year | ||
* @property Double $RevenuePreviousYear Revenue in previous year | ||
* @property Double $RevenuePreviousYearPeriod Revenue in period of previous year | ||
*/ | ||
|
||
class ProfitLossOverview extends Model | ||
{ | ||
|
||
use Query\Findable; | ||
|
||
protected $primaryKey = 'CurrentYear'; | ||
|
||
protected $fillable = [ | ||
'CostsCurrentPeriod', | ||
'CostsCurrentYear', | ||
'CostsPreviousYear', | ||
'CostsPreviousYearPeriod', | ||
'CurrencyCode', | ||
'CurrentYear', | ||
'CurrentPeriod', | ||
'PreviousYear', | ||
'PreviousYearPeriod', | ||
'ResultCurrentPeriod', | ||
'ResultCurrentYear', | ||
'ResultPreviousYear', | ||
'ResultPreviousYearPeriod', | ||
'RevenueCurrentPeriod', | ||
'RevenueCurrentYear', | ||
'RevenuePreviousYear', | ||
'RevenuePreviousPeriod' | ||
]; | ||
|
||
protected $url = 'read/financial/ProfitLossOverview'; | ||
|
||
} |