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