コード例 #1
0
 private function _calcBonusPersonal()
 {
     $request = new BonusCalcBonusPersonalRequest();
     /* DEFAULT scheme */
     $request->setScheme(Def::SCHEMA_DEFAULT);
     $response = $this->_callCalc->bonusPersonal($request);
     $this->_calcIdBonusPersonalDef = $response->getCalcId();
     $this->assertTrue($response->isSucceed());
     /* EU scheme */
     $request->setScheme(Def::SCHEMA_EU);
     $response = $this->_callCalc->bonusPersonal($request);
     $this->_calcIdBonusPersonalEu = $response->getCalcId();
     $this->assertTrue($response->isSucceed());
 }