ProductAttributeInterface
in
Interface ProductAttributeInterface
Tags
Table of Contents
- getAttributeEan() : string
- Returns the ean of the product attribute.
- getAttributeModel() : string
- Returns the attribute model of the product attribute.
- getOptionId() : int
- Returns the option id of the product attribute.
- getOptionValueId() : int
- Returns option value id of the product attribute.
- getPrice() : float
- Returns the price of the product attribute.
- getPriceType() : string
- Returns the price type of the product attribute.
- getSortOrder() : int
- Returns the sort order of the product attribute.
- getStock() : float
- Returns the stock of the product attribute.
- getVpeId() : int
- Returns the vpe id of the product attribute.
- getVpeValue() : float
- Returns the product vpe value of the product attribute.
- getWeight() : float
- Returns the weight of the product attribute.
- getWeightType() : string
- Returns the weight type of the product attribute.
- setAttributeEan() : ProductAttributeInterface|$this
- Sets the ean of the product attribute.
- setAttributeModel() : ProductAttributeInterface|$this
- Sets the attribute model of the product attribute.
- setOptionId() : ProductAttributeInterface|$this
- Sets the option id of the product attribute.
- setOptionValueId() : ProductAttributeInterface|$this
- Sets the option value id.
- setPrice() : ProductAttributeInterface|$this
- Sets the price of the product attribute.
- setPriceType() : ProductAttributeInterface|$this
- Sets the price type of the product attribute.
- setSortOrder() : ProductAttributeInterface|$this
- Sets the sort order of the product attribute.
- setStock() : ProductAttributeInterface|$this
- Sets the stock of the product attribute.
- setVpeId() : ProductAttributeInterface|$this
- Sets the vpe id of the product attribute.
- setVpeValue() : ProductAttributeInterface|$this
- Sets the vpe value of the product attribute.
- setWeight() : ProductAttributeInterface|$this
- Sets the weight of the product attribute.
- setWeightType() : ProductAttributeInterface|$this
- Sets the weight type of the product attribute.
Methods
getAttributeEan()
Returns the ean of the product attribute.
public
getAttributeEan() : string
Return values
string —Ean of product attribute.
getAttributeModel()
Returns the attribute model of the product attribute.
public
getAttributeModel() : string
Return values
string —Model of product attribute.
getOptionId()
Returns the option id of the product attribute.
public
getOptionId() : int
Return values
int —Option id of product attribute.
getOptionValueId()
Returns option value id of the product attribute.
public
getOptionValueId() : int
Return values
int —Option value id of product attribute.
getPrice()
Returns the price of the product attribute.
public
getPrice() : float
Return values
float —Price of product attribute.
getPriceType()
Returns the price type of the product attribute.
public
getPriceType() : string
Return values
string —Price type of product attribute.
getSortOrder()
Returns the sort order of the product attribute.
public
getSortOrder() : int
Return values
int —Sort order of product attribute.
getStock()
Returns the stock of the product attribute.
public
getStock() : float
Return values
float —Stock of product attribute.
getVpeId()
Returns the vpe id of the product attribute.
public
getVpeId() : int
Return values
int —Vpe id of product attribute.
getVpeValue()
Returns the product vpe value of the product attribute.
public
getVpeValue() : float
Return values
float —Vpe value of product attribute.
getWeight()
Returns the weight of the product attribute.
public
getWeight() : float
Return values
float —Weight of product attribute.
getWeightType()
Returns the weight type of the product attribute.
public
getWeightType() : string
Return values
string —Weight type of product attribute.
setAttributeEan()
Sets the ean of the product attribute.
public
setAttributeEan(StringType $attributeEan) : ProductAttributeInterface|$this
Parameters
- $attributeEan : StringType
-
New ean.
Return values
ProductAttributeInterface|$this —Same instance for chained method calls.
setAttributeModel()
Sets the attribute model of the product attribute.
public
setAttributeModel(StringType $attributeModel) : ProductAttributeInterface|$this
Parameters
- $attributeModel : StringType
-
New attribute model.
Return values
ProductAttributeInterface|$this —Same instance for chained method calls.
setOptionId()
Sets the option id of the product attribute.
public
setOptionId(IdType $optionId) : ProductAttributeInterface|$this
Parameters
- $optionId : IdType
-
Option id of product attribute.
Return values
ProductAttributeInterface|$this —Same instance for chained method calls.
setOptionValueId()
Sets the option value id.
public
setOptionValueId(IdType $optionValueId) : ProductAttributeInterface|$this
Parameters
- $optionValueId : IdType
-
Option value id of product attribute.
Return values
ProductAttributeInterface|$this —Same instance for chained method calls.
setPrice()
Sets the price of the product attribute.
public
setPrice(DecimalType $price) : ProductAttributeInterface|$this
Parameters
- $price : DecimalType
-
New price of product attribute.
Return values
ProductAttributeInterface|$this —Same instance for chained method calls.
setPriceType()
Sets the price type of the product attribute.
public
setPriceType(StringType $priceType) : ProductAttributeInterface|$this
Parameters
- $priceType : StringType
-
New price type.
Return values
ProductAttributeInterface|$this —Same instance for chained method calls.
setSortOrder()
Sets the sort order of the product attribute.
public
setSortOrder(IntType $sortOrder) : ProductAttributeInterface|$this
Parameters
- $sortOrder : IntType
-
New sort order position.
Return values
ProductAttributeInterface|$this —Same instance for chained method calls.
setStock()
Sets the stock of the product attribute.
public
setStock(DecimalType $stock) : ProductAttributeInterface|$this
Parameters
- $stock : DecimalType
-
New stock
Return values
ProductAttributeInterface|$this —Same instance for chained method calls.
setVpeId()
Sets the vpe id of the product attribute.
public
setVpeId(IdType $vpeId) : ProductAttributeInterface|$this
Parameters
- $vpeId : IdType
-
New vpe id.
Return values
ProductAttributeInterface|$this —Same instance for chained method calls.
setVpeValue()
Sets the vpe value of the product attribute.
public
setVpeValue(DecimalType $vpeValue) : ProductAttributeInterface|$this
Parameters
- $vpeValue : DecimalType
-
New vpe value.
Return values
ProductAttributeInterface|$this —Same instance for chained method calls.
setWeight()
Sets the weight of the product attribute.
public
setWeight(DecimalType $weight) : ProductAttributeInterface|$this
Parameters
- $weight : DecimalType
-
New weight.
Return values
ProductAttributeInterface|$this —Same instance for chained method calls.
setWeightType()
Sets the weight type of the product attribute.
public
setWeightType(StringType $weightType) : ProductAttributeInterface|$this
Parameters
- $weightType : StringType
-
New weight type.
Return values
ProductAttributeInterface|$this —Same instance for chained method calls.