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


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

/**
 * Stripe Create Invoice Item Request.
 */
namespace Omnipay\Stripe\Message;

/**
 * Stripe Create Invoice Item Request
 *
 * @see \Omnipay\Stripe\Gateway
 * @link https://stripe.com/docs/api#create_invoiceitem
 *
 * Providing the invoice-item reference will update the invoice-item
 * @link https://stripe.com/docs/api#update_invoiceitem
 */
class CreateInvoiceItemRequest extends AbstractRequest
{
    
/**
     * Get the invoice-item reference
     *
     * @return string
     */
    
public function getInvoiceItemReference()
    {
        return 
$this->getParameter('invoiceItemReference');
    }

    
/**
     * Set the invoice-item reference
     *
     * @return CreateInvoiceItemRequest provides a fluent interface.
     */
    
public function setInvoiceItemReference($invoiceItemReference)
    {
        return 
$this->setParameter('invoiceItemReference'$invoiceItemReference);
    }

    
/**
     * Get the invoice-item amount
     *
     * @return int
     */
    
public function getAmount()
    {
        return 
$this->getParameter('amount');
    }

    
/**
     * Set the invoice-item amount
     *
     * @return CreateInvoiceItemRequest provides a fluent interface.
     */
    
public function setAmount($value)
    {
        return 
$this->setParameter('amount'$value);
    }

    
/**
     * Set the invoice-item currency
     *
     * @return CreateInvoiceItemRequest provides a fluent interface.
     */
    
public function setCurrency($currency)
    {
        return 
$this->setParameter('currency'$currency);
    }

    
/**
     * Get the invoice-item currency
     *
     * @return string
     */
    
public function getCurrency()
    {
        return 
$this->getParameter('currency');
    }

    
/**
     * Set the invoice-item description
     *
     * @return CreateInvoiceItemRequest provides a fluent interface.
     */
    
public function setDescription($description)
    {
        return 
$this->setParameter('description'$description);
    }

    
/**
     * Get the invoice-item description
     *
     * @return string
     */
    
public function getDescription()
    {
        return 
$this->getParameter('description');
    }

    
/**
     * Set the invoice-item discountable
     *
     * @return CreateInvoiceItemRequest provides a fluent interface.
     */
    
public function setDiscountable($discountable)
    {
        return 
$this->setParameter('discountable'$discountable);
    }

    
/**
     * Get the invoice-item discountable
     *
     * @return string
     */
    
public function getDiscountable()
    {
        return 
$this->getParameter('discountable');
    }

    
/**
     * Set the invoice-item invoice reference
     *
     * @return CreateInvoiceItemRequest provides a fluent interface.
     */
    
public function setInvoiceReference($invoiceReference)
    {
        return 
$this->setParameter('invoiceReference'$invoiceReference);
    }

    
/**
     * Get the invoice-item invoice reference
     *
     * @return string
     */
    
public function getInvoiceReference()
    {
        return 
$this->getParameter('invoiceReference');
    }

    
/**
     * Set the invoice-item subscription reference
     *
     * @return CreateInvoiceItemRequest provides a fluent interface.
     */
    
public function setSubscriptionReference($subscriptionReference)
    {
        return 
$this->setParameter('subscriptionReference'$subscriptionReference);
    }

    
/**
     * Get the invoice-item subscription reference
     *
     * @return string
     */
    
public function getSubscriptionReference()
    {
        return 
$this->getParameter('subscriptionReference');
    }

    public function 
getData()
    {
        
$data = array();

        if (
$this->getInvoiceItemReference() == null) {
            
$this->validate('customerReference''amount''currency');
        }

        if (
$this->getCustomerReference()) {
            
$data['customer'] = $this->getCustomerReference();
        }

        if (
$this->getAmount()) {
            
$data['amount'] = $this->getAmount();
        }

        if (
$this->getCurrency()) {
            
$data['currency'] = $this->getCurrency();
        }

        if (
$this->getDescription()) {
            
$data['description'] = $this->getDescription();
        }

        if (
$this->getDiscountable() !== null) {
            
$data['discountable'] = $this->getDiscountable();
        }

        if (
$this->getInvoiceReference()) {
            
$data['invoice'] = $this->getInvoiceReference();
        }

        if (
$this->getSubscriptionReference()) {
            
$data['subscription'] = $this->getSubscriptionReference();
        }

        return 
$data;
    }

    public function 
getEndpoint()
    {
        return 
$this->endpoint.'/invoiceitems'
            
.($this->getInvoiceItemReference() != null '/'.$this->getInvoiceItemReference() : '');
    }
}

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