Class OnboardingLinkInfo


  • public class OnboardingLinkInfo
    extends Object
    OnboardingLinkInfo
    • Constructor Detail

      • OnboardingLinkInfo

        public OnboardingLinkInfo()
    • Method Detail

      • 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)
      • getRedirectUrl

        public String getRedirectUrl()
        The URL where the user is redirected after they complete hosted onboarding.
        Returns:
        redirectUrl
      • setRedirectUrl

        public void setRedirectUrl​(String redirectUrl)
      • getSettings

        public Map<String,​Boolean> getSettings()
        Boolean key-value pairs indicating the settings for the hosted onboarding page. The keys are the settings. By default, the values are set to **true**. Set to **false** to not allow the action. Possible keys: - **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.
        Returns:
        settings
      • getThemeId

        public String getThemeId()
        The unique identifier of the hosted onboarding theme.
        Returns:
        themeId
      • setThemeId

        public void setThemeId​(String themeId)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates 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