WebService::MinFraud::Record::Disposition - The disposition for the request as set by custom rules
version 1.009001
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;
This class contains the disposition for the request as set by custom rules.
This class provides the following methods:
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.
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.
The following predicate methods are available, which return true if the related data was present in the response body, false if otherwise:
Bugs may be submitted through https://github.com/maxmind/minfraud-api-perl/issues.
Mateu Hunter <mhunter@maxmind.com>
This software is copyright (c) 2015 - 2019 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.
To install WebService::MinFraud, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::MinFraud
CPAN shell
perl -MCPAN -e shell install WebService::MinFraud
For more information on module installation, please visit the detailed CPAN module installation guide.