StoredProductAttribute

Extends \ProductAttribute Implements \StoredProductAttributeInterface

Class StoredProductAttribute

category

System

package

ProductModule

subpackage

Entities

Methods

Initialize the product attribute.

__construct(\IdType $optionId, \IdType $valueId) 
inherited

Arguments

$optionId

\IdType

Option id of product attribute.

$valueId

\IdType

Option value id of product attribute.

Returns the ean of the product attribute.

getAttributeEan() : string
inherited

Response

string

Ean of product attribute.

Returns the attribute id.

getAttributeId() : integer

Response

integer

Id of product attribute.

Returns the attribute model of the product attribute.

getAttributeModel() : string
inherited

Response

string

Model of product attribute.

Returns the option id of the product attribute.

getOptionId() : integer
inherited

Response

integer

Option id of product attribute.

Returns option value id of the product attribute.

getOptionValueId() : integer
inherited

Response

integer

Option value id of product attribute.

Returns the price of the product attribute.

getPrice() : float
inherited

Response

float

Price of product attribute.

Returns the price type of the product attribute.

getPriceType() : string
inherited

Response

string

Price type of product attribute.

Returns the sort order of the product attribute.

getSortOrder() : integer
inherited

Response

integer

Sort order of product attribute.

Returns the stock of the product attribute.

getStock() : float
inherited

Response

float

Stock of product attribute.

Returns the vpe id of the product attribute.

getVpeId() : integer
inherited

Response

integer

Vpe id of product attribute.

Returns the product vpe value of the product attribute.

getVpeValue() : float
inherited

Response

float

Vpe value of product attribute.

Returns the weight of the product attribute.

getWeight() : float
inherited

Response

float

Weight of product attribute.

Returns the weight type of the product attribute.

getWeightType() : string
inherited

Response

string

Weight type of product attribute.

Sets the ean of the product attribute.

setAttributeEan(\StringType $attributeEan) : \ProductAttribute|$this
inherited

Arguments

$attributeEan

\StringType

New ean.

Response

\ProductAttribute|$this

Same instance for chained method calls.

Sets the attribute model of the product attribute.

setAttributeModel(\StringType $attributeModel) : \ProductAttribute|$this
inherited

Arguments

$attributeModel

\StringType

New attribute model.

Response

\ProductAttribute|$this

Same instance for chained method calls.

Sets the option id of the product attribute.

setOptionId(\IdType $optionId) : \ProductAttribute|$this
inherited

Arguments

$optionId

\IdType

Option id of product attribute.

Response

\ProductAttribute|$this

Same instance for chained method calls.

Sets the option value id.

setOptionValueId(\IdType $optionValueId) : \ProductAttribute|$this
inherited

Arguments

$optionValueId

\IdType

Option value id of product attribute.

Response

\ProductAttribute|$this

Same instance for chained method calls.

Sets the price of the product attribute.

setPrice(\DecimalType $price) : \ProductAttribute|$this
inherited

Arguments

$price

\DecimalType

New price of product attribute.

Response

\ProductAttribute|$this

Same instance for chained method calls.

Sets the price type of the product attribute.

setPriceType(\StringType $priceType) : \ProductAttribute|$this
inherited

Arguments

$priceType

\StringType

New price type.

Response

\ProductAttribute|$this

Same instance for chained method calls.

Sets the sort order of the product attribute.

setSortOrder(\IntType $sortOrder) : \ProductAttribute|$this
inherited

Arguments

$sortOrder

\IntType

New sort order position.

Response

\ProductAttribute|$this

Same instance for chained method calls.

Sets the stock of the product attribute.

setStock(\DecimalType $stock) : \ProductAttribute|$this
inherited

Arguments

$stock

\DecimalType

New stock

Response

\ProductAttribute|$this

Same instance for chained method calls.

Sets the vpe id of the product attribute.

setVpeId(\IdType $vpeId) : \ProductAttribute|$this
inherited

Arguments

$vpeId

\IdType

New vpe id.

Response

\ProductAttribute|$this

Same instance for chained method calls.

Sets the vpe value of the product attribute.

setVpeValue(\DecimalType $vpeValue) : \ProductAttribute|$this
inherited

Arguments

$vpeValue

\DecimalType

New vpe value.

Response

\ProductAttribute|$this

Same instance for chained method calls.

Sets the weight of the product attribute.

setWeight(\DecimalType $weight) : \ProductAttribute|$this
inherited

Arguments

$weight

\DecimalType

New weight.

Response

\ProductAttribute|$this

Same instance for chained method calls.

Sets the weight type of the product attribute.

setWeightType(\StringType $weightType) : \ProductAttribute|$this
inherited

Arguments

$weightType

\StringType

New weight type.

Response

\ProductAttribute|$this

Same instance for chained method calls.

Properties

attributeId

attributeId : integer
var

Type(s)

integer

optionId

optionId : integer
inherited
var

Type(s)

integer

optionValueId

optionValueId : integer
inherited
var

Type(s)

integer

price

price : float
inherited
var

Type(s)

float

priceType

priceType : string
inherited
var

Type(s)

string

weight

weight : float
inherited
var

Type(s)

float

weightType

weightType : string
inherited
var

Type(s)

string

attributeModel

attributeModel : string
inherited
var

Type(s)

string

attributeEan

attributeEan : string
inherited
var

Type(s)

string

stock

stock : float
inherited
var

Type(s)

float

sortOrder

sortOrder : integer
inherited
var

Type(s)

integer

vpeId

vpeId : integer
inherited
var

Type(s)

integer

vpeValue

vpeValue : float
inherited
var

Type(s)

float