public class OrganizationHandler extends AbstractHandler
| Constructor and Description |
|---|
OrganizationHandler(String baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
OrganizationResponse |
getMyOrganization()
Retrieve the currently authenticated organization.
|
OrganizationResponse |
getMyOrganization(QueryParams params)
Retrieve the currently authenticated organization.
|
OrganizationResponse |
getOrganization(String organizationId)
Retrieve an organization by its ID.
|
OrganizationResponse |
getOrganization(String organizationId,
QueryParams params)
Retrieve an organization by its ID.
|
delete, delete, delete, get, get, patch, patch, post, post, postWithoutBody, validateResponsepublic OrganizationHandler(String baseUrl)
public OrganizationResponse getMyOrganization() throws MollieException
MollieException - when something went wrongpublic OrganizationResponse getMyOrganization(QueryParams params) throws MollieException
params - a map of query paramsMollieException - when something went wrongpublic OrganizationResponse getOrganization(String organizationId) throws MollieException
If you do not know the organization’s ID, you can use the organizations list endpoint to retrieve all organizations that are accessible.
organizationId - An organization IDMollieException - when something went wrongpublic OrganizationResponse getOrganization(String organizationId, QueryParams params) throws MollieException
If you do not know the organization’s ID, you can use the organizations list endpoint to retrieve all organizations that are accessible.
organizationId - An organization IDparams - a map of query paramsMollieException - when something went wrongCopyright © 2020. All rights reserved.