2015-05-16 06:06:38 -05:00
|
|
|
<?php
|
2016-02-05 05:08:25 -06:00
|
|
|
declare(strict_types = 1);
|
2015-05-16 06:06:38 -05:00
|
|
|
namespace FireflyIII\Helpers\Collection;
|
|
|
|
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
|
|
|
|
/**
|
2015-05-16 12:08:54 -05:00
|
|
|
* @codeCoverageIgnore
|
2015-05-16 06:06:38 -05:00
|
|
|
* Class Account
|
|
|
|
*
|
|
|
|
* @package FireflyIII\Helpers\Collection
|
|
|
|
*/
|
|
|
|
class Account
|
|
|
|
{
|
|
|
|
|
|
|
|
/** @var Collection */
|
|
|
|
protected $accounts;
|
2016-02-05 02:25:15 -06:00
|
|
|
/** @var string */
|
2015-05-16 06:06:38 -05:00
|
|
|
protected $difference;
|
2016-02-05 02:25:15 -06:00
|
|
|
/** @var string */
|
2015-05-16 06:06:38 -05:00
|
|
|
protected $end;
|
2016-02-05 02:25:15 -06:00
|
|
|
/** @var string */
|
2015-05-16 06:06:38 -05:00
|
|
|
protected $start;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return \Illuminate\Support\Collection
|
|
|
|
*/
|
|
|
|
public function getAccounts()
|
|
|
|
{
|
|
|
|
return $this->accounts;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2016-02-05 02:25:15 -06:00
|
|
|
* @param Collection $accounts
|
2015-05-16 06:06:38 -05:00
|
|
|
*/
|
2016-02-05 02:25:15 -06:00
|
|
|
public function setAccounts(Collection $accounts)
|
2015-05-16 06:06:38 -05:00
|
|
|
{
|
|
|
|
$this->accounts = $accounts;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2016-02-05 02:25:15 -06:00
|
|
|
* @return string
|
2015-05-16 06:06:38 -05:00
|
|
|
*/
|
|
|
|
public function getDifference()
|
|
|
|
{
|
|
|
|
return $this->difference;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2016-02-05 02:25:15 -06:00
|
|
|
* @param string $difference
|
2015-05-16 06:06:38 -05:00
|
|
|
*/
|
2016-02-05 02:25:15 -06:00
|
|
|
public function setDifference(string $difference)
|
2015-05-16 06:06:38 -05:00
|
|
|
{
|
|
|
|
$this->difference = $difference;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2016-02-05 02:25:15 -06:00
|
|
|
* @return string
|
2015-05-16 06:06:38 -05:00
|
|
|
*/
|
|
|
|
public function getEnd()
|
|
|
|
{
|
|
|
|
return $this->end;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2016-02-05 02:25:15 -06:00
|
|
|
* @param string $end
|
2015-05-16 06:06:38 -05:00
|
|
|
*/
|
2016-02-05 02:25:15 -06:00
|
|
|
public function setEnd(string $end)
|
2015-05-16 06:06:38 -05:00
|
|
|
{
|
|
|
|
$this->end = $end;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2016-02-05 02:25:15 -06:00
|
|
|
* @return string
|
2015-05-16 06:06:38 -05:00
|
|
|
*/
|
|
|
|
public function getStart()
|
|
|
|
{
|
|
|
|
return $this->start;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2016-02-05 02:25:15 -06:00
|
|
|
* @param string $start
|
2015-05-16 06:06:38 -05:00
|
|
|
*/
|
2016-02-05 02:25:15 -06:00
|
|
|
public function setStart(string $start)
|
2015-05-16 06:06:38 -05:00
|
|
|
{
|
|
|
|
$this->start = $start;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-05-20 12:56:14 -05:00
|
|
|
}
|