Class OnboardingLinkInfo
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.OnboardingLinkInfo
-
public class OnboardingLinkInfo extends Object
OnboardingLinkInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_LOCALEstatic StringJSON_PROPERTY_REDIRECT_URLstatic StringJSON_PROPERTY_SETTINGSstatic StringJSON_PROPERTY_THEME_ID
-
Constructor Summary
Constructors Constructor Description OnboardingLinkInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this OnboardingLinkInfo object is equal to o.static OnboardingLinkInfofromJson(String jsonString)Create an instance of OnboardingLinkInfo given an JSON stringStringgetLocale()The language that will be used for the page, specified by a combination of two letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language and [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes.StringgetRedirectUrl()The URL where the user is redirected after they complete hosted onboarding.Map<String,Boolean>getSettings()Boolean key-value pairs indicating the settings for the hosted onboarding page.StringgetThemeId()The unique identifier of the hosted onboarding theme.inthashCode()OnboardingLinkInfolocale(String locale)OnboardingLinkInfoputSettingsItem(String key, Boolean settingsItem)OnboardingLinkInforedirectUrl(String redirectUrl)voidsetLocale(String locale)voidsetRedirectUrl(String redirectUrl)voidsetSettings(Map<String,Boolean> settings)voidsetThemeId(String themeId)OnboardingLinkInfosettings(Map<String,Boolean> settings)OnboardingLinkInfothemeId(String themeId)StringtoJson()Convert an instance of OnboardingLinkInfo to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_LOCALE
public static final String JSON_PROPERTY_LOCALE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REDIRECT_URL
public static final String JSON_PROPERTY_REDIRECT_URL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SETTINGS
public static final String JSON_PROPERTY_SETTINGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THEME_ID
public static final String JSON_PROPERTY_THEME_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
locale
public OnboardingLinkInfo locale(String locale)
-
getLocale
public String getLocale()
The language that will be used for the page, specified by a combination of two letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language and [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. See [possible values](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details/hosted#supported-languages). If not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default.- Returns:
- locale
-
setLocale
public void setLocale(String locale)
-
redirectUrl
public OnboardingLinkInfo redirectUrl(String redirectUrl)
-
getRedirectUrl
public String getRedirectUrl()
The URL where the user is redirected after they complete hosted onboarding.- Returns:
- redirectUrl
-
setRedirectUrl
public void setRedirectUrl(String redirectUrl)
-
settings
public OnboardingLinkInfo settings(Map<String,Boolean> settings)
-
putSettingsItem
public OnboardingLinkInfo putSettingsItem(String key, Boolean settingsItem)
-
getSettings
public Map<String,Boolean> getSettings()
Boolean key-value pairs indicating the settings for the hosted onboarding page. The keys are the settings. Possible keys: By default, these values are set to **true**. Set to **false** to not allow the action. - **changeLegalEntityType**: The user can change their legal entity type. - **editPrefilledCountry**: The user can change the country of their legal entity's address, for example the registered address of an organization. By default, these values are set to **false**. Set to **true** to allow the action. - **allowBankAccountFormatSelection**: The user can select the format for their payout account if applicable. - **allowIntraRegionCrossBorderPayout**: The user can select a payout account in a different EU/EEA country than the country of their legal entity. By default, these value are set to **false**. Set the following values to **true** to require the user to sign PCI questionnaires based on their sales channels. The user must sign PCI questionnaires for all relevant sales channels. - **requirePciSignEcommerce** - **requirePciSignPos** - **requirePciSignEcomMoto** - **requirePciSignPosMoto**- Returns:
- settings
-
themeId
public OnboardingLinkInfo themeId(String themeId)
-
getThemeId
public String getThemeId()
The unique identifier of the hosted onboarding theme.- Returns:
- themeId
-
setThemeId
public void setThemeId(String themeId)
-
equals
public boolean equals(Object o)
Return true if this OnboardingLinkInfo object is equal to o.
-
fromJson
public static OnboardingLinkInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of OnboardingLinkInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OnboardingLinkInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to OnboardingLinkInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of OnboardingLinkInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-