• File: RefundResponse.php
  • Full Path: /var/www/crm_set/application/vendor/omnipay/mollie/src/Message/Response/RefundResponse.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 577 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Omnipay\Mollie\Message\Response;

/**
 * @see https://docs.mollie.com/reference/v2/refunds-api/create-refund
 */
class RefundResponse extends AbstractMollieResponse
{
    /**
     * @return null|string
     */
    public function getTransactionReference()
    {
        return $this->data['paymentId'];
    }

    /**
     * @return string
     */
    public function getTransactionId()
    {
        return $this->data['id'];
    }

    /**
     * @return bool
     */
    public function isSuccessful()
    {
        return isset($this->data['id']);
    }
}