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


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

/**
 * Report.php
 * php version 7.4.0
 *
 * @category Class
 * @package  Xendit
 * @author   David <jatinangorservice@gmail.com>
 * @license  https://opensource.org/licenses/MIT MIT License
 * @link     https://api.xendit.co
 */

namespace Xendit;

use 
Xendit\Exceptions\InvalidArgumentException;

/**
 * Class Report
 *
 * @category Class
 * @package  Xendit
 * @author   David <jatinangorservice@gmail.com>
 * @license  https://opensource.org/licenses/MIT MIT License
 * @link     https://api.xendit.co
 */

class Report
{
    use 
ApiOperations\Request;

    
/**
     * Available report type
     *
     * @return array
     */
    
public static function reportType()
    {
        return [
"BALANCE_HISTORY""TRANSACTIONS""UPCOMING_TRANSACTIONS"];
    }

    
/**
     * Validation for report type
     *
     * @param string $report_type Report type
     *
     * @return void
     */
    
public static function validateReportType($report_type null)
    {
        if (!
in_array($report_typeself::reportType())) {
            
$msg "Report type is invalid. Available types: MANAGED, OWNED";
            throw new 
InvalidArgumentException($msg);
        }
    }

    
/**
     * Generate report
     *
     * @param array  $params reports params
     *
     * @return array
     * https://developers.xendit.co/api-reference/#generate-report
     * @throws Exceptions\ApiException
     */
    
public static function generate($params = [])
    {
        
$requiredParams = ['type'];

        
self::validateParams($params$requiredParams);
        
self::validateReportType($params['type']);

        
$url '/reports';

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

    
/**
     * Get report
     *
     * @param string $report_id
     *
     * @return array
     * https://developers.xendit.co/api-reference/#get-report
     * @throws Exceptions\ApiException
     */
    
public static function detail(string $report_id)
    {
        
$url '/reports/'.$report_id;

        return static::
_request('GET'$url);
    }
}

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