Файловый менеджер - Редактировать - /home/lakoyani/lakoyani.com.fj/BillingPortal.tar
Назад
Configuration.php 0000777 00000004157 14711036467 0010113 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\BillingPortal; /** * A portal configuration describes the functionality and behavior of a portal session. * * @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 configuration is active and can be used to create portal sessions. * @property null|string|\Stripe\StripeObject $application ID of the Connect Application that created the configuration. * @property \Stripe\StripeObject $business_profile * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|string $default_return_url The default URL to redirect customers to when they click on the portal's link to return to your website. This can be <a href="https://stripe.com/docs/api/customer_portal/sessions/create#create_portal_session-return_url">overriden</a> when creating the session. * @property \Stripe\StripeObject $features * @property bool $is_default Whether the configuration is the default. If <code>true</code>, this configuration can be managed in the Dashboard and portal sessions will use this configuration unless it is overriden when creating the session. * @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 $login_page * @property null|\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 int $updated Time at which the object was last updated. Measured in seconds since the Unix epoch. */ class Configuration extends \Stripe\ApiResource { const OBJECT_NAME = 'billing_portal.configuration'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Create; use \Stripe\ApiOperations\Retrieve; use \Stripe\ApiOperations\Update; } Session.php 0000777 00000005545 14711036467 0006731 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\BillingPortal; /** * The Billing customer portal is a Stripe-hosted UI for subscription and * billing management. * * A portal configuration describes the functionality and features that you * want to provide to your customers through the portal. * * A portal session describes the instantiation of the customer portal for * a particular customer. By visiting the session's URL, the customer * can manage their subscriptions and billing details. For security reasons, * sessions are short-lived and will expire if the customer does not visit the URL. * Create sessions on-demand when customers intend to manage their subscriptions * and billing details. * * Learn more in the <a href="https://stripe.com/docs/billing/subscriptions/integrating-customer-portal">integration guide</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 string|\Stripe\BillingPortal\Configuration $configuration The configuration used by this session, describing the features available. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $customer The ID of the customer for this session. * @property null|\Stripe\StripeObject $flow Information about a specific flow for the customer to go through. See the <a href="https://stripe.com/docs/customer-management/portal-deep-links">docs</a> to learn more about using customer portal deep links and flows. * @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 $locale The IETF language tag of the locale Customer Portal is displayed in. If blank or auto, the customer’s <code>preferred_locales</code> or browser’s locale is used. * @property null|string $on_behalf_of The account for which the session was created on behalf of. When specified, only subscriptions and invoices with this <code>on_behalf_of</code> account appear in the portal. For more information, see the <a href="https://stripe.com/docs/connect/separate-charges-and-transfers#on-behalf-of">docs</a>. Use the <a href="https://stripe.com/docs/api/accounts/object#account_object-settings-branding">Accounts API</a> to modify the <code>on_behalf_of</code> account's branding settings, which the portal displays. * @property null|string $return_url The URL to redirect customers to when they click on the portal's link to return to your website. * @property string $url The short-lived URL of the session that gives customers access to the customer portal. */ class Session extends \Stripe\ApiResource { const OBJECT_NAME = 'billing_portal.session'; use \Stripe\ApiOperations\Create; } BillingPortalServiceFactory.php 0000777 00000001261 14711054303 0012675 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Service\BillingPortal; /** * Service factory class for API resources in the BillingPortal namespace. * * @property ConfigurationService $configurations * @property SessionService $sessions */ class BillingPortalServiceFactory extends \Stripe\Service\AbstractServiceFactory { /** * @var array<string, string> */ private static $classMap = [ 'configurations' => ConfigurationService::class, 'sessions' => SessionService::class, ]; protected function getServiceClass($name) { return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; } } SessionService.php 0000777 00000001134 14711054303 0010225 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Service\BillingPortal; class SessionService extends \Stripe\Service\AbstractService { /** * Creates a session of the customer portal. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\BillingPortal\Session */ public function create($params = null, $opts = null) { return $this->request('post', '/v1/billing_portal/sessions', $params, $opts); } } ConfigurationService.php 0000777 00000004452 14711054303 0011417 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Service\BillingPortal; class ConfigurationService extends \Stripe\Service\AbstractService { /** * Returns a list of configurations that describe the functionality of the customer * portal. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection<\Stripe\BillingPortal\Configuration> */ public function all($params = null, $opts = null) { return $this->requestCollection('get', '/v1/billing_portal/configurations', $params, $opts); } /** * Creates a configuration that describes the functionality and behavior of a * PortalSession. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\BillingPortal\Configuration */ public function create($params = null, $opts = null) { return $this->request('post', '/v1/billing_portal/configurations', $params, $opts); } /** * Retrieves a configuration that describes the functionality of the customer * portal. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\BillingPortal\Configuration */ public function retrieve($id, $params = null, $opts = null) { return $this->request('get', $this->buildPath('/v1/billing_portal/configurations/%s', $id), $params, $opts); } /** * Updates a configuration that describes the functionality of the customer portal. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\BillingPortal\Configuration */ public function update($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/billing_portal/configurations/%s', $id), $params, $opts); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка