SummaryRow
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- getCountry() : Country
- getRate() : VatRate
- isEmpty() : mixed
- placeAmounts() : mixed
- toArray() : mixed
- findExisting() : mixed
Properties
$country
private
Country
$country
$list
private
array<string|int, Amounts>
$list
= []
$rate
private
VatRate
$rate
Methods
__construct()
public
__construct(Country $country, VatRate $rate) : mixed
Parameters
getCountry()
public
getCountry() : Country
Return values
CountrygetRate()
public
getRate() : VatRate
Return values
VatRateisEmpty()
public
isEmpty() : mixed
placeAmounts()
public
placeAmounts(Amounts $amounts) : mixed
Parameters
- $amounts : Amounts
toArray()
public
toArray() : mixed
findExisting()
private
findExisting(Amounts $amounts) : mixed
Parameters
- $amounts : Amounts