Disposition
in package
implements
JsonSerializable
Model with the disposition set by custom rules.
In order to receive a disposition, you must be using minFraud custom rules.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $action : string|null
- $reason : string|null
- $ruleLabel : string|null
Methods
- __construct() : mixed
- jsonSerialize() : array<string, 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, mixed>|null $response) : mixed
Parameters
- $response : array<string, mixed>|null
jsonSerialize()
public
jsonSerialize() : array<string, mixed>