/** {@inheritdoc} */ public function init() { parent::init(); $this->calculation_id = $this->position->getId(); $this->amount = $this->position->getQuantity(); }
/** * {@inheritdoc} */ public function getName() { return 'Item "' . $this->position->getName() . '"" is pending for additional actions'; }
/** {@inheritdoc} */ public function getCalculationModel($options = []) { return parent::getCalculationModel(array_merge(['type' => $this->_operation, 'domain' => $this->name, 'zone' => $this->getZone()], $options)); }