LineAllowance
extends LineAllowanceCharge
in package
Read onlyYes
FinalYes
Invoice line allowance (BG-27).
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
$amount
public
Money|null
$amount
$baseAmount
public
Money|null
$baseAmount
= null
$percent
public
BigDecimal|null
$percent
= null
$reason
public
string|null
$reason
= null
$reasonCode
public
BackedEnum|RawCode|null
$reasonCode
= null
Methods
__construct()
public
__construct(Money|null $amount[, Money|null $baseAmount = null ][, BigDecimal|null $percent = null ][, string|null $reason = null ][, AllowanceReasonCode|RawCode|null $reasonCode = null ]) : mixed
Parameters
- $amount : Money|null
- $baseAmount : Money|null = null
- $percent : BigDecimal|null = null
- $reason : string|null = null
- $reasonCode : AllowanceReasonCode|RawCode|null = null
isCharge()
public
isCharge() : bool
Return values
boolreasonCodeValue()
public
reasonCodeValue() : string|null
Return values
string|nullwith()
public
with(array<string, mixed> $changes) : static
Parameters
- $changes : array<string, mixed>