Endpoints/PaymentLinkPaymentEndpoint.php

OpenCart · Opencart 1.5 - 3.x/system/library/mollie/src/Endpoints/PaymentLinkPaymentEndpoint.php · php · BSD-2-Clause
payments

Retrieves paginated payment lists for a Mollie payment link.

// Source: https://github.com/mollie/OpenCart | License: BSD-2-Clause | Copyright 2012-2015, Mollie B.V
// Provided via justclaw.it.com; keep this notice with the code.
<?php

declare (strict_types=1);
namespace Mollie\Api\Endpoints;

use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\Payment;
use Mollie\Api\Resources\PaymentCollection;
use Mollie\Api\Resources\PaymentLink;
class PaymentLinkPaymentEndpoint extends \Mollie\Api\Endpoints\CollectionEndpointAbstract
{
    protected $resourcePath = 'payment-links_payments';
    /**
     * @inheritDoc
     */
    protected function getResourceCollectionObject($count, $_links)
    {
        return new \Mollie\Api\Resources\PaymentCollection($this->client, $count, $_links);
    }
    /**
     * @inheritDoc
     */
    protected func

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key