Skip to content

Commit

Permalink
Merge pull request #750 from sandervanhooft/chargeback_updates
Browse files Browse the repository at this point in the history
Added settlementId to Chargeback resource and cleaned up
  • Loading branch information
sandervanhooft authored Nov 8, 2024
2 parents 6401783 + bb496ef commit ac1e033
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/Resources/Chargeback.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*
Expand Down

0 comments on commit ac1e033

Please sign in to comment.