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