Product
extends AbstractEntity
in package
Product
Tags
Table of Contents
Properties
- $averageDeliveryTime : float
- $categoryAsirLevelOne : string
- $categoryAsirLevelTwo : string
- $color : string
- $created : bool
- $description : string
- $ean : string
- $extraFeatures : string
- $fastSelection : bool
- $features : string
- $height : float
- $id : int
- $images : string
- $isActive : bool
- $isMonocolis : string
- $isReviewed : bool
- $isSelected : bool
- $isSelectionToCreate : bool
- $label : string
- $length : float
- $longDescription : string
- $marque : string|null
- $menzzoAction : int
- $menzzoPrice : float
- $name : string
- $nameCategory : string
- $newProduct : mixed
- $oldWholeSalePrice : float
- $priceHistory : mixed
- $product : mixed
- $retailPrice : float
- $sellingPrice : float
- $shortDescription : string
- $sku : string
- $title : string
- $type : string
- $updatedAt : string
- $urlKey : string
- $variant : string
- $weight : float
- $wholesalePrice : float
- $width : float
Methods
- __construct() : mixed
- Constructor
- addPriceHistory() : $this
- getCategoryAsirLevelOne() : string
- getCategoryAsirLevelTwo() : string
- getColor() : string
- getDescription() : string
- getEan() : string
- getExtraFeatures() : string
- getFeatures() : string
- getHeight() : float
- getId() : int
- Get id
- getImages() : array<string|int, mixed>
- getIsActive() : bool
- getLabel() : string
- getLength() : float
- getLongDescription() : string
- getMarque() : string|null
- Get the value of marque
- getMenzzoPrice() : float
- getName() : string
- getNameCategory() : string|null
- getNewProduct() : mixed|null|NewProduct
- getOldWholeSalePrice() : float|null
- getPriceHistory() : ArrayCollection
- getProduct() : mixed|Product|null
- getRetailPrice() : float
- getShortDescription() : string
- getSku() : string
- getTitle() : string
- getType() : string
- getUpdatedAt() : string
- getUrlKey() : string
- getVariant() : string
- getWeight() : float
- getWholesalePrice() : float
- getWidth() : float
- isCreated() : bool
- isMenzzoAction() : bool
- isMonocolis() : string
- isReviewed() : bool
- isSelected() : bool
- isSelectionToCreate() : bool
- populate() : void
- Populate data into the entity
- removePriceHistory() : $this
- setCategoryAsirLevelOne() : void
- setCategoryAsirLevelTwo() : void
- setColor() : void
- setCreated() : void
- setDescription() : void
- setEan() : void
- setExtraFeatures() : void
- setFeatures() : void
- setHeight() : void
- setId() : Product
- setImages() : Product
- setIsActive() : Product
- setIsMonocolis() : void
- setIsReviewed() : void
- setIsSelected() : void
- setIsSelectionToCreate() : void
- setLabel() : void
- setLength() : void
- setLongDescription() : void
- setMarque() : void
- Set the value of marque
- setMenzzoAction() : void
- setMenzzoPrice() : Product
- setName() : Product
- setNameCategory() : void
- setNewProduct() : Product
- setOldWholeSalePrice() : void
- setProduct() : Product
- setRetailPrice() : Product
- setShortDescription() : void
- setSku() : Product
- setTitle() : void
- setType() : void
- setUpdatedAtValue() : mixed
- setUrlKey() : void
- setVariant() : void
- setWeight() : void
- setWholesalePrice() : $this
- setWidth() : void
Properties
$averageDeliveryTime
private
float
$averageDeliveryTime
= 0
Tags
$categoryAsirLevelOne
private
string
$categoryAsirLevelOne
Tags
$categoryAsirLevelTwo
private
string
$categoryAsirLevelTwo
Tags
$color
private
string
$color
Tags
$created
private
bool
$created
= false
Tags
$description
private
string
$description
Tags
$ean
private
string
$ean
Tags
$extraFeatures
private
string
$extraFeatures
Tags
$fastSelection
private
bool
$fastSelection
= 0
Tags
$features
private
string
$features
Tags
$height
private
float
$height
= 0
Tags
$id
private
int
$id
Tags
$images
private
string
$images
Tags
$isActive
private
bool
$isActive
= 1
Tags
$isMonocolis
private
string
$isMonocolis
= 0
Tags
$isReviewed
private
bool
$isReviewed
= 0
Tags
$isSelected
private
bool
$isSelected
= 0
Tags
$isSelectionToCreate
private
bool
$isSelectionToCreate
= 0
Tags
$label
private
string
$label
Tags
$length
private
float
$length
= 0
Tags
$longDescription
private
string
$longDescription
Tags
$marque
private
string|null
$marque
= null
Tags
$menzzoAction
private
int
$menzzoAction
= 0
Tags
$menzzoPrice
private
float
$menzzoPrice
= null
Tags
$name
private
string
$name
Tags
$nameCategory
private
string
$nameCategory
Tags
$newProduct
private
mixed
$newProduct
Tags
$oldWholeSalePrice
private
float
$oldWholeSalePrice
Tags
$priceHistory
private
mixed
$priceHistory
Tags
$product
private
mixed
$product
Tags
$retailPrice
private
float
$retailPrice
Tags
$sellingPrice
private
float
$sellingPrice
= null
Tags
$shortDescription
private
string
$shortDescription
Tags
$sku
private
string
$sku
Tags
$title
private
string
$title
Tags
$type
private
string
$type
Tags
$updatedAt
private
string
$updatedAt
Tags
$urlKey
private
string
$urlKey
= null
Tags
$variant
private
string
$variant
Tags
$weight
private
float
$weight
= 0
Tags
$wholesalePrice
private
float
$wholesalePrice
Tags
$width
private
float
$width
= 0
Tags
Methods
__construct()
Constructor
public
__construct() : mixed
addPriceHistory()
public
addPriceHistory(ProductPriceHistory $priceHistory) : $this
Parameters
- $priceHistory : ProductPriceHistory
Return values
$thisgetCategoryAsirLevelOne()
public
getCategoryAsirLevelOne() : string
Return values
stringgetCategoryAsirLevelTwo()
public
getCategoryAsirLevelTwo() : string
Return values
stringgetColor()
public
getColor() : string
Return values
stringgetDescription()
public
getDescription() : string
Return values
stringgetEan()
public
getEan() : string
Return values
stringgetExtraFeatures()
public
getExtraFeatures() : string
Return values
stringgetFeatures()
public
getFeatures() : string
Return values
stringgetHeight()
public
getHeight() : float
Return values
floatgetId()
Get id
public
getId() : int
Return values
intgetImages()
public
getImages() : array<string|int, mixed>
Return values
array<string|int, mixed>getIsActive()
public
getIsActive() : bool
Return values
boolgetLabel()
public
getLabel() : string
Return values
stringgetLength()
public
getLength() : float
Return values
floatgetLongDescription()
public
getLongDescription() : string
Return values
stringgetMarque()
Get the value of marque
public
getMarque() : string|null
Return values
string|nullgetMenzzoPrice()
public
getMenzzoPrice() : float
Return values
floatgetName()
public
getName() : string
Return values
stringgetNameCategory()
public
getNameCategory() : string|null
Return values
string|nullgetNewProduct()
public
getNewProduct() : mixed|null|NewProduct
Return values
mixed|null|NewProductgetOldWholeSalePrice()
public
getOldWholeSalePrice() : float|null
Return values
float|nullgetPriceHistory()
public
getPriceHistory() : ArrayCollection
Return values
ArrayCollectiongetProduct()
public
getProduct() : mixed|Product|null
Return values
mixed|Product|nullgetRetailPrice()
public
getRetailPrice() : float
Return values
floatgetShortDescription()
public
getShortDescription() : string
Return values
stringgetSku()
public
getSku() : string
Return values
stringgetTitle()
public
getTitle() : string
Return values
stringgetType()
public
getType() : string
Return values
stringgetUpdatedAt()
public
getUpdatedAt() : string
Return values
stringgetUrlKey()
public
getUrlKey() : string
Return values
stringgetVariant()
public
getVariant() : string
Return values
stringgetWeight()
public
getWeight() : float
Return values
floatgetWholesalePrice()
public
getWholesalePrice() : float
Return values
floatgetWidth()
public
getWidth() : float
Return values
floatisCreated()
public
isCreated() : bool
Return values
boolisMenzzoAction()
public
isMenzzoAction() : bool
Return values
boolisMonocolis()
public
isMonocolis() : string
Return values
stringisReviewed()
public
isReviewed() : bool
Return values
boolisSelected()
public
isSelected() : bool
Return values
boolisSelectionToCreate()
public
isSelectionToCreate() : bool
Return values
boolpopulate()
Populate data into the entity
public
populate(array<string|int, mixed> $data, mixed $classMetaData, mixed $em, mixed $arrayAlias) : void
Parameters
- $data : array<string|int, mixed>
- $classMetaData : mixed
- $em : mixed
- $arrayAlias : mixed
removePriceHistory()
public
removePriceHistory(ProductPriceHistory $priceHistory) : $this
Parameters
- $priceHistory : ProductPriceHistory
Return values
$thissetCategoryAsirLevelOne()
public
setCategoryAsirLevelOne(string $categoryAsirLevelOne) : void
Parameters
- $categoryAsirLevelOne : string
setCategoryAsirLevelTwo()
public
setCategoryAsirLevelTwo(string $categoryAsirLevelTwo) : void
Parameters
- $categoryAsirLevelTwo : string
setColor()
public
setColor(string $color) : void
Parameters
- $color : string
setCreated()
public
setCreated(bool $created) : void
Parameters
- $created : bool
setDescription()
public
setDescription(string $description) : void
Parameters
- $description : string
setEan()
public
setEan(string $ean) : void
Parameters
- $ean : string
setExtraFeatures()
public
setExtraFeatures(string $extraFeatures) : void
Parameters
- $extraFeatures : string
setFeatures()
public
setFeatures(string $features) : void
Parameters
- $features : string
setHeight()
public
setHeight(float $height) : void
Parameters
- $height : float
setId()
public
setId(int $id) : Product
Parameters
- $id : int
Return values
ProductsetImages()
public
setImages(array<string|int, mixed> $images) : Product
Parameters
- $images : array<string|int, mixed>
Return values
ProductsetIsActive()
public
setIsActive(bool $isActive) : Product
Parameters
- $isActive : bool
Return values
ProductsetIsMonocolis()
public
setIsMonocolis(string $isMonocolis) : void
Parameters
- $isMonocolis : string
setIsReviewed()
public
setIsReviewed(bool $isReviewed) : void
Parameters
- $isReviewed : bool
setIsSelected()
public
setIsSelected(bool $isSelected) : void
Parameters
- $isSelected : bool
setIsSelectionToCreate()
public
setIsSelectionToCreate(bool $isSelectionToCreate) : void
Parameters
- $isSelectionToCreate : bool
setLabel()
public
setLabel(string $label) : void
Parameters
- $label : string
setLength()
public
setLength(float $length) : void
Parameters
- $length : float
setLongDescription()
public
setLongDescription(string $longDescription) : void
Parameters
- $longDescription : string
setMarque()
Set the value of marque
public
setMarque(string|null $marque) : void
Parameters
- $marque : string|null
setMenzzoAction()
public
setMenzzoAction(bool $menzzoAction) : void
Parameters
- $menzzoAction : bool
setMenzzoPrice()
public
setMenzzoPrice(float $price) : Product
Parameters
- $price : float
Return values
ProductsetName()
public
setName(string $name) : Product
Parameters
- $name : string
Return values
ProductsetNameCategory()
public
setNameCategory(string $nameCategory) : void
Parameters
- $nameCategory : string
setNewProduct()
public
setNewProduct(mixed|NewProduct $newProduct) : Product
Parameters
- $newProduct : mixed|NewProduct
Return values
ProductsetOldWholeSalePrice()
public
setOldWholeSalePrice(float|null $oldWholeSalePrice) : void
Parameters
- $oldWholeSalePrice : float|null
setProduct()
public
setProduct(mixed $product) : Product
Parameters
- $product : mixed
Return values
ProductsetRetailPrice()
public
setRetailPrice(float $price) : Product
Parameters
- $price : float
Return values
ProductsetShortDescription()
public
setShortDescription(string $shortDescription) : void
Parameters
- $shortDescription : string
setSku()
public
setSku(string $sku) : Product
Parameters
- $sku : string
Return values
ProductsetTitle()
public
setTitle(string $title) : void
Parameters
- $title : string
setType()
public
setType(string $type) : void
Parameters
- $type : string
setUpdatedAtValue()
public
setUpdatedAtValue() : mixed
Tags
setUrlKey()
public
setUrlKey(string $urlKey) : void
Parameters
- $urlKey : string
setVariant()
public
setVariant(string $variant) : void
Parameters
- $variant : string
setWeight()
public
setWeight(float $weight) : void
Parameters
- $weight : float
setWholesalePrice()
public
setWholesalePrice(mixed $price) : $this
Parameters
- $price : mixed
Return values
$thissetWidth()
public
setWidth(float $width) : void
Parameters
- $width : float