Skip to content

Commit

Permalink
Merge pull request #27 from apiship/apis-3384
Browse files Browse the repository at this point in the history
APIS-3391 Редактор тарифов - условие для нескольких сайтов
  • Loading branch information
nikitaksv authored Feb 16, 2022
2 parents 2d4e685 + c4b19f9 commit 2dab936
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 2dab936

Please sign in to comment.