ProductAttributeInterface

Extends

Interface ProductAttributeInterface

category

System

package

ProductModule

subpackage

Interfaces

Methods

Returns the ean of the product attribute.

getAttributeEan() : string

Response

string

Ean of product attribute.

Returns the attribute model of the product attribute.

getAttributeModel() : string

Response

string

Model of product attribute.

Returns the option id of the product attribute.

getOptionId() : integer

Response

integer

Option id of product attribute.

Returns option value id of the product attribute.

getOptionValueId() : integer

Response

integer

Option value id of product attribute.

Returns the price of the product attribute.

getPrice() : float

Response

float

Price of product attribute.

Returns the price type of the product attribute.

getPriceType() : string

Response

string

Price type of product attribute.

Returns the sort order of the product attribute.

getSortOrder() : integer

Response

integer

Sort order of product attribute.

Returns the stock of the product attribute.

getStock() : float

Response

float

Stock of product attribute.

Returns the vpe id of the product attribute.

getVpeId() : integer

Response

integer

Vpe id of product attribute.

Returns the product vpe value of the product attribute.

getVpeValue() : float

Response

float

Vpe value of product attribute.

Returns the weight of the product attribute.

getWeight() : float

Response

float

Weight of product attribute.

Returns the weight type of the product attribute.

getWeightType() : string

Response

string

Weight type of product attribute.

Sets the ean of the product attribute.

setAttributeEan(\StringType $attributeEan) : \ProductAttributeInterface|$this

Arguments

$attributeEan

\StringType

New ean.

Response

\ProductAttributeInterface|$this

Same instance for chained method calls.

Sets the attribute model of the product attribute.

setAttributeModel(\StringType $attributeModel) : \ProductAttributeInterface|$this

Arguments

$attributeModel

\StringType

New attribute model.

Response

\ProductAttributeInterface|$this

Same instance for chained method calls.

Sets the option id of the product attribute.

setOptionId(\IdType $optionId) : \ProductAttributeInterface|$this

Arguments

$optionId

\IdType

Option id of product attribute.

Response

\ProductAttributeInterface|$this

Same instance for chained method calls.

Sets the option value id.

setOptionValueId(\IdType $optionValueId) : \ProductAttributeInterface|$this

Arguments

$optionValueId

\IdType

Option value id of product attribute.

Response

\ProductAttributeInterface|$this

Same instance for chained method calls.

Sets the price of the product attribute.

setPrice(\DecimalType $price) : \ProductAttributeInterface|$this

Arguments

$price

\DecimalType

New price of product attribute.

Response

\ProductAttributeInterface|$this

Same instance for chained method calls.

Sets the price type of the product attribute.

setPriceType(\StringType $priceType) : \ProductAttributeInterface|$this

Arguments

$priceType

\StringType

New price type.

Response

\ProductAttributeInterface|$this

Same instance for chained method calls.

Sets the sort order of the product attribute.

setSortOrder(\IntType $sortOrder) : \ProductAttributeInterface|$this

Arguments

$sortOrder

\IntType

New sort order position.

Response

\ProductAttributeInterface|$this

Same instance for chained method calls.

Sets the stock of the product attribute.

setStock(\DecimalType $stock) : \ProductAttributeInterface|$this

Arguments

$stock

\DecimalType

New stock

Response

\ProductAttributeInterface|$this

Same instance for chained method calls.

Sets the vpe id of the product attribute.

setVpeId(\IdType $vpeId) : \ProductAttributeInterface|$this

Arguments

$vpeId

\IdType

New vpe id.

Response

\ProductAttributeInterface|$this

Same instance for chained method calls.

Sets the vpe value of the product attribute.

setVpeValue(\DecimalType $vpeValue) : \ProductAttributeInterface|$this

Arguments

$vpeValue

\DecimalType

New vpe value.

Response

\ProductAttributeInterface|$this

Same instance for chained method calls.

Sets the weight of the product attribute.

setWeight(\DecimalType $weight) : \ProductAttributeInterface|$this

Arguments

$weight

\DecimalType

New weight.

Response

\ProductAttributeInterface|$this

Same instance for chained method calls.

Sets the weight type of the product attribute.

setWeightType(\StringType $weightType) : \ProductAttributeInterface|$this

Arguments

$weightType

\StringType

New weight type.

Response

\ProductAttributeInterface|$this

Same instance for chained method calls.