public class DocumentTypeCode extends CodeValidation
Modifier and Type | Field and Description |
---|---|
static int |
BASIC |
static int |
COMFORT |
static String |
COMMERCIAL_INVOICE |
static String |
DEBIT_NOTE_FINANCIAL_ADJUSTMENT |
static int |
EXTENDED |
protected int |
profile |
static String |
SELF_BILLED_INVOICE |
Constructor and Description |
---|
DocumentTypeCode(int profile) |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(String code)
Checks if a specific code is valid.
|
static boolean |
isValidBasic(String code) |
static boolean |
isValidComfort(String code) |
static boolean |
isValidExtended(String code) |
check, isLowercase, isNumeric, isUppercase
public static final String COMMERCIAL_INVOICE
public static final String DEBIT_NOTE_FINANCIAL_ADJUSTMENT
public static final String SELF_BILLED_INVOICE
public static final int BASIC
public static final int COMFORT
public static final int EXTENDED
protected int profile
public boolean isValid(String code)
CodeValidation
isValid
in class CodeValidation
code
- the value you want to check
public static boolean isValidBasic(String code)
public static boolean isValidComfort(String code)
public static boolean isValidExtended(String code)
Copyright © 1998–2018. All rights reserved.