Package com.adyen.model.marketpayfund
Class BankAccountDetail
- java.lang.Object
-
- com.adyen.model.marketpayfund.BankAccountDetail
-
public class BankAccountDetail extends Object
BankAccountDetail
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BankAccountDetail()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BankAccountDetailaccountNumber(String accountNumber)BankAccountDetailaccountType(String accountType)BankAccountDetailbankAccountName(String bankAccountName)BankAccountDetailbankAccountReference(String bankAccountReference)BankAccountDetailbankAccountUUID(String bankAccountUUID)BankAccountDetailbankBicSwift(String bankBicSwift)BankAccountDetailbankCity(String bankCity)BankAccountDetailbankCode(String bankCode)BankAccountDetailbankName(String bankName)BankAccountDetailbranchCode(String branchCode)BankAccountDetailcheckCode(String checkCode)BankAccountDetailcountryCode(String countryCode)BankAccountDetailcurrencyCode(String currencyCode)booleanequals(Object o)Return true if this BankAccountDetail object is equal to o.static BankAccountDetailfromJson(String jsonString)Create an instance of BankAccountDetail given an JSON stringStringgetAccountNumber()The bank account number (without separators).StringgetAccountType()The type of bank account.StringgetBankAccountName()The name of the bank account.StringgetBankAccountReference()Merchant reference to the bank account.StringgetBankAccountUUID()The unique identifier (UUID) of the Bank Account.StringgetBankBicSwift()The bank identifier code.StringgetBankCity()The city in which the bank branch is located.StringgetBankCode()The bank code of the banking institution with which the bank account is registered.StringgetBankName()The name of the banking institution with which the bank account is held.StringgetBranchCode()The branch code of the branch under which the bank account is registered.StringgetCheckCode()The check code of the bank account.StringgetCountryCode()The two-letter country code in which the bank account is registered.StringgetCurrencyCode()The currency in which the bank account deals.StringgetIban()The international bank account number.StringgetOwnerCity()The city of residence of the bank account owner.StringgetOwnerCountryCode()The country code of the country of residence of the bank account owner.StringgetOwnerDateOfBirth()Deprecated.StringgetOwnerHouseNumberOrName()The house name or number of the residence of the bank account owner.StringgetOwnerName()The name of the bank account owner.StringgetOwnerNationality()The country code of the country of nationality of the bank account owner.StringgetOwnerPostalCode()The postal code of the residence of the bank account owner.StringgetOwnerState()The state of residence of the bank account owner.StringgetOwnerStreet()The street name of the residence of the bank account owner.BooleangetPrimaryAccount()If set to true, the bank account is a primary account.StringgetTaxId()The tax ID number.StringgetUrlForVerification()The URL to be used for bank account verification.inthashCode()BankAccountDetailiban(String iban)BankAccountDetailownerCity(String ownerCity)BankAccountDetailownerCountryCode(String ownerCountryCode)BankAccountDetailownerDateOfBirth(String ownerDateOfBirth)BankAccountDetailownerHouseNumberOrName(String ownerHouseNumberOrName)BankAccountDetailownerName(String ownerName)BankAccountDetailownerNationality(String ownerNationality)BankAccountDetailownerPostalCode(String ownerPostalCode)BankAccountDetailownerState(String ownerState)BankAccountDetailownerStreet(String ownerStreet)BankAccountDetailprimaryAccount(Boolean primaryAccount)voidsetAccountNumber(String accountNumber)voidsetAccountType(String accountType)voidsetBankAccountName(String bankAccountName)voidsetBankAccountReference(String bankAccountReference)voidsetBankAccountUUID(String bankAccountUUID)voidsetBankBicSwift(String bankBicSwift)voidsetBankCity(String bankCity)voidsetBankCode(String bankCode)voidsetBankName(String bankName)voidsetBranchCode(String branchCode)voidsetCheckCode(String checkCode)voidsetCountryCode(String countryCode)voidsetCurrencyCode(String currencyCode)voidsetIban(String iban)voidsetOwnerCity(String ownerCity)voidsetOwnerCountryCode(String ownerCountryCode)voidsetOwnerDateOfBirth(String ownerDateOfBirth)Deprecated.voidsetOwnerHouseNumberOrName(String ownerHouseNumberOrName)voidsetOwnerName(String ownerName)voidsetOwnerNationality(String ownerNationality)voidsetOwnerPostalCode(String ownerPostalCode)voidsetOwnerState(String ownerState)voidsetOwnerStreet(String ownerStreet)voidsetPrimaryAccount(Boolean primaryAccount)voidsetTaxId(String taxId)voidsetUrlForVerification(String urlForVerification)BankAccountDetailtaxId(String taxId)StringtoJson()Convert an instance of BankAccountDetail to an JSON stringStringtoString()BankAccountDetailurlForVerification(String urlForVerification)
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_NUMBER
public static final String JSON_PROPERTY_ACCOUNT_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACCOUNT_TYPE
public static final String JSON_PROPERTY_ACCOUNT_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_ACCOUNT_NAME
public static final String JSON_PROPERTY_BANK_ACCOUNT_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_ACCOUNT_REFERENCE
public static final String JSON_PROPERTY_BANK_ACCOUNT_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_ACCOUNT_U_U_I_D
public static final String JSON_PROPERTY_BANK_ACCOUNT_U_U_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_BIC_SWIFT
public static final String JSON_PROPERTY_BANK_BIC_SWIFT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_CITY
public static final String JSON_PROPERTY_BANK_CITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_CODE
public static final String JSON_PROPERTY_BANK_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_NAME
public static final String JSON_PROPERTY_BANK_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BRANCH_CODE
public static final String JSON_PROPERTY_BRANCH_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CHECK_CODE
public static final String JSON_PROPERTY_CHECK_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COUNTRY_CODE
public static final String JSON_PROPERTY_COUNTRY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CURRENCY_CODE
public static final String JSON_PROPERTY_CURRENCY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IBAN
public static final String JSON_PROPERTY_IBAN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OWNER_CITY
public static final String JSON_PROPERTY_OWNER_CITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OWNER_COUNTRY_CODE
public static final String JSON_PROPERTY_OWNER_COUNTRY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OWNER_DATE_OF_BIRTH
public static final String JSON_PROPERTY_OWNER_DATE_OF_BIRTH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OWNER_HOUSE_NUMBER_OR_NAME
public static final String JSON_PROPERTY_OWNER_HOUSE_NUMBER_OR_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OWNER_NAME
public static final String JSON_PROPERTY_OWNER_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OWNER_NATIONALITY
public static final String JSON_PROPERTY_OWNER_NATIONALITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OWNER_POSTAL_CODE
public static final String JSON_PROPERTY_OWNER_POSTAL_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OWNER_STATE
public static final String JSON_PROPERTY_OWNER_STATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OWNER_STREET
public static final String JSON_PROPERTY_OWNER_STREET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRIMARY_ACCOUNT
public static final String JSON_PROPERTY_PRIMARY_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TAX_ID
public static final String JSON_PROPERTY_TAX_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URL_FOR_VERIFICATION
public static final String JSON_PROPERTY_URL_FOR_VERIFICATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountNumber
public BankAccountDetail accountNumber(String accountNumber)
-
getAccountNumber
public String getAccountNumber()
The bank account number (without separators). >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
-
accountType
public BankAccountDetail accountType(String accountType)
-
getAccountType
public String getAccountType()
The type of bank account. Only applicable to bank accounts held in the USA. The permitted values are: `checking`, `savings`. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- accountType
-
setAccountType
public void setAccountType(String accountType)
-
bankAccountName
public BankAccountDetail bankAccountName(String bankAccountName)
-
getBankAccountName
public String getBankAccountName()
The name of the bank account.- Returns:
- bankAccountName
-
setBankAccountName
public void setBankAccountName(String bankAccountName)
-
bankAccountReference
public BankAccountDetail bankAccountReference(String bankAccountReference)
-
getBankAccountReference
public String getBankAccountReference()
Merchant reference to the bank account.- Returns:
- bankAccountReference
-
setBankAccountReference
public void setBankAccountReference(String bankAccountReference)
-
bankAccountUUID
public BankAccountDetail bankAccountUUID(String bankAccountUUID)
-
getBankAccountUUID
public String getBankAccountUUID()
The unique identifier (UUID) of the Bank Account. >If, during an account holder create or update request, this field is left blank (but other fields provided), a new Bank Account will be created with a procedurally-generated UUID. >If, during an account holder create request, a UUID is provided, the creation of the Bank Account will fail while the creation of the account holder will continue. >If, during an account holder update request, a UUID that is not correlated with an existing Bank Account is provided, the update of the account holder will fail. >If, during an account holder update request, a UUID that is correlated with an existing Bank Account is provided, the existing Bank Account will be updated.- Returns:
- bankAccountUUID
-
setBankAccountUUID
public void setBankAccountUUID(String bankAccountUUID)
-
bankBicSwift
public BankAccountDetail bankBicSwift(String bankBicSwift)
-
getBankBicSwift
public String getBankBicSwift()
The bank identifier code. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- bankBicSwift
-
setBankBicSwift
public void setBankBicSwift(String bankBicSwift)
-
bankCity
public BankAccountDetail bankCity(String bankCity)
-
getBankCity
public String getBankCity()
The city in which the bank branch is located. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- bankCity
-
setBankCity
public void setBankCity(String bankCity)
-
bankCode
public BankAccountDetail bankCode(String bankCode)
-
getBankCode
public String getBankCode()
The bank code of the banking institution with which the bank account is registered. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- bankCode
-
setBankCode
public void setBankCode(String bankCode)
-
bankName
public BankAccountDetail bankName(String bankName)
-
getBankName
public String getBankName()
The name of the banking institution with which the bank account is held. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- bankName
-
setBankName
public void setBankName(String bankName)
-
branchCode
public BankAccountDetail branchCode(String branchCode)
-
getBranchCode
public String getBranchCode()
The branch code of the branch under which the bank account is registered. The value to be specified in this parameter depends on the country of the bank account: * United States - Routing number * United Kingdom - Sort code * Germany - Bankleitzahl >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- branchCode
-
setBranchCode
public void setBranchCode(String branchCode)
-
checkCode
public BankAccountDetail checkCode(String checkCode)
-
getCheckCode
public String getCheckCode()
The check code of the bank account. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- checkCode
-
setCheckCode
public void setCheckCode(String checkCode)
-
countryCode
public BankAccountDetail countryCode(String countryCode)
-
getCountryCode
public String getCountryCode()
The two-letter country code in which the bank account is registered. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL'). >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- countryCode
-
setCountryCode
public void setCountryCode(String countryCode)
-
currencyCode
public BankAccountDetail currencyCode(String currencyCode)
-
getCurrencyCode
public String getCurrencyCode()
The currency in which the bank account deals. >The permitted currency codes are defined in ISO-4217 (e.g. 'EUR').- Returns:
- currencyCode
-
setCurrencyCode
public void setCurrencyCode(String currencyCode)
-
iban
public BankAccountDetail iban(String iban)
-
getIban
public String getIban()
The international bank account number. >The IBAN standard is defined in ISO-13616. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- iban
-
setIban
public void setIban(String iban)
-
ownerCity
public BankAccountDetail ownerCity(String ownerCity)
-
getOwnerCity
public String getOwnerCity()
The city of residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- ownerCity
-
setOwnerCity
public void setOwnerCity(String ownerCity)
-
ownerCountryCode
public BankAccountDetail ownerCountryCode(String ownerCountryCode)
-
getOwnerCountryCode
public String getOwnerCountryCode()
The country code of the country of residence of the bank account owner. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL'). >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- ownerCountryCode
-
setOwnerCountryCode
public void setOwnerCountryCode(String ownerCountryCode)
-
ownerDateOfBirth
public BankAccountDetail ownerDateOfBirth(String ownerDateOfBirth)
-
getOwnerDateOfBirth
@Deprecated public String getOwnerDateOfBirth()
Deprecated.The date of birth of the bank account owner. The date should be in ISO-8601 format yyyy-mm-dd (e.g. 2000-01-31).- Returns:
- ownerDateOfBirth
-
setOwnerDateOfBirth
@Deprecated public void setOwnerDateOfBirth(String ownerDateOfBirth)
Deprecated.
-
ownerHouseNumberOrName
public BankAccountDetail ownerHouseNumberOrName(String ownerHouseNumberOrName)
-
getOwnerHouseNumberOrName
public String getOwnerHouseNumberOrName()
The house name or number of the residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- ownerHouseNumberOrName
-
setOwnerHouseNumberOrName
public void setOwnerHouseNumberOrName(String ownerHouseNumberOrName)
-
ownerName
public BankAccountDetail ownerName(String ownerName)
-
getOwnerName
public String getOwnerName()
The name of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- ownerName
-
setOwnerName
public void setOwnerName(String ownerName)
-
ownerNationality
public BankAccountDetail ownerNationality(String ownerNationality)
-
getOwnerNationality
public String getOwnerNationality()
The country code of the country of nationality of the bank account owner. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL'). >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- ownerNationality
-
setOwnerNationality
public void setOwnerNationality(String ownerNationality)
-
ownerPostalCode
public BankAccountDetail ownerPostalCode(String ownerPostalCode)
-
getOwnerPostalCode
public String getOwnerPostalCode()
The postal code of the residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- ownerPostalCode
-
setOwnerPostalCode
public void setOwnerPostalCode(String ownerPostalCode)
-
ownerState
public BankAccountDetail ownerState(String ownerState)
-
getOwnerState
public String getOwnerState()
The state of residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- ownerState
-
setOwnerState
public void setOwnerState(String ownerState)
-
ownerStreet
public BankAccountDetail ownerStreet(String ownerStreet)
-
getOwnerStreet
public String getOwnerStreet()
The street name of the residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- ownerStreet
-
setOwnerStreet
public void setOwnerStreet(String ownerStreet)
-
primaryAccount
public BankAccountDetail primaryAccount(Boolean primaryAccount)
-
getPrimaryAccount
public Boolean getPrimaryAccount()
If set to true, the bank account is a primary account.- Returns:
- primaryAccount
-
setPrimaryAccount
public void setPrimaryAccount(Boolean primaryAccount)
-
taxId
public BankAccountDetail taxId(String taxId)
-
getTaxId
public String getTaxId()
The tax ID number. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- taxId
-
setTaxId
public void setTaxId(String taxId)
-
urlForVerification
public BankAccountDetail urlForVerification(String urlForVerification)
-
getUrlForVerification
public String getUrlForVerification()
The URL to be used for bank account verification. This may be generated on bank account creation. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.- Returns:
- urlForVerification
-
setUrlForVerification
public void setUrlForVerification(String urlForVerification)
-
equals
public boolean equals(Object o)
Return true if this BankAccountDetail object is equal to o.
-
fromJson
public static BankAccountDetail fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of BankAccountDetail given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BankAccountDetail
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to BankAccountDetail
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BankAccountDetail to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-