def to_product(product_tuple):
    """Parse a tuple into valid 'Product' object.

    Args:
        product_tuple: Tuple containing StockCode, Description, Quantity and UnitPrice.

    Returns:
        Product (dictionary).
    """
    return {
        'id': str(product_tuple[0]),
        'description': str(product_tuple[1]),
        'quantity': int(product_tuple[2]),
        'unitPrice': float(product_tuple[3])
    }