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.OnboardingLinkSettingsgetSettings()Get settingsStringgetThemeId()The unique identifier of the hosted onboarding theme.inthashCode()OnboardingLinkInfolocale(String locale)OnboardingLinkInforedirectUrl(String redirectUrl)voidsetLocale(String locale)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.voidsetRedirectUrl(String redirectUrl)The URL where the user is redirected after they complete hosted onboarding.voidsetSettings(OnboardingLinkSettings settings)settingsvoidsetThemeId(String themeId)The unique identifier of the hosted onboarding theme.OnboardingLinkInfosettings(OnboardingLinkSettings 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 valuesfor [marketplaces](https://docs.adyen.com/marketplaces/onboard-users/hosted#supported-languages) or [platforms](https://docs.adyen.com/platforms/onboard-users/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)
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 valuesfor [marketplaces](https://docs.adyen.com/marketplaces/onboard-users/hosted#supported-languages) or [platforms](https://docs.adyen.com/platforms/onboard-users/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.- Parameters:
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)
The URL where the user is redirected after they complete hosted onboarding.- Parameters:
redirectUrl-
-
settings
public OnboardingLinkInfo settings(OnboardingLinkSettings settings)
-
getSettings
public OnboardingLinkSettings getSettings()
Get settings- Returns:
- settings
-
setSettings
public void setSettings(OnboardingLinkSettings settings)
settings- Parameters:
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)
The unique identifier of the hosted onboarding theme.- Parameters:
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
-
-