PATH:
usr
/
local
/
sitepad
/
editor
/
site-data
/
plugins
/
kkart-pro
/
includes
/
gateways
/
stripe
/
stripe-php
/
lib
<?php // File generated from our OpenAPI spec namespace Stripe; /** * This is an object representing a capability for a Stripe account. * * Related guide: <a * href="https://stripe.com/docs/connect/account-capabilities">Account * capabilities</a>. * * @property string $id The identifier for the capability. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property string|\Stripe\Account $account The account for which the capability enables functionality. * @property bool $requested Whether the capability has been requested. * @property null|int $requested_at Time at which the capability was requested. Measured in seconds since the Unix epoch. * @property \Stripe\StripeObject $requirements * @property string $status The status of the capability. Can be <code>active</code>, <code>inactive</code>, <code>pending</code>, or <code>unrequested</code>. */ class Capability extends ApiResource { const OBJECT_NAME = 'capability'; use ApiOperations\Update; const STATUS_ACTIVE = 'active'; const STATUS_INACTIVE = 'inactive'; const STATUS_PENDING = 'pending'; const STATUS_UNREQUESTED = 'unrequested'; /** * @return string the API URL for this Stripe account reversal */ public function instanceUrl() { $id = $this['id']; $account = $this['account']; if (!$id) { throw new Exception\UnexpectedValueException( 'Could not determine which URL to request: ' . "class instance has invalid ID: {$id}", null ); } $id = Util\Util::utf8($id); $account = Util\Util::utf8($account); $base = Account::classUrl(); $accountExtn = \urlencode($account); $extn = \urlencode($id); return "{$base}/{$accountExtn}/capabilities/{$extn}"; } /** * @param array|string $_id * @param null|array|string $_opts * * @throws \Stripe\Exception\BadMethodCallException */ public static function retrieve($_id, $_opts = null) { $msg = 'Capabilities cannot be retrieved without an account ID. ' . 'Retrieve a capability using `Account::retrieveCapability(' . "'account_id', 'capability_id')`."; throw new Exception\BadMethodCallException($msg); } /** * @param string $_id * @param null|array $_params * @param null|array|string $_options * * @throws \Stripe\Exception\BadMethodCallException */ public static function update($_id, $_params = null, $_options = null) { $msg = 'Capabilities cannot be updated without an account ID. ' . 'Update a capability using `Account::updateCapability(' . "'account_id', 'capability_id', \$updateParams)`."; throw new Exception\BadMethodCallException($msg); } }
[+]
BillingPortal
[+]
Sigma
[-] ApplicationFeeRefund.php
[open]
[+]
..
[-] PromotionCode.php
[open]
[+]
Radar
[-] BaseStripeClient.php
[open]
[-] ApiResponse.php
[open]
[+]
Terminal
[-] FileLink.php
[open]
[-] SingletonApiResource.php
[open]
[-] TaxRate.php
[open]
[-] OAuth.php
[open]
[-] Invoice.php
[open]
[+]
Checkout
[-] ThreeDSecure.php
[open]
[-] Token.php
[open]
[+]
Service
[-] ApiResource.php
[open]
[-] Mandate.php
[open]
[-] Payout.php
[open]
[-] Charge.php
[open]
[-] ExchangeRate.php
[open]
[-] OrderReturn.php
[open]
[-] RecipientTransfer.php
[open]
[-] LoginLink.php
[open]
[-] Coupon.php
[open]
[-] Capability.php
[open]
[-] Price.php
[open]
[-] BitcoinReceiver.php
[open]
[-] WebhookEndpoint.php
[open]
[-] Stripe.php
[open]
[-] Subscription.php
[open]
[-] Discount.php
[open]
[-] SourceTransaction.php
[open]
[-] Card.php
[open]
[-] EphemeralKey.php
[open]
[-] WebhookSignature.php
[open]
[-] Balance.php
[open]
[-] UsageRecordSummary.php
[open]
[-] InvoiceLineItem.php
[open]
[-] ApplicationFee.php
[open]
[-] StripeObject.php
[open]
[-] ApplePayDomain.php
[open]
[-] CreditNote.php
[open]
[-] Person.php
[open]
[-] AccountLink.php
[open]
[-] AlipayAccount.php
[open]
[-] SetupIntent.php
[open]
[-] Source.php
[open]
[-] StripeClientInterface.php
[open]
[-] TaxId.php
[open]
[-] Transfer.php
[open]
[-] LineItem.php
[open]
[-] Account.php
[open]
[-] Webhook.php
[open]
[-] Dispute.php
[open]
[-] BalanceTransaction.php
[open]
[-] SubscriptionItem.php
[open]
[-] ErrorObject.php
[open]
[-] InvoiceItem.php
[open]
[-] OAuthErrorObject.php
[open]
[-] Customer.php
[open]
[-] Plan.php
[open]
[-] CountrySpec.php
[open]
[-] ApiRequestor.php
[open]
[-] SetupAttempt.php
[open]
[-] Order.php
[open]
[-] Topup.php
[open]
[-] BitcoinTransaction.php
[open]
[-] RequestTelemetry.php
[open]
[-] CustomerBalanceTransaction.php
[open]
[-] UsageRecord.php
[open]
[-] Event.php
[open]
[+]
Util
[-] Collection.php
[open]
[+]
ApiOperations
[-] Review.php
[open]
[-] TransferReversal.php
[open]
[-] Refund.php
[open]
[-] StripeClient.php
[open]
[-] Recipient.php
[open]
[-] PaymentIntent.php
[open]
[-] BankAccount.php
[open]
[-] OrderItem.php
[open]
[+]
HttpClient
[-] PaymentMethod.php
[open]
[-] Quote.php
[open]
[-] Product.php
[open]
[-] BaseStripeClientInterface.php
[open]
[-] TaxCode.php
[open]
[-] SKU.php
[open]
[-] StripeStreamingClientInterface.php
[open]
[+]
Reporting
[-] File.php
[open]
[-] SubscriptionSchedule.php
[open]
[-] CreditNoteLineItem.php
[open]
[+]
Exception
[+]
Identity
[+]
Issuing