Documentation

Statementor extends Sand Uses Logging

Description of Statementor

Tags
author

vitex

Table of Contents

$dateFormat  : string
DateTime Formating eg. 2021-08-01T10:00:00.0Z
$dateTimeFormat  : string
DateTime Formating eg. 2021-08-01T10:00:00.0Z
$since  : DateTime
$until  : DateTime
$accountNumber  : string
__construct()  : mixed
download()  : array<string|int, mixed>
Save Statement PDF files
getSince()  : DateTime
Since time getter
getStatements()  : array<string|int, mixed>
Obtain Statements from RB
getUntil()  : DateTime
Until time getter
setAccountNumber()  : Statementor
Set AccountNumber for further operations
setScope()  : void
Prepare processing interval.

Properties

$dateFormat

DateTime Formating eg. 2021-08-01T10:00:00.0Z

public static string $dateFormat = 'Y-m-d'

$dateTimeFormat

DateTime Formating eg. 2021-08-01T10:00:00.0Z

public static string $dateTimeFormat = 'Y-m-d\\TH:i:s.0\\Z'

Methods

__construct()

public __construct([string $accountNumber = '' ][, string $scope = '' ]) : mixed
Parameters
$accountNumber : string = ''
$scope : string = ''
Return values
mixed

download()

Save Statement PDF files

public download(string $saveTo, array<string|int, mixed> $statements[, string $format = 'pdf' ][, string $currencyCode = 'CZK' ]) : array<string|int, mixed>
Parameters
$saveTo : string
$statements : array<string|int, mixed>
  • produced by getStatements() function
$format : string = 'pdf'

pdf|xml

$currencyCode : string = 'CZK'
Return values
array<string|int, mixed>

getSince()

Since time getter

public getSince() : DateTime
Return values
DateTime

getStatements()

Obtain Statements from RB

public getStatements([string $currencyCode = 'CZK' ][, string $statementLine = 'MAIN' ]) : array<string|int, mixed>
Parameters
$currencyCode : string = 'CZK'

CZK,USD etc

$statementLine : string = 'MAIN'
Return values
array<string|int, mixed>

getUntil()

Until time getter

public getUntil() : DateTime
Return values
DateTime

setAccountNumber()

Set AccountNumber for further operations

public setAccountNumber(string $accountNumber) : Statementor
Parameters
$accountNumber : string
Return values
Statementor

setScope()

Prepare processing interval.

public setScope(string $scope) : void
Parameters
$scope : string
Tags
throws
Exception
Return values
void

Search results