FeaturedProduct

Implements \FeaturedProductInterface

Class FeaturedProduct

package

Default

Methods

FeaturedProduct constructor.

__construct(\FeaturedProductSettingsInterface $settings, \IntType $productsId, \StringType $name, \IntType $vpeID, \StringType $image, \StringType $imageAltText, \StringType $shortDescription, \StringType $metaDescription, \StringType $shippingStatusName, \DecimalType $price, \IntType $taxClassId, \DecimalType $quantity) 

Arguments

$productsId

\IntType

$name

\StringType

$vpeID

\IntType

$image

\StringType

$imageAltText

\StringType

$shortDescription

\StringType

$metaDescription

\StringType

$shippingStatusName

\StringType

$price

\DecimalType

$taxClassId

\IntType

$quantity

\DecimalType

Returns the image.

getImage() : string

Response

string

Returns the alternative image text.

getImageAltText() : string

Response

string

Returns product meta description.

getMetaDescription() : string

Response

string

Returns the name of the product.

getName() : string

Response

string

Returns product price.

getPrice() : float

Response

float

Returns the product ID.

getProductsId() : integer

Response

integer

Returns product tax class ID.

getQuantity() : float

Response

float

Return the featured product settings

getSettings() : \FeaturedProductSettingsInterface

Returns shipping status name.

getShippingStatusName() : string

Response

string

Returns product short description.

getShortDescription() : string

Response

string

Returns product tax class ID.

getTaxClassId() : integer

Response

integer

Get VPE ID

getVpeID() : integer

Response

integer

VPE ID.

Properties