Package com.adyen.model.openbanking
Class IBANAccountIdentifier
- java.lang.Object
-
- com.adyen.model.openbanking.IBANAccountIdentifier
-
public class IBANAccountIdentifier extends Object
IBANAccountIdentifier
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BBANstatic StringJSON_PROPERTY_BICstatic StringJSON_PROPERTY_IBAN
-
Constructor Summary
Constructors Constructor Description IBANAccountIdentifier()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IBANAccountIdentifierbban(String bban)The Basic Bank Account Number (BBAN) component of the IBAN.IBANAccountIdentifierbic(String bic)BIC of a bank account.booleanequals(Object o)Return true if this IBANAccountIdentifier object is equal to o.static IBANAccountIdentifierfromJson(String jsonString)Create an instance of IBANAccountIdentifier given an JSON stringStringgetBban()The Basic Bank Account Number (BBAN) component of the IBAN.StringgetBic()BIC of a bank account.StringgetIban()The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.inthashCode()IBANAccountIdentifieriban(String iban)The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.voidsetBban(String bban)The Basic Bank Account Number (BBAN) component of the IBAN.voidsetBic(String bic)BIC of a bank account.voidsetIban(String iban)The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.StringtoJson()Convert an instance of IBANAccountIdentifier to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_BBAN
public static final String JSON_PROPERTY_BBAN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BIC
public static final String JSON_PROPERTY_BIC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IBAN
public static final String JSON_PROPERTY_IBAN
- See Also:
- Constant Field Values
-
-
Method Detail
-
bban
public IBANAccountIdentifier bban(String bban)
The Basic Bank Account Number (BBAN) component of the IBAN.- Parameters:
bban- The Basic Bank Account Number (BBAN) component of the IBAN.- Returns:
- the current
IBANAccountIdentifierinstance, allowing for method chaining
-
getBban
public String getBban()
The Basic Bank Account Number (BBAN) component of the IBAN.- Returns:
- bban The Basic Bank Account Number (BBAN) component of the IBAN.
-
setBban
public void setBban(String bban)
The Basic Bank Account Number (BBAN) component of the IBAN.- Parameters:
bban- The Basic Bank Account Number (BBAN) component of the IBAN.
-
bic
public IBANAccountIdentifier bic(String bic)
BIC of a bank account.- Parameters:
bic- BIC of a bank account.- Returns:
- the current
IBANAccountIdentifierinstance, allowing for method chaining
-
getBic
public String getBic()
BIC of a bank account.- Returns:
- bic BIC of a bank account.
-
setBic
public void setBic(String bic)
BIC of a bank account.- Parameters:
bic- BIC of a bank account.
-
iban
public IBANAccountIdentifier iban(String iban)
The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. This is the national identifier for the bank account, following the country-specific format, and is part of the full IBAN.- Parameters:
iban- The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. This is the national identifier for the bank account, following the country-specific format, and is part of the full IBAN.- Returns:
- the current
IBANAccountIdentifierinstance, allowing for method chaining
-
getIban
public String getIban()
The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. This is the national identifier for the bank account, following the country-specific format, and is part of the full IBAN.- Returns:
- iban The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. This is the national identifier for the bank account, following the country-specific format, and is part of the full IBAN.
-
setIban
public void setIban(String iban)
The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. This is the national identifier for the bank account, following the country-specific format, and is part of the full IBAN.- Parameters:
iban- The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. This is the national identifier for the bank account, following the country-specific format, and is part of the full IBAN.
-
equals
public boolean equals(Object o)
Return true if this IBANAccountIdentifier object is equal to o.
-
fromJson
public static IBANAccountIdentifier fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of IBANAccountIdentifier given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IBANAccountIdentifier
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to IBANAccountIdentifier
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of IBANAccountIdentifier to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-