Smalot\Magento\Catalog\Product::setSpecialPrice PHP Method

setSpecialPrice() public method

Allows you to set the product special price.
public setSpecialPrice ( string $productId, string $specialPrice, string $fromDate, string $toDate, string $storeView = null, string $productIdentifierType = null ) : Smalot\Magento\ActionInterface
$productId string
$specialPrice string
$fromDate string
$toDate string
$storeView string
$productIdentifierType string
return Smalot\Magento\ActionInterface
    public function setSpecialPrice($productId, $specialPrice, $fromDate, $toDate, $storeView = null, $productIdentifierType = null)
    {
        return $this->__createAction('catalog_product.setSpecialPrice', func_get_args());
    }