/home/techb158/exp.abdallabala.com/vendor/stripe/stripe-php/lib
NameSizeModeActions
ApiOperations/-0755rm
BillingPortal/-0755rm
Checkout/-0755rm
Exception/-0755rm
HttpClient/-0755rm
Issuing/-0755rm
Radar/-0755rm
Reporting/-0755rm
Service/-0755rm
Sigma/-0755rm
Terminal/-0755rm
Util/-0755rm
Account.php166880644editdlrm
AccountLink.php8300644editdlrm
AlipayAccount.php23860644editdlrm
ApiRequestor.php163010644editdlrm
ApiResource.php34480644editdlrm
ApiResponse.php7120644editdlrm
ApplePayDomain.php10160644editdlrm
ApplicationFee.php42030644editdlrm
ApplicationFeeRefund.php25030644editdlrm
Balance.php23620644editdlrm
BalanceTransaction.php56740644editdlrm
BankAccount.php70860644editdlrm
BaseStripeClient.php95230644editdlrm
BitcoinReceiver.php42350644editdlrm
BitcoinTransaction.php8850644editdlrm
Capability.php29370644editdlrm
Card.php83200644editdlrm
Charge.php125540644editdlrm
Collection.php77130644editdlrm
CountrySpec.php17840644editdlrm
Coupon.php29840644editdlrm
CreditNote.php57650644editdlrm
CreditNoteLineItem.php18970644editdlrm
Customer.php130230644editdlrm
CustomerBalanceTransaction.php53360644editdlrm
Discount.php15680644editdlrm
Dispute.php51950644editdlrm
EphemeralKey.php15860644editdlrm
ErrorObject.php88710644editdlrm
Event.php135320644editdlrm
ExchangeRate.php14460644editdlrm
File.php35340644editdlrm
FileLink.php14860644editdlrm
Invoice.php194810644editdlrm
InvoiceItem.php37580644editdlrm
InvoiceLineItem.php29090644editdlrm
LineItem.php11920644editdlrm
LoginLink.php4260644editdlrm
Mandate.php11040644editdlrm
OAuth.php33930644editdlrm
OAuthErrorObject.php8610644editdlrm
Order.php52240644editdlrm
OrderItem.php3330644editdlrm
OrderReturn.php16890644editdlrm
PaymentIntent.php115160644editdlrm
PaymentMethod.php36630644editdlrm
Payout.php68310644editdlrm
Person.php54830644editdlrm
Plan.php56850644editdlrm
Price.php48030644editdlrm
Product.php42590644editdlrm
PromotionCode.php22460644editdlrm
Recipient.php27590644editdlrm
RecipientTransfer.php9180644editdlrm
Refund.php41390644editdlrm
RequestTelemetry.php5390644editdlrm
Review.php33710644editdlrm
SetupAttempt.php24490644editdlrm
SetupIntent.php72020644editdlrm
SingletonApiResource.php9170644editdlrm
SKU.php28850644editdlrm
Source.php85650644editdlrm
SourceTransaction.php4080644editdlrm
Stripe.php72240644editdlrm
StripeClient.php35710644editdlrm
StripeClientInterface.php14350644editdlrm
StripeObject.php188070644editdlrm
Subscription.php111620644editdlrm
SubscriptionItem.php56050644editdlrm
SubscriptionSchedule.php39070644editdlrm
TaxId.php45320644editdlrm
TaxRate.php26270644editdlrm
ThreeDSecure.php26060644editdlrm
Token.php36240644editdlrm
Topup.php39950644editdlrm
Transfer.php63210644editdlrm
TransferReversal.php33230644editdlrm
UsageRecord.php9800644editdlrm
UsageRecordSummary.php8120644editdlrm
Webhook.php15150644editdlrm
WebhookEndpoint.php23110644editdlrm
WebhookSignature.php43770644editdlrm
Edit: /home/techb158/exp.abdallabala.com/vendor/stripe/stripe-php/lib/SubscriptionItem.php (5605B)
key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property \Stripe\Plan $plan

You can now model subscriptions more flexibly using the Prices API. It replaces the Plans API and is backwards compatible to simplify your migration.

Plans define the base price, currency, and billing cycle for recurring purchases of products. Products help you track inventory or provisioning, and plans help you track pricing. Different physical goods or levels of service should be represented by products, and pricing options should be represented by plans. This approach lets you change prices without having to change your provisioning scheme.

For example, you might have a single "gold" product that has plans for $10/month, $100/year, €9/month, and €90/year.

Related guides: Set up a subscription and more about products and prices.

* @property \Stripe\Price $price

Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products. Products help you track inventory or provisioning, and prices help you track payment terms. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices. This approach lets you change prices without having to change your provisioning scheme.

For example, you might have a single "gold" product that has prices for $10/month, $100/year, and €9 once.

Related guides: Set up a subscription, create an invoice, and more about products and prices.

* @property int $quantity The quantity of the plan to which the customer should be subscribed. * @property string $subscription The subscription this subscription_item belongs to. * @property null|\Stripe\TaxRate[] $tax_rates The tax rates which apply to this subscription_item. When set, the default_tax_rates on the subscription do not apply to this subscription_item. */ class SubscriptionItem extends ApiResource { const OBJECT_NAME = 'subscription_item'; use ApiOperations\All; use ApiOperations\Create; use ApiOperations\Delete; use ApiOperations\NestedResource; use ApiOperations\Retrieve; use ApiOperations\Update; const PATH_USAGE_RECORDS = '/usage_records'; /** * @param null|string $id the ID of the subscription item on which to create the usage record * @param null|array $params * @param null|array|string $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\UsageRecord */ public static function createUsageRecord($id, $params = null, $opts = null) { return self::_createNestedResource($id, static::PATH_USAGE_RECORDS, $params, $opts); } /** * @deprecated usageRecordSummaries is deprecated. Please use SubscriptionItem::allUsageRecordSummaries instead. * * @param null|array $params * @param null|array|string $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection the list of usage record summaries */ public function usageRecordSummaries($params = null, $opts = null) { $url = $this->instanceUrl() . '/usage_record_summaries'; list($response, $opts) = $this->_request('get', $url, $params, $opts); $obj = \Stripe\Util\Util::convertToStripeObject($response, $opts); $obj->setLastResponse($response); return $obj; } const PATH_USAGE_RECORD_SUMMARIES = '/usage_record_summaries'; /** * @param string $id the ID of the subscription item on which to retrieve the usage record summaries * @param null|array $params * @param null|array|string $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection the list of usage record summaries */ public static function allUsageRecordSummaries($id, $params = null, $opts = null) { return self::_allNestedResources($id, static::PATH_USAGE_RECORD_SUMMARIES, $params, $opts); } }