/** * Service Call: GetIncentiveEvaluation * * @param GetIncentiveEvaluationReq $getIncentiveEvaluationReq * * @return GetIncentiveEvaluationResponseType * @throws APIException */ public function GetIncentiveEvaluation($getIncentiveEvaluationReq, $apiUsername = null) { $this->setStandardParams($getIncentiveEvaluationReq->GetIncentiveEvaluationRequest); $ret = new GetIncentiveEvaluationResponseType(); $resp = $this->call("GetIncentiveEvaluation", $getIncentiveEvaluationReq, $apiUsername); $ret->init(PPUtils::xmlToArray($resp)); return $ret; }
/** * Service Call: GetIncentiveEvaluation * @param GetIncentiveEvaluationReq $getIncentiveEvaluationReq * @param mixed $apiCredential - Optional API credential - can either be * a username configured in sdk_config.ini or a ICredential object * created dynamically * @return GetIncentiveEvaluationResponseType * @throws APIException */ public function GetIncentiveEvaluation($getIncentiveEvaluationReq, $apiCredential = NULL) { $this->setStandardParams($getIncentiveEvaluationReq->GetIncentiveEvaluationRequest); $ret = new GetIncentiveEvaluationResponseType(); $resp = $this->call('PayPalAPIAA', 'GetIncentiveEvaluation', $getIncentiveEvaluationReq, $apiCredential); $ret->init(PPUtils::xmlToArray($resp)); return $ret; }
/** * Service Call: GetIncentiveEvaluation * @param GetIncentiveEvaluationReq $getIncentiveEvaluationReq * @param mixed $apiCredential - Optional API credential - can either be * a username configured in sdk_config.ini or a ICredential object * created dynamically * @return GetIncentiveEvaluationResponseType * @throws APIException */ public function GetIncentiveEvaluation($getIncentiveEvaluationReq, $apiCredential = NULL) { $this->setStandardParams($getIncentiveEvaluationReq->GetIncentiveEvaluationRequest); $apiContext = new PPApiContext($this->config); $handlers = array(new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION)); $ret = new GetIncentiveEvaluationResponseType(); $resp = $this->call('PayPalAPIAA', 'GetIncentiveEvaluation', $getIncentiveEvaluationReq, $apiContext, $handlers); $ret->init(PPUtils::xmlToArray($resp)); return $ret; }