code: private function getCalcData($scheme)
      {
          $calcTypeCode = ($scheme == Cfg::SCHEMA_EU)
              ? Cfg::CODE_TYPE_CALC_COMPRESS_PHASE2_EU
              : Cfg::CODE_TYPE_CALC_COMPRESS_PHASE2_DEF;
          /**
           * Get data for phase2 compression and OV (base) calculations
           */
          $req = new AGetPeriodRequest();
          $req->setBaseCalcTypeCode(Cfg::CODE_TYPE_CALC_VALUE_OV);
          $req->setDepCalcTypeCode($calcTypeCode);
          /** @var AGetPeriodResponse $resp */
          $resp = $this->servPeriodGet->exec($req);
          /** @var \Praxigento\BonusBase\Repo\Data\Period $phase2Period */
          $phase2Period = $resp->getDepPeriodData();
          /** @var \Praxigento\BonusBase\Repo\Data\Calculation $phaseCalc */
          $phaseCalc = $resp->getDepCalcData();
          /**
           * Get data for PV Write Off & phase1 compression calculations
           */
          $req = new AGetPeriodRequest();
          $req->setBaseCalcTypeCode(Cfg::CODE_TYPE_CALC_PV_WRITE_OFF);
          $req->setDepCalcTypeCode(Cfg::CODE_TYPE_CALC_COMPRESS_PHASE1);
          $req->setDepIgnoreComplete(true);
          /** @var AGetPeriodResponse $resp */
          $resp = $this->servPeriodGet->exec($req);
          /** @var \Praxigento\BonusBase\Repo\Data\Calculation $writeOffCalc */
          $writeOffCalc = $resp->getBaseCalcData();
          /** @var \Praxigento\BonusBase\Repo\Data\Calculation $phase1Calc */
          $phase1Calc = $resp->getDepCalcData();
          /**
           * Compose results.
           */
          $result = [$writeOffCalc, $phase1Calc, $phaseCalc, $phase2Period];
          return $result;
      }
docs: Get calculation/period data related to current calculation.
  
  @param string $scheme see \Praxigento\BonusHybrid\Config::SCHEMA_XXX
  @return array [$writeOffCalc, $phase1Calc, $phaseCalc, $phase2Period]