Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
G
H
M
S
V
_
C
CreditCardInfo
- class com.acmetech.cc.
CreditCardInfo
.
Validate credit card checksum and determine type of credit card.
cardType(String)
- Static method in class com.acmetech.cc.
CreditCardInfo
Get the card type for a given credit card account number.
com.acmetech.cc
- package com.acmetech.cc
Credit Card and Magstripe Utilities.
G
getAccountName()
- Method in class com.acmetech.cc.
MagStripeCard
Get the raw account holder name (ex.: "Spears/Brintney S").
getAccountNumber()
- Method in class com.acmetech.cc.
MagStripeCard
Get primary account number (PAN field from Track 1 or Track 2 data)
getExpirationMonth()
- Method in class com.acmetech.cc.
MagStripeCard
Get expiration month from track 1 or track 2 data.
getExpirationYear()
- Method in class com.acmetech.cc.
MagStripeCard
Get expiration year from track 1 or track 2 data.
getFirstName()
- Method in class com.acmetech.cc.
MagStripeCard
Get account holder first name
getLastName()
- Method in class com.acmetech.cc.
MagStripeCard
Get account holder last name
getTrack1()
- Method in class com.acmetech.cc.
MagStripeCard
Get Track 1 magstripe string.
getTrack2()
- Method in class com.acmetech.cc.
MagStripeCard
Get Track 2 magstripe string.
getTrack2WasAutoGenerated()
- Method in class com.acmetech.cc.
MagStripeCard
Determine whether the
Track 2
data string was auto-generated during parsing.
getTrackData()
- Method in class com.acmetech.cc.
MagStripeCard
Get the combined Track 1 & 2 data string if both are available.
H
hasTrack1()
- Method in class com.acmetech.cc.
MagStripeCard
Determine if track 1 data is present.
hasTrack2()
- Method in class com.acmetech.cc.
MagStripeCard
Determine if track 2 data is present.
M
MagStripeCard
- class com.acmetech.cc.
MagStripeCard
.
Parse magstripe
Track 1
&
Track 2
data.
MagStripeCard(String)
- Constructor for class com.acmetech.cc.
MagStripeCard
Create a MagStripeCard using magnetic stripe data string (tracks 1, 2 or both)
MagstripeParseException
- exception com.acmetech.cc.
MagstripeParseException
.
Exception thrown during parsing of magstripe data string.
MagstripeParseException(String)
- Constructor for class com.acmetech.cc.
MagstripeParseException
Default constructor.
main(String[])
- Static method in class com.acmetech.cc.
CreditCardInfo
Test all the credit card utilities in this class.
main(String[])
- Static method in class com.acmetech.cc.
MagStripeCard
Static test method called with a single parameter (the track 1, 2 or combined mag data string) Call with no parameters for sample usage string.
S
stripNonDigits(String)
- Static method in class com.acmetech.cc.
CreditCardInfo
Strip out non-digit characters returning the raw credit card account number.
V
validateChecksum(String)
- Static method in class com.acmetech.cc.
CreditCardInfo
Determine if card account number passes checksum verification.
_
_AccountHolder
- Variable in class com.acmetech.cc.
MagStripeCard
Raw account name (something like "Creditmeister/Steven P")
_AutoGenerateTrack2
- Static variable in class com.acmetech.cc.
MagStripeCard
If set to true (default) track2 data is automatically generated if it was not supplied.
_Debug
- Static variable in class com.acmetech.cc.
MagStripeCard
if set to true, parsing and debugging info written to System.out
_ExpMonthStr
- Variable in class com.acmetech.cc.
MagStripeCard
Expiration month (two digit)
_ExpYearStr
- Variable in class com.acmetech.cc.
MagStripeCard
Expiration year (four digit)
_HasTrack1
- Variable in class com.acmetech.cc.
MagStripeCard
true if track 1 data present
_HasTrack2
- Variable in class com.acmetech.cc.
MagStripeCard
true if track 2 data present (note: track 2 is autmatically generated if _AutoGenerateTrack2 is set to true -- default's to true)
_InputStripeStr
- Variable in class com.acmetech.cc.
MagStripeCard
raw input string containing track 1, track 2 or track 1 & 2 data.
_NameFirst
- Variable in class com.acmetech.cc.
MagStripeCard
Account holder first name (plus possibly middle initial, title, etc)
_NameLast
- Variable in class com.acmetech.cc.
MagStripeCard
Account holder surname
_NeedsParsing
- Variable in class com.acmetech.cc.
MagStripeCard
set to true after input magnetic stripe string has been parsed.
_PAN
- Variable in class com.acmetech.cc.
MagStripeCard
Primary Account Number
_Track1Data
- Variable in class com.acmetech.cc.
MagStripeCard
track 1 data string (parsed from input) including sentinel characters.
_Track2Data
- Variable in class com.acmetech.cc.
MagStripeCard
track 2 data string (parsed from input) including sentinel characters.
_Track2WasAutoGenerated
- Variable in class com.acmetech.cc.
MagStripeCard
True if
Track 2
magnetic stripe data was auto-generated from the Track 1 data.
_parse()
- Method in class com.acmetech.cc.
MagStripeCard
parse the magstripe string.
C
G
H
M
S
V
_
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes