VatIdCheckAllowance
in package
Read onlyYes
FinalYes
How many online VIES checks the caller has left. The UI hides the VAT id verification button when {@see canCheckOnline()} is false and may show {@see $resetsAt}.
limit / remaining are null for an unlimited caller. resetsAt is set only when the limit is exhausted.
Table of Contents
Properties
- $limit : int|null
- $remaining : int|null
- $resetsAt : DateTimeImmutable|null
- $unlimited : bool
Methods
- __construct() : mixed
- canCheckOnline() : bool
- createUnlimited() : self
- toArray() : array{unlimited: bool, canCheckOnline: bool, limit: int|null, remaining: int|null, resetsAt: string|null}
Properties
$limit
public
int|null
$limit
= null
$remaining
public
int|null
$remaining
= null
$resetsAt
public
DateTimeImmutable|null
$resetsAt
= null
$unlimited
public
bool
$unlimited
Methods
__construct()
public
__construct(bool $unlimited[, int|null $limit = null ][, int|null $remaining = null ][, DateTimeImmutable|null $resetsAt = null ]) : mixed
Parameters
- $unlimited : bool
- $limit : int|null = null
- $remaining : int|null = null
- $resetsAt : DateTimeImmutable|null = null
canCheckOnline()
public
canCheckOnline() : bool
Return values
boolcreateUnlimited()
public
static createUnlimited() : self
Return values
selftoArray()
public
toArray() : array{unlimited: bool, canCheckOnline: bool, limit: int|null, remaining: int|null, resetsAt: string|null}