composer package updates
[openemr.git] / vendor / stripe / stripe-php / lib / SubscriptionItem.php
blob86b5270e93df2b67dd60e477dbfc862e688062d4
1 <?php
3 namespace Stripe;
5 /**
6 * Class SubscriptionItem
8 * @property string $id
9 * @property string $object
10 * @property int $created
11 * @property StripeObject $metadata
12 * @property Plan $plan
13 * @property int $quantity
14 * @property string $subscription
16 * @package Stripe
18 class SubscriptionItem extends ApiResource
21 const OBJECT_NAME = "subscription_item";
23 use ApiOperations\All;
24 use ApiOperations\Create;
25 use ApiOperations\Delete;
26 use ApiOperations\Retrieve;
27 use ApiOperations\Update;
29 /**
30 * This is a special case because the subscription items endpoint has an
31 * underscore in it. The parent `className` function strips underscores.
33 * @return string The name of the class.
35 public static function className()
37 return 'subscription_item';