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: CreditNoteLineItem.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
* The credit note line item object.
[6] Fix | Delete
*
[7] Fix | Delete
* @property string $id Unique identifier for the object.
[8] Fix | Delete
* @property string $object String representing the object's type. Objects of the same type share the same value.
[9] Fix | Delete
* @property int $amount The integer amount in cents (or local equivalent) representing the gross amount being credited for this line item, excluding (exclusive) tax and discounts.
[10] Fix | Delete
* @property null|int $amount_excluding_tax The integer amount in cents (or local equivalent) representing the amount being credited for this line item, excluding all tax and discounts.
[11] Fix | Delete
* @property null|string $description Description of the item being credited.
[12] Fix | Delete
* @property int $discount_amount The integer amount in cents (or local equivalent) representing the discount being credited for this line item.
[13] Fix | Delete
* @property \Stripe\StripeObject[] $discount_amounts The amount of discount calculated per discount for this line item
[14] Fix | Delete
* @property null|string $invoice_line_item ID of the invoice line item being credited
[15] 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.
[16] Fix | Delete
* @property null|int $quantity The number of units of product being credited.
[17] Fix | Delete
* @property \Stripe\StripeObject[] $tax_amounts The amount of tax calculated per tax rate for this line item
[18] Fix | Delete
* @property \Stripe\TaxRate[] $tax_rates The tax rates which apply to the line item.
[19] Fix | Delete
* @property string $type The type of the credit note line item, one of <code>invoice_line_item</code> or <code>custom_line_item</code>. When the type is <code>invoice_line_item</code> there is an additional <code>invoice_line_item</code> property on the resource the value of which is the id of the credited line item on the invoice.
[20] Fix | Delete
* @property null|int $unit_amount The cost of each unit of product being credited.
[21] Fix | Delete
* @property null|string $unit_amount_decimal Same as <code>unit_amount</code>, but contains a decimal value with at most 12 decimal places.
[22] Fix | Delete
* @property null|string $unit_amount_excluding_tax The amount in cents (or local equivalent) representing the unit amount being credited for this line item, excluding all tax and discounts.
[23] Fix | Delete
*/
[24] Fix | Delete
class CreditNoteLineItem extends ApiResource
[25] Fix | Delete
{
[26] Fix | Delete
const OBJECT_NAME = 'credit_note_line_item';
[27] Fix | Delete
}
[28] Fix | Delete
[29] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function