Cash is not accepted, is this legal?

I visited Calvory mount eco tourism and they only accept online transactions. Is this legal, not to accept the currency printed by the reserve Bank of India?