__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php

// File generated from our OpenAPI spec

namespace AmeliaStripe;

/**
 * You can now model subscriptions more flexibly using the <a href="https://stripe.com/docs/api#prices">Prices API</a>. It replaces the Plans API and is backwards compatible to simplify your migration.
 *
 * Plans define the base price, currency, and billing cycle for recurring purchases of products.
 * <a href="https://stripe.com/docs/api#products">Products</a> help you track inventory or provisioning, and plans help you track pricing. Different physical goods or levels of service should be represented by products, and pricing options should be represented by plans. This approach lets you change prices without having to change your provisioning scheme.
 *
 * For example, you might have a single &quot;gold&quot; product that has plans for $10/month, $100/year, €9/month, and €90/year.
 *
 * Related guides: <a href="https://stripe.com/docs/billing/subscriptions/set-up-subscription">Set up a subscription</a> and more about <a href="https://stripe.com/docs/products-prices/overview">products and prices</a>.
 *
 * @property string $id Unique identifier for the object.
 * @property string $object String representing the object's type. Objects of the same type share the same value.
 * @property bool $active Whether the plan can be used for new purchases.
 * @property null|int $amount The unit amount in cents (or local equivalent) to be charged, represented as a whole integer if possible. Only set if <code>billing_scheme=per_unit</code>.
 * @property null|string $amount_decimal The unit amount in cents (or local equivalent) to be charged, represented as a decimal string with at most 12 decimal places. Only set if <code>billing_scheme=per_unit</code>.
 * @property string $billing_scheme Describes how to compute the price per period. Either <code>per_unit</code> or <code>tiered</code>. <code>per_unit</code> indicates that the fixed amount (specified in <code>amount</code>) will be charged per unit in <code>quantity</code> (for plans with <code>usage_type=licensed</code>), or per unit of total usage (for plans with <code>usage_type=metered</code>). <code>tiered</code> indicates that the unit pricing will be computed using a tiering strategy as defined using the <code>tiers</code> and <code>tiers_mode</code> attributes.
 * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
 * @property string $currency Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>.
 * @property string $interval The frequency at which a subscription is billed. One of <code>day</code>, <code>week</code>, <code>month</code> or <code>year</code>.
 * @property int $interval_count The number of intervals (specified in the <code>interval</code> attribute) between subscription billings. For example, <code>interval=month</code> and <code>interval_count=3</code> bills every 3 months.
 * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
 * @property null|StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
 * @property null|string $meter The meter tracking the usage of a metered price
 * @property null|string $nickname A brief description of the plan, hidden from customers.
 * @property null|Product|string $product The product whose pricing this plan determines.
 * @property null|((object{flat_amount: null|int, flat_amount_decimal: null|string, unit_amount: null|int, unit_amount_decimal: null|string, up_to: null|int}&StripeObject))[] $tiers Each element represents a pricing tier. This parameter requires <code>billing_scheme</code> to be set to <code>tiered</code>. See also the documentation for <code>billing_scheme</code>.
 * @property null|string $tiers_mode Defines if the tiering price should be <code>graduated</code> or <code>volume</code> based. In <code>volume</code>-based tiering, the maximum quantity within a period determines the per unit price. In <code>graduated</code> tiering, pricing can change as the quantity grows.
 * @property null|(object{divide_by: int, round: string}&StripeObject) $transform_usage Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with <code>tiers</code>.
 * @property null|int $trial_period_days Default number of trial days when subscribing a customer to this plan using <a href="https://stripe.com/docs/api#create_subscription-trial_from_plan"><code>trial_from_plan=true</code></a>.
 * @property string $usage_type Configures how the quantity per period should be determined. Can be either <code>metered</code> or <code>licensed</code>. <code>licensed</code> automatically bills the <code>quantity</code> set when adding it to a subscription. <code>metered</code> aggregates the total usage based on usage records. Defaults to <code>licensed</code>.
 */
class Plan extends ApiResource
{
    const OBJECT_NAME = 'plan';

    use ApiOperations\Update;

    const BILLING_SCHEME_PER_UNIT = 'per_unit';
    const BILLING_SCHEME_TIERED = 'tiered';

    const INTERVAL_DAY = 'day';
    const INTERVAL_MONTH = 'month';
    const INTERVAL_WEEK = 'week';
    const INTERVAL_YEAR = 'year';

    const TIERS_MODE_GRADUATED = 'graduated';
    const TIERS_MODE_VOLUME = 'volume';

    const USAGE_TYPE_LICENSED = 'licensed';
    const USAGE_TYPE_METERED = 'metered';

    /**
     * You can now model subscriptions more flexibly using the <a href="#prices">Prices
     * API</a>. It replaces the Plans API and is backwards compatible to simplify your
     * migration.
     *
     * @param null|array{active?: bool, amount?: int, amount_decimal?: string, billing_scheme?: string, currency: string, expand?: string[], id?: string, interval: string, interval_count?: int, metadata?: null|array<string, string>, meter?: string, nickname?: string, product?: array|string, tiers?: (array{flat_amount?: int, flat_amount_decimal?: string, unit_amount?: int, unit_amount_decimal?: string, up_to: array|int|string})[], tiers_mode?: string, transform_usage?: array{divide_by: int, round: string}, trial_period_days?: int, usage_type?: string} $params
     * @param null|array|string $options
     *
     * @return Plan the created resource
     *
     * @throws Exception\ApiErrorException if the request fails
     */
    public static function create($params = null, $options = null)
    {
        self::_validateParams($params);
        $url = static::classUrl();

        list($response, $opts) = static::_staticRequest('post', $url, $params, $options);
        $obj = Util\Util::convertToStripeObject($response->json, $opts);
        $obj->setLastResponse($response);

        return $obj;
    }

    /**
     * Deleting plans means new subscribers can’t be added. Existing subscribers aren’t
     * affected.
     *
     * @param null|array $params
     * @param null|array|string $opts
     *
     * @return Plan the deleted resource
     *
     * @throws Exception\ApiErrorException if the request fails
     */
    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;
    }

    /**
     * Returns a list of your plans.
     *
     * @param null|array{active?: bool, created?: array|int, ending_before?: string, expand?: string[], limit?: int, product?: string, starting_after?: string} $params
     * @param null|array|string $opts
     *
     * @return Collection<Plan> of ApiResources
     *
     * @throws Exception\ApiErrorException if the request fails
     */
    public static function all($params = null, $opts = null)
    {
        $url = static::classUrl();

        return static::_requestPage($url, Collection::class, $params, $opts);
    }

    /**
     * Retrieves the plan with the given ID.
     *
     * @param array|string $id the ID of the API resource to retrieve, or an options array containing an `id` key
     * @param null|array|string $opts
     *
     * @return Plan
     *
     * @throws Exception\ApiErrorException if the request fails
     */
    public static function retrieve($id, $opts = null)
    {
        $opts = Util\RequestOptions::parse($opts);
        $instance = new static($id, $opts);
        $instance->refresh();

        return $instance;
    }

    /**
     * Updates the specified plan by setting the values of the parameters passed. Any
     * parameters not provided are left unchanged. By design, you cannot change a
     * plan’s ID, amount, currency, or billing cycle.
     *
     * @param string $id the ID of the resource to update
     * @param null|array{active?: bool, expand?: string[], metadata?: null|array<string, string>, nickname?: string, product?: string, trial_period_days?: int} $params
     * @param null|array|string $opts
     *
     * @return Plan the updated resource
     *
     * @throws Exception\ApiErrorException if the request fails
     */
    public static function update($id, $params = null, $opts = null)
    {
        self::_validateParams($params);
        $url = static::resourceUrl($id);

        list($response, $opts) = static::_staticRequest('post', $url, $params, $opts);
        $obj = Util\Util::convertToStripeObject($response->json, $opts);
        $obj->setLastResponse($response);

        return $obj;
    }
}

Filemanager

Name Type Size Permission Actions
ApiOperations Folder 0750
Apps Folder 0750
Billing Folder 0750
BillingPortal Folder 0750
Checkout Folder 0750
Climate Folder 0750
Entitlements Folder 0750
EventData Folder 0750
Events Folder 0750
Exception Folder 0750
FinancialConnections Folder 0750
Forwarding Folder 0750
HttpClient Folder 0750
Identity Folder 0750
Issuing Folder 0750
Radar Folder 0750
Reporting Folder 0750
Service Folder 0750
Sigma Folder 0750
Tax Folder 0750
Terminal Folder 0750
TestHelpers Folder 0750
Treasury Folder 0750
Util Folder 0750
V2 Folder 0750
Account.php File 41.57 KB 0640
AccountLink.php File 1.74 KB 0640
AccountSession.php File 7.13 KB 0640
ApiRequestor.php File 22.76 KB 0640
ApiResource.php File 3.41 KB 0640
ApiResponse.php File 724 B 0640
ApplePayDomain.php File 3.16 KB 0640
Application.php File 394 B 0640
ApplicationFee.php File 5.66 KB 0640
ApplicationFeeRefund.php File 2.44 KB 0640
Balance.php File 3.54 KB 0640
BalanceTransaction.php File 9.1 KB 0640
BankAccount.php File 9.57 KB 0640
BaseStripeClient.php File 18.53 KB 0640
BaseStripeClientInterface.php File 1.16 KB 0640
Capability.php File 4.18 KB 0640
Card.php File 10.68 KB 0640
CashBalance.php File 2.45 KB 0640
Charge.php File 29.38 KB 0640
Collection.php File 8.44 KB 0640
ConfirmationToken.php File 11.24 KB 0640
ConnectCollectionTransfer.php File 915 B 0640
CountrySpec.php File 2.91 KB 0640
Coupon.php File 8.1 KB 0640
CreditNote.php File 12.06 KB 0640
CreditNoteLineItem.php File 2.39 KB 0640
Customer.php File 24.37 KB 0640
CustomerBalanceTransaction.php File 5.65 KB 0640
CustomerCashBalanceTransaction.php File 3.69 KB 0640
CustomerSession.php File 3.35 KB 0640
Discount.php File 2.82 KB 0640
Dispute.php File 11.79 KB 0640
EphemeralKey.php File 2.06 KB 0640
ErrorObject.php File 15.97 KB 0640
Event.php File 39.27 KB 0640
ExchangeRate.php File 3.43 KB 0640
File.php File 5.21 KB 0640
FileLink.php File 3.99 KB 0640
FundingInstructions.php File 4.28 KB 0640
Invoice.php File 36.06 KB 0640
InvoiceItem.php File 8.76 KB 0640
InvoiceLineItem.php File 5.88 KB 0640
InvoicePayment.php File 3.32 KB 0640
InvoiceRenderingTemplate.php File 3.84 KB 0640
LineItem.php File 1.47 KB 0640
LoginLink.php File 828 B 0640
Mandate.php File 2.91 KB 0640
OAuth.php File 3.3 KB 0640
OAuthErrorObject.php File 917 B 0640
PaymentIntent.php File 48.19 KB 0640
PaymentLink.php File 15.99 KB 0640
PaymentMethod.php File 19.09 KB 0640
PaymentMethodConfiguration.php File 18.9 KB 0640
PaymentMethodDomain.php File 5.49 KB 0640
Payout.php File 11.7 KB 0640
Person.php File 10.37 KB 0640
Plan.php File 9.58 KB 0640
Price.php File 11.15 KB 0640
Product.php File 11.32 KB 0640
ProductFeature.php File 1008 B 0640
PromotionCode.php File 5.92 KB 0640
Quote.php File 15.3 KB 0640
Reason.php File 196 B 0640
RecipientTransfer.php File 908 B 0640
Refund.php File 10.96 KB 0640
RelatedObject.php File 223 B 0640
RequestTelemetry.php File 762 B 0640
ReserveTransaction.php File 712 B 0640
Review.php File 5.14 KB 0640
SearchResult.php File 6.48 KB 0640
SetupAttempt.php File 6.43 KB 0640
SetupIntent.php File 21.77 KB 0640
ShippingRate.php File 5.42 KB 0640
SingletonApiResource.php File 730 B 0640
Source.php File 19.96 KB 0640
SourceMandateNotification.php File 2.66 KB 0640
SourceTransaction.php File 2.93 KB 0640
Stripe.php File 7.63 KB 0640
StripeClient.php File 4.52 KB 0640
StripeClientInterface.php File 1.5 KB 0640
StripeObject.php File 19.05 KB 0640
StripeStreamingClientInterface.php File 244 B 0640
Subscription.php File 27.83 KB 0640
SubscriptionItem.php File 7.97 KB 0640
SubscriptionSchedule.php File 13.58 KB 0640
TaxCode.php File 1.88 KB 0640
TaxDeductedAtSource.php File 733 B 0640
TaxId.php File 10.32 KB 0640
TaxRate.php File 7.52 KB 0640
ThinEvent.php File 1.12 KB 0640
Token.php File 9.2 KB 0640
Topup.php File 6.33 KB 0640
Transfer.php File 8.94 KB 0640
TransferReversal.php File 3.24 KB 0640
Webhook.php File 1.49 KB 0640
WebhookEndpoint.php File 6.24 KB 0640
WebhookSignature.php File 4.28 KB 0640
Filemanager