'Simple function used to construct analytics data for the OrderItem.
The default implementation returns defaults for most attributes. When no name or
category is specified by the implementation, the string \'N/A\' is placed for the
name and category.  This should be handled appropriately by all implementations.
Returns
A dictionary containing analytics data for this OrderItem.'

def analytics_data(self):

    return {'id': self.id, 'sku': type(self).__name__, 'name': 'N/A', 'price': str(self.unit_cost), 'quantity': self.qty, 'category': 'N/A'}
