@staticmethod<EOL><INDENT>def receipt_card(card: ReceiptCard) -> Attachment:<DEDENT>
if not isinstance(card, ReceiptCard):<EOL><INDENT>raise TypeError('<STR_LIT>'<EOL>'<STR_LIT>')<EOL><DEDENT>return Attachment(content_type=CardFactory.content_types.receipt_card,<EOL>content=card)<EOL>
Returns an attachment for a receipt card. Will raise a TypeError if 'card' argument is not a ReceiptCard.
:param card:
:return: