forked from picqer/exact-php-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CostsByDate.php
72 lines (67 loc) · 2.16 KB
/
CostsByDate.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
namespace Picqer\Financials\Exact;
/**
* Class CostsByDate.
*
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=ReadProjectCostsByDate
*
* @property int $Id Primary key
* @property string $AccountCode Code of Account
* @property string $AccountId Reference to Account
* @property string $AccountName Name of Account
* @property float $AmountApproved Amount approved
* @property float $AmountDraft Amount draft
* @property float $AmountRejected Amount rejected
* @property float $AmountSubmitted Amount submitted
* @property string $CurrencyCode Code of Currency
* @property string $Date Date
* @property string $EntryId Entry ID
* @property string $Expense Reference to Expense
* @property string $ExpenseDescription Description of Expense
* @property string $ItemCode Code of Item
* @property string $ItemDescription Description of Item
* @property string $ItemId Reference to Item
* @property string $Notes Remarks
* @property string $ProjectCode Code of Project
* @property string $ProjectDescription Description of Project
* @property string $ProjectId Reference to Project
* @property float $QuantityApproved Quantity approved
* @property float $QuantityDraft Quantity draft
* @property float $QuantityRejected Quantity rejected
* @property float $QuantitySubmitted Quantity submitted
* @property int $WeekNumber Week number
*/
class CostsByDate extends Model
{
use Query\Findable;
use Persistance\Storable;
protected $primaryKey = 'Id';
protected $fillable = [
'Id',
'AccountCode',
'AccountId',
'AccountName',
'AmountApproved',
'AmountDraft',
'AmountRejected',
'AmountSubmitted',
'CurrencyCode',
'Date',
'EntryId',
'Expense',
'ExpenseDescription',
'ItemCode',
'ItemDescription',
'ItemId',
'Notes',
'ProjectCode',
'ProjectDescription',
'ProjectId',
'QuantityApproved',
'QuantityDraft',
'QuantityRejected',
'QuantitySubmitted',
'WeekNumber',
];
protected $url = 'read/project/CostsByDate?checkDate={Edm.DateTime}';
}