com.itextpdf.text.zugferd.checkers.extended
Class ProductClassificationSystemCode

java.lang.Object
  extended by com.itextpdf.text.zugferd.checkers.CodeValidation
      extended by com.itextpdf.text.zugferd.checkers.extended.ProductClassificationSystemCode

public class ProductClassificationSystemCode
extends CodeValidation

= Series of codes that can be used for the product classification system. These codes are used only in the context of the Extended profile.


Field Summary
static String BUYER_ASSIGNED
           
static String CBV
           
static String ECL
           
static String GPC
           
static String HS
           
static String SELLER_ASSIGNED
           
static String UNSPSC
           
 
Constructor Summary
ProductClassificationSystemCode()
           
 
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

GPC

public static final String GPC
See Also:
Constant Field Values

ECL

public static final String ECL
See Also:
Constant Field Values

UNSPSC

public static final String UNSPSC
See Also:
Constant Field Values

HS

public static final String HS
See Also:
Constant Field Values

CBV

public static final String CBV
See Also:
Constant Field Values

SELLER_ASSIGNED

public static final String SELLER_ASSIGNED
See Also:
Constant Field Values

BUYER_ASSIGNED

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

ProductClassificationSystemCode

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