Skip to content

Commit

Permalink
Merge pull request #182 from HesselM/master
Browse files Browse the repository at this point in the history
feature: added ProfitLossOverview support
  • Loading branch information
stephangroen committed Oct 3, 2017
2 parents 21fd200 + 9a0e767 commit f1c729d
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions src/Picqer/Financials/Exact/ProfitLossOverview.php
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';

}

0 comments on commit f1c729d

Please sign in to comment.