'Returns the registration codes that were generated
via bulk purchase scenario.'

@classmethod
def order_generated_registration_codes(cls, course_id):

    return cls.objects.filter(order__isnull=False, course_id=course_id)
