/
home
/
techb158
/
immovalet.com
/
vendor
/
stripe
/
stripe-php
/
lib
/
Service
/
/home/techb158/immovalet.com/vendor/stripe/stripe-php/lib/Service
mkdir
upload
Name
Size
Mode
Actions
BillingPortal/
-
0755
rm
Checkout/
-
0755
rm
Identity/
-
0755
rm
Issuing/
-
0755
rm
Radar/
-
0755
rm
Reporting/
-
0755
rm
Sigma/
-
0755
rm
Terminal/
-
0755
rm
AbstractService.php
2597
0644
edit
dl
rm
AbstractServiceFactory.php
1476
0644
edit
dl
rm
AccountLinkService.php
718
0644
edit
dl
rm
AccountService.php
13478
0644
edit
dl
rm
ApplePayDomainService.php
1957
0644
edit
dl
rm
ApplicationFeeService.php
4724
0644
edit
dl
rm
BalanceService.php
781
0644
edit
dl
rm
BalanceTransactionService.php
1550
0644
edit
dl
rm
ChargeService.php
3579
0644
edit
dl
rm
CoreServiceFactory.php
5567
0644
edit
dl
rm
CountrySpecService.php
1085
0644
edit
dl
rm
CouponService.php
3676
0644
edit
dl
rm
CreditNoteService.php
5603
0644
edit
dl
rm
CustomerService.php
12876
0644
edit
dl
rm
DisputeService.php
2864
0644
edit
dl
rm
EphemeralKeyService.php
1289
0644
edit
dl
rm
EventService.php
1424
0644
edit
dl
rm
ExchangeRateService.php
1243
0644
edit
dl
rm
FileLinkService.php
1976
0644
edit
dl
rm
FileService.php
2091
0644
edit
dl
rm
InvoiceItemService.php
3030
0644
edit
dl
rm
InvoiceService.php
10709
0644
edit
dl
rm
MandateService.php
604
0644
edit
dl
rm
OAuthService.php
4859
0644
edit
dl
rm
OrderReturnService.php
1356
0644
edit
dl
rm
OrderService.php
3526
0644
edit
dl
rm
PaymentIntentService.php
7465
0644
edit
dl
rm
PaymentMethodService.php
4301
0644
edit
dl
rm
PayoutService.php
4674
0644
edit
dl
rm
PlanService.php
2762
0644
edit
dl
rm
PriceService.php
2058
0644
edit
dl
rm
ProductService.php
2968
0644
edit
dl
rm
PromotionCodeService.php
2199
0644
edit
dl
rm
QuoteService.php
5725
0644
edit
dl
rm
RefundService.php
2315
0644
edit
dl
rm
ReviewService.php
1773
0644
edit
dl
rm
SetupAttemptService.php
611
0644
edit
dl
rm
SetupIntentService.php
4460
0644
edit
dl
rm
SkuService.php
2981
0644
edit
dl
rm
SourceService.php
3493
0644
edit
dl
rm
SubscriptionItemService.php
5822
0644
edit
dl
rm
SubscriptionScheduleService.php
3999
0644
edit
dl
rm
SubscriptionService.php
4583
0644
edit
dl
rm
TaxCodeService.php
1271
0644
edit
dl
rm
TaxRateService.php
2026
0644
edit
dl
rm
TokenService.php
1254
0644
edit
dl
rm
TopupService.php
2628
0644
edit
dl
rm
TransferService.php
6338
0644
edit
dl
rm
WebhookEndpointService.php
3364
0644
edit
dl
rm
Edit:
/home/techb158/immovalet.com/vendor/stripe/stripe-php/lib/Service/SubscriptionItemService.php
(5822B)
<?php // File generated from our OpenAPI spec namespace Stripe\Service; class SubscriptionItemService extends \Stripe\Service\AbstractService { /** * Returns a list of your subscription items for a given subscription. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection */ public function all($params = null, $opts = null) { return $this->requestCollection('get', '/v1/subscription_items', $params, $opts); } /** * For the specified subscription item, returns a list of summary objects. Each * object in the list provides usage information that’s been summarized from * multiple usage records and over a subscription billing period (e.g., 15 usage * records in the month of September). * * The list is sorted in reverse-chronological order (newest first). The first list * item represents the most current usage period that hasn’t ended yet. Since new * usage records can still be added, the returned summary information for the * subscription item’s ID should be seen as unstable until the subscription billing * period ends. * * @param string $parentId * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection */ public function allUsageRecordSummaries($parentId, $params = null, $opts = null) { return $this->requestCollection('get', $this->buildPath('/v1/subscription_items/%s/usage_record_summaries', $parentId), $params, $opts); } /** * Adds a new item to an existing subscription. No existing items will be changed * or replaced. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\SubscriptionItem */ public function create($params = null, $opts = null) { return $this->request('post', '/v1/subscription_items', $params, $opts); } /** * Creates a usage record for a specified subscription item and date, and fills it * with a quantity. * * Usage records provide <code>quantity</code> information that Stripe uses to * track how much a customer is using your service. With usage information and the * pricing model set up by the <a * href="https://stripe.com/docs/billing/subscriptions/metered-billing">metered * billing</a> plan, Stripe helps you send accurate invoices to your customers. * * The default calculation for usage is to add up all the <code>quantity</code> * values of the usage records within a billing period. You can change this default * behavior with the billing plan’s <code>aggregate_usage</code> <a * href="/docs/api/plans/create#create_plan-aggregate_usage">parameter</a>. When * there is more than one usage record with the same timestamp, Stripe adds the * <code>quantity</code> values together. In most cases, this is the desired * resolution, however, you can change this behavior with the <code>action</code> * parameter. * * The default pricing model for metered billing is <a * href="/docs/api/plans/object#plan_object-billing_scheme">per-unit pricing</a>. * For finer granularity, you can configure metered billing to have a <a * href="https://stripe.com/docs/billing/subscriptions/tiers">tiered pricing</a> * model. * * @param string $parentId * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\UsageRecord */ public function createUsageRecord($parentId, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/subscription_items/%s/usage_records', $parentId), $params, $opts); } /** * Deletes an item from the subscription. Removing a subscription item from a * subscription will not cancel the subscription. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\SubscriptionItem */ public function delete($id, $params = null, $opts = null) { return $this->request('delete', $this->buildPath('/v1/subscription_items/%s', $id), $params, $opts); } /** * Retrieves the subscription item with the given ID. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\SubscriptionItem */ public function retrieve($id, $params = null, $opts = null) { return $this->request('get', $this->buildPath('/v1/subscription_items/%s', $id), $params, $opts); } /** * Updates the plan or quantity of an item on a current subscription. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\SubscriptionItem */ public function update($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/subscription_items/%s', $id), $params, $opts); } }
Save
cmd:
run