Documentation

JobDemoAccountCreateUserVatComponent extends JobDemoAccountMainHandlerComponent
in package

Table of Contents

Constants

COUNTRY_VAT_ID  = [40 => "ATU00000000", 56 => "BE0000000000", 100 => "BG000000000", 191 => "HR00000000000", 196 => "CY00000000A", 203 => "CZ00000000", 208 => "DK00000000", 233 => "EE000000000", 246 => "FI00000000", 250 => "FR00000000000", 276 => "DE000000000", 300 => "GR000000000", 348 => "HU00000000", 372 => "IE0000000A", 380 => "IT00000000000", 428 => "LV00000000000", 440 => "LT000000000000", 442 => "LU00000000", 470 => "MT00000000", 528 => "NL000000000B00", 616 => "PL0000000000", 620 => "PT000000000", 642 => "RO00000000", 703 => "SK0000000000", 705 => "SI00000000", 724 => "ES00000000A", 752 => "SE000000000000", 826 => "GB000000000"]
SUPPORTED_JOB_ACTION_LIST  = [\Vatjar\Jobs\Model\Job::MAIN_ACTION_DEMO_ACCOUNT => [\Vatjar\Jobs\Model\Job::SUB_ACTION_DEMO_ACCOUNT_CREATE_USER_VAT]]

Properties

$handlerList  : AbstractJobHandlerComponent]
$job  : Job
$jobList  : array<string|int, Job>
$lockList  : FSLock[string]
$opt  : array<string|int, mixed>

Methods

__construct()  : mixed
afterHandle()  : JobResult
beforeHandle()  : mixed
create()  : static
createAndHandle()  : mixed
getHandler()  : AbstractJobHandlerComponent|null
getJob()  : Job
getJobList()  : array<string|int, Job>
getJobParameters()  : array<string|int, mixed>
getLockNameListForHandle()  : mixed
getLockPrefix()  : string
getOpt()  : array<string|int, mixed>
getOptUser()  : mixed
getOptUserId()  : mixed
getOptVal()  : mixed
getOptValOr()  : mixed
getRequestUserAccountId()  : int
handle()  : JobResult
handleJob()  : mixed
handleLock()  : mixed
hasOptKey()  : mixed
loadJobList()  : mixed
lock()  : bool
setJob()  : mixed
setOpt()  : static
support()  : bool
unlock()  : void
_handle()  : JobResult
getDemoAccount()  : DemoAccount
getDemoAccountParameters()  : array<string|int, mixed>
getDemoClient()  : Client|null
getDemoPerson()  : Person|null
getDemoUserAccount()  : UserAccount
getDemoUserId()  : int
getEntityManager()  : EntityManager
prepareWaitingJobsResponse()  : array<string|int, mixed>

Constants

COUNTRY_VAT_ID

public mixed COUNTRY_VAT_ID = [40 => "ATU00000000", 56 => "BE0000000000", 100 => "BG000000000", 191 => "HR00000000000", 196 => "CY00000000A", 203 => "CZ00000000", 208 => "DK00000000", 233 => "EE000000000", 246 => "FI00000000", 250 => "FR00000000000", 276 => "DE000000000", 300 => "GR000000000", 348 => "HU00000000", 372 => "IE0000000A", 380 => "IT00000000000", 428 => "LV00000000000", 440 => "LT000000000000", 442 => "LU00000000", 470 => "MT00000000", 528 => "NL000000000B00", 616 => "PL0000000000", 620 => "PT000000000", 642 => "RO00000000", 703 => "SK0000000000", 705 => "SI00000000", 724 => "ES00000000A", 752 => "SE000000000000", 826 => "GB000000000"]

SUPPORTED_JOB_ACTION_LIST

public mixed SUPPORTED_JOB_ACTION_LIST = [\Vatjar\Jobs\Model\Job::MAIN_ACTION_DEMO_ACCOUNT => [\Vatjar\Jobs\Model\Job::SUB_ACTION_DEMO_ACCOUNT_CREATE_USER_VAT]]

Properties

$handlerList

protected AbstractJobHandlerComponent] $handlerList = [\Vatjar\DemoAccount\Component\JobDemoAccountGenerationManagerComponent::class => null, \Vatjar\DemoAccount\Component\JobDemoAccountGenerationInitComponent::class => null, \Vatjar\DemoAccount\Component\JobDemoAccountCreateInactiveComponent::class => null, \Vatjar\DemoAccount\Component\JobDemoAccountCreateUserModuleComponent::class => null, \Vatjar\DemoAccount\Component\JobDemoAccountCreateProductComponent::class => null, \Vatjar\DemoAccount\Component\JobDemoAccountCreateAmazonMovementComponent::class => null, \Vatjar\DemoAccount\Component\JobDemoAccountCreateMouMovementComponent::class => null, \Vatjar\DemoAccount\Component\JobDemoAccountCreateUserVatComponent::class => null, \Vatjar\DemoAccount\Component\JobDemoAccountActivateClientComponent::class => null, \Vatjar\DemoAccount\Component\JobDemoAccountCreateSubscriptionComponent::class => null, \Vatjar\DemoAccount\Component\JobDemoAccountForceCreateReportComponent::class => null, \Vatjar\DemoAccount\Component\JobDemoAccountCreateQualityControlComponent::class => null, \Vatjar\DemoAccount\Component\JobDemoAccountSubmitReportComponent::class => null, \Vatjar\DemoAccount\Component\JobDemoAccountOnboardingComponent::class => null, \Vatjar\DemoAccount\Component\JobDemoAccountActivateUserAccountComponent::class => null, \Vatjar\DemoAccount\Component\JobDemoAccountGenerationFinishComponent::class => null]

$opt

private array<string|int, mixed> $opt

Methods

__construct()

public __construct([Job $job = null ][, array<string|int, mixed> $opt = null ]) : mixed
Parameters
$job : Job = null
$opt : array<string|int, mixed> = null

create()

public static create([Job $job = null ][, array<string|int, mixed> $opt = null ]) : static
Parameters
$job : Job = null
$opt : array<string|int, mixed> = null
Return values
static

createAndHandle()

public static createAndHandle([Job $job = null ][, array<string|int, mixed> $opt = null ]) : mixed
Parameters
$job : Job = null
$opt : array<string|int, mixed> = null

getLockPrefix()

public getLockPrefix() : string
Return values
string

getOpt()

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

getOptUser()

public getOptUser() : mixed

getOptUserId()

public getOptUserId() : mixed

getOptVal()

public getOptVal(string $key) : mixed
Parameters
$key : string

getOptValOr()

public getOptValOr(string $key[, mixed $or = null ]) : mixed
Parameters
$key : string
$or : mixed = null

hasOptKey()

public hasOptKey(string $key) : mixed
Parameters
$key : string

lock()

public lock([array<string|int, mixed> $lockNameList = [] ]) : bool
Parameters
$lockNameList : array<string|int, mixed> = []
Tags
throws
LockException
Return values
bool

setOpt()

public setOpt(array<string|int, mixed> $opt) : static
Parameters
$opt : array<string|int, mixed>
Return values
static

prepareWaitingJobsResponse()

protected prepareWaitingJobsResponse(array<string|int, Job$jobs) : array<string|int, mixed>
Parameters
$jobs : array<string|int, Job>
Return values
array<string|int, mixed>

        
On this page

Search results