QuickEditProductSpecialPriceListItem
in package
Class QuickEditProductSpecialPriceListItem
Tags
Table of Contents
- $expiresDate : string
- $isNewEntry : string
- $model : string
- $name : string
- $price : float
- $productsId : int
- $productsPrice : float
- $quantity : float
- $status : bool
- $tax : float
- __construct() : mixed
- QuickEditProductSpecialPriceListItem constructor.
- getExpiresDate() : int
- Returns the expires date of the product.
- getPrice() : int
- Returns the price of the product.
- getProductsId() : int
- Returns the Id of the product.
- getProductsModel() : int
- Returns the model of the product.
- getProductsName() : int
- Returns the name of the product.
- getProductsPrice() : int
- Returns the price of the product.
- getQuantity() : int
- Returns the quantity of the product.
- getStatus() : int
- Returns the status of the product.
- getTax() : int
- Returns the tax of the product.
- isNewEntry() : bool
- Returns whether the entry is new.
- setExpiresDate() : QuickEditProductSpecialPriceListItem
- Sets the special price expires date of the product.
- setNewEntry() : QuickEditProductSpecialPriceListItem
- Saves whether the entry is new.
- setPrice() : QuickEditProductSpecialPriceListItem
- Sets the price of the product.
- setProductsId() : QuickEditProductSpecialPriceListItem
- Sets the id of the product.
- setProductsModel() : QuickEditProductSpecialPriceListItem
- Sets the model of the product.
- setProductsName() : QuickEditProductSpecialPriceListItem
- Sets the name of the product.
- setProductsPrice() : QuickEditProductSpecialPriceListItem
- Sets the model of the product.
- setQuantity() : QuickEditProductSpecialPriceListItem
- Sets the quantity of the product.
- setStatus() : QuickEditProductSpecialPriceListItem
- Sets the status of the product.
- setTax() : QuickEditProductSpecialPriceListItem
- Sets the tax of the product.
Properties
$expiresDate
protected
string
$expiresDate
$isNewEntry
protected
string
$isNewEntry
$model
protected
string
$model
$name
protected
string
$name
$price
protected
float
$price
$productsId
protected
int
$productsId
$productsPrice
protected
float
$productsPrice
$quantity
protected
float
$quantity
$status
protected
bool
$status
$tax
protected
float
$tax
Methods
__construct()
QuickEditProductSpecialPriceListItem constructor.
public
__construct(array<string|int, mixed> $value) : mixed
Parameters
- $value : array<string|int, mixed>
-
Contains special price data.
Return values
mixed —getExpiresDate()
Returns the expires date of the product.
public
getExpiresDate() : int
Return values
int —Returns the expires date of the product.
getPrice()
Returns the price of the product.
public
getPrice() : int
Return values
int —Returns the price of the product.
getProductsId()
Returns the Id of the product.
public
getProductsId() : int
Return values
int —Returns the Id of the product.
getProductsModel()
Returns the model of the product.
public
getProductsModel() : int
Return values
int —Returns the model of the product.
getProductsName()
Returns the name of the product.
public
getProductsName() : int
Return values
int —Returns the name of the product.
getProductsPrice()
Returns the price of the product.
public
getProductsPrice() : int
Return values
int —Returns the price of the product.
getQuantity()
Returns the quantity of the product.
public
getQuantity() : int
Return values
int —Returns the quantity of the product.
getStatus()
Returns the status of the product.
public
getStatus() : int
Return values
int —Returns the status of the product.
getTax()
Returns the tax of the product.
public
getTax() : int
Return values
int —Returns the tax of the product.
isNewEntry()
Returns whether the entry is new.
public
isNewEntry() : bool
Return values
bool —Returns whether the entry is new.
setExpiresDate()
Sets the special price expires date of the product.
public
setExpiresDate(DateTime $expiresDate) : QuickEditProductSpecialPriceListItem
Parameters
- $expiresDate : DateTime
-
Product special price expires date.
Return values
QuickEditProductSpecialPriceListItem —Returns same instance for chained method calls.
setNewEntry()
Saves whether the entry is new.
public
setNewEntry(BoolType $newEntry) : QuickEditProductSpecialPriceListItem
Parameters
- $newEntry : BoolType
Return values
QuickEditProductSpecialPriceListItem —Returns same instance for chained method calls.
setPrice()
Sets the price of the product.
public
setPrice(DecimalType $price) : QuickEditProductSpecialPriceListItem
Parameters
- $price : DecimalType
-
Product price.
Return values
QuickEditProductSpecialPriceListItem —Returns same instance for chained method calls.
setProductsId()
Sets the id of the product.
public
setProductsId(IdType $id) : QuickEditProductSpecialPriceListItem
Parameters
- $id : IdType
-
Product id.
Return values
QuickEditProductSpecialPriceListItem —Returns same instance for chained method calls.
setProductsModel()
Sets the model of the product.
public
setProductsModel(StringType $model) : QuickEditProductSpecialPriceListItem
Parameters
- $model : StringType
-
Product model.
Return values
QuickEditProductSpecialPriceListItem —Returns same instance for chained method calls.
setProductsName()
Sets the name of the product.
public
setProductsName(StringType $productsName) : QuickEditProductSpecialPriceListItem
Parameters
- $productsName : StringType
-
Product name.
Return values
QuickEditProductSpecialPriceListItem —Returns same instance for chained method calls.
setProductsPrice()
Sets the model of the product.
public
setProductsPrice(DecimalType $productsPrice) : QuickEditProductSpecialPriceListItem
Parameters
- $productsPrice : DecimalType
-
Product price.
Return values
QuickEditProductSpecialPriceListItem —Returns same instance for chained method calls.
setQuantity()
Sets the quantity of the product.
public
setQuantity(DecimalType $quantity) : QuickEditProductSpecialPriceListItem
Parameters
- $quantity : DecimalType
-
Product quantity.
Return values
QuickEditProductSpecialPriceListItem —Returns same instance for chained method calls.
setStatus()
Sets the status of the product.
public
setStatus(BoolType $status) : QuickEditProductSpecialPriceListItem
Parameters
- $status : BoolType
-
Product status.
Return values
QuickEditProductSpecialPriceListItem —Returns same instance for chained method calls.
setTax()
Sets the tax of the product.
public
setTax(DecimalType $tax) : QuickEditProductSpecialPriceListItem
Parameters
- $tax : DecimalType
-
Product tax.
Return values
QuickEditProductSpecialPriceListItem —QuickEdit product special price collection.