public
|
|
public
integer|null
|
#
getId( )
Returns the order status id.
Returns the order status id.
Returns
integer|null
Implementation of
|
public
array
|
#
getNames( )
Returns the order status names.
Returns the order status names.
Returns
array Order status names.
Implementation of
|
public
string
|
#
getName( LanguageCode $languageCode )
Returns the order status name by the given language id.
Returns the order status name by the given language id.
Parameters
- $languageCode
- Expected language code.
Returns
string Expected status name by given language id.
Throws
Exception If no name exists by the given language id.
Implementation of
|
public
|
#
setName( LanguageCode $languageCode, StringType $name )
Sets the order status name.
Sets the order status name.
Parameters
- $languageCode
- Language code of order status name.
- $name
- Order status name.
Returns
$this|OrderStatus Same instance for chained method calls.
Implementation of
|
public
string
|
#
getColor( )
Returns the order status label-color.
Returns the order status label-color.
Returns
string Color of order status label.
Implementation of
|
public
|
#
setColor( StringType $color )
Sets the order status label-color.
Sets the order status label-color.
Parameters
- $color
- New color of order status label.
Returns
$this|OrderStatus Same instance for chained method calls.
Implementation of
|