PayPal\Service\PayPalAPIInterfaceServiceService::GetIncentiveEvaluation PHP Method

GetIncentiveEvaluation() public method

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