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: TaxRate.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
* Tax rates can be applied to <a href="https://stripe.com/docs/billing/invoices/tax-rates">invoices</a>, <a href="https://stripe.com/docs/billing/subscriptions/taxes">subscriptions</a> and <a href="https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates">Checkout Sessions</a> to collect tax.
[6] Fix | Delete
*
[7] Fix | Delete
* Related guide: <a href="https://stripe.com/docs/billing/taxes/tax-rates">Tax rates</a>
[8] Fix | Delete
*
[9] Fix | Delete
* @property string $id Unique identifier for the object.
[10] Fix | Delete
* @property string $object String representing the object's type. Objects of the same type share the same value.
[11] Fix | Delete
* @property bool $active Defaults to <code>true</code>. When set to <code>false</code>, this tax rate cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set.
[12] Fix | Delete
* @property null|string $country Two-letter country code (<a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2</a>).
[13] Fix | Delete
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
[14] Fix | Delete
* @property null|string $description An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.
[15] Fix | Delete
* @property string $display_name The display name of the tax rates as it will appear to your customer on their receipt email, PDF, and the hosted invoice page.
[16] Fix | Delete
* @property null|float $effective_percentage Actual/effective tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage reflects the rate actually used to calculate tax based on the product's taxability and whether the user is registered to collect taxes in the corresponding jurisdiction.
[17] Fix | Delete
* @property bool $inclusive This specifies if the tax rate is inclusive or exclusive.
[18] Fix | Delete
* @property null|string $jurisdiction The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice.
[19] Fix | Delete
* @property null|string $jurisdiction_level The level of the jurisdiction that imposes this tax rate. Will be <code>null</code> for manually defined tax rates.
[20] 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.
[21] Fix | Delete
* @property null|\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.
[22] Fix | Delete
* @property float $percentage Tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage includes the statutory tax rate of non-taxable jurisdictions.
[23] Fix | Delete
* @property null|string $state <a href="https://en.wikipedia.org/wiki/ISO_3166-2:US">ISO 3166-2 subdivision code</a>, without country prefix. For example, &quot;NY&quot; for New York, United States.
[24] Fix | Delete
* @property null|string $tax_type The high-level tax type, such as <code>vat</code> or <code>sales_tax</code>.
[25] Fix | Delete
*/
[26] Fix | Delete
class TaxRate extends ApiResource
[27] Fix | Delete
{
[28] Fix | Delete
const OBJECT_NAME = 'tax_rate';
[29] Fix | Delete
use ApiOperations\All;
[30] Fix | Delete
use ApiOperations\Create;
[31] Fix | Delete
use ApiOperations\Retrieve;
[32] Fix | Delete
use ApiOperations\Update;
[33] Fix | Delete
const JURISDICTION_LEVEL_CITY = 'city';
[34] Fix | Delete
const JURISDICTION_LEVEL_COUNTRY = 'country';
[35] Fix | Delete
const JURISDICTION_LEVEL_COUNTY = 'county';
[36] Fix | Delete
const JURISDICTION_LEVEL_DISTRICT = 'district';
[37] Fix | Delete
const JURISDICTION_LEVEL_MULTIPLE = 'multiple';
[38] Fix | Delete
const JURISDICTION_LEVEL_STATE = 'state';
[39] Fix | Delete
const TAX_TYPE_AMUSEMENT_TAX = 'amusement_tax';
[40] Fix | Delete
const TAX_TYPE_COMMUNICATIONS_TAX = 'communications_tax';
[41] Fix | Delete
const TAX_TYPE_GST = 'gst';
[42] Fix | Delete
const TAX_TYPE_HST = 'hst';
[43] Fix | Delete
const TAX_TYPE_IGST = 'igst';
[44] Fix | Delete
const TAX_TYPE_JCT = 'jct';
[45] Fix | Delete
const TAX_TYPE_LEASE_TAX = 'lease_tax';
[46] Fix | Delete
const TAX_TYPE_PST = 'pst';
[47] Fix | Delete
const TAX_TYPE_QST = 'qst';
[48] Fix | Delete
const TAX_TYPE_RST = 'rst';
[49] Fix | Delete
const TAX_TYPE_SALES_TAX = 'sales_tax';
[50] Fix | Delete
const TAX_TYPE_SERVICE_TAX = 'service_tax';
[51] Fix | Delete
const TAX_TYPE_VAT = 'vat';
[52] Fix | Delete
}
[53] Fix | Delete
[54] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function