Unified theoretical treatment of charge transfer in condensed media