Class TaxTypeCode
- java.lang.Object
-
- com.itextpdf.text.zugferd.checkers.CodeValidation
-
- com.itextpdf.text.zugferd.checkers.basic.TaxTypeCode
-
public class TaxTypeCode extends CodeValidation
Class that can be used to check if a tax type code is valid.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
INSURANCE_TAX
static java.lang.String
TAX_ON_REPLACEMENT_PART
static java.lang.String
VALUE_ADDED_TAX
-
Constructor Summary
Constructors Constructor Description TaxTypeCode()
-
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
-
VALUE_ADDED_TAX
public static final java.lang.String VALUE_ADDED_TAX
- See Also:
- Constant Field Values
-
INSURANCE_TAX
public static final java.lang.String INSURANCE_TAX
- See Also:
- Constant Field Values
-
TAX_ON_REPLACEMENT_PART
public static final java.lang.String TAX_ON_REPLACEMENT_PART
- 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
-
-