Set/Get Cart Product Image.

@param null|float $price
@return $this|float
339655
public function image($image = null)
    {
        if (null === $image) {
            return $this->image;
        }

        $this->image = $image;

        return $this;
    }
1103654
protected function _getPriceObject($blCalculationModeNetto = null)
    {
        /** @var \OxidEsales\Eshop\Core\Price $oPrice */
        $oPrice = oxNew(\OxidEsales\Eshop\Core\Price::class);

        if ($blCalculationModeNetto === null) {
            $blCalculationModeNetto = $this->_isPriceViewModeNetto();
        }

        if ($blCalculationModeNetto) {
            $oPrice->setNettoPriceMode();
        } else {
            $oPrice->setBruttoPriceMode();
        }

        return $oPrice;
    }
629576
public function setSpecialPrice(
        $productId,
        $specialPrice,
        $fromDate,
        $toDate,
        $storeView = null,
        $productIdentifierType = null
    ) {
        return $this->__createAction('catalog_product.setSpecialPrice', func_get_args());
    }
145500
public function setTransparent($color) {
	    $color = call_user_func_array([$this, 'getColorWithRGB'], func_get_args());
	    return imagecolortransparent($this->image, $color);
    }
528401
public function addPrice(PriceInterface $price): ProductInterface
    {
        if (!$this->prices->contains($price)) {
            $this->prices->add($price);
            $price->setProduct($this);
        }

        return $this;
    }
1276549
private function _checkPrice(&$price)
    {
        if (!isset($price)) {
            throw new Klarna_ArgumentNotSetException("Price");
        }
        if (is_numeric($price)) {
            $this->_fixValue($price);
        }
        if (is_numeric($price) && !is_int($price)) {
            $price = intval($price);
        }
        if (!is_numeric($price) || !is_int($price)) {
            throw new Klarna_InvalidTypeException("Price", "integer");
        }
    }
376389
public function calculate($price, $unitTax, $quantity = 0)
    {
        $this->Tax = $unitTax * $quantity;
        $this->Total = $this->Tax + ($quantity * $price);

        return $this;
    }
1115535
public function formatPrice($price)
    {
        $currencies = new ISOCurrencies();

        $numberFormatter = new \NumberFormatter($this->locale, \NumberFormatter::CURRENCY);
        $moneyFormatter = new IntlMoneyFormatter($numberFormatter, $currencies);

        return $moneyFormatter->format($price);
    }
855780
public function setRootImage( $value )
    {
        $content = $this->getDependentContent();

        if ( $content )
        {
            $content->leadImage = $value;
        }

        return $this;
    }
1271150
protected function prepareCartItem(array &$item)
    {
        $this->setItemImages($item['product'], 'product', $this->image);
        $this->setItemThumbCart($item, $this->image);
        $this->setItemPriceFormatted($item, $this->price, $this->current_currency);
        $this->setItemTotalFormatted($item, $this->price);
        $this->setItemProductBundle($item['product'], $this->product, $this->image);
    }
1252978
public function setImageWidth( $width )
    {
        $this->imageWidth = empty( $width ) ? null : (int) $width;
        return $this;
    }
813466
public function setImageFromFile($file)
    {
        if (preg_match('/\.([^\.]+)$/', $file, $match) === 1) {
            $this->setMimeType('image/' . $match[1]);
        }
        return $this->setImageFromBlob(file_get_contents($file));
    }
1370889
public function formatPrice($price, $currency, $locale = null)
    {
        return $this->priceManager->getFormattedPrice($price, $currency, $locale);
    }
1134642
public static function validate($price)
    {
        if (
            (\filter_var($price, FILTER_VALIDATE_FLOAT) || \filter_var($price, FILTER_VALIDATE_INT))
            && $price >= 0
        ) {
            return $price;
        }

        return false;
    }
197914
public function setPrice($product)
    {
        $this->price = (float)number_format($product->getFinalPrice(), 2, '.', '');
        $total = $this->price * $this->qty;

        $this->totalValueOfProduct = (float)number_format($total, 2, '.', '');

        return $this;
    }
59759
public function setImageRatio($v)
    {
        if ($v !== null) {
            $v = (double) $v;
        }

        if ($this->image_ratio !== $v) {
            $this->image_ratio = $v;
            $this->modifiedColumns[FeatureTypeTableMap::IMAGE_RATIO] = true;
        }


        return $this;
    }
295939
public function setSalesDiscount(Money $money = null): OrderInterface
    {
        $this->salesDiscount = $money->getAmount();

        return $this;
    }