lib/WebService/Braintree/Subscription/Status.pm

filter: Statementstmt 100% 25 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod n/a totaltotal 100% 33 / 33 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/WebService/Braintree/PaginatedResult.pm ↑ Summary lib/WebService/Braintree/SubscriptionSearch.pm »
1 # vim: sw=4 ts=4 ft=perl
2  
3 package WebService::Braintree::Subscription::Status;
4 22 $WebService::Braintree::Subscription::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::Subscription::Status
11  
12 =head1 PURPOSE
13  
14 This class contains constants for subscription statuses.
15  
16 =cut
17  
18 =head1 CONSTANTS
19  
20 =over 4
21  
22 =cut
23  
24 =item Active
25  
26 =cut
27  
28 22 ▶use constant Active => 'Active';
Subroutine BEGIN: called CC=1 SCAR=0.0
29  
30 =item Canceled
31  
32 =cut
33  
34 22 ▶use constant Canceled => 'Canceled';
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 Pastdue
43  
44 =cut
45  
46 22 ▶use constant PastDue => 'Past Due';
Subroutine BEGIN: called CC=1 SCAR=0.0
47  
48 =item Pending
49  
50 =cut
51  
52 22 ▶use constant Pending => 'Pending';
Subroutine BEGIN: called CC=1 SCAR=0.0
53  
54 =item All
55  
56 This returns an arrayref of all other constants in the order they are defined
57 in this module.
58  
59 =cut
60  
61 22 ▶use constant All => (
Subroutine BEGIN: called CC=1 SCAR=0.0
62 Active,
63 Canceled,
64 Expired,
65 PastDue,
66 Pending,
67 22 );
68  
69 =back
70  
71 =cut
72  
73 22 1;
74 __END__
« lib/WebService/Braintree/PaginatedResult.pm ↑ Summary lib/WebService/Braintree/SubscriptionSearch.pm »