src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/RegionSpecificProperties.php
private function _getServiceHostFor($region, $overrideUrl)
	{
		if (empty($overrideUrl)) {
			return $this->_getRegionPropertyFor($region, $this->_serviceUrls);
		}
		
		return $overrideUrl;
	}
private function _getServiceHostFor($region, $overrideUrl)
	{
		if (empty($overrideUrl)) {
			return $this->_getRegionPropertyFor($region, $this->_serviceUrls);
		}
		
		return $overrideUrl;
	}
private function _getServiceHostFor ( $ region , $ overrideUrl ) { if ( empty ( $ overrideUrl ) ) { return $ this -> _getRegionPropertyFor ( $ region , $ this -> _serviceUrls ) ; } return $ overrideUrl ; }
Return the correct host for the service url based on the region

@param string $region 		us,uk,de,na
@param string $overrideUrl   override string for service host

@return string mws host
Return the correct host for the service url based on the region