Skip to content

API reference / Quittio \ Core \ Enums

ItemClassificationScheme

string-backed enum in quittio/core · uses HasLabel

Quittio\Core\Enums\ItemClassificationScheme · Source

Item classification scheme (BT-158-1), UNTDID 7143 subset. Further codes can be used as RawCode.

Cases#

CaseValueDescription
HarmonisedSystem'HS'
Unspsc'TST'
CustomsArticleNumber'CV'
NationalProductGroup'GN'
Isbn'IB'
ProductServiceId'MP'
MutuallyDefined'ZZZ'

Methods#

MethodDescription
::isValidCode()Whether a raw code value is valid according to the official code list.
->label()
::labelGroup()

isValidCode()#

public static function isValidCode(string $code): bool

static

Whether a raw code value is valid according to the official code list.

ParameterTypeDescription
$codestring
Returns
bool

label()#

public function label(?string $locale = null): string
ParameterTypeDescription
$locale?string = null
Returns
string

labelGroup()#

public static function labelGroup(): string

static

Returns
string

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.