lib/WebService/Braintree/SettlementBatchSummary.pm

filter: Statementstmt 85.7% 12 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 84.2% 16 / 19 CC 1 SCAR 2.2
CC
1
Cov
86%
generate
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« lib/WebService/Braintree/Plan.pm ↑ Summary lib/WebService/Braintree/TransactionLineItem.pm »
1 # vim: sw=4 ts=4 ft=perl
2  
3 package WebService::Braintree::SettlementBatchSummary;
4 22 $WebService::Braintree::SettlementBatchSummary::VERSION = '1.7';
5 22 ▶use 5.010_001;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 22 ▶use strictures 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 WebService::Braintree::SettlementBatchSummary
11  
12 =head1 PURPOSE
13  
14 This class generates settlement batch summaries.
15  
16 =head1 EXPLANATION
17  
18 TODO
19  
20 =cut
21  
22 22 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
23  
24 22 with 'WebService::Braintree::Role::Interface';
25  
26 =head1 CLASS METHODS
27  
28 =head2 generate()
29  
30 This method takes a settlement date and an optional group_by_custom_field and
31 generates a settlement batch summary.
32  
33 =cut
34  
35 0 ▶sub generate {
Subroutine generate: not called CC=1 SCAR=6.9
Pod documented
36 0 my($class, $settlement_date, $group_by_custom_field) = @_;
37 0 $class->gateway->settlement_batch_summary->generate($settlement_date, $group_by_custom_field);
38 }
39  
40 22 __PACKAGE__->meta->make_immutable;
41  
42 22 1;
43 __END__
« lib/WebService/Braintree/Plan.pm ↑ Summary lib/WebService/Braintree/TransactionLineItem.pm »