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 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 -
      • 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 -
      • 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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