/
home
/
techb158
/
ileadtechnology.com
/
vendor
/
cartalyst
/
stripe
/
src
/
Api
/
/home/techb158/ileadtechnology.com/vendor/cartalyst/stripe/src/Api
mkdir
upload
Name
Size
Mode
Actions
Account/
-
0755
rm
Checkout/
-
0755
rm
Radar/
-
0755
rm
Terminal/
-
0755
rm
Account.php
3251
0644
edit
dl
rm
Api.php
7041
0644
edit
dl
rm
ApiInterface.php
2717
0644
edit
dl
rm
ApplicationFeeRefunds.php
1901
0644
edit
dl
rm
ApplicationFees.php
993
0644
edit
dl
rm
Balance.php
1155
0644
edit
dl
rm
BalanceTransactions.php
1008
0644
edit
dl
rm
BankAccounts.php
2950
0644
edit
dl
rm
Bitcoin.php
1225
0644
edit
dl
rm
Cards.php
2401
0644
edit
dl
rm
Charges.php
1857
0644
edit
dl
rm
Checkout.php
719
0644
edit
dl
rm
CountrySpecs.php
977
0644
edit
dl
rm
Coupons.php
1652
0644
edit
dl
rm
CreditNotes.php
1739
0644
edit
dl
rm
CustomerBalanceTransactions.php
1931
0644
edit
dl
rm
Customers.php
2276
0644
edit
dl
rm
CustomerTaxIds.php
1692
0644
edit
dl
rm
Disputes.php
1436
0644
edit
dl
rm
EphemeralKey.php
972
0644
edit
dl
rm
Events.php
917
0644
edit
dl
rm
ExternalAccounts.php
2331
0644
edit
dl
rm
FileLinks.php
1606
0644
edit
dl
rm
Files.php
1647
0644
edit
dl
rm
FileUploads.php
560
0644
edit
dl
rm
InvoiceItems.php
1927
0644
edit
dl
rm
Invoices.php
3941
0644
edit
dl
rm
Mandates.php
714
0644
edit
dl
rm
OrderReturns.php
985
0644
edit
dl
rm
Orders.php
2000
0644
edit
dl
rm
PaymentIntents.php
2538
0644
edit
dl
rm
PaymentMethods.php
2212
0644
edit
dl
rm
Payouts.php
1655
0644
edit
dl
rm
Plans.php
1612
0644
edit
dl
rm
Prices.php
1436
0644
edit
dl
rm
Products.php
1688
0644
edit
dl
rm
Radar.php
1411
0644
edit
dl
rm
Recipients.php
1712
0644
edit
dl
rm
Refunds.php
2639
0644
edit
dl
rm
ScheduledQueries.php
1031
0644
edit
dl
rm
SetupIntents.php
2157
0644
edit
dl
rm
Skus.php
1608
0644
edit
dl
rm
Sources.php
2198
0644
edit
dl
rm
SubscriptionItems.php
2133
0644
edit
dl
rm
Subscriptions.php
3844
0644
edit
dl
rm
SubscriptionSchedules.php
2196
0644
edit
dl
rm
TaxRates.php
1458
0644
edit
dl
rm
Terminal.php
1200
0644
edit
dl
rm
Tokens.php
919
0644
edit
dl
rm
Topup.php
1854
0644
edit
dl
rm
TransferReversals.php
1845
0644
edit
dl
rm
Transfers.php
1465
0644
edit
dl
rm
UsageRecords.php
1123
0644
edit
dl
rm
WebhookEndpoints.php
1842
0644
edit
dl
rm
Edit:
/home/techb158/ileadtechnology.com/vendor/cartalyst/stripe/src/Api/Sources.php
(2198B)
<?php /** * Part of the Stripe package. * * NOTICE OF LICENSE * * Licensed under the 3-clause BSD License. * * This source file is subject to the 3-clause BSD License that is * bundled with this package in the LICENSE file. * * @package Stripe * @version 2.4.6 * @author Cartalyst LLC * @license BSD License (3-clause) * @copyright (c) 2011-2021, Cartalyst LLC * @link https://cartalyst.com */ namespace Cartalyst\Stripe\Api; class Sources extends Api { /** * Creates a new source on the given customer. * * @param string|array $parameters * @return array */ public function create($parameters = []) { return $this->_post('sources', $parameters); } /** * Retrieves an existing source. * * @param string $sourceId * @return array */ public function find($sourceId) { return $this->_get("sources/{$sourceId}"); } /** * Updates an existing source. * * @param string $sourceId * @param array $parameters * @return array */ public function update($sourceId, array $parameters = []) { return $this->_post("sources/{$sourceId}", $parameters); } /** * Attaches the given source to the customer. * * @param string $customerId * @param string $sourceId * @return array */ public function attach($customerId, $sourceId) { return $this->_post("customers/{$customerId}/sources", [ 'source' => $sourceId, ]); } /** * Detaches the given source from the customer. * * @param string $customerId * @param string $sourceId * @return array */ public function detach($customerId, $sourceId) { return $this->_delete("customers/{$customerId}/sources/{$sourceId}"); } /** * Lists all sources from the given customer. * * @param string $customerId * @param array $parameters * @return array */ public function all($customerId, array $parameters = []) { return $this->_get("customers/{$customerId}/sources", $parameters); } }
Save
cmd:
run