FeaturedProductFactory
in package
Class FeaturedProductFactory
Table of Contents
- create() : FeaturedProduct
- Create new featured product entity object
Methods
create()
Create new featured product entity object
public
static create(FeaturedProductSettingsInterface $settings, IntType $id, StringType $name, IntType $vpeId, StringType $image, StringType $imageAltText, StringType $shortDescription, StringType $metaDescription, StringType $shippingStatusName, DecimalType $price, IntType $taxClassId, DecimalType $quantity) : FeaturedProduct
Parameters
- $settings : FeaturedProductSettingsInterface
-
Product settings
- $id : IntType
-
Product ID
- $name : StringType
-
Product name
- $vpeId : IntType
-
Product VPE ID
- $image : StringType
-
Product image
- $imageAltText : StringType
-
Product image alternative text
- $shortDescription : StringType
-
Product short description
- $metaDescription : StringType
-
Product meta description
- $shippingStatusName : StringType
-
Product shipping status name
- $price : DecimalType
-
Product price
- $taxClassId : IntType
-
Product tax class ID
- $quantity : DecimalType
-
Product quantity