Skip to content

Commit

Permalink
Merge pull request #526 from DannyvdSluijs/Update-2022-01-17
Browse files Browse the repository at this point in the history
An update of the api models based on todays api documentation.
  • Loading branch information
stephangroen authored Jan 18, 2022
2 parents 2735d98 + e0854d7 commit b626ea1
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 11 deletions.
2 changes: 2 additions & 0 deletions src/Picqer/Financials/Exact/AllDivision.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
* @property int $Hid Company number that is assigned by the customer
* @property bool $IsDossierDivision True if the division is a dossier division
* @property bool $IsMainDivision True if the division is the main division
* @property bool $IsPracticeDivision True if the division is a practice division
* @property string $Legislation Legislation
* @property string $Modified Last modified date
* @property string $Modifier User ID of modifier
Expand Down Expand Up @@ -110,6 +111,7 @@ class AllDivision extends Model
'Hid',
'IsDossierDivision',
'IsMainDivision',
'IsPracticeDivision',
'Legislation',
'Modified',
'Modifier',
Expand Down
2 changes: 2 additions & 0 deletions src/Picqer/Financials/Exact/GetMostRecentlyUsedDivision.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
* @property int $Hid Company number that is assigned by the customer
* @property bool $IsDossierDivision True if the division is a dossier division
* @property bool $IsMainDivision True if the division is the main division
* @property bool $IsPracticeDivision True if the division is a practice division
* @property string $Legislation Legislation
* @property string $Modified Last modified date
* @property string $Modifier User ID of modifier
Expand Down Expand Up @@ -110,6 +111,7 @@ class GetMostRecentlyUsedDivision extends Model
'Hid',
'IsDossierDivision',
'IsMainDivision',
'IsPracticeDivision',
'Legislation',
'Modified',
'Modifier',
Expand Down
1 change: 0 additions & 1 deletion src/Picqer/Financials/Exact/PreviousYearAfterEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
class PreviousYearAfterEntry extends Model
{
use Query\Findable;
use Persistance\Storable;

protected $primaryKey = 'ReportingYear';

Expand Down
1 change: 0 additions & 1 deletion src/Picqer/Financials/Exact/PreviousYearProcessed.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
class PreviousYearProcessed extends Model
{
use Query\Findable;
use Persistance\Storable;

protected $primaryKey = 'ReportingYear';

Expand Down
2 changes: 1 addition & 1 deletion src/Picqer/Financials/Exact/PurchaseEntryLine.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @property string $IntraStatCountry IntraStatCountry (only relevant when IntraStat for purchase is enabled in the administration)
* @property string $IntraStatDeliveryTerm IntraStat delivery term (only relevant when IntraStat for purchase is enabled in the administration)
* @property string $IntraStatTransactionA IntraStat transaction A (only relevant when IntraStat for purchase is enabled in the administration)
* @property string $IntraStatTransactionB IntraStat transaction B (only relevant when IntraStat for purchase is enabled in the Luxembourg, France & United Kingdom administration)
* @property string $IntraStatTransactionB IntraStat transaction B (only relevant when IntraStat for purchase is enabled in the Belgium, Luxembourg, France & United Kingdom administration)
* @property string $IntraStatTransportMethod IntraStat transport method (only relevant when IntraStat for purchase is enabled in the administration)
* @property int $LineNumber Line number
* @property string $Notes Extra remarks
Expand Down
2 changes: 1 addition & 1 deletion src/Picqer/Financials/Exact/SalesEntryLine.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* @property string $IntraStatCountry IntraStatCountry (only relevant when IntraStat for sales is enabled in the administration)
* @property string $IntraStatDeliveryTerm IntraStat delivery term (only relevant when IntraStat for sales is enabled in the administration)
* @property string $IntraStatTransactionA IntraStat transaction A (only relevant when IntraStat for sales is enabled in the administration)
* @property string $IntraStatTransactionB IntraStat transaction B (only relevant when IntraStat for sales is enabled in the Luxembourg, France & United Kingdom administration)
* @property string $IntraStatTransactionB IntraStat transaction B (only relevant when IntraStat for sales is enabled in the Belgium, Luxembourg, France & United Kingdom administration)
* @property string $IntraStatTransportMethod IntraStat transport method (only relevant when IntraStat for sales is enabled in the administration)
* @property int $LineNumber Indicates the sequence of the lines within one entry
* @property string $Notes Extra notes
Expand Down
2 changes: 2 additions & 0 deletions src/Picqer/Financials/Exact/SubscriptionLine.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* @property float $NetPrice Net price in the currency of the transaction
* @property string $Notes To add or retrieve additional information in the subscription line
* @property float $Quantity Quantity of item used in the subscription line
* @property int $SubscriptionNumber Subscription number of the subscription line per subscription
* @property string $ToDate The date the subscription line ends
* @property string $UnitCode The code of the unit used in the subscription line. E.g: kg, meter
* @property string $UnitDescription Description of Unit used in the subscription line
Expand Down Expand Up @@ -59,6 +60,7 @@ class SubscriptionLine extends Model
'NetPrice',
'Notes',
'Quantity',
'SubscriptionNumber',
'ToDate',
'UnitCode',
'UnitDescription',
Expand Down
4 changes: 2 additions & 2 deletions src/Picqer/Financials/Exact/SyncPaymentTerm.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncCashflowPaymentTerms
*
* @property int64 $Timestamp Timestamp
* @property int $Timestamp Timestamp
* @property string $Account The supplier to which the payment has to be done.
* @property string $AccountBankAccountID The bank account of the supplier, to which the payment has to be done.
* @property string $AccountBankAccountNumber The bank account number of the supplier, to which the payment has to be done.
Expand Down Expand Up @@ -36,7 +36,7 @@
* @property int $DirectDebitMandateType Type of the mandate. 0 = Core 1 = Business-to-business.
* @property string $DiscountDueDate Date before which the payment must be done to be eligible for discount.
* @property int $Division Division code.
* @property string $Document Document that is created when processing payments. The bank export file is attached to the document.
* @property string $Document Document that is created when processing payments. The bank export file is attached to the document.
* @property int $DocumentNumber Number of the document.
* @property string $DocumentSubject Subject of the document.
* @property string $DueDate Date before which the payment must be done.
Expand Down
2 changes: 2 additions & 0 deletions src/Picqer/Financials/Exact/SystemDivision.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
* @property int $Hid Company number that is assigned by the customer
* @property bool $IsDossierDivision True if the division is a dossier division
* @property bool $IsMainDivision True if the division is the main division
* @property bool $IsPracticeDivision True if the division is a practice division
* @property string $Legislation Legislation
* @property string $Modified Last modified date
* @property string $Modifier User ID of modifier
Expand Down Expand Up @@ -110,6 +111,7 @@ class SystemDivision extends Model
'Hid',
'IsDossierDivision',
'IsMainDivision',
'IsPracticeDivision',
'Legislation',
'Modified',
'Modifier',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@
*
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=ReadProjectTimeAndBillingActivitiesAndExpenses
*
* @property string $ID Primary key
* @property string $Description Description
* @property string $ParentDescription Description of Parent
* @property string $ID ID of activity or expense
* @property string $Description Description of activity or expense
* @property string $ParentDescription Description of its parent
*/
class TimeAndBillingActivitiesAndExpense extends Model
{
use Query\Findable;
use Persistance\Storable;

protected $fillable = [
'ID',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
class TimeAndBillingEntryRecentActivitiesAndExpense extends Model
{
use Query\Findable;
use Persistance\Storable;

protected $fillable = [
'ID',
Expand Down

0 comments on commit b626ea1

Please sign in to comment.