'Returns the order data'

def _get_order_data(self, registration_code_redemption, course_id):

    order_item = OrderItem.objects.get(order=registration_code_redemption.registration_code.order, courseregcodeitem__course_id=course_id)
    coupon_redemption = CouponRedemption.objects.select_related('coupon').filter(order_id=registration_code_redemption.registration_code.order)
    coupon_codes = [redemption.coupon.code for redemption in coupon_redemption]
    coupon_codes = ',    '.join(coupon_codes)
    list_price = order_item.get_list_price()
    payment_amount = order_item.unit_cost
    coupon_codes_used = coupon_codes
    payment_status = order_item.status
    transaction_reference_number = order_item.order_id
    return (list_price, payment_amount, coupon_codes_used, payment_status, transaction_reference_number)
