Class AccountHolderDetails
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.AccountHolderDetails
-
public class AccountHolderDetails extends Object
AccountHolderDetails
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDRESSstatic StringJSON_PROPERTY_BANK_ACCOUNT_DETAILSstatic StringJSON_PROPERTY_BANK_AGGREGATOR_DATA_REFERENCEstatic StringJSON_PROPERTY_BUSINESS_DETAILSstatic StringJSON_PROPERTY_EMAILstatic StringJSON_PROPERTY_FULL_PHONE_NUMBERstatic StringJSON_PROPERTY_INDIVIDUAL_DETAILSstatic StringJSON_PROPERTY_LAST_REVIEW_DATEstatic StringJSON_PROPERTY_LEGAL_ARRANGEMENTSstatic StringJSON_PROPERTY_MERCHANT_CATEGORY_CODEstatic StringJSON_PROPERTY_METADATAstatic StringJSON_PROPERTY_PAYOUT_METHODSstatic StringJSON_PROPERTY_PRINCIPAL_BUSINESS_ADDRESSstatic StringJSON_PROPERTY_STORE_DETAILSstatic StringJSON_PROPERTY_WEB_ADDRESS
-
Constructor Summary
Constructors Constructor Description AccountHolderDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountHolderDetailsaddBankAccountDetailsItem(BankAccountDetail bankAccountDetailsItem)AccountHolderDetailsaddLegalArrangementsItem(LegalArrangementDetail legalArrangementsItem)AccountHolderDetailsaddPayoutMethodsItem(PayoutMethod payoutMethodsItem)AccountHolderDetailsaddress(ViasAddress address)AccountHolderDetailsaddStoreDetailsItem(StoreDetail storeDetailsItem)AccountHolderDetailsbankAccountDetails(List<BankAccountDetail> bankAccountDetails)AccountHolderDetailsbankAggregatorDataReference(String bankAggregatorDataReference)AccountHolderDetailsbusinessDetails(BusinessDetails businessDetails)AccountHolderDetailsemail(String email)booleanequals(Object o)Return true if this AccountHolderDetails object is equal to o.static AccountHolderDetailsfromJson(String jsonString)Create an instance of AccountHolderDetails given an JSON stringAccountHolderDetailsfullPhoneNumber(String fullPhoneNumber)ViasAddressgetAddress()Get addressList<BankAccountDetail>getBankAccountDetails()Array of bank accounts associated with the account holder.StringgetBankAggregatorDataReference()The opaque reference value returned by the Adyen API during bank account login.BusinessDetailsgetBusinessDetails()Get businessDetailsStringgetEmail()The email address of the account holder.StringgetFullPhoneNumber()The phone number of the account holder provided as a single string.IndividualDetailsgetIndividualDetails()Get individualDetailsStringgetLastReviewDate()Date when you last reviewed the account holder's information, in ISO-8601 YYYY-MM-DD format.List<LegalArrangementDetail>getLegalArrangements()An array containing information about the account holder's [legal arrangements](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/legal-arrangements).StringgetMerchantCategoryCode()The Merchant Category Code of the account holder.Map<String,String>getMetadata()A set of key and value pairs for general use by the account holder or merchant.List<PayoutMethod>getPayoutMethods()Array of tokenized card details associated with the account holder.ViasAddressgetPrincipalBusinessAddress()Get principalBusinessAddressList<StoreDetail>getStoreDetails()Array of stores associated with the account holder.StringgetWebAddress()The URL of the website of the account holder.inthashCode()AccountHolderDetailsindividualDetails(IndividualDetails individualDetails)AccountHolderDetailslastReviewDate(String lastReviewDate)AccountHolderDetailslegalArrangements(List<LegalArrangementDetail> legalArrangements)AccountHolderDetailsmerchantCategoryCode(String merchantCategoryCode)AccountHolderDetailsmetadata(Map<String,String> metadata)AccountHolderDetailspayoutMethods(List<PayoutMethod> payoutMethods)AccountHolderDetailsprincipalBusinessAddress(ViasAddress principalBusinessAddress)AccountHolderDetailsputMetadataItem(String key, String metadataItem)voidsetAddress(ViasAddress address)voidsetBankAccountDetails(List<BankAccountDetail> bankAccountDetails)voidsetBankAggregatorDataReference(String bankAggregatorDataReference)voidsetBusinessDetails(BusinessDetails businessDetails)voidsetEmail(String email)voidsetFullPhoneNumber(String fullPhoneNumber)voidsetIndividualDetails(IndividualDetails individualDetails)voidsetLastReviewDate(String lastReviewDate)voidsetLegalArrangements(List<LegalArrangementDetail> legalArrangements)voidsetMerchantCategoryCode(String merchantCategoryCode)voidsetMetadata(Map<String,String> metadata)voidsetPayoutMethods(List<PayoutMethod> payoutMethods)voidsetPrincipalBusinessAddress(ViasAddress principalBusinessAddress)voidsetStoreDetails(List<StoreDetail> storeDetails)voidsetWebAddress(String webAddress)AccountHolderDetailsstoreDetails(List<StoreDetail> storeDetails)StringtoJson()Convert an instance of AccountHolderDetails to an JSON stringStringtoString()AccountHolderDetailswebAddress(String webAddress)
-
-
-
Field Detail
-
JSON_PROPERTY_ADDRESS
public static final String JSON_PROPERTY_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_ACCOUNT_DETAILS
public static final String JSON_PROPERTY_BANK_ACCOUNT_DETAILS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_AGGREGATOR_DATA_REFERENCE
public static final String JSON_PROPERTY_BANK_AGGREGATOR_DATA_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BUSINESS_DETAILS
public static final String JSON_PROPERTY_BUSINESS_DETAILS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EMAIL
public static final String JSON_PROPERTY_EMAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FULL_PHONE_NUMBER
public static final String JSON_PROPERTY_FULL_PHONE_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INDIVIDUAL_DETAILS
public static final String JSON_PROPERTY_INDIVIDUAL_DETAILS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LAST_REVIEW_DATE
public static final String JSON_PROPERTY_LAST_REVIEW_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LEGAL_ARRANGEMENTS
public static final String JSON_PROPERTY_LEGAL_ARRANGEMENTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_CATEGORY_CODE
public static final String JSON_PROPERTY_MERCHANT_CATEGORY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_METADATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYOUT_METHODS
public static final String JSON_PROPERTY_PAYOUT_METHODS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRINCIPAL_BUSINESS_ADDRESS
public static final String JSON_PROPERTY_PRINCIPAL_BUSINESS_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORE_DETAILS
public static final String JSON_PROPERTY_STORE_DETAILS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WEB_ADDRESS
public static final String JSON_PROPERTY_WEB_ADDRESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
address
public AccountHolderDetails address(ViasAddress address)
-
getAddress
public ViasAddress getAddress()
Get address- Returns:
- address
-
setAddress
public void setAddress(ViasAddress address)
-
bankAccountDetails
public AccountHolderDetails bankAccountDetails(List<BankAccountDetail> bankAccountDetails)
-
addBankAccountDetailsItem
public AccountHolderDetails addBankAccountDetailsItem(BankAccountDetail bankAccountDetailsItem)
-
getBankAccountDetails
public List<BankAccountDetail> getBankAccountDetails()
Array of bank accounts associated with the account holder. For details about the required `bankAccountDetail` fields, see [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information).- Returns:
- bankAccountDetails
-
setBankAccountDetails
public void setBankAccountDetails(List<BankAccountDetail> bankAccountDetails)
-
bankAggregatorDataReference
public AccountHolderDetails bankAggregatorDataReference(String bankAggregatorDataReference)
-
getBankAggregatorDataReference
public String getBankAggregatorDataReference()
The opaque reference value returned by the Adyen API during bank account login.- Returns:
- bankAggregatorDataReference
-
setBankAggregatorDataReference
public void setBankAggregatorDataReference(String bankAggregatorDataReference)
-
businessDetails
public AccountHolderDetails businessDetails(BusinessDetails businessDetails)
-
getBusinessDetails
public BusinessDetails getBusinessDetails()
Get businessDetails- Returns:
- businessDetails
-
setBusinessDetails
public void setBusinessDetails(BusinessDetails businessDetails)
-
email
public AccountHolderDetails email(String email)
-
getEmail
public String getEmail()
The email address of the account holder.- Returns:
-
setEmail
public void setEmail(String email)
-
fullPhoneNumber
public AccountHolderDetails fullPhoneNumber(String fullPhoneNumber)
-
getFullPhoneNumber
public String getFullPhoneNumber()
The phone number of the account holder provided as a single string. It will be handled as a landline phone. **Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\"- Returns:
- fullPhoneNumber
-
setFullPhoneNumber
public void setFullPhoneNumber(String fullPhoneNumber)
-
individualDetails
public AccountHolderDetails individualDetails(IndividualDetails individualDetails)
-
getIndividualDetails
public IndividualDetails getIndividualDetails()
Get individualDetails- Returns:
- individualDetails
-
setIndividualDetails
public void setIndividualDetails(IndividualDetails individualDetails)
-
lastReviewDate
public AccountHolderDetails lastReviewDate(String lastReviewDate)
-
getLastReviewDate
public String getLastReviewDate()
Date when you last reviewed the account holder's information, in ISO-8601 YYYY-MM-DD format. For example, **2020-01-31**.- Returns:
- lastReviewDate
-
setLastReviewDate
public void setLastReviewDate(String lastReviewDate)
-
legalArrangements
public AccountHolderDetails legalArrangements(List<LegalArrangementDetail> legalArrangements)
-
addLegalArrangementsItem
public AccountHolderDetails addLegalArrangementsItem(LegalArrangementDetail legalArrangementsItem)
-
getLegalArrangements
public List<LegalArrangementDetail> getLegalArrangements()
An array containing information about the account holder's [legal arrangements](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/legal-arrangements).- Returns:
- legalArrangements
-
setLegalArrangements
public void setLegalArrangements(List<LegalArrangementDetail> legalArrangements)
-
merchantCategoryCode
public AccountHolderDetails merchantCategoryCode(String merchantCategoryCode)
-
getMerchantCategoryCode
public String getMerchantCategoryCode()
The Merchant Category Code of the account holder. > If not specified in the request, this will be derived from the platform account (which is configured by Adyen).- Returns:
- merchantCategoryCode
-
setMerchantCategoryCode
public void setMerchantCategoryCode(String merchantCategoryCode)
-
metadata
public AccountHolderDetails metadata(Map<String,String> metadata)
-
putMetadataItem
public AccountHolderDetails putMetadataItem(String key, String metadataItem)
-
getMetadata
public Map<String,String> getMetadata()
A set of key and value pairs for general use by the account holder or merchant. The keys do not have specific names and may be used for storing miscellaneous data as desired. > The values being stored have a maximum length of eighty (80) characters and will be truncated if necessary. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.- Returns:
- metadata
-
payoutMethods
public AccountHolderDetails payoutMethods(List<PayoutMethod> payoutMethods)
-
addPayoutMethodsItem
public AccountHolderDetails addPayoutMethodsItem(PayoutMethod payoutMethodsItem)
-
getPayoutMethods
public List<PayoutMethod> getPayoutMethods()
Array of tokenized card details associated with the account holder. For details about how you can use the tokens to pay out, refer to [Pay out to cards](https://docs.adyen.com/marketplaces-and-platforms/classic/payout-to-cards).- Returns:
- payoutMethods
-
setPayoutMethods
public void setPayoutMethods(List<PayoutMethod> payoutMethods)
-
principalBusinessAddress
public AccountHolderDetails principalBusinessAddress(ViasAddress principalBusinessAddress)
-
getPrincipalBusinessAddress
public ViasAddress getPrincipalBusinessAddress()
Get principalBusinessAddress- Returns:
- principalBusinessAddress
-
setPrincipalBusinessAddress
public void setPrincipalBusinessAddress(ViasAddress principalBusinessAddress)
-
storeDetails
public AccountHolderDetails storeDetails(List<StoreDetail> storeDetails)
-
addStoreDetailsItem
public AccountHolderDetails addStoreDetailsItem(StoreDetail storeDetailsItem)
-
getStoreDetails
public List<StoreDetail> getStoreDetails()
Array of stores associated with the account holder. Required when onboarding account holders that have an Adyen [point of sale](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-pos).- Returns:
- storeDetails
-
setStoreDetails
public void setStoreDetails(List<StoreDetail> storeDetails)
-
webAddress
public AccountHolderDetails webAddress(String webAddress)
-
getWebAddress
public String getWebAddress()
The URL of the website of the account holder.- Returns:
- webAddress
-
setWebAddress
public void setWebAddress(String webAddress)
-
equals
public boolean equals(Object o)
Return true if this AccountHolderDetails object is equal to o.
-
fromJson
public static AccountHolderDetails fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AccountHolderDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountHolderDetails
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AccountHolderDetails
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AccountHolderDetails to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-