Shops and service firms will not be compelled to accept cash, a Labour Party government minister has said.