Class ProductPrice
| category |
System |
|---|---|
| package |
ProductPrice |
| subpackage |
ValueObjects |
__construct(\IdType $productId, \DecimalType $price, \IdType $taxClassId = null, \ProductGroupPriceCollection|null $groupPrices = null)
create(integer $productId, double $price, integer $taxClassId, \ProductGroupPriceCollection|null $groupPrices = null) : \ProductPrice
integerProduct id.
doubleProduct default price.
integer
\ProductPriceNew instance
createWithoutTaxClassId( $productId, $price, \ProductGroupPriceCollection $groupPrices = null)
groupPrices() : \ProductGroupPriceCollection|null
price() : double
doubleProduct price.
productId() : integer
integerProduct id.
taxClassId() : integer
integerTax class id.
productId : integer
| var |
|---|
integer
price : double
| var |
|---|
double
taxClassId :
groupPrices : \ProductGroupPriceCollection|null