Skip to content

Class.Identifier

github-actions[bot] edited this page Dec 9, 2024 · 6 revisions

einvoicing / Identifier

Class: Identifier

Extends

Constructors

new Identifier()

protected new Identifier(props): Identifier

Parameters

props

IIdentifier

Returns

Identifier

Inherited from

ValueObject.constructor

Defined in

base/ValueObject.ts:18

Properties

props

readonly props: IIdentifier

Inherited from

ValueObject.props

Defined in

base/ValueObject.ts:16

Accessors

id

Get Signature

get id(): string

Get the identifier ID.

Returns

string

Set Signature

set id(value): void

Set the identifier ID.

Parameters
value

string

Returns

void

Defined in

valueObject/Identifier.ts:24


scheme

Get Signature

get scheme(): string

Get the identifier scheme.

Returns

string

Set Signature

set scheme(value): void

Set the identifier scheme.

Parameters
value

string

Returns

void

Defined in

valueObject/Identifier.ts:38

Methods

equals()

equals(vo?): boolean

Parameters

vo?

ValueObject<IIdentifier>

Returns

boolean

Inherited from

ValueObject.equals

Defined in

base/ValueObject.ts:22


toPrimitive()

toPrimitive(): IIdentifier

Returns

IIdentifier

Defined in

valueObject/Identifier.ts:49


create()

static create(props): Identifier

Parameters

props

IIdentifier

Returns

Identifier

Defined in

valueObject/Identifier.ts:17

Clone this wiki locally