!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.02 GB of 57.97 GB (22.46%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/**
 * Stripe Create Plan Request.
 */

namespace Omnipay\Stripe\Message;

/**
 * Stripe Create Plan Request
 *
 * @see \Omnipay\Stripe\Gateway
 * @link https://stripe.com/docs/api#create_plan
 */
class CreatePlanRequest extends AbstractRequest
{
    
/**
     * Set the plan ID
     *
     * @param $value
     * @return \Omnipay\Common\Message\AbstractRequest|CreatePlanRequest
     */
    
public function setId($value)
    {
        return 
$this->setParameter('id'$value);
    }

    
/**
     * Get the plan ID
     *
     * @return string
     */
    
public function getId()
    {
        return 
$this->getParameter('id');
    }

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

    
/**
     * Get the plan interval
     *
     * @return int
     */
    
public function getInterval()
    {
        return 
$this->getParameter('interval');
    }

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

    
/**
     * Get the plan interval count
     *
     * @return int
     */
    
public function getIntervalCount()
    {
        return 
$this->getParameter('interval_count');
    }

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

    
/**
     * Get the plan name
     *
     * @return string
     */
    
public function getName()
    {
        return 
$this->getParameter('name');
    }

    
/**
     * Set the plan statement descriptor
     *
     * @param $planStatementDescriptor
     * @return \Omnipay\Common\Message\AbstractRequest|CreatePlanRequest
     */
    
public function setStatementDescriptor($planStatementDescriptor)
    {
        return 
$this->setParameter('statement_descriptor'$planStatementDescriptor);
    }

    
/**
     * Get the plan statement descriptor
     *
     * @return string
     */
    
public function getStatementDescriptor()
    {
        return 
$this->getParameter('statement_descriptor');
    }

    
/**
     * Set the plan trial period days
     *
     * @param $planTrialPeriodDays
     * @return \Omnipay\Common\Message\AbstractRequest|CreatePlanRequest
     */
    
public function setTrialPeriodDays($planTrialPeriodDays)
    {
        return 
$this->setParameter('trial_period_days'$planTrialPeriodDays);
    }

    
/**
     * Get the plan trial period days
     *
     * @return int
     */
    
public function getTrialPeriodDays()
    {
        return 
$this->getParameter('trial_period_days');
    }

    public function 
getData()
    {
        
$this->validate('id''amount''currency''interval''name');

        
$data = array(
            
'id' => $this->getId(),
            
'amount' => $this->getAmountInteger(),
            
'currency' => $this->getCurrency(),
            
'interval' => $this->getInterval(),
            
'name' => $this->getName()
        );

        
$intervalCount $this->getIntervalCount();
        if (
$intervalCount != null) {
            
$data['interval_count'] = $intervalCount;
        }

        
$statementDescriptor $this->getStatementDescriptor();
        if (
$statementDescriptor != null) {
            
$data['statement_descriptor'] = $statementDescriptor;
        }

        
$trialPeriodDays $this->getTrialPeriodDays();
        if (
$trialPeriodDays != null) {
            
$data['trial_period_days'] = $trialPeriodDays;
        }

        return 
$data;
    }

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

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