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.
-
-
Constructor Summary
Constructors Constructor Description ProductClassificationSystemCode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid(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 String GPC
- See Also:
- Constant Field Values
-
ECL
public static final String ECL
- See Also:
- Constant Field Values
-
UNSPSC
public static final String UNSPSC
- See Also:
- Constant Field Values
-
HS
public static final String HS
- See Also:
- Constant Field Values
-
CBV
public static final String CBV
- See Also:
- Constant Field Values
-
SELLER_ASSIGNED
public static final String SELLER_ASSIGNED
- See Also:
- Constant Field Values
-
BUYER_ASSIGNED
public static final String BUYER_ASSIGNED
- See Also:
- Constant Field Values
-
-
Method Detail
-
isValid
public boolean isValid(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
-
-