public class ChargebackHandler extends AbstractHandler
| Constructor and Description |
|---|
ChargebackHandler(String baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
ChargebackResponse |
getChargeback(String paymentId,
String chargebackId)
Retrieve a single chargeback by its ID.
|
ChargebackResponse |
getChargeback(String paymentId,
String chargebackId,
QueryParams params)
Retrieve a single chargeback by its ID.
|
Pagination<ChargebackListResponse> |
listChargebacks()
Retrieve all received chargebacks.
|
Pagination<ChargebackListResponse> |
listChargebacks(QueryParams params)
Retrieve all received chargebacks.
|
Pagination<ChargebackListResponse> |
listChargebacks(String paymentId)
Retrieve all received chargebacks.
|
Pagination<ChargebackListResponse> |
listChargebacks(String paymentId,
QueryParams params)
Retrieve all received chargebacks.
|
delete, delete, delete, get, get, patch, patch, post, post, postWithoutBody, validateResponsepublic ChargebackHandler(String baseUrl)
public ChargebackResponse getChargeback(String paymentId, String chargebackId) throws MollieException
paymentId - a payment idchargebackId - a chargeback idMollieException - when something went wrongpublic ChargebackResponse getChargeback(String paymentId, String chargebackId, QueryParams params) throws MollieException
paymentId - a payment idchargebackId - a chargeback idparams - A map of query parametersMollieException - when something went wrongpublic Pagination<ChargebackListResponse> listChargebacks() throws MollieException
MollieException - when something went wrongpublic Pagination<ChargebackListResponse> listChargebacks(QueryParams params) throws MollieException
params - A map of query parametersMollieException - when something went wrongpublic Pagination<ChargebackListResponse> listChargebacks(String paymentId) throws MollieException
paymentId - A payment idMollieException - when something went wrongpublic Pagination<ChargebackListResponse> listChargebacks(String paymentId, QueryParams params) throws MollieException
The results are not paginated.
paymentId - A payment idparams - A map of query parametersMollieException - when something went wrongCopyright © 2020. All rights reserved.