Deprecated.
NAME
WebService::MinFraud::Record::Disposition - The disposition for the request as set by custom rules
VERSION
version 1.010000
SYNOPSIS
use 5.010;
use WebService::MinFraud::Client;
my $client = WebService::MinFraud::Client->new(
account_id => 42,
license_key => 'abcdef123456',
);
my $request = { device => { ip_address => '24.24.24.24' } };
my $insights = $client->insights($request);
my $disposition = $insights->disposition;
say 'Disposition action was ' . $disposition->action . ' with a reason of '
. $disposition->reason;
DESCRIPTION
This class contains the disposition for the request as set by custom rules.
METHODS
This class provides the following methods:
action
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, this attribute will not be set.
reason
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, this attribute will not be set.
PREDICATE METHODS
The following predicate methods are available, which return true if the related data was present in the response body, false if otherwise:
has_action
has_reason
SUPPORT
Bugs may be submitted through https://github.com/maxmind/minfraud-api-perl/issues.
AUTHOR
Mateu Hunter <mhunter@maxmind.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 - 2020 by MaxMind, Inc.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.