Expand tests, do code cleanup.

This commit is contained in:
James Cole
2017-12-17 14:30:53 +01:00
parent b08af77c98
commit 78335e5814
141 changed files with 773 additions and 54 deletions

View File

@@ -25,6 +25,9 @@ namespace FireflyIII\Services\Bunq\Object;
use Carbon\Carbon;
use FireflyIII\Services\Bunq\Id\DeviceServerId;
/**
* Class DeviceServer
*/
class DeviceServer extends BunqObject
{
/** @var Carbon */
@@ -40,6 +43,11 @@ class DeviceServer extends BunqObject
/** @var Carbon */
private $updated;
/**
* DeviceServer constructor.
*
* @param array $data
*/
public function __construct(array $data)
{
$id = new DeviceServerId();

View File

@@ -31,7 +31,13 @@ class MonetaryAccountProfile extends BunqObject
private $profileActionRequired = '';
/** @var Amount */
private $profileAmountRequired;
/**
* @var null
*/
private $profileDrain;
/**
* @var null
*/
private $profileFill;
/**

View File

@@ -29,10 +29,19 @@ use Carbon\Carbon;
*/
class UserCompany extends BunqObject
{
/**
* @var
*/
private $addressMain;
/**
* @var
*/
private $addressPostal;
/** @var array */
private $aliases = [];
/**
* @var
*/
private $avatar;
/** @var string */
private $cocNumber = '';
@@ -40,7 +49,13 @@ class UserCompany extends BunqObject
private $counterBankIban = '';
/** @var Carbon */
private $created;
/**
* @var
*/
private $dailyLimit;
/**
* @var
*/
private $directorAlias;
/** @var string */
private $displayName = '';

View File

@@ -29,10 +29,19 @@ use Carbon\Carbon;
*/
class UserPerson extends BunqObject
{
/**
* @var
*/
private $addressMain;
/**
* @var
*/
private $addressPostal;
/** @var array */
private $aliases = [];
/**
* @var
*/
private $avatar;
/** @var array */
private $billingContracts = [];
@@ -40,8 +49,17 @@ class UserPerson extends BunqObject
private $countryOfBirth = '';
/** @var Carbon */
private $created;
/**
* @var
*/
private $customer;
/**
* @var
*/
private $customerLimit;
/**
* @var
*/
private $dailyLimit;
/** @var Carbon */
private $dateOfBirth;
@@ -77,6 +95,9 @@ class UserPerson extends BunqObject
private $publicNickName = '';
/** @var string */
private $publicUuid = '';
/**
* @var mixed
*/
private $region;
/** @var int */
private $sessionTimeout = 0;