ProductPriceLog
in package
ProductPriceLog
Tags
Table of Contents
Properties
- $createdAt : DateTime
- $id : int
- $message : string|null
- $newPrice : float
- $newSpecialPriceFrom : DateTime
- $newSpecialPriceTo : DateTime
- $oldPrice : float
- $oldSpecialPriceFrom : DateTime
- $oldSpecialPriceTo : DateTime
- $product : mixed
- $promo : int
- $storeId : int
- $type : string
- $user : mixed
Methods
- getCreatedAt() : DateTime
- Get createdAt
- getId() : int
- Get id
- getMessage() : string|null
- getNewPrice() : string
- Get newPrice
- getNewSpecialPriceFrom() : mixed
- getNewSpecialPriceTo() : mixed
- getOldPrice() : string
- Get oldPrice
- getOldSpecialPriceFrom() : mixed
- getOldSpecialPriceTo() : mixed
- getProduct() : Product
- Get product
- getPromo() : int
- Get promo
- getStoreId() : int
- Get storeId
- getType() : string
- Get type
- getUser() : User
- Get user
- setCreatedAt() : ProductPriceLog
- Set createdAt
- setMessage() : mixed
- setNewPrice() : ProductPriceLog
- Set newPrice
- setNewSpecialPriceFrom() : mixed
- setNewSpecialPriceTo() : mixed
- setOldPrice() : ProductPriceLog
- Set oldPrice
- setOldSpecialPriceFrom() : mixed
- setOldSpecialPriceTo() : mixed
- setProduct() : ProductPriceLog
- Set product
- setPromo() : ProductPriceLog
- Set promo
- setStoreId() : ProductPriceLog
- Set storeId
- setType() : ProductPriceLog
- Set type
- setUser() : ProductPriceLog
- Set user
Properties
$createdAt
private
DateTime
$createdAt
Tags
$id
private
int
$id
Tags
$message
private
string|null
$message
Tags
$newPrice
private
float
$newPrice
Tags
$newSpecialPriceFrom
private
DateTime
$newSpecialPriceFrom
Tags
$newSpecialPriceTo
private
DateTime
$newSpecialPriceTo
Tags
$oldPrice
private
float
$oldPrice
Tags
$oldSpecialPriceFrom
private
DateTime
$oldSpecialPriceFrom
Tags
$oldSpecialPriceTo
private
DateTime
$oldSpecialPriceTo
Tags
$product
private
mixed
$product
Tags
$promo
private
int
$promo
Tags
$storeId
private
int
$storeId
Tags
$type
private
string
$type
Tags
$user
private
mixed
$user
Tags
Methods
getCreatedAt()
Get createdAt
public
getCreatedAt() : DateTime
Return values
DateTimegetId()
Get id
public
getId() : int
Return values
intgetMessage()
public
getMessage() : string|null
Return values
string|nullgetNewPrice()
Get newPrice
public
getNewPrice() : string
Return values
stringgetNewSpecialPriceFrom()
public
getNewSpecialPriceFrom() : mixed
getNewSpecialPriceTo()
public
getNewSpecialPriceTo() : mixed
getOldPrice()
Get oldPrice
public
getOldPrice() : string
Return values
stringgetOldSpecialPriceFrom()
public
getOldSpecialPriceFrom() : mixed
getOldSpecialPriceTo()
public
getOldSpecialPriceTo() : mixed
getProduct()
Get product
public
getProduct() : Product
Return values
ProductgetPromo()
Get promo
public
getPromo() : int
Return values
intgetStoreId()
Get storeId
public
getStoreId() : int
Return values
intgetType()
Get type
public
getType() : string
Return values
stringgetUser()
Get user
public
getUser() : User
Return values
UsersetCreatedAt()
Set createdAt
public
setCreatedAt(DateTime $createdAt) : ProductPriceLog
Parameters
- $createdAt : DateTime
Return values
ProductPriceLogsetMessage()
public
setMessage(string|null $message) : mixed
Parameters
- $message : string|null
setNewPrice()
Set newPrice
public
setNewPrice(string $newPrice) : ProductPriceLog
Parameters
- $newPrice : string
Return values
ProductPriceLogsetNewSpecialPriceFrom()
public
setNewSpecialPriceFrom(mixed $newSpecialPriceFrom) : mixed
Parameters
- $newSpecialPriceFrom : mixed
setNewSpecialPriceTo()
public
setNewSpecialPriceTo(mixed $newSpecialPriceTo) : mixed
Parameters
- $newSpecialPriceTo : mixed
setOldPrice()
Set oldPrice
public
setOldPrice(string $oldPrice) : ProductPriceLog
Parameters
- $oldPrice : string
Return values
ProductPriceLogsetOldSpecialPriceFrom()
public
setOldSpecialPriceFrom(mixed $oldSpecialPriceFrom) : mixed
Parameters
- $oldSpecialPriceFrom : mixed
setOldSpecialPriceTo()
public
setOldSpecialPriceTo(mixed $oldSpecialPriceTo) : mixed
Parameters
- $oldSpecialPriceTo : mixed
setProduct()
Set product
public
setProduct(Product $product) : ProductPriceLog
Parameters
- $product : Product
Return values
ProductPriceLogsetPromo()
Set promo
public
setPromo(int $promo) : ProductPriceLog
Parameters
- $promo : int
Return values
ProductPriceLogsetStoreId()
Set storeId
public
setStoreId(int $storeId) : ProductPriceLog
Parameters
- $storeId : int
Return values
ProductPriceLogsetType()
Set type
public
setType(string $type) : ProductPriceLog
Parameters
- $type : string
Return values
ProductPriceLogsetUser()
Set user
public
setUser([User $user = null ]) : ProductPriceLog
Parameters
- $user : User = null