Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wpforms-.../vendor_p.../stripe/stripe-p.../lib
File: InvoiceLineItem.php
<?php
[0] Fix | Delete
[1] Fix | Delete
// File generated from our OpenAPI spec
[2] Fix | Delete
namespace WPForms\Vendor\Stripe;
[3] Fix | Delete
[4] Fix | Delete
/**
[5] Fix | Delete
* @property string $id Unique identifier for the object.
[6] Fix | Delete
* @property string $object String representing the object's type. Objects of the same type share the same value.
[7] Fix | Delete
* @property int $amount The amount, in cents (or local equivalent).
[8] Fix | Delete
* @property null|int $amount_excluding_tax The integer amount in cents (or local equivalent) representing the amount for this line item, excluding all tax and discounts.
[9] Fix | Delete
* @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>.
[10] Fix | Delete
* @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users.
[11] Fix | Delete
* @property null|\Stripe\StripeObject[] $discount_amounts The amount of discount calculated per discount for this line item.
[12] Fix | Delete
* @property bool $discountable If true, discounts will apply to this line item. Always false for prorations.
[13] Fix | Delete
* @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.
[14] Fix | Delete
* @property null|string $invoice The ID of the invoice that contains this line item.
[15] Fix | Delete
* @property null|string|\Stripe\InvoiceItem $invoice_item The ID of the <a href="https://stripe.com/docs/api/invoiceitems">invoice item</a> associated with this line item if any.
[16] Fix | Delete
* @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.
[17] Fix | Delete
* @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.
[18] Fix | Delete
* @property \Stripe\StripeObject $period
[19] Fix | Delete
* @property null|\Stripe\Plan $plan The plan of the subscription, if the line item is a subscription or a proration.
[20] Fix | Delete
* @property null|\Stripe\Price $price The price of the line item.
[21] Fix | Delete
* @property bool $proration Whether this is a proration.
[22] Fix | Delete
* @property null|\Stripe\StripeObject $proration_details Additional details for proration line items
[23] Fix | Delete
* @property null|int $quantity The quantity of the subscription, if the line item is a subscription or a proration.
[24] Fix | Delete
* @property null|string|\Stripe\Subscription $subscription The subscription that the invoice item pertains to, if any.
[25] Fix | Delete
* @property null|string|\Stripe\SubscriptionItem $subscription_item The subscription item that generated this line item. Left empty if the line item is not an explicit result of a subscription.
[26] Fix | Delete
* @property null|\Stripe\StripeObject[] $tax_amounts The amount of tax calculated per tax rate for this line item
[27] Fix | Delete
* @property null|\Stripe\TaxRate[] $tax_rates The tax rates which apply to the line item.
[28] Fix | Delete
* @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>.
[29] Fix | Delete
* @property null|string $unit_amount_excluding_tax The amount in cents (or local equivalent) representing the unit amount for this line item, excluding all tax and discounts.
[30] Fix | Delete
*/
[31] Fix | Delete
class InvoiceLineItem extends ApiResource
[32] Fix | Delete
{
[33] Fix | Delete
const OBJECT_NAME = 'line_item';
[34] Fix | Delete
use ApiOperations\Update;
[35] Fix | Delete
}
[36] Fix | Delete
[37] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function