'How to display this item on a PDF printed receipt file.
This can be overridden by the subclasses of OrderItem'

@property
def pdf_receipt_display_name(self):

    course_key = getattr(self, 'course_id', None)
    if course_key:
        course = get_course_by_id(course_key, depth=0)
        return course.display_name
    else:
        raise Exception('Not    Implemented.    OrderItems    that    are    not    Course    specific    should    have    a    overridden    pdf_receipt_display_name    property')
