ported library from official source https://old.thepay.cz/ke-stazeni/implementace/ to provide composer support.
This is unsupported legacy API version. Use at your own risk. For modern ThePay support use supported library for API v2 here https://github.com/thepay/api-client