Class OnboardingLinkInfo
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.OnboardingLinkInfo
-
public class OnboardingLinkInfo extends Object
OnboardingLinkInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOnboardingLinkInfo.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_LOCALEstatic StringSERIALIZED_NAME_REDIRECT_URLstatic StringSERIALIZED_NAME_SETTINGSstatic StringSERIALIZED_NAME_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)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()The enabled/disabled settings in the hosted onboarding webpage.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()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_LOCALE
public static final String SERIALIZED_NAME_LOCALE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REDIRECT_URL
public static final String SERIALIZED_NAME_REDIRECT_URL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SETTINGS
public static final String SERIALIZED_NAME_SETTINGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THEME_ID
public static final String SERIALIZED_NAME_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/onboarding/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()
The enabled/disabled settings in the hosted onboarding webpage.- 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)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to OnboardingLinkInfo
-
fromJson
public static OnboardingLinkInfo fromJson(String jsonString) throws IOException
Create an instance of OnboardingLinkInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OnboardingLinkInfo
- Throws:
IOException- if the JSON string is invalid with respect to OnboardingLinkInfo
-
toJson
public String toJson()
Convert an instance of OnboardingLinkInfo to an JSON string- Returns:
- JSON string
-
-