Type-hinting setCurrency object