minFraud PHP API v3.2.0-beta.2

RiskScoreReason
in package
implements JsonSerializable

The risk score multiplier and the reasons for that multiplier.

Table of Contents

Interfaces

JsonSerializable

Properties

$multiplier  : float|null
$reasons  : array<string|int, Reason>

Methods

__construct()  : mixed
jsonSerialize()  : array<string, mixed>

Properties

$multiplier read-only

public float|null $multiplier

The factor by which the risk score is increased (if the value is greater than 1) or decreased (if the value is less than 1) for given risk reason(s). Multipliers greater than 1.5 and less than 0.66 are considered significant and lead to risk reason(s) being present.

$reasons read-only

public array<string|int, Reason> $reasons

This array contains \MaxMind\MinFraud\Model\Reason objects that describe one of the reasons for the multiplier

Methods

__construct()

public __construct(array<string, mixed>|null $response) : mixed
Parameters
$response : array<string, mixed>|null

jsonSerialize()

public jsonSerialize() : array<string, mixed>
Return values
array<string, mixed>

        
On this page

Search results