#HalachaYomi OC 244:1 Non-Jew can work in private on Shabat as contractor (set price) for Jew, ‘cuz for self, but not if working in public.