lib/WebService/Braintree/ErrorCodes/Subscription/Modification.pm

filter: Statementstmt 100% 70 / 70 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 23 / 23 Podpod n/a totaltotal 100% 93 / 93 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/WebService/Braintree/ErrorCodes/Subscription.pm ↑ Summary lib/WebService/Braintree/ErrorCodes/Transaction.pm »
1 # vim: sw=4 ts=4 ft=perl
2  
3 package WebService::Braintree::ErrorCodes::Subscription::Modification;
4 22 $WebService::Braintree::ErrorCodes::Subscription::Modification::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::ErrorCodes::Subscription::Modification
11  
12 =head1 PURPOSE
13  
14 This class contains error codes that might be returned if a modification
15 of a subscription is incorrect in some way.
16  
17 =cut
18  
19 =head1 METHODS
20  
21 =over 4
22  
23 =cut
24  
25 =item AmountCannotBeBlank
26  
27 =cut
28  
29 22 ▶use constant AmountCannotBeBlank => '92003';
Subroutine BEGIN: called CC=1 SCAR=0.0
30  
31 =item AmountIsInvalid
32  
33 =cut
34  
35 22 ▶use constant AmountIsInvalid => '92002';
Subroutine BEGIN: called CC=1 SCAR=0.0
36  
37 =item AmountIsTooLarge
38  
39 =cut
40  
41 22 ▶use constant AmountIsTooLarge => '92023';
Subroutine BEGIN: called CC=1 SCAR=0.0
42  
43 =item CannotEditModificationsOnPastDueSubscription
44  
45 =cut
46  
47 22 ▶use constant CannotEditModificationsOnPastDueSubscription => '92022';
Subroutine BEGIN: called CC=1 SCAR=0.0
48  
49 =item CannotUpdateAndRemove
50  
51 =cut
52  
53 22 ▶use constant CannotUpdateAndRemove => '92015';
Subroutine BEGIN: called CC=1 SCAR=0.0
54  
55 =item ExistingIdIsIncorrectKind
56  
57 =cut
58  
59 22 ▶use constant ExistingIdIsIncorrectKind => '92020';
Subroutine BEGIN: called CC=1 SCAR=0.0
60  
61 =item ExistingIdIsInvalid
62  
63 =cut
64  
65 22 ▶use constant ExistingIdIsInvalid => '92011';
Subroutine BEGIN: called CC=1 SCAR=0.0
66  
67 =item ExistingIdIsRequired
68  
69 =cut
70  
71 22 ▶use constant ExistingIdIsRequired => '92012';
Subroutine BEGIN: called CC=1 SCAR=0.0
72  
73 =item IdToRemoveIsIncorrectKind
74  
75 =cut
76  
77 22 ▶use constant IdToRemoveIsIncorrectKind => '92021';
Subroutine BEGIN: called CC=1 SCAR=0.0
78  
79 =item IdToRemoveIsInvalid
80  
81 =cut
82  
83 22 ▶use constant IdToRemoveIsInvalid => '92025';
Subroutine BEGIN: called CC=1 SCAR=0.0
84  
85 =item IdToRemoveIsNotPresent
86  
87 =cut
88  
89 22 ▶use constant IdToRemoveIsNotPresent => '92016';
Subroutine BEGIN: called CC=1 SCAR=0.0
90  
91 =item InconsistentNumberOfBillingCycles
92  
93 =cut
94  
95 22 ▶use constant InconsistentNumberOfBillingCycles => '92018';
Subroutine BEGIN: called CC=1 SCAR=0.0
96  
97 =item InheritedFromIdIsInvalid
98  
99 =cut
100  
101 22 ▶use constant InheritedFromIdIsInvalid => '92013';
Subroutine BEGIN: called CC=1 SCAR=0.0
102  
103 =item InheritedFromIdIsRequired
104  
105 =cut
106  
107 22 ▶use constant InheritedFromIdIsRequired => '92014';
Subroutine BEGIN: called CC=1 SCAR=0.0
108  
109 =item Missing
110  
111 =cut
112  
113 22 ▶use constant Missing => '92024';
Subroutine BEGIN: called CC=1 SCAR=0.0
114  
115 =item NumberOfBillingCyclesCannotBeBlank
116  
117 =cut
118  
119 22 ▶use constant NumberOfBillingCyclesCannotBeBlank => '92017';
Subroutine BEGIN: called CC=1 SCAR=0.0
120  
121 =item NumberOfBillingCyclesIsInvalid
122  
123 =cut
124  
125 22 ▶use constant NumberOfBillingCyclesIsInvalid => '92005';
Subroutine BEGIN: called CC=1 SCAR=0.0
126  
127 =item NumberOfBillingCyclesMustBeGreaterThanZero
128  
129 =cut
130  
131 22 ▶use constant NumberOfBillingCyclesMustBeGreaterThanZero => '92019';
Subroutine BEGIN: called CC=1 SCAR=0.0
132  
133 =item QuantityCannotBeBlank
134  
135 =cut
136  
137 22 ▶use constant QuantityCannotBeBlank => '92004';
Subroutine BEGIN: called CC=1 SCAR=0.0
138  
139 =item QuantityIsInvalid
140  
141 =cut
142  
143 22 ▶use constant QuantityIsInvalid => '92001';
Subroutine BEGIN: called CC=1 SCAR=0.0
144  
145 =item QuantityMustBeGreaterThanZero
146  
147 =cut
148  
149 22 ▶use constant QuantityMustBeGreaterThanZero => '92010';
Subroutine BEGIN: called CC=1 SCAR=0.0
150  
151 =back
152  
153 =cut
154  
155 22 1;
156 __END__
« lib/WebService/Braintree/ErrorCodes/Subscription.pm ↑ Summary lib/WebService/Braintree/ErrorCodes/Transaction.pm »