code: private function getCalcData($scheme)
      {
          if ($scheme == Cfg::SCHEMA_EU) {
              $baseTypeCode = Cfg::CODE_TYPE_CALC_COMPRESS_PHASE2_EU;
              $depTypeCode = Cfg::CODE_TYPE_CALC_BONUS_OVERRIDE_EU;
          } else {
              $baseTypeCode = Cfg::CODE_TYPE_CALC_COMPRESS_PHASE2_DEF;
              $depTypeCode = Cfg::CODE_TYPE_CALC_BONUS_OVERRIDE_DEF;
          }
          /**
           * Get period & calc data for Override bonus based on Phase2 Compression.
           */
          $req = new AGetPeriodRequest();
          $req->setBaseCalcTypeCode($baseTypeCode);
          $req->setDepCalcTypeCode($depTypeCode);
          /** @var AGetPeriodResponse $resp */
          $resp = $this->servPeriodGet->exec($req);
          /** @var \Praxigento\BonusBase\Repo\Data\Period $ovrdPeriod */
          $ovrdPeriod = $resp->getDepPeriodData();
          /** @var \Praxigento\BonusBase\Repo\Data\Calculation $ovrdCalc */
          $ovrdCalc = $resp->getDepCalcData();
          /** @var \Praxigento\BonusBase\Repo\Data\Calculation $compressCalc */
          $compressCalc = $resp->getBaseCalcData();
          /**
           * Compose result.
           */
          $result = [$compressCalc, $ovrdPeriod, $ovrdCalc];
          return $result;
      }
docs: Get period and calculation data for all related calculation types.
  
  @return array [$compressCalc, $ovrdPeriod, $ovrdCalc]
  @throws \Exception