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 StringADVERTISINGstatic StringCOLLECTION_AND_RECYCLINGstatic StringDISCOUNTstatic StringEARLY_PAYMENT_ALLOWANCEstatic StringFREIGHT_SERVICEstatic StringINSURANCEstatic StringMINIMUM_BILLING_CHARGEstatic StringNON_RETURNABLE_CONTAINERSstatic StringOTHER_SERVICESstatic StringPACKINGstatic StringREBATEstatic StringSPECIAL_HANDLING
-
Constructor Summary
Constructors Constructor Description AllowanceChargeReasonCode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisValid(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:CodeValidationChecks if a specific code is valid.- Specified by:
isValidin classCodeValidation- Parameters:
code- the value you want to check- Returns:
- true if the code is valid
-
-