PHP 8.2.31
Preview: Delete.php Size: 655 B
/home/nshryvcy/blissfulnepal.com/wp-content/plugins/tourmaster/include/stripe/lib/ApiOperations/Delete.php

<?php

namespace Stripe\ApiOperations;

/**
 * Trait for deletable resources. Adds a `delete()` method to the class.
 *
 * This trait should only be applied to classes that derive from StripeObject.
 */
trait Delete
{
    /**
     * @param array|null $params
     * @param array|string|null $opts
     *
     * @return static The deleted resource.
     */
    public function delete($params = null, $opts = null)
    {
        self::_validateParams($params);

        $url = $this->instanceUrl();
        list($response, $opts) = $this->_request('delete', $url, $params, $opts);
        $this->refreshFrom($response, $opts);
        return $this;
    }
}

Directory Contents

Dirs: 0 × Files: 7

Name Size Perms Modified Actions
1019 B lrw-r--r-- 2024-05-28 15:48:43
Edit Download
757 B lrw-r--r-- 2024-05-28 15:48:43
Edit Download
655 B lrw-r--r-- 2024-05-28 15:48:43
Edit Download
3.51 KB lrw-r--r-- 2024-05-28 15:48:43
Edit Download
2.20 KB lrw-r--r-- 2024-05-28 15:48:43
Edit Download
671 B lrw-r--r-- 2024-05-28 15:48:43
Edit Download
1.26 KB lrw-r--r-- 2024-05-28 15:48:43
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).