Table of Contents
Properties
-
$max_retries
: int|mixed
-
$retries
: int|mixed
Methods
-
__construct()
: mixed
-
instance()
: mixed
-
should_retry()
: bool
-
has_retries()
: mixed
$max_retries
private
int|mixed
$max_retries
$retries
private
int|mixed
$retries
= 0
__construct()
public
__construct([mixed $max_retries = 1 ]) : mixed
Parameters
-
$max_retries
: mixed
= 1
-
instance()
public
static instance() : mixed
should_retry()
public
should_retry(WC_Order $order, WC_Stripe_Gateway $client, WP_Error|PaymentIntent $result, array<string|int, mixed> $params) : bool
Parameters
-
$order
: WC_Order
-
-
$client
: WC_Stripe_Gateway
-
-
$result
: WP_Error|PaymentIntent
-
-
$params
: array<string|int, mixed>
-
has_retries()
private
has_retries() : mixed