Class OrderStatus

Class OrderStatus

OrderStatus implements OrderStatusInterface

Methods summary

public __construct( IntType $id = null )

OrderStatus constructor.

public getId( void ) : integer|null

Returns the order status id.

public getNames( void ) : array

Returns the order status names.

public getName( LanguageCode $languageCode ) : string

Returns the order status name by the given language id.

public setName( LanguageCode $languageCode, StringType $name ) :

Sets the order status name.

public getColor( void ) : string

Returns the order status label-color.

public setColor( StringType $color ) :

Sets the order status label-color.

Properties summary

protected $id : integer|null

		
protected $names : array
[]
protected $color : string