public function getAddress( $domain = MShop_Order_Item_Base_Address_Abstract::TYPE_PAYMENT )
	{
		if(!isset($this->_addresses[$domain])) {
			throw new MShop_Order_Exception( sprintf( 'Address for domain "%1$s" not available', $domain ) );
		}

		return $this->_addresses[$domain];
	}
public function getAddress( $domain = MShop_Order_Item_Base_Address_Abstract::TYPE_PAYMENT )
	{
		if(!isset($this->_addresses[$domain])) {
			throw new MShop_Order_Exception( sprintf( 'Address for domain "%1$s" not available', $domain ) );
		}

		return $this->_addresses[$domain];
	}
public function getAddress ( $ domain = MShop_Order_Item_Base_Address_Abstract :: TYPE_PAYMENT ) { if ( ! isset ( $ this -> _addresses [ $ domain ] ) ) { throw new MShop_Order_Exception ( sprintf ( 'Address for domain "%1$s" not available' , $ domain ) ) ; } return $ this -> _addresses [ $ domain ] ; }
Returns the billing or delivery address depending on the given domain.

@param string $domain Address domain, usually "billing" or "delivery"
@return MShop_Order_Item_Base_Address_Interface Order address item for the requested domain
Returns the billing or delivery address depending on the given domain .