Class ProductListItem
| category |
System |
|---|---|
| package |
Product |
| subpackage |
Entities |
__construct(\ProductRepositoryInterface $productRepository, \IdType $productId = null, \BoolType $isActive = null, \StringType $name = null, \StringType $urlKeywords = null, \StringType $image = null, \StringType $imageAltText = null)
| todo |
Remove optional methods from this constructor for v3.5.1.0. Deprecation Notice: The optional parameters of this constructor are deprecated as of v3.3.1.0 and will be removed in v3.5.1.0. Please use the setter methods instead. |
|---|---|
getAddedDateTime() : \DateTime
\DateTimeThe added date time.
getAvailableDateTime() : \DateTime
\DateTimeThe available date time.
getDiscountAllowed() : float
floatThe allowed discount.
getEan() : string
stringThe EAN of the product.
getImage() : string
string
getImageAltText() : string
string
getLastModifiedDateTime() : \DateTime
\DateTimeThe last modified date time.
getManufacturerId() : integer
integerThe manufacturer ID.
getName() : string
string
getOrderedCount() : integer
integerThe ordered count.
getPrice() : float
floatThe price of the product.
getProductId() : integer
integer
getProductModel() : string
stringThe product model.
getProductObject() : \ProductListItem
| Throws |
|
|---|
\ProductListItemReturns same instance for chained calls.
getProductTypeId() : integer
integerThe product type ID.
getQuantity() : float
floatThe quantity of the product.
getQuantityUnitId() : integer
integerThe quantity unit ID.
getShippingCosts() : float
floatThe shipping costs of the product.
getShippingTimeId() : integer
integerThe shipping time ID.
getSortOrder() : integer
integerThe sort order.
getSpecialOfferId() : integer
integerThe special offer id.
getTaxClassId() : integer
integerThe tax class ID.
getUrlKeywords() : string
string
getVpeId() : integer
integerVPE ID.
getVpeValue() : float
floatThe VPE value.
getWeight() : float
floatThe weight of the product.
isActive() : boolean
boolean
isFsk18() : boolean
booleanIs the product FSK18?
isVpeActive() : boolean
booleanIs VPE active on the product?
setActive(\BoolType $status) : \ProductListItem
setAddedDateTime(\DateTime $date) : \ProductListItem
setAvailableDateTime(\DateTime $date) : \ProductListItem
setDiscountAllowed(\DecimalType $discount) : \ProductListItem
setEan(\StringType $ean) : \ProductListItem
setFsk18(\BoolType $status) : \ProductListItem
setImage(\StringType $image) : \ProductListItem
setImageAltText(\StringType $imageAltText) : \ProductListItem
\StringType
\ProductListItemReturns same instance for chained calls.
setLastModifiedDateTime(\DateTime $date) : \ProductListItem
\DateTimeThe last modified date time.
\ProductListItemReturns same instance for chained calls.
setManufacturerId(\IdType $id) : \ProductListItem
setName(\StringType $name) : \ProductListItem
setOrderedCount(\IntType $count) : \ProductListItem
setPrice(\DecimalType $price) : \ProductListItem
setProductId(\IdType $id) : \ProductListItem
setProductModel(\StringType $model) : \ProductListItem
setProductTypeId(\IdType $id) : \ProductListItem
setQuantity(\DecimalType $quantity) : \ProductListItem
setQuantityUnitId(\IdType $id) : \ProductListItem
setShippingCosts(\DecimalType $price) : \ProductListItem
setShippingTimeId(\IdType $id) : \ProductListItem
setSortOrder(\IntType $sortOrder) : \ProductListItem
setSpecialOfferId(\IdType $id) : \ProductListItem
setTaxClassId(\IdType $id) : \ProductListItem
setUrlKeywords(\StringType $urlKeywords) : \ProductListItem
\StringType
\ProductListItemReturns same instance for chained calls.
setVpeActive(\BoolType $status) : \ProductListItem
setVpeId(\IdType $id) : \ProductListItem
setVpeValue(\DecimalType $vpeValue) : \ProductListItem
setWeight(\DecimalType $weight) : \ProductListItem
productRepository : \ProductRepositoryInterface
productId : integer
| var |
|---|
integer
active : boolean
| var |
|---|
boolean
sortOrder : integer
| var |
|---|
integer
addedDateTime : \DateTime
| var |
|---|
\DateTime
availableDateTime : \DateTime
| var |
|---|
\DateTime
lastModifiedDateTime : \DateTime
| var |
|---|
\DateTime
orderedCount : integer
| var |
|---|
integer
productModel : string
| var |
|---|
string
ean : string
| var |
|---|
string
price : float
| var |
|---|
float
discountAllowed : float
| var |
|---|
float
taxClassId : integer
| var |
|---|
integer
quantity : float
| var |
|---|
float
name : string
| var |
|---|
string
image : string
| var |
|---|
string
imageAltText : string
| var |
|---|
string
urlKeywords : string
| var |
|---|
string
weight : float
| var |
|---|
float
shippingCosts : float
| var |
|---|
float
shippingTimeId : integer
| var |
|---|
integer
productTypeId : integer
| var |
|---|
integer
manufacturerId : integer
| var |
|---|
integer
quantityUnitId : integer
| var |
|---|
integer
fsk18 : boolean
| var |
|---|
boolean
vpeActive : boolean
| var |
|---|
boolean
vpeId : integer
| var |
|---|
integer
vpeValue : float
| var |
|---|
float
specialOfferId : integer
| var |
|---|
integer