Skip to content

Class.Address

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

einvoicing / Address

Class: Address

Extends

Constructors

new Address()

protected new Address(props): Address

Parameters

props

IAddress

Returns

Address

Inherited from

ValueObject.constructor

Defined in

base/ValueObject.ts:18

Properties

props

readonly props: IAddress

Inherited from

ValueObject.props

Defined in

base/ValueObject.ts:16

Accessors

addressLines

Get Signature

get addressLines(): string[]

Get the address lines.

Returns

string[]

Set Signature

set addressLines(value): void

Set the address lines.

Parameters
value

string[]

Returns

void

Defined in

valueObject/Address.ts:98


cityName

Get Signature

get cityName(): string

Get the city name.

Returns

string

Set Signature

set cityName(value): void

Set the city name.

Parameters
value

string

Returns

void

Defined in

valueObject/Address.ts:56


countryCode

Get Signature

get countryCode(): string

Get the country code.

Returns

string

Set Signature

set countryCode(value): void

Set the country code.

Parameters
value

string

Returns

void

Defined in

valueObject/Address.ts:28


postalZone

Get Signature

get postalZone(): string

Get the postal zone.

Returns

string

Set Signature

set postalZone(value): void

Set the postal zone.

Parameters
value

string

Returns

void

Defined in

valueObject/Address.ts:70


streetName

Get Signature

get streetName(): string

Get the street name.

Returns

string

Set Signature

set streetName(value): void

Set the street name.

Parameters
value

string

Returns

void

Defined in

valueObject/Address.ts:84


subdivision

Get Signature

get subdivision(): string

Get the subdivision.

Returns

string

Set Signature

set subdivision(value): void

Set the subdivision.

Parameters
value

string

Returns

void

Defined in

valueObject/Address.ts:42

Methods

equals()

equals(vo?): boolean

Parameters

vo?

ValueObject<IAddress>

Returns

boolean

Inherited from

ValueObject.equals

Defined in

base/ValueObject.ts:22


toPrimitive()

toPrimitive(): IAddress

Returns

IAddress

Defined in

valueObject/Address.ts:109


create()

static create(props): Address

Parameters

props

IAddress

Returns

Address

Defined in

valueObject/Address.ts:21

Clone this wiki locally