Skip to content

Class.AllowanceCharge

github-actions[bot] edited this page Jan 7, 2025 · 12 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:106


baseAmount

Get Signature

get baseAmount(): number

Get the base amount.

Returns

number

Set Signature

set baseAmount(value): void

Set the base amount.

Parameters
value

number

Returns

void

Defined in

valueObject/AllowanceCharge.ts:92


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


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


isPercentage

Get Signature

get isPercentage(): boolean

Returns

boolean

Defined in

valueObject/AllowanceCharge.ts:29


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


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


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

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


create()

static create(ref): AllowanceCharge

Parameters

ref

IAllowanceCharge

Returns

AllowanceCharge

Defined in

valueObject/AllowanceCharge.ts:22

Clone this wiki locally