Quittio 0.3 API

LineCharge extends LineAllowanceCharge
in package

Read onlyYes
FinalYes

Invoice line charge (BG-28).

Table of Contents

Properties

$amount  : Money|null
$baseAmount  : Money|null
$percent  : BigDecimal|null
$reason  : string|null
$reasonCode  : BackedEnum|RawCode|null

Methods

__construct()  : mixed
isCharge()  : bool
reasonCodeValue()  : string|null
with()  : static

Properties

Methods

__construct()

public __construct(Money|null $amount[, Money|null $baseAmount = null ][, BigDecimal|null $percent = null ][, string|null $reason = null ][, ChargeReasonCode|RawCode|null $reasonCode = null ]) : mixed
Parameters
$amount : Money|null
$baseAmount : Money|null = null
$percent : BigDecimal|null = null
$reason : string|null = null
$reasonCode : ChargeReasonCode|RawCode|null = null

isCharge()

public isCharge() : bool
Return values
bool

with()

public with(array<string, mixed> $changes) : static
Parameters
$changes : array<string, mixed>
Return values
static
On this page

Search results