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: ShippingRate.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
* Shipping rates describe the price of shipping presented to your customers and
[6] Fix | Delete
* applied to a purchase. For more information, see <a href="https://stripe.com/docs/payments/during-payment/charge-shipping">Charge for shipping</a>.
[7] Fix | Delete
*
[8] Fix | Delete
* @property string $id Unique identifier for the object.
[9] Fix | Delete
* @property string $object String representing the object's type. Objects of the same type share the same value.
[10] Fix | Delete
* @property bool $active Whether the shipping rate can be used for new purchases. Defaults to <code>true</code>.
[11] Fix | Delete
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
[12] Fix | Delete
* @property null|\Stripe\StripeObject $delivery_estimate The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.
[13] Fix | Delete
* @property null|string $display_name The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.
[14] Fix | Delete
* @property null|\Stripe\StripeObject $fixed_amount
[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 \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.
[17] Fix | Delete
* @property null|string $tax_behavior Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of <code>inclusive</code>, <code>exclusive</code>, or <code>unspecified</code>.
[18] Fix | Delete
* @property null|string|\Stripe\TaxCode $tax_code A <a href="https://stripe.com/docs/tax/tax-categories">tax code</a> ID. The Shipping tax code is <code>txcd_92010001</code>.
[19] Fix | Delete
* @property string $type The type of calculation to use on the shipping rate. Can only be <code>fixed_amount</code> for now.
[20] Fix | Delete
*/
[21] Fix | Delete
class ShippingRate extends ApiResource
[22] Fix | Delete
{
[23] Fix | Delete
const OBJECT_NAME = 'shipping_rate';
[24] Fix | Delete
use ApiOperations\All;
[25] Fix | Delete
use ApiOperations\Create;
[26] Fix | Delete
use ApiOperations\Retrieve;
[27] Fix | Delete
use ApiOperations\Update;
[28] Fix | Delete
const TAX_BEHAVIOR_EXCLUSIVE = 'exclusive';
[29] Fix | Delete
const TAX_BEHAVIOR_INCLUSIVE = 'inclusive';
[30] Fix | Delete
const TAX_BEHAVIOR_UNSPECIFIED = 'unspecified';
[31] Fix | Delete
const TYPE_FIXED_AMOUNT = 'fixed_amount';
[32] Fix | Delete
}
[33] Fix | Delete
[34] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function