com.itextpdf.text.zugferd.checkers.comfort
Class TaxCategoryCode

java.lang.Object
  extended by com.itextpdf.text.zugferd.checkers.CodeValidation
      extended by 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
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
TaxCategoryCode()
           
 
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

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
Constructor Detail

TaxCategoryCode

public TaxCategoryCode()
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.