firefly-iii/app/Helpers/Collection/BillLine.php

128 lines
1.9 KiB
PHP
Raw Normal View History

<?php
namespace FireflyIII\Helpers\Collection;
use FireflyIII\Models\Bill as BillModel;
/**
2015-05-21 00:30:38 -05:00
* @codeCoverageIgnore
*
* Class BillLine
*
* @package FireflyIII\Helpers\Collection
*/
class BillLine
{
/** @var bool */
protected $active;
2015-06-14 01:22:02 -05:00
/** @var string */
protected $amount;
/** @var BillModel */
protected $bill;
/** @var bool */
protected $hit;
2015-06-14 01:22:02 -05:00
/** @var string */
protected $max;
2015-06-14 01:22:02 -05:00
/** @var string */
protected $min;
/**
2015-06-14 01:22:02 -05:00
* @return string
*/
public function getAmount()
{
return $this->amount;
}
/**
2015-06-14 01:22:02 -05:00
* @param string $amount
*/
2016-02-05 02:25:15 -06:00
public function setAmount(string $amount)
{
$this->amount = $amount;
}
/**
* @return BillModel
*/
public function getBill()
{
return $this->bill;
}
/**
* @param BillModel $bill
*/
2016-02-05 02:25:15 -06:00
public function setBill(BillModel $bill)
{
$this->bill = $bill;
}
/**
2015-06-14 01:22:02 -05:00
* @return string
*/
public function getMax()
{
return $this->max;
}
/**
2015-06-14 01:22:02 -05:00
* @param string $max
*/
2016-02-05 02:25:15 -06:00
public function setMax(string $max)
{
$this->max = $max;
}
/**
2015-06-14 01:22:02 -05:00
* @return string
*/
public function getMin()
{
return $this->min;
}
/**
2015-06-14 01:22:02 -05:00
* @param string $min
*/
2016-02-05 02:25:15 -06:00
public function setMin(string $min)
{
$this->min = $min;
}
/**
* @return boolean
*/
public function isActive()
{
return $this->active;
}
/**
2016-02-05 02:25:15 -06:00
* @param bool $active
*/
2016-02-05 02:25:15 -06:00
public function setActive(bool $active)
{
$this->active = $active;
}
/**
* @return boolean
*/
public function isHit()
{
return $this->hit;
}
/**
2016-02-05 02:25:15 -06:00
* @param bool $hit
*/
2016-02-05 02:25:15 -06:00
public function setHit(bool $hit)
{
$this->hit = $hit;
}
2015-05-20 12:56:14 -05:00
}