Skip to content

Class.DocumentType

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

einvoicing / DocumentType

Class: DocumentType

Extends

Constructors

new DocumentType()

protected new DocumentType(props): DocumentType

Parameters

props
type

string

Returns

DocumentType

Inherited from

ValueObject.constructor

Defined in

base/ValueObject.ts:18

Properties

props

readonly props: object

type

type: string

Inherited from

ValueObject.props

Defined in

base/ValueObject.ts:16

Methods

equals()

equals(vo?): boolean

Parameters

vo?

ValueObject<{ type: string; }>

Returns

boolean

Inherited from

ValueObject.equals

Defined in

base/ValueObject.ts:22


toPrimitive()

toPrimitive(): string

Returns

string

Defined in

valueObject/DocumentType.ts:17


create()

static create(type): DocumentType

Parameters

type

string

Returns

DocumentType

Defined in

valueObject/DocumentType.ts:13

Clone this wiki locally