Identify the figure of speech in the sentence given in the question. Telling a rude customer to “have a nice day”.
'Telling a rude customer' means 'IRONY' in context; usage confirms synonymy.
Ref: Cambridge Dictionary vocabulary context confirms word meaning compiled gathered collected from authentic manuscript sources accurately verified standard reference.