Class NumberAndBicAccountIdentification
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.NumberAndBicAccountIdentification
-
public class NumberAndBicAccountIdentification extends Object
NumberAndBicAccountIdentification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNumberAndBicAccountIdentification.TypeEnum**numberAndBic**
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_NUMBERstatic StringJSON_PROPERTY_ADDITIONAL_BANK_IDENTIFICATIONstatic StringJSON_PROPERTY_BICstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description NumberAndBicAccountIdentification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NumberAndBicAccountIdentificationaccountNumber(String accountNumber)The bank account number, without separators or whitespace.NumberAndBicAccountIdentificationadditionalBankIdentification(AdditionalBankIdentification additionalBankIdentification)additionalBankIdentificationNumberAndBicAccountIdentificationbic(String bic)The bank's 8- or 11-character BIC or SWIFT code.booleanequals(Object o)Return true if this NumberAndBicAccountIdentification object is equal to o.static NumberAndBicAccountIdentificationfromJson(String jsonString)Create an instance of NumberAndBicAccountIdentification given an JSON stringStringgetAccountNumber()The bank account number, without separators or whitespace.AdditionalBankIdentificationgetAdditionalBankIdentification()additionalBankIdentificationStringgetBic()The bank's 8- or 11-character BIC or SWIFT code.NumberAndBicAccountIdentification.TypeEnumgetType()**numberAndBic**inthashCode()voidsetAccountNumber(String accountNumber)The bank account number, without separators or whitespace.voidsetAdditionalBankIdentification(AdditionalBankIdentification additionalBankIdentification)additionalBankIdentificationvoidsetBic(String bic)The bank's 8- or 11-character BIC or SWIFT code.voidsetType(NumberAndBicAccountIdentification.TypeEnum type)**numberAndBic**StringtoJson()Convert an instance of NumberAndBicAccountIdentification to an JSON stringStringtoString()NumberAndBicAccountIdentificationtype(NumberAndBicAccountIdentification.TypeEnum type)**numberAndBic**
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_NUMBER
public static final String JSON_PROPERTY_ACCOUNT_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ADDITIONAL_BANK_IDENTIFICATION
public static final String JSON_PROPERTY_ADDITIONAL_BANK_IDENTIFICATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BIC
public static final String JSON_PROPERTY_BIC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountNumber
public NumberAndBicAccountIdentification accountNumber(String accountNumber)
The bank account number, without separators or whitespace. The length and format depends on the bank or country.- Parameters:
accountNumber-- Returns:
- the current
NumberAndBicAccountIdentificationinstance, allowing for method chaining
-
getAccountNumber
public String getAccountNumber()
The bank account number, without separators or whitespace. The length and format depends on the bank or country.- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
The bank account number, without separators or whitespace. The length and format depends on the bank or country.- Parameters:
accountNumber-
-
additionalBankIdentification
public NumberAndBicAccountIdentification additionalBankIdentification(AdditionalBankIdentification additionalBankIdentification)
additionalBankIdentification- Parameters:
additionalBankIdentification-- Returns:
- the current
NumberAndBicAccountIdentificationinstance, allowing for method chaining
-
getAdditionalBankIdentification
public AdditionalBankIdentification getAdditionalBankIdentification()
additionalBankIdentification- Returns:
- additionalBankIdentification
-
setAdditionalBankIdentification
public void setAdditionalBankIdentification(AdditionalBankIdentification additionalBankIdentification)
additionalBankIdentification- Parameters:
additionalBankIdentification-
-
bic
public NumberAndBicAccountIdentification bic(String bic)
The bank's 8- or 11-character BIC or SWIFT code.- Parameters:
bic-- Returns:
- the current
NumberAndBicAccountIdentificationinstance, allowing for method chaining
-
getBic
public String getBic()
The bank's 8- or 11-character BIC or SWIFT code.- Returns:
- bic
-
setBic
public void setBic(String bic)
The bank's 8- or 11-character BIC or SWIFT code.- Parameters:
bic-
-
type
public NumberAndBicAccountIdentification type(NumberAndBicAccountIdentification.TypeEnum type)
**numberAndBic**- Parameters:
type-- Returns:
- the current
NumberAndBicAccountIdentificationinstance, allowing for method chaining
-
getType
public NumberAndBicAccountIdentification.TypeEnum getType()
**numberAndBic**- Returns:
- type
-
setType
public void setType(NumberAndBicAccountIdentification.TypeEnum type)
**numberAndBic**- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this NumberAndBicAccountIdentification object is equal to o.
-
fromJson
public static NumberAndBicAccountIdentification fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of NumberAndBicAccountIdentification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NumberAndBicAccountIdentification
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to NumberAndBicAccountIdentification
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of NumberAndBicAccountIdentification to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-