Skip to content

Class.InvoiceReference

github-actions[bot] edited this page Dec 9, 2024 · 6 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:25


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:39

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:50


create()

static create(ref): InvoiceReference

Parameters

ref

IInvoiceReference

Returns

InvoiceReference

Defined in

valueObject/InvoiceReference.ts:18

Clone this wiki locally