QuickEditProductListItem
in package
Class QuickEditProductListItem
Tags
Table of Contents
- $category : string
- $discount : float
- $id : int
- $manufacturer : string
- $model : string
- $name : string
- $price : float
- $quantity : float
- $shippingCosts : float
- $shippingStatusName : string
- $shippingTimeId : int
- $specialPrice : float
- $specialPriceExpiresDate : string
- $specialPriceId : int
- $specialPriceQuantity : float
- $specialPriceStatus : bool
- $status : bool
- $tax : float
- $taxClassId : int
- $weight : float
- __construct() : mixed
- QuickEditProductListItem constructor.
- getCategory() : int
- Returns the category of the product.
- getDiscount() : int
- Returns the discount of the product.
- getId() : int
- Returns the Id of the product.
- getManufacturer() : int
- Returns the manufacturer of the product.
- getModel() : int
- Returns the model of the product.
- getName() : int
- Returns the name of the product.
- getPrice() : int
- Returns the price of the product.
- getQuantity() : int
- Returns the quantity of the product.
- getShippingCosts() : int
- Returns the shipping costs of the product.
- getShippingStatusName() : int
- Returns the shipping status name of the product.
- getShippingTimeId() : int
- Returns the shipping time id of the product.
- getSpecialPrice() : int
- Returns the special price of the product.
- getSpecialPriceExpiresDate() : int
- Returns the special price expires date of the product.
- getSpecialPriceId() : int
- Returns the special price id of the product.
- getSpecialPriceQuantity() : int
- Returns the special price quantity of the product.
- getSpecialPriceStatus() : int
- Returns the special price status of the product.
- getStatus() : int
- Returns the status of the product.
- getTax() : int
- Returns the tax of the product.
- getTaxClassId() : int
- Returns the tax class id of the product.
- getWeight() : int
- Returns the weight of the product.
- setCategory() : QuickEditProductListItem
- Sets the category of the product.
- setDiscount() : QuickEditProductListItem
- Sets the discount of the product.
- setId() : QuickEditProductListItem
- Sets the id of the product.
- setManufacturer() : QuickEditProductListItem
- Sets the manufacturer of the product.
- setModel() : QuickEditProductListItem
- Sets the model of the product.
- setName() : QuickEditProductListItem
- Sets the name of the product.
- setPrice() : QuickEditProductListItem
- Sets the price of the product.
- setQuantity() : QuickEditProductListItem
- Sets the quantity of the product.
- setShippingCosts() : QuickEditProductListItem
- Sets the shipping costs of the product.
- setShippingStatusName() : QuickEditProductListItem
- Sets the shipping status name of the product.
- setShippingTimeId() : QuickEditProductListItem
- Sets the shipping time id of the product.
- setSpecialPrice() : QuickEditProductListItem
- Sets the special price of the product.
- setSpecialPriceExpiresDate() : QuickEditProductListItem
- Sets the special price expires date of the product.
- setSpecialPriceId() : QuickEditProductListItem
- Sets the special price id of the product.
- setSpecialPriceQuantity() : QuickEditProductListItem
- Sets the special price quantity of the product.
- setSpecialPriceStatus() : QuickEditProductListItem
- Sets the special price status of the product.
- setStatus() : QuickEditProductListItem
- Sets the status of the product.
- setTax() : QuickEditProductListItem
- Sets the tax of the product.
- setTaxClassId() : QuickEditProductListItem
- Sets the tax class id of the product.
- setWeight() : QuickEditProductListItem
- Sets the weight of the product.
Properties
$category
protected
string
$category
$discount
protected
float
$discount
$id
protected
int
$id
$manufacturer
protected
string
$manufacturer
$model
protected
string
$model
$name
protected
string
$name
$price
protected
float
$price
$quantity
protected
float
$quantity
$shippingCosts
protected
float
$shippingCosts
$shippingStatusName
protected
string
$shippingStatusName
$shippingTimeId
protected
int
$shippingTimeId
$specialPrice
protected
float
$specialPrice
$specialPriceExpiresDate
protected
string
$specialPriceExpiresDate
$specialPriceId
protected
int
$specialPriceId
$specialPriceQuantity
protected
float
$specialPriceQuantity
$specialPriceStatus
protected
bool
$specialPriceStatus
$status
protected
bool
$status
$tax
protected
float
$tax
$taxClassId
protected
int
$taxClassId
$weight
protected
float
$weight
Methods
__construct()
QuickEditProductListItem constructor.
public
__construct(array<string|int, mixed> $value) : mixed
Parameters
- $value : array<string|int, mixed>
-
Contains product data.
Return values
mixed —getCategory()
Returns the category of the product.
public
getCategory() : int
Return values
int —Returns the category of the product.
getDiscount()
Returns the discount of the product.
public
getDiscount() : int
Return values
int —Returns the discount of the product.
getId()
Returns the Id of the product.
public
getId() : int
Return values
int —Returns the Id of the product.
getManufacturer()
Returns the manufacturer of the product.
public
getManufacturer() : int
Return values
int —Returns the manufacturer of the product.
getModel()
Returns the model of the product.
public
getModel() : int
Return values
int —Returns the model of the product.
getName()
Returns the name of the product.
public
getName() : int
Return values
int —Returns the name of the product.
getPrice()
Returns the price of the product.
public
getPrice() : 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.
getShippingCosts()
Returns the shipping costs of the product.
public
getShippingCosts() : int
Return values
int —Returns the shipping costs of the product.
getShippingStatusName()
Returns the shipping status name of the product.
public
getShippingStatusName() : int
Return values
int —Returns the shipping status name of the product.
getShippingTimeId()
Returns the shipping time id of the product.
public
getShippingTimeId() : int
Return values
int —Returns the shipping time id of the product.
getSpecialPrice()
Returns the special price of the product.
public
getSpecialPrice() : int
Return values
int —Returns the special price of the product.
getSpecialPriceExpiresDate()
Returns the special price expires date of the product.
public
getSpecialPriceExpiresDate() : int
Return values
int —Returns the special price expires date of the product.
getSpecialPriceId()
Returns the special price id of the product.
public
getSpecialPriceId() : int
Return values
int —Returns the special price id of the product.
getSpecialPriceQuantity()
Returns the special price quantity of the product.
public
getSpecialPriceQuantity() : int
Return values
int —Returns the special price quantity of the product.
getSpecialPriceStatus()
Returns the special price status of the product.
public
getSpecialPriceStatus() : int
Return values
int —Returns the special price status 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.
getTaxClassId()
Returns the tax class id of the product.
public
getTaxClassId() : int
Return values
int —Returns the tax class id of the product.
getWeight()
Returns the weight of the product.
public
getWeight() : int
Return values
int —Returns the weight of the product.
setCategory()
Sets the category of the product.
public
setCategory(StringType $category) : QuickEditProductListItem
Parameters
- $category : StringType
-
Product category.
Return values
QuickEditProductListItem —QuickEdit product collection.
setDiscount()
Sets the discount of the product.
public
setDiscount(DecimalType $discount) : QuickEditProductListItem
Parameters
- $discount : DecimalType
-
Product discount.
Return values
QuickEditProductListItem —QuickEdit product collection.
setId()
Sets the id of the product.
public
setId(IdType $id) : QuickEditProductListItem
Parameters
- $id : IdType
-
Product id.
Return values
QuickEditProductListItem —QuickEdit product collection.
setManufacturer()
Sets the manufacturer of the product.
public
setManufacturer(StringType $manufacturer) : QuickEditProductListItem
Parameters
- $manufacturer : StringType
-
Product manufacturer.
Return values
QuickEditProductListItem —QuickEdit product collection.
setModel()
Sets the model of the product.
public
setModel(StringType $model) : QuickEditProductListItem
Parameters
- $model : StringType
-
Product model.
Return values
QuickEditProductListItem —QuickEdit product collection.
setName()
Sets the name of the product.
public
setName(StringType $name) : QuickEditProductListItem
Parameters
- $name : StringType
-
Product name.
Return values
QuickEditProductListItem —QuickEdit product collection.
setPrice()
Sets the price of the product.
public
setPrice(DecimalType $price) : QuickEditProductListItem
Parameters
- $price : DecimalType
-
Product price.
Return values
QuickEditProductListItem —QuickEdit product collection.
setQuantity()
Sets the quantity of the product.
public
setQuantity(DecimalType $quantity) : QuickEditProductListItem
Parameters
- $quantity : DecimalType
-
Product quantity.
Return values
QuickEditProductListItem —QuickEdit product collection.
setShippingCosts()
Sets the shipping costs of the product.
public
setShippingCosts(DecimalType $shippingCosts) : QuickEditProductListItem
Parameters
- $shippingCosts : DecimalType
-
Product shipping costs.
Return values
QuickEditProductListItem —QuickEdit product collection.
setShippingStatusName()
Sets the shipping status name of the product.
public
setShippingStatusName(StringType $shippingStatusName) : QuickEditProductListItem
Parameters
- $shippingStatusName : StringType
-
Product shipping status name.
Return values
QuickEditProductListItem —QuickEdit product collection.
setShippingTimeId()
Sets the shipping time id of the product.
public
setShippingTimeId(IntType $shippingTimeId) : QuickEditProductListItem
Parameters
- $shippingTimeId : IntType
-
Product shipping time id.
Return values
QuickEditProductListItem —QuickEdit product collection.
setSpecialPrice()
Sets the special price of the product.
public
setSpecialPrice(DecimalType $specialPrice) : QuickEditProductListItem
Parameters
- $specialPrice : DecimalType
-
Product special price.
Return values
QuickEditProductListItem —QuickEdit product collection.
setSpecialPriceExpiresDate()
Sets the special price expires date of the product.
public
setSpecialPriceExpiresDate(DateTime $specialPriceExpiresDate) : QuickEditProductListItem
Parameters
- $specialPriceExpiresDate : DateTime
-
Product special price expires date.
Return values
QuickEditProductListItem —QuickEdit product collection.
setSpecialPriceId()
Sets the special price id of the product.
public
setSpecialPriceId(IdType $specialPriceId) : QuickEditProductListItem
Parameters
- $specialPriceId : IdType
-
Product special price id.
Return values
QuickEditProductListItem —QuickEdit product collection.
setSpecialPriceQuantity()
Sets the special price quantity of the product.
public
setSpecialPriceQuantity(DecimalType $specialPriceQuanity) : QuickEditProductListItem
Parameters
- $specialPriceQuanity : DecimalType
-
Product special price quantity.
Return values
QuickEditProductListItem —QuickEdit product collection.
setSpecialPriceStatus()
Sets the special price status of the product.
public
setSpecialPriceStatus(BoolType $specialPriceStatus) : QuickEditProductListItem
Parameters
- $specialPriceStatus : BoolType
-
Product special price status.
Return values
QuickEditProductListItem —QuickEdit product collection.
setStatus()
Sets the status of the product.
public
setStatus(BoolType $status) : QuickEditProductListItem
Parameters
- $status : BoolType
-
Product status.
Return values
QuickEditProductListItem —QuickEdit product collection.
setTax()
Sets the tax of the product.
public
setTax(DecimalType $tax) : QuickEditProductListItem
Parameters
- $tax : DecimalType
-
Product tax.
Return values
QuickEditProductListItem —QuickEdit product collection.
setTaxClassId()
Sets the tax class id of the product.
public
setTaxClassId(IntType $taxClassId) : QuickEditProductListItem
Parameters
- $taxClassId : IntType
-
Product tax class id.
Return values
QuickEditProductListItem —QuickEdit product collection.
setWeight()
Sets the weight of the product.
public
setWeight(DecimalType $weight) : QuickEditProductListItem
Parameters
- $weight : DecimalType
-
Product weight.
Return values
QuickEditProductListItem —QuickEdit product collection.