FeaturedProductFactory

Class FeaturedProductFactory

package

Default

Methods

Create new featured product entity object

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
static

Arguments

$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

Response

\FeaturedProduct