Skip to content

Commit

Permalink
Add new param skipTariffRules
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaksv authored Feb 3, 2021
1 parent 5e139d3 commit 89a8514
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/Entity/Request/CalculatorRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ class CalculatorRequest extends AbstractRequest
* @var array
*/
public $extraParams;

/**
* @var bool Пропустить выполнения правил редактора тарифов
*/
public $skipTariffRules;

/**
* @return From
Expand Down Expand Up @@ -457,4 +462,23 @@ public function addExtraParam($extraParamName, $extraParamValue)
return $this;
}

/**
* @return bool
*/
public function getSkipTariffRules()
{
return $this->skipTariffRules;
}

/**
* @param bool $skipTariffRules
*
* @return self
*/
public function setSkipTariffRules($skipTariffRules)
{
$this->skipTariffRules = $skipTariffRules;
return $this;
}

}

0 comments on commit 89a8514

Please sign in to comment.