public class RefundHandler extends AbstractHandler
baseUrl, mapper| Constructor | Description |
|---|---|
RefundHandler(String baseUrl) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
cancelRefund(String paymentId,
String refundId) |
|
void |
cancelRefund(String paymentId,
String refundId,
QueryParams params) |
|
RefundResponse |
createRefund(String paymentId,
RefundRequest body) |
|
RefundResponse |
createRefund(String paymentId,
RefundRequest body,
QueryParams params) |
|
RefundResponse |
getRefund(String paymentId,
String refundId) |
|
Pagination<RefundListResponse> |
listRefunds() |
|
Pagination<RefundListResponse> |
listRefunds(QueryParams params) |
|
Pagination<RefundListResponse> |
listRefunds(String paymentId) |
|
Pagination<RefundListResponse> |
listRefunds(String paymentId,
QueryParams params) |
validateResponsepublic RefundHandler(String baseUrl)
public RefundResponse createRefund(String paymentId, RefundRequest body) throws MollieException
MollieExceptionpublic RefundResponse createRefund(String paymentId, RefundRequest body, QueryParams params) throws MollieException
MollieExceptionpublic RefundResponse getRefund(String paymentId, String refundId) throws MollieException
MollieExceptionpublic void cancelRefund(String paymentId, String refundId) throws MollieException
MollieExceptionpublic void cancelRefund(String paymentId, String refundId, QueryParams params) throws MollieException
MollieExceptionpublic Pagination<RefundListResponse> listRefunds() throws MollieException
MollieExceptionpublic Pagination<RefundListResponse> listRefunds(QueryParams params) throws MollieException
MollieExceptionpublic Pagination<RefundListResponse> listRefunds(String paymentId) throws MollieException
MollieExceptionpublic Pagination<RefundListResponse> listRefunds(String paymentId, QueryParams params) throws MollieException
MollieExceptionCopyright © 2018. All rights reserved.