Class OnboardingHandler
- java.lang.Object
-
- be.woutschoovaerts.mollie.handler.connect.OnboardingHandler
-
public class OnboardingHandler extends Object
Handles the onboarding API Mollie docs- Author:
- Wout Schoovaerts
-
-
Constructor Summary
Constructors Constructor Description OnboardingHandler(RestService restService)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description OnboardingResponse
getOnboardingStatus()
Get the status of onboarding of the authenticated organization.OnboardingResponse
getOnboardingStatus(QueryParams params)
Get the status of onboarding of the authenticated organization.void
submitOnboardingData(OnboardingRequest body)
Deprecated.Use ClientLinkHandler.createClientLink()void
submitOnboardingData(OnboardingRequest body, QueryParams params)
Deprecated.Use ClientLinkHandler.createClientLink()
-
-
-
Constructor Detail
-
OnboardingHandler
public OnboardingHandler(RestService restService)
-
-
Method Detail
-
getOnboardingStatus
public OnboardingResponse getOnboardingStatus() throws MollieException
Get the status of onboarding of the authenticated organization.- Returns:
- OnboardingResponse object
- Throws:
MollieException
- when something went wrong
-
getOnboardingStatus
public OnboardingResponse getOnboardingStatus(QueryParams params) throws MollieException
Get the status of onboarding of the authenticated organization.- Parameters:
params
- A map of query params- Returns:
- OnboardingResponse object
- Throws:
MollieException
- when something went wrong
-
submitOnboardingData
@Deprecated public void submitOnboardingData(OnboardingRequest body) throws MollieException
Deprecated.Use ClientLinkHandler.createClientLink()Submit data that will be prefilled in the merchant’s onboarding. Please note that the data you submit will only be processed when the onboarding status is needs-data.- Parameters:
body
- OnboardingRequest object- Throws:
MollieException
- when something went wrong
-
submitOnboardingData
@Deprecated public void submitOnboardingData(OnboardingRequest body, QueryParams params) throws MollieException
Deprecated.Use ClientLinkHandler.createClientLink()Submit data that will be prefilled in the merchant’s onboarding. Please note that the data you submit will only be processed when the onboarding status is needs-data.- Parameters:
body
- OnboardingRequest objectparams
- A map of query params- Throws:
MollieException
- when something went wrong
-
-