From bb496ef3e4f27bd81f16f1eba0e38a85952bb334 Mon Sep 17 00:00:00 2001 From: Sander van Hooft Date: Fri, 8 Nov 2024 15:32:13 +0100 Subject: [PATCH] Updated to match docs --- src/Resources/Chargeback.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/Resources/Chargeback.php b/src/Resources/Chargeback.php index d55b6da09..c54bf7ad2 100644 --- a/src/Resources/Chargeback.php +++ b/src/Resources/Chargeback.php @@ -2,16 +2,10 @@ namespace Mollie\Api\Resources; -/** - * @method Refund[]|RefundCollection all($from = null, $limit = 50, array $filters = []) - * @method Refund get($refundId, array $filters = []) - * @method Refund create(array $data = [], array $filters = []) - * @method Refund delete($refundId) - */ class Chargeback extends BaseResource { /** - * Always 'chargeback' + * Always 'chargeback'. * * @var string */ @@ -47,12 +41,19 @@ class Chargeback extends BaseResource public $paymentId; /** - * The settlement amount + * The settlement amount. * * @var \stdClass */ public $settlementAmount; + /** + * The identifier referring to the settlement this payment was settled with. + * + * @var string|null + */ + public $settlementId; + /** * The chargeback reason *