-
Notifications
You must be signed in to change notification settings - Fork 200
/
Copy pathBankAccount.php
60 lines (56 loc) · 2.22 KB
/
BankAccount.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
<?php
namespace Picqer\Financials\Exact;
/**
* Class BankAccount.
*
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMBankAccounts
*
* @property string $ID Primary key
* @property string $Account Account (customer, supplier) to which the bank account belongs
* @property string $AccountName The name of the account
* @property string $BankAccount The bank account number
* @property string $BankAccountHolderName Name of the holder of the bank account, as known by the bank
* @property string $BICCode BIC code of the bank where the bank account is held
* @property bool $Blocked Indicates if the bank account is blocked
* @property string $Created Creation date
* @property string $Creator User ID of creator
* @property string $CreatorFullName Name of creator
* @property string $Description Description of the bank account
* @property int $Division Division code
* @property string $Format Format that belongs to the bank account number
* @property bool $Main Indicates if the bank account is the main bank account
* @property string $Modified Last modified date
* @property string $Modifier User ID of modifier
* @property string $ModifierFullName Name of modifier
* @property string $PaymentServiceAccount ID of the Payment service account. Used when Type is 'P' (Payment service)
* @property string $Type The type indicates what entity the bank account is used for. A = Account (default), E = Employee, K = Cash, P = Payment service, R = Bank, S = Student, U = Unknown. Currently it's only possible to create 'Account' type bank accounts.
* @property string $TypeDescription Description of the Type
*/
class BankAccount extends Model
{
use Query\Findable;
use Persistance\Storable;
protected $fillable = [
'ID',
'Account',
'AccountName',
'BankAccount',
'BankAccountHolderName',
'BICCode',
'Blocked',
'Created',
'Creator',
'CreatorFullName',
'Description',
'Division',
'Format',
'Main',
'Modified',
'Modifier',
'ModifierFullName',
'PaymentServiceAccount',
'Type',
'TypeDescription',
];
protected $url = 'crm/BankAccounts';
}