\MaxMind\MinFraud\ModelDisposition

Model with the disposition set by custom rules.

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

Summary

Methods
Properties
Constants
__construct()
jsonSerialize()
$action
$reason
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$action

$action : string|null

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

Type

normal

$reason

$reason : string|null

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

Type

normal

Methods

__construct()

__construct(mixed  $response, mixed  $locales = ['en']) : mixed

Parameters

mixed $response

the array corresponding to the object in the minFraud Insights response

mixed $locales

list of locale codes to use in name property from most preferred to least preferred

Returns

mixed

jsonSerialize()

jsonSerialize() : array

Returns

array —

data that can be serialized by json_encode