public class PermissionHandler extends AbstractHandler
| Constructor and Description |
|---|
PermissionHandler(String baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
PermissionResponse |
getPermission(Permission permission)
All API actions through OAuth are by default protected for privacy and/or money related reasons and therefore require specific permissions.
|
PermissionResponse |
getPermission(Permission permission,
QueryParams params)
All API actions through OAuth are by default protected for privacy and/or money related reasons and therefore require specific permissions.
|
Pagination<PermissionListResponse> |
getPermissions()
List all permissions available with the current app access token.
|
Pagination<PermissionListResponse> |
getPermissions(QueryParams params)
List all permissions available with the current app access token.
|
delete, delete, delete, get, get, patch, patch, post, post, postWithoutBody, validateResponsepublic PermissionHandler(String baseUrl)
public PermissionResponse getPermission(Permission permission) throws MollieException
permission - A permissionMollieException - when something went wrongpublic PermissionResponse getPermission(Permission permission, QueryParams params) throws MollieException
permission - A permissionparams - A map of query paramsMollieException - when something went wrongpublic Pagination<PermissionListResponse> getPermissions() throws MollieException
MollieException - when something went wrongpublic Pagination<PermissionListResponse> getPermissions(QueryParams params) throws MollieException
params - A map of query paramsMollieException - when something went wrongCopyright © 2020. All rights reserved.