| Modifier and Type | Class and Description |
|---|---|
static class |
Iban.Builder
Iban Builder Class
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAccountNumber()
Returns iban's account number.
|
String |
getAccountType()
Returns iban's account type.
|
String |
getBankCode()
Returns iban's bank code.
|
String |
getBban()
Returns iban's bban (Basic Bank Account Number).
|
String |
getBranchCode()
Returns iban's branch code.
|
String |
getCheckDigit()
Returns iban's check digit.
|
CountryCode |
getCountryCode()
Returns iban's country code.
|
String |
getIdentificationNumber()
Returns iban's identification number.
|
String |
getNationalCheckDigit()
Returns iban's national check digit.
|
String |
getOwnerAccountType()
Returns iban's owner account type.
|
int |
hashCode() |
static Iban |
random() |
static Iban |
random(CountryCode cc) |
String |
toFormattedString()
Returns formatted version of Iban.
|
String |
toString() |
static Iban |
valueOf(String iban)
Returns an Iban object holding the value of the specified String.
|
static Iban |
valueOf(String iban,
IbanFormat format)
Returns an Iban object holding the value of the specified String.
|
public CountryCode getCountryCode()
public String getCheckDigit()
public String getAccountNumber()
public String getBankCode()
public String getBranchCode()
public String getNationalCheckDigit()
public String getAccountType()
public String getOwnerAccountType()
public String getIdentificationNumber()
public String getBban()
public static Iban valueOf(String iban) throws IbanFormatException, InvalidCheckDigitException, UnsupportedCountryException
iban - the String to be parsed.IbanFormatException - if the String doesn't contain parsable Iban
InvalidCheckDigitException if Iban has invalid check digit
UnsupportedCountryException if Iban's Country is not supported.InvalidCheckDigitExceptionUnsupportedCountryExceptionpublic static Iban valueOf(String iban, IbanFormat format) throws IbanFormatException, InvalidCheckDigitException, UnsupportedCountryException
iban - the String to be parsed.format - the format of the Iban.IbanFormatException - if the String doesn't contain parsable Iban
InvalidCheckDigitException if Iban has invalid check digit
UnsupportedCountryException if Iban's Country is not supported.InvalidCheckDigitExceptionUnsupportedCountryExceptionpublic String toFormattedString()
public static Iban random()
public static Iban random(CountryCode cc)
Copyright © 2020. All rights reserved.