Documentation

ApiUserVatController extends BaseController
in package

Class SettingsController

Table of Contents

Properties

$auth  : AuthComponent
$title  : mixed
$userVatSingleComponent  : UserVatSingleComponent
$bankingDetailSettingService  : BankingDetailSettingService
$clientRepository  : ClientRepository
$countryId  : int
$jobBankingDetailHandlerComponent  : JobBankingDetailHandlerComponent
$mergedUserVatService  : MergedUserVatService
$userCountryFilingCompanyService  : UserCountryFilingCompanyService
$userId  : int
$userOssFilingCompanyService  : UserOssFilingCompanyService
$userVatCertificatesService  : UserVatCertificatesService
$userVatDetectService  : UserVatDetectService

Methods

createAction()  : Response
deleteAction()  : Response
downloadCertificateAction()  : mixed
getAction()  : mixed
getCountriesAction()  : mixed
initialize()  : mixed
listAction()  : mixed
listByCountryAction()  : Response
listDeletedAction()  : mixed
listDeletedByCountryAction()  : Response
saveCertificateAction()  : Response
setTitle()  : mixed
updateAction()  : Response
getAllOssFilingCompanies()  : mixed
getClientById()  : mixed
getFilingCompanies()  : array<string|int, UserCountryFilingCompany>
getFilingCompaniesByCountryId()  : array<string|int, mixed>
getOptOuts()  : array<string|int, UserVatThresholdOptOut>
getOptOutsByCountryId()  : mixed
getOssFilingCompanies()  : array<string|int, UserOssFilingCompany>
getOssFilingCompaniesByCountryId()  : mixed
getUserVatDetectByUserVatList()  : array<string|int, array<string|int, UserVatDetect>>
getUserVatDetectByUserVatListAndEventNotIn()  : array<string|int, array<string|int, UserVatDetect>>
getUserVatDetectByUserVatListAndUserIdList()  : array<string|int, array<string|int, UserVatDetect>>
getUserVatDetectListByCountryIdWithNoDeletedEvent()  : array<string|int, array<string|int, UserVatDetect>>
getUserVatDetectListWithNoDeletedEvent()  : array<string|int, array<string|int, UserVatDetect>>
handleSave()  : mixed

Properties

Methods

createAction()

public createAction() : Response
Tags
throws
Exception
Return values
Response

downloadCertificateAction()

public downloadCertificateAction(string $certificateType, int $userId, int $countryId) : mixed
Parameters
$certificateType : string
$userId : int
$countryId : int
Tags
throws
Exception

listAction()

public listAction([mixed $userId = null ][, mixed $countryId = null ]) : mixed
Parameters
$userId : mixed = null
$countryId : mixed = null

listByCountryAction()

public listByCountryAction(mixed $countryId) : Response
Parameters
$countryId : mixed
Tags
throws
Exception
Return values
Response

listDeletedByCountryAction()

public listDeletedByCountryAction(mixed $countryId) : Response
Parameters
$countryId : mixed
Tags
throws
Exception
Return values
Response

setTitle()

public setTitle(mixed $title) : mixed
Parameters
$title : mixed

getClientById()

private getClientById(mixed $userId) : mixed
Parameters
$userId : mixed

getFilingCompaniesByCountryId()

private getFilingCompaniesByCountryId(int $countryId) : array<string|int, mixed>
Parameters
$countryId : int
Return values
array<string|int, mixed>

getOptOutsByCountryId()

private getOptOutsByCountryId(int $countryId) : mixed
Parameters
$countryId : int

getOssFilingCompaniesByCountryId()

private getOssFilingCompaniesByCountryId(int $countryId) : mixed
Parameters
$countryId : int

getUserVatDetectByUserVatList()

private getUserVatDetectByUserVatList(mixed $userVatList) : array<string|int, array<string|int, UserVatDetect>>
Parameters
$userVatList : mixed
Return values
array<string|int, array<string|int, UserVatDetect>>

getUserVatDetectByUserVatListAndEventNotIn()

private getUserVatDetectByUserVatListAndEventNotIn(mixed $userVatList, array<string|int, mixed> $eventList) : array<string|int, array<string|int, UserVatDetect>>
Parameters
$userVatList : mixed
$eventList : array<string|int, mixed>
Return values
array<string|int, array<string|int, UserVatDetect>>

getUserVatDetectByUserVatListAndUserIdList()

private getUserVatDetectByUserVatListAndUserIdList(mixed $userVatList, mixed $userIds) : array<string|int, array<string|int, UserVatDetect>>
Parameters
$userVatList : mixed
$userIds : mixed

[]

Return values
array<string|int, array<string|int, UserVatDetect>>

getUserVatDetectListByCountryIdWithNoDeletedEvent()

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

getUserVatDetectListWithNoDeletedEvent()

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

handleSave()

private handleSave(bool $isValid, array<string|int, mixed> $formData[, bool $addArrangeJob = false ], mixed $eventTypeId[, mixed $originalUserVat = null ]) : mixed
Parameters
$isValid : bool
$formData : array<string|int, mixed>
$addArrangeJob : bool = false
$eventTypeId : mixed
$originalUserVat : mixed = null

        
On this page

Search results