Skip to content

\Einvoicing\Identifier

__construct()

Class constructor

public __construct($value: string, $scheme: string|null = null)

Parameters

  • $value: string — Value
  • $scheme: string|null — Scheme ID

getValue()

Get value

public getValue(): string

Returns

  • string — Value

setValue()

Set value

public setValue($value: string): \Einvoicing\Identifier

Parameters

  • $value: string — Value

Returns


getScheme()

Get scheme ID

public getScheme(): string|null

Returns

  • string|null — Scheme ID

setScheme()

Set scheme ID

public setScheme($scheme: string|null): \Einvoicing\Identifier

Parameters

  • $scheme: string|null — Scheme ID

Returns