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 java.lang.String
ADVERTISING
static java.lang.String
COLLECTION_AND_RECYCLING
static java.lang.String
DISCOUNT
static java.lang.String
EARLY_PAYMENT_ALLOWANCE
static java.lang.String
FREIGHT_SERVICE
static java.lang.String
INSURANCE
static java.lang.String
MINIMUM_BILLING_CHARGE
static java.lang.String
NON_RETURNABLE_CONTAINERS
static java.lang.String
OTHER_SERVICES
static java.lang.String
PACKING
static java.lang.String
REBATE
static java.lang.String
SPECIAL_HANDLING
-
Constructor Summary
Constructors Constructor Description AllowanceChargeReasonCode()
-
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
-
ADVERTISING
public static final java.lang.String ADVERTISING
- See Also:
- Constant Field Values
-
OTHER_SERVICES
public static final java.lang.String OTHER_SERVICES
- See Also:
- Constant Field Values
-
COLLECTION_AND_RECYCLING
public static final java.lang.String COLLECTION_AND_RECYCLING
- See Also:
- Constant Field Values
-
DISCOUNT
public static final java.lang.String DISCOUNT
- See Also:
- Constant Field Values
-
EARLY_PAYMENT_ALLOWANCE
public static final java.lang.String EARLY_PAYMENT_ALLOWANCE
- See Also:
- Constant Field Values
-
FREIGHT_SERVICE
public static final java.lang.String FREIGHT_SERVICE
- See Also:
- Constant Field Values
-
INSURANCE
public static final java.lang.String INSURANCE
- See Also:
- Constant Field Values
-
MINIMUM_BILLING_CHARGE
public static final java.lang.String MINIMUM_BILLING_CHARGE
- See Also:
- Constant Field Values
-
NON_RETURNABLE_CONTAINERS
public static final java.lang.String NON_RETURNABLE_CONTAINERS
- See Also:
- Constant Field Values
-
PACKING
public static final java.lang.String PACKING
- See Also:
- Constant Field Values
-
REBATE
public static final java.lang.String REBATE
- See Also:
- Constant Field Values
-
SPECIAL_HANDLING
public static final java.lang.String SPECIAL_HANDLING
- 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
-
-