CoolCMS API

TaxCountry
in package

Read onlyYes
FinalYes

Raw country row the engine needs (`cms_system_countries`).

Table of Contents

Properties

$countryCode  : string
$euMember  : bool
$euMemberSince  : string|null
Y-m-d or null
$euMemberUntil  : string|null
Y-m-d or null
$vatPrefix  : string

Methods

__construct()  : mixed
isEuMemberOn()  : bool
EU membership on the supply date; without history the current flag decides.

Properties

$euMemberSince

Y-m-d or null

public string|null $euMemberSince = null

$euMemberUntil

Y-m-d or null

public string|null $euMemberUntil = null

Methods

__construct()

public __construct(string $countryCode, string $vatPrefix, bool $euMember[, string|null $euMemberSince = null ][, string|null $euMemberUntil = null ]) : mixed
Parameters
$countryCode : string
$vatPrefix : string
$euMember : bool
$euMemberSince : string|null = null
$euMemberUntil : string|null = null

isEuMemberOn()

EU membership on the supply date; without history the current flag decides.

public isEuMemberOn(DateTimeInterface $date) : bool
Parameters
$date : DateTimeInterface
Return values
bool
On this page

Search results