Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Geschaeftskundenversand
    • Helpers
    • Invoices
    • Orders
    • ParcelShopFinder
    • QuickEdit
    • Serializers
    • Templates
  • Geschaeftskundenversand
    • Exceptions
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • OrderStatus
    • Collections
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Repositories
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • QuickEdit
    • Interfaces
    • Repositories
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository
  • VersionInfo
    • Factories
    • Reader
    • ValueObjects

Classes

  • OrderStatus

Interfaces

  • OrderStatusInterface

Class OrderStatus

Class OrderStatus

OrderStatus implements OrderStatusInterface
Package: OrderStatus\Entities
Category: System
Located at Services/Core/OrderStatus/Entities/OrderStatus.inc.php

Methods summary

public
# __construct( IntType $id = null )

OrderStatus constructor.

OrderStatus constructor.

Parameters

$id
public integer|null
# getId( )

Returns the order status id.

Returns the order status id.

Returns

integer|null

Implementation of

OrderStatusInterface::getId()
public array
# getNames( )

Returns the order status names.

Returns the order status names.

Returns

array
Order status names.

Implementation of

OrderStatusInterface::getNames()
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

OrderStatusInterface::getName()
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

OrderStatusInterface::setName()
public string
# getColor( )

Returns the order status label-color.

Returns the order status label-color.

Returns

string
Color of order status label.

Implementation of

OrderStatusInterface::getColor()
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

OrderStatusInterface::setColor()

Properties summary

protected integer|null $id
#
protected array $names
# []
protected string $color
#
API documentation generated by ApiGen