File Coverage

blib/lib/Net/Braintree.pm
Criterion Covered Total %
statement 84 86 97.6
branch n/a
condition n/a
subroutine 29 29 100.0
pod n/a
total 113 115 98.2


line stmt bran cond sub pod time code
1             package Net::Braintree;
2              
3 1     1   47855 use 5.006;
  1         2  
4 1     1   4 use strict;
  1         1  
  1         17  
5 1     1   3 use warnings;
  1         3  
  1         23  
6 1     1   306 use Net::Braintree::Address;
  1         2  
  1         36  
7 1     1   402 use Net::Braintree::AdvancedSearchFields;
  1         2  
  1         25  
8 1     1   353 use Net::Braintree::AdvancedSearchNodes;
  1         2  
  1         31  
9 1     1   509 use Net::Braintree::ApplePayCard;
  1         2  
  1         31  
10 1     1   368 use Net::Braintree::ClientToken;
  1         2  
  1         20  
11 1     1   300 use Net::Braintree::CreditCard;
  1         2  
  1         27  
12 1     1   333 use Net::Braintree::Customer;
  1         2  
  1         25  
13 1     1   321 use Net::Braintree::CustomerSearch;
  1         93  
  1         36  
14 1     1   385 use Net::Braintree::DisbursementDetails;
  1         1  
  1         25  
15 1     1   372 use Net::Braintree::Dispute;
  1         2  
  1         26  
16 1     1   326 use Net::Braintree::MerchantAccount;
  1         2  
  1         30  
17 1     1   360 use Net::Braintree::PartnerMerchant;
  1         2  
  1         27  
18 1     1   5 use Net::Braintree::PaymentMethod;
  1         1  
  1         21  
19 1     1   316 use Net::Braintree::PayPalAccount;
  1         2  
  1         29  
20 1     1   332 use Net::Braintree::PayPalDetails;
  1         3  
  1         27  
21 1     1   349 use Net::Braintree::ResourceCollection;
  1         2  
  1         39  
22 1     1   505 use Net::Braintree::SettlementBatchSummary;
  1         2  
  1         28  
23 1     1   347 use Net::Braintree::Subscription;
  1         3  
  1         29  
24 1     1   340 use Net::Braintree::SubscriptionSearch;
  1         79  
  1         31  
25 1     1   351 use Net::Braintree::Transaction;
  1         2  
  1         25  
26 1     1   323 use Net::Braintree::TransactionSearch;
  1         103  
  1         40  
27 1     1   387 use Net::Braintree::Disbursement;
  1         2  
  1         25  
28 1     1   322 use Net::Braintree::TransparentRedirect;
  1         2  
  1         21  
29 1     1   330 use Net::Braintree::WebhookNotification;
  1         1  
  1         27  
30 1     1   385 use Net::Braintree::WebhookTesting;
  1         2  
  1         22  
31 1     1   322 use Net::Braintree::Configuration;
  0            
  0            
32              
33             =head1 NAME
34              
35             Net::Braintree - A Client Library for wrapping the Braintree Payment Services Gateway API
36              
37             =head1 VERSION
38              
39             Version 0.30.0
40              
41             =head1 DEPRECATED
42              
43             This library is deprecated; current integrations are supported, but no new feature development is planned at this time.
44             For more details see: L<https://support.braintreepayments.com/customer/portal/articles/1763061-status-of-the-perl-client-library>
45              
46             You can find a community supported fork of this library at: L<https://metacpan.org/pod/WebService::Braintree>
47              
48             =cut
49              
50             our $VERSION = '0.30.0';
51              
52             my $configuration_instance = Net::Braintree::Configuration->new;
53              
54             sub configuration { return $configuration_instance; }
55              
56             =head1 SUPPORT
57              
58             You can find documentation for this module with the perldoc command.
59              
60             perldoc Net::Braintree
61              
62              
63             You can also look for information at:
64              
65             =over 4
66              
67             =item * RT: CPAN's request tracker (report bugs here)
68              
69             L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-Braintree>
70              
71             =item * AnnoCPAN: Annotated CPAN documentation
72              
73             L<http://annocpan.org/dist/Net-Braintree>
74              
75             =item * CPAN Ratings
76              
77             L<http://cpanratings.perl.org/d/Net-Braintree>
78              
79             =item * Search CPAN
80              
81             L<http://search.cpan.org/dist/Net-Braintree/>
82              
83             =back
84              
85              
86             =head1 ACKNOWLEDGEMENTS
87              
88              
89             =head1 LICENSE AND COPYRIGHT
90              
91             Copyright 2011-2017 Braintree, a division of PayPal, Inc.
92              
93             This program is free software; you can redistribute it and/or modify it
94             under the terms of either: the GNU General Public License as published
95             by the Free Software Foundation; or the Artistic License.
96              
97             See http://dev.perl.org/licenses/ for more information.
98              
99              
100             =cut
101              
102             1; # End of Net::Braintree