Skip to content

Class.BinaryObject

github-actions[bot] edited this page Jan 3, 2025 · 11 revisions

einvoicing / BinaryObject

Class: BinaryObject

Extends

Constructors

new BinaryObject()

protected new BinaryObject(props): BinaryObject

Parameters

props

IBinaryObject

Returns

BinaryObject

Inherited from

ValueObject.constructor

Defined in

base/ValueObject.ts:18

Properties

props

readonly props: IBinaryObject

Inherited from

ValueObject.props

Defined in

base/ValueObject.ts:16

Accessors

content

Get Signature

get content(): string

Get the content.

Returns

string

Set Signature

set content(value): void

Set the content.

Parameters
value

string

Returns

void

Defined in

valueObject/BinaryObject.ts:62


filename

Get Signature

get filename(): string

Get the filename.

Returns

string

Set Signature

set filename(value): void

Set the filename.

Parameters
value

string

Returns

void

Defined in

valueObject/BinaryObject.ts:48


mimeCode

Get Signature

get mimeCode(): string

Get the MIME code.

Returns

string

Set Signature

set mimeCode(value): void

Set the MIME code.

Parameters
value

string

Returns

void

Defined in

valueObject/BinaryObject.ts:34

Methods

equals()

equals(vo?): boolean

Parameters

vo?

ValueObject<IBinaryObject>

Returns

boolean

Inherited from

ValueObject.equals

Defined in

base/ValueObject.ts:22


toPrimitive()

toPrimitive(): IBinaryObject

Returns

IBinaryObject

Defined in

valueObject/BinaryObject.ts:73


create()

static create(ref): BinaryObject

Parameters

ref

IBinaryObject

Returns

BinaryObject

Defined in

valueObject/BinaryObject.ts:17


createFromBase64()

static createFromBase64(ref): BinaryObject

Parameters

ref

Omit<IBinaryObject, "content"> & object

Returns

BinaryObject

Defined in

valueObject/BinaryObject.ts:21

Clone this wiki locally