Documentation

UserVatComponent extends Injectable
in package

Class UserVatComponent

Table of Contents

Properties

$countryEuList  : mixed
$user  : mixed
$userAllCountryVatList  : mixed
$userVatJobAssoc  : mixed
$userVatList  : mixed

Methods

forceUpdateUserVatList()  : void
getCountryEu()  : mixed
getCountryEuList()  : mixed
getIllegalSaleAndRefund()  : mixed
getUser()  : Client|null
getUserAllCountryVatList()  : array<string|int, mixed>
getUserVatJobAssoc()  : mixed
getUserVatJobList()  : mixed
getUserVatList()  : array<string|int, mixed>
getVatValidityProblems()  : array<string|int, mixed>
isFormDataEmpty()  : mixed
loadAllCountryUserVat()  : mixed
loadCountryEuList()  : mixed
loadJobUserVatList()  : mixed
loadNotRequireCountryUserVat()  : mixed
loadRequireCountryUserVat()  : array<string|int, mixed>
This method return all VAT when is filled or has suggest validity date.
loadUserVatByCountry()  : mixed
loadUserVatJobAssoc()  : mixed
loadUserVatList()  : array<string|int, mixed>|null
loadUserVatListByCountryId()  : array<string|int, mixed>|null
prepareForm()  : mixed
prepareNewVatForm()  : mixed
reachedThreshold()  : array<string|int, mixed>
setUser()  : Client|null
thresholdOverflowDate()  : bool|false|null|string
vatIdIsValid()  : mixed

Properties

Methods

getCountryEu()

public getCountryEu(int $countryId) : mixed
Parameters
$countryId : int

getUserAllCountryVatList()

public getUserAllCountryVatList() : array<string|int, mixed>
Return values
array<string|int, mixed>

getUserVatJobList()

public getUserVatJobList(int $countryId) : mixed
Parameters
$countryId : int

getUserVatList()

public getUserVatList() : array<string|int, mixed>
Return values
array<string|int, mixed>

getVatValidityProblems()

public getVatValidityProblems() : array<string|int, mixed>
Return values
array<string|int, mixed>

isFormDataEmpty()

public isFormDataEmpty([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

loadAllCountryUserVat()

public loadAllCountryUserVat([Client $user = null ][, array<string|int, mixed> $opt = [] ]) : mixed
Parameters
$user : Client = null
$opt : array<string|int, mixed> = []

loadJobUserVatList()

public loadJobUserVatList([Client $user = null ][, array<string|int, mixed> $opt = [] ]) : mixed
Parameters
$user : Client = null
$opt : array<string|int, mixed> = []

loadNotRequireCountryUserVat()

public loadNotRequireCountryUserVat([Client $user = null ][, array<string|int, mixed> $opt = [] ]) : mixed
Parameters
$user : Client = null
$opt : array<string|int, mixed> = []

loadRequireCountryUserVat()

This method return all VAT when is filled or has suggest validity date.

public loadRequireCountryUserVat([User|null $user = null ][, array<string|int, mixed> $opt = [] ]) : array<string|int, mixed>
Parameters
$user : User|null = null
$opt : array<string|int, mixed> = []
Return values
array<string|int, mixed>

loadUserVatByCountry()

public loadUserVatByCountry(mixed $countryId, array<string|int, mixed> $userIds) : mixed
Parameters
$countryId : mixed
$userIds : array<string|int, mixed>

loadUserVatListByCountryId()

public loadUserVatListByCountryId(mixed $countryId, array<string|int, mixed> $userIds) : array<string|int, mixed>|null
Parameters
$countryId : mixed
$userIds : array<string|int, mixed>
Return values
array<string|int, mixed>|null

prepareForm()

public prepareForm(UserVat $entity[, array<string|int, mixed> $data = null ]) : mixed
Parameters
$entity : UserVat
$data : array<string|int, mixed> = null

prepareNewVatForm()

public prepareNewVatForm(UserVat $entity[, array<string|int, mixed> $data = null ]) : mixed
Parameters
$entity : UserVat
$data : array<string|int, mixed> = null

reachedThreshold()

public reachedThreshold() : array<string|int, mixed>
Return values
array<string|int, mixed>

thresholdOverflowDate()

public thresholdOverflowDate(mixed $countryId, mixed $year) : bool|false|null|string
Parameters
$countryId : mixed
$year : mixed
Return values
bool|false|null|string

        
On this page

Search results