class Product extends Product implements PrimaryKeyInterface, Serializable, CSVEntityInterface, BlockEntity, RelationshipEntityInterface

Product

Traits

Trait UpdatedByTrait - contains properties to trace update history

Properties

protected string $productName Name of product from Product
protected DateTime|null $createdAt Date when product created from Product
protected DateTime|null $updatedAt Date when product last updated from Product
protected DateTime|null $arrivalDate Date when product will be available from Product
protected string|null $description Description of product from Product
protected bool|null $onAction Product is on action from Product
protected float|null $priceOnAction Product action price from Product
protected string|null $sku Sku of product from Product
protected string|null $youtubeUrl Link to youtube video from Product
protected string|null $vimeoUrl Link to viemo video from Product
protected string|null $status Product availability (AVAILABLE, UNAVAILABLE) from Product
protected array|null $tags Product tags, specific keywords from Product
protected string $descriptionHtml Description of product as HTML from Product
protected string $type Type of product from Product
protected float|null $currentPrice Product price from Product
protected string|null $slug Product slug from Product
protected string|null $updatedBy User which triggered update from UpdatedByTrait
protected string|null $hash Filed for update validation from UpdatedByTrait
protected int $id
protected bool|null $usedAsPavProduct Product used as product attribute values
protected array|null $pricelistItemsArray List of associated price list items represented in one field for easier manipulation
protected int|null $defaultPricelistDiscount Default percentage price list discount
protected int $viewCount Number of times the product is viewed
protected int $sales Number of times the product is sold
protected string|null $companyName
protected string|null $baseImageUrl Path to product base image
protected DateTime|null $deletedAt Date when product set to UNAVAILABLE
protected bool $hasNullCategory Product assigned to any category
protected string|null $erpCode Code to connect product with ERP representation of entity
protected float|null $taxValue Tax value for product
protected float|null $vatValue Vat value for product
protected bool $isNew Product is new
protected bool $onSale Product is on sale
protected bool $onTotalSale Product is on total sale
protected bool $damagedGood Product is damaged
protected array|null $permissions Product permissions
protected array|null $keywords Product keywords
protected array|null $additionalKeywords Product additional keywords for search
protected array|null $productSearchOptions Contains all product specific search terms
protected float|null $priceFrom If product contains product attribute values, represents minimal price
protected float|null $priceTo If product contains product attribute values, represents maximal price
protected float|null $reviewRating Product rating
protected bool|null $adminReview Fixed rating set by admin
protected string|null $productSearchString Contains product specific search terms
protected bool|null $outlet Product is on outlet
protected array|null $quantityRebate Product quantity rebate
protected int|null $quantityStep Product quantity to add to cart
protected float|null $width Product width
protected float|null $height Product height
protected float|null $depth Product depth
protected float|null $weight Product weight with weight of its packaging
protected float|null $netWeight Product weight without weight of its packaging
protected float|null $qtyPerPackage Number of products per package
$permalink Product permalink, needs to be unique on database level
protected string|null $seoTitle SEO title for product
protected string|null $seoDescription SEO description for product
protected string|null $seoKeywords SEO keywords for product
protected array|null $customLabels Array of labels for product
$customProductLinks Array of associated links
protected bool|null $preventDirectAddToCart Can you add product to cart directly from product component. If product has multiple product attribute values you can't add it from component
protected SimpleProduct $simpleProduct Simple product
protected GroupProduct $groupProduct Group product
protected ConfigurableProduct $configurableProduct Configurable product
protected ArrayCollection $categories List of associated categories
protected ArrayCollection $images List of associated images
protected ArrayCollection $prices Price history
protected Brand $brand Product brand
protected ArrayCollection $productAttributesValues List of associated product attribute values
protected ArrayCollection $orderItems List of associated order items
protected ArrayCollection $productFeatures List of associated features
protected ArrayCollection $pricelistItems List of associated price list items
protected ArrayCollection $statistics List of associated statistics
protected ArrayCollection $files All product specific files
protected UnitOfMeasure $unitOfMeasure Unit of measure
protected Package $package Type of packing
protected UnitOfMeasure $unitOfMeasureWeight Unit of measure for weight
protected UnitOfMeasure $unitOfMeasureQtyPerPackage Unit of measure for quantity per package
protected ArrayCollection $productTranslations Product translations containing only not default languages
protected $removedImages

Methods

setProductName(string $productName)

Set productName

from Product
string
getProductName()

Get productName

from Product
setDescription(string|null $description)

Set description

from Product
string|null
getDescription()

Get description

from Product
setSku(string|null $sku)

Set sku

from Product
string|null
getSku()

Get sku

from Product
mixed
setYoutubeUrl(string $youtubeUrl)

Set youtubeUrl

from Product
mixed
getYoutubeUrl()

Get youtubeUrl

from Product
mixed
setVimeoUrl(string $vimeoUrl)

Set vimeoUrl

from Product
mixed
getVimeoUrl()

Get vimeoUrl

from Product
mixed
setStatus(string $status)

Set status

from Product
mixed
getStatus()

Get status

from Product
setTags(array|null $tags)

Set tags

from Product
array|null
getTags()

Get tags

from Product
setDescriptionHtml(string|null $descriptionHtml)

Set descriptionHtml

from Product
string|null
getDescriptionHtml()

Get descriptionHtml

from Product
mixed
getCreatedAt()

No description

from Product
mixed
setCreatedAt(DateTime $createdAt)

No description

from Product
mixed
getUpdatedAt()

No description

from Product
mixed
setUpdatedAt(DateTime $updatedAt)

No description

from Product
DateTime|null
getArrivalDate()

No description

from Product
setArrivalDate(DateTime|null $arrivalDate)

No description

from Product
mixed
setType(string $type)

No description

from Product
string
getType()

No description

from Product
float|null
getCurrentPrice()

No description

from Product
setCurrentPrice(float|null $currentPrice)

No description

from Product
boolean
isOnAction()

No description

from Product
setOnAction(boolean $onAction)

No description

from Product
null|string
getSlug()

No description

from Product
setSlug(null|string $slug)

No description

from Product
float|null
getPriceOnAction()

No description

from Product
setPriceOnAction(float|null $priceOnAction)

No description

from Product
null|string
getUpdatedBy()

No description

$this
setUpdatedBy(null|string $updatedBy)

No description

null|string
getHash()

No description

$this
setHash(null|string $hash)

No description

__construct()

Constructor

bool
getHasNullCategory()

No description

setHasNullCategory(bool $hasNullCategory)

No description

bool
isIsNew()

No description

setIsNew(bool $isNew)

No description

bool
isDamagedGood()

No description

setDamagedGood(bool $damagedGood)

No description

bool
isOnSale()

No description

setOnSale(bool $onSale)

No description

bool
isOnTotalSale()

No description

setOnTotalSale(bool $onTotalSale)

No description

DateTime|null
getDeletedAt()

No description

setDeletedAt(DateTime|null $deletedAt)

No description

setBaseImage()

No description

setBaseImageUrl(null|string $baseImageUrl)

No description

null|string
getBaseImageUrl()

No description

ArrayCollection
getRemovedImages()

No description

setRemovedImages(ArrayCollection $removedImages)

No description

getBrand()

No description

setBrand(Brand|null $brand)

No description

setId(int $id)

No description

integer
getId()

Get id

setConfigurableProduct(ConfigurableProduct $configurableProduct)

No description

getGroupProduct()

No description

setGroupProduct(GroupProduct $groupProduct)

No description

getSimpleProduct()

No description

setSimpleProduct(SimpleProduct $simpleProduct)

No description

addCategory(Category $category)

Add categories

removeCategory(Category $category)

Remove categories

ArrayCollection
getCategories()

Get categories

addImage(Image $image)

Add image

removeImage(Image $image)

Remove image

ArrayCollection
getImages()

Get images

addPrice(Price $price)

Add price

removePrice(Price $price)

Remove price

ArrayCollection
getPrices()

Get prices

setPrices(ArrayCollection $prices)

No description

ArrayCollection
getProductAttributesValues()

No description

setProductAttributesValues(ArrayCollection $productAttributesValues)

No description

addProductAttributeValue(ProductAttributeValues $productAttributesValue)

Add productAttributesValue

removeProductAttributeValue(ProductAttributeValues $productAttributesValue)

Remove productAttributesValue

setImages(ArrayCollection $images)

No description

setCategories(ArrayCollection $categories)

No description

float
getLastPrice()

No description

addOrderItem(OrderItem $item)

Add order item

removeOrderItem(OrderItem $item)

Remove order item

ArrayCollection
getOrderItems()

Get all order items for this product

addStatistic(Statistics $statistic)

Add statistic

removeStatistic(Statistics $statistic)

Remove statistic

ArrayCollection
getStatistics()

Get statistics

ArrayCollection
getProductFeatures()

No description

setProductFeatures(ArrayCollection $productFeatures)

No description

addProductFeature(ProductFeature $productFeature)

No description

removeProductFeature(ProductFeature $productFeature)

No description

ArrayCollection
getPricelistItems()

No description

addPricelistItem(PricelistItem $pricelistItem)

No description

removePricelistItem(PricelistItem $pricelistItem)

No description

null|string
getErpCode()

No description

setErpCode(null|string $erpCode)

No description

float|null
getTaxValue()

No description

setTaxValue(float|null $taxValue)

No description

array|null
getPermissions()

No description

setPermissions(array|null $permissions)

No description

ArrayCollection
getProductTranslations()

No description

setProductTranslations(ArrayCollection $productTranslations)

No description

string
serialize()

(PHP 5 >= 5.1.0)
String representation of object

void
unserialize(string $serialized)

(PHP 5 >= 5.1.0)
Constructs the object

array
toCSVArray()

No description

int
getViewCount()

No description

setViewCount(int $viewCount)

No description

int
getSaleCount()

No description

setSaleCount(int $saleCount)

No description

null|string
getCompanyName()

No description

setCompanyName(null|string $companyName)

No description

array|null
getKeywords()

No description

setKeywords(array $keywords)

No description

array|null
getAdditionalKeywords()

No description

setAdditionalKeywords(array $additionalKeywords)

No description

float|null
getReviewRating()

No description

setReviewRating(float|null $reviewRating)

No description

bool|null
isAdminReview()

No description

setAdminReview(bool|null $adminReview)

No description

setProductSearchOptions(array $data = [])

No description

array|null
getProductSearchOptions()

No description

float|null
getPriceFrom()

No description

setPriceFrom()

No description

float|null
getPriceTo()

No description

setPriceTo()

No description

null|string
getProductSearchString()

No description

setProductSearchString(null|string $productSearchString)

No description

bool|null
isOutlet()

No description

setOutlet(bool|null $outlet)

No description

array
getCSVHeader()

No description

array
getCSVValues()

No description

setCSVValues($csvRow, mixed $locale, array $csvHeaders, array $propertyMappings = array())

No description

getSelf()

No description

int|null
getQuantityStep()

No description

setQuantityStep(int|null $quantityStep)

No description

array|null
getQuantityRebate()

No description

setQuantityRebate(array|null $quantityRebate)

No description

ArrayCollection
getFiles()

No description

setFiles(ArrayCollection $files)

No description

addFile(File $file)

No description

removeFile(File $file)

No description

float|null
getVatValue()

No description

setVatValue(float|null $vatValue)

No description

getUnitOfMeasure()

No description

setUnitOfMeasure(UnitOfMeasure $unitOfMeasure)

No description

array|null
getPricelistItemsArray()

No description

bool
updatePricelistItemsArray(int $id, float $price)

No description

setPricelistItemsArray(array|null $pricelistItemsArray)

No description

setUnitOfMeasureQtyPerPackage(UnitOfMeasure $unitOfMeasureQtyPerPackage)

No description

float|null
getWeight()

No description

setWeight(float|null $weight)

No description

float|null
getNetWeight()

No description

setNetWeight(float|null $netWeight)

No description

float|null
getQtyPerPackage()

No description

setQtyPerPackage(float|null $qtyPerPackage)

No description

setUnitOfMeasureWeight(UnitOfMeasure $unitOfMeasureWeight)

No description

getPackage()

No description

setPackage(Package $package)

No description

float|null
getHeight()

No description

setHeight(float|null $height)

No description

float|null
getDepth()

No description

setDepth(float|null $depth)

No description

float|null
getWidth()

No description

setWidth(float|null $width)

No description

int|null
isDefaultPricelistDiscount()

No description

setDefaultPricelistDiscount(int|null $defaultPricelistDiscount)

No description

bool|null
isUsedAsPavProduct()

No description

setUsedAsPavProduct(bool|null $usedAsPavProduct)

No description

null|string
getPermalink()

No description

setPermalink(null|string $permalink)

No description

null|string
getSeoTitle()

No description

setSeoTitle(null|string $seoTitle)

No description

null|string
getSeoDescription()

No description

setSeoDescription(null|string $seoDescription)

No description

null|string
getSeoKeywords()

No description

setSeoKeywords(null|string $seoKeywords)

No description

array|null
getCustomLabels()

No description

setCustomLabels(array|null $customLabels)

No description

addCustomLabel(string $customLabel)

No description

removeCustomLabel(string $customLabel)

No description

array|null
getCustomProductLinks()

No description

setCustomProductLinks(array|null $customProductLinks)

No description

bool|null
isPreventDirectAddToCart()

No description

setPreventDirectAddToCart(bool|null $preventDirectAddToCart)

No description

Details

in Product at line 220
BaseProductInterface setProductName(string $productName)

Set productName

Parameters

string $productName

Return Value

BaseProductInterface

in Product at line 232
string getProductName()

Get productName

Return Value

string

in Product at line 244
BaseProductInterface setDescription(string|null $description)

Set description

Parameters

string|null $description

Return Value

BaseProductInterface

in Product at line 256
string|null getDescription()

Get description

Return Value

string|null

in Product at line 269
BaseProductInterface setSku(string|null $sku)

Set sku

Parameters

string|null $sku

Return Value

BaseProductInterface

in Product at line 281
string|null getSku()

Get sku

Return Value

string|null

in Product at line 293
mixed setYoutubeUrl(string $youtubeUrl)

Set youtubeUrl

Parameters

string $youtubeUrl

Return Value

mixed

in Product at line 305
mixed getYoutubeUrl()

Get youtubeUrl

Return Value

mixed

in Product at line 317
mixed setVimeoUrl(string $vimeoUrl)

Set vimeoUrl

Parameters

string $vimeoUrl

Return Value

mixed

in Product at line 329
mixed getVimeoUrl()

Get vimeoUrl

Return Value

mixed

in Product at line 341
mixed setStatus(string $status)

Set status

Parameters

string $status

Return Value

mixed

in Product at line 352
mixed getStatus()

Get status

Return Value

mixed

in Product at line 364
BaseProductInterface setTags(array|null $tags)

Set tags

Parameters

array|null $tags

Return Value

BaseProductInterface

in Product at line 376
array|null getTags()

Get tags

Return Value

array|null

in Product at line 388
BaseProductInterface setDescriptionHtml(string|null $descriptionHtml)

Set descriptionHtml

Parameters

string|null $descriptionHtml

Return Value

BaseProductInterface

in Product at line 400
string|null getDescriptionHtml()

Get descriptionHtml

Return Value

string|null

in Product at line 408
mixed getCreatedAt()

Return Value

mixed

in Product at line 418
mixed setCreatedAt(DateTime $createdAt)

Parameters

DateTime $createdAt

Return Value

mixed

in Product at line 428
mixed getUpdatedAt()

Return Value

mixed

in Product at line 438
mixed setUpdatedAt(DateTime $updatedAt)

Parameters

DateTime $updatedAt

Return Value

mixed

in Product at line 448
DateTime|null getArrivalDate()

Return Value

DateTime|null

in Product at line 458
Product setArrivalDate(DateTime|null $arrivalDate)

Parameters

DateTime|null $arrivalDate

Return Value

Product

in Product at line 470
mixed setType(string $type)

Parameters

string $type

Return Value

mixed

in Product at line 480
string getType()

Return Value

string

in Product at line 488
float|null getCurrentPrice()

Return Value

float|null

in Product at line 498
Product setCurrentPrice(float|null $currentPrice)

Parameters

float|null $currentPrice

Return Value

Product

in Product at line 508
boolean isOnAction()

Return Value

boolean

in Product at line 518
Product setOnAction(boolean $onAction)

Parameters

boolean $onAction

Return Value

Product

in Product at line 528
null|string getSlug()

Return Value

null|string

in Product at line 538
Product setSlug(null|string $slug)

Parameters

null|string $slug

Return Value

Product

in Product at line 548
float|null getPriceOnAction()

Return Value

float|null

in Product at line 558
Product setPriceOnAction(float|null $priceOnAction)

Parameters

float|null $priceOnAction

Return Value

Product

in UpdatedByTrait at line 46
null|string getUpdatedBy()

Return Value

null|string

in UpdatedByTrait at line 56
$this setUpdatedBy(null|string $updatedBy)

Parameters

null|string $updatedBy

Return Value

$this

in UpdatedByTrait at line 66
null|string getHash()

Return Value

null|string

in UpdatedByTrait at line 76
$this setHash(null|string $hash)

Parameters

null|string $hash

Return Value

$this

at line 730
__construct()

Constructor

at line 756
bool getHasNullCategory()

Return Value

bool

at line 766
Product setHasNullCategory(bool $hasNullCategory)

Parameters

bool $hasNullCategory

Return Value

Product

at line 776
bool isIsNew()

Return Value

bool

at line 786
Product setIsNew(bool $isNew)

Parameters

bool $isNew

Return Value

Product

at line 796
bool isDamagedGood()

Return Value

bool

at line 806
Product setDamagedGood(bool $damagedGood)

Parameters

bool $damagedGood

Return Value

Product

at line 816
bool isOnSale()

Return Value

bool

at line 826
Product setOnSale(bool $onSale)

Parameters

bool $onSale

Return Value

Product

at line 836
bool isOnTotalSale()

Return Value

bool

at line 846
Product setOnTotalSale(bool $onTotalSale)

Parameters

bool $onTotalSale

Return Value

Product

at line 856
DateTime|null getDeletedAt()

Return Value

DateTime|null

at line 866
Product setDeletedAt(DateTime|null $deletedAt)

Parameters

DateTime|null $deletedAt

Return Value

Product

at line 876
Product setBaseImage()

Return Value

Product

at line 903
Product setBaseImageUrl(null|string $baseImageUrl)

Parameters

null|string $baseImageUrl

Return Value

Product

at line 913
null|string getBaseImageUrl()

Return Value

null|string

at line 921
ArrayCollection getRemovedImages()

Return Value

ArrayCollection

at line 931
Product setRemovedImages(ArrayCollection $removedImages)

Parameters

ArrayCollection $removedImages

Return Value

Product

at line 941
Brand getBrand()

Return Value

Brand

at line 951
Product setBrand(Brand|null $brand)

Parameters

Brand|null $brand

Return Value

Product

at line 963
Product setId(int $id)

Parameters

int $id

Return Value

Product

at line 975
integer getId()

Get id

Return Value

integer

at line 983
ConfigurableProduct getConfigurableProduct()

Return Value

ConfigurableProduct

at line 993
Product setConfigurableProduct(ConfigurableProduct $configurableProduct)

Parameters

ConfigurableProduct $configurableProduct

Return Value

Product

at line 1003
GroupProduct getGroupProduct()

Return Value

GroupProduct

at line 1013
Product setGroupProduct(GroupProduct $groupProduct)

Parameters

GroupProduct $groupProduct

Return Value

Product

at line 1024
SimpleProduct getSimpleProduct()

Return Value

SimpleProduct

at line 1034
Product setSimpleProduct(SimpleProduct $simpleProduct)

Parameters

SimpleProduct $simpleProduct

Return Value

Product

at line 1049
Product addCategory(Category $category)

Add categories

Parameters

Category $category

Return Value

Product

at line 1063
Product removeCategory(Category $category)

Remove categories

Parameters

Category $category

Return Value

Product

at line 1075
ArrayCollection getCategories()

Get categories

Return Value

ArrayCollection

at line 1088
Product addImage(Image $image)

Add image

Parameters

Image $image

Return Value

Product

at line 1103
Product removeImage(Image $image)

Remove image

Parameters

Image $image

Return Value

Product

at line 1116
ArrayCollection getImages()

Get images

Return Value

ArrayCollection

at line 1127
Product addPrice(Price $price)

Add price

Parameters

Price $price

Return Value

Product

at line 1144
Product removePrice(Price $price)

Remove price

Parameters

Price $price

Return Value

Product

at line 1156
ArrayCollection getPrices()

Get prices

Return Value

ArrayCollection

at line 1166
Product setPrices(ArrayCollection $prices)

Parameters

ArrayCollection $prices

Return Value

Product

at line 1176
ArrayCollection getProductAttributesValues()

Return Value

ArrayCollection

at line 1186
Product setProductAttributesValues(ArrayCollection $productAttributesValues)

Parameters

ArrayCollection $productAttributesValues

Return Value

Product

at line 1207
Product addProductAttributeValue(ProductAttributeValues $productAttributesValue)

Add productAttributesValue

Parameters

ProductAttributeValues $productAttributesValue

Return Value

Product

at line 1224
Product removeProductAttributeValue(ProductAttributeValues $productAttributesValue)

Remove productAttributesValue

Parameters

ProductAttributeValues $productAttributesValue

Return Value

Product

at line 1237
Product setImages(ArrayCollection $images)

Parameters

ArrayCollection $images

Return Value

Product

at line 1250
Product setCategories(ArrayCollection $categories)

Parameters

ArrayCollection $categories

Return Value

Product

at line 1263
float getLastPrice()

Return Value

float

at line 1276
Product addOrderItem(OrderItem $item)

Add order item

Parameters

OrderItem $item

Return Value

Product

at line 1293
Product removeOrderItem(OrderItem $item)

Remove order item

Parameters

OrderItem $item

Return Value

Product

at line 1305
ArrayCollection getOrderItems()

Get all order items for this product

Return Value

ArrayCollection

at line 1317
Product addStatistic(Statistics $statistic)

Add statistic

Parameters

Statistics $statistic

Return Value

Product

at line 1332
Product removeStatistic(Statistics $statistic)

Remove statistic

Parameters

Statistics $statistic

Return Value

Product

at line 1344
ArrayCollection getStatistics()

Get statistics

Return Value

ArrayCollection

at line 1352
ArrayCollection getProductFeatures()

Return Value

ArrayCollection

at line 1362
Product setProductFeatures(ArrayCollection $productFeatures)

Parameters

ArrayCollection $productFeatures

Return Value

Product

at line 1374
Product addProductFeature(ProductFeature $productFeature)

Parameters

ProductFeature $productFeature

Return Value

Product

at line 1388
Product removeProductFeature(ProductFeature $productFeature)

Parameters

ProductFeature $productFeature

Return Value

Product

at line 1399
ArrayCollection getPricelistItems()

Return Value

ArrayCollection

at line 1409
Product addPricelistItem(PricelistItem $pricelistItem)

Parameters

PricelistItem $pricelistItem

Return Value

Product

at line 1423
Product removePricelistItem(PricelistItem $pricelistItem)

Parameters

PricelistItem $pricelistItem

Return Value

Product

at line 1434
null|string getErpCode()

Return Value

null|string

at line 1444
Product setErpCode(null|string $erpCode)

Parameters

null|string $erpCode

Return Value

Product

at line 1454
float|null getTaxValue()

Return Value

float|null

at line 1464
Product setTaxValue(float|null $taxValue)

Parameters

float|null $taxValue

Return Value

Product

at line 1474
array|null getPermissions()

Return Value

array|null

at line 1484
Product setPermissions(array|null $permissions)

Parameters

array|null $permissions

Return Value

Product

at line 1494
ArrayCollection getProductTranslations()

Return Value

ArrayCollection

at line 1504
Product setProductTranslations(ArrayCollection $productTranslations)

Parameters

ArrayCollection $productTranslations

Return Value

Product

at line 1519
string serialize()

(PHP 5 >= 5.1.0)
String representation of object

Return Value

string the string representation of the object or null

at line 1552
void unserialize(string $serialized)

(PHP 5 >= 5.1.0)
Constructs the object

Parameters

string $serialized The string representation of the object.

Return Value

void

at line 1576
array toCSVArray()

Return Value

array

at line 1596
int getViewCount()

Return Value

int

at line 1606
Product setViewCount(int $viewCount)

Parameters

int $viewCount

Return Value

Product

at line 1616
int getSaleCount()

Return Value

int

at line 1626
Product setSaleCount(int $saleCount)

Parameters

int $saleCount

Return Value

Product

at line 1636
null|string getCompanyName()

Return Value

null|string

at line 1646
Product setCompanyName(null|string $companyName)

Parameters

null|string $companyName

Return Value

Product

at line 1656
array|null getKeywords()

Return Value

array|null

at line 1666
Product setKeywords(array $keywords)

Parameters

array $keywords

Return Value

Product

at line 1676
array|null getAdditionalKeywords()

Return Value

array|null

at line 1686
Product setAdditionalKeywords(array $additionalKeywords)

Parameters

array $additionalKeywords

Return Value

Product

at line 1696
float|null getReviewRating()

Return Value

float|null

at line 1706
Product setReviewRating(float|null $reviewRating)

Parameters

float|null $reviewRating

Return Value

Product

at line 1716
bool|null isAdminReview()

Return Value

bool|null

at line 1726
Product setAdminReview(bool|null $adminReview)

Parameters

bool|null $adminReview

Return Value

Product

at line 1738
Product setProductSearchOptions(array $data = [])

Parameters

array $data

Return Value

Product

at line 1781
array|null getProductSearchOptions()

Return Value

array|null

at line 1789
float|null getPriceFrom()

Return Value

float|null

at line 1797
Product setPriceFrom()

Return Value

Product

at line 1815
float|null getPriceTo()

Return Value

float|null

at line 1823
Product setPriceTo()

Return Value

Product

at line 1841
null|string getProductSearchString()

Return Value

null|string

at line 1851
Product setProductSearchString(null|string $productSearchString)

Parameters

null|string $productSearchString

Return Value

Product

at line 1861
bool|null isOutlet()

Return Value

bool|null

at line 1871
Product setOutlet(bool|null $outlet)

Parameters

bool|null $outlet

Return Value

Product

at line 1881
array getCSVHeader()

Return Value

array

at line 1907
array getCSVValues()

Return Value

array

at line 1943
CSVEntityInterface setCSVValues($csvRow, mixed $locale, array $csvHeaders, array $propertyMappings = array())

Parameters

$csvRow
mixed $locale
array $csvHeaders
array $propertyMappings

Return Value

CSVEntityInterface

at line 2024
Product getSelf()

Return Value

Product

at line 2032
int|null getQuantityStep()

Return Value

int|null

at line 2042
Product setQuantityStep(int|null $quantityStep)

Parameters

int|null $quantityStep

Return Value

Product

at line 2052
array|null getQuantityRebate()

Return Value

array|null

at line 2062
Product setQuantityRebate(array|null $quantityRebate)

Parameters

array|null $quantityRebate

Return Value

Product

at line 2072
ArrayCollection getFiles()

Return Value

ArrayCollection

at line 2082
Product setFiles(ArrayCollection $files)

Parameters

ArrayCollection $files

Return Value

Product

at line 2094
Product addFile(File $file)

Parameters

File $file

Return Value

Product

at line 2107
Product removeFile(File $file)

Parameters

File $file

Return Value

Product

at line 2118
float|null getVatValue()

Return Value

float|null

at line 2128
Product setVatValue(float|null $vatValue)

Parameters

float|null $vatValue

Return Value

Product

at line 2138
UnitOfMeasure getUnitOfMeasure()

Return Value

UnitOfMeasure

at line 2148
Product setUnitOfMeasure(UnitOfMeasure $unitOfMeasure)

Parameters

UnitOfMeasure $unitOfMeasure

Return Value

Product

at line 2158
array|null getPricelistItemsArray()

Return Value

array|null

at line 2169
bool updatePricelistItemsArray(int $id, float $price)

Parameters

int $id
float $price

Return Value

bool

at line 2187
Product setPricelistItemsArray(array|null $pricelistItemsArray)

Parameters

array|null $pricelistItemsArray

Return Value

Product

at line 2197
UnitOfMeasure getUnitOfMeasureQtyPerPackage()

Return Value

UnitOfMeasure

at line 2207
Product setUnitOfMeasureQtyPerPackage(UnitOfMeasure $unitOfMeasureQtyPerPackage)

Parameters

UnitOfMeasure $unitOfMeasureQtyPerPackage

Return Value

Product

at line 2217
float|null getWeight()

Return Value

float|null

at line 2227
Product setWeight(float|null $weight)

Parameters

float|null $weight

Return Value

Product

at line 2237
float|null getNetWeight()

Return Value

float|null

at line 2247
Product setNetWeight(float|null $netWeight)

Parameters

float|null $netWeight

Return Value

Product

at line 2257
float|null getQtyPerPackage()

Return Value

float|null

at line 2267
Product setQtyPerPackage(float|null $qtyPerPackage)

Parameters

float|null $qtyPerPackage

Return Value

Product

at line 2277
UnitOfMeasure getUnitOfMeasureWeight()

Return Value

UnitOfMeasure

at line 2287
Product setUnitOfMeasureWeight(UnitOfMeasure $unitOfMeasureWeight)

Parameters

UnitOfMeasure $unitOfMeasureWeight

Return Value

Product

at line 2297
Package getPackage()

Return Value

Package

at line 2307
Product setPackage(Package $package)

Parameters

Package $package

Return Value

Product

at line 2317
float|null getHeight()

Return Value

float|null

at line 2327
Product setHeight(float|null $height)

Parameters

float|null $height

Return Value

Product

at line 2337
float|null getDepth()

Return Value

float|null

at line 2347
Product setDepth(float|null $depth)

Parameters

float|null $depth

Return Value

Product

at line 2357
float|null getWidth()

Return Value

float|null

at line 2367
Product setWidth(float|null $width)

Parameters

float|null $width

Return Value

Product

at line 2377
int|null isDefaultPricelistDiscount()

Return Value

int|null

at line 2387
Product setDefaultPricelistDiscount(int|null $defaultPricelistDiscount)

Parameters

int|null $defaultPricelistDiscount

Return Value

Product

at line 2397
bool|null isUsedAsPavProduct()

Return Value

bool|null

at line 2407
Product setUsedAsPavProduct(bool|null $usedAsPavProduct)

Parameters

bool|null $usedAsPavProduct

Return Value

Product

Return Value

null|string

Parameters

null|string $permalink

Return Value

Product

at line 2437
null|string getSeoTitle()

Return Value

null|string

at line 2447
Product setSeoTitle(null|string $seoTitle)

Parameters

null|string $seoTitle

Return Value

Product

at line 2457
null|string getSeoDescription()

Return Value

null|string

at line 2467
Product setSeoDescription(null|string $seoDescription)

Parameters

null|string $seoDescription

Return Value

Product

at line 2477
null|string getSeoKeywords()

Return Value

null|string

at line 2487
Product setSeoKeywords(null|string $seoKeywords)

Parameters

null|string $seoKeywords

Return Value

Product

at line 2497
array|null getCustomLabels()

Return Value

array|null

at line 2507
Product setCustomLabels(array|null $customLabels)

Parameters

array|null $customLabels

Return Value

Product

at line 2519
Product addCustomLabel(string $customLabel)

Parameters

string $customLabel

Return Value

Product

at line 2533
Product removeCustomLabel(string $customLabel)

Parameters

string $customLabel

Return Value

Product

Return Value

array|null

Parameters

array|null $customProductLinks

Return Value

Product

at line 2565
bool|null isPreventDirectAddToCart()

Return Value

bool|null

at line 2575
Product setPreventDirectAddToCart(bool|null $preventDirectAddToCart)

Parameters

bool|null $preventDirectAddToCart

Return Value

Product