Interface ProductInterface
category |
System |
---|---|
package |
Product |
subpackage |
Interfaces |
addAddonValues(\KeyValueCollection $keyValueCollection) : \ProductInterface
Adds a key value collection to a product.
\ProductInterface
Same instance for chained method calls.
deleteAddonValue(\StringType $key) : \ProductInterface
Deletes a addon value of a product.
\ProductInterface
Same instance for chained method calls.
getAddedDateTime() : \DateTime
Returns the added date time of the product.
\DateTime
The added date time.
getAdditionalImages() : \ProductImageCollection
getAddonValue(\StringType $key) : string
Returns the addon value of a product, depending on the provided key.
string
The addon value.
getAddonValues() : \KeyValueCollection
Returns a key value collection of the product.
\KeyValueCollection
The key value collection.
getAvailableDateTime() : \DateTime
Returns the available date time of the product.
\DateTime
The available date time.
getCheckoutInformation(\LanguageCode $language) : string
Returns the checkout information of the product, depending on the provided language code.
string
The checkout information of the product.
getDescription(\LanguageCode $language) : string
Returns the description of the product, depending on the provided language code.
string
The description of the product.
getDiscountAllowed() : float
Returns the allowed discount.
float
The allowed discount.
getEan() : string
Returns the EAN of the product.
string
The EAN of the product.
getImageContainer() : \ProductImageContainer
getInfoUrl(\LanguageCode $language) : string
Returns the URL for further information of the product (e.g. manufacturer homepage), depending on the provided language code.
string
Product's Manufacturer URL
getKeywords(\LanguageCode $language) : string
Returns the keywords of the product, depending on the provided language code.
string
The keywords of the product.
getLastModifiedDateTime() : \DateTime
Returns the last modified date time.
\DateTime
The last modified date time.
getManufacturerId() : integer
Returns the manufacturer ID.
integer
The manufacturer ID.
getMetaDescription(\LanguageCode $language) : string
Returns the meta description of the product, depending on the provided language code.
string
The meta description of the product.
getMetaKeywords(\LanguageCode $language) : string
Returns the meta keywords of the product, depending on the provided language code.
string
The meta keywords of the product.
getMetaTitle(\LanguageCode $language) : string
Returns the meta title of the product, depending on the provided language code.
string
The meta title of the product.
getName(\LanguageCode $language) : string
Returns the name of the product, depending on the provided language code.
string
The name of the product.
getOrderedCount() : integer
Returns the ordered count of the product.
integer
The ordered count.
getPrice() : float
Returns the price of a product.
float
The price of the product.
getProductModel() : string
Returns the product model.
string
The product model.
getProductTypeId() : integer
Returns the product type ID.
integer
The product type ID.
getQuantity() : float
Returns the quantity of the product.
float
The quantity of the product.
getQuantityUnitId() : integer
Returns the quantity unit ID.
integer
The quantity unit ID.
getSettings() : \ProductSettingsInterface
getShippingCosts() : float
Returns the shipping cost of the product.
float
The shipping costs of the product.
getShippingTimeId() : integer
Returns the shipping time ID of the product.
integer
The shipping time ID.
getShortDescription(\LanguageCode $language) : string
Returns the short description of the product, depending on the provided language code.
string
The short description of the product.
getSortOrder() : integer
Returns an integer which represents a specific sort order.
integer
The sort order.
getSpecialOfferId() : integer
integer
The special offer id.
getTaxClassId() : integer
Returns the tax class ID of the product.
integer
The tax class ID.
getUrl(\LanguageCode $language) : string
Returns the URL for further information of the product (e.g. manufacturer homepage), depending on the provided language code.
deprecated |
Use ::getInfoUrl() instead. Will be removed in GX3.11. |
---|
string
Product's Manufacturer URL
getUrlKeywords(\LanguageCode $language) : string
Returns the URL keywords of the product, depending on the provided language code.
string
The URL keywords of the product.
getUrlRewrite(\LanguageCode $language) : \UrlRewrite
Returns the URL rewrite of the product, depending on the provided language code.
\UrlRewrite
The URL rewrite of the product.
getUrlRewrites() : \UrlRewriteCollection
Returns the URL rewrites of the product.
\UrlRewriteCollection
The URL rewrites of the product.
getViewedCount(\LanguageCode $language) : integer
Returns the current view count of the product, depending on the provided language code.
integer
The current view count.
getVpeId() : integer
Returns the VPE ID.
integer
VPE ID.
getVpeValue() : float
Returns the VPE value.
float
The VPE value.
getWeight() : float
Returns the weight of the product.
float
The weight of the product.
isActive() : boolean
Checks if a product is active.
boolean
isFsk18() : boolean
Checks if the product is only available for FSK 18.
boolean
Is the product FSK18?
isVpeActive() : boolean
Checks if VPE is active on the product.
boolean
Is VPE active on the product?
setActive(\BoolType $status) : \ProductInterface
Activates or deactivates a product status.
\ProductInterface
Same instance for chained method calls.
setAddedDateTime(\DateTime $date) : \ProductInterface
\DateTime
Added date time to set.
\ProductInterface
Same instance for chained method calls.
setAddonValue(\StringType $key, \StringType $value) : \ProductInterface
Sets the addon value of a product.
\ProductInterface
Same instance for chained method calls.
setAvailableDateTime(\DateTime $date) : \ProductInterface
Sets an available date time.
\DateTime
The date time to add.
\ProductInterface
Same instance for chained method calls.
setCheckoutInformation(\StringType $text, \LanguageCode $language) : \ProductInterface
Sets the checkout information.
\ProductInterface
Same instance for chained method calls.
setDescription(\StringType $text, \LanguageCode $language) : \ProductInterface
Sets the products description.
\ProductInterface
Same instance for chained method calls.
setDiscountAllowed(\DecimalType $discount) : \ProductInterface
Sets the allowed discount of a product.
\ProductInterface
Same instance for chained method calls.
setEan(\StringType $ean) : \ProductInterface
Sets a EAN for the product.
\ProductInterface
Same instance for chained method calls.
setFsk18(\BoolType $status) : \ProductInterface
Activates or deactivates FSK18 for a product.
\ProductInterface
Same instance for chained method calls.
setImageContainer(\ProductImageContainerInterface $images) : \ProductInterface
Sets the image container of a product.
\ProductInterface
Same instance for chained method calls.
setInfoUrl(\StringType $url, \LanguageCode $language) : \GXEngineProduct
Sets the product's info URL (e.g. homepage of the manufacturer).
\GXEngineProduct
Same instance for chained method calls.
setKeywords(\StringType $text, \LanguageCode $language) : \ProductInterface
Sets the products keywords.
\ProductInterface
Same instance for chained method calls.
setLastModifiedDateTime(\DateTime $date) : \ProductInterface
Sets the last modified date time.
\DateTime
The last modified date time.
\ProductInterface
Same instance for chained method calls.
setManufacturerId(\IdType $id) : \ProductInterface
Sets the manufacturer ID of a product.
\ProductInterface
Same instance for chained method calls.
setMetaDescription(\StringType $text, \LanguageCode $language) : \ProductInterface
Sets the products meta description.
\ProductInterface
Same instance for chained method calls.
setMetaKeywords(\StringType $text, \LanguageCode $language) : \ProductInterface
Sets the products meta keywords.
\ProductInterface
Same instance for chained method calls.
setMetaTitle(\StringType $text, \LanguageCode $language) : \ProductInterface
setName(\StringType $text, \LanguageCode $language) : \ProductInterface
setOrderedCount(\IntType $count) : \ProductInterface
setPrice(\DecimalType $price) : \ProductInterface
Sets a price of the product.
\ProductInterface
Same instance for chained method calls.
setProductModel(\StringType $model) : \ProductInterface
setProductTypeId(\IdType $id) : \ProductInterface
Sets the product type ID of the product.
\ProductInterface
Same instance for chained method calls.
setQuantity(\DecimalType $quantity) : \ProductInterface
Sets a quantity for the product.
\ProductInterface
Same instance for chained method calls.
setQuantityUnitId(\IdType $id) : \ProductInterface
Sets the quantity unit ID of a product.
\ProductInterface
Same instance for chained method calls.
setSettings(\ProductSettingsInterface $productSettings) : \ProductInterface
setShippingCosts(\DecimalType $price) : \ProductInterface
Sets the shipping costs of a product.
\ProductInterface
Same instance for chained method calls.
setShippingTimeId(\IdType $id) : \ProductInterface
Sets the shipping time ID of a product.
\ProductInterface
Same instance for chained method calls.
setShortDescription(\StringType $text, \LanguageCode $language) : \ProductInterface
Sets the products short description.
\ProductInterface
Same instance for chained method calls.
setSortOrder(\IntType $sortOrder) : \ProductInterface
Sets the sort order of the product.
\ProductInterface
Same instance for chained method calls.
setSpecialOfferId(\IdType $id) : \ProductInterface
setTaxClassId(\IdType $id) : \ProductInterface
Sets a tax class ID for the product.
\ProductInterface
Same instance for chained method calls.
setUrl(\StringType $url, \LanguageCode $language) : \GXEngineProduct
Sets the product's info URL (e.g. homepage of the manufacturer).
deprecated |
Use ::setInfoUrl() instead. Will be removed in GX3.11. |
---|
\GXEngineProduct
Same instance for chained method calls.
setUrlKeywords(\StringType $text, \LanguageCode $language) : \ProductInterface
Sets the products URL Keywords.
\ProductInterface
Same instance for chained method calls.
setUrlRewrite(\UrlRewrite $urlRewrite, \LanguageCode $language) : \GXEngineProduct
Sets the products URL rewrite for the provided language code.
\GXEngineProduct
Same instance for chained method calls.
setUrlRewrites(\UrlRewriteCollection $urlRewrites) : \GXEngineProduct
Sets the products URL rewrites.
\GXEngineProduct
Same instance for chained method calls.
setViewedCount(\IntType $count, \LanguageCode $language) : \ProductInterface
Sets the viewed count of a product.
\ProductInterface
Same instance for chained method calls.
setVpeActive(\BoolType $status) : \ProductInterface
Activates or deactivates VPE for a product.
\ProductInterface
Same instance for chained method calls.
setVpeId(\IdType $id) : \ProductInterface
Sets the VPE ID of a product.
\ProductInterface
Same instance for chained method calls.
setVpeValue(\DecimalType $vpeValue) : \ProductInterface
Sets the VPE value of a product.
\ProductInterface
Same instance for chained method calls.
setWeight(\DecimalType $weight) : \ProductInterface
Sets the weight of a product.
\ProductInterface
Same instance for chained method calls.