Documentation

UserVatDetectService extends Injectable
in package

Class UserVatDetectService

Table of Contents

Properties

$countryService  : CountryService
$userVatDetectRepository  : UserVatDetectRepository
$userVatService  : UserVatService

Methods

__construct()  : mixed
UserVatDetectService constructor.
addDeletedUserVat()  : bool
Add deleted detect from UserVat
delete()  : bool
getAllByClientIdAndEventList()  : mixed
getAllByUserIdListAndEventListAndCountryId()  : mixed
getDeletedUserVatDetectByUserIdAndCountryId()  : UserVatDetect|null
getFirstUserVatDetectByUserIdAndCountryIdOrderByCreateTime()  : UserVatDetect|null
getThresholdByClientId()  : array<string|int, UserVatDetect>
getUserVatDetectByCountryId()  : array<string|int, UserVatDetect>|null
getUserVatDetectByUserId()  : array<string|int, UserVatDetect>|null
getUserVatDetectByUserIdAndCountryId()  : array<string|int, UserVatDetect>
getUserVatDetectByUserIdAndCountryIdList()  : array<string|int, UserVatDetect>
getUserVatDetectByUserIdAndCountryIdListAndEventNotIn()  : array<string|int, UserVatDetect>
getUserVatDetectByUserIdAndNoDeletedEvent()  : array<string|int, UserVatDetect>
getUserVatDetectByUserIdListAndCountryIdList()  : array<string|int, UserVatDetect>
save()  : bool
update()  : bool

Properties

Methods

addDeletedUserVat()

Add deleted detect from UserVat

public addDeletedUserVat(UserVat $userVat, TransactionInterface|null $transaction) : bool
Parameters
$userVat : UserVat
$transaction : TransactionInterface|null
Tags
throws
Exception
Return values
bool

getAllByClientIdAndEventList()

public getAllByClientIdAndEventList(int $clientId, array<string|int, int> $eventList) : mixed
Parameters
$clientId : int
$eventList : array<string|int, int>

getAllByUserIdListAndEventListAndCountryId()

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

getDeletedUserVatDetectByUserIdAndCountryId()

public getDeletedUserVatDetectByUserIdAndCountryId(int $userId, int $countryId) : UserVatDetect|null
Parameters
$userId : int
$countryId : int
Return values
UserVatDetect|null

getFirstUserVatDetectByUserIdAndCountryIdOrderByCreateTime()

public getFirstUserVatDetectByUserIdAndCountryIdOrderByCreateTime(int $userId, int $countryId) : UserVatDetect|null
Parameters
$userId : int
$countryId : int
Return values
UserVatDetect|null

getUserVatDetectByUserIdAndCountryId()

public getUserVatDetectByUserIdAndCountryId(int $userId, int $countryId) : array<string|int, UserVatDetect>
Parameters
$userId : int
$countryId : int
Return values
array<string|int, UserVatDetect>

getUserVatDetectByUserIdAndCountryIdList()

public getUserVatDetectByUserIdAndCountryIdList(int $userId, array<string|int, int> $countryIdList) : array<string|int, UserVatDetect>
Parameters
$userId : int
$countryIdList : array<string|int, int>
Return values
array<string|int, UserVatDetect>

getUserVatDetectByUserIdAndCountryIdListAndEventNotIn()

public getUserVatDetectByUserIdAndCountryIdListAndEventNotIn(int $userId, array<string|int, int> $countryIdList[, array<string|int, int> $eventList = [] ]) : array<string|int, UserVatDetect>
Parameters
$userId : int
$countryIdList : array<string|int, int>
$eventList : array<string|int, int> = []
Return values
array<string|int, UserVatDetect>

getUserVatDetectByUserIdAndNoDeletedEvent()

public getUserVatDetectByUserIdAndNoDeletedEvent(int $userId[, mixed $countryId = null ]) : array<string|int, UserVatDetect>
Parameters
$userId : int
$countryId : mixed = null
Return values
array<string|int, UserVatDetect>

getUserVatDetectByUserIdListAndCountryIdList()

public getUserVatDetectByUserIdListAndCountryIdList(array<string|int, int> $userIds, array<string|int, int> $countryIdList) : array<string|int, UserVatDetect>
Parameters
$userIds : array<string|int, int>
$countryIdList : array<string|int, int>
Return values
array<string|int, UserVatDetect>

        
On this page

Search results