Skip to content

Class.Attribute

github-actions[bot] edited this page Jan 7, 2025 · 12 revisions

einvoicing / Attribute

Class: Attribute

Extends

Constructors

new Attribute()

protected new Attribute(props): Attribute

Parameters

props

IAttribute

Returns

Attribute

Inherited from

ValueObject.constructor

Defined in

base/ValueObject.ts:18

Properties

props

readonly props: IAttribute

Inherited from

ValueObject.props

Defined in

base/ValueObject.ts:16

Accessors

name

Get Signature

get name(): string

Get the attribute name.

Returns

string

Set Signature

set name(value): void

Set the attribute name.

Parameters
value

string

Returns

void

Defined in

valueObject/Attribute.ts:23


value

Get Signature

get value(): string

Get the attribute value.

Returns

string

Set Signature

set value(value): void

Set the attribute value.

Parameters
value

string

Returns

void

Defined in

valueObject/Attribute.ts:37

Methods

equals()

equals(vo?): boolean

Parameters

vo?

ValueObject<IAttribute>

Returns

boolean

Inherited from

ValueObject.equals

Defined in

base/ValueObject.ts:22


toPrimitive()

toPrimitive(): IAttribute

Returns

IAttribute

Defined in

valueObject/Attribute.ts:48


create()

static create(ref): Attribute

Parameters

ref

IAttribute

Returns

Attribute

Defined in

valueObject/Attribute.ts:16

Clone this wiki locally