/**
  * Service Call: GetShippingAddresses
  * @param GetShippingAddressesRequest $getShippingAddressesRequest
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return GetShippingAddressesResponse
  * @throws APIException
  */
 public function GetShippingAddresses($getShippingAddressesRequest, $apiCredential = NULL)
 {
     $ret = new GetShippingAddressesResponse();
     $resp = $this->call('AdaptivePayments', 'GetShippingAddresses', $getShippingAddressesRequest, $apiCredential);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }
 /**
  * Service Call: GetShippingAddresses
  * @param GetShippingAddressesRequest $getShippingAddressesRequest
  * @return GetShippingAddressesResponse
  * @throws APIException
  */
 public function GetShippingAddresses($getShippingAddressesRequest, $apiUsername = null)
 {
     $ret = new GetShippingAddressesResponse();
     $resp = $this->call("GetShippingAddresses", $getShippingAddressesRequest, $apiUsername);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }
 /**
  * Service Call: GetShippingAddresses
  * @param GetShippingAddressesRequest $getShippingAddressesRequest
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return GetShippingAddressesResponse
  * @throws APIException
  */
 public function GetShippingAddresses($getShippingAddressesRequest, $apiCredential = NULL)
 {
     $apiContext = new PPApiContext($this->config);
     $handlers = array(new PPPlatformServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION));
     $ret = new GetShippingAddressesResponse();
     $resp = $this->call('AdaptivePayments', 'GetShippingAddresses', $getShippingAddressesRequest, $apiContext, $handlers);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }