Package com.adyen.model.transfers
Class NumberAndBicAccountIdentification
- java.lang.Object
-
- com.adyen.model.transfers.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)NumberAndBicAccountIdentificationadditionalBankIdentification(AdditionalBankIdentification additionalBankIdentification)NumberAndBicAccountIdentificationbic(String bic)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()Get 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)
-
-
-
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)
-
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)
-
getAdditionalBankIdentification
public AdditionalBankIdentification getAdditionalBankIdentification()
Get additionalBankIdentification- Returns:
- additionalBankIdentification
-
setAdditionalBankIdentification
public void setAdditionalBankIdentification(AdditionalBankIdentification additionalBankIdentification)
additionalBankIdentification- Parameters:
additionalBankIdentification-
-
bic
public NumberAndBicAccountIdentification bic(String bic)
-
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)
-
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
-
-