Skip to content

Commit

Permalink
Add market_category
Browse files Browse the repository at this point in the history
  • Loading branch information
Gennady Knyazkin committed Dec 26, 2017
1 parent e219ce2 commit 449a7db
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/Model/Offer/AbstractOffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ abstract class AbstractOffer implements OfferInterface
*/
private $categoryId;

/**
* @var string
*/
private $marketCategory;

/**
* @var bool
*/
Expand Down Expand Up @@ -229,6 +234,26 @@ public function setCategoryId($categoryId)
return $this;
}

/**
* @return string
*/
public function getMarketCategory()
{
return $this->marketCategory;
}

/**
* @param string $marketCategory
*
* @return $this
*/
public function setMarketCategory($marketCategory)
{
$this->marketCategory = $marketCategory;

return $this;
}

/**
* @return bool
*/
Expand Down Expand Up @@ -484,6 +509,7 @@ private function getHeaderOptions()
'price' => $this->getPrice(),
'currencyId' => $this->getCurrencyId(),
'categoryId' => $this->getCategoryId(),
'market_category' => $this->getMarketCategory(),
'picture' => $this->getPictures(),
'pickup' => $this->isPickup(),
'delivery' => $this->isDelivery(),
Expand Down

0 comments on commit 449a7db

Please sign in to comment.