PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins
/
sf-booking
/
payment-gateway
/
stripe
/
lib
<?php namespace Stripe; /** * Class Capability * * @package Stripe * * @property string $id * @property string $object * @property string $account * @property bool $requested * @property int $requested_at * @property mixed $requirements * @property string $status */ class Capability extends ApiResource { const OBJECT_NAME = 'capability'; use ApiOperations\Update; /** * Possible string representations of a capability's status. * @link https://stripe.com/docs/api/capabilities/object#capability_object-status */ 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 array|string|null $_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, null); } /** * @param string $_id * @param array|null $_params * @param array|string|null $_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, null); } }
[+]
..
[+]
Sigma
[-] Review.php
[edit]
[-] CustomerBalanceTransaction.php
[edit]
[-] BankAccount.php
[edit]
[-] WebhookSignature.php
[edit]
[+]
Radar
[-] PaymentMethod.php
[edit]
[-] LoginLink.php
[edit]
[-] Customer.php
[edit]
[-] SingletonApiResource.php
[edit]
[-] ApplicationFeeRefund.php
[edit]
[-] BalanceTransaction.php
[edit]
[-] Dispute.php
[edit]
[-] Topup.php
[edit]
[-] EphemeralKey.php
[edit]
[-] StripeObject.php
[edit]
[-] FileLink.php
[edit]
[+]
HttpClient
[-] ErrorObject.php
[edit]
[-] CreditNote.php
[edit]
[-] SubscriptionItem.php
[edit]
[-] ExchangeRate.php
[edit]
[+]
Issuing
[+]
Terminal
[-] RecipientTransfer.php
[edit]
[-] Coupon.php
[edit]
[-] Account.php
[edit]
[-] Stripe.php
[edit]
[-] WebhookEndpoint.php
[edit]
[-] File.php
[edit]
[-] Capability.php
[edit]
[-] Transfer.php
[edit]
[-] SubscriptionSchedule.php
[edit]
[+]
Util
[-] SourceTransaction.php
[edit]
[-] ApiRequestor.php
[edit]
[-] AccountLink.php
[edit]
[+]
ApiOperations
[+]
Exception
[-] Balance.php
[edit]
[-] InvoiceLineItem.php
[edit]
[-] OAuth.php
[edit]
[-] ApiResource.php
[edit]
[-] Collection.php
[edit]
[-] Webhook.php
[edit]
[-] PaymentIntent.php
[edit]
[-] UsageRecord.php
[edit]
[-] Subscription.php
[edit]
[-] SetupIntent.php
[edit]
[-] Token.php
[edit]
[-] Event.php
[edit]
[-] Recipient.php
[edit]
[-] ApplicationFee.php
[edit]
[-] Card.php
[edit]
[-] ApplePayDomain.php
[edit]
[-] Discount.php
[edit]
[-] BitcoinReceiver.php
[edit]
[-] CreditNoteLineItem.php
[edit]
[-] CountrySpec.php
[edit]
[-] TaxRate.php
[edit]
[+]
Reporting
[-] Plan.php
[edit]
[-] Source.php
[edit]
[-] OrderReturn.php
[edit]
[-] Order.php
[edit]
[-] TaxId.php
[edit]
[-] Mandate.php
[edit]
[-] Charge.php
[edit]
[-] OrderItem.php
[edit]
[-] RequestTelemetry.php
[edit]
[-] SKU.php
[edit]
[-] UsageRecordSummary.php
[edit]
[-] AlipayAccount.php
[edit]
[-] InvoiceItem.php
[edit]
[-] Product.php
[edit]
[-] TransferReversal.php
[edit]
[-] OAuthErrorObject.php
[edit]
[-] Refund.php
[edit]
[-] ThreeDSecure.php
[edit]
[-] Person.php
[edit]
[-] ApiResponse.php
[edit]
[-] Invoice.php
[edit]
[-] Payout.php
[edit]
[-] BitcoinTransaction.php
[edit]
[+]
Checkout