Class CALCLUHN
java.lang.Object
org.jpos.q2.cli.CALCLUHN
- All Implemented Interfaces:
CLICommand
CLI command that computes the LUHN check digit for one or more PANs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexec(CLIContext ctx, String[] args) Executes the CLI command.
-
Constructor Details
-
CALCLUHN
public CALCLUHN()Default constructor; no instance state to initialise.
-
-
Method Details
-
exec
Description copied from interface:CLICommandExecutes the CLI command.- Specified by:
execin interfaceCLICommand- Parameters:
ctx- the CLI contextargs- command arguments- Throws:
Exception- on error
-