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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/smabpro.picotech.app/public_html/vendor/xendit/xendit-php/src/   drwxr-xr-x
Free 28.6 GB of 117.98 GB (24.24%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/**
 * Invoice.php
 * php version 7.2.0
 *
 * @category Class
 * @package  Xendit
 * @author   Ellen <ellen@xendit.co>
 * @license  https://opensource.org/licenses/MIT MIT License
 * @link     https://api.xendit.co
 */

namespace Xendit;

/**
 * Class Invoice
 *
 * @category Class
 * @package  Xendit
 * @author   Ellen <ellen@xendit.co>
 * @license  https://opensource.org/licenses/MIT MIT License
 * @link     https://api.xendit.co
 */
class Invoice
{
    use 
ApiOperations\Request;
    use 
ApiOperations\Create;
    use 
ApiOperations\Retrieve;
    use 
ApiOperations\RetrieveAll;

    
/**
     * Instantiate base URL
     *
     * @return string
     */
    
public static function classUrl()
    {
        return 
"/v2/invoices";
    }

    
/**
     * Instantiate required params for Create
     *
     * @return array
     */
    
public static function createReqParams()
    {
        return [
'external_id''amount'];
    }

    
/**
     * Expire Invoice
     *
     * @param string $id Invoice ID
     *
     * @return array[
     * 'id'=> string,
     * 'user_id'=> string,
     * 'external_id'=> string,
     * 'status'=> 'EXPIRED',
     * 'merchant_name'=> string,
     * 'merchant_profile_picture_url'=> string,
     * 'amount'=> int,
     * 'payer_email'=> string,
     * 'description'=> string,
     * 'invoice_url'=> string,
     * 'expiry_date'=> string,
     * 'available_banks'=> array,
     * 'should_exclude_credit_card'=> bool,
     * 'should_send_email'=> bool,
     * 'created'=> string,
     * 'updated'=> string
     * ]
     * @throws Exceptions\ApiException
     */
    
public static function expireInvoice($id$params=[])
    {
        
$url =  '/invoices/' $id '/expire!';

        return static::
_request('POST'$url$params);
    }
}

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