Logidav Docs

ProductPriceHistory
in package

Product

Tags
ORM\Table

(name="mz_asir_group_product_price_history")

ORM\Entity

(repositoryClass="AsirGroupBundle\Repository\PriceHistoryRepository")

Table of Contents

Properties

$createdAt  : DateTime
$file  : mixed
$id  : int
$inProgress  : bool
$newPromoPercent  : float
$newSalePrice  : float
$newWholeSalePrice  : float
$newWholeSalePriceCalculated  : float
$newWholeSalePriceToApplyPromoOn  : float
$oldSalePrice  : float
$oldWholeSalePrice  : float
$product  : mixed
$type  : string
$validFrom  : DateTime
$validTo  : DateTime

Methods

getCreatedAt()  : DateTime
getFile()  : mixed
getId()  : int
getNewPromoPercent()  : float
getNewSalePrice()  : float
getNewWholeSalePrice()  : float
getNewWholeSalePriceCalculated()  : float
getNewWholeSalePriceToApplyPromoOn()  : float
getOldSalePrice()  : float
getOldWholeSalePrice()  : float
getProduct()  : mixed
getType()  : string
getValidFrom()  : DateTime
getValidTo()  : DateTime
isInProgress()  : bool
setCreatedAt()  : void
setFile()  : void
setInProgress()  : void
setNewPromoPercent()  : void
setNewSalePrice()  : void
setNewWholeSalePrice()  : void
setNewWholeSalePriceCalculated()  : void
setNewWholeSalePriceToApplyPromoOn()  : void
setOldSalePrice()  : void
setOldWholeSalePrice()  : void
setProduct()  : void
setType()  : void
setValidFrom()  : void
setValidTo()  : void

Properties

$createdAt

private DateTime $createdAt
Tags
ORM\Column

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

$file

private mixed $file
Tags
ORM\ManyToOne

(targetEntity="AppBundle\Entity\FilesImport", cascade={"persist"}, inversedBy="priceHistory")

ORM\JoinColumn

(name="file_id")

$id

private int $id
Tags
ORM\Column

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

ORM\Id
ORM\GeneratedValue

(strategy="AUTO")

$inProgress

private bool $inProgress
Tags
ORM\Column

(name="in_progress", type="boolean", nullable=true, options={"default" = 0})

$newPromoPercent

private float $newPromoPercent
Tags
ORM\Column

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

$newSalePrice

private float $newSalePrice
Tags
ORM\Column

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

$newWholeSalePrice

private float $newWholeSalePrice
Tags
ORM\Column

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

$newWholeSalePriceCalculated

private float $newWholeSalePriceCalculated
Tags
ORM\Column

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

$newWholeSalePriceToApplyPromoOn

private float $newWholeSalePriceToApplyPromoOn
Tags
ORM\Column

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

$oldSalePrice

private float $oldSalePrice
Tags
ORM\Column

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

$oldWholeSalePrice

private float $oldWholeSalePrice
Tags
ORM\Column

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

$product

private mixed $product
Tags
ORM\ManyToOne

(targetEntity="AsirGroupBundle\Entity\Product", cascade={"persist"}, inversedBy="priceHistory")

ORM\JoinColumn

(name="product_id")

$type

private string $type
Tags
ORM\Column

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

$validFrom

private DateTime $validFrom
Tags
ORM\Column

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

$validTo

private DateTime $validTo
Tags
ORM\Column

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

Methods

getNewWholeSalePriceCalculated()

public getNewWholeSalePriceCalculated() : float
Return values
float

getNewWholeSalePriceToApplyPromoOn()

public getNewWholeSalePriceToApplyPromoOn() : float
Return values
float

setCreatedAt()

public setCreatedAt(DateTime $createdAt) : void
Parameters
$createdAt : DateTime

setInProgress()

public setInProgress(bool $inProgress) : void
Parameters
$inProgress : bool

setNewPromoPercent()

public setNewPromoPercent(float $newPromoPercent) : void
Parameters
$newPromoPercent : float

setNewSalePrice()

public setNewSalePrice(mixed $newSalePrice) : void
Parameters
$newSalePrice : mixed

setNewWholeSalePrice()

public setNewWholeSalePrice(float $newWholeSalePrice) : void
Parameters
$newWholeSalePrice : float

setNewWholeSalePriceCalculated()

public setNewWholeSalePriceCalculated(float $newWholeSalePriceCalculated) : void
Parameters
$newWholeSalePriceCalculated : float

setNewWholeSalePriceToApplyPromoOn()

public setNewWholeSalePriceToApplyPromoOn(float $newWholeSalePriceToApplyPromoOn) : void
Parameters
$newWholeSalePriceToApplyPromoOn : float

setOldSalePrice()

public setOldSalePrice(mixed $oldSalePrice) : void
Parameters
$oldSalePrice : mixed

setOldWholeSalePrice()

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

setValidFrom()

public setValidFrom(DateTime $validFrom) : void
Parameters
$validFrom : DateTime

setValidTo()

public setValidTo(DateTime $validTo) : void
Parameters
$validTo : DateTime

        
On this page

Search results