PayPal/Refund.pm

filter: Statementstmt 66.6% 10 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 28.5% 2 / 7 Podpod 100% 5 / 5 totaltotal 62.9% 17 / 27 CC 1 SCAR 5.4
CC
1
Cov
67%
id
2.0
status
2.0
amount
2.0
CRAP 1.7
« PayPal/Plan.pm ↑ Summary PayPal/Webhook.pm »
1 package WWW::PayPal::Refund;
2  
3 # ABSTRACT: PayPal Payments v2 refund entity
4  
5 3 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 3 our $VERSION = '0.003';
9  
10  
11 3 has _client => (
12 is => 'ro',
13 required => 1,
14 weak_ref => 1,
15 init_arg => 'client',
16 );
17  
18 3 has data => ( is => 'rw', required => 1 );
19  
20  
21 0 ▶sub id { $_[0]->data->{id} }
Subroutine id: not called CC=1 SCAR=6.9
Pod documented
22 0 ▶sub status { $_[0]->data->{status} }
Subroutine status: not called CC=1 SCAR=6.9
Pod documented
23 0 ▶sub amount { $_[0]->data->{amount}{value} }
Subroutine amount: not called CC=1 SCAR=6.9
Pod documented
24 0 ▶sub currency { $_[0]->data->{amount}{currency_code} }
Subroutine currency: not called CC=1 SCAR=6.9
Pod documented
25 0 ▶sub note { $_[0]->data->{note_to_payer} }
Subroutine note: not called CC=1 SCAR=6.9
Pod documented
26  
27  
28  
29 3 1;
30  
31 __END__
« PayPal/Plan.pm ↑ Summary PayPal/Webhook.pm »