protected function _setValue( array &$attributes, $code, $value, $serviceId, $type = '' )
	{
		if( isset( $attributes[ $code ] ) )
		{
			$attributes[ $code ]->setValue( utf8_encode( $value ) );
			return;
		}

		$attributeManager = MShop_Factory::createManager( $this->_getContext(), 'order/base/service/attribute' );

		$item = $attributeManager->createItem();
		$item->setType( $type );
		$item->setCode( $code );
		$item->setValue( utf8_encode( $value ) );
		$item->setServiceId( $serviceId );

		$attributes[ $code ] = $item;
	}