PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.15.4
GiveWP – Donation Plugin and Fundraising Platform v4.15.4
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
give / vendor / stripe / stripe-php / lib / InvoiceLineItem.php

InvoiceLineItem.php in GiveWP – Donation Plugin and Fundraising Platform 4.15.4, at vendor/stripe/stripe-php/lib/InvoiceLineItem.php

35 lines 2.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // File generated from our OpenAPI spec
4
5 namespace Stripe;
6
7 /**
8 * @property string $id Unique identifier for the object.
9 * @property string $object String representing the object's type. Objects of the same type share the same value.
10 * @property int $amount The amount, in %s.
11 * @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>.
12 * @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users.
13 * @property null|\Stripe\StripeObject[] $discount_amounts The amount of discount calculated per discount for this line item.
14 * @property bool $discountable If true, discounts will apply to this line item. Always false for prorations.
15 * @property null|(string|\Stripe\Discount)[] $discounts The discounts applied to the invoice line item. Line item discounts are applied before invoice discounts. Use <code>expand[]=discounts</code> to expand each discount.
16 * @property string $invoice_item The ID of the <a href="https://stripe.com/docs/api/invoiceitems">invoice item</a> associated with this line item if any.
17 * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
18 * @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with <code>type=subscription</code> this will reflect the metadata of the subscription that caused the line item to be created.
19 * @property \Stripe\StripeObject $period
20 * @property null|\Stripe\Plan $plan The plan of the subscription, if the line item is a subscription or a proration.
21 * @property null|\Stripe\Price $price The price of the line item.
22 * @property bool $proration Whether this is a proration.
23 * @property null|\Stripe\StripeObject $proration_details Additional details for proration line items
24 * @property null|int $quantity The quantity of the subscription, if the line item is a subscription or a proration.
25 * @property null|string $subscription The subscription that the invoice item pertains to, if any.
26 * @property string $subscription_item The subscription item that generated this invoice item. Left empty if the line item is not an explicit result of a subscription.
27 * @property \Stripe\StripeObject[] $tax_amounts The amount of tax calculated per tax rate for this line item
28 * @property \Stripe\TaxRate[] $tax_rates The tax rates which apply to the line item.
29 * @property string $type A string identifying the type of the source of this line item, either an <code>invoiceitem</code> or a <code>subscription</code>.
30 */
31 class InvoiceLineItem extends ApiResource
32 {
33 const OBJECT_NAME = 'line_item';
34 }
35