Skip to content

API reference / Quittio \ Core \ Countries

ResolvedCountries

final readonly class in quittio/core

Quittio\Core\Countries\ResolvedCountries · Source

Leading pack (seller side) and, for cross-border invoices, the buyer's pack.

Properties#

PropertyTypeDescription
$buyer readonly?CountryPack
$leading readonlyCountryPack

Methods#

MethodDescription
->__construct()
->all()
->isCrossBorder()
->isGeneric()

__construct()#

public function __construct(CountryPack $leading, ?CountryPack $buyer = null)
ParameterTypeDescription
$leadingCountryPack
$buyer?CountryPack = null

all()#

public function all(): list<CountryPack>
Returns
list<CountryPack>

isCrossBorder()#

public function isCrossBorder(): bool
Returns
bool

isGeneric()#

public function isGeneric(): bool
Returns
bool

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.