001 /* 002 * =========================================================================================== 003 * = COPYRIGHT 004 * PAX Computer Technology (Shenzhen) Co., Ltd. PROPRIETARY INFORMATION 005 * This software is supplied under the terms of a license agreement or nondisclosure 006 * agreement with PAX Computer Technology (Shenzhen) Co., Ltd. and may not be copied or 007 * disclosed except in accordance with the terms in that agreement. 008 * Copyright (C) 2017-2023 PAX Computer Technology (Shenzhen) Co., Ltd. All rights reserved. 009 * Description: // Detail description about the function of this module, 010 * // interfaces with the other modules, and dependencies. 011 * Revision History: 012 * Date Author Action 013 * 2017/04/01 PAX Create/Add/Modify/Delete 014 * =========================================================================================== 015 */ 016 017package com.pax.dal.entity; 018 019/** 020 * <div class="zh"> DUKPT的pin模式定义 </div> <div class="en"> DUKPT pin Mode </div> 021 * 022 * @author Steven.W 023 * 024 */ 025public enum EDUKPTPinMode { 026 027 /** 028 * <div class="zh"> ISO9564 格式0 KSN自动加1 </div> <div class="en"> ISO9564 format 0, KSN auto-add 1 </div> 029 */ 030 ISO9564_0_INC((byte) 0), 031 /** 032 * <div class="zh"> ISO9564 格式1 KSN自动加1 </div> <div class="en"> ISO9564 format 1, KSN auto-add 1 </div> 033 */ 034 ISO9564_1_INC((byte) 1), 035 /** 036 * <div class="zh"> ISO9564 格式3 KSN自动加1 </div> <div class="en"> ISO9564 format 3, KSN auto-add 1 </div> 037 */ 038 ISO9564_2_INC((byte) 2), 039 /** 040 * <div class="zh"> HK EPS格式 KSN自动加1 </div> <div class="en"> HK -format EPS, KSN auto-add 1 </div> 041 */ 042 HKEPS_INC((byte) 3), 043 /** 044 * <div class="zh"> ISO9564 格式0 KSN不自动加1 </div> <div class="en"> ISO9564 format 0 KSN won't auto-add 1 </div> 045 */ 046 ISO9564_0((byte) 20), 047 /** 048 * <div class="zh"> ISO9564 格式1 KSN不自动加1 </div> <div class="en"> ISO9564 format 1 KSN won't auto-add 1 </div> 049 */ 050 ISO9564_1((byte) 21), 051 /** 052 * <div class="zh"> ISO9564 格式3 KSN不自动加1 </div> <div class="en"> ISO9564 format 3 KSN won't auto-add 1 </div> 053 */ 054 ISO9564_2((byte) 22), 055 /** 056 * <div class="zh"> HK EPS格式 KSN不自动加1 </div> <div class="en"> HKEPS KSN won't auto-add 1 </div> 057 */ 058 HKEPS((byte) 23), 059 060 /** 061 * <div class="zh">AS2805 zero length PIN block mode。不会要求输入PIN,不会弹出输PIN窗口,expPinLen必须为0。KSN 自动加1。</div> 062 * <div class="en">AS2805 zero length PIN block mode。The pin input window will not pop up. expPinLen must be 0. KSN auto-add 1.</div> 063 * @since V3.19.00 064 */ 065 AS2805_INC((byte) 6), 066 067 /** 068 * <div class="zh">AS2805 zero length PIN block mode。不会要求输入PIN,不会弹出输PIN窗口,expPinLen必须为0。KSN不自动加1。</div> 069 * <div class="en">AS2805 zero length PIN block mode。The pin input window will not pop up. expPinLen must be 0. KSN won't auto-add 1.</div> 070 * @since V3.19.00 071 */ 072 AS2805((byte) 26), 073 ; 074 075 private byte dukptPinMode; 076 077 private EDUKPTPinMode(byte dukptPinMode) { 078 this.dukptPinMode = dukptPinMode; 079 } 080 081 public byte getDUKPTPinMode() { 082 return dukptPinMode; 083 } 084}