public class GlobalIdentifierCode extends CodeValidation
Modifier and Type | Field and Description |
---|---|
static String |
DUNS |
static String |
GLN |
static String |
GTIN |
static String |
ODETTE |
static String |
SWIFT |
Constructor and Description |
---|
GlobalIdentifierCode() |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(String code)
The code list provided with the ZUGFeRD standard only lists five codes.
|
check, isLowercase, isNumeric, isUppercase
public static final String SWIFT
public static final String DUNS
public static final String GLN
public static final String GTIN
public static final String ODETTE
public boolean isValid(String code)
isValid
in class CodeValidation
code
- the code to be tested
Copyright © 1998–2024. All rights reserved.