lib/WebService/Braintree/ErrorCodes/Subscription.pm

filter: Statementstmt 100% 118 / 118 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 39 / 39 Podpod n/a totaltotal 100% 157 / 157 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/SettlementBatchSummary.pm ↑ Summary lib/WebService/Braintree/ErrorCodes/Subscription/Modification.pm »
1 # vim: sw=4 ts=4 ft=perl
2  
3 package WebService::Braintree::ErrorCodes::Subscription;
4 22 $WebService::Braintree::ErrorCodes::Subscription::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
11  
12 =head1 PURPOSE
13  
14 This class contains error codes that might be returned if a subscription
15 is incorrect in some way.
16  
17 =cut
18  
19 =head1 METHODS
20  
21 =over 4
22  
23 =cut
24  
25 =item BillingDayOfMonthCannotBeUpdated
26  
27 =cut
28  
29 22 ▶use constant BillingDayOfMonthCannotBeUpdated => '91918';
Subroutine BEGIN: called CC=1 SCAR=0.0
30  
31 =item BillingDayOfMonthIsInvalid
32  
33 =cut
34  
35 22 ▶use constant BillingDayOfMonthIsInvalid => '91914';
Subroutine BEGIN: called CC=1 SCAR=0.0
36  
37 =item BillingDayOfMonthMustBeNumeric
38  
39 =cut
40  
41 22 ▶use constant BillingDayOfMonthMustBeNumeric => '91913';
Subroutine BEGIN: called CC=1 SCAR=0.0
42  
43 =item CannotAddDuplicateAddonOrDiscount
44  
45 =cut
46  
47 22 ▶use constant CannotAddDuplicateAddonOrDiscount => '91911';
Subroutine BEGIN: called CC=1 SCAR=0.0
48  
49 =item CannotEditCanceledSubscription
50  
51 =cut
52  
53 22 ▶use constant CannotEditCanceledSubscription => '81901';
Subroutine BEGIN: called CC=1 SCAR=0.0
54  
55 =item CannotEditExpiredSubscription
56  
57 =cut
58  
59 22 ▶use constant CannotEditExpiredSubscription => '81910';
Subroutine BEGIN: called CC=1 SCAR=0.0
60  
61 =item CannotEditPriceChangingFieldsOnPastDueSubscription
62  
63 =cut
64  
65 22 ▶use constant CannotEditPriceChangingFieldsOnPastDueSubscription => '91920';
Subroutine BEGIN: called CC=1 SCAR=0.0
66  
67 =item FirstBillingDateCannotBeInThePast
68  
69 =cut
70  
71 22 ▶use constant FirstBillingDateCannotBeInThePast => '91916';
Subroutine BEGIN: called CC=1 SCAR=0.0
72  
73 =item FirstBillingDateCannotBeUpdated
74  
75 =cut
76  
77 22 ▶use constant FirstBillingDateCannotBeUpdated => '91919';
Subroutine BEGIN: called CC=1 SCAR=0.0
78  
79 =item FirstBillingDateIsInvalid
80  
81 =cut
82  
83 22 ▶use constant FirstBillingDateIsInvalid => '91915';
Subroutine BEGIN: called CC=1 SCAR=0.0
84  
85 =item IdIsInUse
86  
87 =cut
88  
89 22 ▶use constant IdIsInUse => '81902';
Subroutine BEGIN: called CC=1 SCAR=0.0
90  
91 =item InconsistentNumberOfBillingCycles
92  
93 =cut
94  
95 22 ▶use constant InconsistentNumberOfBillingCycles => '91908';
Subroutine BEGIN: called CC=1 SCAR=0.0
96  
97 =item InconsistentStartDate
98  
99 =cut
100  
101 22 ▶use constant InconsistentStartDate => '91917';
Subroutine BEGIN: called CC=1 SCAR=0.0
102  
103 =item InvalidRequestFormat
104  
105 =cut
106  
107 22 ▶use constant InvalidRequestFormat => '91921';
Subroutine BEGIN: called CC=1 SCAR=0.0
108  
109 =item MerchantAccountIdIsInvalid
110  
111 =cut
112  
113 22 ▶use constant MerchantAccountIdIsInvalid => '91901';
Subroutine BEGIN: called CC=1 SCAR=0.0
114  
115 =item MismatchCurrencyISOCode
116  
117 =cut
118  
119 22 ▶use constant MismatchCurrencyISOCode => '91923';
Subroutine BEGIN: called CC=1 SCAR=0.0
120  
121 =item NumberOfBillingCyclesCannotBeBlank
122  
123 =cut
124  
125 22 ▶use constant NumberOfBillingCyclesCannotBeBlank => '91912';
Subroutine BEGIN: called CC=1 SCAR=0.0
126  
127 =item NumberOfBillingCyclesIsTooSmall
128  
129 =cut
130  
131 22 ▶use constant NumberOfBillingCyclesIsTooSmall => '91909';
Subroutine BEGIN: called CC=1 SCAR=0.0
132  
133 =item NumberOfBillingCyclesMustBeGreaterThanZero
134  
135 =cut
136  
137 22 ▶use constant NumberOfBillingCyclesMustBeGreaterThanZero => '91907';
Subroutine BEGIN: called CC=1 SCAR=0.0
138  
139 =item NumberOfBillingCyclesMustBeNumeric
140  
141 =cut
142  
143 22 ▶use constant NumberOfBillingCyclesMustBeNumeric => '91906';
Subroutine BEGIN: called CC=1 SCAR=0.0
144  
145 =item PaymentMethodNonceCardTypeIsNotAccepted
146  
147 =cut
148  
149 22 ▶use constant PaymentMethodNonceCardTypeIsNotAccepted => '91924';
Subroutine BEGIN: called CC=1 SCAR=0.0
150  
151 =item PaymentMethodNonceIsInvalid
152  
153 =cut
154  
155 22 ▶use constant PaymentMethodNonceIsInvalid => '91925';
Subroutine BEGIN: called CC=1 SCAR=0.0
156  
157 =item PaymentMethodNonceNotAssociatedWithCustomer
158  
159 =cut
160  
161 22 ▶use constant PaymentMethodNonceNotAssociatedWithCustomer => '91926';
Subroutine BEGIN: called CC=1 SCAR=0.0
162  
163 =item PaymentMethodNonceUnvaultedCardIsNotAccepted
164  
165 =cut
166  
167 22 ▶use constant PaymentMethodNonceUnvaultedCardIsNotAccepted => '91927';
Subroutine BEGIN: called CC=1 SCAR=0.0
168  
169 =item PaymentMethodTokenCardTypeIsNotAccepted
170  
171 =cut
172  
173 22 ▶use constant PaymentMethodTokenCardTypeIsNotAccepted => '91902';
Subroutine BEGIN: called CC=1 SCAR=0.0
174  
175 =item PaymentMethodTokenIsInvalid
176  
177 =cut
178  
179 22 ▶use constant PaymentMethodTokenIsInvalid => '91903';
Subroutine BEGIN: called CC=1 SCAR=0.0
180  
181 =item PaymentMethodTokenNotAssociatedWithCustomer
182  
183 =cut
184  
185 22 ▶use constant PaymentMethodTokenNotAssociatedWithCustomer => '91905';
Subroutine BEGIN: called CC=1 SCAR=0.0
186  
187 =item PlanBillingFrequencyCannotBeUpdated
188  
189 =cut
190  
191 22 ▶use constant PlanBillingFrequencyCannotBeUpdated => '91922';
Subroutine BEGIN: called CC=1 SCAR=0.0
192  
193 =item PlanIdIsInvalid
194  
195 =cut
196  
197 22 ▶use constant PlanIdIsInvalid => '91904';
Subroutine BEGIN: called CC=1 SCAR=0.0
198  
199 =item PriceCannotBeBlank
200  
201 =cut
202  
203 22 ▶use constant PriceCannotBeBlank => '81903';
Subroutine BEGIN: called CC=1 SCAR=0.0
204  
205 =item PriceFormatIsInvalid
206  
207 =cut
208  
209 22 ▶use constant PriceFormatIsInvalid => '81904';
Subroutine BEGIN: called CC=1 SCAR=0.0
210  
211 =item PriceIsTooLarge
212  
213 =cut
214  
215 22 ▶use constant PriceIsTooLarge => '81923';
Subroutine BEGIN: called CC=1 SCAR=0.0
216  
217 =item StatusIsCanceled
218  
219 =cut
220  
221 22 ▶use constant StatusIsCanceled => '81905';
Subroutine BEGIN: called CC=1 SCAR=0.0
222  
223 =item TokenFormatIsInvalid
224  
225 =cut
226  
227 22 ▶use constant TokenFormatIsInvalid => '81906';
Subroutine BEGIN: called CC=1 SCAR=0.0
228  
229 =item TrialDurationFormatIsInvalid
230  
231 =cut
232  
233 22 ▶use constant TrialDurationFormatIsInvalid => '81907';
Subroutine BEGIN: called CC=1 SCAR=0.0
234  
235 =item TrialDurationIsRequired
236  
237 =cut
238  
239 22 ▶use constant TrialDurationIsRequired => '81908';
Subroutine BEGIN: called CC=1 SCAR=0.0
240  
241 =item TrialDurationUnitIsInvalid
242  
243 =cut
244  
245 22 ▶use constant TrialDurationUnitIsInvalid => '81909';
Subroutine BEGIN: called CC=1 SCAR=0.0
246  
247 =back
248  
249 =cut
250  
251 22 1;
252 __END__
« lib/WebService/Braintree/ErrorCodes/SettlementBatchSummary.pm ↑ Summary lib/WebService/Braintree/ErrorCodes/Subscription/Modification.pm »