phpDocumentor

OrderStatusInterface

Interface OrderStatusInterface

Tags
category

System

subpackage

Entities

Table of Contents

getColor()  : string
Returns the order status label-color.
getId()  : int|null
Returns the order status id.
getName()  : string
Returns the order status name by the given language id.
getNames()  : array<string|int, mixed>
Returns the order status names.
setColor()  : $this|OrderStatus
Sets the order status label-color.
setName()  : $this|OrderStatus
Sets the order status name.

Methods

getColor()

Returns the order status label-color.

public getColor() : string
Return values
string

Color of order status label.

getName()

Returns the order status name by the given language id.

public getName(LanguageCode $languageCode) : string
Parameters
$languageCode : LanguageCode

Expected language code.

Tags
throws
Exception

If no name exists by the given language code.

Return values
string

Expected status name by given language id.

getNames()

Returns the order status names.

public getNames() : array<string|int, mixed>
Return values
array<string|int, mixed>

Order status names.

Search results