Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Sonata
Component
Basket
BasketElementInterface
setProductId
Sonata\Component\Basket\BasketElementInterface::setProductId PHP Method
BasketElementInterface Interface Documentation
显示文件
Open project: sonata-project/ecommerce
setProductId()
public
method
Never call this method, use the setProduct instead. This method is only used by the form framework.
public
setProductId
(
integer
$productId
)
$productId
integer
public function setProductId($productId);
BasketElementInterface
getDelete
getName
getOption
getOptions
getPosition
getProduct
getProductCode
getProductId
getProductManager
getProductProvider
getTotal
getVatAmount
isPriceIncludingVat
isValid
setDelete
setOption
setPosition
setPriceIncludingVat
setProduct
setProductDefinition
setProductId
setUnitPrice