Файловый менеджер - Редактировать - /home/lakoyani/lakoyani.com.fj/Terminal.tar
Назад
Location.php 0000777 00000002502 14711035341 0007032 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Terminal; /** * A Location represents a grouping of readers. * * Related guide: <a href="https://stripe.com/docs/terminal/fleet/locations">Fleet management</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 \Stripe\StripeObject $address * @property null|string $configuration_overrides The ID of a configuration that will be used to customize all readers in this location. * @property string $display_name The display name of the location. * @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 \Stripe\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. */ class Location extends \Stripe\ApiResource { const OBJECT_NAME = 'terminal.location'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Create; use \Stripe\ApiOperations\Delete; use \Stripe\ApiOperations\Retrieve; use \Stripe\ApiOperations\Update; } Configuration.php 0000777 00000002052 14711035341 0010071 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Terminal; /** * A Configurations object represents how features should be configured for terminal readers. * * @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 null|\Stripe\StripeObject $bbpos_wisepos_e * @property null|bool $is_account_default Whether this Configuration is the default for your account * @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|\Stripe\StripeObject $tipping * @property null|\Stripe\StripeObject $verifone_p400 */ class Configuration extends \Stripe\ApiResource { const OBJECT_NAME = 'terminal.configuration'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Create; use \Stripe\ApiOperations\Delete; use \Stripe\ApiOperations\Retrieve; use \Stripe\ApiOperations\Update; } Reader.php 0000777 00000011435 14711035341 0006471 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Terminal; /** * A Reader represents a physical device for accepting payment details. * * Related guide: <a href="https://stripe.com/docs/terminal/payments/connect-reader">Connecting to a reader</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 null|\Stripe\StripeObject $action The most recent action performed by the reader. * @property null|string $device_sw_version The current software version of the reader. * @property string $device_type Type of reader, one of <code>bbpos_wisepad3</code>, <code>stripe_m2</code>, <code>bbpos_chipper2x</code>, <code>bbpos_wisepos_e</code>, <code>verifone_P400</code>, or <code>simulated_wisepos_e</code>. * @property null|string $ip_address The local IP address of the reader. * @property string $label Custom label given to the reader for easier identification. * @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|string|\Stripe\Terminal\Location $location The location identifier of the reader. * @property \Stripe\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 string $serial_number Serial number of the reader. * @property null|string $status The networking status of the reader. */ class Reader extends \Stripe\ApiResource { const OBJECT_NAME = 'terminal.reader'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Create; use \Stripe\ApiOperations\Delete; use \Stripe\ApiOperations\Retrieve; use \Stripe\ApiOperations\Update; const DEVICE_TYPE_BBPOS_CHIPPER2X = 'bbpos_chipper2x'; const DEVICE_TYPE_BBPOS_WISEPAD3 = 'bbpos_wisepad3'; const DEVICE_TYPE_BBPOS_WISEPOS_E = 'bbpos_wisepos_e'; const DEVICE_TYPE_SIMULATED_WISEPOS_E = 'simulated_wisepos_e'; const DEVICE_TYPE_STRIPE_M2 = 'stripe_m2'; const DEVICE_TYPE_VERIFONE_P400 = 'verifone_P400'; /** * @param null|array $params * @param null|array|string $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Reader the canceled reader */ public function cancelAction($params = null, $opts = null) { $url = $this->instanceUrl() . '/cancel_action'; list($response, $opts) = $this->_request('post', $url, $params, $opts); $this->refreshFrom($response, $opts); return $this; } /** * @param null|array $params * @param null|array|string $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Reader the processed reader */ public function processPaymentIntent($params = null, $opts = null) { $url = $this->instanceUrl() . '/process_payment_intent'; list($response, $opts) = $this->_request('post', $url, $params, $opts); $this->refreshFrom($response, $opts); return $this; } /** * @param null|array $params * @param null|array|string $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Reader the processed reader */ public function processSetupIntent($params = null, $opts = null) { $url = $this->instanceUrl() . '/process_setup_intent'; list($response, $opts) = $this->_request('post', $url, $params, $opts); $this->refreshFrom($response, $opts); return $this; } /** * @param null|array $params * @param null|array|string $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Reader the refunded reader */ public function refundPayment($params = null, $opts = null) { $url = $this->instanceUrl() . '/refund_payment'; list($response, $opts) = $this->_request('post', $url, $params, $opts); $this->refreshFrom($response, $opts); return $this; } /** * @param null|array $params * @param null|array|string $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Reader the seted reader */ public function setReaderDisplay($params = null, $opts = null) { $url = $this->instanceUrl() . '/set_reader_display'; list($response, $opts) = $this->_request('post', $url, $params, $opts); $this->refreshFrom($response, $opts); return $this; } } ConnectionToken.php 0000777 00000001651 14711035341 0010366 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Terminal; /** * A Connection Token is used by the Stripe Terminal SDK to connect to a reader. * * Related guide: <a href="https://stripe.com/docs/terminal/fleet/locations">Fleet management</a> * * @property string $object String representing the object's type. Objects of the same type share the same value. * @property null|string $location The id of the location that this connection token is scoped to. Note that location scoping only applies to internet-connected readers. For more details, see <a href="https://stripe.com/docs/terminal/fleet/locations#connection-tokens">the docs on scoping connection tokens</a>. * @property string $secret Your application should pass this token to the Stripe Terminal SDK. */ class ConnectionToken extends \Stripe\ApiResource { const OBJECT_NAME = 'terminal.connection_token'; use \Stripe\ApiOperations\Create; } LocationService.php 0000777 00000005430 14711054716 0010365 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Service\Terminal; class LocationService extends \Stripe\Service\AbstractService { /** * Returns a list of <code>Location</code> objects. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection<\Stripe\Terminal\Location> */ public function all($params = null, $opts = null) { return $this->requestCollection('get', '/v1/terminal/locations', $params, $opts); } /** * Creates a new <code>Location</code> object. For further details, including which * address fields are required in each country, see the <a * href="/docs/terminal/fleet/locations">Manage locations</a> guide. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Location */ public function create($params = null, $opts = null) { return $this->request('post', '/v1/terminal/locations', $params, $opts); } /** * Deletes a <code>Location</code> object. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Location */ public function delete($id, $params = null, $opts = null) { return $this->request('delete', $this->buildPath('/v1/terminal/locations/%s', $id), $params, $opts); } /** * Retrieves a <code>Location</code> object. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Location */ public function retrieve($id, $params = null, $opts = null) { return $this->request('get', $this->buildPath('/v1/terminal/locations/%s', $id), $params, $opts); } /** * Updates a <code>Location</code> object by setting the values of the parameters * passed. Any parameters not provided will be left unchanged. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Location */ public function update($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/terminal/locations/%s', $id), $params, $opts); } } TerminalServiceFactory.php 0000777 00000001550 14711054716 0011717 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Service\Terminal; /** * Service factory class for API resources in the Terminal namespace. * * @property ConfigurationService $configurations * @property ConnectionTokenService $connectionTokens * @property LocationService $locations * @property ReaderService $readers */ class TerminalServiceFactory extends \Stripe\Service\AbstractServiceFactory { /** * @var array<string, string> */ private static $classMap = [ 'configurations' => ConfigurationService::class, 'connectionTokens' => ConnectionTokenService::class, 'locations' => LocationService::class, 'readers' => ReaderService::class, ]; protected function getServiceClass($name) { return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; } } ConnectionTokenService.php 0000777 00000001441 14711054716 0011713 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Service\Terminal; class ConnectionTokenService extends \Stripe\Service\AbstractService { /** * To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived * connection token from Stripe, proxied through your server. On your backend, add * an endpoint that creates and returns a connection token. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\ConnectionToken */ public function create($params = null, $opts = null) { return $this->request('post', '/v1/terminal/connection_tokens', $params, $opts); } } ReaderService.php 0000777 00000012152 14711054716 0010016 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Service\Terminal; class ReaderService extends \Stripe\Service\AbstractService { /** * Returns a list of <code>Reader</code> objects. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection<\Stripe\Terminal\Reader> */ public function all($params = null, $opts = null) { return $this->requestCollection('get', '/v1/terminal/readers', $params, $opts); } /** * Cancels the current reader action. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Reader */ public function cancelAction($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/terminal/readers/%s/cancel_action', $id), $params, $opts); } /** * Creates a new <code>Reader</code> object. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Reader */ public function create($params = null, $opts = null) { return $this->request('post', '/v1/terminal/readers', $params, $opts); } /** * Deletes a <code>Reader</code> object. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Reader */ public function delete($id, $params = null, $opts = null) { return $this->request('delete', $this->buildPath('/v1/terminal/readers/%s', $id), $params, $opts); } /** * Initiates a payment flow on a Reader. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Reader */ public function processPaymentIntent($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/terminal/readers/%s/process_payment_intent', $id), $params, $opts); } /** * Initiates a setup intent flow on a Reader. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Reader */ public function processSetupIntent($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/terminal/readers/%s/process_setup_intent', $id), $params, $opts); } /** * Initiates a refund on a Reader. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Reader */ public function refundPayment($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/terminal/readers/%s/refund_payment', $id), $params, $opts); } /** * Retrieves a <code>Reader</code> object. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Reader */ public function retrieve($id, $params = null, $opts = null) { return $this->request('get', $this->buildPath('/v1/terminal/readers/%s', $id), $params, $opts); } /** * Sets reader display to show cart details. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Reader */ public function setReaderDisplay($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/terminal/readers/%s/set_reader_display', $id), $params, $opts); } /** * Updates a <code>Reader</code> object by setting the values of the parameters * passed. Any parameters not provided will be left unchanged. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Reader */ public function update($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/terminal/readers/%s', $id), $params, $opts); } } ConfigurationService.php 0000777 00000005125 14711054716 0011425 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Service\Terminal; class ConfigurationService extends \Stripe\Service\AbstractService { /** * Returns a list of <code>Configuration</code> objects. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection<\Stripe\Terminal\Configuration> */ public function all($params = null, $opts = null) { return $this->requestCollection('get', '/v1/terminal/configurations', $params, $opts); } /** * Creates a new <code>Configuration</code> object. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Configuration */ public function create($params = null, $opts = null) { return $this->request('post', '/v1/terminal/configurations', $params, $opts); } /** * Deletes a <code>Configuration</code> object. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Configuration */ public function delete($id, $params = null, $opts = null) { return $this->request('delete', $this->buildPath('/v1/terminal/configurations/%s', $id), $params, $opts); } /** * Retrieves a <code>Configuration</code> object. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Configuration */ public function retrieve($id, $params = null, $opts = null) { return $this->request('get', $this->buildPath('/v1/terminal/configurations/%s', $id), $params, $opts); } /** * Updates a new <code>Configuration</code> object. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Terminal\Configuration */ public function update($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/terminal/configurations/%s', $id), $params, $opts); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка