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
$countryEuList
protected
mixed
$countryEuList
$user
protected
mixed
$user
$userAllCountryVatList
protected
mixed
$userAllCountryVatList
$userVatJobAssoc
protected
mixed
$userVatJobAssoc
$userVatList
protected
mixed
$userVatList
Methods
forceUpdateUserVatList()
public
forceUpdateUserVatList() : void
getCountryEu()
public
getCountryEu(int $countryId) : mixed
Parameters
- $countryId : int
getCountryEuList()
public
getCountryEuList() : mixed
getIllegalSaleAndRefund()
public
getIllegalSaleAndRefund() : mixed
getUser()
public
getUser() : Client|null
Return values
Client|nullgetUserAllCountryVatList()
public
getUserAllCountryVatList() : array<string|int, mixed>
Return values
array<string|int, mixed>getUserVatJobAssoc()
public
getUserVatJobAssoc() : 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> = []
loadCountryEuList()
public
loadCountryEuList() : 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>
loadUserVatJobAssoc()
public
loadUserVatJobAssoc() : mixed
loadUserVatList()
public
loadUserVatList(UserWrapper $user) : array<string|int, mixed>|null
Parameters
- $user : UserWrapper
Return values
array<string|int, mixed>|nullloadUserVatListByCountryId()
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>|nullprepareForm()
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>setUser()
public
setUser(Client|UserWrapper $user) : Client|null
Parameters
- $user : Client|UserWrapper
Tags
Return values
Client|nullthresholdOverflowDate()
public
thresholdOverflowDate(mixed $countryId, mixed $year) : bool|false|null|string
Parameters
- $countryId : mixed
- $year : mixed
Return values
bool|false|null|stringvatIdIsValid()
public
vatIdIsValid() : mixed