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#
| Property | Type | Description |
|---|---|---|
$buyer readonly | ?CountryPack | |
$leading readonly | CountryPack |
Methods#
| Method | Description |
|---|---|
->__construct() | |
->all() | |
->isCrossBorder() | |
->isGeneric() |
__construct()#
public function __construct(CountryPack $leading, ?CountryPack $buyer = null)| Parameter | Type | Description |
|---|---|---|
$leading | CountryPack | |
$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