com.itextpdf.text.zugferd.checkers.comfort
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.
|
Method Summary |
boolean |
isValid(String code)
Checks if a specific code is valid. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
PaymentMeansCode
public PaymentMeansCode()
isValid
public boolean isValid(String code)
- Description copied from class:
CodeValidation
- Checks if a specific code is valid.
- Specified by:
isValid in class CodeValidation
- Parameters:
code - the value you want to check
- Returns:
- true if the code is valid
Copyright © 2015. All Rights Reserved.