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

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

        return $this;
    }
public function setProductID($productID) {
        if (empty($productID))
            throw new Exception('Product ID must be set and cannot be empty.');

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

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

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