Class HostedOnboardingApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.legalentitymanagement.HostedOnboardingApi
-
public class HostedOnboardingApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description HostedOnboardingApi(Client client)Hosted Onboarding constructor inpackage.HostedOnboardingApi(Client client, String baseURL)Hosted Onboarding constructor inpackage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OnboardingLinkgetLinkToAdyenhostedOnboardingPage(String id, OnboardingLinkInfo onboardingLinkInfo)Get a link to an Adyen-hosted onboarding pageOnboardingLinkgetLinkToAdyenhostedOnboardingPage(String id, OnboardingLinkInfo onboardingLinkInfo, RequestOptions requestOptions)Get a link to an Adyen-hosted onboarding pageOnboardingThemegetOnboardingLinkTheme(String id)Get an onboarding link themeOnboardingThemegetOnboardingLinkTheme(String id, RequestOptions requestOptions)Get an onboarding link themeOnboardingThemeslistHostedOnboardingPageThemes()Get a list of hosted onboarding page themesOnboardingThemeslistHostedOnboardingPageThemes(RequestOptions requestOptions)Get a list of hosted onboarding page themes-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Field Detail
-
API_VERSION
public static final String API_VERSION
- See Also:
- Constant Field Values
-
baseURL
protected String baseURL
-
-
Constructor Detail
-
HostedOnboardingApi
public HostedOnboardingApi(Client client)
Hosted Onboarding constructor inpackage.- Parameters:
client-Client(required)
-
-
Method Detail
-
getLinkToAdyenhostedOnboardingPage
public OnboardingLink getLinkToAdyenhostedOnboardingPage(String id, OnboardingLinkInfo onboardingLinkInfo) throws ApiException, IOException
Get a link to an Adyen-hosted onboarding page- Parameters:
id-StringThe unique identifier of the legal entity (required)onboardingLinkInfo-OnboardingLinkInfo(required)- Returns:
OnboardingLink- Throws:
ApiException- if fails to make API callIOException
-
getLinkToAdyenhostedOnboardingPage
public OnboardingLink getLinkToAdyenhostedOnboardingPage(String id, OnboardingLinkInfo onboardingLinkInfo, RequestOptions requestOptions) throws ApiException, IOException
Get a link to an Adyen-hosted onboarding page- Parameters:
id-StringThe unique identifier of the legal entity (required)onboardingLinkInfo-OnboardingLinkInfo(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
OnboardingLink- Throws:
ApiException- if fails to make API callIOException
-
getOnboardingLinkTheme
public OnboardingTheme getOnboardingLinkTheme(String id) throws ApiException, IOException
Get an onboarding link theme- Parameters:
id-StringThe unique identifier of the theme (required)- Returns:
OnboardingTheme- Throws:
ApiException- if fails to make API callIOException
-
getOnboardingLinkTheme
public OnboardingTheme getOnboardingLinkTheme(String id, RequestOptions requestOptions) throws ApiException, IOException
Get an onboarding link theme- Parameters:
id-StringThe unique identifier of the theme (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
OnboardingTheme- Throws:
ApiException- if fails to make API callIOException
-
listHostedOnboardingPageThemes
public OnboardingThemes listHostedOnboardingPageThemes() throws ApiException, IOException
Get a list of hosted onboarding page themes- Returns:
OnboardingThemes- Throws:
ApiException- if fails to make API callIOException
-
listHostedOnboardingPageThemes
public OnboardingThemes listHostedOnboardingPageThemes(RequestOptions requestOptions) throws ApiException, IOException
Get a list of hosted onboarding page themes- Parameters:
requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
OnboardingThemes- Throws:
ApiException- if fails to make API callIOException
-
-