Service/Calc/Value/Ov.php
private function getCalcData()
    {
        /**
         * Get period & calc data.
         */
        $req = new AGetPeriodRequest();
        $req->setBaseCalcTypeCode(Cfg::CODE_TYPE_CALC_COMPRESS_PHASE1);
        $req->setDepCalcTypeCode(Cfg::CODE_TYPE_CALC_VALUE_OV);
        /** @var AGetPeriodResponse $resp */
        $resp = $this->servPeriodGet->exec($req);
        /** @var \Praxigento\BonusBase\Repo\Data\Calculation $compressCalc */
        $compressCalc = $resp->getBaseCalcData();
        /** @var \Praxigento\BonusBase\Repo\Data\Calculation $ovCalc */
        $ovCalc = $resp->getDepCalcData();
        /**
         * Compose result.
         */
        $result = [$compressCalc, $ovCalc];
        return $result;
    }
private function getCalcData()
    {
        /**
         * Get period & calc data.
         */
        $req = new AGetPeriodRequest();
        $req->setBaseCalcTypeCode(Cfg::CODE_TYPE_CALC_COMPRESS_PHASE1);
        $req->setDepCalcTypeCode(Cfg::CODE_TYPE_CALC_VALUE_OV);
        /** @var AGetPeriodResponse $resp */
        $resp = $this->servPeriodGet->exec($req);
        /** @var \Praxigento\BonusBase\Repo\Data\Calculation $compressCalc */
        $compressCalc = $resp->getBaseCalcData();
        /** @var \Praxigento\BonusBase\Repo\Data\Calculation $ovCalc */
        $ovCalc = $resp->getDepCalcData();
        /**
         * Compose result.
         */
        $result = [$compressCalc, $ovCalc];
        return $result;
    }
private function getCalcData ( ) { /**
         * Get period & calc data.
         */ $ req = new AGetPeriodRequest ( ) ; $ req -> setBaseCalcTypeCode ( Cfg :: CODE_TYPE_CALC_COMPRESS_PHASE1 ) ; $ req -> setDepCalcTypeCode ( Cfg :: CODE_TYPE_CALC_VALUE_OV ) ; /** @var AGetPeriodResponse $resp */ $ resp = $ this -> servPeriodGet -> exec ( $ req ) ; /** @var \Praxigento\BonusBase\Repo\Data\Calculation $compressCalc */ $ compressCalc = $ resp -> getBaseCalcData ( ) ; /** @var \Praxigento\BonusBase\Repo\Data\Calculation $ovCalc */ $ ovCalc = $ resp -> getDepCalcData ( ) ; /**
         * Compose result.
         */ $ result = [ $ compressCalc , $ ovCalc ] ; return $ result ; }
Get data for periods/calculations.

@return array [$compressCalc, $ovCalc]
@throws \Exception
Get data for periods / calculations .