/home/techb158/dev.balacoffee.com/vendor/stripe/stripe-php/lib/Service
NameSizeModeActions
BillingPortal/-0755rm
Checkout/-0755rm
FinancialConnections/-0755rm
Identity/-0755rm
Issuing/-0755rm
Radar/-0755rm
Reporting/-0755rm
Sigma/-0755rm
Terminal/-0755rm
TestHelpers/-0755rm
AbstractService.php27950644editdlrm
AbstractServiceFactory.php14760644editdlrm
AccountLinkService.php7180644editdlrm
AccountService.php136380644editdlrm
ApplePayDomainService.php19810644editdlrm
ApplicationFeeService.php47780644editdlrm
BalanceService.php7810644editdlrm
BalanceTransactionService.php15780644editdlrm
ChargeService.php45660644editdlrm
CoreServiceFactory.php60930644editdlrm
CountrySpecService.php11060644editdlrm
CouponService.php36920644editdlrm
CreditNoteService.php56710644editdlrm
CustomerService.php162840644editdlrm
DisputeService.php28810644editdlrm
EphemeralKeyService.php12890644editdlrm
EventService.php14390644editdlrm
ExchangeRateService.php12650644editdlrm
FileLinkService.php19940644editdlrm
FileService.php21050644editdlrm
InvoiceItemService.php30510644editdlrm
InvoiceService.php116680644editdlrm
MandateService.php6040644editdlrm
OAuthService.php48590644editdlrm
OrderReturnService.php13770644editdlrm
OrderService.php35410644editdlrm
PaymentIntentService.php120410644editdlrm
PaymentLinkService.php26820644editdlrm
PaymentMethodService.php49130644editdlrm
PayoutService.php46900644editdlrm
PlanService.php27760644editdlrm
PriceService.php29740644editdlrm
ProductService.php38920644editdlrm
PromotionCodeService.php24120644editdlrm
QuoteService.php58760644editdlrm
RefundService.php30180644editdlrm
ReviewService.php17890644editdlrm
SetupAttemptService.php6330644editdlrm
SetupIntentService.php50080644editdlrm
ShippingRateService.php20160644editdlrm
SkuService.php29940644editdlrm
SourceService.php34930644editdlrm
SubscriptionItemService.php58760644editdlrm
SubscriptionScheduleService.php40290644editdlrm
SubscriptionService.php61510644editdlrm
TaxCodeService.php12930644editdlrm
TaxRateService.php20430644editdlrm
TokenService.php12540644editdlrm
TopupService.php26430644editdlrm
TransferService.php63820644editdlrm
WebhookEndpointService.php33890644editdlrm
Edit: /home/techb158/dev.balacoffee.com/vendor/stripe/stripe-php/lib/Service/SubscriptionService.php (6151B)
status=canceled. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection<\Stripe\Subscription> */ public function all($params = null, $opts = null) { return $this->requestCollection('get', '/v1/subscriptions', $params, $opts); } /** * Cancels a customer’s subscription immediately. The customer will not be charged * again for the subscription. * * Note, however, that any pending invoice items that you’ve created will still be * charged for at the end of the period, unless manually deleted. If you’ve set the subscription to cancel * at the end of the period, any pending prorations will also be left in place and * collected at the end of the period. But if the subscription is set to cancel * immediately, pending prorations will be removed. * * By default, upon subscription cancellation, Stripe will stop automatic * collection of all finalized invoices for the customer. This is intended to * prevent unexpected payment attempts after the customer has canceled a * subscription. However, you can resume automatic collection of the invoices * manually after subscription cancellation to have us proceed. Or, you could check * for unpaid invoices before allowing the customer to cancel the subscription at * all. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Subscription */ public function cancel($id, $params = null, $opts = null) { return $this->request('delete', $this->buildPath('/v1/subscriptions/%s', $id), $params, $opts); } /** * Creates a new subscription on an existing customer. Each customer can have up to * 500 active or scheduled subscriptions. * * When you create a subscription with * collection_method=charge_automatically, the first invoice is * finalized as part of the request. The payment_behavior parameter * determines the exact behavior of the initial payment. * * To start subscriptions where the first invoice always begins in a * draft status, use subscription * schedules instead. Schedules provide the flexibility to model more complex * billing configurations that change over time. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Subscription */ public function create($params = null, $opts = null) { return $this->request('post', '/v1/subscriptions', $params, $opts); } /** * Removes the currently applied discount on a 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\Subscription */ public function deleteDiscount($id, $params = null, $opts = null) { return $this->request('delete', $this->buildPath('/v1/subscriptions/%s/discount', $id), $params, $opts); } /** * Retrieves the subscription 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\Subscription */ public function retrieve($id, $params = null, $opts = null) { return $this->request('get', $this->buildPath('/v1/subscriptions/%s', $id), $params, $opts); } /** * Search for subscriptions you’ve previously created using Stripe’s Search Query Language. Don’t use * search in read-after-write flows where strict consistency is necessary. Under * normal operating conditions, data is searchable in less than a minute. * Occasionally, propagation of new or updated data can be up to an hour behind * during outages. Search functionality is not available to merchants in India. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\SearchResult<\Stripe\Subscription> */ public function search($params = null, $opts = null) { return $this->requestSearchResult('get', '/v1/subscriptions/search', $params, $opts); } /** * Updates an existing subscription on a customer to match the specified * parameters. When changing plans or quantities, we will optionally prorate the * price we charge next month to make up for any price changes. To preview how the * proration will be calculated, use the upcoming * invoice endpoint. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Subscription */ public function update($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/subscriptions/%s', $id), $params, $opts); } }