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 java.lang.String
AUTOMATED_CLEARING_HOUSE
static java.lang.String
BANK_CARD
static java.lang.String
CASH
static java.lang.String
CHEQUE
static java.lang.String
CLEARING
static java.lang.String
DEBIT_TRANSFER
static java.lang.String
DIRECT_DEBIT
static java.lang.String
NOT_DEFINED
static java.lang.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(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
-
NOT_DEFINED
public static final java.lang.String NOT_DEFINED
- See Also:
- Constant Field Values
-
AUTOMATED_CLEARING_HOUSE
public static final java.lang.String AUTOMATED_CLEARING_HOUSE
- See Also:
- Constant Field Values
-
CASH
public static final java.lang.String CASH
- See Also:
- Constant Field Values
-
CHEQUE
public static final java.lang.String CHEQUE
- See Also:
- Constant Field Values
-
DEBIT_TRANSFER
public static final java.lang.String DEBIT_TRANSFER
- See Also:
- Constant Field Values
-
PAYMENT_TO_BANK_ACCOUNT
public static final java.lang.String PAYMENT_TO_BANK_ACCOUNT
- See Also:
- Constant Field Values
-
BANK_CARD
public static final java.lang.String BANK_CARD
- See Also:
- Constant Field Values
-
DIRECT_DEBIT
public static final java.lang.String DIRECT_DEBIT
- See Also:
- Constant Field Values
-
CLEARING
public static final java.lang.String CLEARING
- 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
-
-