-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathPINPadConst.java
More file actions
104 lines (86 loc) · 4.88 KB
/
PINPadConst.java
File metadata and controls
104 lines (86 loc) · 4.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
//////////////////////////////////////////////////////////////////////
//
// The JavaPOS library source code is now under the CPL license, which
// is an OSS Apache-like license. The complete license is located at:
// http://www.ibm.com/developerworks/library/os-cpl.html
//
//////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////
//
// This software is provided "AS IS". The JavaPOS working group (including
// each of the Corporate members, contributors and individuals) MAKES NO
// REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE,
// EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
// WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NON-INFRINGEMENT. The JavaPOS working group shall not be liable for
// any damages suffered as a result of using, modifying or distributing this
// software or its derivatives.Permission to use, copy, modify, and distribute
// the software and its documentation for any purpose is hereby granted.
//
// PINPadConst
//
// PIN Pad constants for JavaPOS Applications.
//
// Modification history
// ------------------------------------------------------------------
// 98-04-20 JavaPOS Release 1.3 BS
//
/////////////////////////////////////////////////////////////////////
package jpos;
public interface PINPadConst
{
/////////////////////////////////////////////////////////////////////
// "CapDisplay" Property Constants
/////////////////////////////////////////////////////////////////////
public static final int PPAD_DISP_UNRESTRICTED = 1;
public static final int PPAD_DISP_PINRESTRICTED = 2;
public static final int PPAD_DISP_RESTRICTED_LIST = 3;
public static final int PPAD_DISP_RESTRICTED_ORDER = 4;
public static final int PPAD_DISP_NONE = 5;
/////////////////////////////////////////////////////////////////////
// "AvailablePromptsList" and "Prompt" Property Constants
/////////////////////////////////////////////////////////////////////
public static final int PPAD_MSG_ENTERPIN = 1;
public static final int PPAD_MSG_PLEASEWAIT = 2;
public static final int PPAD_MSG_ENTERVALIDPIN = 3;
public static final int PPAD_MSG_RETRIESEXCEEDED = 4;
public static final int PPAD_MSG_APPROVED = 5;
public static final int PPAD_MSG_DECLINED = 6;
public static final int PPAD_MSG_CANCELED = 7;
public static final int PPAD_MSG_AMOUNTOK = 8;
public static final int PPAD_MSG_NOTREADY = 9;
public static final int PPAD_MSG_IDLE = 10;
public static final int PPAD_MSG_SLIDE_CARD = 11;
public static final int PPAD_MSG_INSERTCARD = 12;
public static final int PPAD_MSG_SELECTCARDTYPE = 13;
/////////////////////////////////////////////////////////////////////
// "CapLanguage" Property Constants
/////////////////////////////////////////////////////////////////////
public static final int PPAD_LANG_NONE = 1;
public static final int PPAD_LANG_ONE = 2;
public static final int PPAD_LANG_PINRESTRICTED = 3;
public static final int PPAD_LANG_UNRESTRICTED = 4;
/////////////////////////////////////////////////////////////////////
// "TransactionType" Property Constants
/////////////////////////////////////////////////////////////////////
public static final int PPAD_TRANS_DEBIT = 1;
public static final int PPAD_TRANS_CREDIT = 2;
public static final int PPAD_TRANS_INQ = 3;
public static final int PPAD_TRANS_RECONCILE = 4;
public static final int PPAD_TRANS_ADMIN = 5;
/////////////////////////////////////////////////////////////////////
// "EndEFTTransaction" Method Completion Code Constants
/////////////////////////////////////////////////////////////////////
public static final int PPAD_EFT_NORMAL = 1;
public static final int PPAD_EFT_ABNORMAL = 2;
/////////////////////////////////////////////////////////////////////
// "DataEvent" Event Status Constants
/////////////////////////////////////////////////////////////////////
public static final int PPAD_SUCCESS = 1;
public static final int PPAD_CANCEL = 2;
public static final int PPAD_TIMEOUT = 3;
/////////////////////////////////////////////////////////////////////
// "ErrorCodeExtended" Property Constants for PINPad
/////////////////////////////////////////////////////////////////////
public static final int JPOS_EPPAD_BAD_KEY = 1 + JposConst.JPOSERREXT;
}