!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/omnipay/stripe/src/Message/   drwxrwxrwx
Free 13 GB of 57.97 GB (22.43%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     CreateSubscriptionRequest.php (1.67 KB)      -rwxrwxrwx
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * Stripe Create Subscription Request.
 */

namespace Omnipay\Stripe\Message;

/**
 * Stripe Create Subscription Request
 *
 * @see \Omnipay\Stripe\Gateway
 * @link https://stripe.com/docs/api/php#create_subscription
 */
class CreateSubscriptionRequest extends AbstractRequest
{
    
/**
     * Get the plan
     *
     * @return string
     */
    
public function getPlan()
    {
        return 
$this->getParameter('plan');
    }

    
/**
     * Set the plan
     *
     * @param $value
     * @return \Omnipay\Common\Message\AbstractRequest|CreateSubscriptionRequest
     */
    
public function setPlan($value)
    {
        return 
$this->setParameter('plan'$value);
    }

    
/**
     * Get the tax percent
     *
     * @return string
     */
    
public function getTaxPercent()
    {
        return 
$this->getParameter('tax_percent');
    }

    
/**
     * Set the tax percentage
     *
     * @param $value
     * @return \Omnipay\Common\Message\AbstractRequest|CreateSubscriptionRequest
     */
    
public function setTaxPercent($value)
    {
        return 
$this->setParameter('tax_percent'$value);
    }

    public function 
getData()
    {
        
$this->validate('customerReference''plan');

        
$data = array(
            
'plan' => $this->getPlan()
        );

        if (
$this->parameters->has('tax_percent')) {
            
$data['tax_percent'] = (float)$this->getParameter('tax_percent');
        }

        if (
$this->getMetadata()) {
            
$data['metadata'] = $this->getMetadata();
        }

        return 
$data;
    }

    public function 
getEndpoint()
    {
        return 
$this->endpoint.'/customers/'.$this->getCustomerReference().'/subscriptions';
    }
}

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