lib/WebService/Braintree/Dispute/Status.pm

filter: Statementstmt 100% 28 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 9 / 9 Podpod n/a totaltotal 100% 37 / 37 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/WebService/Braintree/Dispute/Reason.pm ↑ Summary lib/WebService/Braintree/DisputeSearch.pm »
1 # vim: sw=4 ts=4 ft=perl
2  
3 package WebService::Braintree::Dispute::Status;
4 22 $WebService::Braintree::Dispute::Status::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::Dispute::Status
11  
12 =head1 PURPOSE
13  
14 This class contains constants for dispute statuses.
15  
16 =cut
17  
18 =head1 CONSTANTS
19  
20 =over 4
21  
22 =cut
23  
24 =item Accepted
25  
26 =cut
27  
28 22 ▶use constant Accepted => 'accepted';
Subroutine BEGIN: called CC=1 SCAR=0.0
29  
30 =item Disputed
31  
32 =cut
33  
34 22 ▶use constant Disputed => 'disputed';
Subroutine BEGIN: called CC=1 SCAR=0.0
35  
36 =item Expired
37  
38 =cut
39  
40 22 ▶use constant Expired => 'expired';
Subroutine BEGIN: called CC=1 SCAR=0.0
41  
42 =item Lost
43  
44 =cut
45  
46 22 ▶use constant Lost => 'lost';
Subroutine BEGIN: called CC=1 SCAR=0.0
47  
48 =item Open
49  
50 =cut
51  
52 22 ▶use constant Open => 'open';
Subroutine BEGIN: called CC=1 SCAR=0.0
53  
54 =item Won
55  
56 =cut
57  
58 22 ▶use constant Won => 'won';
Subroutine BEGIN: called CC=1 SCAR=0.0
59  
60 =item All
61  
62 This returns an arrayref of all other constants in the order they are defined
63 in this module.
64  
65 =cut
66  
67 22 ▶use constant All => [
Subroutine BEGIN: called CC=1 SCAR=0.0
68 Accepted,
69 Disputed,
70 Expired,
71 Lost,
72 Open,
73 Won,
74 22 ];
75  
76 =back
77  
78 =cut
79  
80 22 1;
81 __END__
« lib/WebService/Braintree/Dispute/Reason.pm ↑ Summary lib/WebService/Braintree/DisputeSearch.pm »