Documentation

Transactor extends ApiClient

Handle bank transactions

Tags
author

vitex

Table of Contents

$mockMode  : bool
Use mocking for api calls ?
$pSUIPAddress  : string
the end IP address of the client application (no server) in IPv4 or IPv6 format. If the bank client (your user) uses a browser by which he accesses your server app, we need to know the IP address of his browser.
$xIBMClientId  : string
ClientID obtained from Developer Portal - when you registered your app with us.
__construct()  : mixed
Transaction Handler
checkCertificatePresence()  : bool
Try to check certificate readibilty
getMockMode()  : bool
Use mocking uri for api calls ?
getpSUIPAddress()  : string
Keep user public IP here
getPublicIP()  : string
Obtain Your current Public IP
getTransactions()  : array<string|int, mixed>
Obtain Transactions from RB
getXIBMClientId()  : string
ClientID obtained from Developer Portal
getxRequestId()  : string
Request Identifier
import()  : mixed
Import process itself
setScope()  : mixed
Prepare processing interval
sourceString()  : string
Source Identifier
takeTransactionData()  : mixed
Use Transaction data for Bank record

Properties

$mockMode

Use mocking for api calls ?

protected bool $mockMode = false

$pSUIPAddress

the end IP address of the client application (no server) in IPv4 or IPv6 format. If the bank client (your user) uses a browser by which he accesses your server app, we need to know the IP address of his browser.

protected string $pSUIPAddress = null

Always provide the closest IP address to the real end-user possible. (optional)

$xIBMClientId

ClientID obtained from Developer Portal - when you registered your app with us.

protected string $xIBMClientId = null

Methods

__construct()

Transaction Handler

public __construct(string $bankAccount[, array<string|int, mixed> $options = [] ]) : mixed
Parameters
$bankAccount : string
$options : array<string|int, mixed> = []
Return values
mixed

checkCertificatePresence()

Try to check certificate readibilty

public static checkCertificatePresence(string $certFile[, bool $die = false ]) : bool
Parameters
$certFile : string

path to certificate

$die : bool = false

throw exception or return false ?

Tags
throws
Exception
  • Certificate file not found
Return values
bool

certificate file

getMockMode()

Use mocking uri for api calls ?

public getMockMode() : bool
Return values
bool

getpSUIPAddress()

Keep user public IP here

public getpSUIPAddress() : string
Return values
string

getPublicIP()

Obtain Your current Public IP

public static getPublicIP() : string
Tags
deprecated

since version 0.1 - Do not use in production Environment!

Return values
string

getTransactions()

Obtain Transactions from RB

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

getXIBMClientId()

ClientID obtained from Developer Portal

public getXIBMClientId() : string
Return values
string

getxRequestId()

Request Identifier

public static getxRequestId() : string
Tags
deprecated

since version 0.1 - Do not use in production Environment!

Return values
string

import()

Import process itself

public import() : mixed
Return values
mixed

setScope()

Prepare processing interval

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

sourceString()

Source Identifier

public static sourceString() : string
Tags
deprecated

since version 0.1 - Do not use in production Environment!

Return values
string

takeTransactionData()

Use Transaction data for Bank record

public takeTransactionData(array<string|int, mixed> $transactionData) : mixed
Parameters
$transactionData : array<string|int, mixed>
Return values
mixed

Search results