File Coverage

blib/lib/Business/OnlinePayment/PPIPayMover/constants.pm
Criterion Covered Total %
statement 20 109 18.3
branch n/a
condition n/a
subroutine 14 103 13.5
pod 0 100 0.0
total 34 312 10.9


line stmt bran cond sub pod time code
1             package Business::OnlinePayment::PPIPayMover::constants;
2            
3 6     6   63 use strict;
  6         10  
  6         237  
4 6     6   33 use vars qw(@ISA @EXPORT);
  6         14  
  6         324  
5 6     6   32 use Exporter;
  6         13  
  6         9683  
6            
7             @ISA = qw(Exporter);
8            
9             @EXPORT = qw(VERSION
10             PAY_HOST
11             PAY_HOST_PATH
12             PAY_HOST_PORT
13             SUCCESSFUL_TRANSACTION
14             MISSING_REQUIRED_REQUEST_FIELD
15             INVALID_REQUEST_FIELD
16             ILLEGAL_TRANSACTION_REQUEST
17             TRANSACTION_SERVER_ERROR
18             TRANSACTION_NOT_POSSIBLE
19             INVALID_VERSION
20             CREDIT_CARD_DECLINED
21             ACQUIRER_GATEWAY_ERROR
22             PAYMENT_ENGINE_ERROR
23             SALE
24             AUTH
25             FORCE_SALE
26             FORCE_AUTH
27             ADJUSTMENT
28             QUERY_PAYMENT
29             QUERY_CREDIT
30             CAPTURE
31             VOID
32             CREDIT
33             CREATE_ORDER
34             CLOSE_ORDER
35             CANCEL_ORDER
36             VOID_AUTH
37             VOID_CAPTURE
38             VOID_CREDIT
39             SETTLE_ACTION
40             PURGE_ACTION
41             TOTALS_ACTION
42             VISA
43             MASTERCARD
44             AMERICAN_EXPRESS
45             DISCOVER
46             NOVA
47             AMEX
48             DINERS
49             EUROCARD
50             CARD_BRAND_1
51             CARD_BRAND_2
52             CARD_BRAND_3
53             CARD_BRAND_4
54             CARD_BRAND_5
55             CARD_BRAND_6
56             TR_ERROR
57             TR_NO_ERROR
58             CCR_ERROR
59             CCR_NO_ERROR
60             BR_ERROR
61             BR_NO_ERROR
62             ISR_ERROR
63             ISR_NO_ERROR
64             ECLIENT_ERROR
65             ECLIENT_NO_ERROR
66             HTTP_POST_RESULT_NOTIFICATION_STRING
67             EMAIL_RESULT_NOTIFICATION_STRING
68             NO_RESULT_NOTIFICATION_STRING
69             EMAIL_RESULT_NOTIFICATION
70             HTTP_POST_RESULT_NOTIFICATION
71             NO_RESULT_NOTIFICATION
72             TCC_DEFAULT
73             TCC_CARDHOLDER_NOT_PRESENT_MAIL_FAX_ORDER
74             TCC_CARDHOLDER_NOT_PRESENT_TELEPHONE_ORDER
75             TCC_CARDHOLDER_NOT_PRESENT_INSTALLMENT
76             TCC_CARDHOLDER_NOT_PRESENT_PAYER_AUTHENTICATION
77             TCC_CARDHOLDER_NOT_PRESENT_SECURE_ECOMMERCE
78             TCC_CARDHOLDER_NOT_PRESENT_RECURRING_BILLING
79             TCC_CARDHOLDER_PRESENT_RETAIL_ORDER
80             TCC_CARDHOLDER_PRESENT_RETAIL_ORDER_WITHOUT_SIGNATURE
81             TCC_CARDHOLDER_PRESENT_RETAIL_ORDER_KEYED
82             TCC_CARDHOLDER_NOT_PRESENT_PAYER_AUTHENTICATION_ATTEMPTED
83             PERIOD_WEEKLY
84             PERIOD_BIWEEKLY
85             PERIOD_SEMIMONTHLY
86             PERIOD_MONTHLY
87             PERIOD_QUARTERLY
88             PERIOD_ANNUAL
89             COMMAND_ADD_CUSTOMER_ACCOUNT_ONLY
90             COMMAND_ADD_RECURRENCE_ONLY
91             COMMAND_ADD_CUSTOMER_ACCOUNT_AND_RECURRENCE
92             ACCOUNT_TYPE_CREDIT_CARD
93             STATUS_ENROLLED
94             STATUS_NOT_ENROLLED
95             STATUS_ENROLLED_BUT_AUTHENTICATION_UNAVAILABLE
96             AUTHENTICATION_PREFIX
97             CHECKING
98             SAVINGS
99             PERSONAL
100             CORPORATE
101             DIRECT_MARKETING
102             RETAIL
103             LODGING
104             RESTAURANT
105             CHECK
106             OVERRIDE
107             NO_CHECK
108             );
109            
110 4     4 0 14 sub VERSION { "Perl Plug v1.8.0" }
111            
112             #**
113             # * Payment Host Information
114             #
115            
116 4     4 0 10 sub PAY_HOST { "etrans.paygateway.com" }
117 4     4 0 13 sub PAY_HOST_PATH { "/TransactionManager" }
118 4     4 0 23 sub PAY_HOST_PORT { 443 }
119            
120            
121             #**
122             # * Response code indicating the transaction was successfully processed.
123             #
124 0     0 0 0 sub SUCCESSFUL_TRANSACTION { 1 }
125            
126             #**
127             # * Response code indicating that a required request field was not provided
128             # * with the request. The required field will be identifed in the response
129             # * code text returned from getResponseCodeText(). The field identified will
130             # * be defined by a subclass of TransactionRequest.
131             #
132 0     0 0 0 sub MISSING_REQUIRED_REQUEST_FIELD { 2 }
133            
134             #*
135             # * Response code indicating that the value provided to a subclass of
136             # * TrasactionRequest for a transaction field was not valid. The resonse
137             # * code text returned from getResponseCodeText() will identify the
138             # * problem and the field.
139             # *
140 0     0 0 0 sub INVALID_REQUEST_FIELD { 3 }
141            
142             #*
143             # * Response code indicating the transaction request was illegal. This
144             # * can happen if a transaction is sent for an account that does not
145             # * exist or if the account has not been configured to perform the
146             # * requested transaction type.
147             #
148 0     0 0 0 sub ILLEGAL_TRANSACTION_REQUEST { 4 }
149            
150             #*
151             # * Response code indicating that an error occured within the transaction
152             # * server. The transaction server is where this Java Transaction Client API
153             # * connects and sends transaction data for further processing. This type
154             # * of error is temporary. If one occurs maintenance staff are immediately
155             # * signaled to correct the problem.
156             #
157 0     0 0 0 sub TRANSACTION_SERVER_ERROR { 5 }
158            
159             #**
160             # * Response code indicating that the requested transaction is not possible.
161             # * This can happen if the transaction request refers to a previous transaction
162             # * that does not exist. For example, when using the CreditCardRequest and
163             # * CreditCardResponse classes one possible request is to perform a capture of
164             # * funds previously authorized from a customers credit card. If a capture
165             # * request is sent that refers to an authorization that does not exist then
166             # * this response code will be returned.
167             #
168 0     0 0 0 sub TRANSACTION_NOT_POSSIBLE { 6 }
169            
170             #**
171             # * Response code indicating that the version of the Java Transaction Client API
172             #* being used is no longer valid.
173             #
174 0     0 0 0 sub INVALID_VERSION { 7 }
175            
176             #**
177             # * Response code indicating that the credit card transaction was declined.
178             # *
179 0     0 0 0 sub CREDIT_CARD_DECLINED { 100 }
180            
181             #**
182             # * Response code indicating that the Acquirer Gateway encountered an
183             # * error. This is a software program that handles credit card transactions.
184             # * It accepts connections over the internet and communicates with the
185             # * private banking network.
186             # *
187 0     0 0 0 sub ACQUIRER_GATEWAY_ERROR { 101 }
188            
189             #**
190             # * Response code indicating that the Payment Engine encountered an
191             # * error. This is a software program that makes connections to an
192             # * Aquirer Gateway.
193             #
194 0     0 0 0 sub PAYMENT_ENGINE_ERROR { 102 }
195            
196             #/////////////////////////////////////////////////////////////////////////////////////////////////////
197             #// Constants that are permissible values for chargeBrand.
198             #
199            
200             #**
201             # * One of ten permissible values of the parameter of the setChargeType() method.
202             # * May also be used as the chargeType parameter in the CreditCardRequest constructor.
203             # * Indicates that the type of operation being done is a sale
204             # * (both an authorization and a capture).
205             # *

206             # * Other permissible values for setChargeType() are ADJUSTMENT, AUTH, CAPTURE, CREDIT, FORCE_AUTH, FORCE_SALE, QUERY_CREDIT, QUERY_PAYMENT or VOID.
207             # *

208             # * @see com.paygateway.CreditCardRequest#getChargeType
209             # * @see com.paygateway.CreditCardRequest#setChargeType
210             # */
211 4     4 0 107 sub SALE { "SALE" }
212            
213             #**
214             # * Additional Charge Type
215             # *

216             # * See above for other permissible values for setChargeType().
217             # *

218             # * @see com.paygateway.CreditCardRequest#getChargeType
219             # * @see com.paygateway.CreditCardRequest#setChargeType
220             # *
221 1     1 0 8 sub AUTH { "AUTH" }
222            
223             #**
224             # * Additional Charge Type
225             # *

226             # * See above for other permissible values for setChargeType().
227             # *

228             # * @see com.paygateway.CreditCardRequest#getChargeType
229             # * @see com.paygateway.CreditCardRequest#setChargeType
230             # *
231 0     0 0 0 sub CAPTURE { "CAPTURE" }
232            
233             #**
234             # * Additional Charge Type
235             # *

236             # * See above for other permissible values for setChargeType().
237             # *

238             # * @see com.paygateway.CreditCardRequest#getChargeType
239             # * @see com.paygateway.CreditCardRequest#setChargeType
240             # *
241 0     0 0 0 sub VOID { "VOID" }
242            
243             #**
244             # * Additional Charge Type
245             # *

246             # * See above for other permissible values for setChargeType().
247             # *

248             # * @see com.paygateway.CreditCardRequest#getChargeType
249             # * @see com.paygateway.CreditCardRequest#setChargeType
250             # *
251 0     0 0 0 sub CREDIT { "CREDIT" }
252            
253             #**
254             # * Additional Charge Type
255             # *

256             # * See above for other permissible values for setChargeType().
257             # *

258             # * @see com.paygateway.CreditCardRequest#getChargeType
259             # * @see com.paygateway.CreditCardRequest#setChargeType
260             # *
261 0     0 0 0 sub FORCE_AUTH { "FORCE_AUTH" }
262            
263             #**
264             # * Additional Charge Type
265             # *

266             # * See above for other permissible values for setChargeType().
267             # *

268             # * @see com.paygateway.CreditCardRequest#getChargeType
269             # * @see com.paygateway.CreditCardRequest#setChargeType
270             # *
271 0     0 0 0 sub FORCE_SALE { "FORCE_SALE" }
272            
273             #**
274             # * Additional Charge Type
275             # *

276             # * See above for other permissible values for setChargeType().
277             # *

278             # * @see com.paygateway.CreditCardRequest#getChargeType
279             # * @see com.paygateway.CreditCardRequest#setChargeType
280             # *
281 0     0 0 0 sub QUERY_PAYMENT { "QUERY_PAYMENT" }
282            
283             #**
284             # * Additional Charge Type
285             # *

286             # * See above for other permissible values for setChargeType().
287             # *

288             # * @see com.paygateway.CreditCardRequest#getChargeType
289             # * @see com.paygateway.CreditCardRequest#setChargeType
290             # *
291 0     0 0 0 sub QUERY_CREDIT { "QUERY_CREDIT" }
292            
293             #**
294             # * Additional Charge Type
295             # *

296             # * See above for other permissible values for setChargeType().
297             # *

298             # * @see com.paygateway.CreditCardRequest#getChargeType
299             # * @see com.paygateway.CreditCardRequest#setChargeType
300             # *
301 0     0 0 0 sub ADJUSTMENT { "ADJUSTMENT" }
302            
303            
304            
305            
306            
307             # new charge types for BatchRequest
308             # added in v1.6
309 0     0 0 0 sub SETTLE_ACTION { "SETTLE" }
310 0     0 0 0 sub PURGE_ACTION { "PURGE" }
311 0     0 0 0 sub TOTALS_ACTION { "TOTALS" }
312            
313             # new charge types for ibm pm
314             # added in v1.6
315 0     0 0 0 sub CLOSE_ORDER { "CLOSE_ORDER" }
316 0     0 0 0 sub CANCEL_ORDER { "CANCEL_ORDER" }
317 0     0 0 0 sub CREATE_ORDER { "CREATE_ORDER" }
318 0     0 0 0 sub VOID_AUTH { "VOID_AUTH" }
319 0     0 0 0 sub VOID_CAPTURE { "VOID_CAPTURE" }
320 0     0 0 0 sub VOID_CREDIT { "VOID_CREDIT" }
321            
322             #/////////////////////////////////////////////////////////////////////////////////////////////////////
323             #// Permissible values for cardBrand.
324            
325             #
326             # * One permissible value for the parameter of the setCardBrand() method.
327             # * May also be used as the cardBrand parameter in the CreditCardRequest constructor.
328             #

329             # Other permissible values are
330             # MASTERCARD, AMERICAN_EXPRESS, DISCOVER, NOVA, AMEX, DINERS, or EUROCARD,
331             # as well as generic values (to support future card types)
332             # CARD_BRAND_1, CARD_BRAND_2, CARD_BRAND_3, CARD_BRAND_4, CARD_BRAND_5, or CARD_BRAND_6.
333             #

334             # @see com.paygateway.CreditCardRequest#getCardBrand
335             # @see com.paygateway.CreditCardRequest#setCardBrand
336             #*/
337 0     0 0 0 sub VISA { "VISA" }
338            
339             #**
340             # * One permissible value for the parameter of the setCardBrand() method.
341             # * May also be used as the cardBrand parameter in the CreditCardRequest constructor.
342             #

343             # Other permissible values are
344             # VISA, AMERICAN_EXPRESS, DISCOVER, NOVA, AMEX, DINERS, or EUROCARD,
345             # as well as generic values (to support future card types)
346             # CARD_BRAND_1, CARD_BRAND_2, CARD_BRAND_3, CARD_BRAND_4, CARD_BRAND_5, or CARD_BRAND_6.
347             #

348             # @see com.paygateway.CreditCardRequest#getCardBrand
349             # @see com.paygateway.CreditCardRequest#setCardBrand
350             #
351 0     0 0 0 sub MASTERCARD { "MASTERCARD" }
352            
353             #**
354             # * One permissible value for the parameter of the setCardBrand() method.
355             # * May also be used as the cardBrand parameter in the CreditCardRequest constructor.
356             # *

357             # * Other permissible values are
358             # * VISA, MASTERCARD, DISCOVER, NOVA, AMEX, DINERS, or EUROCARD,
359             # * as well as generic values (to support future card types)
360             # * CARD_BRAND_1, CARD_BRAND_2, CARD_BRAND_3, CARD_BRAND_4, CARD_BRAND_5, or CARD_BRAND_6.
361             # *

362             # * @see com.paygateway.CreditCardRequest#getCardBrand
363             # * @see com.paygateway.CreditCardRequest#setCardBrand
364             # */
365 0     0 0 0 sub AMERICAN_EXPRESS { "AMERICAN_EXPRESS" }
366            
367             #/**
368             # * One permissible value for the parameter of the setCardBrand() method.
369             # * May also be used as the cardBrand parameter in the CreditCardRequest constructor.
370             # *

371             # * Other permissible values are
372             # * VISA, MASTERCARD, AMERICAN_EXPRESS, NOVA, AMEX, DINERS, or EUROCARD,
373             # * as well as generic values (to support future card types)
374             # * CARD_BRAND_1, CARD_BRAND_2, CARD_BRAND_3, CARD_BRAND_4, CARD_BRAND_5, or CARD_BRAND_6.
375             # *

376             # * @see com.paygateway.CreditCardRequest#getCardBrand
377             # * @see com.paygateway.CreditCardRequest#setCardBrand
378             # */
379 0     0 0 0 sub DISCOVER { "DISCOVER" }
380            
381             #**
382             # * One permissible value for the parameter of the setCardBrand() method.
383             # * May also be used as the cardBrand parameter in the CreditCardRequest constructor.
384             # *

385             # * Other permissible values are
386             # * VISA, MASTERCARD, AMERICAN_EXPRESS, DISCOVER, AMEX, DINERS, or EUROCARD,
387             # * as well as generic values (to support future card types)
388             # * CARD_BRAND_1, CARD_BRAND_2, CARD_BRAND_3, CARD_BRAND_4, CARD_BRAND_5, or CARD_BRAND_6.
389             # *

390             # * @see com.paygateway.CreditCardRequest#getCardBrand
391             # * @see com.paygateway.CreditCardRequest#setCardBrand
392             # */
393 0     0 0 0 sub NOVA { "NOVA" }
394            
395             #**
396             # * One permissible value for the parameter of the setCardBrand() method.
397             # * May also be used as the cardBrand parameter in the CreditCardRequest constructor.
398             # *

399             # * Other permissible values are
400             # * VISA, MASTERCARD, AMERICAN_EXPRESS, DISCOVER, NOVA, DINERS, or EUROCARD,
401             # * as well as generic values (to support future card types)
402             # * CARD_BRAND_1, CARD_BRAND_2, CARD_BRAND_3, CARD_BRAND_4, CARD_BRAND_5, or CARD_BRAND_6.
403             # *

404             # * @see com.paygateway.CreditCardRequest#getCardBrand
405             # * @see com.paygateway.CreditCardRequest#setCardBrand
406             # */
407 0     0 0 0 sub AMEX { "AMEX" }
408            
409             #*
410             # * One permissible value for the parameter of the setCardBrand() method.
411             # * May also be used as the cardBrand parameter in the CreditCardRequest constructor.
412             # *

413             # * Other permissible values are
414             # * VISA, MASTERCARD, AMERICAN_EXPRESS, DISCOVER, NOVA, AMEX, or EUROCARD,
415             # * as well as generic values (to support future card types)
416             # * CARD_BRAND_1, CARD_BRAND_2, CARD_BRAND_3, CARD_BRAND_4, CARD_BRAND_5, or CARD_BRAND_6.
417             # *

418             # * @see com.paygateway.CreditCardRequest#getCardBrand
419             # * @see com.paygateway.CreditCardRequest#setCardBrand
420             # */
421 0     0 0 0 sub DINERS { "DINERS" }
422            
423             #*
424             # * One permissible value for the parameter of the setCardBrand() method.
425             # * May also be used as the cardBrand parameter in the CreditCardRequest constructor.
426             # *

427             # * Other permissible values are
428             # * VISA, MASTERCARD, AMERICAN_EXPRESS, DISCOVER, NOVA, AMEX, or DINERS,
429             # * as well as generic values (to support future card types)
430             # * CARD_BRAND_1, CARD_BRAND_2, CARD_BRAND_3, CARD_BRAND_4, CARD_BRAND_5, or CARD_BRAND_6.
431             # *

432             # * @see com.paygateway.CreditCardRequest#getCardBrand
433             # * @see com.paygateway.CreditCardRequest#setCardBrand
434             # */
435 0     0 0 0 sub EUROCARD { "EUROCARD" }
436            
437             #**
438             # * One permissible value for the parameter of the setCardBrand() method.
439             # * May also be used as the cardBrand parameter in the CreditCardRequest constructor.
440             # *

441             # * Other permissible values are
442             # * VISA, MASTERCARD, AMERICAN_EXPRESS, DISCOVER, NOVA, AMEX, DINERS, or EUROCARD,
443             # * as well as generic values (to support future card types)
444             # * CARD_BRAND_2, CARD_BRAND_3, CARD_BRAND_4, CARD_BRAND_5, or CARD_BRAND_6.
445             # *

446             # * @see com.paygateway.CreditCardRequest#getCardBrand
447             # * @see com.paygateway.CreditCardRequest#setCardBrand
448             # */
449 0     0 0 0 sub CARD_BRAND_1 { "CARD_BRAND_1" }
450            
451            
452             #**
453             # * One permissible value for the parameter of the setCardBrand() method.
454             # * May also be used as the cardBrand parameter in the CreditCardRequest constructor.
455             # *

456             # * Other permissible values are
457             # * VISA, MASTERCARD, AMERICAN_EXPRESS, DISCOVER, NOVA, AMEX, DINERS, or EUROCARD,
458             # * as well as generic values (to support future card types)
459             # * CARD_BRAND_1, CARD_BRAND_3, CARD_BRAND_4, CARD_BRAND_5, or CARD_BRAND_6.
460             # *

461             # * @see com.paygateway.CreditCardRequest#getCardBrand
462             # * @see com.paygateway.CreditCardRequest#setCardBrand
463             # */
464 0     0 0 0 sub CARD_BRAND_2 { "CARD_BRAND_2" }
465            
466             #**
467             # * One permissible value for the parameter of the setCardBrand() method.
468             # * May also be used as the cardBrand parameter in the CreditCardRequest constructor.
469             # *

470             # * Other permissible values are
471             # * VISA, MASTERCARD, AMERICAN_EXPRESS, DISCOVER, NOVA, AMEX, DINERS, or EUROCARD,
472             # * as well as generic values (to support future card types)
473             # * CARD_BRAND_1, CARD_BRAND_2, CARD_BRAND_4, CARD_BRAND_5, or CARD_BRAND_6.
474             # *

475             # * @see com.paygateway.CreditCardRequest#getCardBrand
476             # * @see com.paygateway.CreditCardRequest#setCardBrand
477             # */
478 0     0 0 0 sub CARD_BRAND_3 { "CARD_BRAND_3" }
479            
480             #**
481             # * One permissible value for the parameter of the setCardBrand() method.
482             # * May also be used as the cardBrand parameter in the CreditCardRequest constructor.
483             # *

484             # * Other permissible values are
485             # * VISA, MASTERCARD, AMERICAN_EXPRESS, DISCOVER, NOVA, AMEX, DINERS, or EUROCARD,
486             # * as well as generic values (to support future card types)
487             # * CARD_BRAND_1, CARD_BRAND_2, CARD_BRAND_3, CARD_BRAND_5, or CARD_BRAND_6.
488             # *

489             # * @see com.paygateway.CreditCardRequest#getCardBrand
490             # * @see com.paygateway.CreditCardRequest#setCardBrand
491             # */
492 0     0 0 0 sub CARD_BRAND_4 { "CARD_BRAND_4" }
493            
494             #**
495             # * One permissible value for the parameter of the setCardBrand() method.
496             # * May also be used as the cardBrand parameter in the CreditCardRequest constructor.
497             # *

498             # * Other permissible values are
499             # * VISA, MASTERCARD, AMERICAN_EXPRESS, DISCOVER, NOVA, AMEX, DINERS, or EUROCARD,
500             # * as well as generic values (to support future card types)
501             # * CARD_BRAND_1, CARD_BRAND_2, CARD_BRAND_3, CARD_BRAND_4, or CARD_BRAND_6.
502             # *

503             # * @see com.paygateway.CreditCardRequest#getCardBrand
504             # * @see com.paygateway.CreditCardRequest#setCardBrand
505             # */
506 0     0 0 0 sub CARD_BRAND_5 { "CARD_BRAND_5" }
507            
508             #**
509             # * One permissible value for the parameter of the setCardBrand() method.
510             # * May also be used as the cardBrand parameter in the CreditCardRequest constructor.
511             # *

512             # * Other permissible values are
513             # * VISA, MASTERCARD, AMERICAN_EXPRESS, DISCOVER, NOVA, AMEX, DINERS, or EUROCARD,
514             # * as well as generic values (to support future card types)
515             # * CARD_BRAND_1, CARD_BRAND_2, CARD_BRAND_3, CARD_BRAND_4, or CARD_BRAND_5.
516             # *

517             # * @see com.paygateway.CreditCardRequest#getCardBrand
518             # * @see com.paygateway.CreditCardRequest#setCardBrand
519             # */
520 0     0 0 0 sub CARD_BRAND_6 { "CARD_BRAND_6" }
521            
522             # Transaction Condition code values (CreditCardRequest)
523 0     0 0 0 sub TCC_DEFAULT { 0 }
524 0     0 0 0 sub TCC_CARDHOLDER_NOT_PRESENT_MAIL_FAX_ORDER { 1 }
525 0     0 0 0 sub TCC_CARDHOLDER_NOT_PRESENT_TELEPHONE_ORDER { 2 }
526 0     0 0 0 sub TCC_CARDHOLDER_NOT_PRESENT_INSTALLMENT { 3 }
527 0     0 0 0 sub TCC_CARDHOLDER_NOT_PRESENT_PAYER_AUTHENTICATION { 4 }
528 4     4 0 23 sub TCC_CARDHOLDER_NOT_PRESENT_SECURE_ECOMMERCE { 5 }
529 0     0 0 0 sub TCC_CARDHOLDER_NOT_PRESENT_RECURRING_BILLING { 6 }
530 0     0 0 0 sub TCC_CARDHOLDER_PRESENT_RETAIL_ORDER { 7 }
531 0     0 0 0 sub TCC_CARDHOLDER_PRESENT_RETAIL_ORDER_WITHOUT_SIGNATURE { 8 }
532 0     0 0 0 sub TCC_CARDHOLDER_PRESENT_RETAIL_ORDER_KEYED { 9 }
533 0     0 0 0 sub TCC_CARDHOLDER_NOT_PRESENT_PAYER_AUTHENTICATION_ATTEMPTED { 10 }
534            
535             ################################
536             # Special Credit Card constants
537             #
538             # Duplicate Check
539             #no, conflicts with perl# sub CHECK { "CHECK" }
540 0     0 0 0 sub OVERRIDE { "OVERRIDE" }
541 0     0 0 0 sub NO_CHECK { "NO_CHECK" }
542            
543            
544             ################################
545             # Recurring billing constants
546             #
547             # Period
548 0     0 0 0 sub PERIOD_WEEKLY { 1 }
549 0     0 0 0 sub PERIOD_BIWEEKLY { 2 }
550 0     0 0 0 sub PERIOD_SEMIMONTHLY { 3 }
551 0     0 0 0 sub PERIOD_MONTHLY { 4 }
552 0     0 0 0 sub PERIOD_QUARTERLY { 5 }
553 0     0 0 0 sub PERIOD_ANNUAL { 6 }
554            
555             # Command
556 0     0 0 0 sub COMMAND_ADD_CUSTOMER_ACCOUNT_ONLY { "ADD_RECURRENCE" }
557 0     0 0 0 sub COMMAND_ADD_RECURRENCE_ONLY { "ADD_RECURRENCE" }
558 0     0 0 0 sub COMMAND_ADD_CUSTOMER_ACCOUNT_AND_RECURRENCE { "ADD_CUSTOMER_AND_RECURRENCE" }
559            
560             # Account Type
561 0     0 0 0 sub ACCOUNT_TYPE_CREDIT_CARD { "CREDIT_CARD" }
562            
563             # TransactionResponse error definitions
564 0     0 0 0 sub TR_ERROR { 0 }
565 0     0 0 0 sub TR_NO_ERROR { 1 }
566            
567             # CreditCardResponse error definitions
568 90     90 0 283 sub CCR_ERROR { 0 }
569 62     62 0 243 sub CCR_NO_ERROR { 1 }
570            
571             # BatchResponse error definitions
572 0     0 0 0 sub BR_ERROR { 0 }
573 0     0 0 0 sub BR_NO_ERROR { 1 }
574            
575             #InitSETResponse error definitions
576 0     0 0 0 sub ISR_ERROR { 0 }
577 0     0 0 0 sub ISR_NO_ERROR { 1 }
578            
579             # EClient error definitions
580 0     0 0 0 sub ECLIENT_ERROR { 0 }
581 0     0 0 0 sub ECLIENT_NO_ERROR { 1 }
582            
583             # ESETClient error definitions
584 0     0 0 0 sub ESETCLIENT_ERROR { 0 }
585 0     0 0 0 sub ESETCLIENT_NO_ERROR { 1 }
586            
587            
588             # CESETClient SET result notification constants
589 0     0 0 0 sub HTTP_POST_RESULT_NOTIFICATION_STRING { "HTTP_POST_RESULT_NOTIFICATION" }
590 0     0 0 0 sub EMAIL_RESULT_NOTIFICATION_STRING { "EMAIL_RESULT_NOTIFICATION" }
591 0     0 0 0 sub NO_RESULT_NOTIFICATION_STRING { "NO_RESULT_NOTIFICATION" }
592            
593 0     0 0 0 sub EMAIL_RESULT_NOTIFICATION { 1 }
594 0     0 0 0 sub HTTP_POST_RESULT_NOTIFICATION { 2 }
595 0     0 0 0 sub NO_RESULT_NOTIFICATION { 3 }
596            
597            
598             ################################
599             # Payer Authentication constants
600             #
601            
602             # status
603 0     0 0 0 sub STATUS_ENROLLED { "Y" }
604 0     0 0 0 sub STATUS_NOT_ENROLLED { "N" }
605 0     0 0 0 sub STATUS_ENROLLED_BUT_AUTHENTICATION_UNAVAILABLE { "U" }
606 0     0 0 0 sub AUTHENTICATION_PREFIX {"authentication_"}
607            
608            
609             ################################
610             # ACH constants
611             #
612            
613             # Account Type
614 0     0 0 0 sub CHECKING { 1 }
615 0     0 0 0 sub SAVINGS { 0 }
616            
617             # Account Class
618 0     0 0 0 sub PERSONAL { 0 }
619 0     0 0 0 sub CORPORATE { 1 }
620            
621             ################################
622             # Industry type constants
623             #
624            
625             # Industry Type
626 4     4 0 35 sub DIRECT_MARKETING { "DIRECT_MARKETING" }
627 8     8 0 56 sub RETAIL { "RETAIL" }
628 0     0 0   sub LODGING { "LODGING" }
629 0     0 0   sub RESTAURANT { "RESTAURANT" }
630            
631             1;