FieldConfidence
in package
Confidence level of a field as returned by the V2 API.
Table of Contents
Constants
Properties
- $value : string
Methods
- __construct() : mixed
- __toString() : string
- getValidValues() : array<string|int, string>
- getValue() : string
- isValid() : bool
Constants
CERTAIN
public
mixed
CERTAIN
= 'Certain'
HIGH
public
mixed
HIGH
= 'High'
LOW
public
mixed
LOW
= 'Low'
MEDIUM
public
mixed
MEDIUM
= 'Medium'
Properties
$value
private
string
$value
Methods
__construct()
public
__construct(string $value) : mixed
Parameters
- $value : string
-
Vale provided.
Tags
__toString()
public
__toString() : string
Return values
stringgetValidValues()
public
static getValidValues() : array<string|int, string>
Return values
array<string|int, string>getValue()
public
getValue() : string
Return values
string —String representation.
isValid()
public
static isValid(string $value) : bool
Parameters
- $value : string
-
Value to check.
Return values
bool —True if the value is valid.