QuantityUnitInterface

Extends

Interface QuantityUnitInterface

category

System

package

QuantityUnit

subpackage

Entities

Methods

Returns the id.

getId() : integer

Response

integer

Returns the quantity unit name.

getName(\LanguageCode $languageCode) : string

Arguments

$languageCode

\LanguageCode

Language code for language specific name value.

Response

string

Language specific name value.

Returns all language specific names.

getNames() : array

Response

array

Language specific names value.

Sets the id.

setId(\idType $quantityUnitId) : $this|\QuantityUnitInterface

Arguments

$quantityUnitId

\idType

Id to be set.

Response

$this|\QuantityUnitInterface

Same instance for chained method calls.

Sets the quantity unit name.

setName(\StringType $name, \LanguageCode $languageCode) : $this|\QuantityUnitInterface

Arguments

$name

\StringType

Name value to be set.

$languageCode

\LanguageCode

Language code for language specific name value.

Response

$this|\QuantityUnitInterface

Same instance for chained method calls.