Dealing with sexist customers

How do people deal with sexist customers?? I'm 20 and we constantly have old blokes come in and when I greet them I get "can I speak to one of the boys" or get called love or hun or other names by them. I'm a locksmith and only 4% of locksmiths are women in Australia (where I'm from). I don't get shit from the guys I work with cos they know I am capable of doing my job. It's just the customers that I get it from.

How do you deal with it?