com.itextpdf.text.zugferd.checkers.basic
Class TaxTypeCode

java.lang.Object
  extended by com.itextpdf.text.zugferd.checkers.CodeValidation
      extended by 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
static String INSURANCE_TAX
           
static String TAX_ON_REPLACEMENT_PART
           
static String VALUE_ADDED_TAX
           
 
Constructor Summary
TaxTypeCode()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALUE_ADDED_TAX

public static final String VALUE_ADDED_TAX
See Also:
Constant Field Values

INSURANCE_TAX

public static final String INSURANCE_TAX
See Also:
Constant Field Values

TAX_ON_REPLACEMENT_PART

public static final String TAX_ON_REPLACEMENT_PART
See Also:
Constant Field Values
Constructor Detail

TaxTypeCode

public TaxTypeCode()
Method Detail

isValid

public boolean isValid(String code)
Description copied from class: CodeValidation
Checks if a specific code is valid.

Specified by:
isValid in class CodeValidation
Parameters:
code - the value you want to check
Returns:
true if the code is valid


Copyright © 2015. All Rights Reserved.