public class DECreditorIdValidator extends Object implements CreditorIdValidator
| Constructor and Description |
|---|
DECreditorIdValidator() |
| Modifier and Type | Method and Description |
|---|---|
String |
find(String text)
Retrieves the first creditor id from the given text.
|
boolean |
isValid(String creditorId)
Checks if this String is a valid creditor id.
|
String |
nationalId(String creditorId)
Retrieves the invariant part of the creditorId.
|
public String find(String text)
find in interface CreditorIdValidatortext - public String nationalId(String creditorId)
nationalId in interface CreditorIdValidatorcreditorId - public boolean isValid(String creditorId)
CreditorIdValidatorisValid in interface CreditorIdValidatorCopyright © 2018. All rights reserved.