class ChangedPrice

Class ChangedPrice

Properties

protected int $id
protected User $user User to send notification
protected float $oldPrice The last price that the product had before the change. 0 if value has not changed since user added product
protected Product $product Watched product
protected ProductAttributeValues $productAttributeValues Watched product attribute value. NULL if none is selected

Methods

int
getId()

No description

setId(int $id)

No description

getUser()

No description

setUser(User $user)

No description

getProduct()

No description

setProduct(Product $product)

No description

setProductAttributeValues(ProductAttributeValues $productAttributeValues)

No description

float
getOldPrice()

No description

setOldPrice(float $oldPrice)

No description

Details

at line 95
int getId()

Return Value

int

at line 105
ChangedPrice setId(int $id)

Parameters

int $id

Return Value

ChangedPrice

at line 115
User getUser()

Return Value

User

at line 125
ChangedPrice setUser(User $user)

Parameters

User $user

Return Value

ChangedPrice

at line 135
Product getProduct()

Return Value

Product

at line 145
ChangedPrice setProduct(Product $product)

Parameters

Product $product

Return Value

ChangedPrice

at line 155
ProductAttributeValues getProductAttributeValues()

Return Value

ProductAttributeValues

at line 165
ChangedPrice setProductAttributeValues(ProductAttributeValues $productAttributeValues)

Parameters

ProductAttributeValues $productAttributeValues

Return Value

ChangedPrice

at line 175
float getOldPrice()

Return Value

float

at line 185
ChangedPrice setOldPrice(float $oldPrice)

Parameters

float $oldPrice

Return Value

ChangedPrice