"Art. 39. É vedado ao fornecedor de produtos ou serviços, dentre outras práticas abusivas:
[...]
IX - recusar a venda de bens ou a prestação de serviços, diretamente a quem se disponha a adquiri-los mediante pronto pagamento, ressalvados os casos de intermediação regulados em leis especiais"
In a free translation:
"Art. 39. The supplier of products or services is prohibited, among other abusive practices:
[...]
IX - to refuse the sale of goods or the provision of services, directly to anyone who is willing to acquire them upon prompt payment, except in cases of intermediation regulated in special laws"
This is just an example of how the law structure can be so different between countries. Brazil as France are based on the civil law, instead of common law as in the United States.
I really don't know how is in France and I am not saying it is like Brazil. I'm just saying that with so many countries in the world doesn't make sense to expect the rest of the world to be like your home.
[1] http://www.planalto.gov.br/ccivil_03/_Ato2011-2014/2011/Lei/...
I'm a taxi driver speaking generally about the differences in our job vs. Uber drivers. I will now step back and let the software developers argue about things they know nothing about.
I doubt federal law covers taxi regulations in any country, it's generally local by-law or equivalent. The regulations are going to be different in Paris than they are in Lyon.