Class AllowanceChargeReasonCode
- java.lang.Object
-
- com.itextpdf.text.zugferd.checkers.CodeValidation
-
- com.itextpdf.text.zugferd.checkers.extended.AllowanceChargeReasonCode
-
public class AllowanceChargeReasonCode extends CodeValidation
Series of codes that can be used for allowance charge reasons. These codes are used only in the context of the Extended profile.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADVERTISING
static String
COLLECTION_AND_RECYCLING
static String
DISCOUNT
static String
EARLY_PAYMENT_ALLOWANCE
static String
FREIGHT_SERVICE
static String
INSURANCE
static String
MINIMUM_BILLING_CHARGE
static String
NON_RETURNABLE_CONTAINERS
static String
OTHER_SERVICES
static String
PACKING
static String
REBATE
static String
SPECIAL_HANDLING
-
Constructor Summary
Constructors Constructor Description AllowanceChargeReasonCode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Field Detail
-
ADVERTISING
public static final String ADVERTISING
- See Also:
- Constant Field Values
-
OTHER_SERVICES
public static final String OTHER_SERVICES
- See Also:
- Constant Field Values
-
COLLECTION_AND_RECYCLING
public static final String COLLECTION_AND_RECYCLING
- See Also:
- Constant Field Values
-
DISCOUNT
public static final String DISCOUNT
- See Also:
- Constant Field Values
-
EARLY_PAYMENT_ALLOWANCE
public static final String EARLY_PAYMENT_ALLOWANCE
- See Also:
- Constant Field Values
-
FREIGHT_SERVICE
public static final String FREIGHT_SERVICE
- See Also:
- Constant Field Values
-
INSURANCE
public static final String INSURANCE
- See Also:
- Constant Field Values
-
MINIMUM_BILLING_CHARGE
public static final String MINIMUM_BILLING_CHARGE
- See Also:
- Constant Field Values
-
NON_RETURNABLE_CONTAINERS
public static final String NON_RETURNABLE_CONTAINERS
- See Also:
- Constant Field Values
-
PACKING
public static final String PACKING
- See Also:
- Constant Field Values
-
REBATE
public static final String REBATE
- See Also:
- Constant Field Values
-
SPECIAL_HANDLING
public static final String SPECIAL_HANDLING
- See Also:
- Constant Field Values
-
-
Method Detail
-
isValid
public boolean isValid(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
-
-