Change-Id: I93b86c9fb3398c5d3c9121b8859dad1c615fa23a
* set up creditUsage query * rename function name to follow convention * remove unused code * add coipyright * fix linting