Class ProductClassificationSystemCode
- java.lang.Object
-
- com.itextpdf.text.zugferd.checkers.CodeValidation
-
- com.itextpdf.text.zugferd.checkers.extended.ProductClassificationSystemCode
-
public class ProductClassificationSystemCode extends CodeValidation
= Series of codes that can be used for the product classification system. These codes are used only in the context of the Extended profile.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BUYER_ASSIGNED
static java.lang.String
CBV
static java.lang.String
ECL
static java.lang.String
GPC
static java.lang.String
HS
static java.lang.String
SELLER_ASSIGNED
static java.lang.String
UNSPSC
-
Constructor Summary
Constructors Constructor Description ProductClassificationSystemCode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid(java.lang.String code)
Checks if a specific code is valid.-
Methods inherited from class com.itextpdf.text.zugferd.checkers.CodeValidation
check, isLowercase, isNumeric, isUppercase
-
-
-
-
Field Detail
-
GPC
public static final java.lang.String GPC
- See Also:
- Constant Field Values
-
ECL
public static final java.lang.String ECL
- See Also:
- Constant Field Values
-
UNSPSC
public static final java.lang.String UNSPSC
- See Also:
- Constant Field Values
-
HS
public static final java.lang.String HS
- See Also:
- Constant Field Values
-
CBV
public static final java.lang.String CBV
- See Also:
- Constant Field Values
-
SELLER_ASSIGNED
public static final java.lang.String SELLER_ASSIGNED
- See Also:
- Constant Field Values
-
BUYER_ASSIGNED
public static final java.lang.String BUYER_ASSIGNED
- See Also:
- Constant Field Values
-
-
Method Detail
-
isValid
public boolean isValid(java.lang.String code)
Description copied from class:CodeValidation
Checks if a specific code is valid.- Specified by:
isValid
in classCodeValidation
- Parameters:
code
- the value you want to check- Returns:
- true if the code is valid
-
-