minFraud PHP API v1.21.0

Disposition extends AbstractModel
in package

Model with the disposition set by custom rules.

In order to receive a disposition, you must be using minFraud custom rules.

Table of Contents

$action  : string|null
$reason  : string|null
$ruleLabel  : string|null
__construct()  : mixed

Properties

$action read-only

public string|null $action

The action to take on the transaction as defined by your custom rules. The current set of values are "accept", "manual_review", "reject", and "test". If you do not have custom rules set up, null will be returned.

$reason read-only

public string|null $reason

The reason for the action. The current possible values are "custom_rule" and "default". If you do not have custom rules set up, null will be returned.

$ruleLabel read-only

public string|null $ruleLabel

The label of the custom rule that was triggered. If you do not have custom rules set up, the triggered custom rule does not have a label, or no custom rule was triggered, null will be returned.

Methods

__construct()

public __construct(array<string|int, mixed>|null $response[, array<string|int, mixed> $locales = ['en'] ]) : mixed
Parameters
$response : array<string|int, mixed>|null
$locales : array<string|int, mixed> = ['en']
Return values
mixed

Search results