for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Bukashk0zzzYmlGenerator
*
* (c) Denis Golubovskiy <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Bukashk0zzz\YmlGenerator\Model\Offer;
/**
* Abstract Class Offer
* @author Denis Golubovskiy <[email protected]>
abstract class AbstractOffer implements OfferInterface
{
* @var string
private $id;
* @var bool
private $available;
private $url;
* @var float
private $price;
private $currencyId;
* @var int
private $categoryId;
* @return array
public function getParams()
return [];
}
* @return string
public function getId()
return $this->id;
* @param string $id
* @return $this
public function setId($id)
$this->id = $id;
return $this;
* @return boolean
public function isAvailable()
return $this->available;
* @param boolean $available
public function setAvailable($available)
$this->available = $available;
public function getUrl()
return $this->url;
* @param string $url
public function setUrl($url)
$this->url = $url;
* @return float
public function getPrice()
return $this->price;
* @param float $price
public function setPrice($price)
$this->price = $price;
public function getCurrencyId()
return $this->currencyId;
* @param string $currencyId
public function setCurrencyId($currencyId)
$this->currencyId = $currencyId;
* @return int
public function getCategoryId()
return $this->categoryId;
* @param int $categoryId
public function setCategoryId($categoryId)
$this->categoryId = $categoryId;