Logidav Docs

Product extends AbstractEntity
in package

Product

Tags
ORM\Table

(name="mz_asir_group_product")

ORM\Entity

(repositoryClass="AsirGroupBundle\Repository\ProductRepository")

Serializer\ExclusionPolicy

("all")

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
ORM\Column

(name="average_delivery_time", type="integer", nullable=true, options={"default" = 0})

$categoryAsirLevelOne

private string $categoryAsirLevelOne
Tags
ORM\Column

(name="category_asir_level_one", type="text", nullable=true)

$categoryAsirLevelTwo

private string $categoryAsirLevelTwo
Tags
ORM\Column

(name="category_asir_level_two", type="text", nullable=true)

$color

private string $color
Tags
ORM\Column

(name="color", type="string", length=255, nullable=true)

$created

private bool $created = false
Tags
ORM\Column

(name="created", type="boolean", nullable=true , options={"default": false})

$description

private string $description
Tags
ORM\Column

(name="description", type="text", nullable=true)

$ean

private string $ean
Tags
ORM\Column

(name="ean", type="string", length=255, unique=true)

$extraFeatures

private string $extraFeatures
Tags
ORM\Column

(name="extra_features", type="text", nullable=true)

$fastSelection

private bool $fastSelection = 0
Tags
ORM\Column

(name="fast_selection", type="boolean", options={"default" = false})

$features

private string $features
Tags
ORM\Column

(name="features", type="text", nullable=true)

$height

private float $height = 0
Tags
ORM\Column

(name="height", type="integer", nullable=true, options={"default" = 0})

$id

private int $id
Tags
ORM\Column

(name="id", type="integer")

ORM\Id
ORM\GeneratedValue

(strategy="AUTO")

Serializer\Groups

({"detail", "list"})

Serializer\Expose

(true)

$images

private string $images
Tags
ORM\Column

(name="images", type="text", nullable=true)

$isActive

private bool $isActive = 1
Tags
ORM\Column

(name="is_active", type="boolean", options={"default" = true})

$isMonocolis

private string $isMonocolis = 0
Tags
ORM\Column

(name="is_monocolis", type="boolean", options={"default" = 0})

$isReviewed

private bool $isReviewed = 0
Tags
ORM\Column

(name="is_reviewed", type="boolean",nullable=true, options={"default" = false})

$isSelected

private bool $isSelected = 0
Tags
ORM\Column

(name="is_selected", type="boolean", options={"default" = false})

$isSelectionToCreate

private bool $isSelectionToCreate = 0
Tags
ORM\Column

(name="is_selection_to_create", type="boolean", options={"default" = false})

$label

private string $label
Tags
ORM\Column

(name="label", type="string", nullable=true)

$length

private float $length = 0
Tags
ORM\Column

(name="length", type="integer", nullable=true, options={"default" = 0})

$longDescription

private string $longDescription
Tags
ORM\Column

(name="long_description", type="text", nullable=true)

$marque

private string|null $marque = null
Tags
ORM\Column

(name="marque", type="string", length=255, nullable=true, options={"default" = null})

$menzzoAction

private int $menzzoAction = 0
Tags
ORM\Column

(name="menzzo_action", type="integer",nullable=true, options={"comment": "0 => none, 1 => to remove, 2 => to negociate"})

$menzzoPrice

private float $menzzoPrice = null
Tags
ORM\Column

(name="menzzo_price", type="decimal",precision=12, scale=4, nullable=true, precision=12, scale=4, options={"default" = 0})

$name

private string $name
Tags
ORM\Column

(name="name", type="string", length=255, nullable=true)

Serializer\Groups

({"detail", "list"})

Serializer\Expose

(true)

$nameCategory

private string $nameCategory
Tags
ORM\Column

(name="name_category", type="text", nullable=true)

$newProduct

private mixed $newProduct
Tags
ORM\ManyToOne

(targetEntity="AppBundle\Entity\NewProduct")

ORM\JoinColumn

(name="new_product_id", referencedColumnName="id", onDelete="SET NULL")

$oldWholeSalePrice

private float $oldWholeSalePrice
Tags
ORM\Column

(name="old_wholesale_price", type="decimal",precision=12, scale=4, nullable=true, precision=12, scale=4)

$priceHistory

private mixed $priceHistory
Tags
ORM\OneToMany

(targetEntity="AsirGroupBundle\Entity\ProductPriceHistory", cascade={"persist"}, mappedBy="product")

$product

private mixed $product
Tags
ORM\OneToOne

(targetEntity="AppBundle\Entity\Product")

ORM\JoinColumn

(name="product_id", referencedColumnName="id", onDelete="SET NULL")

$retailPrice

private float $retailPrice
Tags
ORM\Column

(name="retail_price", type="decimal", nullable=true, precision=12, scale=4, options={"default" = 0})

$sellingPrice

private float $sellingPrice = null
Tags
ORM\Column

(name="selling_price", type="decimal", nullable=true, precision=12, scale=4, options={"default" = 0})

$shortDescription

private string $shortDescription
Tags
ORM\Column

(name="short_description", type="text", nullable=true)

$sku

private string $sku
Tags
ORM\Column

(name="sku", type="string", length=255, unique=true)

Serializer\Groups

({"detail", "list"})

Serializer\Expose

(true)

$title

private string $title
Tags
ORM\Column

(name="title", type="string", nullable=true)

$type

private string $type
Tags
ORM\Column

(name="type", type="string", length=255, nullable=true)

$updatedAt

private string $updatedAt
Tags
ORM\Column

(name="updated_at", type="datetime", nullable=true)

$urlKey

private string $urlKey = null
Tags
ORM\Column

(name="url_key", type="string", nullable=true , options={"default": null}, unique=true)

$variant

private string $variant
Tags
ORM\Column

(name="variant", type="string", length=255, nullable=true)

$weight

private float $weight = 0
Tags
ORM\Column

(name="weight", type="decimal",precision=12, scale=4, options={"default" = 0})

$wholesalePrice

private float $wholesalePrice
Tags
ORM\Column

(name="wholesale_price", type="decimal",precision=12, scale=4, nullable=true, precision=12, scale=4, options={"default" = 0})

$width

private float $width = 0
Tags
ORM\Column

(name="width", type="integer", nullable=true, options={"default" = 0})

Methods

__construct()

Constructor

public __construct() : mixed

getCategoryAsirLevelOne()

public getCategoryAsirLevelOne() : string
Return values
string

getCategoryAsirLevelTwo()

public getCategoryAsirLevelTwo() : string
Return values
string

getColor()

public getColor() : string
Return values
string

getDescription()

public getDescription() : string
Return values
string

getEan()

public getEan() : string
Return values
string

getExtraFeatures()

public getExtraFeatures() : string
Return values
string

getFeatures()

public getFeatures() : string
Return values
string

getHeight()

public getHeight() : float
Return values
float

getId()

Get id

public getId() : int
Return values
int

getImages()

public getImages() : array<string|int, mixed>
Return values
array<string|int, mixed>

getIsActive()

public getIsActive() : bool
Return values
bool

getLabel()

public getLabel() : string
Return values
string

getLength()

public getLength() : float
Return values
float

getLongDescription()

public getLongDescription() : string
Return values
string

getMarque()

Get the value of marque

public getMarque() : string|null
Return values
string|null

getMenzzoPrice()

public getMenzzoPrice() : float
Return values
float

getName()

public getName() : string
Return values
string

getNameCategory()

public getNameCategory() : string|null
Return values
string|null

getOldWholeSalePrice()

public getOldWholeSalePrice() : float|null
Return values
float|null

getPriceHistory()

public getPriceHistory() : ArrayCollection
Return values
ArrayCollection

getRetailPrice()

public getRetailPrice() : float
Return values
float

getShortDescription()

public getShortDescription() : string
Return values
string

getSku()

public getSku() : string
Return values
string

getTitle()

public getTitle() : string
Return values
string

getType()

public getType() : string
Return values
string

getUpdatedAt()

public getUpdatedAt() : string
Return values
string

getUrlKey()

public getUrlKey() : string
Return values
string

getVariant()

public getVariant() : string
Return values
string

getWeight()

public getWeight() : float
Return values
float

getWholesalePrice()

public getWholesalePrice() : float
Return values
float

getWidth()

public getWidth() : float
Return values
float

isCreated()

public isCreated() : bool
Return values
bool

isMenzzoAction()

public isMenzzoAction() : bool
Return values
bool

isMonocolis()

public isMonocolis() : string
Return values
string

isReviewed()

public isReviewed() : bool
Return values
bool

isSelected()

public isSelected() : bool
Return values
bool

isSelectionToCreate()

public isSelectionToCreate() : bool
Return values
bool

populate()

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

setCategoryAsirLevelOne()

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

setImages()

public setImages(array<string|int, mixed> $images) : Product
Parameters
$images : array<string|int, mixed>
Return values
Product

setIsActive()

public setIsActive(bool $isActive) : Product
Parameters
$isActive : bool
Return values
Product

setIsMonocolis()

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
Product

setNameCategory()

public setNameCategory(string $nameCategory) : void
Parameters
$nameCategory : string

setOldWholeSalePrice()

public setOldWholeSalePrice(float|null $oldWholeSalePrice) : void
Parameters
$oldWholeSalePrice : float|null

setProduct()

public setProduct(mixed $product) : Product
Parameters
$product : mixed
Return values
Product

setRetailPrice()

public setRetailPrice(float $price) : Product
Parameters
$price : float
Return values
Product

setShortDescription()

public setShortDescription(string $shortDescription) : void
Parameters
$shortDescription : string

setTitle()

public setTitle(string $title) : void
Parameters
$title : string

setType()

public setType(string $type) : void
Parameters
$type : string

setUpdatedAtValue()

public setUpdatedAtValue() : mixed
Tags
ORM\PreUpdate
ORM\PrePersist

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
$this

setWidth()

public setWidth(float $width) : void
Parameters
$width : float

        
On this page

Search results