I have the following method:
def getInvoiceById(self, id):
for invoice in self.invoices:
if invoice.id == id:
return invoice
return False
inside a class called User.
How do I represent the return type (after the Parenthese) in the UML class diagram? since it
can either be a Boolean or another class invoice.