!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/main_file/vendor/twilio/sdk/src/Twilio/Rest/Api/V2010/Account/Call/   drwxr-xr-x
Free 13.16 GB of 57.97 GB (22.71%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/**
 * This code was generated by
 * \ / _    _  _|   _  _
 * | (_)\/(_)(_|\/| |(/_  v1.0.0
 * /       /
 */

namespace Twilio\Rest\Api\V2010\Account\Call;

use 
Twilio\Exceptions\TwilioException;
use 
Twilio\ListResource;
use 
Twilio\Options;
use 
Twilio\Serialize;
use 
Twilio\Values;
use 
Twilio\Version;

/**
 * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
 */
class PaymentList extends ListResource {
    
/**
     * Construct the PaymentList
     *
     * @param Version $version Version that contains the resource
     * @param string $accountSid The SID of the Account that created the Payments
     *                           resource.
     * @param string $callSid The SID of the Call the resource is associated with.
     */
    
public function __construct(Version $versionstring $accountSidstring $callSid) {
        
parent::__construct($version);

        
// Path Solution
        
$this->solution = ['accountSid' => $accountSid'callSid' => $callSid, ];

        
$this->uri '/Accounts/' \rawurlencode($accountSid) . '/Calls/' \rawurlencode($callSid) . '/Payments.json';
    }

    
/**
     * Create the PaymentInstance
     *
     * @param string $idempotencyKey A unique token that will be used to ensure
     *                               that multiple API calls with the same
     *                               information do not result in multiple
     *                               transactions.
     * @param string $statusCallback Provide an absolute or relative URL to receive
     *                               status updates regarding your Pay session..
     * @param array|Options $options Optional Arguments
     * @return PaymentInstance Created PaymentInstance
     * @throws TwilioException When an HTTP error occurs.
     */
    
public function create(string $idempotencyKeystring $statusCallback, array $options = []): PaymentInstance {
        
$options = new Values($options);

        
$data Values::of([
            
'IdempotencyKey' => $idempotencyKey,
            
'StatusCallback' => $statusCallback,
            
'BankAccountType' => $options['bankAccountType'],
            
'ChargeAmount' => $options['chargeAmount'],
            
'Currency' => $options['currency'],
            
'Description' => $options['description'],
            
'Input' => $options['input'],
            
'MinPostalCodeLength' => $options['minPostalCodeLength'],
            
'Parameter' => Serialize::jsonObject($options['parameter']),
            
'PaymentConnector' => $options['paymentConnector'],
            
'PaymentMethod' => $options['paymentMethod'],
            
'PostalCode' => Serialize::booleanToString($options['postalCode']),
            
'SecurityCode' => Serialize::booleanToString($options['securityCode']),
            
'Timeout' => $options['timeout'],
            
'TokenType' => $options['tokenType'],
            
'ValidCardTypes' => $options['validCardTypes'],
        ]);

        
$payload $this->version->create('POST'$this->uri, [], $data);

        return new 
PaymentInstance(
            
$this->version,
            
$payload,
            
$this->solution['accountSid'],
            
$this->solution['callSid']
        );
    }

    
/**
     * Constructs a PaymentContext
     *
     * @param string $sid The SID of Payments session
     */
    
public function getContext(string $sid): PaymentContext {
        return new 
PaymentContext(
            
$this->version,
            
$this->solution['accountSid'],
            
$this->solution['callSid'],
            
$sid
        
);
    }

    
/**
     * Provide a friendly representation
     *
     * @return string Machine friendly representation
     */
    
public function __toString(): string {
        return 
'[Twilio.Api.V2010.PaymentList]';
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0247 ]--