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