Skip to content

Class.AllowanceCharge

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

einvoicing / AllowanceCharge

Class: AllowanceCharge

Extends

Constructors

new AllowanceCharge()

protected new AllowanceCharge(props): AllowanceCharge

Parameters

props

IAllowanceCharge

Returns

AllowanceCharge

Inherited from

ValueObject.constructor

Defined in

base/ValueObject.ts:18

Properties

props

readonly props: IAllowanceCharge

Inherited from

ValueObject.props

Defined in

base/ValueObject.ts:16

Accessors

amount

Get Signature

get amount(): number

Get the amount.

Returns

number

Set Signature

set amount(value): void

Set the amount.

Parameters
value

number

Returns

void

Defined in

valueObject/AllowanceCharge.ts:88


factorAmount

Get Signature

get factorAmount(): number

Get the factor amount.

Returns

number

Set Signature

set factorAmount(value): void

Set the factor amount.

Parameters
value

number

Returns

void

Defined in

valueObject/AllowanceCharge.ts:74


isCharge

Get Signature

get isCharge(): boolean

Get whether it is a charge.

Returns

boolean

Set Signature

set isCharge(value): void

Set whether it is a charge.

Parameters
value

boolean

Returns

void

Defined in

valueObject/AllowanceCharge.ts:32


reasonCode

Get Signature

get reasonCode(): string

Get the reason code.

Returns

string

Set Signature

set reasonCode(value): void

Set the reason code.

Parameters
value

string

Returns

void

Defined in

valueObject/AllowanceCharge.ts:46


reasonText

Get Signature

get reasonText(): string

Get the reason text.

Returns

string

Set Signature

set reasonText(value): void

Set the reason text.

Parameters
value

string

Returns

void

Defined in

valueObject/AllowanceCharge.ts:60


tax

Get Signature

get tax(): Tax

Get the tax.

Returns

Tax

Set Signature

set tax(value): void

Set the tax.

Parameters
value

Tax

Returns

void

Defined in

valueObject/AllowanceCharge.ts:102

Methods

equals()

equals(vo?): boolean

Parameters

vo?

ValueObject<IAllowanceCharge>

Returns

boolean

Inherited from

ValueObject.equals

Defined in

base/ValueObject.ts:22


toPrimitive()

toPrimitive(): IAllowanceCharge

Returns

IAllowanceCharge

Defined in

valueObject/AllowanceCharge.ts:113


create()

static create(ref): AllowanceCharge

Parameters

ref

IAllowanceCharge

Returns

AllowanceCharge

Defined in

valueObject/AllowanceCharge.ts:22

Clone this wiki locally