for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SafeCrow\Model;
/**
* Class Calculate
* @package SafeCrow\Model
*/
class Calculate
{
* @var int
private $price;
* @var int|null
private $supplierServiceCost;
private $consumerServiceCost;
private $consumerCancellationCost;
* @return int
public function getPrice(): int
return $this->price;
}
* @param int $price
* @return Calculate
public function setPrice(int $price): Calculate
$this->price = $price;
return $this;
* @return int|null
public function getSupplierServiceCost()
return $this->supplierServiceCost;
* @param int|null $supplierServiceCost
public function setSupplierServiceCost(int $supplierServiceCost = null): Calculate
$this->supplierServiceCost = $supplierServiceCost;
public function getConsumerServiceCost()
return $this->consumerServiceCost;
* @param int|null $consumerServiceCost
public function setConsumerServiceCost(int $consumerServiceCost = null): Calculate
$this->consumerServiceCost = $consumerServiceCost;
public function getConsumerCancellationCost()
return $this->consumerCancellationCost;
* @param int|null $consumerCancellationCost
public function setConsumerCancellationCost(int $consumerCancellationCost = null): Calculate
$this->consumerCancellationCost = $consumerCancellationCost;