Skip to content

Commit

Permalink
APIS-3391 Редактор тарифов - условие для нескольких сайтов
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaksv committed Feb 16, 2022
1 parent 6c7ac86 commit c4b19f9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/Entity/Request/CalculatorRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ class CalculatorRequest extends AbstractRequest
* @var string Промокод, нужен для выполнения правила в редакторе тарифов
*/
public $promoCode;
/**
* @var string Пользовательское поле. В это поле можно передать, например, название сайта и по нему строить правила в редакторе сайтов.
*/
public $customCode;

/**
* @return From
Expand Down Expand Up @@ -538,4 +542,22 @@ public function setPromoCode($promoCode)
$this->promoCode = $promoCode;
return $this;
}

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

/**
* @param string $customCode
* @return CalculatorRequest
*/
public function setCustomCode($customCode)
{
$this->customCode = $customCode;
return $this;
}
}

0 comments on commit c4b19f9

Please sign in to comment.