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.TypeEnumnumberAndBic**
-
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()Get additionalBankIdentificationStringgetBic()The bank's 8- or 11-character BIC or SWIFT code.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.NumberAndBicAccountIdentification.TypeEnumgetType()**numberAndBic**inthashCode()NumberAndBicAccountIdentificationincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.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.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.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- The bank account number, without separators or whitespace. The length and format depends on the bank or country.- 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 The bank account number, without separators or whitespace. The length and format depends on the bank or country.
-
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- The bank account number, without separators or whitespace. The length and format depends on the bank or country.
-
additionalBankIdentification
public NumberAndBicAccountIdentification additionalBankIdentification(AdditionalBankIdentification additionalBankIdentification)
additionalBankIdentification- Parameters:
additionalBankIdentification-- Returns:
- the current
NumberAndBicAccountIdentificationinstance, allowing for method chaining
-
getAdditionalBankIdentification
public AdditionalBankIdentification getAdditionalBankIdentification()
Get 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- The bank's 8- or 11-character BIC or SWIFT code.- 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 The bank's 8- or 11-character BIC or SWIFT code.
-
setBic
public void setBic(String bic)
The bank's 8- or 11-character BIC or SWIFT code.- Parameters:
bic- The bank's 8- or 11-character BIC or SWIFT code.
-
type
public NumberAndBicAccountIdentification type(NumberAndBicAccountIdentification.TypeEnum type)
**numberAndBic**- Parameters:
type- **numberAndBic**- Returns:
- the current
NumberAndBicAccountIdentificationinstance, allowing for method chaining
-
getType
public NumberAndBicAccountIdentification.TypeEnum getType()
**numberAndBic**- Returns:
- type **numberAndBic**
-
setType
public void setType(NumberAndBicAccountIdentification.TypeEnum type)
**numberAndBic**- Parameters:
type- **numberAndBic**
-
includeNullValues
public NumberAndBicAccountIdentification includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this NumberAndBicAccountIdentification object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
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
-
-