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
\DateTime
The added date time.
getAvailableDateTime() : \DateTime
\DateTime
The available date time.
getDiscountAllowed() : float
float
The allowed discount.
getEan() : string
string
The EAN of the product.
getImage() : string
string
getImageAltText() : string
string
getLastModifiedDateTime() : \DateTime
\DateTime
The last modified date time.
getManufacturerId() : integer
integer
The manufacturer ID.
getName() : string
string
getOrderedCount() : integer
integer
The ordered count.
getPrice() : float
float
The price of the product.
getProductId() : integer
integer
getProductModel() : string
string
The product model.
getProductObject() : \StoredProductInterface
getProductTypeId() : integer
integer
The product type ID.
getQuantity() : float
float
The quantity of the product.
getQuantityUnitId() : integer
integer
The quantity unit ID.
getShippingCosts() : float
float
The shipping costs of the product.
getShippingTimeId() : integer
integer
The shipping time ID.
getSortOrder() : integer
integer
The sort order.
getSpecialOfferId() : integer
integer
The special offer id.
getTaxClassId() : integer
integer
The tax class ID.
getUrlKeywords() : string
string
getVpeId() : integer
integer
VPE ID.
getVpeValue() : float
float
The VPE value.
getWeight() : float
float
The weight of the product.
isActive() : boolean
boolean
isFsk18() : boolean
boolean
Is the product FSK18?
isVpeActive() : boolean
boolean
Is 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
\ProductListItem
Returns same instance for chained calls.
setLastModifiedDateTime(\DateTime $date) : \ProductListItem
\DateTime
The last modified date time.
\ProductListItem
Returns 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
\ProductListItem
Returns 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