PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
plugins
/
dokan-pro
/
includes
/
modules
/
stripe
/
classes
/
lib
/
lib
<?php namespace Stripe; /** * Class BitcoinReceiver * * @package Stripe */ class BitcoinReceiver extends ExternalAccount { /** * @return string The class URL for this resource. It needs to be special * cased because it doesn't fit into the standard resource pattern. */ public static function classUrl() { return "/v1/bitcoin/receivers"; } /** * @return string The instance URL for this resource. It needs to be special * cased because it doesn't fit into the standard resource pattern. */ public function instanceUrl() { $result = parent::instanceUrl(); if ($result) { return $result; } else { $id = $this['id']; $id = Util\Util::utf8($id); $extn = urlencode($id); $base = BitcoinReceiver::classUrl(); return "$base/$extn"; } } /** * @param array|string $id The ID of the bitcoin receiver to retrieve, or * an options array containing an `id` key. * @param array|string|null $opts * * @return BitcoinReceiver */ public static function retrieve($id, $opts = null) { return self::_retrieve($id, $opts); } /** * @param array|null $params * @param array|string|null $opts * * @return Collection of BitcoinReceivers */ public static function all($params = null, $opts = null) { return self::_all($params, $opts); } /** * @param array|null $params * @param array|string|null $opts * * @return BitcoinReceiver The created Bitcoin Receiver item. */ public static function create($params = null, $opts = null) { return self::_create($params, $opts); } /** * @param array|null $params * @param array|string|null $options * * @return BitcoinReceiver The refunded Bitcoin Receiver item. */ public function refund($params = null, $options = null) { $url = $this->instanceUrl() . '/refund'; list($response, $opts) = $this->_request('post', $url, $params, $options); $this->refreshFrom($response, $opts); return $this; } }
[+]
..
[-] AlipayAccount.php
[edit]
[-] FileUpload.php
[edit]
[-] Stripe.php
[edit]
[-] Coupon.php
[edit]
[-] LoginLink.php
[edit]
[+]
Util
[-] ApiResource.php
[edit]
[-] ApplicationFee.php
[edit]
[-] ApplePayDomain.php
[edit]
[-] CountrySpec.php
[edit]
[-] Plan.php
[edit]
[-] Dispute.php
[edit]
[-] Customer.php
[edit]
[-] ThreeDSecure.php
[edit]
[-] ExternalAccount.php
[edit]
[-] AttachedObject.php
[edit]
[-] Card.php
[edit]
[-] OrderReturn.php
[edit]
[+]
Error
[-] RecipientTransfer.php
[edit]
[-] Account.php
[edit]
[-] BalanceTransaction.php
[edit]
[-] Subscription.php
[edit]
[-] TransferReversal.php
[edit]
[-] Balance.php
[edit]
[-] ApiResponse.php
[edit]
[+]
HttpClient
[-] InvoiceItem.php
[edit]
[-] Transfer.php
[edit]
[-] BitcoinTransaction.php
[edit]
[-] BitcoinReceiver.php
[edit]
[-] BankAccount.php
[edit]
[-] Order.php
[edit]
[-] Webhook.php
[edit]
[-] JsonSerializable.php
[edit]
[-] SingletonApiResource.php
[edit]
[-] Source.php
[edit]
[-] Charge.php
[edit]
[-] ApplicationFeeRefund.php
[edit]
[-] WebhookSignature.php
[edit]
[-] ApiRequestor.php
[edit]
[-] Recipient.php
[edit]
[-] Refund.php
[edit]
[-] Collection.php
[edit]
[-] Payout.php
[edit]
[-] OAuth.php
[edit]
[-] SKU.php
[edit]
[-] Invoice.php
[edit]
[-] StripeObject.php
[edit]
[-] SubscriptionItem.php
[edit]
[-] Product.php
[edit]
[-] EphemeralKey.php
[edit]
[-] Token.php
[edit]
[-] Event.php
[edit]