Model/Customer/Wishlist.php
public function setItem($item)
    {
        $this->items[] = $item->expose();

        $this->totalWishlistValue += $item->getTotalValueOfProduct();
    }
public function setItem($item)
    {
        $this->items[] = $item->expose();

        $this->totalWishlistValue += $item->getTotalValueOfProduct();
    }
public function setItem ( $ item ) { $ this -> items [ ] = $ item -> expose ( ) ; $ this -> totalWishlistValue += $ item -> getTotalValueOfProduct ( ) ; }
Set wishlist item.

@param \Dotdigitalgroup\Email\Model\Customer\Wishlist\Item $item

@return null
Set wishlist item .