Skip to content

Class.InvoiceReference

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

einvoicing / InvoiceReference

Class: InvoiceReference

Extends

Constructors

new InvoiceReference()

protected new InvoiceReference(props): InvoiceReference

Parameters

props

IInvoiceReference

Returns

InvoiceReference

Inherited from

ValueObject.constructor

Defined in

base/ValueObject.ts:18

Properties

props

readonly props: IInvoiceReference

Inherited from

ValueObject.props

Defined in

base/ValueObject.ts:16

Accessors

id

Get Signature

get id(): string

Get the invoice reference ID.

Returns

string

Set Signature

set id(value): void

Set the invoice reference ID.

Parameters
value

string

Returns

void

Defined in

valueObject/InvoiceReference.ts:24


issueDate

Get Signature

get issueDate(): DateOnly

Get the issue date.

Returns

DateOnly

Set Signature

set issueDate(value): void

Set the issue date.

Parameters
value

DateOnly

Returns

void

Defined in

valueObject/InvoiceReference.ts:38

Methods

equals()

equals(vo?): boolean

Parameters

vo?

ValueObject<IInvoiceReference>

Returns

boolean

Inherited from

ValueObject.equals

Defined in

base/ValueObject.ts:22


toPrimitive()

toPrimitive(): IInvoiceReference

Returns

IInvoiceReference

Defined in

valueObject/InvoiceReference.ts:49


create()

static create(ref): InvoiceReference

Parameters

ref

IInvoiceReference

Returns

InvoiceReference

Defined in

valueObject/InvoiceReference.ts:17

Clone this wiki locally