File Coverage

blib/lib/WebService/MinFraud/Model/Chargeback.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package WebService::MinFraud::Model::Chargeback;
2              
3 2     2   80019 use Moo;
  2         9190  
  2         10  
4 2     2   1824 use namespace::autoclean;
  2         10806  
  2         11  
5              
6             our $VERSION = '1.010000';
7              
8             1;
9              
10             # ABSTRACT: Model class for minFraud Chargeback
11              
12             __END__
13              
14             =pod
15              
16             =encoding UTF-8
17              
18             =head1 NAME
19              
20             WebService::MinFraud::Model::Chargeback - Model class for minFraud Chargeback
21              
22             =head1 VERSION
23              
24             version 1.010000
25              
26             =head1 SYNOPSIS
27              
28             use 5.010;
29              
30             use WebService::MinFraud::Client;
31              
32             my $client = WebService::MinFraud::Client->new(
33             account_id => 42,
34             license_key => 'abcdef123456',
35             );
36              
37             my $request = { ip_address => '24.24.24.24' } ;
38             my $chargeback = $client->chargeback($request);
39              
40             say $chargeback->isa('WebService::MinFraud::Model::Chargeback');
41              
42             =head1 DESCRIPTION
43              
44             This class provides an interface consistent with the fraud services' model interfaces.
45              
46             The Chargeback API will not return any content. See L<API
47             documentation|https://dev.maxmind.com/minfraud/chargeback/>
48             for more details.
49              
50             =head1 SUPPORT
51              
52             Bugs may be submitted through L<https://github.com/maxmind/minfraud-api-perl/issues>.
53              
54             =head1 AUTHOR
55              
56             Mateu Hunter <mhunter@maxmind.com>
57              
58             =head1 COPYRIGHT AND LICENSE
59              
60             This software is copyright (c) 2015 - 2020 by MaxMind, Inc.
61              
62             This is free software; you can redistribute it and/or modify it under
63             the same terms as the Perl 5 programming language system itself.
64              
65             =cut