コード例 #1
0
 private function _calcCompressionOi()
 {
     $req = new CalcCompressOiRequest();
     $req->setQualificationLevelPv(self::QUALIFICATION_PV);
     $req->setQualificationLevelTv(self::QUALIFICATION_TV);
     $resp = $this->_callCalc->compressOi($req);
     $this->assertTrue($resp->isSucceed());
 }
コード例 #2
0
 private function _calcCompressOi()
 {
     $request = new BonusCalcCompressOiRequest();
     /* DEFAULT */
     $request->setScheme(Def::SCHEMA_DEFAULT);
     $response = $this->_callCalc->compressOi($request);
     $this->_calcIdCompressOiDef = $response->getCalcId();
     $this->assertTrue($response->isSucceed());
     /* EU */
     $request->setScheme(Def::SCHEMA_EU);
     $response = $this->_callCalc->compressOi($request);
     $this->_calcIdCompressOiEu = $response->getCalcId();
     $this->assertTrue($response->isSucceed());
 }