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 java.lang.String
EXEMPT_FROM_TAX
static java.lang.String
INTRA_COMMUNITY_SUPPLY
static java.lang.String
OUTSIDE_SCOPE
static java.lang.String
STANDARD_RATE
static java.lang.String
VAT_REVERSE_CHARGE
static java.lang.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(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
-
VAT_REVERSE_CHARGE
public static final java.lang.String VAT_REVERSE_CHARGE
- See Also:
- Constant Field Values
-
EXEMPT_FROM_TAX
public static final java.lang.String EXEMPT_FROM_TAX
- See Also:
- Constant Field Values
-
ZERO_RATED_GOODS
public static final java.lang.String ZERO_RATED_GOODS
- See Also:
- Constant Field Values
-
OUTSIDE_SCOPE
public static final java.lang.String OUTSIDE_SCOPE
- See Also:
- Constant Field Values
-
INTRA_COMMUNITY_SUPPLY
public static final java.lang.String INTRA_COMMUNITY_SUPPLY
- See Also:
- Constant Field Values
-
STANDARD_RATE
public static final java.lang.String STANDARD_RATE
- 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
-
-