src/icepay_api_order.php
public function setProductName($productName) {
        if (empty($productName))
            throw new Exception('Product name must be set and cannot be empty.');

        $this->productName = trim($productName);

        return $this;
    }
public function setProductName($productName) {
        if (empty($productName))
            throw new Exception('Product name must be set and cannot be empty.');

        $this->productName = trim($productName);

        return $this;
    }
public function setProductName ( $ productName ) { if ( empty ( $ productName ) ) throw new Exception ( 'Product name must be set and cannot be empty.' ) ; $ this -> productName = trim ( $ productName ) ; return $ this ; }
Sets the product name

@since 1.0.0
@param string Contains the product name
@return \Icepay_Order_Product
@throws Exception when empty
Sets the product name