BankAccountDetailsV2Bban
in package
implements
Stringable
uses
FieldConfidenceMixin, FieldPositionMixin
Full extraction of BBAN, including: branch code, bank code, account and key.
Table of Contents
Interfaces
- Stringable
Properties
- $bbanBankCode : string|null
- $bbanBranchCode : string|null
- $bbanKey : string|null
- $bbanNumber : string|null
- $boundingBox : Polygon|null
- $confidence : float
- $pageId : int|null
- $polygon : Polygon
Methods
- __construct() : mixed
- __toString() : string
- toFieldList() : string
- Output in a format suitable for inclusion in a field list.
- setConfidence() : void
- Sets the confidence score.
- setPosition() : void
- Sets the position of a field.
- printableValues() : array<string, string>
- Return values for printing as an array.
Properties
$bbanBankCode
public
string|null
$bbanBankCode
The BBAN bank code outputted as a string.
$bbanBranchCode
public
string|null
$bbanBranchCode
The BBAN branch code outputted as a string.
$bbanKey
public
string|null
$bbanKey
The BBAN key outputted as a string.
$bbanNumber
public
string|null
$bbanNumber
The BBAN Account number outputted as a string.
$boundingBox
public
Polygon|null
$boundingBox
A right rectangle containing the word in the document.
$confidence
public
float
$confidence
The confidence score.
$pageId
public
int|null
$pageId
$polygon
public
Polygon
$polygon
A polygon containing the word in the document.
Methods
__construct()
public
__construct(array<string, int|float|string|bool|null|array<string|int, mixed>> $rawPrediction, int|null $pageId) : mixed
Parameters
- $rawPrediction : array<string, int|float|string|bool|null|array<string|int, mixed>>
-
Array containing the JSON document response.
- $pageId : int|null
-
Page number for multi pages document.
__toString()
public
__toString() : string
Return values
string —String representation.
toFieldList()
Output in a format suitable for inclusion in a field list.
public
toFieldList() : string
Return values
stringsetConfidence()
Sets the confidence score.
protected
setConfidence(array<string, int|float|string|bool|null|array<string|int, mixed>> $rawPrediction) : void
Parameters
- $rawPrediction : array<string, int|float|string|bool|null|array<string|int, mixed>>
-
Raw prediction array.
setPosition()
Sets the position of a field.
protected
setPosition(array<string, int|float|string|bool|null|array<string|int, mixed>> $rawPrediction) : void
Parameters
- $rawPrediction : array<string, int|float|string|bool|null|array<string|int, mixed>>
-
Raw prediction array.
printableValues()
Return values for printing as an array.
private
printableValues() : array<string, string>