public class QuantityCode extends CodeValidation
Modifier and Type | Field and Description |
---|---|
static String |
BAG |
static String |
BARREL |
static String |
BOTTLE |
static String |
BOTTLECRATE |
static String |
BOX |
static String |
CAN |
static String |
CARTON |
static String |
CASE |
static String |
PALLET |
static String |
ROLL |
static String |
SACK |
static String |
UNPACKAGED |
Constructor and Description |
---|
QuantityCode() |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(String code)
The code list provided with the ZUGFeRD standard only lists twelve codes.
|
check, isLowercase, isNumeric, isUppercase
public static final String BARREL
public static final String BOTTLECRATE
public static final String BAG
public static final String BOTTLE
public static final String BOX
public static final String CASE
public static final String CARTON
public static final String CAN
public static final String UNPACKAGED
public static final String PALLET
public static final String ROLL
public static final String SACK
public boolean isValid(String code)
isValid
in class CodeValidation
code
- the code to be tested
Copyright © 1998–2018. All rights reserved.