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: SetupAttempt.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
* A SetupAttempt describes one attempted confirmation of a SetupIntent,
[6] Fix | Delete
* whether that confirmation is successful or unsuccessful. You can use
[7] Fix | Delete
* SetupAttempts to inspect details of a specific attempt at setting up a
[8] Fix | Delete
* payment method using a SetupIntent.
[9] Fix | Delete
*
[10] Fix | Delete
* @property string $id Unique identifier for the object.
[11] Fix | Delete
* @property string $object String representing the object's type. Objects of the same type share the same value.
[12] Fix | Delete
* @property null|string|\Stripe\Application $application The value of <a href="https://stripe.com/docs/api/setup_intents/object#setup_intent_object-application">application</a> on the SetupIntent at the time of this confirmation.
[13] Fix | Delete
* @property null|bool $attach_to_self <p>If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.</p><p>It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.</p>
[14] Fix | Delete
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
[15] Fix | Delete
* @property null|string|\Stripe\Customer $customer The value of <a href="https://stripe.com/docs/api/setup_intents/object#setup_intent_object-customer">customer</a> on the SetupIntent at the time of this confirmation.
[16] Fix | Delete
* @property null|string[] $flow_directions <p>Indicates the directions of money movement for which this payment method is intended to be used.</p><p>Include <code>inbound</code> if you intend to use the payment method as the origin to pull funds from. Include <code>outbound</code> if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.</p>
[17] 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.
[18] Fix | Delete
* @property null|string|\Stripe\Account $on_behalf_of The value of <a href="https://stripe.com/docs/api/setup_intents/object#setup_intent_object-on_behalf_of">on_behalf_of</a> on the SetupIntent at the time of this confirmation.
[19] Fix | Delete
* @property string|\Stripe\PaymentMethod $payment_method ID of the payment method used with this SetupAttempt.
[20] Fix | Delete
* @property \Stripe\StripeObject $payment_method_details
[21] Fix | Delete
* @property null|\Stripe\StripeObject $setup_error The error encountered during this attempt to confirm the SetupIntent, if any.
[22] Fix | Delete
* @property string|\Stripe\SetupIntent $setup_intent ID of the SetupIntent that this attempt belongs to.
[23] Fix | Delete
* @property string $status Status of this SetupAttempt, one of <code>requires_confirmation</code>, <code>requires_action</code>, <code>processing</code>, <code>succeeded</code>, <code>failed</code>, or <code>abandoned</code>.
[24] Fix | Delete
* @property string $usage The value of <a href="https://stripe.com/docs/api/setup_intents/object#setup_intent_object-usage">usage</a> on the SetupIntent at the time of this confirmation, one of <code>off_session</code> or <code>on_session</code>.
[25] Fix | Delete
*/
[26] Fix | Delete
class SetupAttempt extends ApiResource
[27] Fix | Delete
{
[28] Fix | Delete
const OBJECT_NAME = 'setup_attempt';
[29] Fix | Delete
use ApiOperations\All;
[30] Fix | Delete
}
[31] Fix | Delete
[32] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function