| 1 |
<?php |
| 2 |
|
| 3 |
// File generated from our OpenAPI spec |
| 4 |
|
| 5 |
namespace Stripe; |
| 6 |
|
| 7 |
/** |
| 8 |
* A line item. |
| 9 |
* |
| 10 |
* @property string $id Unique identifier for the object. |
| 11 |
* @property string $object String representing the object's type. Objects of the same type share the same value. |
| 12 |
* @property int $amount_subtotal Total before any discounts or taxes are applied. |
| 13 |
* @property int $amount_total Total after discounts and taxes. |
| 14 |
* @property string $currency Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>. |
| 15 |
* @property string $description An arbitrary string attached to the object. Often useful for displaying to users. Defaults to product name. |
| 16 |
* @property \Stripe\StripeObject[] $discounts The discounts applied to the line item. |
| 17 |
* @property null|\Stripe\Price $price The price used to generate the line item. |
| 18 |
* @property null|int $quantity The quantity of products being purchased. |
| 19 |
* @property \Stripe\StripeObject[] $taxes The taxes applied to the line item. |
| 20 |
*/ |
| 21 |
class LineItem extends ApiResource |
| 22 |
{ |
| 23 |
const OBJECT_NAME = 'item'; |
| 24 |
|
| 25 |
use ApiOperations\All; |
| 26 |
} |
| 27 |
|