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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/uploads/script/vendor/mollie/mollie-api-php/src/Resources/   drwxr-xr-x
Free 13.21 GB of 57.97 GB (22.8%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Mollie\Api\Resources;

use 
Mollie\Api\Exceptions\ApiException;
use 
Mollie\Api\MollieApiClient;
use 
Mollie\Api\Types\SettlementStatus;

class 
Settlement extends BaseResource
{
    
/**
     * @var string
     */
    
public $resource;

    
/**
     * Id of the settlement.
     *
     * @var string
     */
    
public $id;

    
/**
     * The settlement reference. This corresponds to an invoice that's in your Dashboard.
     *
     * @var string
     */
    
public $reference;

    
/**
     * UTC datetime the payment was created in ISO-8601 format.
     *
     * @example "2013-12-25T10:30:54+00:00"
     * @var string
     */
    
public $createdAt;

    
/**
     * The date on which the settlement was settled, in ISO 8601 format. When requesting the open settlement or next settlement the return value is null.
     *
     * @example "2013-12-25T10:30:54+00:00"
     * @var string|null
     */
    
public $settledAt;

    
/**
     * Status of the settlement.
     *
     * @var string
     */
    
public $status;

    
/**
     * Total settlement amount in euros.
     *
     * @var \stdClass
     */
    
public $amount;

    
/**
     * Revenues and costs nested per year, per month, and per payment method.
     *
     * @var \stdClass
     */
    
public $periods;

    
/**
     * The ID of the invoice on which this settlement is invoiced, if it has been invoiced.
     *
     * @var string|null
     */
    
public $invoiceId;

    
/**
     * @var \stdClass
     */
    
public $_links;

    
/**
     * Is this settlement still open?
     *
     * @return bool
     */
    
public function isOpen()
    {
        return 
$this->status === SettlementStatus::STATUS_OPEN;
    }

    
/**
     * Is this settlement pending?
     *
     * @return bool
     */
    
public function isPending()
    {
        return 
$this->status === SettlementStatus::STATUS_PENDING;
    }

    
/**
     * Is this settlement paidout?
     *
     * @return bool
     */
    
public function isPaidout()
    {
        return 
$this->status === SettlementStatus::STATUS_PAIDOUT;
    }

    
/**
     * Is this settlement failed?
     *
     * @return bool
     */
    
public function isFailed()
    {
        return 
$this->status === SettlementStatus::STATUS_FAILED;
    }

    
/**
     * Retrieves all payments associated with this settlement
     *
     * @param null $limit
     * @param array $parameters
     * @return PaymentCollection
     * @throws \Mollie\Api\Exceptions\ApiException
     */
    
public function payments($limit null, array $parameters = [])
    {
        return 
$this->client->settlementPayments->pageForId($this->idnull$limit$parameters);
    }

    
/**
     * Retrieves all refunds associated with this settlement
     *
     * @return RefundCollection
     * @throws ApiException
     */
    
public function refunds()
    {
        if (! isset(
$this->_links->refunds->href)) {
            return new 
RefundCollection($this->client0null);
        }

        
$result $this->client->performHttpCallToFullUrl(MollieApiClient::HTTP_GET$this->_links->refunds->href);

        return 
ResourceFactory::createCursorResourceCollection(
            
$this->client,
            
$result->_embedded->refunds,
            
Refund::class,
            
$result->_links
        
);
    }

    
/**
     * Retrieves all chargebacks associated with this settlement
     *
     * @return ChargebackCollection
     * @throws ApiException
     */
    
public function chargebacks()
    {
        if (! isset(
$this->_links->chargebacks->href)) {
            return new 
ChargebackCollection($this->client0null);
        }

        
$result $this->client->performHttpCallToFullUrl(MollieApiClient::HTTP_GET$this->_links->chargebacks->href);

        return 
ResourceFactory::createCursorResourceCollection(
            
$this->client,
            
$result->_embedded->chargebacks,
            
Chargeback::class,
            
$result->_links
        
);
    }

    
/**
     * Retrieves all captures associated with this settlement
     *
     * @return CaptureCollection
     * @throws ApiException
     */
    
public function captures()
    {
        if (! isset(
$this->_links->captures->href)) {
            return new 
CaptureCollection($this->client0null);
        }

        
$result $this->client->performHttpCallToFullUrl(MollieApiClient::HTTP_GET$this->_links->captures->href);

        return 
ResourceFactory::createCursorResourceCollection(
            
$this->client,
            
$result->_embedded->captures,
            
Capture::class,
            
$result->_links
        
);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

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