Class TaxCategoryCode
- java.lang.Object
-
- com.itextpdf.text.zugferd.checkers.CodeValidation
-
- com.itextpdf.text.zugferd.checkers.comfort.TaxCategoryCode
-
public class TaxCategoryCode extends CodeValidation
Class that can be used to check if a tax category code is valid.
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXEMPT_FROM_TAX
static String
INTRA_COMMUNITY_SUPPLY
static String
OUTSIDE_SCOPE
static String
STANDARD_RATE
static String
VAT_REVERSE_CHARGE
static String
ZERO_RATED_GOODS
-
Constructor Summary
Constructors Constructor Description TaxCategoryCode()
-
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
-
VAT_REVERSE_CHARGE
public static final String VAT_REVERSE_CHARGE
- See Also:
- Constant Field Values
-
EXEMPT_FROM_TAX
public static final String EXEMPT_FROM_TAX
- See Also:
- Constant Field Values
-
ZERO_RATED_GOODS
public static final String ZERO_RATED_GOODS
- See Also:
- Constant Field Values
-
OUTSIDE_SCOPE
public static final String OUTSIDE_SCOPE
- See Also:
- Constant Field Values
-
INTRA_COMMUNITY_SUPPLY
public static final String INTRA_COMMUNITY_SUPPLY
- See Also:
- Constant Field Values
-
STANDARD_RATE
public static final String STANDARD_RATE
- 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
-
-