public class MandateHandler extends AbstractHandler
baseUrl, mapper| Constructor | Description |
|---|---|
MandateHandler(String baseUrl) |
| Modifier and Type | Method | Description |
|---|---|---|
MandateResponse |
createMandate(String customerId,
MandateRequest body) |
|
MandateResponse |
createMandate(String customerId,
MandateRequest body,
QueryParams params) |
|
MandateResponse |
getMandate(String customerId,
String mandateId) |
|
MandateResponse |
getMandate(String customerId,
String mandateId,
QueryParams params) |
|
Pagination<MandateListResponse> |
listMandates(String customerId) |
|
Pagination<MandateListResponse> |
listMandates(String customerId,
QueryParams params) |
|
void |
revokeMandate(String customerId,
String mandateId) |
|
void |
revokeMandate(String customerId,
String mandateId,
QueryParams params) |
validateResponsepublic MandateHandler(String baseUrl)
public MandateResponse createMandate(String customerId, MandateRequest body) throws MollieException
MollieExceptionpublic MandateResponse createMandate(String customerId, MandateRequest body, QueryParams params) throws MollieException
MollieExceptionpublic MandateResponse getMandate(String customerId, String mandateId) throws MollieException
MollieExceptionpublic MandateResponse getMandate(String customerId, String mandateId, QueryParams params) throws MollieException
MollieExceptionpublic void revokeMandate(String customerId, String mandateId) throws MollieException
MollieExceptionpublic void revokeMandate(String customerId, String mandateId, QueryParams params) throws MollieException
MollieExceptionpublic Pagination<MandateListResponse> listMandates(String customerId) throws MollieException
MollieExceptionpublic Pagination<MandateListResponse> listMandates(String customerId, QueryParams params) throws MollieException
MollieExceptionCopyright © 2018. All rights reserved.