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