Class PaymentMeansCode
- java.lang.Object
-
- com.itextpdf.text.zugferd.checkers.CodeValidation
-
- com.itextpdf.text.zugferd.checkers.comfort.PaymentMeansCode
-
public class PaymentMeansCode extends CodeValidation
Class that can be used to check if a payment means code is valid.
-
-
Field Summary
Fields Modifier and Type Field Description static String
AUTOMATED_CLEARING_HOUSE
static String
BANK_CARD
static String
CASH
static String
CHEQUE
static String
CLEARING
static String
DEBIT_TRANSFER
static String
DIRECT_DEBIT
static String
NOT_DEFINED
static String
PAYMENT_TO_BANK_ACCOUNT
-
Constructor Summary
Constructors Constructor Description PaymentMeansCode()
-
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
-
NOT_DEFINED
public static final String NOT_DEFINED
- See Also:
- Constant Field Values
-
AUTOMATED_CLEARING_HOUSE
public static final String AUTOMATED_CLEARING_HOUSE
- See Also:
- Constant Field Values
-
CASH
public static final String CASH
- See Also:
- Constant Field Values
-
CHEQUE
public static final String CHEQUE
- See Also:
- Constant Field Values
-
DEBIT_TRANSFER
public static final String DEBIT_TRANSFER
- See Also:
- Constant Field Values
-
PAYMENT_TO_BANK_ACCOUNT
public static final String PAYMENT_TO_BANK_ACCOUNT
- See Also:
- Constant Field Values
-
BANK_CARD
public static final String BANK_CARD
- See Also:
- Constant Field Values
-
DIRECT_DEBIT
public static final String DIRECT_DEBIT
- See Also:
- Constant Field Values
-
CLEARING
public static final String CLEARING
- 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
-
-