Documentation

MovementMissingCountryExportHandler extends AbstractExportHandler
in package

Table of Contents

Constants

ACTIVE_HANDLERS  = [\Vatjar\Export\Component\TransactionVolumeExportHandler::class, \Vatjar\Export\Component\VatReportSummaryExportHandler::class, \Vatjar\Export\Component\MovementMissingCountryExportHandler::class, \Vatjar\Export\Component\StorageDetectionExportHandler::class, \Vatjar\Export\Component\TransactionToGbAfterBrexitExportHandler::class, \Vatjar\Export\Component\GermanYearlyFilingExportHandler::class, \Vatjar\Export\Component\ArrangedUserExportHandler::class, \Vatjar\Export\Component\YearlyTransactionCountExportHandler::class, \Vatjar\Export\Component\ItalianYearlyFilingExportHandler::class]

Properties

$fileComponent  : mixed

Methods

__construct()  : mixed
createJob()  : mixed
filterParams()  : array<string|int, mixed>
getAllowedFilters()  : array<string|int, mixed>
getBucketName()  : string
getExportTypes()  : array<string|int, mixed>
getFileComponent()  : AbstractExportFile
getHeaders()  : array<string|int, mixed>
getLastRowsNumber()  : array<string|int, mixed>
getLine()  : mixed
Get the value of line
getLines()  : Generator<string|int, array<string|int, string>>
getType()  : string
handle()  : mixed
markAsInProgress()  : mixed
validateParams()  : void
validatePositiveInteger()  : mixed
cloudPath()  : mixed
createFile()  : resource
filename()  : string|null
generateFile()  : void
getCloudStorageComponent()  : mixed
localPath()  : mixed
markAsDone()  : mixed
registerShutdownFunction()  : mixed
remoteUri()  : mixed
removeFile()  : mixed
saveError()  : mixed
saveToCloud()  : mixed
validateBool()  : bool
validateDate()  : bool
validateRequired()  : bool
validateString()  : bool
parseJobParameters()  : mixed

Constants

ACTIVE_HANDLERS

public mixed ACTIVE_HANDLERS = [\Vatjar\Export\Component\TransactionVolumeExportHandler::class, \Vatjar\Export\Component\VatReportSummaryExportHandler::class, \Vatjar\Export\Component\MovementMissingCountryExportHandler::class, \Vatjar\Export\Component\StorageDetectionExportHandler::class, \Vatjar\Export\Component\TransactionToGbAfterBrexitExportHandler::class, \Vatjar\Export\Component\GermanYearlyFilingExportHandler::class, \Vatjar\Export\Component\ArrangedUserExportHandler::class, \Vatjar\Export\Component\YearlyTransactionCountExportHandler::class, \Vatjar\Export\Component\ItalianYearlyFilingExportHandler::class]

Properties

Methods

filterParams()

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

getExportTypes()

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

getLastRowsNumber()

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

getLines()

public getLines(string $parameters) : Generator<string|int, array<string|int, string>>
Parameters
$parameters : string

['end_date'] required

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

validatePositiveInteger()

public static validatePositiveInteger(mixed $value) : mixed
Parameters
$value : mixed

createFile()

protected createFile() : resource
Tags
throws
ErrorException
throws
Exception
Return values
resource

generateFile()

protected generateFile(resource $file, array<string|int, mixed> $parameters) : void
Parameters
$file : resource
$parameters : array<string|int, mixed>
Tags
throws
Exception

getCloudStorageComponent()

protected getCloudStorageComponent(string $bucket) : mixed
Parameters
$bucket : string

validateBool()

protected static validateBool(mixed $value) : bool
Parameters
$value : mixed
Return values
bool

validateDate()

protected static validateDate(mixed $value) : bool
Parameters
$value : mixed
Return values
bool

validateRequired()

protected static validateRequired(mixed $value) : bool
Parameters
$value : mixed
Return values
bool

validateString()

protected static validateString(mixed $value) : bool
Parameters
$value : mixed
Return values
bool

        
On this page

Search results